html,body,#root{min-width:320px;min-height:100%;margin:0}html{background:#f7f9fc}body{min-height:100vh}*{box-sizing:border-box}:root{color:#172033;background:#f7f9fc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{color:#172033;background:#f7f9fc;margin:0}button{font:inherit}.app{min-height:100vh;display:flex}.sidebar{background:#fff;border-right:1px solid #e3e8ef;flex-direction:column;flex-shrink:0;width:238px;min-height:100vh;display:flex}.brand{border-bottom:1px solid #edf0f4;align-items:center;gap:11px;padding:25px 22px 27px;display:flex}.brand-mark{color:#fff;background:#0b5cab;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;font-size:23px;font-weight:700;display:flex}.brand-name{color:#0b4f93;font-size:18px;font-weight:750;line-height:1}.brand-subtitle{color:#7a8799;letter-spacing:.04em;margin-top:5px;font-size:10px}.sidebar-section{padding:25px 13px}.sidebar-label{color:#9aa5b5;letter-spacing:.11em;padding:0 10px 9px;font-size:10px;font-weight:700}.sidebar-item{color:#647185;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;margin-bottom:3px;padding:11px 10px;font-size:13px;display:flex}.sidebar-item:hover{color:#174f83;background:#f2f6fb}.sidebar-item.active{color:#0b5cab;background:#edf5ff;font-weight:650}.sidebar-icon{text-align:center;width:18px;font-size:16px}.sidebar-count{color:#0b5cab;background:#dcecff;border-radius:10px;justify-content:center;align-items:center;min-width:21px;height:21px;margin-left:auto;padding:0 5px;font-size:10px;font-weight:700;display:flex}.sidebar-bottom{border-top:1px solid #edf0f4;align-items:center;gap:9px;margin-top:auto;padding:17px 20px;display:flex}.online-dot{background:#27a76d;border-radius:50%;width:8px;height:8px}.system-title{color:#465468;font-size:11px;font-weight:650}.system-subtitle{color:#9aa5b5;margin-top:2px;font-size:10px}.main{flex:1;min-width:0}.topbar{background:#fff;border-bottom:1px solid #e5e9ef;justify-content:space-between;align-items:flex-start;min-height:146px;padding:30px 40px 25px;display:flex}.breadcrumb{color:#8995a6;letter-spacing:.12em;margin-bottom:9px;font-size:9px;font-weight:700}.topbar h1{color:#162238;letter-spacing:-.025em;margin:0;font-size:27px}.page-subtitle{color:#7d899a;margin:7px 0 0;font-size:12px}.open-pill{color:#587087;letter-spacing:.06em;background:#fbfcfe;border:1px solid #d9e4ee;border-radius:20px;align-items:center;gap:6px;margin-top:5px;padding:7px 11px;font-size:9px;font-weight:750;display:flex}.open-pill span{background:#22a56a;border-radius:50%;width:6px;height:6px}.content{max-width:1440px;padding:28px 40px 45px}.stats{grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:21px;display:grid}.stat-card{background:#fff;border:1px solid #e4e9f0;border-radius:8px;min-height:92px;padding:16px 18px}.stat-card.urgent-card{border-color:#f0d5d5}.stat-label{color:#8995a5;letter-spacing:.09em;font-size:9px;font-weight:750}.stat-main{align-items:baseline;gap:8px;margin-top:12px;display:flex}.stat-main strong{color:#1a2639;font-size:27px;line-height:1}.stat-main span{color:#8b97a7;font-size:10px}.panel,.outcome-panel{background:#fff;border:1px solid #e2e8ef;border-radius:9px;overflow:hidden}.panel-header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;padding:19px 21px;display:flex}.panel-header h2{color:#243148;margin:0;font-size:14px}.panel-header p{color:#8b96a6;margin:5px 0 0;font-size:10px}.panel-count{color:#7d8a9c;font-size:10px}.table-head,.table-row{grid-template-columns:110px minmax(260px,1fr) 155px 70px 74px;align-items:center;column-gap:18px;display:grid}.table-head{color:#9aa4b2;letter-spacing:.1em;background:#fafbfd;border-bottom:1px solid #edf0f4;min-height:38px;padding:0 21px;font-size:8px;font-weight:750}.table-row{cursor:pointer;border-bottom:1px solid #edf0f4;min-height:65px;padding:0 21px;transition:background .12s}.table-row:last-child{border-bottom:0}.table-row:hover,.selected-row{background:#f8fbff}.conversation-id{color:#53657b;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:650}.caller-text{color:#526176;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.time{color:#8390a0;font-size:10px}.reason-badge,.status-badge{letter-spacing:.04em;white-space:nowrap;border-radius:4px;align-items:center;padding:5px 7px;font-size:8px;font-weight:750;display:inline-flex}.reason-badge.ambiguous,.status-badge.ambiguous{color:#956d1b;background:#fff5d9}.reason-badge.authorised,.status-badge.authorised{color:#a36316;background:#fff0d5}.reason-badge.medical,.status-badge.medical{color:#b34d55;background:#ffebec}.reason-badge.clinical,.status-badge.clinical{color:#bd4d55;background:#ffe5e6}.resolve-button{color:#3b6795;cursor:pointer;background:#fff;border:1px solid #dce5ef;border-radius:4px;padding:5px 8px;font-size:9px}.resolve-button:hover{background:#edf5ff;border-color:#bdd4ec}.detail-topbar{min-height:132px;display:block}.back-button{color:#4c78a3;cursor:pointer;background:0 0;border:0;margin-bottom:17px;padding:0;font-size:11px}.detail-heading{justify-content:space-between;align-items:center;display:flex}.detail-heading h1{font-size:25px}.detail-content{padding-top:27px}.detail-grid{grid-template-columns:minmax(0,1fr) 315px;align-items:start;gap:19px;display:grid}.transcript{padding:20px}.message-block{margin-bottom:19px}.message-label{letter-spacing:.1em;margin-bottom:6px;font-size:8px;font-weight:750}.caller-label{color:#8997a9}.agent-label{color:#0b68a9}.message{border-radius:7px;padding:12px 14px;font-size:11px;line-height:1.55}.caller-message{color:#47566a;background:#f4f7fa;border:1px solid #e8edf2}.agent-message{color:#345675;background:#eef6ff;border:1px solid #dbeafb}.agent-block{margin-top:19px}.tool-call{background:#f5faff;border:1px solid #cfe0ef;border-radius:6px;margin:9px 0 0 14px;overflow:hidden}.tool-top{border-bottom:1px solid #dceaf5;align-items:center;gap:7px;padding:8px 10px;display:flex}.tool-icon{color:#2772a9;font-size:10px}.tool-top strong{color:#285b82;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.tool-label{color:#8da2b6;letter-spacing:.08em;margin-left:auto;font-size:7px;font-weight:750}.tool-call pre{color:#4e6378;margin:0;padding:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;line-height:1.45;overflow-x:auto}.loading-box,.empty-outcome{text-align:center;color:#8b97a6;padding:30px;font-size:11px}.outcome-panel{position:sticky;top:20px}.outcome-fields{padding:5px 20px}.outcome-row{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:15px;min-height:38px;display:flex}.outcome-row:last-child{border-bottom:0}.outcome-row span{color:#8793a3;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.outcome-row strong{color:#36465a;text-align:right;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.determinism{background:#f7fafc;border:1px solid #e5ebf0;border-radius:6px;margin:15px;padding:13px}.determinism-title{color:#8995a4;letter-spacing:.1em;margin-bottom:9px;font-size:8px;font-weight:750}.determinism-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.determinism-row>span:first-child{color:#566579;font-size:9px;line-height:1.35}.stable-badge{color:#25805d;letter-spacing:.05em;background:#e7f7ef;border:1px solid #c8e9d9;border-radius:4px;padding:4px 6px;font-size:7px;font-weight:800}@media (width<=1050px){.sidebar{width:205px}.content,.topbar{padding-left:25px;padding-right:25px}.detail-grid{grid-template-columns:1fr}.outcome-panel{position:static}}@media (width<=800px){.sidebar{width:70px}.brand{justify-content:center;padding:20px 8px}.brand>div:last-child,.sidebar-label,.sidebar-item:not(.active):after,.sidebar-item{font-size:0}.sidebar-item{justify-content:center}.sidebar-icon{font-size:16px}.sidebar-count,.brand-subtitle,.system-title,.system-subtitle,.brand-name{display:none}.sidebar-bottom{justify-content:center;padding:18px 0}.stats{grid-template-columns:repeat(2,1fr)}.table{overflow-x:auto}.table-head,.table-row{min-width:850px}}
