/* Shared Utkarsh HealthCare theme and responsive navigation. */
:root{--forest-950:#102f20;--forest-900:#173c29;--forest-700:#28633d;--emerald:#579b55;--cream:#f5f8f1}
html{scroll-padding-top:150px}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #b5ce76;outline-offset:4px}svg{flex-shrink:0}.login-cover{overflow-y:auto}.login-card{margin:auto}.modal{z-index:250}.toast{z-index:400}.portal-links{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;padding-top:22px}.portal-links a{text-decoration:underline;text-underline-offset:4px}.site-head{background:#193d29}.top-strip{background:#143221}.head-inner{gap:16px}.brand{min-width:235px}.brand b{font-size:17px}.brand small{font-size:10px;letter-spacing:.04em}.nav-links{gap:16px}.nav-links a.active{color:#c7e7a3;text-decoration:underline;text-underline-offset:8px}.searchbar{min-width:140px}.hero-wrap{background:linear-gradient(#193d29 85%,#f5f8f2 85%)}.hero{box-shadow:none;background:radial-gradient(ellipse at 85% 30%,#46614366,transparent 60%),linear-gradient(110deg,#193d29,#244b31)}.hero-inner{padding:64px 46px 112px;gap:24px}.hero h1{font-size:clamp(36px,4.6vw,60px);line-height:1.06;font-weight:700;letter-spacing:-.04em}.hero p{font-size:15px;max-width:480px;color:#d6e2d4}.hero h1 span{color:#a3d48b}.healthcare-art{width:100%;max-width:490px;filter:drop-shadow(0 24px 22px #071d2266)}.hero-art{position:relative}.feature-panel{border-radius:6px;max-width:1090px;padding:30px;box-shadow:0 16px 45px #173c2914}.feature-intro p{color:#66766c}.product{border-radius:8px}.pimg{border-radius:4px}.footer{background:#183b29}.nav-backdrop{position:fixed;inset:0;background:#08291999;backdrop-filter:blur(3px);border:0;z-index:85}.side-close{margin:0 8px 14px auto}.delivery-nav{display:flex;gap:8px;padding:18px 0 0}.delivery-nav button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;background:white;color:#365642;border:1px solid var(--line);border-radius:999px;font-weight:700;cursor:pointer}.delivery-nav button svg{width:20px;height:20px}.delivery-nav button.active{background:#214c31;color:white}.delivery-nav~section{scroll-margin-top:100px}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:60px}.bottom-nav button svg{display:block;width:22px;height:22px;margin:0;flex:0 0 22px}.bottom-nav button.active{color:#205c36;background:#e9f2e2}.bottom-nav button.active svg{stroke-width:2.5}.brand-mini{min-width:0}.brand-mini b{font-size:15px}.top-in{gap:8px}.top-in>.btn{flex-shrink:0}.side{background:linear-gradient(180deg,#173c29,#245437)}
@media(min-width:761px) and (max-width:1040px){.head-inner{flex-wrap:wrap;height:auto;padding:12px 0}.nav-links{display:flex;order:4;width:100%;justify-content:center;padding:10px 0}.hero-inner{padding-left:28px;padding-right:28px}.brand{min-width:220px}}
@media(max-width:900px){.side{height:100dvh}.top>.row{gap:6px}.top>.row:last-child{gap:4px}.top>.row:last-child .btn{padding:9px}.side:not(.open){visibility:hidden}.side.open{visibility:visible}.side-close{display:flex}.hero-inner{gap:10px}}
@media(max-width:760px){html{scroll-padding-top:136px}.brand{min-width:0}.brand b{font-size:15px}.brand img{width:40px;height:40px}.head-inner{gap:8px}.head-actions .btn{padding:0 11px;min-width:42px;height:40px}.hero-inner{min-height:0;padding:38px 20px 88px;grid-template-columns:1fr}.hero h1{max-width:410px;font-size:clamp(34px,8vw,47px)}.hero p{font-size:14px}.hero-art{display:flex}.healthcare-art{max-width:320px;margin-top:10px}.feature-panel{margin:-50px auto 22px;width:calc(100% - 28px);padding:20px;gap:16px}.feature-intro h3{font-size:19px}.feature-item:nth-child(n){display:flex}.feature-icon{width:36px;height:36px}.feature-item{gap:7px}.feature-item b{font-size:11px}.feature-item small{font-size:10px}.bottom-nav{padding-bottom:env(safe-area-inset-bottom);height:calc(64px + env(safe-area-inset-bottom))}body:has(.bottom-nav){padding-bottom:calc(64px + env(safe-area-inset-bottom))}.toast{bottom:calc(80px + env(safe-area-inset-bottom));left:12px;right:12px;max-width:none}.product{min-width:0}.pname{font-size:14px;overflow-wrap:anywhere}.product .btn{font-size:12px;padding:10px 5px}.price strong{font-size:18px}.mrp{font-size:11px}.delivery-nav{position:sticky;top:66px;z-index:40;background:#f4f8f3;padding:10px 0}.delivery-nav button{flex:1;flex-direction:column;border-radius:12px;padding:8px 4px;font-size:11px;gap:4px}.delivery-nav~section{scroll-margin-top:145px}.brand-mini img{width:36px;height:36px}.brand-mini b{font-size:13px}.top-in>.btn{font-size:11px;padding:9px}.login-card{padding:22px}.erp-banner h2{overflow-wrap:anywhere}}
@media(max-width:360px){.brand b{font-size:13px}.brand{gap:6px}.brand img{width:34px;height:34px}.hero-inner{padding-left:16px;padding-right:16px}.hero h1{font-size:34px}.feature-panel{padding:16px}.top #pageTitle{font-size:13px}.top>.row:last-child .btn{padding:7px}.top .icon-btn{width:34px;height:34px}.pimg{height:110px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

.product-open{display:block;width:100%;text-align:left;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.product{cursor:pointer}.product-open:hover .pname{text-decoration:underline}.detail-photo{height:230px;background:#f3f7ef;border-radius:14px;display:grid;place-items:center}.detail-photo img{width:100%;height:100%;max-height:230px;object-fit:contain}.detail-price{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0}.detail-price strong{font-size:27px;color:#245437}.product-details dl{margin:0}.product-details dl>div{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.product-details dt{font-size:12px;color:var(--muted)}.product-details dd{margin:0;font-size:13px;overflow-wrap:anywhere}.detail-description{white-space:pre-wrap;line-height:1.65;overflow-wrap:anywhere}.product-details>.btn{width:100%;margin-top:16px}.product-details h4{margin-bottom:8px}

.filter-bar{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:14px;background:#f3f7f0;border:1px solid var(--line);border-radius:14px;margin-bottom:12px}.filter-bar label{display:grid;gap:5px;font-size:12px;font-weight:700;min-width:140px}.filter-bar .input,.filter-bar .select{padding:10px}.text-link{border:0;background:none;padding:0;color:#22623c;font-weight:800;text-decoration:underline;cursor:pointer;text-align:left}.wide-modal{width:min(1000px,96vw)}.detail-box{border:1px solid var(--line);border-radius:12px;padding:16px;margin:10px 0;line-height:1.7;overflow-wrap:anywhere}.detail-box summary{cursor:pointer}.report-summary{margin:16px 0}.delivery-extra{padding:20px;margin:22px 0;scroll-margin-top:155px}.delivery-nav{flex-wrap:wrap}.top .row{min-width:0}#view-reports .toolbar>.row{flex-wrap:wrap}#view-reports .toolbar .input,#reportPeriod{width:auto;max-width:100%}@media(max-width:600px){.filter-bar label{flex:1;min-width:110px}.filter-bar .input{min-width:0;width:100%}.delivery-extra{padding:13px}.delivery-nav{gap:4px}.delivery-nav button{font-size:10px;min-width:0;padding:8px 3px}.wide-modal{width:100%}.detail-box{padding:12px}.report-summary{grid-template-columns:1fr 1fr}.report-summary .n{font-size:20px}}
.pwa-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:6px 16px;background:#f4f8f1}.pwa-tools .btn{font-size:11px;padding:6px 12px}.pwa-network{font-size:12px;color:#8a4b00}.pwa-tools:has(.pwa-install.hidden):has(.pwa-network.hidden){display:none}@media(display-mode:standalone){.pwa-install{display:none!important}}
.uh-install-dialog{box-sizing:border-box;width:min(420px,calc(100% - 28px));max-height:90dvh;overflow:auto;border:1px solid #d5e6d8;border-radius:24px;padding:30px 24px;text-align:center;color:#173c29;background:#fff;box-shadow:0 24px 90px #062f2466}.uh-install-dialog::backdrop{background:#05271db3;backdrop-filter:blur(4px)}.uh-install-dialog img{border-radius:18px}.uh-install-dialog h2{font-size:23px;line-height:1.4;margin:10px 0}.uh-install-dialog p{font-size:14px;line-height:1.7}.uh-install-dialog .uh-install-label{font-size:10px;letter-spacing:.08em;font-weight:800;margin-top:14px}.uh-install-dialog .btn{width:100%;margin-top:10px;min-height:46px}.uh-install-close{position:absolute;top:8px;right:10px;background:transparent;border:0;font-size:28px;color:#365642;cursor:pointer;width:40px;height:40px}#uh-install-help{background:#f0f6eb;border-radius:12px;padding:12px;text-align:left}

.pwa-tools:has(.pwa-network.hidden){display:none}
.uh-install-dialog{position:fixed;inset:0;margin:auto}

/* Compact, non-blocking install card. Mobile sits above the store navigation. */
.uh-install-dialog{position:fixed;inset:auto 20px 20px auto;margin:0;width:min(380px,calc(100% - 28px));max-height:60dvh;padding:12px;z-index:1200;border:1px solid #67b285;border-radius:15px;background:linear-gradient(110deg,#146448,#258153);color:white;text-align:left;box-shadow:0 8px 30px #092c3540;align-items:center;gap:10px}
.uh-install-dialog[open]{display:flex;flex-wrap:wrap}.uh-install-dialog:not([open]){display:none}
.uh-install-dialog img{width:44px;height:44px;border-radius:10px;flex-shrink:0}.uh-install-copy{flex:1;min-width:0}
#uh-install-action{border:0;padding:0;background:transparent;color:white;font:inherit;font-size:14px;font-weight:800;text-align:left;cursor:pointer;width:100%;min-height:24px}
.uh-install-dialog #uh-install-status{font-size:10px;line-height:1.4;margin:3px 0 0;color:#e5f7ea}
.uh-install-dialog .uh-install-close{position:static;flex-shrink:0;width:30px;height:34px;font-size:24px;color:white;padding:0}
.uh-install-dialog #uh-install-help{flex-basis:100%;color:#173c29;font-size:13px;margin:4px 0 0}
@media(max-width:700px){.uh-install-dialog{right:14px;bottom:calc(86px + env(safe-area-inset-bottom));width:calc(100% - 28px)}}

.purchase-tabs{margin:12px 0 20px}.purchase-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;min-width:0}.purchase-line{padding:16px;border:1px solid var(--line);box-shadow:none}.purchase-line>.grid{margin:12px 0}.purchase-line input,.purchase-line select{width:100%;min-width:0}.purchase-line [data-line-total]{margin-top:10px;font-weight:700}#purchaseStats{margin:16px 0}#purchaseTable{margin-top:16px}#purchaseEditor .grid.g3{align-items:start}#purchaseShell input[type=file]{max-width:100%}
