.drexpert{--dx-navy:#0b1f3a;--dx-blue:#1363df;--dx-yellow:#f5c542;--dx-red:#dc3545;--dx-green:#1f9d61;--dx-cyan:#23b5d3;--dx-bg:#f5f8fc;--dx-card:#fff;--dx-text:#10243e;--dx-muted:#6c7b8f;--dx-border:#dbe4ef;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--dx-text);max-width:1280px;margin:0 auto;line-height:1.5;box-sizing:border-box}.drexpert *{box-sizing:border-box}.drexpert button,.drexpert select{font:inherit}.drexpert button{cursor:pointer}.drexpert .is-hidden{display:none!important}.drexpert-hero{display:flex;gap:24px;justify-content:space-between;align-items:flex-end;padding:28px;border-radius:22px;background:linear-gradient(135deg,#0b1f3a,#163d72);color:white;margin-bottom:14px}.drexpert-hero h1{margin:6px 0 8px;font-size:clamp(28px,4vw,46px);line-height:1.05;color:#fff}.drexpert-hero p{margin:0;max-width:820px;color:#dce8f8}.drexpert-kicker,.drexpert-eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.drexpert-kicker{color:#f5d766}.drexpert-hero-badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.drexpert-hero-badges span{padding:7px 10px;border:1px solid rgba(255,255,255,.2);border-radius:999px;font-size:12px;background:rgba(255,255,255,.08)}.drexpert-disclaimer{padding:12px 16px;border-radius:14px;background:#fff8df;border:1px solid #f2d678;margin-bottom:14px;color:#614d00}.drexpert-launch{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:26px;border:1px solid var(--dx-border);border-radius:20px;background:var(--dx-card)}.drexpert-launch h2{margin:4px 0 8px;font-size:26px}.drexpert-launch p{margin:0;color:var(--dx-muted)}.drexpert-launch-rules{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.drexpert-launch-rules span{font-size:12px;font-weight:700;padding:7px 10px;border-radius:999px;background:#edf4ff;color:#174b91}.drexpert-btn{border:0;border-radius:12px;padding:11px 15px;font-weight:800;min-height:44px}.drexpert-btn--start{background:var(--dx-yellow);color:#172232}.drexpert-btn--ghost{background:white;border:1px solid var(--dx-border);color:var(--dx-text)}.drexpert-sim{margin-top:16px}.drexpert-topbar{display:grid;grid-template-columns:1fr 1fr 1.3fr auto;gap:10px;align-items:stretch;margin-bottom:10px}.drexpert-codeid,.drexpert-clock,.drexpert-phase{border:1px solid var(--dx-border);background:white;border-radius:14px;padding:10px 13px}.drexpert-topbar small{display:block;color:var(--dx-muted);font-size:10px;font-weight:800;letter-spacing:.08em}.drexpert-topbar strong{font-size:17px}.drexpert-grid-main{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:12px}.drexpert-left{min-width:0}.drexpert-monitor{background:#050b10;border-radius:18px;overflow:hidden;border:1px solid #1e394d;color:#fff}.drexpert-monitor-head,.drexpert-monitor-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;background:#0b141c;color:#b7c8d4;font-size:12px}.drexpert-monitor-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#5ef29a;margin-right:7px}.drexpert-monitor-controls{display:flex;align-items:center;gap:12px}.drexpert-monitor-controls label{display:flex;align-items:center;gap:6px}.drexpert-monitor-controls select{background:#101d27;color:white;border:1px solid #284254;border-radius:8px;padding:5px 7px}.drexpert-monitor-body{display:grid;grid-template-columns:minmax(0,1fr) 180px;min-height:355px}.drexpert-wave-stack{min-width:0}.drexpert-wave-row{position:relative;height:118px;border-bottom:1px solid #162a38}.drexpert-wave-row:last-child{border-bottom:0}.drexpert-wave-row>span{position:absolute;left:8px;top:6px;font-size:10px;font-weight:800;z-index:2;opacity:.75}.drexpert-wave-row canvas{display:block;width:100%;height:100%}.drexpert-wave-row--ecg>span{color:#71f5a3}.drexpert-wave-row--pleth>span{color:#61c9ff}.drexpert-wave-row--capno>span{color:#ffe36b}.drexpert-numerics{border-left:1px solid #173246;padding:7px}.drexpert-numerics>div{padding:8px 6px;border-bottom:1px solid #173246}.drexpert-numerics>div:last-child{border-bottom:0}.drexpert-numerics small{display:block;font-size:10px;font-weight:800;opacity:.72}.drexpert-numerics strong{display:inline-block;font-size:30px;line-height:1.1;margin-right:5px}.drexpert-numerics span{font-size:10px;opacity:.7}.drexpert-numerics .is-green{color:#69ef9d}.drexpert-numerics .is-blue{color:#61c9ff}.drexpert-numerics .is-yellow{color:#ffe36b}.drexpert-numerics .is-white{color:#f5f7fa}.drexpert-numerics .is-cyan{color:#7ae7ef}.drexpert-alarm{padding:4px 8px;border-radius:999px;background:#22313d;color:#d8e1e8;font-weight:800}.drexpert-alarm.is-critical{background:#7d1420;color:#fff}.drexpert-alarm.is-warning{background:#6e5710;color:#fff3b5}.drexpert-patient,.drexpert-log-panel,.drexpert-actions,.drexpert-debrief{margin-top:12px;background:white;border:1px solid var(--dx-border);border-radius:18px}.drexpert-patient{padding:14px}.drexpert-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:900;margin-bottom:10px}.drexpert-section-title small{font-weight:500;color:var(--dx-muted)}.drexpert-mini-btn{border:1px solid var(--dx-border);background:#f7f9fc;border-radius:8px;padding:6px 9px;font-weight:700}.drexpert-patient-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.drexpert-patient-grid>div{padding:9px 10px;border-radius:12px;background:var(--dx-bg)}.drexpert-patient-grid small{display:block;color:var(--dx-muted);font-size:10px;font-weight:800}.drexpert-patient-grid strong{font-size:13px}.drexpert-scene{margin-top:10px;padding:12px;border-left:4px solid var(--dx-blue);background:#f5f9ff;border-radius:10px}.drexpert-results{margin-top:10px;max-height:260px;overflow:auto;padding:10px;border:1px dashed var(--dx-border);border-radius:10px;color:#33485f}.drexpert-result-item{padding:8px 0;border-bottom:1px solid #edf1f6}.drexpert-result-item:last-child{border-bottom:0}.drexpert-result-item b{display:block}.drexpert-log-panel{margin-top:0;padding:12px;min-height:530px;display:flex;flex-direction:column}.drexpert-log-count{font-size:11px;color:var(--dx-muted)}.drexpert-log{overflow:auto;max-height:660px}.drexpert-log-entry{display:grid;grid-template-columns:52px 1fr;gap:8px;padding:8px 0;border-bottom:1px solid #edf1f6;font-size:12px}.drexpert-log-entry time{color:var(--dx-muted);font-variant-numeric:tabular-nums}.drexpert-actions{padding:14px}.drexpert-action-tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid var(--dx-border);padding-bottom:10px;margin-bottom:12px}.drexpert-action-tabs button{border:1px solid var(--dx-border);background:#f7f9fc;border-radius:999px;padding:8px 11px;font-weight:800;font-size:12px}.drexpert-action-tabs button.is-active{background:var(--dx-navy);color:white;border-color:var(--dx-navy)}.drexpert-action-panel{display:none}.drexpert-action-panel.is-active{display:block}.drexpert-button-grid,.drexpert-drug-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.drexpert-button-grid button,.drexpert-drug-grid button,.drexpert-device-row button,.drexpert-causes-grid button{border:1px solid var(--dx-border);background:#fff;border-radius:11px;min-height:50px;padding:9px 10px;font-weight:800;color:var(--dx-text);text-align:left}.drexpert-button-grid button:hover,.drexpert-drug-grid button:hover,.drexpert-device-row button:hover,.drexpert-causes-grid button:hover{border-color:#88aee6;background:#f5f9ff}.drexpert-drug-grid button strong,.drexpert-drug-grid button small{display:block}.drexpert-drug-grid button small{font-weight:500;color:var(--dx-muted);margin-top:3px}.drexpert-device-row{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.drexpert-device-row label{display:flex;flex-direction:column;font-size:11px;font-weight:800;color:var(--dx-muted)}.drexpert-device-row select{min-height:48px;border:1px solid var(--dx-border);border-radius:10px;padding:0 10px;background:#fff}.drexpert-device-row button.is-danger{background:#a81f2c;color:#fff;border-color:#a81f2c}.drexpert-device-row button.is-warning{background:#ffe8a1;border-color:#e1bc49}.drexpert-inline-status{display:flex;gap:14px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:var(--dx-muted)}.drexpert-inline-status strong{color:var(--dx-text)}.drexpert-causes-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.drexpert-causes-grid>div{padding:12px;border:1px solid var(--dx-border);border-radius:12px}.drexpert-causes-grid h4{margin:0 0 8px}.drexpert-causes-grid button{width:100%;margin:4px 0}.drexpert-causes-grid button.is-checked{background:#e9f7ef;border-color:#71bd91}.drexpert-causes-grid button.is-positive{background:#fff0d8;border-color:#efb65c}.drexpert-debrief{padding:18px}.drexpert-debrief-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.drexpert-debrief-head h2{margin:2px 0}.drexpert-score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}.drexpert-score-grid>div{padding:14px;border-radius:14px;background:var(--dx-bg)}.drexpert-score-grid small{display:block;color:var(--dx-muted);font-size:10px;font-weight:800}.drexpert-score-grid strong{font-size:30px}.drexpert-score-grid span{font-size:12px}.drexpert-debrief-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.drexpert-debrief-grid article{padding:14px;border:1px solid var(--dx-border);border-radius:14px}.drexpert-debrief-grid h3{margin-top:0}.drexpert-debrief-grid ul{padding-left:18px}.drexpert-full-log{margin-top:12px;border-top:1px solid var(--dx-border);padding-top:12px}.drexpert-full-log summary{cursor:pointer;font-weight:800}.drexpert-full-log [data-debrief-log]{margin-top:10px;max-height:320px;overflow:auto}.drexpert-toast{position:fixed;right:20px;bottom:20px;z-index:99999;max-width:360px;padding:11px 14px;border-radius:12px;background:#10243e;color:#fff;box-shadow:0 8px 30px rgba(0,0,0,.2);font-size:13px}.drexpert-toast.is-bad{background:#8d1d2a}.drexpert-toast.is-good{background:#176c46}@media(max-width:980px){.drexpert-grid-main{grid-template-columns:1fr}.drexpert-log-panel{min-height:0}.drexpert-log{max-height:280px}.drexpert-button-grid,.drexpert-drug-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.drexpert-hero{align-items:flex-start;flex-direction:column;padding:20px}.drexpert-hero-badges{justify-content:flex-start}.drexpert-launch{grid-template-columns:1fr}.drexpert-topbar{grid-template-columns:1fr 1fr}.drexpert-topbar .drexpert-btn{grid-column:1/-1}.drexpert-monitor-body{grid-template-columns:1fr}.drexpert-numerics{border-left:0;border-top:1px solid #173246;display:grid;grid-template-columns:repeat(3,1fr)}.drexpert-numerics>div{border-right:1px solid #173246}.drexpert-patient-grid{grid-template-columns:1fr 1fr}.drexpert-button-grid,.drexpert-drug-grid{grid-template-columns:1fr 1fr}.drexpert-causes-grid,.drexpert-debrief-grid{grid-template-columns:1fr}.drexpert-score-grid{grid-template-columns:1fr 1fr}}@media(max-width:430px){.drexpert-topbar{grid-template-columns:1fr}.drexpert-button-grid,.drexpert-drug-grid{grid-template-columns:1fr}.drexpert-numerics{grid-template-columns:1fr 1fr}.drexpert-patient-grid{grid-template-columns:1fr}.drexpert-action-tabs{display:grid;grid-template-columns:1fr 1fr}.drexpert-action-tabs button{border-radius:10px}.drexpert-monitor-controls{align-items:flex-end;flex-direction:column;gap:4px}.drexpert-wave-row{height:100px}}

/* v1.1.0 desktop command console layout */
.drexpert-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(390px,.9fr);gap:14px;align-items:start}
.drexpert-workspace-left{min-width:0}
.drexpert-command-panel{background:#fff;border:1px solid var(--dx-border);border-radius:18px;overflow:hidden;position:sticky;top:12px;min-width:0;height:690px;display:flex;flex-direction:column}
.drexpert-command-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--dx-border);background:linear-gradient(180deg,#fbfdff,#f5f8fc)}
.drexpert-command-head>div:first-child{display:flex;flex-direction:column;gap:1px}.drexpert-command-head strong{font-size:16px}.drexpert-command-head .drexpert-eyebrow{color:var(--dx-blue);font-size:9px}
.drexpert-command-live{font-size:10px;font-weight:900;letter-spacing:.08em;color:#176c46}.drexpert-command-live span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#28c978;margin-right:5px;box-shadow:0 0 0 3px rgba(40,201,120,.12)}
.drexpert-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px;border-bottom:1px solid var(--dx-border);background:#f8fbff}
.drexpert-quick-actions button{min-height:52px;border:1px solid #cdd9e8;background:#fff;border-radius:11px;padding:7px 8px;font-weight:900;color:var(--dx-text);font-size:12px;line-height:1.15;text-align:center}.drexpert-quick-actions button span{display:block;margin-top:2px}.drexpert-quick-actions button.is-cpr{background:#e9f8ef;border-color:#8acaa5;color:#155f3f}.drexpert-quick-actions button.is-shock{background:#9e1b28;border-color:#9e1b28;color:#fff}
.drexpert-console-status{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-bottom:1px solid var(--dx-border);background:#fff}.drexpert-console-status span{padding:7px 8px;text-align:center;font-size:9px;color:var(--dx-muted);border-right:1px solid var(--dx-border)}.drexpert-console-status span:last-child{border-right:0}.drexpert-console-status strong{display:block;color:var(--dx-text);font-size:11px;margin-top:1px}
.drexpert-command-scroll{padding:10px;overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin}
.drexpert-command-panel .drexpert-action-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-bottom:10px;margin-bottom:10px}.drexpert-command-panel .drexpert-action-tabs button{border-radius:9px;padding:7px 8px;font-size:10px;min-height:36px;text-align:center}
.drexpert-command-panel .drexpert-action-panel{padding:0}
.drexpert-button-grid--console,.drexpert-drug-grid--console{grid-template-columns:repeat(2,minmax(0,1fr))}
.drexpert-command-panel .drexpert-button-grid button,.drexpert-command-panel .drexpert-drug-grid button,.drexpert-command-panel .drexpert-causes-grid button{min-height:46px;padding:8px 9px;font-size:11px}
.drexpert-command-panel .drexpert-drug-grid button strong{font-size:11px}.drexpert-command-panel .drexpert-drug-grid button small{font-size:9px;line-height:1.3}
.drexpert-device-card{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.drexpert-device-card label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:800;color:var(--dx-muted)}.drexpert-device-card select,.drexpert-device-card button{min-height:44px;border:1px solid var(--dx-border);border-radius:10px;background:#fff;padding:7px 9px;font-weight:800;color:var(--dx-text)}
.drexpert-dose-note{margin-top:9px;padding:9px 10px;border-radius:10px;background:#f5f9ff;border-left:3px solid var(--dx-blue);font-size:10px;color:#35506d}
.drexpert-weight-row{display:flex;align-items:end;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid var(--dx-border);border-radius:11px;background:#f8fbff;margin-bottom:8px}.drexpert-weight-row label{font-size:10px;font-weight:900;color:var(--dx-text)}.drexpert-weight-row input{width:74px;min-height:34px;border:1px solid var(--dx-border);border-radius:8px;padding:4px 7px;margin:0 4px;font:inherit}.drexpert-weight-row span{font-size:9px;color:var(--dx-muted);text-align:right}
.drexpert-drug-timers{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:8px}.drexpert-drug-timers>div{padding:7px 8px;background:#0e223d;color:#fff;border-radius:9px}.drexpert-drug-timers small{display:block;color:#aebed1;font-size:8px;font-weight:800}.drexpert-drug-timers strong{font-size:11px;color:#fff}
.drexpert-dose-reference{margin-top:9px;border:1px solid var(--dx-border);border-radius:10px;overflow:hidden}.drexpert-dose-reference summary{cursor:pointer;padding:9px 10px;background:#f7f9fc;font-weight:900;font-size:10px}.drexpert-dose-table{padding:7px 10px}.drexpert-dose-table>div{display:grid;grid-template-columns:minmax(115px,.8fr) 1.2fr;gap:8px;padding:6px 0;border-bottom:1px solid #edf1f6;font-size:9px}.drexpert-dose-table>div:last-child{border-bottom:0}.drexpert-dose-table b{color:var(--dx-text)}.drexpert-dose-table span{color:var(--dx-muted)}
.drexpert-patient--compact{margin-top:10px}.drexpert-patient--compact .drexpert-scene{font-size:12px;padding:10px;margin-top:8px}.drexpert-patient--compact .drexpert-patient-grid>div{padding:7px 9px}.drexpert-patient--compact .drexpert-patient-grid strong{font-size:12px}
.drexpert-bottom-desk{display:grid;grid-template-columns:.9fr 1.1fr;gap:12px;margin-top:12px}.drexpert-bottom-desk .drexpert-log-panel,.drexpert-results-panel{margin-top:0;background:#fff;border:1px solid var(--dx-border);border-radius:18px;padding:12px;min-height:220px}.drexpert-bottom-desk .drexpert-log-panel{display:flex;flex-direction:column}.drexpert-bottom-desk .drexpert-log{max-height:320px;overflow:auto}.drexpert-results-panel .drexpert-results{max-height:320px;overflow:auto;border:0;border-radius:0;padding:0}
.drexpert-monitor-body{min-height:390px}.drexpert-wave-row{height:130px}.drexpert-numerics strong{font-size:32px}
.drexpert-command-panel .drexpert-causes-grid{grid-template-columns:1fr 1fr;gap:8px}.drexpert-command-panel .drexpert-causes-grid>div{padding:8px}.drexpert-command-panel .drexpert-causes-grid h4{font-size:11px;margin-bottom:5px}
@media(max-width:1100px){.drexpert-workspace{grid-template-columns:minmax(0,1.35fr) minmax(350px,.9fr)}.drexpert-command-panel{height:700px}.drexpert-monitor-body{min-height:360px}.drexpert-wave-row{height:120px}}
@media(max-width:900px){.drexpert-workspace{grid-template-columns:1fr}.drexpert-command-panel{position:relative;top:auto;height:auto;max-height:none}.drexpert-command-scroll{overflow:visible}.drexpert-bottom-desk{grid-template-columns:1fr}.drexpert-quick-actions{grid-template-columns:repeat(3,1fr)}.drexpert-command-panel .drexpert-action-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){.drexpert-command-panel .drexpert-action-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.drexpert-quick-actions{grid-template-columns:repeat(2,1fr)}.drexpert-console-status{grid-template-columns:repeat(2,1fr)}.drexpert-console-status span:nth-child(2){border-right:0}.drexpert-button-grid--console,.drexpert-drug-grid--console{grid-template-columns:1fr}.drexpert-drug-timers{grid-template-columns:1fr}.drexpert-weight-row{align-items:flex-start;flex-direction:column}.drexpert-weight-row span{text-align:left}.drexpert-command-panel .drexpert-causes-grid{grid-template-columns:1fr}.drexpert-dose-table>div{grid-template-columns:1fr}.drexpert-monitor-body{min-height:0}.drexpert-wave-row{height:100px}}
