:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#183832;background:#f5f7f5;font-size:14px;line-height:1.55;--green:#16705b;--muted:#73827c;--line:#e0e7e2;--amber:#a36513}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button,.button{border:1px solid var(--line);border-radius:7px;padding:9px 14px;background:white;color:#25483f;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:7px;justify-content:center}button:hover,.button:hover{background:#f0f5f2}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#105c4a}button.danger{color:#a03930}input,select,textarea{background:white;border:1px solid #ccd8d0;border-radius:6px;padding:10px 12px;color:#183832;width:100%;min-width:0}textarea{min-height:90px;resize:vertical}label{display:block;font-weight:600;font-size:12px;color:#546a60}label input,label select,label textarea{margin-top:6px}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-1px;font-weight:650;margin-bottom:6px}h2{font-size:16px;letter-spacing:-.2px;margin-bottom:5px}h3{font-size:14px}p{color:#6b7d72}small{font-size:11px;color:var(--muted)}.shell{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;position:fixed;width:224px;inset:0 auto 0 0;z-index:2}.brand{font-size:26px;letter-spacing:-1px;display:flex;align-items:center;gap:10px;font-weight:650;margin:0 12px 30px}.brand-mark{width:29px;height:29px;background:#16705b;color:white;border-radius:9px;display:inline-grid;place-items:center;font-size:25px;font-weight:400}.nav-label{font-size:10px;letter-spacing:1.5px;color:#8a9890;margin:16px 14px 10px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{background:none;border:0;justify-content:flex-start;text-align:left;font-weight:500;padding:11px 14px;color:#718078}.nav button.active{background:#eaf4ef;color:#12654e;font-weight:650}.nav-icon{width:22px;font-size:17px}.sidebar-bottom{margin-top:auto;padding:25px 12px 0}.pilot-label{border:1px solid var(--line);border-radius:7px;padding:11px;font-size:11px;color:#687c70;margin-bottom:15px}.main{grid-column:2;min-width:0}.topbar{height:73px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#fff;gap:12px}.breadcrumb{color:#8a978f;font-size:12px}.breadcrumb strong{color:#446154;font-weight:500}.account{display:flex;align-items:center;gap:11px;font-size:12px}.avatar{background:#e6eee8;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;color:#2e6452;font-weight:700}.account button{font-size:11px;padding:5px 9px}.workspace{padding:30px 36px;max-width:1600px;margin:auto}.simulation-banner{display:flex;align-items:center;gap:8px;background:#fff7e6;color:#936c24;border:1px solid #f2e3be;border-radius:6px;padding:9px 13px;font-size:11px;margin-bottom:24px}.dot{width:6px;height:6px;border-radius:50%;background:#dca63c;display:inline-block}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#49816a;font-weight:700;margin-bottom:8px}.heading p{margin-bottom:0;font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tag{font-size:10px;background:#edf4ef;color:#3e7a5b;padding:3px 8px;border-radius:4px;display:inline-block;font-weight:600;white-space:nowrap}.tag.amber{background:#fff4d9;color:#9b722a}.tag.gray{background:#eff1ef;color:#738078}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{border:1px solid var(--line);border-radius:9px;background:white;padding:19px 21px}.stat-label{font-size:11px;color:#6e8274;display:flex;justify-content:space-between}.stat-value{font-size:31px;letter-spacing:-1px;font-weight:600;margin:7px 0 3px}.stat small{font-size:10px}.grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px;margin-bottom:22px}.card{background:white;border:1px solid var(--line);border-radius:9px;min-width:0;overflow:hidden}.card-head{padding:19px 22px;border-bottom:1px solid #edf0ec;display:flex;justify-content:space-between;align-items:center;gap:12px}.card-head p{font-size:11px;margin:0}.card-body{padding:21px}.card-footer{padding:12px 22px;border-top:1px solid #edf0ec;font-size:11px;color:#7b8c81}.text-link{border:0;padding:0;background:none;font-size:11px;color:var(--green)}.list-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #eff2ee}.list-row:last-child{border:0}.list-row strong{font-size:12px;font-weight:600}.list-row p{font-size:11px;margin:2px 0 0}.mini-icon{display:grid;place-items:center;flex-shrink:0;width:33px;height:33px;border-radius:8px;background:#eef5f0;color:#50836d}.row-main{display:flex;align-items:center;gap:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:10px;letter-spacing:.3px;color:#849085;background:#fafbf9;padding:12px 18px;font-weight:600;white-space:nowrap}td{padding:14px 18px;border-top:1px solid #edf0ec;color:#486052}td strong{font-weight:600;color:#284a3b}td .text-link{text-align:left}.empty{padding:42px 20px;text-align:center;color:#809186;font-size:12px}.empty strong{display:block;color:#446956;font-size:16px;margin-bottom:7px}.progress-track{height:6px;background:#edf2ed;border-radius:8px;overflow:hidden;width:100%;margin:8px 0}.progress-fill{height:100%;background:#60a487;border-radius:8px}.progress-row{padding:12px 0}.progress-row>div:first-child{display:flex;justify-content:space-between;font-size:11px;color:#5f7968}.legend{display:flex;gap:15px;flex-wrap:wrap;font-size:10px;color:#748b7b}.legend span:before{content:"";display:inline-block;height:7px;width:7px;background:#579b7c;border-radius:50%;margin-right:5px}.legend span:nth-child(2):before{background:#b8cbbd}.legend span:nth-child(3):before{background:#dda961}.scene{width:100%;display:block;background:#fafcf9;border-radius:7px}.scene text{font-family:inherit}.scene-room{fill:#f0f5ef;stroke:#dce6dc;stroke-width:1}.scene-name{font-size:11px;fill:#4f6c59;font-weight:600}.scene-note{font-size:9px;fill:#8a9c8d}.scene-hall{stroke:#e9eee6;stroke-width:28;fill:none;stroke-linecap:round}.patient-dot{fill:#d7a252;stroke:white;stroke-width:2;transition:cx 1s,cy 1s}.staff-dot{fill:#428c6b;stroke:white;stroke-width:2;transition:cx 1s,cy 1s}.bed{fill:white;stroke:#c8d7c9;stroke-width:1.2}.bed.occupied{fill:#f7e9d1;stroke:#c9a56c}.scene-id{font-size:7px;fill:#fff;pointer-events:none}.scene-controls{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-top:1px solid var(--line);gap:10px;flex-wrap:wrap}.clock{font-size:11px;color:#68816f}.event-list{max-height:370px;overflow:auto}.event{padding:11px 20px;border-bottom:1px solid #edf0ec;display:flex;gap:11px;font-size:11px}.event time{color:#91a08f;font-variant-numeric:tabular-nums;min-width:38px}.event strong{font-weight:500;color:#41604d}.event p{font-size:10px;margin:2px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.span-2{grid-column:span 2}.filters{display:flex;gap:12px;padding:18px 22px;align-items:end;flex-wrap:wrap}.filters label{min-width:120px;flex:1}.filters button{height:42px}.source{font:11px/1.8 ui-monospace,SFMono-Regular,monospace;white-space:pre-wrap;word-break:break-word;padding:18px;background:#f5f7f3;border:1px solid #e1e7de;border-radius:6px;color:#52634d;max-height:320px;overflow:auto}.review-layout{display:grid;grid-template-columns:280px 1fr;gap:20px}.document-list{max-height:650px;overflow:auto}.document-item{width:100%;border:0;border-bottom:1px solid #e9eee6;border-radius:0;text-align:left;display:block;padding:15px 18px;font-weight:400}.document-item.selected{background:#eff6ef;box-shadow:inset 3px 0 #2b795c}.document-item strong{display:block;font-size:12px;margin-bottom:3px}.document-item small{display:block;font-size:10px;margin-bottom:6px}.review-history{font-size:11px;color:#72816c;margin-top:14px}.form-note{font-size:11px;color:#86917b;margin-top:10px}.alert{border:1px solid #e6d9bc;background:#fcf7ec;padding:13px 16px;border-radius:6px;font-size:11px;color:#8d7445;margin-bottom:20px}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:#164e3e;padding:9vh 10%;display:flex;flex-direction:column;justify-content:center;color:#edf7ed;position:relative}.login-story .brand{margin:0 0 60px;color:white}.login-story h1{font-size:clamp(34px,4vw,59px);line-height:1.12;letter-spacing:-2px;max-width:540px}.login-story p{color:#b3cebc;font-size:15px;max-width:430px}.login-story .eyebrow{color:#90c7a7}.login-line{width:70px;height:4px;background:#81b792;margin:25px 0}.login-foot{margin-top:65px;font-size:10px;color:#90b39e}.login-form{display:flex;align-items:center;justify-content:center;padding:40px;background:#fafbf8}.login-panel{width:360px;max-width:100%}.login-panel h2{font-size:24px;margin-bottom:10px;letter-spacing:-.8px}.login-panel form{display:grid;gap:18px;margin-top:26px}.login-panel button{padding:12px}.login-panel .simulation-banner{margin-top:30px;font-size:10px}.error-text{color:#a54539;font-size:12px}.mobile-title{display:none}#toast{position:fixed;bottom:24px;right:24px;max-width:420px;background:#173f30;color:white;padding:12px 18px;border-radius:7px;font-size:12px;z-index:10;display:none;box-shadow:0 4px 24px #173f3022}#toast.visible{display:block}#toast.error{background:#8c3e33}.connection{font-size:10px;color:#54856a}.connection.stale{color:#ac6c2a}.title-inline{display:flex;gap:10px;align-items:center}.page-foot{font-size:10px;color:#91a08c;margin-top:28px;display:flex;justify-content:space-between;gap:20px}.timeline{max-height:400px;overflow:auto}.timeline-item{padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.timeline-item p{font-size:11px;margin:4px 0}.stack{display:grid;gap:20px}.count{font-size:11px;color:#86947d;font-weight:400}.inline-check{display:flex;gap:8px;align-items:center;font-size:12px}.inline-check input{width:auto;margin:0}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.workspace{padding-top:38px}}@media(max-width:1100px){.sidebar{width:190px;padding-left:10px;padding-right:10px}.shell{grid-template-columns:190px 1fr}.workspace{padding:25px}.topbar{padding:0 25px}.grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:15px}.stat-value{font-size:27px}.review-layout{grid-template-columns:230px 1fr}}
@media(max-width:760px){.shell{display:block}.sidebar{position:relative;width:100%;padding:14px 16px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:22px;margin:0 0 12px}.brand-mark{width:24px;height:24px;font-size:20px}.nav{flex-direction:row;overflow:auto;gap:3px}.nav button{white-space:nowrap;font-size:11px;padding:8px 10px}.nav-icon{display:none}.nav-label,.sidebar-bottom{display:none}.topbar{padding:12px 18px;height:auto;min-height:54px}.breadcrumb{font-size:10px}.account{gap:6px;font-size:10px}.avatar{display:none}.workspace{padding:20px 16px}.heading{display:block;margin-bottom:20px}.heading .actions{margin-top:14px}.heading h1{font-size:26px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:14px}.stat-label{font-size:10px}.stat-value{font-size:28px}.grid{gap:16px}.card-head{padding:16px}.card-body{padding:16px}.review-layout{grid-template-columns:1fr}.document-list{max-height:180px}.form-grid{gap:12px}.filters{padding:16px;gap:10px}.filters label{min-width:100px}.login{grid-template-columns:1fr}.login-story{padding:38px 28px}.login-story .brand{margin-bottom:26px}.login-story h1{font-size:34px;letter-spacing:-1px}.login-story p{font-size:12px;margin-bottom:0}.login-story .login-foot,.login-line{display:none}.login-form{padding:30px 25px}.simulation-banner{font-size:10px;margin-bottom:18px}.page-foot{display:block}.scene-controls{padding:12px}.scene-controls button{padding:7px 10px;font-size:11px}.topbar .connection{font-size:9px}}

.run-select{margin-bottom:16px}
