:root{color:#172033;background:#f8fafc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{margin:0}.app-shell{max-width:76rem;margin:0 auto;padding:3rem 1.5rem}.app-eyebrow{letter-spacing:.08em;text-transform:uppercase}.status-card{background:#fff;border:1px solid #cbd5e1;border-radius:.75rem;margin-top:1rem;padding:1.25rem;box-shadow:0 1px 2px #0f172a0f}.status-card h2,.status-card h3{margin-top:0}.diagnostics-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.diagnostics-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));gap:1rem;display:grid}.diagnostics-grid .status-card{margin-top:0}.diagnostic-status{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.status-badge{border:1px solid;border-radius:999px;align-items:center;min-height:1.5rem;padding:.1rem .55rem;font-size:.8125rem;font-weight:700;display:inline-flex}.status-badge--available{color:#166534;background:#f0fdf4}.status-badge--degraded{color:#92400e;background:#fffbeb}.status-badge--unavailable{color:#991b1b;background:#fef2f2}.status-badge--notConfigured{color:#475569;background:#f8fafc}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));gap:.75rem;margin:1rem 0 0;display:grid}.metric{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;padding:.75rem}.metric dt{color:#475569;margin-top:0;font-size:.8125rem}.metric dd{font-variant-numeric:tabular-nums;margin-top:.3rem;font-size:1.125rem}.diagnostic-group{border-top:1px solid #e2e8f0;margin-top:1.25rem;padding-top:1rem}.diagnostic-group h3{font-size:1rem}.diagnostic-action{color:#fff;min-height:2.5rem;font:inherit;cursor:pointer;background:#1d4ed8;border:1px solid #1d4ed8;border-radius:.5rem;padding:.5rem .9rem;font-weight:700}.diagnostic-action:disabled{cursor:wait;opacity:.65}.diagnostic-note,.unavailable-value{color:#475569}code{font-size:.875em}time{font-variant-numeric:tabular-nums}dt{margin-top:.75rem;font-weight:700}dd{overflow-wrap:anywhere;margin-left:0}@media (width<=40rem){.app-shell{padding:2rem 1rem}.diagnostics-header{display:block}.diagnostic-action{width:100%;margin-top:.75rem}}@font-face{font-family:Geist;src:url(/fonts/Geist.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Geist Mono;src:url(/fonts/GeistMono.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}*{box-sizing:border-box}.dashboard{--portal-bg:oklch(98% 0 0);--portal-card:oklch(100% 0 0);--portal-text:oklch(14.5% 0 0);--portal-muted:oklch(50% 0 0);--portal-soft:oklch(96% 0 0);--portal-border:oklch(91% 0 0);--portal-sidebar:oklch(98.5% 0 0);--portal-brand:oklch(20.5% 0 0);--portal-brand-text:oklch(98.5% 0 0);--portal-good:oklch(59.6% .145 163.225);--portal-warn:oklch(68.1% .162 75.834);--portal-bad:oklch(57.7% .245 27.325);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--bubble-devika:#d9fdd3;--bubble-devika-text:oklch(30% .05 150);--portal-ring:oklch(70.8% 0 0);background:var(--portal-bg);min-height:100vh;color:var(--portal-text);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Geist,ui-sans-serif,system-ui,sans-serif;font-size:14px;line-height:1.5;display:flex}.dashboard[data-theme=dark]{--portal-bg:oklch(13% 0 0);--portal-card:oklch(17% 0 0);--portal-text:oklch(93% 0 0);--portal-muted:oklch(60% 0 0);--portal-soft:oklch(22% 0 0);--portal-border:oklch(100% 0 0/.1);--portal-sidebar:oklch(15% 0 0);--portal-brand:oklch(93% 0 0);--portal-brand-text:oklch(17% 0 0);--portal-good:oklch(69.6% .17 162.48);--portal-warn:oklch(76.9% .188 70.08);--portal-bad:oklch(70.4% .191 22.216);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--bubble-devika:#005c4b;--bubble-devika-text:oklch(93% .02 160);--portal-ring:oklch(55.6% 0 0);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.dashboard button,.dashboard input,.dashboard select{font:inherit;color:inherit}.dashboard button{cursor:pointer}.dashboard button:disabled{opacity:.35;cursor:default}.dashboard a{color:inherit}.dashboard :is(button,a,input,select,.chart-wrap,.table-scroll):focus-visible{outline:2px solid var(--portal-ring);outline-offset:2px}.dashboard code{font-family:Geist Mono,ui-monospace,monospace;font-size:.875em}.dashboard button,.dashboard a{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.sidebar{background:var(--portal-sidebar);flex-direction:column;flex-shrink:0;gap:16px;width:256px;height:100vh;padding:8px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;padding:8px;text-decoration:none;display:flex}.brand-mark{background:var(--portal-brand);width:32px;height:32px;color:var(--portal-brand-text);border-radius:9px;flex-shrink:0;place-items:center;display:grid}.brand-mark svg{width:16px;height:16px}.brand strong,.brand small{display:block}.brand strong{font-size:14px;font-weight:600;line-height:1.3}.brand small{color:var(--portal-muted);margin-top:2px;font-size:11.5px}.nav-label{color:var(--portal-muted);text-transform:uppercase;letter-spacing:.04em;padding:0 8px 6px;font-size:11px}.sidebar nav{flex-direction:column;gap:2px;display:flex}.sidebar nav a,.theme-toggle{border-radius:8px;align-items:center;gap:9px;padding:7px 10px;font-size:13.5px;text-decoration:none;display:flex}.sidebar nav a:hover,.sidebar nav a.active,.theme-toggle:hover{background:var(--portal-soft)}.sidebar nav a.active{font-weight:500}.sidebar nav svg,.theme-toggle svg{opacity:.75;flex-shrink:0;width:17px;height:17px}.sidebar-foot{margin-top:auto}.theme-toggle{text-align:left;background:0 0;border:0;width:100%}.dashboard-main{background:var(--portal-bg);border-radius:12px;flex:1;min-width:0;margin:8px 8px 8px 0}.dashboard-content{padding:0 16px 32px}.app-header{align-items:center;gap:12px;min-width:0;height:64px;padding:0 16px;display:flex}.sidebar-trigger,.drawer-close{background:0 0;border:0;border-radius:6px;flex-shrink:0;place-items:center;width:28px;height:28px;padding:0;display:grid}.sidebar-trigger:hover,.drawer-close:hover{background:var(--portal-soft)}.sidebar-trigger svg,.drawer-close svg{width:16px;height:16px}.header-separator{background:var(--portal-border);flex-shrink:0;width:1px;height:16px}.breadcrumbs{min-width:0;font-size:14px}.breadcrumbs ol{flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:0;list-style:none;display:flex}.breadcrumbs a{color:var(--portal-muted);text-decoration:none}.breadcrumbs a:hover{color:var(--portal-text);text-decoration:underline}.breadcrumbs svg{width:14px;height:14px;color:var(--portal-muted)}.sidebar-dialog{background:var(--portal-sidebar);width:min(288px,100vw - 40px);max-width:none;height:100dvh;max-height:none;color:var(--portal-text);border:0;margin:0;padding:0}.sidebar-dialog::backdrop{background:oklch(0% 0 0/.5)}.sidebar-dialog .sidebar{width:100%;height:100%;position:static}.drawer-close{align-self:flex-end}html.navigation-open{overflow:hidden}.chart-axis-labels{color:var(--portal-muted);justify-content:space-between;gap:8px;font-size:11px;display:flex}.stat-label-copy{align-items:center;gap:6px;display:inline-flex}.stat-icon{opacity:.5;flex-shrink:0;display:inline-flex}.stat-icon svg{width:16px;height:16px}@media (width<=767px){.dashboard-main{border-radius:0;margin:0}.app-header{gap:8px}.breadcrumbs{font-size:12px}}.page{flex-direction:column;gap:14px;min-width:0;display:flex}.page-header{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:2px;display:flex}.page-header>div:first-child{flex:1;min-width:min(100%,280px)}.page-header h1{letter-spacing:-.01em;margin:0;font-size:20px;font-weight:600}.page-header p{color:var(--portal-muted);max-width:62ch;margin:4px 0 0;font-size:13px}.card{border:1px solid var(--portal-border);background:var(--portal-card);border-radius:12px;min-width:0;padding:18px;position:relative}.card h2{color:var(--portal-muted);align-items:center;gap:6px;margin:0 0 14px;font-size:12.5px;font-weight:500;display:flex}.card-note{color:var(--portal-muted);margin:-10px 0 14px;font-size:12px}.stat-grid{gap:14px;display:grid}.stat-grid.five{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr))}.stat-grid.six{grid-template-columns:minmax(0,1fr)}@media (width>=640px){.stat-grid.six{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=1024px){.stat-grid.six{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=1280px){.stat-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}}.stat-grid.four,.stat-grid.three{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))}.stat-card{min-height:105px}.stat-label{color:var(--portal-muted);justify-content:space-between;align-items:baseline;gap:6px;margin-bottom:8px;font-size:12.5px;font-weight:500;display:flex}.stat-value{letter-spacing:-.02em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:27px;font-weight:600;line-height:1.5}.stat-value.text-value{letter-spacing:normal;font-size:17px;line-height:1.5}.stat-subtitle{color:var(--portal-muted);letter-spacing:normal;margin-left:7px;font-size:12.5px;font-weight:400;line-height:1.4;display:inline-block}.two-column{grid-template-columns:1fr;gap:14px;display:grid}@media (width>=1000px){.two-column{grid-template-columns:repeat(2,minmax(0,1fr))}}.card-stack{flex-direction:column;gap:14px;min-width:0;display:flex}.window-control{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.window-presets,.tier-filter,.detail-tabs{background:var(--portal-soft);border-radius:9px;gap:2px;padding:3px;display:flex}.window-control button,.tier-filter button,.detail-tabs a{color:var(--portal-muted);background:0 0;border:0;border-radius:7px;padding:5px 12px;font-size:12.5px;font-weight:500;text-decoration:none}.window-control button.active,.tier-filter button[aria-pressed=true],.detail-tabs a.active{background:var(--portal-card);color:var(--portal-text);box-shadow:0 1px 2px oklch(0% 0 0/.12)}.window-step{align-items:center;gap:5px;display:flex}.window-step button{border:1px solid var(--portal-border);place-items:center;width:27px;height:27px;padding:0;display:grid}.window-step svg{width:14px;height:14px}.window-step .latest{border:0;width:auto;padding:4px 8px;font-size:12px}.window-step span{text-align:center;font-variant-numeric:tabular-nums;min-width:158px;font-size:13px;font-weight:500}.metric-meta{border:1px solid var(--portal-border);color:var(--portal-muted);border-radius:9px;flex-wrap:wrap;gap:6px 16px;padding:10px 12px;font-size:11px;display:flex}.metric-meta.stale{color:var(--portal-warn)}.info-tip{flex-shrink:0;align-self:center;display:inline-flex;position:static}.info-tip>button{border:1px solid var(--portal-border);width:15px;height:15px;color:var(--portal-muted);background:0 0;border-radius:50%;place-items:center;padding:0;font-size:10px;display:grid}.info-tip>span{background:var(--portal-text);width:min(250px,100% - 16px);max-width:65vw;color:var(--portal-bg);z-index:30;border-radius:8px;padding:8px 10px;font-size:11.5px;font-weight:400;line-height:1.45;display:none;position:absolute;top:42px;right:8px}.info-tip:not([data-dismissed=true]):hover>span,.info-tip:not([data-dismissed=true]):focus-within>span{display:block}.chart-frame{position:relative}.chart-wrap{width:100%;height:230px;font-size:11px}.chart-frame.compact .chart-wrap{height:170px}.chart-frame.flow .chart-wrap{height:250px}.chart-responsive,.chart-responsive>div{width:100%;min-width:0;height:100%}.chart-wrap .recharts-cartesian-grid line{stroke:var(--portal-border)}.chart-wrap .recharts-cartesian-axis-tick text{fill:var(--portal-muted)}.chart-legend{color:var(--portal-muted);flex-wrap:wrap;gap:14px;margin-top:10px;font-size:12px;display:flex}.chart-legend>span{align-items:center;gap:6px;display:inline-flex}.chart-legend svg{width:10px;height:10px}.chart-tooltip{z-index:2;border:1px solid var(--portal-border);background:var(--portal-card);pointer-events:none;border-radius:8px;min-width:140px;max-width:90%;padding:8px 10px;font-size:11px;position:absolute;top:8px;right:8px;box-shadow:0 4px 12px oklch(0% 0 0/.12)}.chart-tooltip dl,.chart-tooltip dt,.chart-tooltip dd{margin:0}.chart-tooltip dl>div{justify-content:space-between;gap:14px;display:flex}.chart-tooltip dt{color:var(--portal-muted);font-weight:400}.chart-tooltip dd{font-variant-numeric:tabular-nums}.empty-state{min-height:110px;color:var(--portal-muted);text-align:center;place-items:center;padding:24px;display:grid}.empty-state p{margin:0;font-size:13px}.loading-state,.error-state{min-height:88px;color:var(--portal-muted);justify-content:center;align-items:center;gap:10px;padding:16px;font-size:13px;display:flex}.error-state{color:var(--portal-bad);flex-direction:column}.error-state p{margin:0}.error-state button,.load-more,.pagination button,.member-detail-head button{border:1px solid var(--portal-border);color:var(--portal-muted);background:var(--portal-card);border-radius:8px;padding:5px 12px;font-size:12.5px}.spinner{border:2px solid var(--portal-border);border-top-color:var(--portal-brand);border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.funnel{flex-direction:column;gap:8px;display:flex}.funnel-row{align-items:center;gap:10px;display:flex}.funnel-label{width:42%;max-width:220px;color:var(--portal-muted);text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;font-size:13px;overflow:hidden}.funnel-value{text-align:right;font-variant-numeric:tabular-nums;flex-shrink:0;width:56px;font-size:13.5px;font-weight:500}.funnel-value.unavailable{overflow-wrap:anywhere;font-size:11px}.funnel-percent{overflow-wrap:anywhere;text-align:right;width:44px;color:var(--portal-muted);flex-shrink:0;font-size:12px}.bar-track,.bar-progress,.simple-bars progress{background:var(--portal-soft);appearance:none;border:0;border-radius:6px;width:100%;min-width:0;height:22px;display:block;overflow:hidden}.bar-progress::-webkit-progress-bar{border-radius:inherit;background:var(--portal-soft)}.simple-bars progress::-webkit-progress-bar{border-radius:inherit;background:var(--portal-soft)}.bar-progress::-webkit-progress-value{border-radius:inherit;background:var(--chart-1)}.simple-bars progress::-webkit-progress-value{border-radius:inherit;background:var(--chart-1)}.bar-progress::-moz-progress-bar{border-radius:inherit;background:var(--chart-1)}.simple-bars progress::-moz-progress-bar{border-radius:inherit;background:var(--chart-1)}.bar-unavailable{background:repeating-linear-gradient(135deg, var(--portal-border), var(--portal-border) 5px, var(--portal-soft) 5px, var(--portal-soft) 10px);height:100%;display:block}.table-scroll{max-width:100%;overflow-x:auto}.dashboard table{border-collapse:collapse;width:100%;font-size:13.5px}.dashboard th{text-align:left;color:var(--portal-muted);white-space:nowrap;font-size:12.5px;font-weight:500}.dashboard th,.dashboard td{border-bottom:1px solid var(--portal-border);vertical-align:top;padding:9px 12px}.dashboard tbody tr:last-child td{border-bottom:0}.dashboard td small{color:var(--portal-muted);font-family:Geist Mono,monospace;font-size:12px;display:block}.dashboard td a{font-weight:500;text-decoration:none}.dashboard td a:hover{text-decoration:underline}.dashboard .numeric{text-align:right;font-variant-numeric:tabular-nums}.dashboard .negative{color:var(--portal-bad)}.unavailable{color:var(--portal-muted);font-style:normal}.badge{background:var(--portal-soft);text-transform:capitalize;white-space:nowrap;border:1px solid #0000;border-radius:999px;padding:1px 9px;font-size:11.5px;font-weight:500;display:inline-block}.badge-brand{background:var(--portal-brand);color:var(--portal-brand-text)}.badge-warn{border-color:var(--portal-border);background:0 0}.badge-good{color:var(--portal-good)}.badge-bad{color:var(--portal-bad)}.section-block{border-top:1px solid var(--portal-border);flex-direction:column;gap:14px;margin-top:12px;padding-top:20px;display:flex}.section-heading h2{margin:0 0 4px;font-size:17px;font-weight:600}.section-heading p{color:var(--portal-muted);margin:0;font-size:13px}.data-banner{border:1px solid var(--portal-border);background:var(--portal-soft);color:var(--portal-warn);border-radius:9px;flex-wrap:wrap;gap:8px 12px;padding:10px 14px;font-size:12px;display:flex}.data-banner.neutral{color:var(--portal-muted)}.facts{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:4px 12px;margin:0;font-size:12.5px;display:grid}.facts>div{display:contents}.facts dd small{display:block}.nudge-bars{gap:8px;display:grid}.nudge-details{margin-top:12px}.dashboard td code{color:var(--portal-muted);margin-left:4px}.facts dt{color:var(--portal-muted);margin:0;font-weight:400}.facts dd{text-align:right;overflow-wrap:anywhere;margin:0;font-weight:500}.simple-bars{gap:8px;display:grid}.simple-bars>div{color:var(--portal-muted);grid-template-columns:minmax(0,42%) minmax(0,1fr) 56px;align-items:center;gap:10px;font-size:13px;display:grid}.simple-bars strong{color:var(--portal-text);text-align:right;font-size:13.5px;font-weight:500}.tenure-bars progress::-webkit-progress-value{background:var(--chart-2)}.nudge-bars progress::-webkit-progress-value{background:var(--chart-2)}.tenure-bars progress::-moz-progress-bar{background:var(--chart-2)}.nudge-bars progress::-moz-progress-bar{background:var(--chart-2)}.member-detail-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.member-detail-head h1{margin:0;font-size:17px;font-weight:600}.member-detail-head code,.detail-last-active{color:var(--portal-muted);font-size:12px}.detail-last-active{margin-left:auto}.detail-tabs{align-self:flex-start;max-width:100%;overflow-x:auto}.detail-tabs a{flex-shrink:0}.member-detail-page>.two-column{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}.pillar{border:1px solid var(--portal-border);border-radius:9px;margin-bottom:6px;padding:9px 12px;font-size:12.5px}.pillar strong{font-size:12px}.pillar p{margin:3px 0 0}.timeline{margin:0;padding:0;list-style:none}.timeline li{flex-direction:column;padding:0 0 14px 22px;font-size:13px;display:flex;position:relative}.timeline li:before{background:var(--chart-2);content:"";border-radius:50%;width:8px;height:8px;position:absolute;top:5px;left:5px}.timeline li:after{background:var(--portal-border);content:"";width:1px;position:absolute;top:16px;bottom:0;left:8.5px}.timeline li:last-child:after{display:none}.timeline span,.timeline small{color:var(--portal-muted);font-size:11.5px}.not-found{align-content:center;place-items:center;gap:16px;min-height:70vh;display:grid}.patients-page{height:calc(100dvh - 80px);min-height:0}.patients-page:has(.member-detail-page){height:auto;min-height:0}.dashboard-content:has(>.patients-page:not(:has(.member-detail-page))){padding-bottom:0}.patients-workspace-host{flex:1;min-height:0;display:flex}.patients-split{border:1px solid var(--portal-border);background:var(--portal-card);border-radius:12px;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.member-list-pane{border-right:1px solid var(--portal-border);flex-direction:column;flex-shrink:0;width:300px;min-height:0;display:flex}.member-list-tools{border-bottom:1px solid var(--portal-border);flex-direction:column;gap:8px;padding:10px;display:flex}.member-list-tools input,.status-filter select{border:1px solid var(--portal-border);background:0 0;border-radius:8px;min-width:0;padding:7px 10px;font-size:13px}.member-list-tools input::placeholder{color:var(--portal-muted)}.tier-filter button{text-transform:capitalize;flex:1}.status-filter{color:var(--portal-muted);align-items:center;gap:8px;font-size:11px;display:flex}.status-filter select{flex:1;padding:3px 6px;font-size:11px}.member-list-scroll{flex:1;min-height:0;overflow-y:auto}.member-row{border:0;border-bottom:1px solid var(--portal-border);text-align:left;background:0 0;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;display:flex}.member-row:hover,.member-row[aria-pressed=true]{background:var(--portal-soft)}.status-dot{background:var(--portal-muted);border-radius:50%;flex-shrink:0;width:8px;height:8px}.status-dot.active{background:var(--portal-good)}.status-dot.inactive{background:var(--portal-warn)}.status-dot.dropped{background:var(--portal-bad)}.member-main{flex:1;min-width:0}.member-top{justify-content:space-between;gap:8px;font-size:13px;display:flex}.member-top strong{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.member-top small{color:var(--portal-muted);flex-shrink:0;font-size:11.5px}.member-bottom{align-items:center;gap:8px;margin-top:2px;display:flex}.member-bottom code{color:var(--portal-muted);text-overflow:ellipsis;font-size:11px;overflow:hidden}.member-list-foot{border-top:1px solid var(--portal-border);color:var(--portal-muted);text-align:center;padding:8px;font-size:12px}.pagination{justify-content:center;gap:8px;margin-top:6px;display:flex}.pagination button{padding:2px 8px;font-size:11px}.conversation-pane{flex-direction:column;flex:1;min-width:0;display:flex}.conversation-placeholder{text-align:center;min-width:0;color:var(--portal-muted);flex-direction:column;flex:1;justify-content:center;align-items:center;padding:14px;font-size:13.5px;display:flex}.conversation-placeholder svg{opacity:.35;width:28px;height:28px}.conversation-head{border-bottom:1px solid var(--portal-border);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;display:flex}.conversation-head h2{overflow-wrap:anywhere;max-width:100%;margin:0;font-size:14px;font-weight:600}.conversation-head h2:focus{outline:none}.conversation-turns{color:var(--portal-muted);margin-left:auto;font-size:12px}.conversation-meta{width:100%;color:var(--portal-muted);overflow-wrap:anywhere;font-size:12px}.open-profile{border:1px solid var(--portal-border);border-radius:8px;margin-left:auto;padding:4px 11px;font-size:12px;text-decoration:none;color:var(--portal-muted)!important}.conversation-close,.conversation-back{width:28px;height:28px;color:var(--portal-muted);background:0 0;border:0;border-radius:7px;place-items:center;padding:0;display:grid}.conversation-close svg,.conversation-back svg{width:15px;height:15px}.conversation-back{display:none}.conversation-close:hover,.conversation-back:hover,.open-profile:hover{background:var(--portal-soft)}.conversation-scroll{overflow-anchor:none;background:color-mix(in oklab, var(--portal-soft) 35%, transparent);flex-direction:column;flex:1;gap:8px;min-height:0;padding:16px;display:flex;overflow-y:auto}.conversation-session{flex-direction:column;gap:8px;display:flex}.day-chip,.reading-context{color:var(--portal-muted);text-align:center;border-radius:999px;align-self:center;padding:4px 12px;font-size:11px}.day-chip{background:var(--portal-soft);margin:0 0 4px}.reading-context{background:var(--portal-card);border:1px solid var(--portal-border);align-items:center;gap:5px;display:flex}.reading-context svg{flex-shrink:0;width:12px;height:12px}.message{border-radius:16px;max-width:75%;padding:8px 13px;font-size:13px;box-shadow:0 1px 1.5px oklch(0% 0 0/.08)}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.message time{text-align:right;opacity:.65;margin-top:3px;font-size:10px;display:block}.message.member{background:var(--portal-card);border:1px solid var(--portal-border);border-top-left-radius:5px;align-self:flex-start}.message.devika{background:var(--bubble-devika);color:var(--bubble-devika-text);border-top-right-radius:5px;align-self:flex-end}.insight{border:1px solid var(--portal-border);background:var(--portal-card);overflow-wrap:anywhere;border-radius:12px;align-self:flex-end;max-width:75%;padding:10px 14px;font-size:12.5px}.insight-tag{color:var(--portal-muted);align-items:center;gap:5px;margin-bottom:3px;font-size:11px;display:flex}.insight-tag svg{width:12px;height:12px}.insight>strong{font-size:13px;font-weight:600}.insight p{color:var(--portal-muted);margin:2px 0 0}.insight small{border-top:1px solid var(--portal-border);margin-top:7px;padding-top:7px;display:block}.conversation-notice{border-top:1px solid var(--portal-border);color:var(--portal-muted);text-align:center;margin:0;padding:5px 12px;font-size:10px}.history-pagination{text-align:center;padding:8px;font-size:12px}.member-context{border-left:1px solid var(--portal-border);flex-direction:column;flex-shrink:0;gap:14px;width:290px;padding:14px;display:flex;overflow-y:auto}.member-context h3{color:var(--portal-muted);text-transform:uppercase;letter-spacing:.05em;margin:0 0 8px;font-size:11.5px;font-weight:500}.context-unavailable{border:1px solid var(--portal-border);color:var(--portal-muted);border-radius:9px;margin:12px 0 0;padding:8px 10px;font-size:12px}@media (width<=1180px){.member-context{display:none}}@media (width<=767px){.patients-page{height:calc(100dvh - 64px)}}@media (width<=860px){.member-list-pane{border-right:0;width:100%}.has-selection .member-list-pane,.patients-split:not(.has-selection) .conversation-placeholder{display:none}.conversation-back{display:grid}.conversation-close{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (width<=767px){.page:not(.patients-page) .table-scroll table{min-width:600px}}.internal-login{gap:1rem;max-width:26rem;margin:3rem auto;display:grid}.internal-login input,.internal-login button,.internal-logout button{font:inherit;padding:.65rem .85rem}.internal-logout{margin-bottom:1rem}
