:root{--forest:#125e64;--teal:#21a99a;--mint:#c8f5e8;--soft:#eefaf7;--ink:#15374a;--muted:#627785;--line:#d9e9e5;--bg:#f4f9f8;--white:#fff;--danger:#b63142;--shadow:0 18px 42px rgba(18,73,79,.08)}
*{box-sizing:border-box}body{margin:0;font:15px/1.55 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--forest)}.topbar{height:80px;padding:0 max(22px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.identity{display:flex;align-items:center;text-decoration:none;gap:8px;min-width:0}.identity img{width:150px;max-height:54px;object-fit:contain}.brand-fallback{font-size:18px;font-weight:800;letter-spacing:-.5px;color:var(--forest)}.identity:has(img:not([style*="none"])) .brand-fallback{display:none}.staff-pill{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:var(--forest);white-space:nowrap}.dot{width:8px;height:8px;border-radius:50%;background:var(--teal)}.page-shell{max-width:1180px;padding:34px 24px 60px;margin:auto}.notice{background:#fff1f1;color:#842a30;border:1px solid #f1cacc;border-radius:14px;padding:13px 18px;margin-bottom:20px}.notice[hidden],[hidden]{display:none!important}.kicker{font-size:11px;letter-spacing:1.8px;font-weight:850;color:#1b8077;margin:0 0 10px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,4vw,53px);line-height:1.12;letter-spacing:-1.8px;margin-bottom:16px}h1 span{color:var(--teal)}h2{font-size:clamp(23px,2.7vw,32px);line-height:1.2;letter-spacing:-.7px;margin:0 0 10px}h3{font-size:18px;line-height:1.3;margin:0}.hint{color:var(--muted);font-size:14px}.login-layout{display:grid;grid-template-columns:1.12fr .88fr;gap:60px;align-items:center;min-height:calc(100dvh - 210px)}.welcome{padding:34px 0 34px 8px}.welcome p:not(.kicker){font-size:18px;color:#536d7b;max-width:520px}.welcome-points{display:grid;gap:13px;margin-top:33px;color:var(--forest);font-weight:700}.panel{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:32px}.login-panel{padding:40px}.login-panel h2{margin-bottom:7px}.login-panel form{display:grid;gap:10px;margin-top:26px}label{display:block;font-size:13px;font-weight:750;margin-bottom:6px}input,select,textarea{border:1px solid #c8ded8;border-radius:11px;background:white;width:100%;padding:12px 13px;outline:none;min-width:0;color:var(--ink)}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #27b5a421}input[readonly]{background:#f4f8f8;color:#566d78}.button{border:1px solid transparent;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;font-weight:750;gap:8px;text-decoration:none;line-height:1.3;transition:filter .16s,transform .16s}.button:hover{filter:brightness(.97);transform:translateY(-1px)}.button:disabled{opacity:.56;cursor:progress;transform:none}.button.primary{background:var(--forest);color:white}.button.outline{border-color:#b8d9d3;color:var(--forest);background:white}.button.soft{background:var(--soft);color:var(--forest);border-color:#d2ece4}.button.compact{font-size:13px;padding:8px 13px}.button.full{width:100%;margin-top:16px}.text-action{border:0;background:none;padding:12px 0 0;color:var(--forest);font-weight:750}.privacy-note{color:#6b7e8a;font-size:12px;border-top:1px solid var(--line);padding-top:20px;margin:24px 0 0}.setup-layout{max-width:670px;margin:80px auto}.setup-card{padding:44px}.app-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.app-heading h1{font-size:clamp(28px,3vw,41px);margin-bottom:6px}.user-actions{display:flex;align-items:center;gap:13px}.account-label{font-size:13px;color:#566b79;font-weight:700}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:27px}.stat{border:1px solid var(--line);background:#fff;padding:23px;border-radius:20px;box-shadow:0 8px 28px #176a6609}.stat strong{font-size:33px;display:block;font-weight:850;line-height:1.2;color:var(--forest)}.stat span{font-size:13px;color:var(--muted)}.tabs{display:flex;gap:10px;margin-bottom:16px}.tab{padding:11px 20px;border-radius:12px;border:1px solid #b9d7d2;background:white;color:#42616c;font-weight:750}.tab.active{background:var(--forest);color:#fff;border-color:var(--forest)}.section-title{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:26px}.date-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.date-grid>div,.report-filters>div{min-width:0}.subheading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 14px}.subheading.spaced{margin-top:36px}.subheading span{font-size:13px;color:var(--muted)}.facility-list,.chemist-list{display:grid;gap:14px;margin-bottom:12px}.facility{background:#f8fcfb;border:1px solid var(--line);border-radius:17px;padding:19px}.facility-header{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px}.facility-header h4{font-size:15px;margin:0}.location-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.doctor-list{display:grid;gap:10px;margin:18px 0 10px}.doctor-row,.chemist-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.chemist-row{padding:12px 0;border-bottom:1px solid var(--line)}.small-btn{border:1px solid #d3e3df;background:#fff;border-radius:9px;min-width:40px;height:42px;font-size:19px;color:var(--danger)}.small-btn:hover{background:#fff0f1}.add-doctor{border:0;background:transparent;color:var(--forest);font-weight:800;padding:9px 0}.remarks-label{margin:31px 0 8px}.form-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);padding-top:24px;margin-top:23px}.form-footer .hint{max-width:460px;margin:0}.report-filters{display:grid;grid-template-columns:1fr 1fr 1.15fr auto auto;gap:10px;align-items:end;margin-bottom:25px}.report-filters:has(#mrFilterWrap[hidden]){grid-template-columns:1fr 1fr auto auto}.report-filters .button{white-space:nowrap}.report-list{display:grid;gap:13px}.report-card{border:1px solid var(--line);padding:20px;border-radius:16px;background:#fcfefd}.report-card-top{display:flex;justify-content:space-between;align-items:start;gap:12px}.report-card h3{margin:0 0 6px}.report-meta{font-size:13px;color:var(--muted)}.tag-row{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.tag{display:inline-block;color:var(--forest);background:#def5ed;border-radius:20px;font-size:12px;font-weight:750;padding:5px 10px}.report-details{padding:17px 0 2px;border-top:1px solid var(--line);margin-top:15px}.report-details h4{margin:10px 0 6px}.report-details ul{margin:4px 0 16px;padding-left:21px}.report-details li{margin:5px 0}.report-actions{display:flex;gap:9px;flex-wrap:wrap}.empty{padding:36px 18px;border:1px dashed #bdd9d1;text-align:center;border-radius:14px;color:var(--muted)}.footer-note{font-size:12px;text-align:center;color:#6b808b;margin:32px auto 0}.toast{position:fixed;bottom:22px;right:22px;max-width:min(430px,calc(100% - 44px));background:var(--forest);color:#fff;padding:13px 18px;border-radius:13px;box-shadow:0 15px 40px #123f4650;z-index:10}.toast.error{background:#9d2838}
@media(max-width:900px){.login-layout{grid-template-columns:1fr;gap:24px;min-height:0}.welcome{padding:25px 0 0}.login-panel{max-width:620px}.report-filters,.report-filters:has(#mrFilterWrap[hidden]){grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.topbar{padding:0 16px;height:70px}.identity img{max-width:130px}.staff-pill{font-size:10px}.page-shell{padding:24px 14px 40px}.panel{padding:20px;border-radius:19px}.app-heading{align-items:flex-start;flex-direction:column}.user-actions{width:100%;justify-content:space-between}.stats{gap:9px}.stat{padding:15px}.stat strong{font-size:26px}.stat span{font-size:11px}.date-grid,.location-grid{grid-template-columns:1fr}.doctor-row,.chemist-row{grid-template-columns:1fr 1fr auto}.section-title{flex-wrap:wrap}.form-footer{flex-direction:column;align-items:stretch}.report-filters,.report-filters:has(#mrFilterWrap[hidden]){grid-template-columns:1fr 1fr}.report-filters .button{width:100%}}@media(max-width:390px){.doctor-row,.chemist-row{grid-template-columns:1fr auto}.doctor-row>*:nth-child(2),.chemist-row>*:nth-child(2){grid-column:1/2}.doctor-row>*:last-child,.chemist-row>*:last-child{grid-column:2;grid-row:1}.staff-pill{display:none}}

/* Territory / Kerala district selection */
.territory-field{max-width:560px;margin:18px 0 6px}
.territory-field select{background-color:#fff}
.territory-field label{font-size:14px}
.territory-help{margin:6px 0 0;font-size:12px}
.district-tag{background:#dbf2fa;color:#164b65}
.report-filters{grid-template-columns:repeat(4,minmax(0,1fr))}
.report-filters:has(#mrFilterWrap[hidden]){grid-template-columns:repeat(2,minmax(0,1fr)) auto auto}
@media(max-width:900px){.report-filters,.report-filters:has(#mrFilterWrap[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.report-filters,.report-filters:has(#mrFilterWrap[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}.territory-field{max-width:none}}
@media(max-width:430px){.report-filters,.report-filters:has(#mrFilterWrap[hidden]){grid-template-columns:1fr}}


/* POB tracking fields and visible report values */
.pob-block{border:1px solid #cfe6df;background:#f6fcfa;border-radius:17px;padding:20px;margin:30px 0 0}
.pob-block .subheading{margin:0 0 6px}
.pob-description{margin:0 0 16px}
.pob-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pob-grid input{background:#fff}
.pob-tag{background:#eaf6ed;color:#276a4a}
.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:950px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.pob-grid{grid-template-columns:1fr}}


/* Stockist primary and secondary sales — mobile-friendly table */
.stockist-block{border:1px solid #c9e2ea;background:#f6fbfd;border-radius:17px;padding:20px;margin:22px 0 0}
.stockist-block .subheading{margin:0 0 6px}
.stockist-description{margin:0 0 16px}
.stockist-table-wrap{width:100%;overflow-x:auto}
.stockist-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:0}
.stockist-table th,.stockist-table td{padding:10px 9px;text-align:left;border-bottom:1px solid #daecef;vertical-align:middle}
.stockist-table thead th{color:#3d6170;font-size:13px;font-weight:800}
.stockist-table thead th:first-child{width:29%}
.stockist-table tbody th,.stockist-table tfoot th{font-weight:800;white-space:normal;line-height:1.3}
.stockist-table tbody td{padding:7px 6px}
.stockist-table input{width:100%;background:#fff;padding:11px 9px}
.stockist-table tfoot th,.stockist-table tfoot td{border-bottom:0;padding-top:14px;color:var(--forest);font-weight:850;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.stockist-tag{color:#22576c;background:#e4f3fb}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:950px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.stockist-block{padding:15px 11px}.stockist-table th,.stockist-table td{padding-left:3px;padding-right:3px}.stockist-table thead th{font-size:11px}.stockist-table tbody th{font-size:12px}.stockist-table input{font-size:14px;padding:10px 5px}.stockist-table tfoot{font-size:12px}}


/* Admin review controls, audit history, and MR inbox */
.button.warning{border-color:#e8c783;background:#fff6dd;color:#835314}
.button.danger-outline{background:#fff;color:#a52638;border-color:#e8bcc4}
.button.danger{background:#a52638;color:white}
.flag-tag{background:#fff0d5;color:#784b0c}
.resolved-tag{background:#e3f5e8;color:#286443}
.feedback-tag{background:#e9effd;color:#3a5681}
.admin-edit-fields{margin-top:24px;padding:20px;border:1px solid #b4d5da;background:#f5fafc;border-radius:16px}
.admin-edit-fields .hint{margin:8px 0 0}
.admin-dialog{width:min(570px,calc(100vw - 26px));border:1px solid var(--line);background:#fff;border-radius:22px;box-shadow:0 25px 80px #102e4666;padding:30px;color:var(--ink)}
.admin-dialog::backdrop{background:#0d26347a}
.admin-dialog textarea{resize:vertical}
.admin-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}
.delete-confirm{display:flex;gap:10px;align-items:start;margin-top:18px;background:#fff4f5;border:1px solid #edc4cc;padding:12px;border-radius:11px;font-size:13px}
.delete-confirm input{width:18px;min-width:18px;margin:2px 0 0;accent-color:var(--danger)}
.audit-history{background:#f6f9fb;border:1px solid #d7e4eb;border-radius:13px;padding:13px;margin-top:15px}
.audit-entry{border-top:1px solid #dce7ed;padding:10px 0;font-size:13px}
.audit-entry p{margin:5px 0 0;white-space:pre-wrap}
.notifications-panel{margin-bottom:22px;border-color:#b7dfd6}
.notifications-panel .section-title{margin-bottom:14px}
.notifications-panel h2{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.notification-count{font-size:12px;color:#4b6471;background:#e8f3f1;padding:4px 9px;border-radius:100px;letter-spacing:0;font-weight:700}
.notification-count.has-unread{background:#ffe5c7;color:#815018}
.notification-list{display:grid;gap:10px;max-height:400px;overflow-y:auto}
.notification-item{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px}
.notification-item.unread{background:#f0faf7;border-left:4px solid var(--teal)}
.notification-item p{margin:7px 0;white-space:pre-wrap}
.notification-top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.notification-item .button{margin-top:8px}
@media(max-width:620px){.admin-dialog{padding:20px}.report-card-top{flex-direction:column}.report-actions{width:100%}.report-actions .button{flex:1}.notifications-panel h2{font-size:22px}}

/* Staff management and report hold/resume */
.user-management-grid{display:grid;grid-template-columns:minmax(260px,.95fr) 1.4fr;gap:26px;align-items:start}
.create-user-card{padding:20px;background:#f7fbfa;border:1px solid var(--line);border-radius:17px;display:grid;gap:8px}
.create-user-card h3,.user-directory h3{margin-bottom:8px}
.create-user-card .hint{margin:7px 0;font-size:12px}
.user-list{display:grid;gap:12px;max-height:650px;overflow:auto;padding:2px}
.user-card{border:1px solid var(--line);background:#fff;border-radius:15px;padding:16px}
.user-card-header{display:flex;align-items:start;justify-content:space-between;gap:12px}
.user-card h4{margin:0 0 3px;font-size:16px}
.user-card .report-meta{margin:0 0 10px}
.user-actions-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.staff-status{font-size:12px;border-radius:100px;white-space:nowrap;font-weight:800;padding:4px 10px}
.status-active{background:#dcf3e7;color:#245c45}
.status-hold{background:#fff0d8;color:#8b5515}
.hold-banner{border:1px solid #ebc284;background:#fff7e7;color:#6b471a;border-radius:16px;padding:18px 20px;margin:0 0 22px}
.hold-banner p{margin:4px 0 0}
.tabs{flex-wrap:wrap}
@media(max-width:790px){.user-management-grid{grid-template-columns:1fr}}

/* Accessible show/hide controls on every password field. */
.password-visibility-field{position:relative;width:100%;min-width:0}
.password-visibility-field>input{width:100%;padding-right:80px}
.password-visibility-toggle{position:absolute;right:9px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--forest);font-size:13px;font-weight:750;line-height:1.2;border-radius:7px;padding:9px 8px;min-height:38px;min-width:54px;cursor:pointer}
.password-visibility-toggle:hover{background:var(--soft)}
.password-visibility-toggle:focus-visible{outline:3px solid var(--teal);outline-offset:2px}


/* Administrator Activity History — new actions only; mobile friendly */
.activity-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0 16px}
.activity-filters .button{align-self:end;min-height:44px}
.activity-list{display:grid;gap:12px;margin-top:12px}
.activity-card{border:1px solid var(--line);background:#fcfefd;border-radius:16px;padding:20px}
.activity-head{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}
.activity-head h3{margin-bottom:5px;color:var(--forest)}
.activity-head p{margin-bottom:6px}
.activity-time{font-size:12px;color:var(--muted);font-weight:750;white-space:nowrap}
.activity-reason{padding:12px 14px;border-radius:10px;background:#f0f7f5;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}
.activity-details{border-top:1px solid var(--line);padding-top:12px;margin-top:14px}
.activity-details summary{font-weight:750;color:var(--forest);cursor:pointer;min-height:32px}
.activity-snapshots{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:10px}
.activity-snapshot{padding:13px;border:1px solid #d4e7e2;border-radius:12px;background:white;overflow-wrap:anywhere}
.activity-snapshot h4{margin:0 0 10px}
.activity-snapshot-line{font-size:13px;line-height:1.55;white-space:pre-wrap;margin:7px 0}
@media(min-width:940px){.activity-filters{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){.activity-filters{grid-template-columns:1fr}.activity-head{display:block}.activity-time{display:inline-block;margin:4px 0 10px}.activity-card{padding:15px}}


/* One report with multiple district/locations. No changes to user, admin or auth styles. */
.locations-list{display:grid;gap:18px;margin-top:16px}
.location-block{border:1px solid #b8ded7;border-radius:18px;background:linear-gradient(180deg,#f6fbfa,#fff);padding:21px;min-width:0}
.location-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:15px}
.location-heading h3{margin:3px 0 0;font-size:20px;color:var(--forest)}
.location-heading .kicker{margin:0}
.location-district{max-width:560px;background:#fff}
.location-subheading{margin-top:22px;margin-bottom:12px;flex-wrap:wrap}
.location-subheading h4{font-size:16px;margin:0}
.location-subheading .location-count{font-size:12px;color:var(--muted)}
.location-block .facility-list,.location-block .chemist-list{display:grid;gap:12px}
.location-block .add-facility,.location-block .add-chemist{margin-top:8px}
.add-location-button{margin:16px 0 0;width:100%;min-height:48px;border-style:dashed;font-weight:800}
.visit-summary{color:var(--forest);font-size:13px;font-weight:750}
.location-detail-group{padding:14px 16px;margin:12px 0;border:1px solid #d4e9e2;background:#f8fcfb;border-radius:13px}
.location-detail-group h4{margin:0 0 10px;color:var(--forest)}
.location-detail-group h5{margin:12px 0 5px;font-size:13px}
.location-detail-group ul{margin:6px 0 12px;padding-left:19px}
@media(max-width:620px){.location-block{padding:15px 12px}.location-heading{flex-direction:column}.location-heading .remove-location{align-self:flex-end}.location-district{max-width:100%}}
\n
/* ===============================================
   PREMIUM OPTION 2 · Mobile-first Yaansh MR
   29 November 2026 · CSS-only layout system
   =============================================== */
:root{--forest:#006e68;--teal:#13b5a7;--mint:#c9f6e8;--soft:#effaf8;--ink:#10243c;--muted:#657589;--line:#dce6ed;--bg:#f4f8fb;--navy:#061b36;--white:#fff;--shadow:0 10px 30px rgba(6,31,54,.055)}
.premium-v2{font-size:14px;line-height:1.48;background:#f4f8fb;letter-spacing:-.05px;-webkit-font-smoothing:antialiased}
.premium-v2 h1,.premium-v2 h2,.premium-v2 h3{letter-spacing:-.55px}
.premium-v2 h1{font-size:clamp(27px,3.2vw,39px)}
.premium-v2 h2{font-size:clamp(20px,2.1vw,25px)}
.premium-v2 h3{font-size:16px}
.premium-v2 .kicker{font-size:10px;letter-spacing:1.55px;color:#047e79;font-weight:850;margin-bottom:7px}
.premium-v2 .hint{font-size:12.5px;line-height:1.5;color:#6c7d8d}
.premium-v2 label{font-size:12px;font-weight:760;margin-bottom:5px;color:#264357}
.premium-v2 input,.premium-v2 select,.premium-v2 textarea{font-size:14px;padding:10px 12px;min-height:44px;border-color:#d4e2e7;border-radius:11px;background:#fff}
.premium-v2 textarea{min-height:82px;resize:vertical}
.premium-v2 input:focus-visible,.premium-v2 select:focus-visible,.premium-v2 textarea:focus-visible{outline:2px solid #18ada5;outline-offset:1px;box-shadow:0 0 0 4px #11afa31a}
.premium-v2 .button{border-radius:11px;padding:10px 15px;font-size:13px;font-weight:750;min-height:41px;box-shadow:none}
.premium-v2 .button.primary{background:linear-gradient(110deg,#04ad9e 0%,#00746f 60%,#092c4e 100%);color:#fff;box-shadow:0 8px 20px #087f7d20}
.premium-v2 .button.compact{min-height:36px;padding:7px 11px;font-size:12px}
.premium-v2 .button.outline{border-color:#d3e1e8;background:#fff;color:#143b53}
.premium-v2 .panel{border:1px solid #e2eaf0;box-shadow:var(--shadow);border-radius:18px;padding:24px}
.premium-v2 .topbar{height:81px;background:linear-gradient(110deg,#061b36 0%,#07334a 63%,#007b7a 100%);border:0;padding:0 max(24px,calc((100vw - 1150px)/2));box-shadow:0 8px 25px #061d3422;position:relative;isolation:isolate;overflow:hidden}
.premium-v2 .topbar:after{content:"";position:absolute;bottom:-43px;left:20%;right:-9%;height:60px;border-radius:50% 50% 0 0;background:linear-gradient(90deg,transparent,#15c2b1a8);z-index:-1;transform:rotate(-1deg)}
.premium-v2 .topbar .identity{background:white;border-radius:12px;padding:5px 10px;box-shadow:0 6px 24px #041a3035}
.premium-v2 .topbar .identity img{width:124px;max-height:51px}
.premium-v2 .brand-fallback{font-size:17px}
.premium-v2 .portal-label{font-size:15px;font-weight:750;color:#fff;display:flex;align-items:center;gap:8px;white-space:nowrap}
.premium-v2 .portal-label-small{font-size:9px;letter-spacing:1px;font-weight:600;color:#b6ebe8;border-left:1px solid #83b4b7;padding-left:9px}
.premium-v2 .portal-label-leaf{color:#47e2be;font-size:22px;line-height:1}
.premium-v2 .page-shell{max-width:1150px;padding:25px 24px 65px}
.premium-v2 .app-heading{margin:0 0 19px;gap:12px}
.premium-v2 .app-heading h1{font-size:25px;margin:0 0 4px}
.premium-v2 .app-heading .kicker{color:#047e79;margin-bottom:2px}
.premium-v2 .app-heading .hint{margin:0}
.premium-v2 .account-label{font-size:12px}
.premium-v2 .user-actions{gap:8px}
.premium-v2 .tabs{margin-bottom:17px;gap:6px;align-items:center}
.premium-v2 .tab{font-size:12.5px;padding:10px 14px;background:#fff;border:1px solid #e0e8ef;border-radius:10px;color:#607384}
.premium-v2 .tab.active{background:linear-gradient(105deg,#06384b,#087b78);color:#fff;border-color:#074f59;box-shadow:0 6px 15px #0b666021}
.premium-v2 .home-panel{display:grid;gap:16px}
.premium-v2 .home-panel[hidden]{display:none!important}
.premium-v2 .home-intro{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid #e1eaf0;border-radius:17px;padding:17px 20px}
.premium-v2 .home-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(140deg,#b8f4ea,#ecfcf9);color:#087d79;font-size:30px;flex:0 0 auto}
.premium-v2 .home-intro-copy{min-width:0;flex:1}
.premium-v2 .home-intro-copy h2{margin:0 0 1px;font-size:21px;overflow-wrap:anywhere}
.premium-v2 .home-overline{font-size:10px;letter-spacing:1.25px;color:#07837c;font-weight:800;margin:0 0 2px}
.premium-v2 .home-intro-copy .hint{margin:0}
.premium-v2 .home-date{background:#f2f7fa;border:1px solid #e2eaf0;padding:8px 10px;border-radius:10px;color:#21425a;font-weight:730;font-size:12px;white-space:nowrap}
.premium-v2 .home-hero{background:linear-gradient(115deg,#008b84 0%,#055268 52%,#0a274c 100%);color:#fff;border-radius:19px;padding:25px 29px;position:relative;isolation:isolate;overflow:hidden;box-shadow:0 12px 25px #075b6530}
.premium-v2 .home-hero-decoration{position:absolute;right:3%;top:-55px;font-size:220px;color:#3ae7c61f;line-height:1;z-index:-1;transform:rotate(20deg)}
.premium-v2 .home-hero-eyebrow{font-size:10px;color:#b2f5e6;letter-spacing:1.8px;font-weight:850;margin:0 0 8px}
.premium-v2 .home-hero h2{font-size:26px;margin:0 0 8px;color:#fff;max-width:580px}
.premium-v2 .home-hero p:not(.home-hero-eyebrow){font-size:13px;color:#d8f2f2;margin:0 0 18px;max-width:520px}
.premium-v2 .home-hero-actions{display:flex;gap:9px;flex-wrap:wrap}
.premium-v2 .home-hero-actions .button.primary{background:#fff;color:#0a5e69;min-height:41px;box-shadow:none}
.premium-v2 .home-hero-actions .home-hero-secondary{color:#fff;border-color:#ffffff77;background:#ffffff16;box-shadow:none}
.premium-v2 .home-section-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:6px 2px -7px}
.premium-v2 .home-section-header h3{font-size:17px;margin:0 0 2px}
.premium-v2 .home-section-header .hint{margin:0}
.premium-v2 .home-view-all{background:transparent;color:#008c84;font-weight:800;border:0;padding:8px;font-size:12px;white-space:nowrap}
.premium-v2 .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0}
.premium-v2 .stat{border:1px solid #dfebf0;border-radius:15px;background:#fff;padding:18px 20px;box-shadow:0 5px 15px #09274408}
.premium-v2 .stat strong{color:#0b2e4c;font-size:28px;line-height:1.16;margin-bottom:3px;letter-spacing:-1px}
.premium-v2 .stat span{font-size:12px;color:#6b7e89}
.premium-v2 .home-quick-links{display:flex;gap:10px}
.premium-v2 .home-quick-links[hidden]{display:none!important}
.premium-v2 .home-shortcut{display:flex;align-items:center;gap:10px;justify-content:space-between;flex:1;border:1px solid #d8e8eb;background:#f7fbfb;border-radius:12px;padding:12px 15px;font-weight:760;color:#115063;font-size:13px}
.premium-v2 .home-recent-list{display:grid;gap:10px}
.premium-v2 .home-recent-card{border:1px solid #e0e9ef;background:white;border-radius:13px;padding:14px 16px;text-align:left;width:100%;display:flex;align-items:center;gap:12px;box-shadow:0 4px 13px #0b2d4708;min-width:0}
.premium-v2 .home-recent-icon{width:41px;height:41px;border-radius:12px;background:#ddf7ef;color:#006c67;display:grid;place-items:center;font-size:23px;flex:0 0 auto}
.premium-v2 .home-recent-content{display:grid;gap:3px;flex:1;min-width:0}
.premium-v2 .home-recent-content strong{font-size:14px;color:#173148;overflow-wrap:anywhere}
.premium-v2 .home-recent-content>span{font-size:12px;color:#718290}
.premium-v2 .home-recent-badge{background:#e1f8eb;color:#1c7351;font-size:10px;padding:5px 9px;border-radius:30px;font-weight:750;white-space:nowrap}
.premium-v2 .home-recent-badge.flagged{background:#fff3df;color:#94621f}
.premium-v2 .section-title{margin-bottom:18px}
.premium-v2 .section-title h2{margin:0 0 5px}
.premium-v2 .section-title .hint{margin:0}
.premium-v2 .subheading{margin:20px 0 12px}
.premium-v2 .subheading.spaced{margin-top:24px}
.premium-v2 .location-block{background:#fff;border:1px solid #dae8e7;border-radius:16px;padding:17px 18px;box-shadow:0 6px 20px #0a3b5209}
.premium-v2 .location-heading{background:#edf9f6;margin:-17px -18px 15px;padding:13px 17px;border-radius:15px 15px 0 0;align-items:center}
.premium-v2 .location-heading h3{font-size:15px;color:#075669;letter-spacing:-.2px}
.premium-v2 .location-heading .kicker{color:#118f88;font-size:10px}
.premium-v2 .location-list,.premium-v2 .locations-list{gap:14px}
.premium-v2 .facility{background:#f9fbfc;border:1px solid #e3ebf0;border-radius:12px;padding:14px}
.premium-v2 .facility-header{margin-bottom:11px}
.premium-v2 .facility-header h4{font-size:13px;color:#19445b}
.premium-v2 .doctor-row,.premium-v2 .chemist-row{gap:8px}
.premium-v2 .add-doctor{font-size:12px;padding:8px 0}
.premium-v2 .add-location-button{min-height:48px;border-style:dashed;border-color:#5fbfb6;font-size:13px;background:#f0faf8;margin:12px 0 3px}
.premium-v2 .form-footer{margin-top:18px;padding-top:18px}
.premium-v2 .report-card,.premium-v2 .activity-card,.premium-v2 .user-card{border-radius:14px;border-color:#e0eaf0;padding:16px 17px;box-shadow:0 4px 13px #082c4707;background:#fff}
.premium-v2 .report-card h3{font-size:15px}
.premium-v2 .report-meta{font-size:12px;color:#687d8e}
.premium-v2 .report-actions .button{min-height:35px;font-size:12px;padding:8px 10px}
.premium-v2 .tag{font-size:11px;padding:4px 9px}
.premium-v2 .notification-item{border-radius:12px;background:#f9fcfc}
.premium-v2 .notifications-panel{margin:0}
.premium-v2 .footer-note{font-size:11px;color:#7d8d98}
.premium-v2 .mobile-dock{display:none}
/* Compact installed app and mobile browser views */
@media(max-width:760px){
  .premium-v2{font-size:13px;line-height:1.44}
  .premium-v2 .topbar{height:62px;padding:0 13px}
  .premium-v2 .topbar .identity{padding:3px 7px;border-radius:9px}
  .premium-v2 .topbar .identity img{width:92px;max-height:39px}
  .premium-v2 .portal-label{font-size:12px;gap:4px}
  .premium-v2 .portal-label-small{display:none}
  .premium-v2 .portal-label-leaf{font-size:15px}
  .premium-v2 .page-shell{padding:14px 12px calc(106px + env(safe-area-inset-bottom))}
  .premium-v2 .panel{border-radius:16px;padding:16px 14px}
  .premium-v2 .app-heading{flex-direction:row;align-items:center;margin-bottom:14px;gap:8px}
  .premium-v2 .app-heading h1{font-size:20px;letter-spacing:-.55px}
  .premium-v2 .app-heading .kicker{font-size:9px}
  .premium-v2 .app-heading .hint{font-size:11px;line-height:1.3}
  .premium-v2 .user-actions{width:auto;display:flex;flex-wrap:nowrap;gap:5px;margin-left:auto}
  .premium-v2 .account-label{display:none}
  .premium-v2 .user-actions .button{min-height:31px;font-size:10px;padding:6px 8px;border-radius:8px;white-space:nowrap}
  .premium-v2 .tabs{display:none!important}
  .premium-v2 .mobile-dock{position:fixed;display:flex;align-items:center;justify-content:space-around;left:0;right:0;bottom:0;background:linear-gradient(125deg,#071c36,#072d49);border-radius:17px 17px 0 0;box-shadow:0 -8px 30px #081b3628;gap:2px;padding:9px 11px calc(9px + env(safe-area-inset-bottom));z-index:40}
  .premium-v2 .mobile-dock .dock-button{flex:1;min-width:0;min-height:52px;border:1px solid transparent;border-radius:11px;background:transparent;color:#c8deeb;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;font-size:10px;font-weight:650;padding:7px 3px}
  .premium-v2 .mobile-dock .dock-button.active{color:#fff;background:linear-gradient(145deg,#049e97,#007274);box-shadow:0 5px 15px #00b19b2b}
  .premium-v2 .dock-button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .premium-v2 .home-panel{gap:13px}
  .premium-v2 .home-intro{padding:11px 12px;border-radius:14px;gap:10px}
  .premium-v2 .home-avatar{width:40px;height:40px;font-size:23px}
  .premium-v2 .home-intro-copy h2{font-size:16px}
  .premium-v2 .home-overline{font-size:8px}
  .premium-v2 .home-intro-copy .hint{font-size:11px}
  .premium-v2 .home-date{font-size:10px;padding:6px 7px}
  .premium-v2 .home-hero{padding:19px 17px;border-radius:16px}
  .premium-v2 .home-hero h2{font-size:21px;line-height:1.2;letter-spacing:-.5px;max-width:270px}
  .premium-v2 .home-hero p:not(.home-hero-eyebrow){font-size:12px;line-height:1.45;margin-bottom:12px;max-width:265px}
  .premium-v2 .home-hero-eyebrow{font-size:9px;margin-bottom:5px}
  .premium-v2 .home-hero-actions{gap:7px}
  .premium-v2 .home-hero-actions .button{font-size:11px;min-height:38px;padding:8px 11px}
  .premium-v2 .home-section-header h3{font-size:15px}
  .premium-v2 .home-section-header .hint{font-size:11px}
  .premium-v2 .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .premium-v2 .stat{padding:11px 8px;border-radius:12px}
  .premium-v2 .stat strong{font-size:23px;margin-bottom:4px;letter-spacing:-.7px}
  .premium-v2 .stat span{font-size:10px;line-height:1.25;display:block}
  .premium-v2 .home-recent-card{padding:10px 11px;gap:9px;border-radius:12px}
  .premium-v2 .home-recent-icon{width:32px;height:32px;border-radius:10px;font-size:18px}
  .premium-v2 .home-recent-content strong{font-size:12px}
  .premium-v2 .home-recent-content>span{font-size:10px;line-height:1.25}
  .premium-v2 .home-recent-badge{font-size:9px;padding:4px 6px}
  .premium-v2 .home-shortcut{font-size:11px;padding:10px 8px}
  .premium-v2 .home-section-header{margin:4px 0 -5px}
  .premium-v2 .section-title{gap:10px;margin-bottom:15px}
  .premium-v2 .section-title h2{font-size:18px}
  .premium-v2 .section-title .hint{font-size:11px;line-height:1.4}
  .premium-v2 .section-title .button.compact{min-height:32px}
  .premium-v2 .date-grid{grid-template-columns:1fr 1fr;gap:8px}
  .premium-v2 label{font-size:11px;margin-bottom:4px}
  .premium-v2 input,.premium-v2 select,.premium-v2 textarea{font-size:13px;padding:9px 10px;border-radius:9px;min-height:42px}
  .premium-v2 .subheading.spaced{margin-top:21px}
  .premium-v2 .subheading h3{font-size:15px}
  .premium-v2 .visit-summary{font-size:10px;white-space:nowrap}
  .premium-v2 .locations-list{gap:11px}
  .premium-v2 .location-block{padding:13px 11px;border-radius:13px}
  .premium-v2 .location-heading{margin:-13px -11px 12px;padding:11px 12px;flex-direction:row;gap:6px;align-items:center;border-radius:12px 12px 0 0}
  .premium-v2 .location-heading h3{font-size:13px;margin:2px 0 0}
  .premium-v2 .location-heading .kicker{font-size:9px}
  .premium-v2 .location-heading .remove-location{align-self:center;font-size:10px;padding:6px 8px;min-height:31px}
  .premium-v2 .location-subheading{margin-top:15px;margin-bottom:8px;gap:7px}
  .premium-v2 .location-subheading h4{font-size:12px}
  .premium-v2 .location-subheading .location-count{font-size:10px}
  .premium-v2 .location-district{max-width:none}
  .premium-v2 .facility{padding:11px;border-radius:11px}
  .premium-v2 .facility-header{margin-bottom:9px}
  .premium-v2 .facility-header h4{font-size:12px}
  .premium-v2 .facility-header .small-btn,.premium-v2 .small-btn{min-width:33px;width:33px;height:37px;font-size:19px}
  .premium-v2 .doctor-row,.premium-v2 .chemist-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 33px;gap:6px;align-items:end}
  .premium-v2 .doctor-row>*:nth-child(2),.premium-v2 .chemist-row>*:nth-child(2){grid-column:auto;grid-row:auto}
  .premium-v2 .doctor-row>*:last-child,.premium-v2 .chemist-row>*:last-child{grid-column:auto;grid-row:auto}
  .premium-v2 .location-grid{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:6px}
  .premium-v2 .add-doctor{font-size:11px}
  .premium-v2 .add-facility,.premium-v2 .add-chemist{font-size:11px;padding:8px 10px;min-height:37px}
  .premium-v2 .add-location-button{font-size:12px;min-height:43px}
  .premium-v2 .form-footer{gap:11px;margin-top:15px;padding-top:15px}
  .premium-v2 .form-footer .hint{font-size:11px}
  .premium-v2 .form-footer .button.primary{width:100%;font-size:13px;min-height:45px}
  .premium-v2 .report-filters,.premium-v2 .report-filters:has(#mrFilterWrap[hidden]),.premium-v2 .activity-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .premium-v2 .report-filters .button,.premium-v2 .activity-filters .button{min-height:38px}
  .premium-v2 .report-card,.premium-v2 .activity-card,.premium-v2 .user-card{padding:13px 11px;border-radius:13px}
  .premium-v2 .report-card h3,.premium-v2 .activity-head h3{font-size:13px}
  .premium-v2 .report-meta,.premium-v2 .activity-time{font-size:11px}
  .premium-v2 .report-actions{gap:5px}
  .premium-v2 .report-actions .button{font-size:10px;min-height:33px;padding:7px 8px}
  .premium-v2 .notification-list{max-height:285px}
  .premium-v2 .footer-note{margin-top:19px}
  .premium-v2 .toast{bottom:calc(89px + env(safe-area-inset-bottom));font-size:12px}
  .premium-v2 .login-layout{min-height:0;gap:12px}
  .premium-v2 .welcome{padding:10px 3px 0}
  .premium-v2 .welcome h1{font-size:26px;line-height:1.14;margin:0 0 7px}
  .premium-v2 .welcome p:not(.kicker){font-size:12px;line-height:1.45;margin:0;max-width:none}
  .premium-v2 .welcome-points{display:none}
  .premium-v2 .login-panel{padding:20px 16px}
  .premium-v2 .login-panel h2{font-size:21px}
  .premium-v2 .login-panel .hint{font-size:12px}
  .premium-v2 .login-panel form{margin-top:15px;gap:7px}
  .premium-v2 .login-panel .button.full{margin-top:8px;min-height:45px}
  .premium-v2 .privacy-note{margin-top:14px;padding-top:14px;font-size:10px}
  .premium-v2 .reset-wrap{margin:4vh auto;padding:12px}
  .premium-v2 .reset-wrap h1{font-size:25px}
}
@media(max-width:370px){
  .premium-v2 .home-date{display:none}
  .premium-v2 .portal-label{font-size:11px}
  .premium-v2 .portal-label-leaf{display:none}
  .premium-v2 .stats{gap:5px}
  .premium-v2 .stat strong{font-size:20px}
  .premium-v2 .doctor-row,.premium-v2 .chemist-row{grid-template-columns:minmax(0,1fr) 33px}
  .premium-v2 .doctor-row>*:nth-child(2),.premium-v2 .chemist-row>*:nth-child(2){grid-column:1;grid-row:auto}
  .premium-v2 .doctor-row>*:last-child,.premium-v2 .chemist-row>*:last-child{grid-column:2;grid-row:1}
  .premium-v2 .location-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.premium-v2 .button{transition:none}}

/* Official Yaansh Pharma six-leaf logo: split mark and wordmark to remain legible
   at small phone sizes; both assets are exported from the original SVG. */
.premium-v2 .topbar .identity-original{
  display:inline-flex; align-items:center; flex-shrink:0; gap:5px;
  padding:5px 11px 5px 8px; min-width:0; border-radius:12px;
  background:#fff;
}
.premium-v2 .topbar .identity-original img{
  display:block; flex-shrink:0; width:auto; height:auto; object-fit:contain;
}
.premium-v2 .topbar .identity-original .brand-leaf-original{
  width:46px; height:52px; max-height:none;
}
.premium-v2 .topbar .identity-original .brand-wordmark-original{
  width:127px; height:48px; max-height:none;
}
.premium-v2 .topbar .portal-label-leaf{display:none}
@media(max-width:760px){
  .premium-v2 .topbar .identity-original{gap:2px;padding:4px 7px 4px 5px;border-radius:10px}
  .premium-v2 .topbar .identity-original .brand-leaf-original{width:35px;height:41px;max-height:none}
  .premium-v2 .topbar .identity-original .brand-wordmark-original{width:100px;height:38px;max-height:none}
  .premium-v2 .topbar .portal-label{font-size:11px}
}
@media(max-width:350px){
  .premium-v2 .topbar{gap:6px;padding-left:9px;padding-right:9px}
  .premium-v2 .topbar .identity-original .brand-leaf-original{width:31px;height:36px}
  .premium-v2 .topbar .identity-original .brand-wordmark-original{width:88px;height:33px}
  .premium-v2 .topbar .portal-label{font-size:10px}
}

/* Approved full-width brand image mobile clamp */
.premium-v2 .topbar .identity-original .yaansh-approved-header-mark{height:auto!important;max-width:none!important}
