:root{--brand: #0e7c86;--brand-dark: #0a5c63;--ink: #1f2933;--muted: #6b7785;--line: #e6eaee;--bg: #f4f6f8;--danger: #d4380d;--warn: #d48806}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,Segoe UI,system-ui,-apple-system,Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}.app-logo{height:64px;display:flex;align-items:center;gap:10px;padding:0 20px;color:#fff;font-weight:700;font-size:17px;letter-spacing:.2px;white-space:nowrap;overflow:hidden}.app-logo small{display:block;font-weight:400;font-size:11px;opacity:.65;letter-spacing:0}.app-header{background:#fff!important;padding:0 20px!important;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;height:60px!important}.app-content{padding:20px;min-height:calc(100vh - 60px)}.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.page-head h2{margin:0;font-size:20px;font-weight:650}.page-head .sub{color:var(--muted);font-size:13px;margin-top:2px}.ant-layout-sider .ant-menu-dark .ant-menu-item-group-title{color:#fff6;font-size:11px;text-transform:uppercase;letter-spacing:.6px}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-art{background:radial-gradient(1200px 600px at 10% 10%,#13a1ad,#0e7c86 40%,#08454b);color:#fff;padding:56px;display:flex;flex-direction:column;justify-content:space-between}.login-art h1{font-size:40px;line-height:1.15;margin:0 0 16px;font-weight:750}.login-art p{opacity:.85;font-size:16px;max-width:460px}.login-art .feat{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:520px}.login-art .feat div{background:#ffffff14;border:1px solid rgba(255,255,255,.15);border-radius:12px;padding:14px;font-size:13px}.login-art .feat b{display:block;font-size:14px;margin-bottom:2px}.login-panel{display:flex;align-items:center;justify-content:center;padding:32px;background:#fff}.login-card{width:100%;max-width:380px}@media (max-width: 900px){.login-wrap{grid-template-columns:1fr}.login-art{display:none}}.stat-card .ant-card-body{padding:18px 20px}.stat-label{color:var(--muted);font-size:13px}.stat-value{font-size:28px;font-weight:700;margin-top:4px}.stat-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;font-size:20px}.bars{display:flex;align-items:flex-end;gap:8px;height:180px;padding-top:10px}.bars .bar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:6px}.bars .bar span{width:100%;max-width:34px;background:linear-gradient(180deg,#19a5b1,#0e7c86);border-radius:6px 6px 2px 2px;min-height:3px}.bars .bar small{font-size:11px;color:var(--muted)}.res-table .ant-table-cell{vertical-align:middle}.flag{font-weight:700;font-size:12px;padding:1px 7px;border-radius:4px}.flag-H,.flag-L{background:#fff1e6;color:#d46b08}.flag-HH,.flag-LL{background:#fff1f0;color:#cf1322}.result-input-H,.result-input-L,.result-input-H input,.result-input-L input{color:#d46b08!important;font-weight:600}.result-input-HH,.result-input-LL,.result-input-HH input,.result-input-LL input{color:#cf1322!important;font-weight:700;background:#fff1f0!important}.delta{color:var(--muted);font-size:12px}.scan-box .ant-input-affix-wrapper{padding:14px 18px;font-size:22px;border-radius:12px}.scan-box input{font-size:22px!important;letter-spacing:2px;font-family:Consolas,monospace}.print-shell{background:#e9edf0;min-height:100vh}.print-shell-body{padding:20px 0}.print-page{background:#fff;color:#000;width:210mm;min-height:297mm;margin:0 auto;padding:14mm 14mm 18mm;font-size:12.5px}.print-toolbar{position:sticky;top:0;z-index:5;background:#263238;color:#fff;padding:10px 16px;display:flex;gap:8px;align-items:center;justify-content:space-between}.rpt-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #0e7c86;padding-bottom:10px}.rpt-head h1{font-size:22px;margin:0;color:#0e7c86}.rpt-head .addr{font-size:11.5px;color:#333;line-height:1.5}.rpt-patient{display:grid;grid-template-columns:1fr 1fr;gap:3px 24px;padding:10px 0;border-bottom:1px solid #ccc;font-size:12px}.rpt-patient b{display:inline-block;min-width:92px;color:#444;font-weight:600}.rpt-test{margin-top:16px;page-break-inside:avoid}.rpt-test h3{font-size:14px;margin:0 0 6px;text-transform:uppercase;letter-spacing:.4px;border-bottom:1px solid #000;padding-bottom:3px}.rpt-test table{width:100%;border-collapse:collapse}.rpt-test th{text-align:left;font-size:11px;color:#555;font-weight:600;padding:4px 6px;border-bottom:1px solid #bbb}.rpt-test td{padding:4px 6px;border-bottom:1px dotted #ddd}.rpt-test .abn{font-weight:700}.rpt-sign{display:flex;justify-content:space-between;margin-top:10px;font-size:11px;color:#333}.rpt-foot{margin-top:28px;border-top:1px solid #ccc;padding-top:6px;font-size:10.5px;color:#666;display:flex;justify-content:space-between}.receipt{width:80mm;margin:0 auto;background:#fff;padding:6mm 4mm;font-size:12px;font-family:Consolas,Courier New,monospace;color:#000}.receipt hr{border:0;border-top:1px dashed #000}.labels{display:flex;flex-wrap:wrap;gap:6mm;padding:6mm;background:#fff}.label{width:50mm;height:25mm;border:1px dashed #bbb;padding:1.5mm 2mm;font-size:8.5px;line-height:1.25;overflow:hidden;color:#000;background:#fff}.label .bc{display:block;width:100%;height:9mm}.row-late>td{background:#fff6f5!important}@media print{body{background:#fff}.no-print,.print-toolbar,.ant-layout-sider,.app-header{display:none!important}.app-content{padding:0!important}.print-shell{background:#fff!important;min-height:0}.print-shell-body{padding:0}.ant-card{box-shadow:none!important;border:none!important}.print-page{width:auto;min-height:auto;margin:0;padding:0}.label{border:none;page-break-inside:avoid}@page{size:auto;margin:10mm}}
