:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#000;background:#3f6fad;--dashboard-blue: #3f6fad;--dashboard-blue-dark: #315f98;--table-row-soft: #e6e9ee;--table-row-light: #f4f7fb;--table-yellow: #fee6ab;--table-orange: #fed39a;--table-red: #f19a88;--reset-header-peach: #f19a88;--table-border: #a9bad1}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:var(--dashboard-blue)}main{max-width:1440px;min-height:100vh;margin:0 auto;padding:28px 24px 36px;background-color:var(--dashboard-blue);background-image:linear-gradient(#3f6fad94,#3f6fad94),url(/assets/dashboard_medical_bg-CGz6N9A4.png);background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed;background-blend-mode:normal}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px;padding:22px 24px;border-radius:24px;background-color:#3f6fadd1;background-image:linear-gradient(90deg,#3f6fadc2,#3f6fad8f 38%,#3f6fad94),url(/assets/dashboard_medical_bg-CGz6N9A4.png);background-size:cover;background-position:center 42%;background-repeat:no-repeat;border:1px solid rgba(255,255,255,.22);box-shadow:0 18px 34px #0f172a2e;overflow:hidden}.topbar>div:first-child{flex:1;min-width:0}h1{margin:0;font-size:30px;color:#fff;text-shadow:0 2px 12px rgba(15,23,42,.22)}.topbar p{color:#fff;text-shadow:0 1px 8px rgba(15,23,42,.18);font-weight:700}h3{margin:0 0 12px}p{margin-top:6px}.top-actions{display:flex;align-items:center;gap:12px}select,input{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font:inherit;background:#fff}label{display:block;font-weight:700;font-size:13px;margin:12px 0}button{border:0;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer}button:disabled{opacity:.6;cursor:wait}.primary{background:#0f766e;color:#fff;width:100%}.secondary{background:#2563eb;color:#fff;width:100%}.connection{background:#fffffff0;padding:10px 12px;border-radius:999px;border:1px solid #dbe3ef;font-weight:700}.card{background:#eff4faf5;border:1px solid rgba(217,226,238,.95);box-shadow:0 18px 40px #0f172a24;border-radius:22px;padding:18px}.patient-manager{display:grid;grid-template-columns:280px 300px 1fr;gap:16px;align-items:end;margin-bottom:16px;background:#dcfce7;border-color:#bbf7d0f2}.patient-current{display:flex;flex-direction:column;gap:6px}.patient-current strong{font-size:19px;color:#166534}.patient-current small,.section-kicker{color:#166534}.section-kicker{display:inline-flex;width:fit-content;padding:8px 12px;border-radius:999px;background:#dcfce7;border:1px solid rgba(22,101,52,.12);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.patient-select{margin:0}.patient-select-actions{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.delete-patient-btn{height:43px;min-width:130px}.patient-add{display:grid;grid-template-columns:1.2fr .7fr auto;gap:10px;align-items:end}.patient-add label{margin:0}.add-patient-btn{min-width:190px;height:43px}.summary-grid{display:grid;grid-template-columns:280px 1fr;gap:16px;margin-bottom:16px}.score-card{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.score-label{font-weight:900;color:#475569}.score-number{font-size:64px;font-weight:950;line-height:1}.risk{border-radius:999px;padding:8px 12px;font-weight:900}.risk.low{background:#dcfce7;color:#166534}.risk.medium{background:#ffedd5;color:#9a3412}.risk.high{background:#fee2e2;color:#991b1b}.risk.incomplete{background:#e2e8f0;color:#475569}.red-flag{color:#b91c1c;font-weight:950}.recommendation p{font-size:18px;font-weight:700}.summary-peach-card{overflow:hidden;padding-top:0}.score-card .score-label,.summary-peach-card.recommendation h3{margin:-18px -18px 16px;padding:18px 20px 16px;min-height:64px;display:flex;align-items:center;background:#f19a88;color:#0f172a}.summary-peach-card.recommendation h3{margin-bottom:14px}.score-card .score-label{width:calc(100% + 36px);font-size:14px;line-height:1.2}.summary-peach-card small{display:inline-block;margin-top:10px}.vitals-grid{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:14px;margin-bottom:16px}.vital-card{min-height:150px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding-top:0}.vital-label{margin:-18px -18px 12px;padding:16px 18px 14px;background:#fee6ab;color:#475569;font-weight:900;border-radius:22px 22px 0 0;display:flex;align-items:center;justify-content:center;text-align:center;min-height:58px}.vital-value{font-size:30px;font-weight:950}.vital-value span{font-size:14px;color:#64748b}.vital-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center}.score{font-weight:950;border-radius:999px;padding:6px 10px}.score.green{background:#dcfce7;color:#166534}.score.yellow{background:#fef9c3;color:#854d0e}.score.orange{background:#ffedd5;color:#9a3412}.score.red{background:#fee2e2;color:#991b1b}.extra{color:#64748b;font-size:12px}.display-menu-card{margin:0 0 16px;border-color:#3f6fad59}.display-menu-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.display-menu-header h3{margin:4px 0 0;font-size:22px}.display-menu-header p{max-width:620px;margin:0;color:#475569;line-height:1.45;font-weight:650}.display-menu-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.compact-action{width:auto;min-width:128px}.display-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.display-menu-item{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px;border-radius:16px;background:#fff;border:1px solid #dbe3ef}.display-menu-item strong{display:block;color:#0f172a;font-size:15px;margin-bottom:4px}.display-menu-item small{display:block;color:#64748b;font-weight:650;line-height:1.35}.display-toggle-btn{min-width:86px;flex:0 0 auto}.display-toggle-btn.is-hidden{background:#2563eb;color:#fff}.display-toggle-btn.is-visible{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}@media(max-width:900px){.display-menu-header{display:block}.display-menu-header p{margin-top:8px}.display-menu-grid{grid-template-columns:1fr}.display-menu-item{align-items:flex-start;flex-direction:column}.display-toggle-btn,.compact-action{width:100%}}.content-grid{display:grid;grid-template-columns:360px 1fr;gap:16px;align-items:start;margin-bottom:30px}.panel+.panel{margin-top:18px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.toggle{background:#e2e8f0;color:#334155;min-width:130px}.toggle.active{background:#0ea5e9;color:#fff}.oxygen-group{margin:12px 0}.oxygen-label{display:block;font-weight:700;font-size:13px;margin:0 0 8px}.oxygen-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.option-btn{min-width:0;width:100%;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border:2px solid rgba(51,65,85,.18);border-radius:12px;font-weight:800;padding:10px 14px}.option-btn.active{border-color:#0f172a;box-shadow:0 2px #0f172a2e inset}.inline-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hint{color:#64748b;font-size:12px;line-height:1.45}.chart-card{min-height:410px}.trend-chart-card{position:relative;overflow:hidden;padding-top:0;border-color:#a9bad1f2;background:#e8eef7}.trend-chart-card:before{display:none}.trend-chart-card h3{margin:-18px -18px 16px;padding:18px 20px;min-height:76px;display:flex;align-items:center;justify-content:center;background:#fed39a;color:#000;text-align:center;width:auto}.trend-chart-card .recharts-legend-wrapper{font-weight:800}.trend-chart-card .recharts-tooltip-wrapper{outline:none}.table-card{margin-top:16px;overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid #e2e8f0}th{color:#475569;font-size:13px}@media(max-width:1100px){.oxygen-options{grid-template-columns:1fr}.patient-manager{grid-template-columns:1fr;align-items:stretch}.patient-add,.patient-select-actions{grid-template-columns:1fr}.delete-patient-btn,.add-patient-btn{width:100%}.vitals-grid{grid-template-columns:repeat(2,1fr)}.content-grid,.summary-grid{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start}}.active-route{display:inline-flex;width:fit-content;border-radius:999px;padding:6px 10px;background:#bbf7d0;color:#166534;font-size:12px;font-weight:900}.peach-header-panel{border-color:#f19a88d9;overflow:hidden;padding-top:0}.peach-header-panel h3{margin:-18px -18px 16px;padding:20px 20px 18px;min-height:72px;display:flex;align-items:center;background:var(--reset-header-peach);color:#0f172a;line-height:1.2}.check-row{display:flex;align-items:flex-start;gap:10px;font-weight:700;line-height:1.35}.check-row input{width:auto;margin-top:2px}.danger{background:#dc2626;color:#fff;width:100%}.danger-outline{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.danger-outline:hover:not(:disabled){background:#ffe4e6}.empty-row{text-align:center;color:#64748b;font-weight:700}.scoring-reference-card{margin-top:10px;margin-bottom:14px;border-color:#3f6fad59}.scoring-header{margin-bottom:14px}.scoring-table-wrap{overflow-x:auto;border-radius:18px;border:2px solid #94a3b8;background:#fff}.scoring-table{width:100%;min-width:1045px;border-collapse:collapse;table-layout:fixed;background:#fff}.scoring-table th,.scoring-table td{border:2px solid #94a3b8;text-align:center;vertical-align:middle;padding:12px 10px;line-height:1.3;color:#000}.scoring-table thead th{font-size:16px;font-weight:800}.scoring-table .param-head,.scoring-table .score-band-head,.scoring-table .param-cell{background:#4b79bb;color:#000}.scoring-table .param-head,.scoring-table .param-cell{text-align:left}.scoring-table .param-head{padding:16px 14px}.scoring-table .param-cell{padding:14px 12px;font-size:14px;font-weight:700}.scoring-table .score-head,.scoring-table .score-cell{font-size:14px;font-weight:700}.scoring-table .score-band-head{letter-spacing:.02em}.scoring-table .score-3{background:#f19a88}.scoring-table .score-2{background:#fed39a}.scoring-table .score-1{background:#fee6ab}.scoring-table .score-0{background:#f4f4f5}.scoring-stack{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.scoring-empty{display:block;min-height:20px}.response-guide{margin-top:4px;margin-bottom:16px;border-color:#3f6fad59}.guide-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:12px}.guide-header h3{margin:4px 0 0;font-size:22px}.guide-header p{max-width:560px;margin:0;color:#475569;line-height:1.45}.guide-table-wrap{overflow-x:auto;border-radius:16px;border:1px solid var(--table-border)}.guide-table{width:100%;border-collapse:collapse;min-width:760px;background:#fff}.guide-table th{background:var(--dashboard-blue);color:#fff;font-size:16px;padding:14px 16px;text-align:center;border-right:2px solid rgba(255,255,255,.45)}.guide-table th:last-child{border-right:0}.guide-table td{padding:14px 16px;border-top:1px solid var(--table-border);border-right:1px solid var(--table-border);vertical-align:middle;font-weight:650}.guide-table td:last-child{border-right:0}.guide-low{background:var(--table-row-soft)}.guide-redscore{background:var(--table-yellow)}.guide-medium{background:var(--table-orange)}.guide-high{background:var(--table-red)}.guide-notes{margin-top:12px;color:#334155;font-size:13px;line-height:1.45}.guide-notes p{margin:5px 0}@media(max-width:900px){.guide-header{display:block}.guide-header p{margin-top:8px}}.right-dashboard-column{display:flex;flex-direction:column;gap:16px;min-width:0}.history-under-trend{margin-top:0}.history-under-trend table{min-width:760px}.table-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}.table-card-header h3{margin-bottom:4px}.history-export-note{margin:0;color:#64748b;font-size:12px;line-height:1.4}.export-excel-btn{background:#16a34a;color:#fff;white-space:nowrap;min-width:120px}.export-excel-btn:hover:not(:disabled){background:#15803d}@media(max-width:700px){.table-card-header{flex-direction:column;align-items:stretch}.export-excel-btn{width:100%}}.history-under-trend{border-color:#3f6fad59}.history-under-trend table{min-width:760px;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--table-border);border-radius:14px;background:var(--table-row-light)}.history-under-trend thead th{background:var(--dashboard-blue);color:#fff;text-align:center;font-size:14px;font-weight:900;border-bottom:0;border-right:1px solid rgba(255,255,255,.38)}.history-under-trend thead th:first-child{border-top-left-radius:13px}.history-under-trend thead th:last-child{border-top-right-radius:13px;border-right:0}.history-under-trend tbody td{background:var(--table-row-soft);border-bottom:1px solid var(--table-border);color:#0f172a}.history-under-trend tbody tr:nth-child(2n) td{background:var(--table-row-light)}.history-under-trend tbody tr:hover td{background:#dbe7f4}.history-under-trend tbody tr:last-child td{border-bottom:0}.history-under-trend .empty-row{background:var(--table-yellow);color:#334155}.trend-chart-card .recharts-default-legend .recharts-legend-item-text,.trend-chart-card .recharts-cartesian-axis-tick-value tspan,.trend-chart-card .recharts-text{fill:#000;color:#000}.login-page{display:flex;min-height:100vh;align-items:center;justify-content:center;padding:28px}.login-card{width:min(560px,100%);padding:26px}.login-brand h1{color:#0f172a;text-shadow:none;margin-top:12px}.login-brand p{color:#334155;font-weight:650;line-height:1.5}.login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 8px;padding:8px;border-radius:16px;background:#e2e8f0}.login-tab{background:transparent;color:#334155}.login-tab.active{background:#0f766e;color:#fff;box-shadow:0 8px 18px #0f766e2e}.login-form{margin-top:8px}.login-submit{margin-top:8px;min-height:46px}.login-error{margin:12px 0;padding:10px 12px;border-radius:12px;background:#fee2e2;color:#991b1b;font-weight:800}.role-badge,.logout-btn{background:#fffffff0;color:#0f172a;padding:10px 12px;border-radius:999px;border:1px solid #dbe3ef;font-weight:800}.logout-btn{background:#0f766e;color:#fff}.patient-view-banner{margin-bottom:16px;background:#dcfce7;border-color:#bbf7d0f2}.patient-view-banner>div{display:flex;flex-direction:column;gap:7px}.patient-view-banner strong{font-size:20px;color:#166534}.patient-view-banner small{color:#166534;font-weight:650;line-height:1.45}.patient-readonly-grid{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:30px}@media(max-width:700px){.login-tabs{grid-template-columns:1fr}.top-actions{align-items:stretch;width:100%;flex-wrap:wrap}.role-badge,.connection,.logout-btn{width:100%;text-align:center}}.assessment-panel .assessment-hint{margin-bottom:14px;font-weight:700;color:#475569}.assessment-actions-top{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.muted-btn{background:#e2e8f0;color:#334155;width:100%}.live-box,.manual-lock-box,.locked-box,.finalize-box{border:1px solid rgba(148,163,184,.42);background:#ffffff94;border-radius:16px;padding:12px;margin-top:12px}.live-box-title{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:13px;color:#475569}.live-values-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0}.live-values-grid span{background:#eef6ff;border:1px solid rgba(63,111,173,.2);border-radius:12px;padding:9px 10px;font-weight:800;color:#475569}.live-values-grid b{display:block;color:#0f172a;font-size:18px;margin-top:2px}.auto-bp-note,.auto-bp-info{margin:8px 0 10px;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.45;font-weight:800}.auto-bp-note{background:#e0f2fe;color:#075985;border:1px solid rgba(14,165,233,.26)}.auto-bp-info{background:#ecfdf5;color:#166534;border:1px solid rgba(34,197,94,.25)}.bp-stale-hint{margin:4px 0 10px;padding:8px 10px;border-radius:10px;background:#fef3c7eb;border:1px solid rgba(245,158,11,.32);color:#92400e;font-weight:700}.capture-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.capture-buttons .secondary{grid-column:1 / -1}.capture-buttons button{background:#e2e8f0;color:#334155}.capture-buttons .secondary{background:#2563eb;color:#fff}.manual-lock-box h4,.locked-box h4{margin:0 0 10px;color:#0f172a}.locked-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.locked-item{border-radius:14px;padding:10px;border:1px solid rgba(148,163,184,.35);background:#f8fafc}.locked-item.ready{background:#dcfce7;border-color:#1665342e}.locked-item.missing{background:#f1f5f9;color:#64748b}.locked-item span,.locked-item small{display:block;font-weight:800}.locked-item strong{display:block;margin:4px 0;font-size:17px;color:#0f172a}.missing-warning,.complete-warning{border-radius:12px;padding:10px 12px;font-weight:900}.missing-warning{background:#fff7ed;color:#9a3412;border:1px solid rgba(251,146,60,.3)}.complete-warning{background:#dcfce7;color:#166534;border:1px solid rgba(34,197,94,.25)}.finalize-btn{width:100%;background:#16a34a;color:#fff;font-size:15px;margin-top:8px}@media(max-width:720px){.assessment-actions-top,.live-values-grid,.capture-buttons,.locked-grid{grid-template-columns:1fr}}.theme-light{--theme-bg: #f4f7fb;--theme-bg-strong: #eaf1fb;--theme-surface: rgba(255, 255, 255, .94);--theme-surface-solid: #ffffff;--theme-text: #0f172a;--theme-muted: #475569;--theme-border: #dbe3ef;--theme-sidebar: #3f6fad;--theme-primary: #2563eb;--theme-success: #16a34a;--dashboard-blue: #3f6fad;--dashboard-blue-dark: #315f98;--table-row-soft: #e6e9ee;--table-row-light: #f4f7fb;--table-yellow: #fee6ab;--table-orange: #fed39a;--table-red: #f19a88;--reset-header-peach: #f19a88;--table-border: #a9bad1}.theme-dark{--theme-bg: #08111f;--theme-bg-strong: #111c2e;--theme-surface: rgba(18, 30, 48, .96);--theme-surface-solid: #121e30;--theme-text: #eaf2ff;--theme-muted: #a8b6ce;--theme-border: #2b3f5f;--theme-sidebar: #121e30;--theme-primary: #4f8cff;--theme-success: #22c55e;--dashboard-blue: #142238;--dashboard-blue-dark: #0b1220;--table-row-soft: #18263c;--table-row-light: #101a2b;--table-yellow: #4a3a1f;--table-orange: #55331f;--table-red: #5a2a2a;--reset-header-peach: #1f2f48;--table-border: #334b70}main.theme-light,main.theme-dark{color:var(--theme-text);background-color:var(--theme-bg)}main.theme-light{background-image:linear-gradient(#f4f7fbb3,#eaf1fbbd),url(/assets/dashboard_medical_bg-CGz6N9A4.png)}main.theme-dark{background-image:linear-gradient(#050a14d1,#08111fe0),url(/assets/dashboard_medical_bg-CGz6N9A4.png)}.theme-dark .topbar{background-color:#0c182aeb;background-image:linear-gradient(90deg,#091221f5,#152139e0 42%,#392663cc),url(/assets/dashboard_medical_bg-CGz6N9A4.png);border-color:#60a5fa3d;box-shadow:0 22px 48px #00000061}.theme-light .topbar{background-color:#3f6faddb}.theme-dark h1,.theme-dark h3,.theme-dark h4,.theme-dark .score-number,.theme-dark .manual-lock-box h4,.theme-dark .locked-box h4,.theme-dark .live-values-grid b,.theme-dark .locked-item strong,.theme-dark .display-menu-item strong,.theme-dark .login-brand h1{color:var(--theme-text)}.theme-dark p,.theme-dark .hint,.theme-dark .guide-header p,.theme-dark .display-menu-header p,.theme-dark .display-menu-item small,.theme-dark .history-export-note,.theme-dark .guide-notes,.theme-dark .live-box-title,.theme-dark .vital-value span,.theme-dark .extra,.theme-dark .score-label,.theme-dark .login-brand p{color:var(--theme-muted)}.theme-dark .card,.theme-dark .login-card{background:var(--theme-surface);border-color:var(--theme-border);box-shadow:0 18px 42px #0000005c}.theme-light .card,.theme-light .login-card{background:#ffffffeb;border-color:#d9e2eef2}.theme-dark .summary-peach-card,.theme-dark .trend-chart-card,.theme-dark .scoring-reference-card,.theme-dark .response-guide,.theme-dark .history-under-trend{background:#0f1b2df5;border-color:var(--theme-border)}.theme-dark .score-card .score-label,.theme-dark .summary-peach-card.recommendation h3,.theme-dark .peach-header-panel h3,.theme-dark .trend-chart-card h3{background:linear-gradient(135deg,#1f2f48,#293b61);color:var(--theme-text)}.theme-light .score-card .score-label,.theme-light .summary-peach-card.recommendation h3,.theme-light .peach-header-panel h3,.theme-light .trend-chart-card h3{background:linear-gradient(135deg,#fed39a,#f19a88);color:#0f172a}.theme-dark .patient-manager,.theme-dark .patient-view-banner{background:linear-gradient(135deg,#12304af5,#11443ee6);border-color:#2dd4bf40}.theme-dark .patient-current strong,.theme-dark .patient-current small,.theme-dark .patient-view-banner strong,.theme-dark .patient-view-banner small,.theme-dark .section-kicker{color:#b8ffe6}.theme-dark .section-kicker{background:#14b8a626;border-color:#2dd4bf47}.theme-light .section-kicker{color:#166534;background:#dcfce7}.theme-dark input,.theme-dark select{background:#0b1525;color:var(--theme-text);border-color:#2f4669}.theme-dark input::placeholder{color:#6f8099}.theme-dark button{box-shadow:none}.theme-dark .primary,.theme-dark .secondary,.theme-dark .logout-btn,.theme-dark .capture-buttons .secondary,.theme-dark .display-toggle-btn.is-hidden{background:linear-gradient(135deg,#3b82f6,#5b5cf6);color:#fff}.theme-dark .toggle,.theme-dark .muted-btn,.theme-dark .capture-buttons button{background:#1e2c43;color:#dbeafe;border:1px solid #334b70}.theme-dark .toggle.active,.theme-dark .option-btn.active,.theme-dark .login-tab.active{background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;border-color:#93c5fd73}.theme-dark .display-menu-item,.theme-dark .live-box,.theme-dark .manual-lock-box,.theme-dark .locked-box,.theme-dark .finalize-box,.theme-dark .locked-item,.theme-dark .login-tabs{background:#0a1422d6;border-color:var(--theme-border)}.theme-dark .active-route,.theme-dark .locked-item.ready,.theme-dark .complete-warning,.theme-dark .risk.low,.theme-dark .score.green{background:#22c55e29;color:#86efac;border-color:#22c55e47}.theme-dark .risk.medium,.theme-dark .score.orange,.theme-dark .missing-warning{background:#fb923c29;color:#fdba74;border-color:#fb923c40}.theme-dark .risk.high,.theme-dark .score.red,.theme-dark .red-flag,.theme-dark .danger-outline,.theme-dark .display-toggle-btn.is-visible{background:#f8717124;color:#fca5a5;border-color:#f8717147}.theme-dark .score.yellow{background:#facc1529;color:#fde68a}.theme-dark .risk.incomplete,.theme-dark .locked-item.missing{background:#94a3b824;color:#cbd5e1}.theme-dark .vital-label{background:linear-gradient(135deg,#1e2c43,#263b61);color:#dbeafe}.theme-dark .live-values-grid span{background:#1e2c43cc;border-color:#334b70;color:#cbd5e1}.theme-dark .scoring-table-wrap,.theme-dark .guide-table-wrap,.theme-dark .history-under-trend table{border-color:var(--table-border);background:#0b1525}.theme-dark .scoring-table,.theme-dark .guide-table{background:#0b1525}.theme-dark .scoring-table th,.theme-dark .scoring-table td,.theme-dark .guide-table td,.theme-dark .history-under-trend tbody td{color:#e5eefc;border-color:var(--table-border)}.theme-dark .scoring-table .param-head,.theme-dark .scoring-table .score-band-head,.theme-dark .scoring-table .param-cell,.theme-dark .guide-table th,.theme-dark .history-under-trend thead th{background:#243b63;color:#fff}.theme-dark .scoring-table .score-3{background:#5a2a2a}.theme-dark .scoring-table .score-2{background:#55331f}.theme-dark .scoring-table .score-1{background:#4a3a1f}.theme-dark .scoring-table .score-0{background:#172033}.theme-dark .history-under-trend tbody tr:hover td{background:#223657}.theme-dark .trend-chart-card .recharts-default-legend .recharts-legend-item-text,.theme-dark .trend-chart-card .recharts-cartesian-axis-tick-value tspan,.theme-dark .trend-chart-card .recharts-text{fill:#dbeafe;color:#dbeafe}.theme-dark .recharts-cartesian-grid line{stroke:#94a3b838}.theme-toggle{display:inline-grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px;min-width:160px;border-radius:999px;background:#ffffffe0;border:1px solid rgba(203,213,225,.8);align-items:center}.theme-dark .theme-toggle{background:#08111fdb;border-color:#60a5fa40}.theme-toggle button{min-width:0;padding:8px 12px;border-radius:999px;background:transparent;color:#334155;font-weight:900}.theme-dark .theme-toggle button{color:#cbd5e1}.theme-toggle button.active{background:linear-gradient(135deg,#2563eb,#6366f1);color:#fff}.login-brand .theme-toggle{margin-top:14px}@media(max-width:700px){.theme-toggle{width:100%}}.theme-dark .auto-bp-note{background:#0ea5e924;color:#bae6fd;border-color:#38bdf83d}.theme-dark .auto-bp-info{background:#22c55e24;color:#bbf7d0;border-color:#22c55e3d}.theme-dark .bp-stale-hint{background:#92400e38;border-color:#f59e0b59;color:#fde68a}.manual-save-btn{margin-top:6px}.manual-lock-box .hint+label{margin-top:10px}
