:root{font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#dfeaf0;background:#081721;color-scheme:dark;font-synthesis:none;--panel:#112734;--border:#29404d;--muted:#97afbd;--blue:#1684f8;--teal:#55cfb8;--amber:#edbe6e}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit;background:#102c3b;border:1px solid #305363;border-radius:6px;padding:10px 17px;cursor:pointer;transition:background .15s,border-color .15s}button:hover{background:#1b4257;border-color:#5f90a6}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #75c6ff;outline-offset:3px}a{color:#5cbaff;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.5;font-weight:650;white-space:nowrap}h2{font-size:18px;font-weight:650}h3{font-size:16px;margin-bottom:18px}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}span[data-icon]{display:inline-flex;align-items:center;justify-content:center}.topbar{height:64px;padding:0 28px;border-bottom:1px solid #29404d;display:flex;align-items:center;gap:17px;background:#0c202c}.brand{font-family:Arial,sans-serif;font-weight:800;letter-spacing:1.6px;color:#b8e6ff;font-size:34px;line-height:1}.product-name{font-size:22px;font-weight:600;border-left:1px solid #376075;padding-left:18px;white-space:nowrap}nav{display:flex;align-self:stretch;gap:12px;margin-left:auto;align-items:stretch}nav button{white-space:nowrap;font-size:16px;border:0;border-bottom:3px solid transparent;border-radius:0;padding:2px 14px 0;background:none;color:#aac0cd}nav button:hover{background:#153143}nav button.active{color:#33b3ff;border-bottom-color:#1684f8;font-weight:650}.settings{margin-left:auto;white-space:nowrap;display:flex;gap:9px;align-items:center;padding:7px 13px;color:#b2c9d7}.settings svg{width:18px;height:18px}main{max-width:1920px;margin:auto;padding:0 20px 8px}.titlebar{height:79px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 -20px;padding:0 30px;border-bottom:1px solid var(--border)}.date-label{font-size:13px;color:#c0d7e4;margin-bottom:1px}.title-inline{display:flex;align-items:baseline;gap:28px}.title-inline p{font-size:15px;color:#a7c6d7}.world-badge{border:1px solid #285268;border-radius:24px;padding:9px 14px;font-size:12px;white-space:nowrap;color:#a1c3d5;display:flex;align-items:center;gap:6px}.world-badge svg{width:14px;height:14px}.controls{display:flex;align-items:center;justify-content:space-between;gap:24px;height:78px;padding:10px}.world-switch{display:flex;gap:8px}.world-switch button{display:flex;gap:24px;padding:8px 28px;align-items:center;text-align:left;min-width:235px;background:#102d3c}.world-switch b{font-size:32px;line-height:1.2}.world-switch strong{font-size:17px;display:block;font-weight:600}.world-switch small{font-size:11px;display:block;color:#b0c9db;margin-top:2px}.world-switch button.active{background:linear-gradient(110deg,#0b8eff,#0d6ede);border-color:#45c8ff;box-shadow:0 0 0 2px #1684f81a inset;color:white}.clock{border:1px solid #2b566a;border-radius:30px;padding:7px 18px;display:flex;align-items:center;gap:12px;white-space:nowrap}.clock svg{color:#8acdf4;width:25px;height:25px}.clock strong{font-size:21px;letter-spacing:.5px}.play-controls{display:flex;gap:12px}.play-controls button{min-width:180px;display:flex;align-items:center;justify-content:center;gap:15px;height:51px;font-size:17px}.primary{background:linear-gradient(110deg,#168eff,#076be6);border-color:#44b6ff;color:#fff;font-weight:600}.primary:hover{background:#1684f8}.world-layout{display:grid;grid-template-columns:minmax(0,3.16fr) minmax(310px,1fr);gap:10px}.world-panel,.person-panel,.summary-panel,.focus-panel,.content-panel,.table-panel{border:1px solid #2a5266;background:#0d2633;border-radius:5px;overflow:hidden}.world-panel{height:clamp(500px,calc(100vh - 365px),760px);position:relative;background:#0c2430}.scene-heading{position:absolute;z-index:3;left:18px;right:16px;top:13px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.scene-heading h2{font-size:20px;text-shadow:0 2px 8px #071721}.scene-scope{font-size:11px;color:#adc8d8}.scene-legend{position:absolute;top:48px;left:18px;z-index:3;display:flex;gap:20px;background:#092333e8;border:1px solid #31556a;padding:5px 10px;border-radius:5px;font-size:11px;pointer-events:none}.scene-legend span{display:flex;align-items:center;gap:7px}i.blue,i.amber,i.teal,i.gray{width:13px;height:13px;border-radius:50%;display:inline-block;box-shadow:0 0 0 1px #ffffff18 inset}i.blue{background:#1684f8}i.amber{background:#edbe6e}i.teal{background:#55cfb8}i.gray{background:#829aa7}#hospital-scene{position:absolute;inset:0 0 86px;touch-action:none;cursor:grab;background:radial-gradient(ellipse at 50% 64%,#25404b,#102734 65%,#09202c)}#hospital-scene:active{cursor:grabbing}#hospital-scene canvas{display:block;width:100%;height:100%}#scene-labels,#scene-bubbles{position:absolute;inset:0;pointer-events:none}.zone-label{position:absolute;transform:translate(-50%,-50%);color:#e5f5ff;font-weight:650;font-size:13px;white-space:nowrap;padding:5px 11px;background:#103e59eb;border:1px solid #87bed4;border-radius:3px;box-shadow:0 3px 8px #06172166;text-shadow:0 1px 1px #09202a}.agent-bubble{position:absolute;transform:translate(-50%,-130%);border:1px solid #a4c9d5;border-radius:11px;background:#073044ef;padding:5px 10px;color:#e3f5ff;font-size:11px;white-space:nowrap;box-shadow:0 3px 9px #04141f55}.agent-bubble.selected{border-color:#edbe6e;color:#ffe0a5}.agent-bubble:after{content:"";position:absolute;bottom:-5px;left:45%;width:7px;height:7px;background:#073044;transform:rotate(45deg);border-bottom:1px solid #9abac6;border-right:1px solid #9abac6}.agent-bubble.selected:after{border-color:#edbe6e}#scene-tooltip{position:absolute;z-index:6;pointer-events:none;transform:translate(-50%,-120%);background:#081d2bf2;border:1px solid #89caff;border-radius:6px;padding:8px 12px;font-size:12px;white-space:nowrap}.scene-help{position:absolute;bottom:96px;left:18px;z-index:4;display:flex;align-items:center;gap:12px;color:#bfdae9;font-size:10px;background:#09212bc7;padding:3px 8px;border-radius:5px}.scene-help button{border:0;padding:3px;display:flex;background:none}.scene-help svg{width:15px;height:15px}.timeline{position:absolute;bottom:0;left:0;right:0;height:99px;display:flex;gap:25px;padding:17px 26px 10px;background:linear-gradient(#092330e8,#0b2534f7);border-top:1px solid #254d6166}.timeline>strong{font-size:17px;white-space:nowrap}.timeline-track{flex:1;position:relative;padding:0 13px}#time-range{position:absolute;left:8px;top:0;width:calc(100% - 16px);margin:0;height:24px;z-index:4;opacity:0;cursor:pointer}.day-nodes{display:flex;justify-content:space-between;position:relative}.day-nodes:before{content:"";height:3px;position:absolute;top:12px;left:10px;right:10px;background:linear-gradient(to right,#3eaffe 0 var(--progress),#587c8f var(--progress) 100%)}.day-nodes button{border:0;background:none;border-radius:0;padding:4px 0 0;position:relative;font-size:12px;min-width:36px;color:#a8cadf}.day-nodes i{position:relative;display:block;margin:1px auto 8px;width:13px;height:13px;background:#315a6d;border:1.5px solid #c1e1f0;border-radius:50%}.day-nodes .past i{background:#1684f8;border-color:#83c7ff}.day-nodes .current{color:#3eb9ff;font-weight:650}.day-nodes .current i{transform:scale(1.45);background:#168eff;border-color:white;box-shadow:0 0 10px #1684f8}.period-labels{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:7px 8px 0;color:#9fcae0;font-size:11px;text-align:center}.period-labels span{position:relative;line-height:16px}.period-labels span:before{content:"";height:7px;border:1px solid #78bddf;border-top:0;border-radius:0 0 4px 4px;position:absolute;left:0;right:0;top:1px}.period-labels span{background:#0d2735}.person-panel{padding:16px 15px 10px;display:flex;flex-direction:column;min-width:0}.person-kicker{font-size:14px;font-weight:650;padding-bottom:12px;border-bottom:1px solid #2a4859}.person-identity{display:flex;gap:14px;align-items:center;margin:13px 0 18px}.person-avatar{width:70px;height:78px;border-radius:38px;background:radial-gradient(circle,#295268,#173a4c);display:flex;align-items:flex-end;justify-content:center;overflow:hidden;flex:none}.person-avatar svg{width:62px;height:74px}.person-name{font-size:20px;font-weight:650;white-space:nowrap;margin-bottom:9px}.person-tags{display:flex;flex-wrap:wrap;gap:6px}.person-tags span{border:1px solid #547c91;border-radius:6px;padding:3px 6px;font-size:10px;color:#a4c6d7;white-space:nowrap}.person-tags span:last-child{color:#e2b669;border-color:#a17e43}.person-section{margin-bottom:13px}.person-section h3{font-size:14px;margin:0 0 9px;padding-bottom:8px;border-bottom:1px solid #2a4859}.mini-events{display:flex;flex-direction:column;gap:0;max-height:175px;overflow:auto;scrollbar-width:thin}.mini-event{display:grid;grid-template-columns:13px 43px 1fr;gap:10px;position:relative;padding:5px 0;font-size:11px;align-items:start}.mini-event:before{content:"";position:absolute;left:4px;top:11px;bottom:-10px;width:1px;background:#508c9b}.mini-event:last-child:before{display:none}.mini-event i{width:9px;height:9px;border-radius:50%;background:var(--teal);margin-top:3px;z-index:1}.mini-event time{color:#a4c4d5}.mini-event span{color:#c4dce7}.mini-event.current span,.mini-event.current time{color:#edbe6e}.mini-event.current i{background:var(--amber)}.person-quote{font-size:12px;line-height:1.9;color:#c7e1ed}.clinic-action{font-size:12px;line-height:1.85;color:#accbdb}.person-actions{display:flex;gap:12px;align-items:center;margin-top:auto;padding-top:8px}.person-actions .primary{flex:1;padding:9px 8px;white-space:nowrap;font-size:14px}.link{border:0;background:none;color:#33b1ff;font-size:12px;padding:0;white-space:nowrap}.link:hover{background:none;color:#9adbff}.bottom-row{display:grid;grid-template-columns:44fr 56fr;gap:10px;margin-top:10px}.summary-panel,.focus-panel{padding:9px 16px 7px}.bottom-row h2{font-size:15px;margin-bottom:7px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.metric{background:#0c2b3c;border:1px solid #254d61;border-radius:5px;padding:8px 10px;display:flex;gap:12px;align-items:center;cursor:pointer;text-align:left;min-width:0}.metric svg{width:25px;height:25px;color:#59d3cb}.metric:nth-child(2) svg{color:#319aff}.metric:nth-child(4) svg{color:#319aff}.metric label{display:block;color:#a0bece;font-size:10px;white-space:nowrap;cursor:pointer}.metric strong{display:block;font-size:21px;line-height:1.2;color:#e4f4fb}.summary-panel>p{font-size:9px;color:#7197ad;margin-top:6px}.focus-panel{position:relative}#focus-items{display:flex;gap:16px;align-items:center;margin-top:16px;padding-bottom:18px}.focus-item{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.focus-item b{font-size:17px;background:#1c4257;border-radius:5px;padding:7px}.focus-item span{font-size:11px;line-height:1.7;color:#c2d9e6}.focus-panel>.link{position:absolute;right:16px;bottom:8px}footer{display:flex;justify-content:space-between;margin:8px 2px 0;color:#7395a9;font-size:10px}footer i{display:inline-block;background:#d4a35a;width:5px;height:5px;border-radius:50%;margin-right:6px}footer b{color:#a2c5d8;font-weight:500}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 0 24px;gap:20px}.page-heading h2{font-size:24px}.page-heading p{font-size:13px;line-height:1.7;color:var(--muted);margin-top:8px}.search-box{display:flex;align-items:center;gap:8px;background:#102d3c;border:1px solid #305363;border-radius:7px;padding:10px 13px}.search-box input{border:0;background:none;outline:none;color:#dfeaf0;min-width:225px;font-size:13px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.filters button{font-size:12px;padding:7px 13px}.filters button.active{background:#14558a;border-color:#1684f8}table{border-collapse:collapse;width:100%;font-size:12px}th{background:#153447;text-align:left;padding:14px 16px;color:#9fc3d6;font-weight:500}td{border-bottom:1px solid #254052;padding:14px 16px;color:#b6cfdd;vertical-align:top}td button{border:0;background:none;text-align:left;padding:0;color:#b6e1ff}td small{display:block;font-size:10px;color:#7599ad;margin-top:5px}tbody tr:hover{background:#163548}.table-panel{overflow:auto}.status{padding:4px 7px;background:#254455;border-radius:5px;display:inline-block;font-size:11px;white-space:nowrap}.status.paid{background:#1b514c;color:#78dfc8}.status.waiting,.status.postponed{background:#4a3d25;color:#edbe6e}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px;font-size:13px}.content-panel{padding:22px;margin-bottom:15px}.observation-grid,.revenue-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.observation-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:0 0 18px}.stat-card{padding:23px;border:1px solid var(--border);background:var(--panel);border-radius:7px}.stat-card strong{display:block;font-size:29px;color:#69d9c4;margin:10px 0}.stat-card span,.stat-card small{color:var(--muted);font-size:12px}.funnel-row{display:grid;grid-template-columns:70px 1fr 60px;gap:15px;align-items:center;margin:20px 0;font-size:12px}.bar{height:12px;border-radius:4px;background:#071b28;overflow:hidden}.bar i{display:block;background:#2798ee;height:100%}.daily-row{display:grid;grid-template-columns:65px 1fr 60px;gap:15px;align-items:center;margin:15px 0;font-size:12px}.daily-row .bar i{background:#55bdb2}.muted{color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:16px}.subtle-tag{padding:7px 11px;border:1px solid #456276;color:#a2bac9;border-radius:5px;font-size:12px}.calculator{display:grid;grid-template-columns:1fr 1fr;gap:21px}.calculator label{font-size:12px;color:#a7c1d0}.calculator input,.calculator select{display:block;width:100%;padding:13px;margin-top:8px;border:1px solid #36566b;background:#09212e;border-radius:6px;color:#fff}.calc-amount{font-size:36px;color:var(--teal);margin:22px 0 12px}.calc-copy{font-size:13px;line-height:1.9;color:#abc7d8}.fact{padding:15px 0;border-bottom:1px solid #2a4659}.fact:first-of-type{padding-top:0}.fact:last-child{border:0}.fact>span{font-size:12px;color:#8fafc2;display:block;margin-bottom:9px}.fact strong{font-size:20px;color:#d4eaf5}.fact p{font-size:13px;line-height:1.9;color:#a5c2d3;margin-top:8px}.compare-person{display:flex;align-items:center;gap:15px;padding:15px 20px;margin-bottom:20px;background:#113141;border:1px solid #315365;border-radius:6px}.compare-person strong{font-size:22px}.compare-person p{font-size:13px;color:#a2c4d6;line-height:1.8}.compare-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.compare-columns h3{border-bottom:1px solid #345269;padding-bottom:15px;font-size:19px}.history-entry{border-left:1px solid #3c677f;margin-left:7px;padding:0 0 22px 22px;position:relative}.history-entry:before{content:"";position:absolute;left:-4px;top:5px;width:7px;height:7px;border-radius:50%;background:#41acd3}.history-entry.payment:before{background:var(--teal)}.history-entry time{font-size:11px;color:#709db5}.history-entry h4{font-size:13px;margin:6px 0;color:#d2e8f4}.history-entry p{font-size:12px;line-height:1.9;color:#a4c4d6}.history-entry .reason{margin-top:6px;color:#d2b178;font-size:11px}.history-entry .response{color:#77abc6;font-size:11px;margin-top:3px}.detail-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:30px}.bio{font-size:13px;color:#a5c5d6;line-height:1.9}.bio h3{color:#daedf7;margin:18px 0 8px}.bio h3:first-child{margin-top:0}.notice{padding:12px 15px;border:1px solid #655639;background:#3b321d4a;color:#cfb77f;font-size:12px;line-height:1.8;border-radius:6px;margin-bottom:20px}.prose{font-size:14px;color:#b4d0df;line-height:1.95}.prose p{margin-bottom:15px}.prose h3{color:#dcebf5;margin-top:25px}.notes-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.notes-list p{font-size:13px;line-height:1.8;color:#9ebdce}.notes-list strong{font-size:15px;display:block;color:#dbeaf3;margin-bottom:9px}dialog{border:1px solid #436a80;border-radius:9px;padding:0;width:min(1120px,94vw);max-height:90vh;background:#102936;color:#dfeaf0;box-shadow:0 20px 100px #0009}dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}.dialog-heading{position:sticky;top:0;z-index:2;background:#112d3e;border-bottom:1px solid #31536a;display:flex;justify-content:space-between;align-items:center;padding:18px 24px}.dialog-heading button{border:0;font-size:27px;padding:0 5px;background:none}#detail-body{padding:25px}[hidden]{display:none!important}.empty{padding:35px;text-align:center;color:#8eafc0;font-size:13px}
.day-nodes button{z-index:5}.agent-bubble{pointer-events:auto;cursor:pointer;font-family:inherit;line-height:1.4}.agent-bubble:hover{background:#164d66;border-color:#d1edfa}
.source-switch{display:flex;gap:3px;padding:3px;border:1px solid #31556a;border-radius:6px;background:#092333eb;pointer-events:auto}.source-switch button{font-size:11px;padding:5px 9px;border:0;background:none;color:#adc8d8;white-space:nowrap}.source-switch button.active{background:#14558a;color:#fff}.people-source-row{display:flex;align-items:center;gap:14px;margin-bottom:16px}.people-source-row>span{font-size:11px;color:var(--muted)}.scene-conversation{position:absolute;z-index:4;right:14px;bottom:111px;width:min(360px,39%);max-height:190px;overflow:auto;scrollbar-width:thin;padding:10px 12px;border:1px solid #4a7184;border-radius:7px;background:#0a2533f2;box-shadow:0 4px 16px #03121b55}.conversation-heading{display:flex;justify-content:space-between;gap:10px;width:100%;background:none;border:0;border-radius:0;padding:0 0 7px;font-size:11px;text-align:left;color:#d9edf5}.conversation-heading span{font-size:10px;color:#5cbaff;white-space:nowrap}.scene-message{padding:7px 0 0;border-top:1px solid #294858;margin-top:5px}.scene-message>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:10px}.scene-message b{font-weight:500;color:#b2d7e7}.scene-message time{color:#7ea3b7;font-size:9px;white-space:nowrap}.scene-message p{font-size:11px;line-height:1.7;margin-top:3px;color:#b6cdd9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.scene-message.latest b,.scene-message.latest p{color:#f0ce90}.scene-conversation .muted{font-size:11px;margin:0}.agent-bubble{max-width:190px;overflow:hidden;text-overflow:ellipsis}.agent-bubble.selected{max-width:255px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-align:left}.mini-event small{display:block;color:#729caf;font-size:9px;margin-top:3px}.person-quote{max-height:7.5em;overflow:auto;scrollbar-width:thin}.clinic-action{max-height:6em;overflow:auto;scrollbar-width:thin}.clinic-action b{color:#94c7df;font-weight:500}.speech-time{font-size:10px;color:#789eaf;margin-top:4px}.event-actor{font-size:11px;color:#e0bd80;margin-bottom:6px}.preserve-lines{white-space:pre-line}.relative-bio h4{font-size:13px;color:#cde4ee;margin:12px 0 5px}.relative-bio small{color:#779daf;font-size:10px}.detail-grid{grid-template-columns:minmax(260px,34%) minmax(0,1fr)}
@media(min-width:1451px){.person-section h3{font-size:16px}.person-quote,.clinic-action{font-size:14px}.mini-event{font-size:13px;padding:7px 0;grid-template-columns:13px 60px 1fr}.mini-events{max-height:195px}.person-tags span{font-size:11px}.person-name{font-size:22px}.person-kicker{font-size:16px}.person-identity{margin-bottom:24px}nav button{font-size:18px}.focus-item span{font-size:12px}.world-switch button{min-width:255px}.play-controls button{min-width:194px}.bottom-row h2{font-size:16px}}
@media(min-width:1700px){.world-panel{height:calc(100vh - 355px)}.mini-events{max-height:240px}.person-section{margin-bottom:18px}.person-quote,.clinic-action{font-size:14px}.mini-event{font-size:13px;padding:8px 0}.person-identity{margin-bottom:24px}}
@media(max-width:1450px){.topbar{gap:12px;padding:0 20px}.brand{font-size:27px}.product-name{font-size:18px;padding-left:12px}nav{gap:3px}nav button{font-size:14px;padding:2px 10px 0}.title-inline{gap:20px}.title-inline p{font-size:12px}.world-badge{font-size:10px}.world-switch button{min-width:205px;padding:8px 20px}.play-controls button{min-width:145px}.clock strong{font-size:18px}.scene-scope{display:none}.scene-heading h2{font-size:18px}.person-name{font-size:18px}.person-tags{gap:4px}.person-tags span{font-size:9px}.world-layout{grid-template-columns:minmax(0,3.1fr) minmax(290px,1fr)}.world-panel{height:clamp(490px,calc(100vh - 365px),700px)}.person-avatar{width:59px;height:68px}.mini-event{font-size:10px;padding:4px 0}.person-section{margin-bottom:10px}.person-section h3{font-size:13px}.person-quote,.clinic-action{font-size:11px}.focus-item span{font-size:10px}.focus-item b{font-size:15px}.metric{padding:8px;gap:8px}.metric strong{font-size:19px}.metric svg{width:21px}.bottom-row{grid-template-columns:46fr 54fr}}
@media(max-width:1120px){.product-name{font-size:15px}.settings{font-size:0}.settings svg{width:21px}.title-inline p{display:none}.world-switch button{min-width:175px;gap:15px;padding:8px 15px}.world-switch strong{font-size:14px}.world-switch small{font-size:10px}.world-switch b{font-size:27px}.clock{padding:7px 11px}.clock strong{font-size:16px}.play-controls button{min-width:100px;font-size:13px;height:47px}.controls{gap:12px}.world-layout{grid-template-columns:minmax(0,2.5fr) minmax(270px,1fr)}.scene-legend{gap:10px;font-size:10px}.scene-heading h2{font-size:16px}.timeline{gap:12px;padding:18px 14px 10px}.timeline>strong{font-size:13px}.zone-label{font-size:11px;padding:4px 7px}.bottom-row{grid-template-columns:1fr}.focus-panel{min-height:102px}#focus-items{margin-top:10px}.world-panel{height:510px}.world-badge{font-size:10px}main{padding:0 14px 10px}.titlebar{margin:0 -14px;padding:0 24px}.world-panel .scene-help{font-size:9px}.person-panel{padding:13px}}
@media(max-width:760px){.topbar{height:auto;padding:12px 15px;flex-wrap:wrap;gap:10px}.brand{font-size:25px}.product-name{font-size:14px}.settings{margin-left:auto}nav{order:4;width:100%;margin:0;justify-content:space-between}nav button{font-size:12px;padding:12px 4px 8px}.titlebar{height:auto;padding:14px 18px}.date-label{font-size:11px}h1{font-size:23px}.world-badge{font-size:9px;max-width:135px;white-space:normal;line-height:1.6;padding:6px 10px}.controls{height:auto;flex-wrap:wrap;padding:12px 0;gap:12px}.world-switch{width:100%}.world-switch button{flex:1;min-width:0;justify-content:center}.clock{margin-right:auto}.clock strong{font-size:14px}.clock svg{width:20px}.play-controls{gap:7px}.play-controls button{min-width:80px;font-size:12px;height:37px;padding:8px 11px;gap:5px}.world-layout{grid-template-columns:1fr}.world-panel{height:440px}.person-panel{padding:18px}.person-identity{margin:12px 0}.person-avatar{width:58px;height:64px}.person-section h3{font-size:14px}.person-quote,.clinic-action{font-size:13px}.mini-event{font-size:12px;padding:6px 0}.mini-events{max-height:none}.person-actions .primary{font-size:14px}.person-tags span{font-size:10px}.person-panel .person-section{margin-bottom:15px}.scene-heading h2{font-size:15px}.scene-legend{top:42px;left:12px}.scene-heading{left:12px}.timeline{height:89px;padding:14px 9px;gap:4px}.timeline>strong{font-size:10px;writing-mode:vertical-rl;letter-spacing:2px}.day-nodes button{font-size:10px}.period-labels{font-size:10px}.zone-label{font-size:9px;padding:3px 4px}.agent-bubble{font-size:9px;padding:3px 5px}.scene-help{bottom:92px}.metrics{gap:6px}.metric{padding:8px 5px;gap:4px}.metric svg{width:18px;height:18px}.metric strong{font-size:16px}.metric label{font-size:9px}.summary-panel,.focus-panel{padding:10px}.focus-item{gap:6px}.focus-item span{font-size:10px}.focus-item b{font-size:12px;padding:5px}.focus-panel{min-height:120px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h2{font-size:22px}.search-box,.search-box input{width:100%;min-width:0}.compare-columns,.observation-grid,.revenue-grid,.detail-grid,.notes-list{grid-template-columns:1fr}.observation-metrics{grid-template-columns:1fr 1fr;gap:8px}.stat-card{padding:17px}.calculator{grid-template-columns:1fr 1fr;gap:12px}.calculator select{font-size:11px}.content-panel{padding:18px}.detail-grid{gap:20px}.bio{border-bottom:1px solid var(--border);padding-bottom:15px}.compare-person{align-items:flex-start;flex-direction:column}.compare-person strong{font-size:20px}.dialog-heading{padding:16px}.dialog-heading h2{font-size:17px}#detail-body{padding:18px}footer{font-size:9px;gap:10px;line-height:1.7}#focus-items{gap:8px}}
@media(max-width:1120px){.scene-heading{align-items:flex-start}.scene-heading h2{max-width:48%;line-height:1.6}.source-switch button{padding:5px 6px;font-size:10px}.scene-conversation{width:40%;max-height:165px;padding:8px}.conversation-heading{font-size:10px;flex-wrap:wrap;gap:3px}.scene-message>div{flex-wrap:wrap;gap:3px}.scene-message p{font-size:10px}.scene-message time{font-size:8px}.scene-legend{top:58px}.scene-message b{font-size:9px}}
@media(max-width:760px){.scene-heading h2{font-size:13px;max-width:46%}.source-switch button{padding:4px 6px;font-size:9px}.scene-legend{top:62px;gap:9px;font-size:9px}.scene-conversation{right:9px;bottom:100px;width:49%;max-height:160px}.scene-help{font-size:8px;max-width:45%;left:8px;gap:4px}.agent-bubble.selected{max-width:175px}.people-source-row{align-items:flex-start;flex-direction:column;gap:9px}.person-quote,.clinic-action{max-height:none}}
