:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #183638;
  background: #eef3f1;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 228px minmax(0, 1fr); }
.sidebar { display: flex; min-height: 100vh; flex-direction: column; padding: 27px 16px 20px; border-right: 1px solid #d3dfdc; background: #f7faf8; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; color: #103b3c; font-size: 19px; font-weight: 780; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 7px; color: #ffffff; background: #08716d; font-family: Georgia, serif; }
.sidebar-label, .eyebrow { margin: 0; color: #6a8181; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-label { margin: 42px 8px 9px; }
.main-nav { display: grid; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 10px; border: 0; border-radius: 6px; color: #527072; background: transparent; text-align: left; font-size: 13px; font-weight: 700; }
.nav-item:hover { background: #eaf2ef; }.nav-item.active { color: #0b5f5b; background: #dcefe9; }
.nav-glyph { width: 20px; color: #809897; font-size: 9px; font-weight: 800; }.nav-item.active .nav-glyph { color: #0b716c; }
.sidebar-footer { margin-top: auto; padding: 16px 8px 0; border-top: 1px solid #dbe5e2; }.sidebar-footer .sidebar-label { margin: 0 0 8px; }.sidebar-footer strong { display: block; color: #35585a; font-size: 12px; }.sidebar-footer p { margin: 4px 0 0; color: #718888; font-size: 11px; line-height: 1.4; }

.main-content { min-width: 0; }.app-topbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 38px; border-bottom: 1px solid #d4e0dd; background: #fbfdfc; }
.trust-label { display: block; color: #718787; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.app-topbar strong { color: #25484a; font-size: 13px; }.user-chip { display: flex; align-items: center; gap: 8px; color: #345557; font-size: 12px; font-weight: 750; }.user-chip small { color: #768d8e; font-size: 10px; font-weight: 500; }
.page-content { width: min(1400px, 100%); margin: 0 auto; padding: 36px 38px 52px; }

.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 27px; }.page-heading h1, .record-title-row h1 { margin: 6px 0 8px; color: #173e40; font-size: 32px; line-height: 1.12; letter-spacing: 0; }.page-copy { max-width: 640px; margin: 0; color: #5e7778; font-size: 14px; line-height: 1.5; }.heading-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 8px; padding-top: 7px; color: #688080; font-size: 11px; white-space: nowrap; }.presence { display: inline-flex; align-items: center; gap: 6px; color: #2f6d65; }.presence i { width: 7px; height: 7px; border-radius: 50%; background: #46a77a; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }.metric-card { min-height: 116px; padding: 18px; border: 1px solid #d5e1df; border-radius: 7px; background: #ffffff; }.metric-card p { margin: 0 0 8px; color: #688080; font-size: 11px; font-weight: 750; }.metric-card strong { display: block; font-size: 28px; line-height: 1; }.metric-card span { display: block; margin-top: 9px; color: #698080; font-size: 10px; line-height: 1.35; }.metric-teal { border-top: 3px solid #1a8b82; }.metric-teal strong { color: #176b65; }.metric-blue { border-top: 3px solid #4f86a8; }.metric-blue strong { color: #3e6f8e; }.metric-amber { border-top: 3px solid #dfab45; }.metric-amber strong { color: #9a6612; }.metric-red { border-top: 3px solid #d66b61; }.metric-red strong { color: #aa4037; }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr); gap: 20px; margin-bottom: 30px; }.priority-panel, .cohort-section { border-top: 1px solid #cfded9; }.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 17px 0 15px; }.section-heading h2, .insight-panel h2, .record-section h2, .workflow-panel h2, .timeline-panel h2, .kccq-panel h2, .rules-preview h2 { margin: 4px 0 0; color: #214a4b; font-size: 17px; line-height: 1.25; letter-spacing: 0; }.section-heading > span { padding-top: 8px; color: #6f8585; font-size: 11px; }.priority-list { border-bottom: 1px solid #d5e1de; }.priority-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid #e2ebe8; }.priority-copy strong, .priority-copy span { display: block; }.priority-copy strong { color: #25494b; font-size: 13px; }.priority-copy span { margin-top: 2px; color: #73898a; font-size: 10px; }.priority-copy p { margin: 5px 0 0; color: #526e70; font-size: 11px; }.priority-status { display: grid; justify-items: end; gap: 8px; }.queue-note { color: #728989; font-size: 10px; }.text-action, .row-action, .back-button { border: 0; color: #0c6e69; background: transparent; font-size: 11px; font-weight: 800; }.text-action span, .row-action span { margin-left: 5px; font-size: 15px; line-height: 0; }
.queue-empty { padding: 22px 0; color: #698080; font-size: 11px; line-height: 1.45; }
.insight-panel { padding: 20px; border: 1px solid #bddbd4; border-radius: 7px; background: #dff0eb; }.insight-panel h2 { margin-top: 7px; font-size: 20px; }.insight-panel > p:last-of-type { margin: 12px 0 0; color: #4e6f70; font-size: 12px; line-height: 1.55; }.insight-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }.insight-stats span { padding-top: 9px; border-top: 1px solid #b8d7cf; color: #4d6b6c; font-size: 10px; }.insight-stats b { display: block; color: #155c58; font-size: 13px; }

.table-heading { align-items: center; }.filter-group { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #d0ddd9; border-radius: 7px; background: #f6faf8; }.filter-button { padding: 6px 9px; border: 0; border-radius: 4px; color: #668080; background: transparent; font-size: 10px; font-weight: 760; }.filter-button.active { color: #ffffff; background: #0a716c; }.patient-table-wrap { overflow-x: auto; border: 1px solid #d5e2df; border-radius: 7px; background: #ffffff; }.patient-table { width: 100%; min-width: 870px; border-collapse: collapse; text-align: left; }.patient-table th { padding: 12px 16px; border-bottom: 1px solid #dbe6e3; color: #718787; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }.patient-table td { padding: 13px 16px; border-bottom: 1px solid #e6eeeb; vertical-align: middle; }.patient-table tr:last-child td { border-bottom: 0; }.patient-table .featured-row { background: #fcfefd; }.patient-cell { display: flex; align-items: center; gap: 9px; }.patient-cell strong, .patient-cell span { display: block; }.patient-cell strong { color: #284b4c; font-size: 12px; }.patient-cell span { margin-top: 2px; color: #718989; font-size: 10px; }.patient-table td small { display: block; margin-top: 5px; color: #728889; font-size: 9px; }.signal-copy { color: #4b686a; font-size: 11px; font-weight: 700; }.contact-time, .detail-unavailable { color: #667e7f; font-size: 10px; }.detail-unavailable { color: #9aa9a7; }.workflow-label { color: #5a7374; font-size: 10px; font-weight: 750; }.workflow-label.red { color: #a13f38; }.workflow-label.amber { color: #996313; }.workflow-label.green { color: #31705a; }

.avatar { width: 36px; height: 36px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #1a5f5d; background: #d2ebe5; font-size: 11px; font-weight: 800; }.avatar.small { width: 28px; height: 28px; font-size: 9px; }.avatar.large { width: 54px; height: 54px; font-size: 14px; }.avatar.red { color: #9d3c35; background: #fae2dd; }.avatar.amber { color: #94600d; background: #fff0d5; }.avatar.green, .avatar.teal { color: #1b6b5b; background: #d8eee5; }.status-badge { display: inline-flex; align-items: center; gap: 6px; width: max-content; border-radius: 100px; padding: 5px 8px; font-size: 10px; font-weight: 800; white-space: nowrap; }.status-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }.status-badge.red { color: #a13e37; background: #fce5e1; }.status-badge.amber { color: #95600d; background: #fff0d5; }.status-badge.green { color: #246d59; background: #ddf1e8; }

.record-header { margin-bottom: 25px; }.back-button { display: inline-flex; align-items: center; gap: 7px; padding: 0; margin-bottom: 23px; }.back-button span { font-size: 16px; }.record-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }.patient-identity { display: flex; align-items: center; gap: 14px; }.patient-identity > div > p:last-child { margin: 0; color: #687f80; font-size: 12px; }.record-status { display: grid; justify-items: end; gap: 7px; padding-top: 6px; color: #718888; font-size: 10px; }.record-snapshot { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 27px; border-top: 1px solid #d4e1de; border-bottom: 1px solid #d4e1de; }.record-snapshot div { min-width: 0; padding: 16px 16px 15px 0; border-right: 1px solid #e0e9e6; }.record-snapshot div:not(:first-child) { padding-left: 16px; }.record-snapshot div:last-child { border-right: 0; }.record-snapshot span, .record-snapshot strong, .record-snapshot small { display: block; }.record-snapshot span { color: #718889; font-size: 10px; font-weight: 800; text-transform: uppercase; }.record-snapshot strong { margin-top: 7px; color: #25484a; font-size: 17px; }.record-snapshot small { margin-top: 3px; color: #6b8282; font-size: 10px; }.record-layout { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(260px, .64fr); gap: 25px; }.record-tabs { display: flex; gap: 21px; border-bottom: 1px solid #d2dfdc; }.record-tab { position: relative; padding: 0 0 12px; border: 0; color: #778c8c; background: transparent; font-size: 12px; font-weight: 750; }.record-tab.active { color: #0d6964; }.record-tab.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #0b716c; content: ""; }.record-section { padding-top: 12px; }.clinical-summary .section-heading { padding-top: 11px; }.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }.evidence-card { min-height: 130px; padding: 14px; border: 1px solid #d6e3df; border-radius: 7px; background: #ffffff; }.evidence-card span { color: #748a8a; font-size: 10px; font-weight: 760; }.evidence-card strong { display: block; margin-top: 12px; font-size: 21px; }.evidence-card p { margin: 6px 0 0; color: #607879; font-size: 10px; line-height: 1.4; }.evidence-card.weight { border-top: 3px solid #d46e3b; }.evidence-card.weight strong { color: #b14c28; }.evidence-card.survey { border-top: 3px solid #d7a340; }.evidence-card.survey strong { color: #97650e; }.evidence-card.symptom { border-top: 3px solid #ca5c56; }.evidence-card.symptom strong { color: #a23e38; }.narrative-block { padding: 22px 0; border-bottom: 1px solid #d8e4e1; }.narrative-block h2 { margin-top: 5px; font-size: 21px; }.narrative-block > p:not(.eyebrow):not(.muted-note) { max-width: 760px; margin: 11px 0 0; color: #536f70; font-size: 13px; line-height: 1.62; }.muted-note { margin: 13px 0 0; color: #768b8b; font-size: 10px; line-height: 1.45; }.signal-explanation { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; padding: 21px 0; }.signal-explanation h2 { font-size: 17px; }.signal-explanation ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; color: #526e70; font-size: 11px; }.signal-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; }.signal-dot.weight { background: #d46e3b; }.signal-dot.survey { background: #d7a340; }.signal-dot.symptom { background: #ca5c56; }.signal-dot.voice { background: #567fa5; }

.record-sidebar { display: grid; align-content: start; gap: 20px; }.workflow-panel, .timeline-panel { padding: 0 0 17px; border-bottom: 1px solid #d3e0dc; }.workflow-panel > p { margin: 2px 0 14px; color: #566f70; font-size: 11px; line-height: 1.5; }.primary-button, .secondary-button { border-radius: 6px; font-size: 11px; font-weight: 800; }.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 13px; border: 1px solid #08716d; color: #ffffff; background: #08716d; }.primary-button span { font-size: 15px; line-height: 1; }.secondary-button { padding: 10px 12px; border: 1px solid #bbcfca; color: #3a5d5e; background: #ffffff; }.workflow-owner { display: flex; align-items: center; gap: 8px; margin: 3px 0 12px; }.workflow-owner strong, .workflow-owner span { display: block; }.workflow-owner strong { color: #355859; font-size: 11px; }.workflow-owner span { color: #718787; font-size: 10px; }.outcome-mark { display: grid; gap: 3px; padding: 12px; border-left: 3px solid; background: #ffffff; }.outcome-mark span { font-size: 9px; font-weight: 800; text-transform: uppercase; }.outcome-mark strong { font-size: 13px; }.outcome-mark p { margin: 0; color: #718787; font-size: 10px; }.outcome-mark.resolved { border-color: #4b9a72; color: #277052; }.outcome-mark.confirmed { border-color: #cd6158; color: #a4413a; }.outcome-mark.retry { border-color: #daa440; color: #95600d; }.timeline-panel ol { display: grid; gap: 0; margin: 14px 0 0; padding: 0; list-style: none; }.timeline-item { position: relative; padding: 0 0 18px 17px; border-left: 1px solid #d5e1de; }.timeline-item::before { position: absolute; top: 2px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: #a6bcb8; content: ""; }.timeline-item.current::before { background: #0b746e; }.timeline-item.outcome::before { background: #49a477; }.timeline-item:last-child { padding-bottom: 0; }.timeline-date, .timeline-item strong, .timeline-item p { display: block; }.timeline-date { margin-bottom: 3px; color: #7b9090; font-size: 9px; }.timeline-item strong { color: #425f60; font-size: 11px; }.timeline-item p { margin: 4px 0 0; color: #718787; font-size: 10px; line-height: 1.45; }

.assessment-section .section-heading { padding-top: 11px; }.assessment-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 26px; }.transcript-panel, .response-panel { min-width: 0; }.call-meta { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-top: 1px solid #d6e3df; border-bottom: 1px solid #d6e3df; color: #6f8585; font-size: 10px; }.call-wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }.call-wave i { width: 2px; border-radius: 1px; background: #cc7048; }.call-wave i:nth-child(1) { height: 6px; }.call-wave i:nth-child(2) { height: 13px; }.call-wave i:nth-child(3) { height: 9px; }.call-wave i:nth-child(4) { height: 15px; }.call-wave i:nth-child(5) { height: 7px; }.audio-status { color: #7a8f8f; font-size: 9px; }.audio-controls { display: inline-flex; gap: 12px; margin-left: auto; }.audio-toggle { padding: 0; border: 0; color: #0a6d68; background: transparent; font-size: 10px; font-weight: 800; }.full-call-toggle { color: #075e5a; }.record-transcript { padding: 17px 0 0; }.record-message { position: relative; width: min(94%, 560px); margin-bottom: 14px; }.record-message.arthur { margin-left: auto; }.record-message > span { display: block; margin-bottom: 4px; color: #6b8283; font-size: 9px; font-weight: 800; text-transform: uppercase; }.record-message p { margin: 0; padding: 10px 38px 10px 11px; border-radius: 6px; color: #3e5d5e; background: #e3f0ed; font-size: 11px; line-height: 1.45; }.record-message.arthur p { background: #edf1f1; }.clip-button { position: absolute; right: 7px; bottom: 7px; border: 0; color: #0a6d68; background: transparent; font-size: 9px; font-weight: 800; }.response-panel { align-self: start; padding: 0 0 0 20px; border-left: 1px solid #d6e3df; }.response-panel h3 { margin: 5px 0 12px; color: #2c5253; font-size: 15px; }.response-panel dl { margin: 0; }.response-panel dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #dce7e4; }.response-panel dt, .response-panel dd { margin: 0; font-size: 10px; }.response-panel dt { color: #637b7b; }.response-panel dd { font-weight: 800; text-align: right; }.result-good { color: #2e7b5e; }.result-watch { color: #97620e; }.result-urgent { color: #a23f39; }.panel-footnote { margin: 14px 0 0; color: #788e8e; font-size: 9px; line-height: 1.45; }

.trend-stack { display: grid; gap: 15px; }.trend-panel { padding: 17px; border: 1px solid #d5e1df; border-radius: 7px; background: #ffffff; }.trend-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.trend-heading span, .trend-heading strong { display: block; }.trend-heading span { color: #6e8485; font-size: 10px; font-weight: 750; }.trend-heading strong { margin-top: 5px; color: #254a4c; font-size: 17px; }.trend-heading b { color: #b34d2a; font-size: 11px; }.trend-heading small { padding-top: 4px; color: #718787; font-size: 10px; }.large-chart { position: relative; margin-top: 15px; padding-left: 35px; }.chart-y { position: absolute; top: 8px; left: 0; display: flex; height: 132px; flex-direction: column; justify-content: space-between; color: #7c9191; font-size: 9px; }.large-chart svg { width: 100%; height: 164px; overflow: visible; }.chart-grid { stroke: #e0e9e6; stroke-width: 1; }.chart-fill { fill: #fbe8de; }.chart-line { fill: none; stroke: #cf6737; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }.large-chart circle { fill: #cf6737; stroke: #ffffff; stroke-width: 3; }.chart-x { display: flex; justify-content: space-between; margin-left: 35px; color: #7b9090; font-size: 9px; }.kccq-panel { display: grid; grid-template-columns: 1.1fr .65fr; gap: 15px; padding: 18px; border: 1px solid #dbc98c; border-radius: 7px; background: #fffdf7; }.kccq-panel > div:first-child p:last-child { margin: 8px 0 0; color: #687b72; font-size: 11px; line-height: 1.5; }.kccq-score { padding-left: 15px; border-left: 1px solid #eadcae; }.kccq-score span, .kccq-score strong, .kccq-score small { display: block; }.kccq-score span { color: #807452; font-size: 10px; }.kccq-score strong { margin-top: 7px; color: #8c6417; font-size: 30px; line-height: 1; }.kccq-score small { margin-top: 5px; color: #847854; font-size: 10px; }.kccq-history { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }.kccq-history span { padding-top: 8px; border-top: 2px solid #d7c17f; color: #827754; font-size: 9px; }.kccq-history b { display: block; margin-top: 3px; color: #735814; font-size: 12px; }.kccq-history .current { border-color: #c77648; }.kccq-history .current b { color: #a34f29; }

.rules-heading { align-items: end; }.rules-notice { display: flex; gap: 10px; padding: 13px 15px; margin-bottom: 21px; border-left: 3px solid #d59d35; color: #745e32; background: #fff9e9; font-size: 11px; line-height: 1.45; }.rules-notice strong { white-space: nowrap; }.rules-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 28px; }.rules-main { display: grid; gap: 24px; }.rule-group { border-top: 1px solid #d2dfdc; }.rule-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 17px; padding: 15px 0; border-top: 1px solid #e4ece9; }.rule-group .section-heading + .rule-row { border-top: 0; }.rule-copy > span, .rule-copy strong, .rule-copy small { display: block; }.rule-copy > span { margin-bottom: 3px; color: #748989; font-size: 10px; font-weight: 760; }.rule-copy strong { color: #36595b; font-size: 12px; }.rule-copy small { max-width: 500px; margin-top: 4px; color: #748989; font-size: 10px; line-height: 1.4; }.switch { position: relative; display: inline-block; width: 36px; height: 20px; }.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }.switch i { position: absolute; inset: 0; border-radius: 100px; background: #c6d3d0; }.switch i::after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 2px rgba(26, 60, 59, .2); content: ""; transition: transform .18s ease; }.switch input:checked + i { background: #0b766f; }.switch input:checked + i::after { transform: translateX(16px); }.number-field { display: flex; align-items: center; width: 112px; border: 1px solid #c8d8d4; border-radius: 6px; overflow: hidden; background: #ffffff; }.number-field input { width: 62px; padding: 7px 8px; border: 0; color: #385a5b; background: transparent; font-size: 11px; font-weight: 800; outline: 0; }.number-field input:disabled { color: #a2b1ae; }.number-field span { padding: 7px 8px; border-left: 1px solid #d5e1de; color: #738989; font-size: 10px; }.rules-preview { align-self: start; padding: 18px; border: 1px solid #bfded6; border-radius: 7px; background: #eff8f5; }.rules-preview h2 { margin-top: 6px; font-size: 19px; }.preview-counts { display: grid; gap: 7px; margin: 16px 0; }.preview-counts span { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 10px; border-left: 3px solid; background: #ffffff; font-size: 10px; font-weight: 760; }.preview-counts b { font-size: 17px; }.preview-counts .red { border-color: #cd6259; color: #a13f38; }.preview-counts .amber { border-color: #d8a03b; color: #90600f; }.preview-counts .green { border-color: #4a9b73; color: #297052; }.preview-arthur { padding-top: 15px; border-top: 1px solid #c5dfd8; }.preview-arthur > .status-badge { margin-top: 7px; }.preview-arthur ul { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; color: #567172; font-size: 10px; line-height: 1.35; }.preview-arthur li { padding-left: 10px; border-left: 2px solid #aacfc3; }.preview-footnote { margin: 16px 0 0; color: #6c8383; font-size: 9px; line-height: 1.45; }

.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(18, 49, 50, .46); }.modal { width: min(560px, 100%); max-height: min(740px, calc(100vh - 40px)); overflow: auto; border: 1px solid #c9d9d5; border-radius: 8px; background: #fbfdfc; box-shadow: 0 18px 50px rgba(21, 52, 53, .22); }.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 21px; border-bottom: 1px solid #dbe6e3; }.modal-heading h2 { margin: 5px 0 0; color: #264b4c; font-size: 20px; }.close-button { width: 27px; height: 27px; border: 1px solid #c5d5d1; border-radius: 50%; color: #526e6e; background: #ffffff; font-size: 16px; line-height: 1; }.modal-copy, .modal-footnote { padding: 0 21px; color: #597374; font-size: 11px; line-height: 1.5; }.modal-copy { margin: 16px 0; }.assignment-options { display: grid; gap: 9px; padding: 0 21px 16px; }.assignment-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 12px; border: 1px solid #d2dfdc; border-radius: 7px; color: #325658; background: #ffffff; text-align: left; }.assignment-option:hover { border-color: #78a99e; background: #f0f8f5; }.assignment-option strong, .assignment-option small { display: block; }.assignment-option strong { font-size: 12px; }.assignment-option small { margin-top: 3px; color: #708686; font-size: 10px; }.assignment-option b { color: #0b6f69; font-size: 10px; }.modal-footnote { margin: 0; padding-bottom: 19px; color: #7b9090; font-size: 9px; }.outcome-options { display: grid; gap: 7px; padding: 0 21px; }.outcome-option { display: flex; align-items: flex-start; gap: 9px; padding: 10px; border: 1px solid #d7e2df; border-radius: 6px; background: #ffffff; }.outcome-option.selected { border-color: #0b746e; background: #eff9f6; }.outcome-option input { margin: 2px 0 0; accent-color: #0b746e; }.outcome-option strong, .outcome-option small { display: block; }.outcome-option strong { color: #345758; font-size: 11px; }.outcome-option small { margin-top: 3px; color: #738888; font-size: 10px; line-height: 1.4; }.note-field { display: block; padding: 16px 21px; }.note-field span { display: block; margin-bottom: 6px; color: #647c7d; font-size: 10px; font-weight: 800; }.note-field textarea { width: 100%; resize: vertical; padding: 9px; border: 1px solid #cbdad6; border-radius: 6px; color: #3c5c5d; background: #ffffff; font-size: 11px; outline-color: #0b746e; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 0 21px 21px; }.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 1080px) { .app-shell { grid-template-columns: 190px minmax(0, 1fr); }.page-content { padding: 30px 26px 45px; }.app-topbar { padding: 0 26px; }.metric-grid { grid-template-columns: repeat(2, 1fr); }.record-layout, .rules-layout { grid-template-columns: 1fr; }.record-sidebar { grid-template-columns: repeat(2, 1fr); }.rules-preview { max-width: none; }.overview-grid { grid-template-columns: 1fr; }.insight-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, .5fr); gap: 10px 20px; }.insight-panel .eyebrow, .insight-panel h2, .insight-panel > p:last-of-type { grid-column: 1; }.insight-stats { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0; } }
@media (max-width: 760px) { .app-shell { display: block; }.sidebar { position: static; min-height: 0; padding: 16px; border-right: 0; border-bottom: 1px solid #d3dfdc; }.sidebar-label, .sidebar-footer { display: none; }.main-nav { display: flex; flex-wrap: wrap; margin-top: 16px; }.nav-item { flex: 1; min-width: 130px; }.app-topbar { min-height: 62px; padding: 0 16px; }.page-content { padding: 24px 16px 38px; }.page-heading, .record-title-row { display: block; }.page-heading h1, .record-title-row h1 { font-size: 27px; }.heading-meta { align-items: flex-start; margin-top: 17px; }.metric-grid { grid-template-columns: repeat(2, 1fr); }.overview-grid { margin-bottom: 22px; }.insight-panel { display: block; }.insight-stats { margin-top: 16px; }.record-snapshot { grid-template-columns: repeat(2, 1fr); }.record-snapshot div:nth-child(2) { border-right: 0; }.record-snapshot div:nth-child(n + 3) { border-top: 1px solid #e0e9e6; }.record-status { justify-items: start; margin-top: 15px; }.record-sidebar { grid-template-columns: 1fr; }.evidence-grid { grid-template-columns: 1fr; }.signal-explanation { grid-template-columns: 1fr; }.assessment-layout { grid-template-columns: 1fr; gap: 22px; }.response-panel { padding: 18px 0 0; border-top: 1px solid #d6e3df; border-left: 0; }.kccq-panel { grid-template-columns: 1fr; }.kccq-score { padding: 12px 0 0; border-top: 1px solid #eadcae; border-left: 0; }.rules-heading .secondary-button { margin-top: 17px; }.rule-row { grid-template-columns: minmax(0, 1fr) auto; }.number-field { grid-column: 2; }.filter-group { margin-top: 13px; }.table-heading { align-items: flex-start; flex-direction: column; } }
@media (max-width: 480px) { .brand { padding: 0; }.nav-item { min-width: 0; font-size: 11px; }.nav-glyph { display: none; }.app-topbar .user-chip { font-size: 0; }.metric-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.metric-card { min-height: 105px; padding: 14px; }.metric-card strong { font-size: 24px; }.record-tabs { gap: 12px; overflow-x: auto; }.record-tab { flex: 0 0 auto; font-size: 11px; }.record-snapshot strong { font-size: 15px; }.record-snapshot div, .record-snapshot div:not(:first-child) { padding: 12px 8px; }.record-snapshot div:nth-child(odd) { padding-left: 0; }.record-snapshot div:nth-child(even) { padding-right: 0; }.priority-item { grid-template-columns: auto minmax(0, 1fr); }.priority-status { grid-column: 2; justify-items: start; }.kccq-history { grid-template-columns: repeat(2, 1fr); }.modal-actions { align-items: stretch; flex-direction: column-reverse; }.modal-actions .primary-button, .modal-actions .secondary-button { width: 100%; }.rules-notice { display: block; }.rules-notice strong { display: block; margin-bottom: 4px; } }

.voice-evidence { display: grid; grid-template-columns: minmax(160px, .75fr) minmax(0, 1.35fr) auto; align-items: center; gap: 16px; padding: 13px 14px; margin-top: 10px; border: 1px solid #cbdce5; border-left: 3px solid #5a86a9; border-radius: 7px; background: #f7fafc; }.voice-evidence span, .voice-evidence strong { display: block; }.voice-evidence span { color: #657f90; font-size: 10px; font-weight: 760; }.voice-evidence strong { margin-top: 4px; color: #315d7d; font-size: 15px; }.voice-evidence p { margin: 0; color: #60757f; font-size: 10px; line-height: 1.45; }.voice-evidence .voice-evidence-tag { padding: 4px 6px; border-radius: 4px; color: #476e89; background: #e6f0f6; font-size: 9px; text-transform: uppercase; white-space: nowrap; }.voice-analysis { margin-top: 18px; padding-top: 15px; border-top: 1px solid #cbdce5; }.voice-analysis h3 { margin-bottom: 8px; color: #315d7d; }.voice-analysis-status { margin: 0 0 6px; color: #46718d; font-size: 11px; font-weight: 800; }.voice-analysis dt { color: #637887; }

@media (max-width: 760px) { .voice-evidence { grid-template-columns: 1fr; gap: 8px; }.voice-evidence .voice-evidence-tag { width: max-content; }.call-meta { flex-wrap: wrap; }.audio-controls { margin-left: 0; } }

.risk-overview { margin-top: 27px; padding: 16px 0 18px; border-top: 1px solid #d4e1de; border-bottom: 1px solid #d4e1de; }.risk-overview-heading, .patient-profile-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }.risk-overview-heading h2 { margin: 4px 0 0; color: #214a4b; font-size: 17px; line-height: 1.25; }.risk-overview-heading > span, .patient-profile-heading > span { color: #718888; font-size: 10px; }.risk-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }.risk-overview-card { min-width: 0; padding: 12px; border: 1px solid #d5e1df; border-top: 3px solid; border-radius: 7px; background: #ffffff; }.risk-overview-card span, .risk-overview-card strong, .risk-overview-card small { display: block; }.risk-overview-card span { color: #718787; font-size: 10px; font-weight: 800; }.risk-overview-card strong { margin-top: 8px; font-size: 21px; line-height: 1; }.risk-overview-card small { margin-top: 6px; color: #627a7b; font-size: 10px; line-height: 1.35; }.risk-overview-card.red { border-top-color: #ca5c56; }.risk-overview-card.red strong { color: #a23e38; }.risk-overview-card.amber { border-top-color: #d7a340; }.risk-overview-card.amber strong { color: #97650e; }.risk-overview-card.green { border-top-color: #4a9b73; }.risk-overview-card.green strong { color: #297052; }

.patient-profile { padding: 17px 0 18px; border-bottom: 1px solid #d4e1de; }.patient-profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 13px 0 0; }.patient-profile-grid div { min-width: 0; padding: 0 14px; border-left: 1px solid #e0e9e6; }.patient-profile-grid div:first-child { padding-left: 0; border-left: 0; }.patient-profile-grid div:last-child { padding-right: 0; }.patient-profile-grid dt { color: #718889; font-size: 10px; font-weight: 800; text-transform: uppercase; }.patient-profile-grid dd { margin: 6px 0 0; color: #2d5051; font-size: 12px; font-weight: 750; line-height: 1.35; }

.combined-narrative { padding: 21px 0 23px; border-bottom: 1px solid #d8e4e1; }.combined-narrative h2 { margin: 5px 0 0; color: #214a4b; font-size: 21px; }.combined-narrative > p:not(.eyebrow):not(.muted-note) { max-width: 780px; margin: 11px 0 0; color: #536f70; font-size: 13px; line-height: 1.62; }.narrative-signals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; }.narrative-signals li { padding: 10px 0 10px 11px; border-top: 1px solid #dce7e4; border-left: 3px solid; }.narrative-signals li.red { border-left-color: #ca5c56; }.narrative-signals li.amber { border-left-color: #d7a340; }.narrative-signals span, .narrative-signals strong { display: block; }.narrative-signals span { margin-bottom: 4px; color: #6c8383; font-size: 10px; font-weight: 800; }.narrative-signals strong { color: #456162; font-size: 11px; line-height: 1.45; }.combined-narrative .muted-note { margin: 16px 0 0; }

@media (max-width: 760px) { .risk-overview-grid, .patient-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.patient-profile-grid { gap: 12px 0; }.patient-profile-grid div:nth-child(3) { padding-left: 0; border-left: 0; }.narrative-signals { grid-template-columns: 1fr; } }

.cohort-distribution { margin-bottom: 29px; border-top: 1px solid #cfded9; border-bottom: 1px solid #cfded9; }.cohort-distribution .section-heading { padding-bottom: 14px; }.distribution-bar { display: flex; width: 100%; height: 16px; overflow: hidden; border-radius: 6px; background: #dfe9e5; }.distribution-segment { min-width: 0; }.distribution-segment.red { background: #ce655d; }.distribution-segment.amber { background: #d8a03b; }.distribution-segment.green { background: #4b9a73; }.distribution-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 13px 0 16px; }.distribution-legend span { display: flex; align-items: center; gap: 6px; color: #587273; font-size: 11px; }.distribution-legend i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }.distribution-legend b { color: #2b5051; font-size: 15px; }.distribution-legend .red { color: #b34942; }.distribution-legend .amber { color: #a56d13; }.distribution-legend .green { color: #317354; }.checkin-progress { display: grid; grid-template-columns: 155px minmax(100px, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #dce7e4; }.checkin-progress p, .checkin-progress strong { margin: 0; }.checkin-progress p { color: #6d8586; font-size: 10px; font-weight: 800; text-transform: uppercase; }.checkin-progress strong { display: block; margin-top: 4px; color: #315657; font-size: 13px; }.checkin-track { height: 7px; overflow: hidden; border-radius: 5px; background: #dce8e4; }.checkin-track i { display: block; height: 100%; border-radius: inherit; background: #4c899e; }.checkin-progress > span { color: #617a7b; font-size: 10px; white-space: nowrap; }.action-queue { margin-bottom: 30px; }

@media (max-width: 760px) { .distribution-legend { gap: 9px; }.checkin-progress { grid-template-columns: 1fr auto; }.checkin-track { grid-column: 1 / -1; grid-row: 2; } }

/* Health & Wellness design-system theme */
:root { --hw-primary: #0D7C66; --hw-primary-hover: #0A6352; --hw-primary-light: #E6F5F1; --hw-primary-dark: #065445; --hw-background: #FAFBFC; --hw-surface: #FFFFFF; --hw-surface-warm: #F7F5F2; --hw-border: #E2E5E9; --hw-border-strong: #CBD0D6; --hw-text: #1A202C; --hw-secondary: #4A5568; --hw-muted: #718096; --hw-success: #2F855A; --hw-success-light: #F0FFF4; --hw-warning: #C05621; --hw-warning-light: #FFFAF0; --hw-error: #C53030; --hw-error-light: #FFF5F5; --hw-info: #2B6CB0; --hw-info-light: #EBF8FF; font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--hw-text); background: var(--hw-background); }
body { background: var(--hw-background); }.app-shell { background: var(--hw-background); grid-template-columns: 220px minmax(0, 1fr); }.sidebar { padding: 24px 16px; border-right-color: var(--hw-border); background: var(--hw-surface); }.brand { padding: 0 8px; color: var(--hw-text); font-size: 18px; font-weight: 700; }.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--hw-primary); }.sidebar-label, .eyebrow { color: var(--hw-secondary); font-size: 12px; letter-spacing: 0; }.sidebar-label { margin-top: 36px; }.main-nav { gap: 6px; }.nav-item { min-height: 48px; padding: 12px; border-radius: 8px; color: var(--hw-secondary); font-size: 14px; font-weight: 600; }.nav-item:hover { background: var(--hw-primary-light); color: var(--hw-primary-dark); }.nav-item.active { color: var(--hw-primary-dark); background: var(--hw-primary-light); }.nav-glyph, .nav-item.active .nav-glyph { color: currentColor; }.sidebar-footer { border-top-color: var(--hw-border); }.sidebar-footer strong { color: var(--hw-text); font-size: 14px; }.sidebar-footer p { color: var(--hw-secondary); font-size: 12px; line-height: 1.6; }

.app-topbar { min-height: 64px; padding: 0 32px; border-bottom-color: var(--hw-border); background: var(--hw-surface); }.trust-label { color: var(--hw-secondary); font-size: 12px; letter-spacing: 0; }.app-topbar strong, .user-chip { color: var(--hw-text); font-size: 14px; }.user-chip small { color: var(--hw-secondary); font-size: 12px; }.presence { color: var(--hw-success); }.presence i { background: var(--hw-success); }.page-content { width: min(960px, 100%); padding: 32px; }.page-heading { margin-bottom: 32px; }.page-heading h1, .record-title-row h1 { margin: 8px 0; color: var(--hw-text); font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: 0; }.page-copy { max-width: 640px; color: var(--hw-secondary); font-size: 16px; line-height: 1.7; }.heading-meta { color: var(--hw-secondary); font-size: 12px; }.section-heading { padding: 20px 0 16px; }.section-heading h2, .record-section h2, .workflow-panel h2, .timeline-panel h2, .kccq-panel h2, .rules-preview h2 { color: var(--hw-text); font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }.section-heading > span { color: var(--hw-secondary); font-size: 12px; }

.status-badge { padding: 6px 10px; border-radius: 9999px; font-size: 12px; font-weight: 700; }.status-badge.red { color: var(--hw-error); background: var(--hw-error-light); }.status-badge.amber { color: var(--hw-warning); background: var(--hw-warning-light); }.status-badge.green { color: var(--hw-success); background: var(--hw-success-light); }.avatar { color: var(--hw-primary-dark); background: var(--hw-primary-light); }.avatar.red { color: var(--hw-error); background: var(--hw-error-light); }.avatar.amber { color: var(--hw-warning); background: var(--hw-warning-light); }.avatar.green, .avatar.teal { color: var(--hw-success); background: var(--hw-success-light); }

.cohort-distribution, .priority-panel, .cohort-section { border-color: var(--hw-border); }.distribution-bar { height: 14px; border-radius: 8px; background: var(--hw-border); }.distribution-segment.red { background: var(--hw-error); }.distribution-segment.amber { background: var(--hw-warning); }.distribution-segment.green { background: var(--hw-success); }.distribution-legend span { color: var(--hw-secondary); font-size: 14px; }.distribution-legend b { color: var(--hw-text); font-size: 16px; }.distribution-legend .red { color: var(--hw-error); }.distribution-legend .amber { color: var(--hw-warning); }.distribution-legend .green { color: var(--hw-success); }.checkin-progress { border-top-color: var(--hw-border); }.checkin-progress p { color: var(--hw-secondary); font-size: 12px; letter-spacing: 0; }.checkin-progress strong { color: var(--hw-text); font-size: 16px; }.checkin-track { height: 8px; background: var(--hw-border); }.checkin-track i { background: var(--hw-info); }.checkin-progress > span { color: var(--hw-secondary); font-size: 12px; }

.priority-list { border-bottom-color: var(--hw-border); }.priority-item { min-height: 76px; padding: 16px 0; border-top-color: var(--hw-border); }.priority-copy strong { color: var(--hw-text); font-size: 14px; }.priority-copy span, .priority-copy p { color: var(--hw-secondary); font-size: 12px; line-height: 1.6; }.priority-status { gap: 9px; }.queue-note, .queue-empty { color: var(--hw-secondary); font-size: 12px; }.text-action, .row-action, .back-button { color: var(--hw-primary); font-size: 14px; font-weight: 700; }.text-action:hover, .row-action:hover, .back-button:hover { color: var(--hw-primary-hover); }

.patient-table-wrap { border-color: var(--hw-border); border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }.patient-table { color: var(--hw-text); }.patient-table th { padding: 14px 16px; border-bottom-color: var(--hw-border); color: var(--hw-secondary); font-size: 12px; letter-spacing: 0; }.patient-table td { padding: 15px 16px; border-bottom-color: var(--hw-border); }.patient-table .featured-row { background: var(--hw-primary-light); }.patient-cell strong { color: var(--hw-text); font-size: 14px; }.patient-cell span, .patient-table td small, .contact-time, .detail-unavailable { color: var(--hw-secondary); font-size: 12px; }.signal-copy { color: var(--hw-text); font-size: 13px; }.workflow-label { font-size: 12px; }.workflow-label.red { color: var(--hw-error); }.workflow-label.amber { color: var(--hw-warning); }.workflow-label.green { color: var(--hw-success); }.filter-group { border-color: var(--hw-border-strong); border-radius: 8px; background: var(--hw-surface); }.filter-button { min-height: 36px; border-radius: 6px; color: var(--hw-secondary); font-size: 12px; }.filter-button.active { background: var(--hw-primary); }

.record-header { margin-bottom: 28px; }.back-button { min-height: 32px; margin-bottom: 20px; padding: 0; }.patient-identity > div > p:last-child { color: var(--hw-secondary); font-size: 14px; line-height: 1.6; }.record-status { color: var(--hw-secondary); font-size: 12px; }.risk-overview, .patient-profile { border-color: var(--hw-border); }.risk-overview-heading h2 { color: var(--hw-text); font-size: 22px; font-weight: 600; }.risk-overview-heading > span, .patient-profile-heading > span { color: var(--hw-secondary); font-size: 12px; }.risk-overview-card { padding: 16px; border-color: var(--hw-border); border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }.risk-overview-card span { color: var(--hw-secondary); font-size: 12px; }.risk-overview-card strong { margin-top: 9px; font-size: 22px; }.risk-overview-card small { color: var(--hw-secondary); font-size: 12px; }.risk-overview-card.red { border-top-color: var(--hw-error); }.risk-overview-card.red strong { color: var(--hw-error); }.risk-overview-card.amber { border-top-color: var(--hw-warning); }.risk-overview-card.amber strong { color: var(--hw-warning); }.risk-overview-card.green { border-top-color: var(--hw-success); }.risk-overview-card.green strong { color: var(--hw-success); }.patient-profile-grid div { border-left-color: var(--hw-border); }.patient-profile-grid dt { color: var(--hw-secondary); font-size: 12px; letter-spacing: 0; }.patient-profile-grid dd { color: var(--hw-text); font-size: 14px; font-weight: 600; }.record-tabs { gap: 24px; border-bottom-color: var(--hw-border); }.record-tab { min-height: 44px; color: var(--hw-secondary); font-size: 14px; font-weight: 600; }.record-tab.active { color: var(--hw-primary-dark); }.record-tab.active::after { height: 3px; background: var(--hw-primary); }.combined-narrative { border-bottom-color: var(--hw-border); }.combined-narrative h2 { color: var(--hw-text); font-size: 22px; font-weight: 600; }.combined-narrative > p:not(.eyebrow):not(.muted-note) { color: var(--hw-secondary); font-size: 16px; line-height: 1.7; }.narrative-signals li { border-top-color: var(--hw-border); }.narrative-signals li.red { border-left-color: var(--hw-error); }.narrative-signals li.amber { border-left-color: var(--hw-warning); }.narrative-signals span { color: var(--hw-secondary); font-size: 12px; }.narrative-signals strong { color: var(--hw-text); font-size: 14px; line-height: 1.6; }.muted-note, .combined-narrative .muted-note { color: var(--hw-secondary); font-size: 12px; line-height: 1.6; }

.workflow-panel, .timeline-panel { border-bottom-color: var(--hw-border); }.workflow-panel > p, .timeline-item p { color: var(--hw-secondary); font-size: 14px; line-height: 1.6; }.primary-button, .secondary-button { min-height: 48px; border-radius: 8px; font-size: 16px; font-weight: 600; }.primary-button { padding: 12px 16px; border-color: var(--hw-primary); background: var(--hw-primary); }.primary-button:hover { border-color: var(--hw-primary-hover); background: var(--hw-primary-hover); }.secondary-button { padding: 12px 16px; border-color: var(--hw-border-strong); color: var(--hw-text); background: var(--hw-surface); }.secondary-button:hover { border-color: var(--hw-primary); color: var(--hw-primary-dark); background: var(--hw-primary-light); }.workflow-owner strong, .timeline-item strong { color: var(--hw-text); font-size: 14px; }.workflow-owner span, .timeline-date { color: var(--hw-secondary); font-size: 12px; }.timeline-item { border-left-color: var(--hw-border-strong); }.timeline-item::before { background: var(--hw-border-strong); }.timeline-item.current::before { background: var(--hw-primary); }.timeline-item.outcome::before { background: var(--hw-success); }.outcome-mark { border-radius: 0 8px 8px 0; background: var(--hw-surface); }.outcome-mark.resolved { border-color: var(--hw-success); color: var(--hw-success); }.outcome-mark.confirmed { border-color: var(--hw-error); color: var(--hw-error); }.outcome-mark.retry { border-color: var(--hw-warning); color: var(--hw-warning); }

.call-meta { padding: 14px 0; border-color: var(--hw-border); color: var(--hw-secondary); font-size: 12px; }.audio-status { color: var(--hw-secondary); font-size: 12px; }.audio-toggle, .clip-button { color: var(--hw-primary); font-size: 12px; }.record-message > span { color: var(--hw-secondary); font-size: 12px; }.record-message p { padding: 12px 42px 12px 14px; border-radius: 8px; color: var(--hw-text); background: var(--hw-primary-light); font-size: 14px; line-height: 1.6; }.record-message.arthur p { background: var(--hw-surface-warm); }.response-panel { border-left-color: var(--hw-border); }.response-panel h3 { color: var(--hw-text); font-size: 18px; }.response-panel dl div { padding: 12px 0; border-top-color: var(--hw-border); }.response-panel dt, .response-panel dd { font-size: 12px; }.response-panel dt { color: var(--hw-secondary); }.result-good { color: var(--hw-success); }.result-watch { color: var(--hw-warning); }.result-urgent { color: var(--hw-error); }.voice-analysis { border-top-color: var(--hw-border); }.voice-analysis h3 { color: var(--hw-info); }.voice-analysis-status { color: var(--hw-info); font-size: 14px; }.voice-analysis dt { color: var(--hw-secondary); }.panel-footnote { color: var(--hw-secondary); font-size: 12px; line-height: 1.6; }

.trend-panel, .kccq-panel { border-color: var(--hw-border); border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }.trend-panel { background: var(--hw-surface); }.trend-heading span, .trend-heading small { color: var(--hw-secondary); font-size: 12px; }.trend-heading strong { color: var(--hw-text); font-size: 18px; }.trend-heading b { color: var(--hw-warning); }.chart-grid { stroke: var(--hw-border); }.chart-fill { fill: var(--hw-warning-light); }.chart-line, .large-chart circle { stroke: var(--hw-warning); fill: var(--hw-warning); }.kccq-panel { background: var(--hw-warning-light); }.kccq-panel > div:first-child p:last-child { color: var(--hw-secondary); font-size: 14px; line-height: 1.6; }.kccq-score { border-left-color: #F1DEC9; }.kccq-score span, .kccq-score small { color: var(--hw-secondary); font-size: 12px; }.kccq-score strong { color: var(--hw-warning); }.kccq-history span { border-top-color: #E8CBAE; color: var(--hw-secondary); font-size: 12px; }.kccq-history b { color: var(--hw-text); }

.rules-notice { padding: 16px; border-left-color: var(--hw-warning); color: var(--hw-secondary); background: var(--hw-warning-light); font-size: 14px; line-height: 1.6; }.rules-notice strong { color: var(--hw-warning); }.rule-group { border-top-color: var(--hw-border); }.rule-row { padding: 18px 0; border-top-color: var(--hw-border); }.rule-copy > span { color: var(--hw-secondary); font-size: 12px; }.rule-copy strong { color: var(--hw-text); font-size: 14px; }.rule-copy small { color: var(--hw-secondary); font-size: 12px; line-height: 1.6; }.switch i { background: var(--hw-border-strong); }.switch input:checked + i { background: var(--hw-primary); }.number-field { border-color: var(--hw-border-strong); border-radius: 8px; }.number-field input { color: var(--hw-text); font-size: 14px; }.number-field span { border-left-color: var(--hw-border); color: var(--hw-secondary); font-size: 12px; }.rules-preview { border-color: #B9E2D9; border-radius: 12px; background: var(--hw-primary-light); }.rules-preview h2 { color: var(--hw-text); }.preview-counts span { background: var(--hw-surface); font-size: 12px; }.preview-counts .red { border-color: var(--hw-error); color: var(--hw-error); }.preview-counts .amber { border-color: var(--hw-warning); color: var(--hw-warning); }.preview-counts .green { border-color: var(--hw-success); color: var(--hw-success); }.preview-arthur { border-top-color: #B9E2D9; }.preview-arthur ul, .preview-footnote { color: var(--hw-secondary); font-size: 12px; line-height: 1.6; }.preview-arthur li { border-left-color: var(--hw-primary); }

.modal-backdrop { background: rgba(26, 32, 44, .36); }.modal { border-color: var(--hw-border); border-radius: 12px; background: var(--hw-surface); box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }.modal-heading { border-bottom-color: var(--hw-border); }.modal-heading h2 { color: var(--hw-text); font-size: 22px; }.close-button { width: 32px; height: 32px; border-color: var(--hw-border-strong); color: var(--hw-secondary); }.modal-copy, .modal-footnote { color: var(--hw-secondary); font-size: 14px; line-height: 1.6; }.assignment-option, .outcome-option { border-color: var(--hw-border); border-radius: 8px; }.assignment-option:hover { border-color: var(--hw-primary); background: var(--hw-primary-light); }.assignment-option strong, .outcome-option strong { color: var(--hw-text); font-size: 14px; }.assignment-option small, .outcome-option small { color: var(--hw-secondary); font-size: 12px; line-height: 1.6; }.assignment-option b { color: var(--hw-primary); }.outcome-option.selected { border-color: var(--hw-primary); background: var(--hw-primary-light); }.note-field span { color: var(--hw-secondary); font-size: 12px; }.note-field textarea { padding: 12px; border-color: var(--hw-border-strong); border-radius: 8px; color: var(--hw-text); font-size: 16px; line-height: 1.6; outline-color: var(--hw-primary); }

button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(13, 124, 102, .32); outline-offset: 2px; }

@media (max-width: 1080px) { .app-topbar { padding: 0 24px; }.page-content { padding: 28px 24px; } }
@media (max-width: 760px) { .sidebar { padding: 16px; }.app-topbar { padding: 0 16px; }.page-content { width: 100%; padding: 24px 16px 36px; }.page-heading h1, .record-title-row h1 { font-size: 28px; }.risk-overview-card { padding: 14px; }.primary-button, .secondary-button { width: 100%; }.response-panel { border-top-color: var(--hw-border); }.record-message { width: 100%; } }

.assessment-record-layout { grid-template-columns: 1fr; }.assessment-record-layout .record-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }.live-assessment-layout { grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr); gap: 28px; }.live-assessment-layout .call-meta { align-items: center; }.live-assessment-layout .audio-controls { gap: 10px; }.live-assessment-layout .audio-toggle { min-height: 40px; padding: 8px 10px; border: 1px solid var(--hw-border-strong); border-radius: 8px; background: var(--hw-surface); }.live-assessment-layout .full-call-toggle { border-color: var(--hw-primary); color: var(--hw-surface); background: var(--hw-primary); }.live-assessment-layout .full-call-toggle:hover { border-color: var(--hw-primary-hover); background: var(--hw-primary-hover); }.live-transcript { max-height: 610px; overflow: auto; padding-right: 8px; }.live-transcript .record-message { transition: opacity .2s ease, transform .2s ease; }.live-transcript .record-message.upcoming { opacity: .35; }.live-transcript .record-message.active { transform: translateX(2px); }.live-transcript .record-message.active p { outline: 2px solid rgba(13, 124, 102, .28); outline-offset: 2px; }.live-transcript .record-message.completed { opacity: .82; }

.live-evidence-panel { min-width: 0; padding: 18px; border: 1px solid var(--hw-border); border-radius: 12px; background: var(--hw-surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }.live-evidence-panel h3 { margin: 5px 0 0; color: var(--hw-text); font-size: 18px; line-height: 1.35; }.evidence-progress { display: grid; gap: 8px; margin: 17px 0 15px; }.evidence-progress span { color: var(--hw-secondary); font-size: 12px; }.evidence-progress span b { color: var(--hw-text); }.evidence-progress > i { display: block; height: 8px; overflow: hidden; border-radius: 5px; background: var(--hw-border); }.evidence-progress > i > b { display: block; height: 100%; border-radius: inherit; background: var(--hw-primary); transition: width .35s ease; }.live-signal-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }.live-signal { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--hw-border); }.live-signal-marker { position: relative; width: 10px; height: 10px; margin-top: 4px; border: 2px solid var(--hw-border-strong); border-radius: 50%; background: var(--hw-surface); }.live-signal > div > span, .live-signal strong, .live-signal small { display: block; }.live-signal > div > span { color: var(--hw-secondary); font-size: 12px; font-weight: 700; }.live-signal strong { margin-top: 3px; color: var(--hw-muted); font-size: 13px; line-height: 1.45; }.live-signal small { margin-top: 4px; color: var(--hw-secondary); font-size: 11px; line-height: 1.45; }.live-signal.listening .live-signal-marker { border-color: var(--hw-info); background: var(--hw-info-light); animation: live-signal-pulse 1.2s ease-in-out infinite; }.live-signal.listening strong { color: var(--hw-info); }.live-signal.green .live-signal-marker { border-color: var(--hw-success); background: var(--hw-success); }.live-signal.green strong { color: var(--hw-success); }.live-signal.amber .live-signal-marker { border-color: var(--hw-warning); background: var(--hw-warning); }.live-signal.amber strong { color: var(--hw-warning); }.live-signal.red .live-signal-marker { border-color: var(--hw-error); background: var(--hw-error); }.live-signal.red strong { color: var(--hw-error); }.live-review-state { display: grid; gap: 3px; padding: 14px 0 0 13px; margin-top: 6px; border-top: 1px solid var(--hw-border); border-left: 3px solid var(--hw-border-strong); }.live-review-state span { color: var(--hw-secondary); font-size: 12px; font-weight: 700; }.live-review-state strong { color: var(--hw-text); font-size: 16px; }.live-review-state p { margin: 0; color: var(--hw-secondary); font-size: 12px; line-height: 1.55; }.live-review-state.red { border-left-color: var(--hw-error); }.live-review-state.red strong { color: var(--hw-error); }.live-review-state.amber { border-left-color: var(--hw-warning); }.live-review-state.amber strong { color: var(--hw-warning); }

@keyframes live-signal-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(43, 108, 176, .2); } 50% { box-shadow: 0 0 0 5px rgba(43, 108, 176, 0); } }
@media (max-width: 760px) { .assessment-record-layout .record-sidebar { grid-template-columns: 1fr; }.live-assessment-layout { grid-template-columns: 1fr; gap: 22px; }.live-transcript { max-height: none; overflow: visible; }.live-assessment-layout .audio-controls { width: 100%; margin-left: 0; }.live-assessment-layout .audio-toggle { flex: 1; } }

.live-transcript .record-message { animation: transcript-message-in .2s ease both; }.live-transcript .record-message.upcoming { display: none; }
@keyframes transcript-message-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.patient-profile { padding: 0; }.patient-profile summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; color: var(--hw-primary-dark); cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }.patient-profile summary::-webkit-details-marker { display: none; }.patient-profile summary::after { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--hw-border-strong); border-radius: 50%; color: var(--hw-primary); content: "+"; }.patient-profile[open] summary::after { content: "-"; }.patient-profile summary > span:last-child { margin-left: auto; color: var(--hw-secondary); font-size: 12px; font-weight: 400; }.patient-profile[open] summary { border-bottom: 1px solid var(--hw-border); }.patient-profile[open] .patient-profile-grid { padding-bottom: 18px; }

.evidence-group { padding-top: 14px; border-top: 1px solid var(--hw-border); }.evidence-group + .evidence-group { margin-top: 6px; }.evidence-group > .eyebrow { margin-bottom: 3px; color: var(--hw-primary-dark); font-size: 11px; }.evidence-group .live-signal:first-child { border-top: 0; }

.voice-sample-waveform { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 8px; }.voice-sample-waveform > span { color: var(--hw-info); font-size: 10px; font-weight: 700; }.voice-sample-waveform > i { display: flex; align-items: center; gap: 2px; height: 22px; }.voice-sample-waveform b { display: block; width: 2px; height: var(--bar); max-height: 20px; border-radius: 2px; background: var(--hw-info); opacity: .55; transform-origin: center; }.voice-sample-waveform.collecting b { animation: voice-sample-pulse .9s ease-in-out infinite alternate; opacity: 1; }.voice-sample-waveform.captured > span { color: var(--hw-success); }.voice-sample-waveform.captured b { background: var(--hw-success); opacity: .7; }
@keyframes voice-sample-pulse { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

