:root{color:#25233b;font-synthesis:none;--brand:#302976;--brand-dark:#211b5d;--brand-soft:#eeecfa;--accent:#f53b38;--teal:#238e88;--text:#25233b;--muted:#6c6b7c;--line:#dedee8;--surface:#fff;--success:#16835d;--warning:#9a6212;--danger:#c43131;--shadow:0 12px 36px #2b265b17;background:#f5f6fb;font-family:Inter,Noto Sans Devanagari,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#f5f6fb;min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}h1,h2,h3,p{margin-top:0}h1{margin-bottom:.55rem;font-size:clamp(1.45rem,5vw,2.1rem);line-height:1.2}.muted{color:var(--muted)}.eyebrow{color:var(--brand);letter-spacing:.08em;text-transform:uppercase;margin-bottom:.35rem;font-size:.75rem;font-weight:700}.brand-logo{object-fit:contain;object-position:left center;width:178px;height:72px;display:block}.brand-logo.compact{width:126px;height:45px}.brand-logo.clinic-logo{object-fit:contain;width:210px;height:86px}.language-switch{background:#efeff5;border-radius:12px;width:max-content;padding:3px;display:flex}.language-switch button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:9px;padding:5px 11px;font-size:.82rem;font-weight:600}.language-switch button.selected{color:var(--brand);background:#fff;box-shadow:0 2px 7px #00000014}.button{background:var(--brand);color:#fff;border:1px solid #0000;border-radius:13px;min-height:48px;padding:12px 18px;font-weight:700;transition:transform .12s,background .12s}.button:hover:not(:disabled){background:var(--brand-dark)}.button:active:not(:disabled){transform:translateY(1px)}.button.secondary{color:var(--brand);background:#fff;border-color:#c8c5dd}.button.secondary:hover:not(:disabled),.button.ghost:hover:not(:disabled){background:var(--brand-soft)}.button.ghost{color:var(--brand);background:0 0;border-color:#0000}.button.danger{color:var(--danger);background:#fff1f1;border-color:#f3c6c6}.button.danger:hover:not(:disabled){background:#ffe3e3}.button.small,.button.small-secondary{white-space:nowrap;border-radius:9px;min-height:34px;padding:6px 10px;font-size:.78rem}.button.small-secondary{color:var(--brand);background:#fff;border-color:#c8c5dd}.button.full{width:100%}.success-button{background:var(--success)}.success-button:hover:not(:disabled){background:#0f6849}.text-button{color:var(--brand);background:0 0;border:0;padding:6px 0;font-weight:700}.field{color:#464458;flex-direction:column;gap:6px;font-size:.86rem;font-weight:600;display:flex}.field input,.field select,.field textarea,.filters input,.filters select,.search-box input,td input,td select{width:100%;min-height:47px;color:var(--text);background:#fff;border:1px solid #cbcbd8;border-radius:10px;outline:none;padding:10px 12px;font-weight:500}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.filters input:focus,.filters select:focus,.search-box input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #3029761a}.field input:disabled{color:var(--muted);background:#f0f0f4}.field small{color:var(--muted);font-weight:400}.field .error-text{color:var(--danger);font-weight:600}.password-input{position:relative}.password-input input{padding-right:50px}.password-input button{width:40px;height:36px;color:var(--brand);background:0 0;border:0;border-radius:8px;font-size:1.15rem;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.password-input button:focus-visible{outline:3px solid #30297633}.one-time-secret div{justify-content:space-between;align-items:center;gap:18px;margin:16px 0;display:flex}.one-time-secret code{color:var(--brand);letter-spacing:.18em;background:#f2f1f9;border-radius:8px;padding:10px 16px;font-size:1.35rem}.stack{gap:18px;display:grid}.form-grid{gap:16px;display:grid}.notice{border-left:4px solid var(--brand);background:var(--brand-soft);color:var(--brand-dark);border-radius:9px;margin:0 0 16px;padding:12px 14px;font-size:.88rem;line-height:1.5}.notice.error{border-color:var(--danger);color:#932323;background:#fff0f0}.notice.warning{color:#785010;background:#fff7e7;border-color:#e59b2f}.notice.success{border-color:var(--success);color:#126b4d;background:#eaf8f2}.auth-shell,.welcome-shell{background:radial-gradient(circle at 100% 0,#e8e5fc 0,#f8f8fc 42%,#f2f3f8 100%);place-items:center;min-height:100dvh;padding:18px;display:grid}.auth-card,.welcome-card{width:min(100%,500px);box-shadow:var(--shadow);background:#fffffff0;border:1px solid #3029761a;border-radius:24px;padding:24px}.auth-top{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.auth-card h1{margin-top:18px}.demo-box{color:var(--muted);background:#f5f5f9;border-radius:12px;margin-top:22px;padding:13px;line-height:1.6}.welcome-card{width:min(100%,680px)}.welcome-card>h1{margin-top:26px}.role-grid{gap:14px;margin:28px 0;display:grid}.role-card{min-height:92px;color:var(--text);text-align:left;background:#fff;border:1px solid #d8d5ec;border-radius:16px;grid-template-columns:46px 1fr;align-items:center;gap:3px 14px;padding:18px;display:grid}.role-card:hover{border-color:var(--brand);box-shadow:0 8px 20px #30297614}.role-icon{background:var(--brand);color:#fff;border-radius:14px;grid-row:span 2;place-items:center;width:46px;height:46px;font-size:1.2rem;font-weight:700;display:grid}.role-icon.admin-icon{background:var(--teal)}.role-card small{color:var(--muted)}.prototype-pill{width:fit-content;color:var(--muted);background:#f2f1f9;border-radius:99px;margin:0;padding:8px 12px;font-size:.75rem}.agent-shell{background:linear-gradient(#f0eff9 0,#f7f7fb 260px);min-height:100dvh}.agent-topbar,.agent-inner-top{justify-content:space-between;align-items:center;width:min(100%,650px);margin:auto;padding:16px 18px;display:flex}.agent-home-card{width:min(100% - 24px,620px);box-shadow:var(--shadow);background:#fff;border-radius:23px;margin:2px auto 30px;padding:24px 20px}.agent-home-card h1{margin-bottom:3px}.org-name{color:var(--muted);margin-bottom:25px}.plan-locked{background:var(--brand-soft);border-radius:15px;grid-template-columns:1fr auto;gap:18px;margin-bottom:9px;padding:16px;display:grid}.plan-locked div{flex-direction:column;gap:4px;display:flex}.plan-locked small{color:var(--muted)}.plan-locked b{color:var(--brand-dark)}.home-actions{gap:12px;margin-top:30px;display:grid}.agent-shell.inner{padding-bottom:36px}.page-header{justify-content:space-between;align-items:flex-start;gap:14px;width:min(100% - 32px,950px);margin:4px auto 18px;display:flex}.page-header h1{margin-top:5px}.page-header p{color:var(--muted);margin:0;line-height:1.5}.content-card{background:#fff;border:1px solid #30297614;border-radius:20px;width:min(100% - 24px,650px);margin:auto;padding:20px;box-shadow:0 8px 30px #2b265b0f}.member-title-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.member-title-row h2{margin:0}.head-chip{color:#8a5b09;white-space:nowrap;background:#fff4d6;border-radius:99px;padding:6px 9px;font-size:.72rem;font-weight:700}.member-form{gap:17px;display:grid}.choice-group{border:1px solid var(--line);border-radius:11px;flex-wrap:wrap;gap:12px 20px;margin:0;padding:13px 14px;display:flex}.choice-group legend{color:#464458;padding:0 5px;font-size:.86rem;font-weight:600}.choice-group label,.copy-options label{color:#454356;align-items:center;gap:7px;font-size:.87rem;display:flex}.choice-group input,.copy-options input,.head-selector input{width:19px;height:19px;accent-color:var(--brand)}.copy-options{background:#f7f6fc;border-radius:12px;gap:11px;padding:14px;display:grid}.head-selector{min-height:52px;color:var(--brand);border:1px solid #d5d3e6;border-radius:12px;align-items:center;gap:10px;padding:13px;font-weight:700;display:flex}.head-selector.checked{color:#785010;background:#fff8e9;border-color:#e1ad3f}.content-card>.button.full{margin-top:20px}.count-card{text-align:center}.count-picker{grid-template-columns:repeat(4,1fr);gap:11px;margin:14px 0 24px;display:grid}.count-picker button{aspect-ratio:1;color:var(--brand);background:#fff;border:1px solid #d4d2e7;border-radius:15px;font-size:1.2rem;font-weight:700}.count-picker button.selected{border-color:var(--brand);background:var(--brand);color:#fff;box-shadow:0 7px 14px #30297638}.price-constant{background:#f5f5f8;border-radius:12px;justify-content:space-between;padding:15px;display:flex}.price-constant b{color:var(--brand)}.progress-dots{gap:8px;max-width:100%;margin:0 0 20px;padding-bottom:4px;display:flex;overflow-x:auto}.progress-dots button{height:36px;color:var(--muted);background:#fff;border:1px solid #d2d0e2;border-radius:50%;flex:0 0 36px;font-weight:700}.progress-dots button.active{border-color:var(--brand);background:var(--brand);color:#fff}.button-row{gap:12px;margin-top:22px;display:flex}.button-row>*{flex:1}.summary-card{gap:0;display:grid}.summary-row{border-bottom:1px solid #ececf2;justify-content:space-between;align-items:flex-start;gap:20px;padding:12px 0;display:flex}.summary-row span{color:var(--muted);font-size:.87rem}.summary-row b{max-width:62%;color:var(--text);text-align:right}.summary-row.strong{background:var(--brand-soft);border:0;border-radius:12px;margin:8px 0;padding:15px}.summary-row.strong b{color:var(--brand)}.summary-list{padding:13px 0}.summary-list>span{color:var(--muted);font-size:.87rem}.summary-list ol{margin-bottom:0;padding-left:24px;line-height:1.8}.payment-card{text-align:center}.payment-amount{background:var(--brand-soft);border-radius:18px;flex-direction:column;gap:6px;margin:10px 0 24px;padding:24px;display:flex}.payment-amount strong{color:var(--brand);font-size:2.5rem}.payment-card .button{margin-top:11px}.success-card .success-mark{width:72px;height:72px;color:var(--success);background:#e5f6ef;border-radius:50%;place-items:center;margin:0 auto 20px;font-size:2.2rem;font-weight:700;display:grid}.search-box{margin-bottom:18px;position:relative}.search-box input{padding-right:42px}.search-box span{color:var(--brand);font-size:1.25rem;position:absolute;top:12px;right:15px}.family-list{gap:10px;display:grid}.family-list-item{text-align:left;background:#fff;border:1px solid #e1e0ea;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;min-height:72px;padding:14px;display:flex}.family-list-item:hover{border-color:var(--brand)}.family-list-item>div{flex-direction:column;gap:5px;display:flex}.family-list-item>div:last-child{flex-direction:row;align-items:center}.family-list-item small{color:var(--muted)}.empty-state{color:var(--muted);text-align:center;padding:30px 12px}.status-badge{color:#555462;white-space:nowrap;background:#f0f0f3;border-radius:99px;align-items:center;width:fit-content;padding:5px 8px;font-size:.7rem;font-weight:700;display:inline-flex}.status-badge.active,.status-badge.successful,.status-badge.success{color:#15704f;background:#e6f6ef}.status-badge.inactive,.status-badge.failed{color:#a22c2c;background:#fdeaea}.status-badge.draft{color:#8c5c09;background:#fff3dc}.capacity-box{background:#f5f5f9;border-radius:13px;margin-bottom:14px;padding:15px}.capacity-box small{color:var(--muted)}.capacity-track{background:#dedde8;border-radius:99px;height:8px;margin:10px 0;overflow:hidden}.capacity-track span{border-radius:inherit;background:var(--brand);height:100%;display:block}.member-list{gap:9px;margin:18px 0;display:grid}.member-list-row{border:1px solid #e2e1ea;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:13px;display:flex}.member-list-row div{flex-direction:column;gap:4px;display:flex}.member-list-row small{color:var(--muted)}.member-list-row button{color:var(--brand);background:0 0;border:0;padding:7px;font-weight:700}.print-page{background:#e9e9ef;min-height:100vh;padding:20px}.print-toolbar{justify-content:center;align-items:center;gap:13px;max-width:850px;margin:0 auto 20px;display:flex}.print-sheet{background:#fff;width:min(100%,850px);margin:auto;box-shadow:0 10px 40px #0000001f}.health-card{border-top:10px solid var(--brand);padding:34px}.card-brand{justify-content:space-between;align-items:center;gap:20px;display:flex}.card-brand>div{text-align:right}.card-brand p{color:var(--brand);margin:0 0 4px;font-weight:700}.card-brand h1{margin:0}.card-accent{background:linear-gradient(90deg, var(--brand) 0 65%, var(--accent) 65% 82%, var(--teal) 82%);width:100%;height:5px;margin:20px 0}.card-grid{grid-template-columns:1fr 180px;gap:26px;display:grid}.card-grid aside{text-align:center}.card-grid aside p{color:var(--muted);font-size:.7rem}.card-section{background:#f7f7fa;border-radius:11px;margin-top:18px;padding:15px 18px}.card-section h2{color:var(--brand);margin-bottom:8px}.card-section ul,.card-section ol{margin:0;padding-left:20px;line-height:1.65}.qr-wrap{flex-direction:column;align-items:center;gap:6px;display:flex}.qr-placeholder{background:#fff;border:5px solid #222;grid-template-columns:repeat(9,1fr);width:136px;height:136px;padding:8px;display:grid}.qr-placeholder span.on{background:#222}.helpline{background:var(--brand);color:#fff;border-radius:9px;justify-content:center;gap:14px;margin-top:20px;padding:12px;display:flex}.health-card footer,.receipt footer{border-top:1px solid var(--line);color:var(--muted);text-align:center;margin-top:20px;padding-top:15px;font-size:.76rem}.receipt{padding:36px}.receipt header{border-bottom:4px solid var(--brand);justify-content:space-between;align-items:center;gap:20px;padding-bottom:20px;display:flex}.receipt header>div{text-align:right}.receipt header h1{color:var(--brand);margin:0}.receipt header p{margin:3px 0 0}.receipt-number,.receipt-customer{background:#f5f5f8;border-radius:8px;justify-content:space-between;margin-top:18px;padding:13px;display:flex}.receipt-lines{margin-top:15px}.admin-shell{background:#f5f6fa;grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.admin-mutation-error{z-index:1000;max-width:min(480px,100vw - 36px);position:fixed;top:12px;right:18px}.admin-saving .admin-main button{pointer-events:none;opacity:.62}.admin-sidebar{color:#fff;z-index:20;background:#252064;flex-direction:column;height:100vh;padding:20px 13px;display:flex;position:sticky;top:0}.sidebar-brand{justify-content:space-between;align-items:center;margin-bottom:24px;padding:0 8px;display:flex}.sidebar-brand .brand-logo{background:#fff;border-radius:8px;padding:5px}.mobile-close{color:#fff;background:0 0;border:0;font-size:1.8rem;display:none}.admin-sidebar nav{gap:4px;display:grid;overflow-y:auto}.admin-sidebar nav button,.sidebar-logout{color:#d9d7ec;text-align:left;background:0 0;border:0;border-radius:9px;align-items:flex-start;gap:9px;min-height:42px;padding:9px 10px;font-size:.82rem;font-weight:600;line-height:1.25;display:flex}.admin-sidebar nav button:hover,.admin-sidebar nav button.active{color:#fff;background:#ffffff21}.admin-sidebar .nav-icon{text-align:center;flex:0 0 20px;width:20px}.admin-sidebar .nav-label{white-space:normal;overflow-wrap:anywhere;min-width:0}.sidebar-logout{margin-top:auto}.admin-main{min-width:0}.admin-topbar{background:#fff;border-bottom:1px solid #e6e6ed;justify-content:space-between;align-items:center;gap:18px;min-height:72px;padding:12px 26px;display:flex}.admin-topbar>div{flex-direction:column;display:flex}.admin-topbar small{color:var(--muted)}.menu-button{color:var(--brand);background:0 0;border:0;font-weight:700;display:none}.admin-page{padding:25px 26px 42px}.admin-page>.page-header{width:100%;margin:0 0 22px}.admin-content{gap:18px;display:grid}.page-actions,.inline-actions{flex-wrap:wrap;gap:8px;display:flex}.admin-card{background:#fff;border:1px solid #e3e3eb;border-radius:14px;padding:20px;box-shadow:0 5px 18px #2a265309}.admin-card h2{margin-bottom:14px}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;display:grid}.stat-card{background:#fff;border:1px solid #e2e1ec;border-radius:14px;grid-template-columns:42px 1fr;align-items:center;gap:3px 12px;padding:20px;display:grid}.stat-card>span{background:var(--brand-soft);width:42px;height:42px;color:var(--brand);border-radius:12px;grid-row:span 2;place-items:center;display:grid}.stat-card small{color:var(--muted)}.stat-card b{font-size:1.35rem}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.82rem}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #ececf1;padding:12px 10px}th{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;font-size:.72rem;font-weight:700}td{color:#343244}td input,td select{min-width:155px;min-height:38px;padding:7px 8px;font-size:.8rem}td input[type=checkbox]{width:20px;min-width:auto;min-height:20px;accent-color:var(--brand)}.admin-form{gap:18px;display:grid}.admin-form .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.commercial-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px;display:grid}.commercial-card{gap:13px;display:grid}.commercial-card h2,.commercial-card p{margin:0}.commercial-card p{color:var(--muted)}.formula-check{color:var(--brand);text-align:center;background:#f5f5f8;border-radius:8px;padding:9px;font-weight:700}.filters{grid-template-columns:minmax(220px,1fr);gap:10px;margin-bottom:18px;display:grid}.filter-clear-action{grid-column:1/-1;justify-content:flex-end;padding-top:2px;display:flex}.payment-filters{grid-template-columns:repeat(3,minmax(160px,1fr))}.payment-filters .field{min-width:160px}.toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0;display:grid}.toggle-row{border:1px solid var(--line);border-radius:10px;justify-content:space-between;align-items:center;min-height:49px;padding:10px 13px;display:flex}.toggle-row input{width:20px;height:20px;accent-color:var(--brand)}.danger-zone{border-color:#f0caca}.menu-overlay{display:none}@media (width>=650px){.role-grid,.form-grid{grid-template-columns:1fr 1fr}.field.class-wide{grid-column:1/-1}}@media (width<=1050px){.stat-grid,.admin-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{width:260px;max-width:86vw;transition:transform .2s;position:fixed;left:0;transform:translate(-102%)}.admin-sidebar.open{transform:translate(0)}.mobile-close,.menu-button{display:block}.menu-overlay{z-index:15;background:#14113673;border:0;display:block;position:fixed;inset:0}.admin-topbar{padding:10px 16px}.admin-topbar>div{display:none}.admin-page{padding:20px 15px 34px}.admin-page>.page-header{flex-direction:column}.page-actions{width:100%}.page-actions .button{flex:1}.payment-filters{grid-template-columns:1fr 1fr}}@media (width<=600px){.brand-logo{width:145px;height:58px}.brand-logo.compact{width:108px}.auth-top{align-items:flex-start}.auth-top .language-switch{flex-shrink:0}.auth-card,.welcome-card{border-radius:20px;padding:20px}.agent-home-card{padding:22px 18px}.plan-locked{grid-template-columns:1fr;gap:13px}.content-card{padding:18px 16px}.page-header{flex-direction:column}.button-row{flex-direction:column-reverse}.print-page{padding:8px}.print-toolbar{z-index:5;background:#e9e9eff2;flex-wrap:wrap;padding:8px;position:sticky;top:0}.print-toolbar .language-switch{order:-1;justify-content:center;width:100%}.health-card,.receipt{padding:20px 16px}.card-brand,.receipt header{flex-direction:column;align-items:flex-start}.card-brand>div,.receipt header>div{text-align:left}.card-grid{grid-template-columns:1fr}.card-grid aside{order:-1}.brand-logo.clinic-logo{width:180px;height:72px}.receipt-number,.receipt-customer{flex-direction:column;gap:5px}.stat-grid{grid-template-columns:1fr}.admin-card{padding:15px}.admin-form .form-grid,.payment-filters,.toggle-grid{grid-template-columns:1fr}.table-wrap{overflow:visible}table,thead,tbody,tr,th,td{display:block}thead{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}tbody{gap:12px;display:grid}tr{background:#fff;border:1px solid #e1e1e9;border-radius:11px;padding:10px 13px}td{text-align:right;overflow-wrap:anywhere;border-bottom:1px dashed #e5e5eb;grid-template-columns:minmax(110px,40%) 1fr;gap:10px;padding:8px 0;display:grid}td:last-child{border-bottom:0}td:before{content:attr(data-label);color:var(--muted);text-align:left;text-transform:uppercase;font-size:.68rem;font-weight:700}td input,td select{min-width:0}td .inline-actions{justify-content:flex-end}}@media print{@page{size:A4;margin:10mm}body,html,#root{background:#fff!important}.no-print{display:none!important}.print-page{background:#fff;min-height:auto;padding:0}.print-sheet{width:100%;box-shadow:none;break-inside:avoid}.health-card{border:2px solid var(--brand);border-top-width:10px}.brand-logo,*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}:root{font-size:14px}h1{font-size:clamp(1.28rem,4vw,1.75rem)}h2{font-size:1rem}.button{border-radius:10px;min-height:42px;padding:9px 15px}.field input,.field select,.field textarea,.filters input,.filters select,.search-box input{min-height:41px;padding:8px 10px}.auth-card,.welcome-card{padding:20px}.role-card{min-height:74px;padding:13px}.agent-topbar,.agent-inner-top{padding-top:10px;padding-bottom:10px}.agent-home-card{padding:20px}.content-card{padding:17px}.page-header{margin-bottom:12px}.page-header h1{margin-bottom:3px}.member-form{gap:12px}.choice-group,.head-selector{padding:9px 11px}.head-selector{width:fit-content;min-height:42px}.copy-options{gap:8px;padding:10px}.count-picker{justify-content:center;gap:7px;margin:8px 0 16px;display:flex}.count-picker button{aspect-ratio:auto;border-radius:9px;width:38px;height:38px;font-size:1rem}.payment-amount{margin-bottom:14px;padding:16px}.payment-amount strong{font-size:2rem}.admin-page{padding-top:18px}.admin-card{padding:15px}.admin-topbar{min-height:58px}.admin-form .form-grid,.compact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-filters,.operational-filters,.mis-filters{grid-template-columns:repeat(5,minmax(140px,1fr));gap:10px;margin:0;display:grid}.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.config-section{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.section-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.benefit-row{grid-template-columns:1.3fr 1.3fr .8fr .65fr .75fr .75fr;gap:8px;margin-bottom:8px;display:grid}.benefit-row input,.benefit-row select{border:1px solid #cbcbd8;border-radius:8px;min-width:0;min-height:38px;padding:7px 8px}.clinic-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.clinic-check-grid label{border:1px solid var(--line);border-radius:8px;padding:8px}.detail-grid{grid-template-columns:1fr 1fr;gap:0 24px;margin-bottom:20px;display:grid}.table-link{color:var(--brand);background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.config-side-labels{color:var(--muted);justify-content:space-around;margin-top:16px;display:flex}.card-print-page{padding:14px}.health-card-pair{background:#efeff3;flex-wrap:wrap;justify-content:center;gap:12mm;width:auto;padding:8mm;display:flex}.health-card{border:.35mm solid #c9c7dc;border-top:1.5mm solid var(--brand);background:#fff;border-radius:2.5mm;width:85.6mm;height:54mm;min-height:54mm;padding:4mm 5mm;font-size:7.4px;line-height:1.25;overflow:hidden;box-shadow:0 4px 16px #0000001f}.health-card header{justify-content:space-between;align-items:center;gap:4mm;display:flex}.health-card header .brand-logo.clinic-logo{width:30mm;height:10mm}.health-card header .brand-logo.compact{width:25mm;height:8mm}.health-card header>div{text-align:right}.health-card header h1{margin:1mm 0 0;font-size:11px}.health-card header b{color:var(--brand);font-size:8px}.card-rule{background:linear-gradient(90deg, var(--brand) 0 72%, var(--accent) 72%);height:.8mm;margin:2mm 0 1mm}.health-card .summary-row{padding:.65mm 0}.health-card .summary-row span{font-size:6.8px}.health-card .summary-row b{font-size:7.2px}.health-card .summary-row.strong{border-radius:1mm;margin:0;padding:1mm}.card-members{margin-top:1.2mm}.card-members h2,.health-card .card-section h2{color:var(--brand);margin:0 0 .8mm;font-size:7.5px}.card-members ol{grid-template-columns:1fr 1fr;gap:.35mm 3mm;margin:0;padding-left:4mm;display:grid}.health-card .card-section{border-radius:1mm;margin-top:1mm;padding:1.4mm}.health-card .card-section ul{grid-template-columns:1fr 1fr;gap:.4mm 3mm;padding-left:3.5mm;line-height:1.25;display:grid}.clinic-list>div{border-bottom:.15mm solid #ddd;grid-template-columns:1fr 1.5fr;gap:.5mm 2mm;padding:.45mm 0;display:grid}.clinic-list>div span{font-size:6px}.clinic-list>div small{color:var(--muted);grid-column:1/-1;font-size:5.7px}.health-card .helpline{border-radius:1mm;margin-top:1mm;padding:1mm}.health-card footer{margin-top:1mm;padding-top:1mm;font-size:5.5px}.receipt{width:min(100%,720px);padding:24px 30px}.receipt header{padding-bottom:12px}.receipt header h1{font-size:1.35rem}.receipt .summary-row{padding:8px 0}.receipt.standard{page:receipt-standard}.receipt.thermal58,.receipt.thermal60{page-break-inside:avoid;border:0;border-radius:0;font-family:Arial,Noto Sans Devanagari,sans-serif;font-size:9px;line-height:1.25}.receipt.thermal58{page:receipt-thermal58;width:54mm;padding:2mm}.receipt.thermal60{page:receipt-thermal60;width:56mm;padding:2mm}.receipt.thermal58 header,.receipt.thermal60 header{border-bottom-width:.7mm;flex-direction:column;align-items:flex-start;gap:1mm;padding-bottom:2mm}.receipt.thermal58 header>div,.receipt.thermal60 header>div{text-align:left;width:100%}.receipt.thermal58 header .brand-logo,.receipt.thermal60 header .brand-logo{width:28mm;height:11mm}.receipt.thermal58 header h1,.receipt.thermal60 header h1{font-size:12px}.receipt.thermal58 header p,.receipt.thermal60 header p{font-size:8px}.receipt.thermal58 .receipt-lines,.receipt.thermal60 .receipt-lines{margin-top:1mm}.receipt.thermal58 .summary-row,.receipt.thermal60 .summary-row{border-bottom-style:dotted;align-items:flex-start;gap:2mm;padding:1.3mm 0}.receipt.thermal58 .summary-row span,.receipt.thermal60 .summary-row span{max-width:52%;font-size:8px}.receipt.thermal58 .summary-row b,.receipt.thermal60 .summary-row b{overflow-wrap:anywhere;max-width:48%;font-size:8.5px}.receipt.thermal58 footer,.receipt.thermal60 footer{margin-top:2mm;padding-top:1.5mm;font-size:7px}@page receipt-standard{size:A4;margin:10mm}@page receipt-thermal58{size:58mm auto;margin:2mm}@page receipt-thermal60{size:60mm auto;margin:2mm}@media (width<=1100px){.dashboard-filters,.operational-filters,.mis-filters{grid-template-columns:repeat(3,minmax(140px,1fr))}.benefit-row{border:1px solid var(--line);border-radius:9px;grid-template-columns:1fr 1fr 1fr;padding:10px}}@media (width<=700px){:root{font-size:14px}.button{min-height:45px}.admin-form .form-grid,.compact-grid,.dashboard-filters,.operational-filters,.mis-filters,.detail-grid{grid-template-columns:1fr}.dashboard-stats{grid-template-columns:1fr 1fr}.clinic-check-grid,.benefit-row{grid-template-columns:1fr}.health-card-pair{justify-content:flex-start;gap:5mm;padding:3mm;overflow-x:auto}.health-card{flex:0 0 85.6mm}}@media print{.health-card-pair{page:health-card;background:#fff;flex-flow:row;justify-content:center;align-items:flex-start;gap:10mm;padding:0;display:flex}.health-card{box-shadow:none;break-inside:avoid;width:85.6mm!important;height:54mm!important;min-height:54mm!important}.receipt{width:180mm;padding:8mm 12mm}.receipt.thermal58{width:54mm;padding:0}.receipt.thermal60{width:56mm;padding:0}}@page health-card{size:A4 landscape;margin:10mm}.agent-global-header{justify-content:space-between;align-items:center;gap:14px;width:min(100% - 24px,700px);margin:0 auto;padding:10px 0;display:flex}.agent-global-header .brand-logo{object-position:center;flex:none;width:104px;height:58px}.agent-header-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex}.agent-header-actions>button{min-height:38px;color:var(--brand);white-space:nowrap;background:#fff;border:1px solid #d3d0e4;border-radius:9px;padding:7px 10px;font-size:.82rem;font-weight:700}.agent-header-actions>button:hover{background:var(--brand-soft)}.agent-shell .page-header,.agent-shell .content-card,.agent-home-card{width:min(100% - 24px,700px)}.agent-shell .page-header{align-items:center}.agent-shell .page-header .text-button{white-space:nowrap;background:#fff;border:1px solid #d3d0e4;border-radius:9px;min-height:38px;padding:7px 10px;font-size:.84rem}.agent-shell h1,.auth-card h1,.welcome-card h1{font-size:clamp(1.3rem,2.2vw,1.7rem)}.agent-shell h2{font-size:1.05rem}.agent-shell .field{gap:4px;font-size:.88rem}.agent-shell .field input,.agent-shell .field select,.agent-shell .field textarea,.agent-shell .search-box input{min-height:42px;padding:8px 10px}.agent-shell .field small,.agent-shell .family-list-item small{font-size:.78rem}.agent-shell .member-form{gap:10px}.agent-shell .member-title-row{margin-bottom:8px}.member-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.member-address-grid{grid-template-columns:minmax(0,2fr) minmax(145px,1fr);align-items:start;gap:12px}.agent-shell .choice-group{padding:8px 10px}.agent-shell .copy-options{gap:7px;padding:9px 11px}.agent-shell .head-selector{min-height:42px;padding:9px 11px}.print-toolbar{width:min(100% - 16px,760px);margin-left:auto;margin-right:auto}.sidebar-brand{justify-content:center;min-height:64px;margin-bottom:12px;position:relative;overflow:hidden}.sidebar-brand .brand-logo{object-position:center;width:104px;height:64px;padding:3px}.sidebar-brand .mobile-close{position:absolute;top:8px;right:4px}.admin-sidebar nav{gap:5px}.admin-sidebar nav button,.sidebar-logout{min-height:43px;font-size:.88rem;line-height:1.28}.admin-main{font-size:.98rem}.admin-main .field{font-size:.9rem}.admin-main table{font-size:.86rem}.admin-main th{font-size:.76rem;line-height:1.25}.admin-main td{line-height:1.35}@media (width<=600px){.agent-global-header{flex-wrap:wrap;align-items:center;padding:8px 0}.agent-global-header .brand-logo{width:90px;height:52px}.agent-header-actions{flex:100%;justify-content:space-between}.agent-header-actions>button{min-height:42px}.agent-header-actions .language-switch{margin:0 auto}.agent-shell .page-header{align-items:stretch}.agent-shell .page-header .text-button{width:fit-content;min-height:42px}.member-contact-grid,.member-address-grid,.dashboard-stats{grid-template-columns:1fr}.agent-shell .field input,.agent-shell .field select,.agent-shell .field textarea,.agent-shell .search-box input{min-height:44px}}
