#root{min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}.app-shell{--accent: #168466;--accent-hover: #106f55;--accent-soft: #e9f6f1;--accent-border: #b7d9ce;min-height:100vh;background:#f7f8fa}.app-shell[data-accent=blue]{--accent: #3478c4;--accent-hover: #285f9d;--accent-soft: #eaf3fb;--accent-border: #b9d5f0}.app-shell[data-accent=violet]{--accent: #7961bd;--accent-hover: #614a9f;--accent-soft: #f0ebfb;--accent-border: #d3c8ed}.app-shell[data-accent=rose]{--accent: #c75f76;--accent-hover: #a74b61;--accent-soft: #fbedf0;--accent-border: #efc7d0}.sidebar{position:fixed;inset:0 auto 0 0;z-index:5;display:flex;width:252px;flex-direction:column;padding:28px 16px 16px;border-right:1px solid #e9edf0;background:#fff}.brand{display:flex;align-items:center;gap:11px;margin:0 0 43px 8px;color:inherit;text-decoration:none}.brand-mark{display:grid;width:39px;height:39px;flex:0 0 auto;place-items:center;border-radius:12px;background:var(--accent-soft);color:var(--accent)}.brand-copy{display:flex;flex-direction:column;gap:1px}.brand-copy strong{color:#1b2b2c;font-size:19px;font-weight:750;letter-spacing:-.8px;line-height:1.1}.brand-copy strong span{color:var(--accent)}.brand-copy small{color:#8d999a;font-size:8px;font-weight:700;letter-spacing:1.4px}.workspace-label,.eyebrow{color:#91a0a1;font-size:10px;font-weight:700;letter-spacing:1.2px}.workspace-label{margin:0 0 11px 12px}.side-nav{max-height:calc(100vh - 250px);min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:5px;scrollbar-width:thin}.nav-item{display:flex;min-height:44px;align-items:center;gap:12px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#657476;font-size:13px;font-weight:550;text-align:left;transition:background .15s ease,color .15s ease}.nav-item:hover{background:#f6f9f8;color:var(--accent-hover)}.nav-item.active{background:var(--accent-soft);color:var(--accent);font-weight:650}.nav-item>span:nth-child(2){flex:1}.nav-count{min-width:22px;padding:3px 6px;border-radius:6px;background:#f0f3f4;color:#718082;font-size:10px;text-align:center}.nav-count.warning{background:#fff2dd;color:#aa7417}.nav-separator{height:1px;margin:9px 5px 8px;background:#edf0f1}.sidebar-bottom{margin-top:auto}.profile-button{display:flex;width:100%;align-items:center;gap:10px;padding:12px 5px 3px;border:0;border-top:1px solid #edf0f1;background:transparent;text-align:left}.avatar{display:inline-grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:50%;background:#e5f1ee;color:#347d6b;font-size:11px;font-weight:700}.avatar-1{background:#f1e8f5;color:#8a64a1}.avatar-2{background:#fff0e2;color:#bc7741}.avatar-3{background:#e7effb;color:#527aaf}.profile-copy{display:flex;flex:1;flex-direction:column;gap:3px}.profile-copy strong{color:#334345;font-size:11px}.profile-copy small{color:#8a9698;font-size:10px}.profile-more{color:#899496;font-size:20px;line-height:1}.main-panel{min-height:100vh;margin-left:252px}.topbar{position:sticky;top:0;z-index:4;display:flex;height:68px;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid #e9edf0;background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.breadcrumbs,.topbar-actions{display:flex;align-items:center}.breadcrumbs{gap:10px;color:#849091;font-size:12px}.breadcrumbs strong{color:#364546;font-weight:650}.crumb-slash{color:#c3cccd}.topbar-actions{gap:17px}.ui-language-picker{display:flex;align-items:center;gap:6px;color:#849091;font-size:10px}.ui-language-picker select{min-width:88px;height:34px;padding:0 7px;border:1px solid #e8edef;border-radius:7px;background:#fff;color:#364546;font-size:11px}.appearance-menu{position:relative}.appearance-trigger{list-style:none}.appearance-trigger::-webkit-details-marker{display:none}.appearance-trigger:hover,.appearance-menu[open] .appearance-trigger{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.appearance-panel{position:absolute;top:calc(100% + 10px);right:0;z-index:12;width:min(270px,calc(100vw - 24px));padding:16px;border:1px solid #e6eaeb;border-radius:11px;background:#fff;box-shadow:0 14px 40px #1d312f2e}.appearance-panel-heading,.appearance-mode-picker,.appearance-theme-picker{display:flex;flex-direction:column;gap:7px}.appearance-panel-heading{margin-bottom:15px}.appearance-panel-heading strong{color:#344445;font-size:12px}.appearance-panel-heading small{color:#899596;font-size:9px}.appearance-mode-picker,.appearance-theme-picker>span{color:#657374;font-size:10px;font-weight:600}.appearance-mode-picker select{height:34px;padding:0 9px;border:1px solid #e3e9e9;border-radius:6px;background:#fff;color:#364546;font-size:11px}.appearance-theme-picker{margin-top:14px}.theme-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.theme-choice{display:flex;min-width:0;flex-direction:column;align-items:center;gap:6px;padding:8px 3px 6px;border:1px solid transparent;border-radius:7px;background:transparent;color:#667475}.theme-choice.selected{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.theme-swatch{width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 1px #00000014}.theme-choice small{font-size:8px}.global-search,.table-search{display:flex;align-items:center;gap:9px;border:1px solid #e8edef;border-radius:8px;background:#fbfcfc;color:#92a0a0}.global-search{width:264px;height:36px;padding:0 10px}.global-search input,.table-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#39494a;font-size:11px}.global-search input::placeholder,.table-search input::placeholder{color:#9aa5a6}kbd{padding:2px 4px;border:1px solid #e6eaeb;border-radius:4px;color:#9aa4a5;font-family:inherit;font-size:9px;white-space:nowrap}.icon-button{position:relative;display:inline-grid;width:35px;height:35px;place-items:center;border:1px solid #e9edef;border-radius:8px;background:#fff;color:#6f7d7e}.icon-button:hover,.row-action:hover{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.notification-button i{position:absolute;top:7px;right:7px;width:6px;height:6px;border:1px solid white;border-radius:50%;background:#e79a54}.topbar-divider{width:1px;height:24px;background:#e9edef}.today-date{color:#657475;font-size:11px;font-weight:550}.page-content{max-width:1600px;margin:0 auto;padding:35px 42px 45px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:27px}.page-heading .eyebrow{display:inline-block;margin-bottom:9px}.page-heading h1{margin:0;color:#243536;font-size:clamp(25px,2.4vw,31px);font-weight:650;letter-spacing:-1.1px;line-height:1.2}.page-heading p{margin:7px 0 0;color:#829091;font-size:12px}.wave{color:#e2a35d;font-size:21px}.button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid transparent;border-radius:7px;font-size:11px;font-weight:650;transition:background .15s ease,border .15s ease,transform .15s ease}.button:active{transform:translateY(1px)}.button-primary{background:var(--accent);color:#fff;box-shadow:0 2px 4px #1b775c1f}.button-primary:hover{background:var(--accent-hover)}.button-outline{border-color:#e3e9e9;background:#fff;color:#536365}.button-outline:hover{border-color:#b5d7cb;background:#f7fbf9;color:#14785d}.button-small{min-height:29px;padding:0 9px;font-size:10px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.stat-card{min-width:0;padding:16px 17px 15px;border:1px solid #e9edef;border-radius:10px;background:#fff;box-shadow:0 1px 2px #1d302f05}.stat-top{display:flex;height:33px;align-items:center;justify-content:space-between;margin-bottom:13px}.stat-icon{display:inline-grid;width:33px;height:33px;flex:0 0 auto;place-items:center;border-radius:9px}.stat-icon.mint{background:var(--accent-soft);color:var(--accent)}.stat-icon.violet{background:#f0ebfb;color:#8269c1}.stat-icon.amber{background:#fff3e0;color:#c28730}.stat-icon.blue{background:#e9f1fb;color:#5c82b4}.stat-trend,.stat-chip{display:inline-flex;align-items:center;gap:4px;color:var(--accent);font-size:9px;font-weight:650}.stat-chip{padding:5px 7px;border-radius:5px;background:#fff6e8;color:#b17a25;font-size:8px}.stat-label{display:block;margin-bottom:5px;color:#788687;font-size:10px}.stat-card>strong{display:block;overflow:hidden;color:#273839;font-size:24px;font-weight:650;letter-spacing:-.7px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.stat-card>small{display:block;margin-top:5px;color:#9aa4a5;font-size:9px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.9fr);gap:17px;margin-bottom:17px}.panel{min-width:0;border:1px solid #e9edef;border-radius:10px;background:#fff;box-shadow:0 1px 2px #1d302f05}.activity-panel,.chart-panel,.quick-panel,.completion-panel,.report-collection,.analysis-panel{padding:18px 19px 14px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:17px}.panel-heading h2,.list-toolbar h2{margin:0;color:#344546;font-size:13px;font-weight:650}.panel-heading p,.list-toolbar p{margin:5px 0 0;color:#909b9c;font-size:10px}.text-button{display:inline-flex;align-items:center;gap:6px;padding:2px 0;border:0;background:transparent;color:var(--accent);font-size:10px;font-weight:650;white-space:nowrap}.period-pill{display:inline-flex;align-items:center;gap:12px;padding:6px 9px;border:1px solid #edf0f0;border-radius:6px;color:#6e7c7d;font-size:9px}.period-pill span{color:#a4aeaf}.activity-table,.list-panel table{width:100%;border-collapse:collapse;text-align:left}.activity-table th,.list-panel th{padding:10px 8px;border-bottom:1px solid #edf0f1;color:#9aa5a5;font-size:8px;font-weight:700;letter-spacing:.55px;white-space:nowrap}.activity-table td,.list-panel td{padding:11px 8px;border-bottom:1px solid #f0f2f2;color:#667475;font-size:10px;white-space:nowrap}.activity-table tbody tr:last-child td,.list-panel tbody tr:last-child td{border-bottom:0}.order-patient{display:flex;flex-direction:column;gap:4px}.order-patient strong{color:#415051;font-size:10px;font-weight:620}.order-patient small{color:#9aa4a5;font-size:8px}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:5px;font-size:8px;font-weight:650}.status-pill i{width:5px;height:5px;border-radius:50%;background:currentColor}.status-complete{background:#eaf6ef;color:#398764}.status-pending{background:#fff4e3;color:#b47c2b}.row-action{display:inline-grid;width:26px;height:26px;place-items:center;border:1px solid transparent;border-radius:6px;background:transparent;color:#879394}.chart-summary{display:flex;align-items:baseline;gap:8px;margin:21px 0 4px}.chart-summary strong{color:#304142;font-size:26px;font-weight:650;letter-spacing:-.7px}.chart-summary>span:nth-child(2){color:#899596;font-size:9px}.chart-summary .chart-change{margin-left:auto;color:#33896c;font-size:9px;font-weight:650}.bar-chart{display:flex;height:142px;align-items:flex-end;justify-content:space-between;gap:12px;padding:9px 5px 0;border-bottom:1px solid #edf0f1;background:repeating-linear-gradient(to bottom,transparent 0,transparent 34px,#f3f5f5 35px,transparent 36px)}.bar-column{display:flex;height:100%;flex:1;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px}.bar{width:min(22px,70%);min-height:8px;border-radius:4px 4px 0 0;background:#d7eee5}.bar-current{background:#45ac85}.bar-column>span{position:relative;top:19px;color:#97a1a1;font-size:8px}.lower-grid{grid-template-columns:minmax(0,1.55fr) minmax(270px,.9fr);margin-bottom:0}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:19px}.quick-actions button{display:flex;min-width:0;align-items:center;gap:8px;padding:10px 9px;border:1px solid #edf0f0;border-radius:8px;background:#fff;color:#899596;text-align:left;transition:border .15s ease,background .15s ease}.quick-actions button:hover{border-color:#c4e0d5;background:#f8fcfa}.quick-icon{display:grid;width:31px;height:31px;flex:0 0 auto;place-items:center;border-radius:8px}.quick-mint{background:#eaf6f0;color:#2b8c6c}.quick-violet{background:#f1edfa;color:#8269ba}.quick-blue{background:#ebf2fa;color:#5c80b0}.quick-actions button>span:nth-child(2){display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.quick-actions strong{overflow:hidden;color:#455354;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.quick-actions small{overflow:hidden;color:#9aa4a5;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.completion-value{color:#258768;font-size:21px;font-weight:650}.progress-track,.analysis-track{overflow:hidden;height:7px;border-radius:5px;background:#eef2f1}.progress-track>span{display:block;height:100%;border-radius:inherit;background:#45ac85;transition:width .18s ease}.completion-legend{display:flex;justify-content:space-between;gap:8px;margin:12px 0 19px;color:#899596;font-size:8px}.completion-legend>span{display:flex;align-items:center;gap:5px}.completion-legend strong{color:#455455;font-size:9px}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%}.green-dot{background:#45a981}.amber-dot{background:#e6a650}.completion-note{display:flex;gap:8px;padding:10px;border-radius:7px;background:#f6faf8}.note-icon{color:#2f9271}.completion-note p{margin:0;color:#8b9696;font-size:8px;line-height:1.6}.completion-note strong{color:#557366;font-size:9px}.demo-notice{margin:18px 0 0;color:#a0aaaa;font-size:9px;text-align:center}.tab-bar,.report-period-tabs{display:flex;align-items:center;gap:5px;margin:-4px 0 16px;border-bottom:1px solid #e7eded}.administration-header{display:flex;align-items:center;gap:12px}.administration-header .administration-tabs{min-width:0;flex:1}.administration-date-range{margin-left:auto;padding-bottom:16px}.administration-date-range .attendance-date-picker{font-size:8px}.administration-date-range .attendance-date-picker input{height:32px}.administration-logout{flex:0 0 auto;margin-bottom:16px}.tab-bar button,.report-period-tabs button{display:inline-flex;align-items:center;gap:7px;padding:11px 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:#829091;font-size:11px;font-weight:550}.tab-bar button.selected,.report-period-tabs button.selected{border-bottom-color:var(--accent);color:var(--accent);font-weight:650}.tab-bar button span{padding:2px 5px;border-radius:4px;background:#f0f3f3;color:#818d8e;font-size:8px}.list-panel{overflow:hidden}.list-panel table{min-width:760px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 13px}.result-list-controls{display:flex;align-items:center;gap:9px}.status-filter{display:flex;align-items:center;gap:7px;color:#788687;font-size:10px;white-space:nowrap}.status-filter select{height:32px;padding:0 25px 0 9px;border:1px solid #e4e9e9;border-radius:6px;outline:none;background:#fff;color:#465455;font-size:10px}.table-search{width:190px;height:32px;padding:0 9px}.person-cell,.test-name-cell{display:flex;align-items:center;gap:9px}.test-name-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.test-name-copy small{color:#8d9999;font-size:8px}.person-cell .avatar{width:29px;height:29px;font-size:9px}.person-cell strong,.test-name-cell strong{color:#465455;font-size:10px;font-weight:620}.id-text{color:#718081;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.muted{color:#98a2a3}.test-count{display:inline-grid;min-width:22px;height:21px;place-items:center;border-radius:5px;background:#f2f6f4;color:#50806d;font-size:9px;font-weight:600}.table-footer{display:flex;justify-content:space-between;gap:10px;padding:11px 17px;border-top:1px solid #edf0f0;color:#9aa4a4;font-size:9px}.empty-cell{padding:30px 12px!important;color:#9aa4a4!important;text-align:center}.patient-summary-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:-4px 0 17px}.patient-summary{display:flex;align-items:center;gap:11px;padding:12px 15px;border:1px solid #e9edef;border-radius:9px;background:#fff}.patient-summary>span:last-child{display:flex;flex-direction:column;gap:3px}.patient-summary small{color:#899596;font-size:9px}.patient-summary strong{color:#354546;font-size:16px;font-weight:650}.result-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:-4px 0 17px}.result-card{display:flex;align-items:center;gap:11px;padding:13px 16px;border:1px solid #e9edef;border-radius:9px;background:#fff;color:#889495;font-size:10px}.result-card>span:last-child{display:flex;align-items:center;gap:6px}.result-number{color:#354546;font-size:20px;font-weight:650}.attendance-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.attendance-calendar-panel{margin-bottom:15px;padding:14px 18px}.attendance-calendar-panel .attendance-date-range{justify-content:flex-end}.attendance-login-card{max-width:430px;margin:20px auto;padding:22px}.attendance-login-card .button{width:100%}.attendance-login-error{margin:0;color:#b34646;font-size:11px}.attendance-security-note{margin:14px 0 0;color:#899596;font-size:10px;line-height:1.5}.attendance-date-picker{display:flex;flex-direction:column;gap:5px;color:#849091;font-size:9px;font-weight:600}.attendance-date-range{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.attendance-register-controls{display:flex;align-items:flex-end;gap:10px}.attendance-history-panel{margin-top:16px;padding:16px 18px 12px}.attendance-history-panel .panel-heading{margin-bottom:10px}.attendance-history-table-wrap{max-height:300px;overflow-x:auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.attendance-history-table thead th{position:sticky;top:0;z-index:1;background:#fff}.attendance-history-table{width:100%;min-width:760px;border-collapse:collapse;text-align:left}.attendance-history-table th,.attendance-history-table td{padding:10px 8px;border-bottom:1px solid #edf0f1;font-size:10px;vertical-align:top}.attendance-history-table th{color:#9aa5a5;font-size:8px;font-weight:700;letter-spacing:.45px}.attendance-history-table td{color:#667475}.attendance-history-table tbody tr:last-child td{border-bottom:0}.attendance-date-picker input{height:34px;padding:0 9px;border:1px solid #e8edef;border-radius:7px;background:#fff;color:#465858;font-size:10px}.attendance-status-options{display:flex;align-items:center;gap:10px}.attendance-save-button:disabled{cursor:not-allowed;opacity:.5}.attendance-status-option{display:inline-flex;align-items:center;gap:5px;padding:5px 2px;border:0;background:transparent;color:#718082;font-size:10px;font-weight:650}.attendance-status-option i{display:grid;width:16px;height:16px;place-items:center;border:1.5px solid #c6d0cf;border-radius:50%}.attendance-status-option i:after{width:7px;height:7px;border-radius:50%;background:transparent;content:""}.attendance-status-option.selected.status-present{color:#238363}.attendance-status-option.selected.status-present i{border-color:#238363}.attendance-status-option.selected.status-present i:after{background:#238363}.attendance-status-option.selected.status-absent{color:#bb5656}.attendance-status-option.selected.status-absent i{border-color:#bb5656}.attendance-status-option.selected.status-absent i:after{background:#bb5656}.attendance-status-option.selected.status-leave{color:#b17a23}.attendance-status-option.selected.status-leave i{border-color:#b17a23}.attendance-status-option.selected.status-leave i:after{background:#b17a23}.attendance-info-button{min-height:34px}.attendance-info-dialog{width:min(100%,430px)}.attendance-info-range{margin:0 0 14px;color:#849091;font-size:11px}.attendance-month-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.attendance-month-heading h3{margin:0;color:#465858;font-size:13px;font-weight:650}.attendance-month-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.attendance-month-weekday{padding:4px 0;color:#899596;font-size:9px;font-weight:650;text-align:center}.attendance-month-day{display:flex;min-height:38px;align-items:center;justify-content:center;gap:4px;border-radius:7px;background:#f5f7f7;color:#627171;font-size:10px}.attendance-month-day.empty{background:transparent}.attendance-month-day strong{display:grid;width:17px;height:17px;place-items:center;border-radius:50%;color:#fff;font-size:8px}.attendance-month-day.status-present strong,.attendance-month-legend .status-present{background:#238363}.attendance-month-day.status-present{background:#d9f0e7;color:#17684f}.attendance-month-day.status-absent strong,.attendance-month-legend .status-absent{background:#bb5656}.attendance-month-day.status-absent{background:#f7e0e0;color:#963f3f}.attendance-month-day.status-leave strong,.attendance-month-legend .status-leave{background:#b17a23}.attendance-month-day.status-leave{background:#f6ebcf;color:#8c631b}.attendance-month-legend{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 16px}.attendance-month-legend span{display:flex;align-items:center;gap:5px;color:#718082;font-size:9px}.attendance-month-legend i{width:9px;height:9px;border-radius:50%}.attendance-info-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.attendance-info-counts .result-card{min-width:0;flex-direction:column;align-items:flex-start;gap:6px}.attendance-info-dialog .dialog-actions{margin-top:16px}.attendance-list-panel{overflow:auto}.attendance-register-table-wrap{max-height:200px;overflow:auto;-webkit-overflow-scrolling:touch}.attendance-register-table-wrap thead th{position:sticky;top:0;z-index:1;background:#fff}@media (max-width: 640px){.administration-header{flex-wrap:wrap}.administration-header .administration-tabs{flex:1 1 100%}.administration-date-range{order:2;flex:1 1 auto;margin-left:0;padding-bottom:16px}.administration-logout{order:3;margin-left:auto}.attendance-register-controls{width:100%;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}.attendance-register-controls .attendance-date-picker{flex:1 1 150px}}.normal-weight{color:#526061;font-weight:550}.result-value{color:#368666;font-weight:650}.result-value small{color:#8e9b9b;font-size:8px;font-weight:450}.result-input{width:92px;height:28px;padding:0 7px;border:1px solid #e3e9e9;border-radius:5px;outline:none;color:#3e4f4f;font-size:10px}.result-input:focus,.dialog-form input:focus,.dialog-form select:focus{border-color:#66b596;box-shadow:0 0 0 3px #298f691a}.result-input-complete{border-color:#d7e9e0;background:#f8fcf9;color:#368666}.action-group{display:flex;align-items:center;gap:4px}.report-period-tabs{gap:1px;margin:-10px 0 17px}.report-period-tabs button{padding:10px 14px}.revenue-category-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:8px}.revenue-category-toolbar .revenue-category-tabs{min-width:0;flex:1 1 350px;margin-bottom:0}.revenue-name-search{min-width:150px;flex:0 1 190px}.revenue-name-search input{width:100%;height:34px;padding:0 10px;border:1px solid #e8edef;border-radius:7px;background:#fff;color:#465858;font-size:10px}.revenue-filter-controls{display:flex;align-items:flex-end;gap:10px}.revenue-custom-range{min-height:34px;white-space:nowrap}.revenue-date-range{display:flex;align-items:flex-end;gap:10px}.revenue-date-control{display:flex;min-width:165px;flex-direction:column;gap:5px;color:#849091;font-size:9px;font-weight:600}.revenue-date-control input{height:34px;padding:0 9px;border:1px solid #e8edef;border-radius:7px;background:#fff;color:#465858;font-size:10px}.revenue-range-label{margin:0 0 15px;color:#8b9697;font-size:10px}.revenue-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:24px 0 17px}.revenue-stats .stat-card{padding:16px 18px}.revenue-stats .stat-card>strong{margin-top:6px;font-size:22px}.revenue-daily-panel,.revenue-breakdown-panel{min-width:0;padding:17px 18px 12px}.revenue-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.revenue-table{width:100%;border-collapse:collapse;text-align:left}.revenue-table th,.revenue-table td{padding:10px 8px;border-bottom:1px solid #edf0f1;font-size:10px;white-space:nowrap}.revenue-table th{color:#9aa5a5;font-size:8px;font-weight:700;letter-spacing:.45px}.revenue-table td{color:#667475}.revenue-table td:last-child,.revenue-table th:last-child{text-align:right}.revenue-table td strong{color:#344546;font-weight:650}.revenue-table tbody tr:last-child td{border-bottom:0}.revenue-breakdown-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:15px}.revenue-breakdown-panel .panel-heading{margin-bottom:10px}.revenue-breakdown-panel .revenue-table{min-width:320px}.revenue-breakdown-panel .revenue-table-wrap{max-height:300px;overflow-y:auto}.revenue-breakdown-panel .revenue-table thead th{position:sticky;top:0;z-index:1;background:#fff}.revenue-breakdown-panel .revenue-table td:first-child{max-width:165px;overflow:hidden;text-overflow:ellipsis}.revenue-breakdown-panel .empty-message{padding:12px 0 4px}.report-stats{margin-bottom:17px}.report-stats .stat-card{padding-top:17px;padding-bottom:16px}.report-stats .stat-card>strong{font-size:22px}.report-grid{grid-template-columns:minmax(0,1.5fr) minmax(250px,.75fr)}.report-collection .activity-table{min-width:480px}.report-collection{overflow:hidden}.report-collection>.panel-heading{padding:0 0 1px}.report-collection .activity-table th:first-child,.report-collection .activity-table td:first-child{padding-left:0}.report-collection .activity-table th:last-child,.report-collection .activity-table td:last-child{padding-right:0}.chart-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;background:#eaf6f0;color:#328b6c}.analysis-row{margin:17px 0}.analysis-row>div:first-child{display:flex;justify-content:space-between;margin-bottom:8px;color:#829091;font-size:9px}.analysis-row strong{color:#586666;font-size:9px;font-weight:600}.analysis-track{height:6px}.analysis-fill{display:block;height:100%;border-radius:inherit;background:#4aa984}.fill-1{background:#8c79c7}.fill-2{background:#e4a34f}.fill-3{background:#6b95c1}.analysis-foot{display:flex;justify-content:space-between;margin-top:23px;padding-top:12px;border-top:1px solid #edf0f0;color:#9aa4a4;font-size:8px}.analysis-foot>span:last-child{display:flex;align-items:center;gap:4px;color:#368868}.empty-message{padding:14px 0;color:#9aa4a4;font-size:10px;text-align:center}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;overflow-y:auto;place-items:center;padding:24px;background:#17262561;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog{width:min(100%,470px);max-height:min(90vh,850px);overflow-y:auto;padding:22px 23px 20px;border:1px solid #e7eded;border-radius:13px;background:#fff;box-shadow:0 22px 70px #1d312f33}.dialog.test-master-dialog{width:min(100%,900px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:19px}.dialog-heading .eyebrow{font-size:8px}.dialog-heading h2{margin:5px 0 0;color:#2e4041;font-size:19px;font-weight:650;letter-spacing:-.4px}.dialog-form{display:flex;flex-direction:column;gap:13px}.dialog-form label{display:flex;flex:1;flex-direction:column;gap:6px;color:#596869;font-size:10px;font-weight:600}.dialog-form input,.dialog-form select{width:100%;min-width:0;height:38px;padding:0 10px;border:1px solid #e4e9e9;border-radius:6px;outline:none;background:#fff;color:#344445;font-size:11px;font-weight:400}.dialog-form input::placeholder{color:#adb6b6}.form-row{display:flex;gap:12px}.test-master-fields{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(110px,.55fr);gap:12px}.test-master-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.test-parameter-editor{min-width:0;display:flex;flex-direction:column;gap:9px;padding:11px;border:1px solid #e4e9e9;border-radius:7px}.parameter-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.parameter-editor-heading>strong{color:#596869;font-size:10px}.parameter-editor-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.parameter-draft-list{height:270px;flex:0 0 270px;max-height:270px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.parameter-group-draft{padding-bottom:8px;border-bottom:1px solid #edf0f0}.standalone-parameter-draft{padding-top:8px}.parameter-group-heading{display:flex;flex-direction:column;gap:8px;padding:8px 0}.parameter-group-actions{display:flex;flex-wrap:wrap;gap:7px}.parameter-draft-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,1fr) auto;align-items:end;gap:8px;padding-top:9px;border-top:1px solid #edf0f0}.reagent-draft-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(60px,.6fr) minmax(75px,.8fr) auto;align-items:end;gap:8px;padding-top:9px;border-top:1px solid #edf0f0}.reagent-draft-list{height:210px;flex:0 0 210px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.reagent-draft-row .parameter-remove{grid-column:auto}.reagent-draft-row input[readonly]{background:#f6f8f8;cursor:not-allowed}.parameter-remove{height:38px;white-space:nowrap}.form-intro{margin:-2px 0 2px;color:#859192;font-size:10px;line-height:1.55}.optional-text{color:#9ba5a5;font-size:9px;font-weight:400}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:7px;padding-top:14px;border-top:1px solid #edf0f0}.dialog-actions .button:disabled{cursor:not-allowed;opacity:.55}.test-selection{display:flex;flex-direction:column;gap:5px;max-height:270px;overflow-y:auto;margin:0;padding:8px;border:1px solid #e4e9e9;border-radius:7px}.test-selection legend{padding:0 5px;color:#596869;font-size:10px;font-weight:650}.test-selection legend span{margin-left:6px;color:#849191;font-weight:450}.dialog-form .test-option{display:flex;min-height:49px;flex-direction:row;align-items:center;gap:9px;padding:7px 8px;border-radius:6px;cursor:pointer}.dialog-form .test-option:hover{background:#f6faf8}.dialog-form .test-option input{width:15px;height:15px;flex:0 0 auto;margin:0;accent-color:var(--accent)}.test-option>span{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.test-option strong{overflow:hidden;color:#465455;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.test-option small,.test-option b{color:#929e9e;font-size:9px;font-weight:450}.test-option b{color:#4a7867;white-space:nowrap}.parameter-result-inputs{display:flex;min-width:140px;flex-direction:column;gap:7px}.parameter-result-inputs label{display:flex;flex-direction:column;gap:3px;color:#899596;font-size:8px}.parameter-result-entry{display:flex;flex-direction:column;gap:3px}.parameter-group-label{display:block;margin-bottom:2px;color:#4a7867;font-size:9px;font-weight:700}.report-generator-panel{overflow:hidden}.report-generator-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:17px 18px;border-bottom:1px solid #edf0f0}.patient-picker{display:flex;width:min(100%,360px);flex-direction:column;gap:6px;color:#657374;font-size:10px;font-weight:600}.patient-picker select{height:37px;padding:0 10px;border:1px solid #e3e9e9;border-radius:6px;outline:0;background:#fff;color:#435253;font-size:11px}.report-table-scroll{overflow-x:auto}.generation-table{width:100%;min-width:820px;border-collapse:collapse;text-align:left}.generation-table th,.generation-table td{padding:11px 12px;border-bottom:1px solid #edf0f0;color:#677576;font-size:10px}.generation-table th{color:#96a1a1;font-size:8px;font-weight:700;letter-spacing:.55px}.generation-table td[rowspan]{vertical-align:top}.generation-test-name{display:flex;min-width:160px;flex-direction:column;gap:6px}.generation-test-name strong{color:#405051;font-size:10px;font-weight:650;white-space:normal}.generation-test-name small{color:#98a2a3;font-size:8px}.print-action{display:flex;align-items:center;gap:8px}.printed-indicator{display:inline-grid;width:23px;height:23px;flex:0 0 auto;place-items:center;border-radius:50%;background:#e8f6f0;color:#258d6d}.generation-result-input{width:110px;height:30px}.report-generator-panel>.table-footer{border-top:1px solid #edf0f0}.report-empty-state{display:flex;min-height:205px;flex-direction:column;align-items:center;justify-content:center;padding:25px;text-align:center}.report-empty-state .stat-icon{margin-bottom:12px}.report-empty-state strong{color:#4c5c5d;font-size:12px}.report-empty-state p{margin:6px 0 0;color:#919d9d;font-size:10px}.report-dialog{width:min(100%,760px)}.report-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:-5px 0 16px}.report-share-recipient{display:grid;grid-template-columns:auto minmax(145px,1fr);flex:1 1 230px;align-items:center;gap:5px 8px;color:#596869;font-size:10px;font-weight:600}.report-share-recipient input{width:100%;min-width:0;height:34px;padding:0 9px;border:1px solid #e4e9e9;border-radius:6px;outline:none;color:#344445;font-size:11px;font-weight:400}.report-share-recipient input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.report-share-recipient small{grid-column:2;color:#b64b4b;font-size:9px;font-weight:500}.report-toolbar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.report-format-picker{display:grid;gap:4px;color:#647273;font-size:9px;font-weight:650}.report-format-picker select{min-width:130px;height:34px;padding:0 8px;border:1px solid #e1e8e7;border-radius:6px;background:#fff;color:#39494a;font:inherit}@media (max-width: 640px){.report-toolbar-actions{width:100%}.report-toolbar-actions .button{flex:1 1 auto}.lab-settings-panel{padding:16px}.lab-settings-grid,.lab-settings-assets{grid-template-columns:1fr}.lab-settings-wide{grid-column:auto}.lab-report-header{min-height:115px;gap:12px;padding:12px 0}.lab-report-logo{width:64px;height:64px;flex-basis:64px}.lab-report-heading h2{font-size:15px}}.printable-report{padding:24px;border:1px solid #e8eded;border-radius:8px;color:#334344;font-family:Arial,Helvetica,sans-serif}.lab-report-header{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:18px;min-height:0;padding:14px 10px;border-bottom:2px solid var(--accent);text-align:center}.lab-report-logo{width:64px;height:64px;flex:0 0 64px;object-fit:contain}.lab-report-heading{flex:1 1 auto;min-width:0;text-align:center}.lab-report-heading h2{margin:0 0 6px;color:#304142;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:700;letter-spacing:.45px}.lab-report-heading p{margin:3px 0;color:#657273;font-size:11px;line-height:1.5;white-space:pre-line}.lab-report-heading>strong{display:block;margin-top:6px;color:#526262;font-size:10px;letter-spacing:1.1px}.lab-report-header .brand-mark{width:52px;height:52px}.lab-report-header .brand-mark svg{width:26px;height:26px}.lab-report-footer{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;gap:12px;min-height:68px;margin-top:16px;padding:8px 0 0;border-top:1px solid #dfe6e5;color:#465555;font-size:9px;text-align:center}.lab-report-footer>div{display:flex;min-width:0;flex-direction:column;align-items:center;gap:4px}.lab-report-footer small{color:#879392;font-size:7px;font-weight:700;letter-spacing:.4px;text-transform:uppercase}.lab-report-signature img{width:115px;height:38px;object-fit:contain}.lab-report-signature strong{font-size:9px}.lab-settings-panel{padding:24px}.lab-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lab-settings-grid label{display:grid;gap:6px;color:#59696a;font-size:10px;font-weight:650}.lab-settings-grid input,.lab-settings-grid textarea{width:100%;min-width:0;padding:10px;border:1px solid #e1e8e7;border-radius:7px;outline:none;color:#354546;font:inherit;font-weight:400}.lab-settings-grid input:focus,.lab-settings-grid textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.lab-settings-grid textarea{resize:vertical}.lab-settings-wide{grid-column:1 / -1}.lab-settings-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.lab-settings-asset{display:flex;min-height:105px;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #e6ebeb;border-radius:8px}.lab-settings-asset strong{color:#405151;font-size:11px}.lab-settings-asset p{margin:4px 0 0;color:#849090;font-size:9px}.lab-image-upload{position:relative;overflow:hidden}.lab-image-upload input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.lab-image-preview,.lab-signature-preview{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding-top:8px;border-top:1px solid #edf0f0}.lab-image-preview img{width:72px;height:56px;object-fit:contain}.lab-signature-preview img{width:150px;height:48px;object-fit:contain}.lab-settings-error{margin:14px 0 0;color:#b64b4b;font-size:10px}.lab-settings-actions{display:flex;justify-content:flex-end;margin-top:20px}.report-brand{display:flex;flex-direction:column;align-items:center;gap:9px;padding-bottom:17px;border-bottom:2px solid var(--accent);text-align:center}.report-brand .brand-mark{width:34px;height:34px}.report-brand>div{display:flex;flex-direction:column;align-items:center;gap:2px}.report-brand strong{color:#304142;font-size:12px;letter-spacing:.7px}.report-brand small{color:#8a9696;font-size:8px;letter-spacing:1px}.report-patient-info{display:grid;grid-template-columns:repeat(3,1fr);gap:15px 12px;padding:17px 0;border-bottom:1px solid #edf0f0}.report-patient-info>div{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}.report-patient-info small{color:#97a2a2;font-size:8px;font-weight:700;letter-spacing:.6px}.report-patient-info strong{color:#465555;font-size:10px;font-weight:600}.report-test-section{break-inside:auto;page-break-inside:auto}.report-test-title{margin:17px 0 7px;color:#334748;font-family:Georgia,Times New Roman,serif;font-size:16px;font-weight:700;text-align:center;break-after:avoid;page-break-after:avoid}.report-results-table{width:100%;min-width:600px;margin:0 0 16px;border-collapse:collapse;text-align:left}.report-results-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.report-results-table th,.report-results-table td{padding:10px 9px;border-bottom:1px solid #edf0f0;color:#697676;font-size:11px}.report-results-table th{background:#f5f8f7;color:#8d9999;font-size:9px;letter-spacing:.5px;text-transform:uppercase}.report-results-table th:nth-child(2),.report-results-table th:nth-child(3),.report-results-table td:nth-child(2),.report-results-table td:nth-child(3){text-align:center}.report-results-table tr{break-inside:avoid;page-break-inside:avoid}.report-results-table td strong{color:#405151}.ai-interpretation{margin:16px 0 0;padding:12px;border:1px solid #e4eee9;border-radius:8px;background:#f9fcfa}.ai-interpretation-heading,.ai-controls{display:flex;align-items:center;gap:9px}.ai-interpretation-heading{justify-content:space-between}.ai-interpretation-heading>div:first-child{display:flex;flex-direction:column;gap:5px}.ai-interpretation-heading>div:first-child strong{display:flex;align-items:center;gap:6px;color:#477461;font-size:10px}.ai-interpretation-heading>div:first-child small,.ai-status{color:#879592;font-size:8px}.ai-controls label{color:#74817e;font-size:8px}.ai-controls select{height:29px;padding:0 7px;border:1px solid #dfe9e4;border-radius:5px;background:#fff;color:#4c5e59;font-size:9px}.ai-controls .button:disabled{cursor:wait;opacity:.65}.ai-status{margin:10px 0 0;line-height:1.5}.ai-error{margin:11px 0 0;color:#a64b3c;font-size:9px;line-height:1.55}.ai-interpretation-result{margin-top:11px;padding-top:10px;border-top:1px solid #e7efeb}.ai-interpretation-result>span{color:#8a9692;font-size:8px}.ai-interpretation-result p{margin:7px 0 0;color:#566661;font-size:10px;line-height:1.7;white-space:pre-wrap}.ai-disclaimer{display:flex;gap:10px;margin-top:17px;padding:11px;border:1px solid #e6f0eb;border-radius:7px;background:#f7fbf9;color:#39836b}.ai-disclaimer>span{padding-top:2px}.ai-disclaimer p{margin:0;color:#7c8e87;font-size:9px;line-height:1.55}.ai-disclaimer strong{color:#477461}.report-signoff{display:flex;justify-content:space-between;gap:12px;margin-top:34px;color:#768382;font-size:9px}.report-footer-note{margin:19px 0 0;color:#a0aaaa;font-size:8px;text-align:center}.toast-message{position:fixed;right:24px;bottom:23px;z-index:30;display:flex;align-items:center;gap:8px;padding:11px 15px;border:1px solid #d5e9df;border-radius:8px;background:#fff;color:#477965;box-shadow:0 6px 25px #1c3f311f;font-size:11px;animation:toast-in .18s ease-out}@keyframes toast-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 1180px){.sidebar{width:222px}.main-panel{margin-left:222px}.topbar,.page-content{padding-right:27px;padding-left:27px}.stats-grid{gap:10px}.stat-card{padding-right:13px;padding-left:13px}.quick-actions{grid-template-columns:1fr;margin-top:10px}.quick-actions button{padding:7px 9px}.quick-icon{width:28px;height:28px}}@media (max-width: 920px){.sidebar{width:72px;align-items:center;padding:18px 9px 12px}.brand{margin:0 0 34px}.brand-copy,.workspace-label,.nav-item>span,.profile-copy,.profile-more{display:none}.side-nav{width:100%;align-items:center}.nav-item{width:46px;justify-content:center;padding:0}.nav-separator{width:80%}.profile-button{justify-content:center;padding-top:13px}.main-panel{margin-left:72px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.lower-grid,.report-grid{grid-template-columns:minmax(0,1fr)}.revenue-breakdown-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-actions button{padding:10px 9px}}@media (max-width: 640px){.sidebar{top:auto;right:0;bottom:0;left:0;width:100%;height:calc(68px + env(safe-area-inset-bottom));min-height:0;flex-direction:row;align-items:center;padding:4px 6px env(safe-area-inset-bottom);box-sizing:border-box;border-top:1px solid #e9edf0;border-right:0}.brand,.workspace-label,.sidebar-bottom,.nav-separator{display:none}.side-nav{width:100%;height:100%;flex-direction:row;align-items:center;gap:2px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}.side-nav::-webkit-scrollbar{display:none}.nav-item{width:auto;min-width:44px;max-width:76px;min-height:56px;flex:1 0 44px;flex-direction:column;justify-content:center;gap:3px;padding:4px 2px}.nav-item>span:nth-child(2){display:-webkit-box;overflow:hidden;flex:0 1 auto;max-width:100%;font-size:8.5px;line-height:1.1;text-align:center;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.nav-item .nav-count{display:none}.main-panel{min-width:0;margin-left:0}.topbar{height:auto;min-height:54px;flex-wrap:wrap;gap:6px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px}.breadcrumbs{min-width:0;flex:1 1 100%;gap:5px;font-size:10px}.breadcrumbs strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{width:100%;justify-content:space-between;gap:6px}.ui-language-picker{gap:0}.ui-language-picker span{display:none}.ui-language-picker select{min-width:76px;height:32px;padding:0 4px;font-size:10px}.global-search{width:auto;min-width:0;height:34px;flex:1;justify-content:flex-start;padding:0 9px}.global-search input{display:block;font-size:10px}.global-search kbd,.topbar-divider,.today-date{display:none}.page-content{padding:18px 12px calc(86px + env(safe-area-inset-bottom))}.page-heading{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:21px}.page-heading>.button{width:auto;min-width:0;min-height:40px;padding:0 13px;font-size:11px}.page-heading>.button svg{width:17px;height:17px}.page-heading h1{font-size:25px}.page-heading p{max-width:100%;font-size:11px;line-height:1.45}.eyebrow{font-size:8px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.revenue-category-toolbar{align-items:stretch;flex-direction:column;gap:10px}.revenue-category-toolbar .revenue-category-tabs{overflow-x:auto}.revenue-name-search{width:100%;flex:0 0 auto}.revenue-date-control{width:100%}.revenue-filter-controls{width:100%;flex-wrap:wrap}.revenue-filter-controls>.revenue-date-control,.revenue-filter-controls>.revenue-date-range{flex:1 1 100%}.revenue-date-range{width:100%}.revenue-date-range .revenue-date-control{min-width:0;flex:1}.revenue-date-control input{width:100%;box-sizing:border-box}.revenue-breakdown-grid{grid-template-columns:minmax(0,1fr)}.revenue-daily-panel,.revenue-breakdown-panel{padding:14px 12px 12px}.stat-card{min-width:0;padding:11px 9px}.stat-card>strong{font-size:clamp(17px,5vw,20px)}.stat-card>small{min-height:12px;font-size:9px}.stat-top{margin-bottom:9px}.dashboard-grid{gap:11px;margin-bottom:11px}.activity-panel,.chart-panel,.quick-panel,.completion-panel,.report-collection,.analysis-panel{padding:14px 12px 12px}.activity-panel,.report-collection{overflow-x:auto}.activity-table{min-width:460px}.quick-actions{grid-template-columns:1fr}.quick-actions button{padding:8px 9px}.patient-summary-row,.result-cards{gap:7px}.patient-summary-row,.result-cards:not(.attendance-summary){grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-summary{flex-direction:column;align-items:flex-start;gap:6px;padding:10px}.patient-summary .stat-icon{width:28px;height:28px}.patient-summary small{font-size:8px}.result-card{flex-direction:column;align-items:flex-start;gap:4px;padding:9px;font-size:8px}.result-number{font-size:17px}.tab-bar{overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.tab-bar button{padding-right:9px;padding-left:9px;font-size:10px;white-space:nowrap}.list-toolbar{flex-direction:column;align-items:flex-start;gap:10px;padding:13px 12px 10px}.result-list-controls{width:100%;flex-wrap:wrap}.table-search{width:auto;min-width:120px;flex:1;justify-content:flex-start;padding:0 9px}.table-search input{display:block;font-size:11px}.list-panel{overflow-x:auto;-webkit-overflow-scrolling:touch}.table-footer{align-items:flex-start;flex-direction:column;padding:10px 12px;font-size:9px}.report-generator-toolbar{align-items:stretch;flex-direction:column;padding:14px 12px}.patient-picker{width:100%}.report-generator-toolbar>.button{align-self:flex-start}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.report-dialog{padding:17px 13px}.printable-report{padding:13px 10px}.report-patient-info{grid-template-columns:repeat(2,1fr);gap:12px 8px}.report-results-table{min-width:490px}.report-signoff{flex-direction:column;gap:8px}.form-row{gap:8px}.test-master-fields{grid-template-columns:1fr;gap:10px}.test-master-sections{grid-template-columns:1fr}.parameter-draft-row{grid-template-columns:repeat(2,minmax(0,1fr))}.parameter-draft-list{height:590px;flex-basis:590px;max-height:590px}.parameter-draft-row label:first-child,.parameter-remove{grid-column:1 / -1}.dialog-backdrop{align-items:end;padding:8px 8px calc(8px + env(safe-area-inset-bottom));overscroll-behavior:contain}.dialog{width:100%;max-height:92vh;max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));padding:19px 16px calc(15px + env(safe-area-inset-bottom));border-radius:13px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.ai-interpretation-heading{align-items:stretch;flex-direction:column;gap:10px}.ai-controls{flex-wrap:wrap}.ai-controls .button{min-height:36px}.form-row{flex-direction:column}}@media screen{.app-shell[data-mode=dark]{--accent-soft: #17372e;--accent-border: #315b4c;color-scheme:dark;background:#111918;color:#d7e1de}.app-shell[data-mode=dark][data-accent=blue]{--accent-soft: #172f46;--accent-border: #31516d}.app-shell[data-mode=dark][data-accent=violet]{--accent-soft: #29233d;--accent-border: #514572}.app-shell[data-mode=dark][data-accent=rose]{--accent-soft: #3a2229;--accent-border: #70404b}.app-shell[data-mode=dark] :is(.sidebar,.topbar,.panel,.stat-card,.dialog,.printable-report,.patient-summary,.result-card,.quick-actions button,.report-generator-panel,.attendance-login-card,.appearance-panel){border-color:#34413f;background:#1b2624}.app-shell[data-mode=dark] .topbar{background:#1b2624f5}.app-shell[data-mode=dark] .completion-note{background:#202c2a}.app-shell[data-mode=dark] :is(.global-search,.table-search,.icon-button,.ui-language-picker select,.appearance-mode-picker select,.revenue-date-control input,.patient-picker select,.status-filter select,.attendance-date-picker input,.dialog-form input,.dialog-form select,.result-input,.generation-result-input){border-color:#3a4946;background:#15201e;color:#d7e1de}.app-shell[data-mode=dark] :is(.breadcrumbs strong,h1,h2,h3,strong,th,td,label,.today-date,.nav-item:not(.active),.button-outline,.tab-bar button,.report-period-tabs button,.appearance-panel,.appearance-panel-heading strong,.appearance-mode-picker,.appearance-theme-picker>span,.theme-choice){color:#d7e1de}.app-shell[data-mode=dark] :is(.page-heading p,.panel-heading p,.stat-label,.stat-card>small,.quick-actions small,.profile-copy small,.table-footer,.demo-notice,.attendance-security-note,.form-intro,.appearance-panel-heading small,.report-footer-note,.revenue-range-label){color:#9eadaa}.app-shell[data-mode=dark] .button-primary{border-color:transparent;background:var(--accent);color:#fff}.app-shell[data-mode=dark] .button-primary:hover{background:var(--accent-hover)}.app-shell[data-mode=dark] :is(.nav-item.active,.button-outline:hover,.icon-button:hover,.appearance-menu[open] .appearance-trigger,.theme-choice.selected){border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent)}.app-shell[data-mode=dark] .status-complete{border-color:#315b4c;background:#17372e;color:#83d6ae}.app-shell[data-mode=dark] .status-pending{border-color:#62502e;background:#362d1d;color:#e6bd68}.app-shell[data-mode=dark] .dialog-backdrop{background:#050b0ab8}.app-shell :is(button,input,select):focus-visible{outline-color:var(--accent)}}.store-expenditure-main{display:flex;height:100vh;flex-direction:column;overflow:hidden}.store-expenditure-main .page-content{display:flex;width:100%;max-width:1600px;min-height:0;flex:1;flex-direction:column;overflow:hidden;box-sizing:border-box;margin:0 auto;padding-top:18px;padding-bottom:18px}.store-expenditure-page{display:flex;min-width:0;min-height:0;flex:1;flex-direction:column;overflow:hidden}.store-view-toggle{display:inline-flex;gap:4px;margin-bottom:15px;padding:4px;border:1px solid #e7ecec;border-radius:8px;background:#f6f8f8}.store-view-toggle button{min-height:34px;padding:0 15px;border:0;border-radius:6px;background:transparent;color:#748182;font-size:11px;font-weight:600}.store-view-toggle button.selected{background:#fff;color:var(--accent);box-shadow:0 1px 3px #1d302f1a}.store-panel{display:flex;min-height:0;width:100%;max-height:100%;flex:0 1 auto;flex-direction:column;box-sizing:border-box;overflow:hidden}.store-mobile-card-list,.store-mobile-bill-list{display:none}.store-toolbar-actions,.store-row-actions{display:flex;align-items:center;gap:8px}.store-low-filter{display:inline-flex;align-items:center;gap:6px;color:#6f7d7e;font-size:10px;white-space:nowrap}.store-low-filter input{accent-color:var(--accent)}.store-table-scroll{min-height:0;width:100%;max-height:100%;flex:0 1 auto;box-sizing:border-box;overflow:auto;border-top:1px solid #edf0f0;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.store-table{width:100%;min-width:800px;border-collapse:separate;border-spacing:0;text-align:left}.store-inventory-table,.store-bills-table{min-width:1180px}.store-remove-button{color:#a63f3f}.store-table th{position:sticky;top:0;z-index:3;padding:11px 10px;border-bottom:1px solid #e9eeee;background:#fbfcfc;color:#899596;font-size:9px;font-weight:700;letter-spacing:.35px;white-space:nowrap}.store-table td{padding:11px 10px;border-bottom:1px solid #f0f2f2;background:#fff;color:#667475;font-size:10px;white-space:nowrap}.store-table tbody tr:last-child td{border-bottom:0}.store-table tbody td strong{color:#465455;font-weight:620}.store-table .store-low-row td{background:#fffaf3}.store-stock-badge{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:12px;font-size:9px;font-weight:650}.store-stock-badge.is-ok{background:#eaf5ef;color:#28714f}.store-stock-badge.is-low{background:#fff0dc;color:#a56816}.store-table-total{position:sticky;bottom:0;z-index:4}.store-table-total td{position:sticky;bottom:0;z-index:4;border-top:1px solid #dfe7e5;border-bottom:0;background:#f6faf8;color:#536365;font-weight:700;box-shadow:0 -3px 6px #1d302f0a}.store-bill-filters{display:flex;align-items:end;flex-wrap:wrap;gap:9px;padding:0 17px 13px}.store-bill-filters label{display:flex;min-width:115px;flex:1 1 130px;flex-direction:column;gap:5px;color:#788687;font-size:9px;font-weight:600}.store-bill-filters input,.store-bill-filters select{width:100%;min-width:0;height:33px;padding:0 8px;border:1px solid #e4e9e9;border-radius:6px;background:#fff;color:#465455;font-size:10px}.store-group-row td{padding:0;background:#f8faf9}.store-group-toggle{display:flex;width:100%;min-height:38px;align-items:center;gap:9px;padding:0 11px;border:0;background:transparent;color:#425455;font-size:10px;font-weight:650;text-align:left}.store-group-toggle>span{color:var(--accent);font-size:15px}.store-group-toggle small{color:#899596;font-size:9px;font-weight:400}.store-group-subtotal td{background:#fbfcfc;color:#536365;font-weight:650}.store-payment-status{display:inline-flex;min-height:22px;align-items:center;padding:0 8px;border-radius:12px;font-size:9px;font-weight:650;white-space:nowrap}.store-payment-status.paid{background:#eaf5ef;color:#28714f}.store-payment-status.partially-paid{background:#fff3df;color:#96651d}.store-payment-status.unpaid{background:#fff0ed;color:#a6463c}.store-payment-balance{display:flex;align-items:center;justify-content:space-between;color:#788687;font-size:11px}.store-payment-balance strong{color:#a6463c;font-size:14px}.store-bill-dialog{width:min(100%,720px)}.store-bill-heading,.store-bill-totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-bill-heading{margin-bottom:18px}.store-bill-heading h3,.store-printable-bill h4{margin:0;color:#344546}.store-bill-heading h3{font-size:18px}.store-bill-heading p{margin:5px 0 0;color:#899596;font-size:10px}.store-bill-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px;padding:14px;border:1px solid #e9eeee;border-radius:8px;background:#f9fbfa}.store-bill-summary dt,.store-bill-totals dt{color:#7d8a8b;font-size:10px}.store-bill-summary dd,.store-bill-totals dd{margin:4px 0 0;color:#3f4e4f;font-size:12px;font-weight:600}.store-printable-bill h4{margin-bottom:9px;font-size:12px}.store-bill-history{width:100%;border-collapse:collapse}.store-bill-history th,.store-bill-history td{padding:9px 8px;border-bottom:1px solid #edf0f0;color:#596869;font-size:10px;text-align:left}.store-bill-history th{background:#f6f9f8;color:#788687;font-size:9px}.store-bill-history td:last-child,.store-bill-history th:last-child{text-align:right}.store-no-payments{margin:0;padding:12px;border-radius:6px;background:#f8f9f9;color:#7d8a8b;font-size:10px}.store-bill-totals{display:grid;gap:8px;max-width:280px;margin:16px 0 0 auto;padding-top:12px;border-top:1px solid #e9eeee}.store-bill-totals>div{align-items:baseline}.store-bill-totals dd{margin:0;text-align:right}.store-form-error{margin:0;color:#a33a32;font-size:10px}.store-cost-preview{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border:1px solid #e5eeea;border-radius:7px;background:#f5faf7;color:#637273;font-size:11px}.store-cost-preview strong{color:#286b50;font-size:14px}.app-shell[data-mode=dark] .store-view-toggle,.app-shell[data-mode=dark] .store-bill-filters input,.app-shell[data-mode=dark] .store-bill-filters select,.app-shell[data-mode=dark] .store-table td{border-color:#394747;background:#202c2c;color:#d3dddd}.app-shell[data-mode=dark] .store-view-toggle button.selected,.app-shell[data-mode=dark] .store-table-total td{background:#2a3937}.app-shell[data-mode=dark] .store-table th,.app-shell[data-mode=dark] .store-group-row td,.app-shell[data-mode=dark] .store-group-subtotal td{border-color:#394747;background:#263232;color:#aebbbb}.app-shell[data-mode=dark] .store-table .store-low-row td{background:#362f24}.app-shell[data-mode=dark] .store-cost-preview{border-color:#394747;background:#263232}.app-shell[data-mode=dark] .store-payment-status.paid{background:#17372e;color:#83d6ae}.app-shell[data-mode=dark] .store-payment-status.partially-paid{background:#362d1d;color:#e6bd68}.app-shell[data-mode=dark] .store-payment-status.unpaid{background:#3a2726;color:#e48d82}@media (max-width: 920px){.side-nav{max-height:calc(100vh - 145px)}.store-toolbar-actions{flex-wrap:wrap}}@media (max-width: 640px){.store-expenditure-main .page-content{padding-right:12px;padding-bottom:calc(86px + env(safe-area-inset-bottom));padding-left:12px}.side-nav{max-height:none}.store-toolbar-actions{width:100%;align-items:stretch}.store-toolbar-actions .table-search{flex:1 1 100%}.store-toolbar-actions>.button{flex:1}.store-bill-filters{padding-right:12px;padding-left:12px}.store-bill-filters label{flex-basis:calc(50% - 9px)}}@media (max-width: 760px){body:has(.store-expenditure-main){min-width:0}.app-shell:has(.store-expenditure-main){width:100%;max-width:100%;min-width:0}#root:has(.store-expenditure-main){width:100vw;max-width:100vw;min-width:0}.store-expenditure-main{max-width:100%;height:100vh;height:100dvh;min-height:0}.store-expenditure-main .page-content{width:100%;max-width:none;min-height:0;margin:0;padding:10px 10px calc(78px + env(safe-area-inset-bottom))}.store-expenditure-main .topbar{width:100%;min-width:0;box-sizing:border-box}.store-expenditure-main .topbar-actions{min-width:0;flex-wrap:wrap}.store-expenditure-main .global-search{min-width:0;flex:1 1 120px}.store-expenditure-page{gap:0}.store-view-toggle{width:100%;align-self:stretch;margin-bottom:10px}.store-view-toggle button{min-height:40px;flex:1;font-size:12px}.store-panel .list-toolbar{align-items:stretch;gap:12px;padding:14px 13px 12px}.store-panel .list-toolbar h2{font-size:15px}.store-panel .list-toolbar p{font-size:11px}.store-toolbar-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%}.store-toolbar-actions .table-search{grid-column:1 / -1;width:auto;min-width:0;min-height:40px}.store-toolbar-actions .table-search input{min-width:0}.store-low-filter{min-height:40px;font-size:11px}.store-toolbar-actions>.button{min-height:40px;padding:0 11px;font-size:11px}.store-table-scroll{display:none}.store-mobile-card-list,.store-mobile-bill-list{display:flex;min-height:0;max-height:100%;flex:0 1 auto;flex-direction:column;gap:9px;overflow:auto;padding:0 10px 10px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.store-mobile-item-card,.store-mobile-bill-card,.store-mobile-bill-group{min-width:0;padding:12px;border:1px solid #e8eeee;border-radius:9px;background:#fff;box-shadow:0 2px 6px #1d302f09}.store-mobile-item-card.is-low{border-left:3px solid #dda752}.store-mobile-item-heading,.store-mobile-bill-heading{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:8px}.store-mobile-item-heading>div,.store-mobile-bill-heading>div{min-width:0}.store-mobile-item-heading h3,.store-mobile-bill-heading h3{overflow-wrap:anywhere;margin:0;color:#344546;font-size:14px;font-weight:650}.store-mobile-item-heading>div>span,.store-mobile-bill-heading>div>span{display:block;margin-top:4px;color:#869293;font-size:10px;line-height:1.4}.store-mobile-item-stats,.store-mobile-bill-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px;padding:10px 0;border-top:1px solid #edf1f0;border-bottom:1px solid #edf1f0}.store-mobile-item-stats>div,.store-mobile-bill-stats>div{display:flex;min-width:0;flex-direction:column;gap:4px}.store-mobile-item-stats span,.store-mobile-bill-stats span,.store-mobile-bill-quantity span{color:#869293;font-size:10px}.store-mobile-item-stats strong,.store-mobile-bill-stats strong{overflow-wrap:anywhere;color:#3e4f50;font-size:12px;font-weight:650}.store-mobile-item-actions,.store-mobile-bill-actions{display:flex;gap:7px;margin-top:10px}.store-mobile-item-actions .button,.store-mobile-bill-actions .button{min-width:0;min-height:38px;flex:1;justify-content:center;padding:0 6px;font-size:11px}.store-mobile-list-total{position:sticky;bottom:0;z-index:2;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;margin-top:auto;padding:12px;border:1px solid #dfe9e5;border-radius:9px;background:#f5faf7;box-shadow:0 -3px 10px #1d302f0f}.store-mobile-list-total>span{color:#607071;font-size:10px;font-weight:600}.store-mobile-list-total>strong{color:#286b50;font-size:14px}.store-mobile-list-total>small{width:100%;color:#7d8a8b;font-size:9px}.store-mobile-empty{margin:0;padding:18px 10px;color:#7d8a8b;font-size:11px;text-align:center}.store-bill-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:8px;padding:0 12px 12px}.store-bill-filters label{min-width:0;flex:initial;gap:5px;font-size:10px}.store-bill-filters input,.store-bill-filters select{height:40px;padding:0 7px;font-size:12px}.store-bill-filters>.button{min-height:40px;grid-column:1 / -1;justify-content:center;font-size:11px}.store-mobile-bill-group{display:flex;flex-direction:column;gap:8px;padding:8px;background:#f7faf8}.store-mobile-group-toggle{display:flex;min-height:38px;align-items:center;gap:8px;padding:0 4px;border:0;background:transparent;color:#405253;font-size:12px;font-weight:650;text-align:left}.store-mobile-group-toggle small{margin-left:auto;color:#869293;font-size:9px;font-weight:400}.store-mobile-bill-card{padding:11px}.store-mobile-bill-heading{align-items:center}.store-mobile-bill-heading .store-payment-status{flex:0 0 auto}.store-mobile-bill-quantity{display:flex;justify-content:space-between;gap:8px;margin-top:9px;color:#3e4f50;font-size:10px}.store-mobile-bill-quantity strong{font-weight:600;text-align:right}.store-mobile-bill-stats{margin-top:9px;padding:9px 0}.store-mobile-bill-actions .button{min-height:40px;font-size:10px}.store-mobile-group-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 8px;padding:8px 4px 2px;border-top:1px solid #e5ece8;color:#667475;font-size:10px}.store-mobile-group-total strong{color:#344546}.store-mobile-group-total small{width:100%;color:#869293;font-size:9px}.app-shell[data-mode=dark] .store-mobile-item-card,.app-shell[data-mode=dark] .store-mobile-bill-card{border-color:#394747;background:#1b2624}.app-shell[data-mode=dark] .store-mobile-bill-group{border-color:#394747;background:#202c2a}.app-shell[data-mode=dark] :is(.store-mobile-item-heading h3,.store-mobile-bill-heading h3,.store-mobile-item-stats strong,.store-mobile-bill-stats strong,.store-mobile-bill-quantity strong,.store-mobile-group-toggle,.store-mobile-group-total strong){color:#d7e1de}.app-shell[data-mode=dark] .store-mobile-list-total{border-color:#394747;background:#263232}}@media print{body{background:#fff}.sidebar,.topbar,.page-content,.dialog-heading,.report-toolbar,.toast-message{display:none!important}.dialog-backdrop{position:static;display:block;padding:0;background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}.app-shell:has(.report-dialog){display:block;min-height:0}.app-shell:has(.report-dialog)>.main-panel{display:none!important}.dialog.report-dialog,.dialog.store-bill-dialog{display:block;width:100%;max-height:none;overflow:visible;padding:0;border:0;box-shadow:none}.app-shell:has(.store-bill-dialog){grid-template-columns:1fr;min-height:0}.app-shell:has(.store-bill-dialog)>.main-panel{display:none!important}.store-bill-print-actions{display:none!important}.store-bill-summary{background:#fff}.ai-controls{display:none}.printable-report{padding:0;border:0}.report-results-scroll{overflow:visible!important}.report-results-table{width:100%;min-width:0;table-layout:fixed}.report-results-table th:first-child,.report-results-table td:first-child{width:48%}.report-results-table th:nth-child(2),.report-results-table td:nth-child(2){width:22%}.report-results-table th:nth-child(3),.report-results-table td:nth-child(3){width:30%}.report-results-table th,.report-results-table td{padding:8px 6px;overflow-wrap:anywhere;font-size:10px}.report-results-table th{font-size:9px}.printable-report.has-lab-header .lab-report-header{position:static;flex-direction:row;align-items:center;justify-content:center;gap:14px;min-height:0;padding:8px 0 10px;break-inside:avoid;page-break-inside:avoid}.printable-report.has-lab-header .lab-report-logo{width:48px;height:48px;flex-basis:48px}.printable-report.has-lab-header .lab-report-heading h2{margin-bottom:4px;font-size:19px}.printable-report.has-lab-header .lab-report-heading p{margin:1px 0;font-size:9px}.printable-report.has-lab-header .lab-report-heading>strong{margin-top:4px;font-size:8px}.report-test-title{font-size:13px}.printable-report.has-lab-header .lab-report-footer{position:fixed;right:0;bottom:0;left:0;min-height:56px;margin:0;padding-top:7px;background:#fff;z-index:1;break-inside:avoid;page-break-inside:avoid}}.billing-page{min-width:0}.billing-heading{align-items:center}.billing-heading .button{flex:0 0 auto}.billing-export-controls{display:flex;align-items:flex-end;gap:10px}.billing-export-controls label{display:flex;flex-direction:column;gap:5px;color:#788687;font-size:9px;font-weight:650}.billing-export-controls input{height:36px;padding:0 9px;border:1px solid #e4e9e9;border-radius:7px;background:#fff;color:#465455;font-size:10px}.billing-detail-header{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:18px}.billing-detail-header h1{margin:4px 0;color:#354546;font-size:24px}.billing-detail-header p{margin:0;color:#829091;font-size:11px}.billing-detail-total{display:flex;align-items:baseline;gap:12px;margin-bottom:18px;padding:15px 17px;border:1px solid #e8eded;border-radius:10px;background:#fff}.billing-detail-total span{color:#7a8889;font-size:10px;font-weight:650}.billing-detail-total strong{color:#354546;font-size:20px}.billing-detail-total small{margin-left:auto;color:#829091;font-size:9px}.billing-detail-groups{display:grid;gap:15px}.billing-detail-group{min-width:0;padding:15px 17px 12px}.billing-detail-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.billing-detail-group-heading h2{margin:0;color:#3e4f50;font-size:13px}.billing-detail-group-heading h2 small{margin-left:7px;color:#899596;font-size:9px;font-weight:400}.billing-detail-group-heading>strong{color:#286b50;font-size:13px;white-space:nowrap}.billing-detail-group .billing-table-wrap{max-height:430px}.billing-day-summary-table{width:100%;min-width:560px;border-collapse:separate;border-spacing:0;text-align:left}.billing-day-summary-table th{position:sticky;top:0;z-index:1;padding:10px 8px;border-bottom:1px solid #e9eeee;background:#fbfcfc;color:#899596;font-size:8px;font-weight:700;text-transform:uppercase}.billing-day-summary-table td{padding:9px 8px;border-bottom:1px solid #f0f2f2;color:#667475;font-size:10px}.billing-day-summary-table td strong{color:#354546}.billing-month-link{padding:3px 0;border:0;background:transparent;color:var(--accent);font-size:10px;font-weight:650;text-align:left;text-decoration:underline;text-underline-offset:2px}.billing-month-link:hover{color:#17684f}.billing-message{margin-bottom:14px;padding:11px 13px;border:1px solid;border-radius:8px;font-size:11px}.billing-error{border-color:#f0c9c5;background:#fff3f1;color:#a33a32}.billing-success{border-color:#cbe8d8;background:#effaf3;color:#28714f}.billing-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.billing-summary-card{display:flex;min-width:0;flex-direction:column;align-items:flex-start;padding:17px;border:1px solid #e8eded;border-radius:12px;background:#fff;box-shadow:0 5px 16px #1e37330d;color:#7a8889;text-align:left;transition:border-color .15s ease,transform .15s ease}.billing-summary-card:hover,.billing-summary-card.selected{transform:translateY(-1px);border-color:var(--accent)}.billing-summary-card>span{font-size:9px;font-weight:700;letter-spacing:.6px;text-transform:uppercase}.billing-summary-card strong{margin-top:7px;color:#354546;font-size:21px}.billing-summary-card small{margin-top:7px;color:#829091;font-size:9px}.billing-qr-panel,.billing-history-panel,.billing-invoice-panel{min-width:0;padding:17px 18px;border:1px solid #e9eeee;border-radius:12px;background:#fff;box-shadow:0 5px 18px #1e37330a}.billing-qr-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.billing-qr-panel h2,.billing-invoice-panel h2{margin:0;color:#3e4f50;font-size:14px}.billing-qr-panel p{margin:6px 0 0;color:#899596;font-size:10px}.billing-qr-controls{display:flex;align-items:center;gap:13px}.billing-qr-preview{display:grid;width:82px;height:82px;flex:0 0 auto;place-items:center;overflow:hidden;border:1px dashed #dce4e3;border-radius:9px;background:#f8faf9;color:#899596;font-size:8px;text-align:center}.billing-qr-preview img{width:100%;height:100%;object-fit:contain}.billing-qr-upload{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.billing-qr-upload input{max-width:240px;color:#728081;font-size:9px}.billing-qr-upload .button:disabled{cursor:not-allowed;opacity:.5}.billing-content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);align-items:start;gap:16px}.billing-history-panel{overflow:hidden;scroll-margin-top:85px}.billing-history-panel .panel-heading{margin-bottom:10px}.billing-history-panel .panel-heading p{margin-top:4px}.billing-table-wrap{max-height:min(68vh,640px);overflow:auto;-webkit-overflow-scrolling:touch}.billing-table{width:100%;min-width:780px;border-collapse:separate;border-spacing:0;text-align:left}.billing-table th{position:sticky;top:0;z-index:1;padding:10px 8px;border-bottom:1px solid #e9eeee;background:#fbfcfc;color:#899596;font-size:8px;font-weight:700;letter-spacing:.4px;text-transform:uppercase}.billing-table td{padding:10px 8px;border-bottom:1px solid #f0f2f2;color:#667475;font-size:10px;vertical-align:middle}.billing-table td:first-child{min-width:120px}.billing-table td:first-child strong,.billing-table td:first-child small,.billing-table td:nth-child(4) small{display:block}.billing-table td:first-child small,.billing-table td:nth-child(4) small{margin-top:4px;color:#899596;font-size:8px}.billing-table td:nth-child(2){max-width:240px;white-space:normal}.billing-row-actions{display:flex;gap:5px}.billing-row-actions .button{min-height:28px;padding:0 8px;font-size:8px}.billing-status{display:inline-flex;min-height:21px;align-items:center;padding:0 8px;border-radius:12px;font-size:8px;font-weight:700}.billing-status.paid{background:#eaf5ef;color:#28714f}.billing-status.unpaid{background:#fff0ed;color:#a6463c}.billing-status-select,.billing-payment-method-select{display:block;min-height:26px;padding:0 7px;border:1px solid #e4e9e9;border-radius:6px;background:#fff;color:#536365;font-size:9px}.billing-status-select.paid{border-color:#cfe7d9;background:#eaf5ef;color:#28714f}.billing-status-select.unpaid{border-color:#f0d0cc;background:#fff0ed;color:#a6463c}.billing-payment-method-select{margin-top:5px}.billing-invoice-panel h2{margin-bottom:15px}.billing-form{display:flex;flex-direction:column;gap:12px}.billing-form>label{display:flex;flex-direction:column;gap:5px;color:#788687;font-size:9px;font-weight:650}.billing-form>label input,.billing-form>label select{width:100%;min-width:0;height:36px;padding:0 9px;border:1px solid #e4e9e9;border-radius:7px;background:#fff;color:#465455;font-size:10px}.billing-form fieldset{min-width:0;margin:0;padding:0;border:0}.billing-form legend{margin-bottom:6px;color:#788687;font-size:9px;font-weight:650}.billing-test-list{max-height:190px;overflow-y:auto;padding:5px 8px;border:1px solid #e4e9e9;border-radius:7px}.billing-test-list label{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 0;border-bottom:1px solid #f0f2f2;color:#536365;font-size:9px}.billing-test-list label:last-of-type{border-bottom:0}.billing-test-list input{margin:0;accent-color:var(--accent)}.billing-test-list strong{color:#536365;font-size:9px}.billing-total-line{display:flex;align-items:center;justify-content:space-between;padding:10px 11px;border:1px solid #e8eded;border-radius:7px;background:#f8faf9;color:#6d7b7c;font-size:10px}.billing-total-line strong{color:#3e4f50}.billing-total-line.final{border-color:#d7e8e0;background:#f1f8f4;color:#286b50}.billing-total-line.final strong{color:#286b50;font-size:15px}.billing-form-note{margin:0;color:#899596;font-size:8px;line-height:1.5;text-align:center}.app-shell[data-mode=dark] .billing-summary-card,.app-shell[data-mode=dark] .billing-qr-panel,.app-shell[data-mode=dark] .billing-history-panel,.app-shell[data-mode=dark] .billing-invoice-panel{border-color:#394747;background:#1b2624}.app-shell[data-mode=dark] .billing-summary-card strong,.app-shell[data-mode=dark] .billing-detail-header h1,.app-shell[data-mode=dark] .billing-detail-total strong,.app-shell[data-mode=dark] .billing-detail-group-heading h2,.app-shell[data-mode=dark] .billing-month-link,.app-shell[data-mode=dark] .billing-qr-panel h2,.app-shell[data-mode=dark] .billing-invoice-panel h2,.app-shell[data-mode=dark] .billing-table td,.app-shell[data-mode=dark] .billing-day-summary-table td,.app-shell[data-mode=dark] .billing-test-list label,.app-shell[data-mode=dark] .billing-total-line strong{color:#d3dddd}.app-shell[data-mode=dark] .billing-table th,.app-shell[data-mode=dark] .billing-day-summary-table th,.app-shell[data-mode=dark] .billing-detail-total,.app-shell[data-mode=dark] .billing-qr-preview,.app-shell[data-mode=dark] .billing-test-list,.app-shell[data-mode=dark] .billing-total-line{border-color:#394747;background:#263232;color:#aebbbb}.app-shell[data-mode=dark] .billing-form>label input,.app-shell[data-mode=dark] .billing-form>label select{border-color:#394747;background:#202c2c;color:#d3dddd}.app-shell[data-mode=dark] .billing-export-controls input,.app-shell[data-mode=dark] .billing-status-select,.app-shell[data-mode=dark] .billing-payment-method-select{border-color:#394747;background:#202c2c;color:#d3dddd}.app-shell[data-mode=dark] .billing-status-select.paid{border-color:#315b4c;background:#17372e;color:#83d6ae}.app-shell[data-mode=dark] .billing-status-select.unpaid{border-color:#5b3733;background:#3a2726;color:#e48d82}.app-shell[data-mode=dark] .billing-total-line.final{border-color:#315b4c;background:#17372e}.app-shell[data-mode=dark] .billing-total-line.final strong{color:#83d6ae}@media (max-width: 920px){.billing-content-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width: 640px){.billing-heading{align-items:flex-start}.billing-export-controls{width:100%}.billing-export-controls label{min-width:0;flex:1}.billing-export-controls input{width:100%;box-sizing:border-box}.billing-summary-grid{grid-template-columns:minmax(0,1fr);gap:9px}.billing-detail-total{flex-wrap:wrap;gap:7px 10px;padding:12px}.billing-detail-total small{flex-basis:100%;margin-left:0}.billing-detail-group{padding:13px 10px}.billing-summary-card{padding:13px}.billing-qr-panel{align-items:flex-start;flex-direction:column;padding:14px 12px}.billing-qr-controls{width:100%;align-items:flex-start}.billing-qr-upload{min-width:0;flex:1}.billing-qr-upload input{max-width:100%;width:100%}.billing-history-panel,.billing-invoice-panel{padding:14px 12px}}.role-login-shell{display:grid;min-height:100vh;background:radial-gradient(circle at 12% 16%,rgba(22,132,102,.1),transparent 28rem),#f7f8fa}.role-login-page{display:grid;min-height:100vh;place-items:center;padding:28px}.role-login-card{width:min(100%,480px);padding:36px;border:1px solid #e8edef;border-radius:18px;background:#fff;box-shadow:0 24px 70px #1b2b2c1a}.role-login-brand{display:flex;align-items:center;gap:11px;margin-bottom:38px}.role-login-card h1{margin:8px 0;color:#1b2b2c;font-size:28px;letter-spacing:-.8px}.role-login-intro,.role-login-notice{color:#718082;font-size:13px;line-height:1.6}.role-login-options{display:grid;gap:11px;margin:25px 0 19px}.role-login-form{display:grid;gap:15px;margin:24px 0 18px}.role-login-form label{display:grid;gap:7px;color:#526365;font-size:13px;font-weight:600}.role-login-form input{width:100%;min-height:42px;padding:9px 11px;border:1px solid #dfe6e7;border-radius:8px;background:#fff;color:#263638;font:inherit}.role-login-error{margin:0;color:#b42318;font-size:13px}.role-login-collector-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid #e5ebec;border-radius:11px;background:#f8faf9}.role-login-collector-form label{display:grid;gap:7px;color:#657476;font-size:12px}.role-login-collector-form select{min-width:0;height:39px;padding:0 10px;border:1px solid #dfe6e7;border-radius:7px;background:#fff;color:#263638}.role-login-collector-form>p{grid-column:1 / -1;margin:0;color:#718082;font-size:12px;line-height:1.5}.role-login-option{display:flex;width:100%;align-items:center;gap:13px;padding:15px;border:1px solid #e5ebec;border-radius:11px;background:#fff;color:#263638;text-align:left;transition:border-color .15s ease,background .15s ease,transform .15s ease}.role-login-option:hover,.role-login-option:focus-visible{transform:translateY(-1px);border-color:var(--accent-border);background:var(--accent-soft);outline:none}.role-login-icon{display:grid;width:42px;height:42px;flex:0 0 auto;place-items:center;border-radius:10px;background:var(--accent-soft);color:var(--accent)}.role-login-option>span:nth-child(2){display:grid;flex:1;gap:4px}.role-login-option strong{color:#263638;font-size:14px;text-transform:capitalize}.role-login-option small{color:#718082;font-size:12px}.role-login-arrow{color:var(--accent);font-size:20px}.role-login-notice{margin:0;padding-top:15px;border-top:1px solid #edf0f1;font-size:11px}.role-session-control{display:flex;align-items:center;gap:10px;color:#657476;font-size:12px;text-transform:capitalize}.patient-row-actions{display:flex;flex-wrap:wrap;gap:6px}.collector-test-status-list{display:grid;min-width:290px;gap:7px}.collector-test-status-row{display:grid;grid-template-columns:minmax(100px,1fr) auto auto;align-items:center;gap:8px}.collector-test-status-row>span:first-child{font-size:12px}@media (max-width: 920px){.collector-test-status-list{min-width:260px}.collector-test-status-row{grid-template-columns:minmax(90px,1fr) auto}.collector-test-status-row .button{grid-column:1 / -1;justify-self:start}}.app-shell[data-mode=dark] .role-login-card,.app-shell[data-mode=dark] .role-login-option{border-color:#34413f;background:#1b2624}.app-shell[data-mode=dark] .role-login-collector-form{border-color:#34413f;background:#15201e}.app-shell[data-mode=dark] .role-login-form label{color:#c0cbc8}.app-shell[data-mode=dark] .role-login-form input{border-color:#3a4946;background:#15201e;color:#d7e1de}.app-shell[data-mode=dark] .role-login-error{color:#ffb4ab}.app-shell[data-mode=dark] .role-login-collector-form label,.app-shell[data-mode=dark] .role-login-collector-form>p{color:#9eadaa}.app-shell[data-mode=dark] .role-login-collector-form select{border-color:#3a4946;background:#1b2624;color:#d7e1de}.app-shell[data-mode=dark] .role-login-card h1,.app-shell[data-mode=dark] .role-login-option strong{color:#d7e1de}.app-shell[data-mode=dark] .role-login-intro,.app-shell[data-mode=dark] .role-login-notice,.app-shell[data-mode=dark] .role-login-option small{color:#9eadaa}.app-shell[data-mode=dark] .role-login-option:hover,.app-shell[data-mode=dark] .role-login-option:focus-visible{border-color:var(--accent-border);background:#202c2a}.app-shell[data-mode=dark] .role-login-notice{border-color:#34413f}@media (max-width: 640px){.role-login-page{padding:16px}.role-login-card{padding:25px 20px}.role-login-brand{margin-bottom:30px}.role-login-option{padding:12px}.role-login-collector-form{grid-template-columns:minmax(0,1fr)}.role-login-collector-form>.button{width:100%}.role-session-control{gap:0}.role-session-control>span{display:none}}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#314344;background:#f7f8fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;font-weight:400}*{box-sizing:border-box}body{min-width:360px;min-height:100vh;margin:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(32,139,103,.26);outline-offset:2px}::selection{background:#d3eee2;color:#1c604b}
