:root{font-family:Trebuchet MS,Verdana,Arial,sans-serif;color:#563d43;background:#f6e9e4;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bf8795;outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.5}.app-shell{--burgundy: #914456;--deep: #703b4a;--rose: #d68e96;--cream: #fff9ef;--line: #e7c8bd;--soft: #fbefe5;--muted: #946e73;max-width:1840px;margin:0 auto;padding:18px 18px 9px}.app-header{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;justify-content:space-between;padding:12px 18px 16px;margin-bottom:15px;border:3px solid #dfb2aa;border-radius:17px;background:linear-gradient(135deg,#fff9f0,#ffebe4 60%,#f7cbd0);box-shadow:0 5px #e4c1ba,0 12px 32px #b37e8420}.brand{display:flex;gap:14px;align-items:center;min-width:285px}.brand-emblem{width:61px;height:61px;flex:none;border:4px solid #bd7985;border-radius:17px;background:#f7d5d3;box-shadow:inset 0 0 0 5px #fff1e8,0 3px #a96270;transform:rotate(-6deg);display:grid;place-items:center}.brand-emblem span{font-family:Georgia,serif;font-size:40px;font-weight:800;color:var(--burgundy);line-height:1}.brand-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#ba6e78}.brand-eyebrow .sparkle{color:#d89761;font-size:17px}.brand h1{font:700 clamp(21px,1.9vw,32px)/1.12 Georgia,"Times New Roman",serif;letter-spacing:-.45px;margin:3px 0 5px;color:#793748}.brand p{color:#95666c;margin:0;font-size:12px;font-weight:500}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.time-pill{display:flex;flex-direction:column;justify-content:center;border:2px solid #d6a9a1;border-radius:10px;background:#fff8ec;height:51px;min-width:114px;padding:5px 13px}.time-pill span{font-size:9px;font-weight:800;letter-spacing:1.3px;color:#a86972}.time-pill b{font-size:17px;font-variant-numeric:tabular-nums;color:#713c4a}.play-btn,.secondary-btn,.speed-pill{border-radius:10px;border:2px solid #cc9996;font-weight:800;min-height:48px;box-shadow:0 3px #c99f9d}.play-btn{background:#9d4e5e;color:#fff8eb;padding:0 20px;border-color:#8a3f51}.play-btn:hover{background:#80384b}.secondary-btn{background:#fff8ed;color:#8f4d5b;padding:0 12px}.secondary-btn:hover{background:#fce5dc}.speed-pill{background:#fff9ef;color:#a0646d;padding:0 6px 0 12px;font-size:12px;display:flex;gap:6px;align-items:center}.speed-pill select{background:transparent;border:0;color:#773b4b;font-weight:800;outline:none}.dashboard-grid{display:grid;grid-template-columns:minmax(230px,260px) minmax(410px,1fr) minmax(248px,290px);gap:13px;align-items:start}.side-panel,.stage-frame,.journey-panel,.event-panel,.inspector{border:2px solid #e2b5ac;border-radius:15px;background:var(--cream);box-shadow:0 4px #e9c7c1;overflow:hidden}.controls-panel,.results-panel{padding:0 12px 14px}.panel-ribbon{font-size:12px;display:flex;justify-content:space-between;align-items:center;margin:0 -12px 13px;padding:11px 15px;background:linear-gradient(90deg,#954555,#b26873);color:#fff9ee;font-weight:900;letter-spacing:1px}.panel-ribbon span{font-size:10px;font-weight:700;color:#f9e0d9;letter-spacing:0}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:5px}.section-heading h2{margin:0 0 8px;font:700 21px/1.1 Georgia,serif;color:#713847}.section-heading>span{font-size:10px;color:var(--muted)}.scenario{display:flex;gap:9px;align-items:center;background:#fff1e5;border:1px solid #ebc4b8;border-radius:11px;padding:9px}.scenario-icon{color:#a54d61;background:#f7d1d0;width:34px;height:34px;display:grid;place-items:center;border-radius:8px;font:700 25px/1 Georgia,serif}.scenario b,.scenario small{display:block}.scenario b{font-size:12px;color:#673c43}.scenario small{font-size:11px;color:#ad7f7e;margin-top:2px}.sub-heading{display:flex;justify-content:space-between;align-items:center;margin:15px 0 9px;padding:0 0 5px;border-bottom:1px dashed #ddb7b0;color:#a35362;text-transform:uppercase;font-size:10px;font-weight:900;letter-spacing:1px}.sub-heading span{font-size:10px;text-transform:none;letter-spacing:0;font-weight:500}.mode-stack{display:grid;gap:6px}.mode-option{display:flex;text-align:left;gap:9px;align-items:center;padding:9px;background:#fff9f0;border:1.5px solid #e5c9bd;border-radius:10px;color:#73484d}.mode-option.chosen{border-color:#b76470;background:#fff0e7;box-shadow:inset 0 0 0 1px #f4c4c3}.mode-option b,.mode-option small{display:block}.mode-option b{font-size:12px}.mode-option small{font-size:10px;color:#98777a;margin-top:2px}.radio-dot{display:inline-block;width:17px;height:17px;border:2px solid #c49a99;border-radius:50%;background:#fff8f0;flex:none}.mode-option.chosen .radio-dot{border-color:#a44b61;background:radial-gradient(circle at center,#a44b61 0,#a44b61 4px,#fff8f0 4.5px)}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 2px;cursor:pointer}.switch-copy{min-width:0}.switch-copy b{font-size:11.5px;display:block;color:#713f4b}.switch-copy small{color:#947a76;font-size:10px;display:block;margin-top:3px;line-height:1.3}.switch-row input{position:absolute;opacity:0;width:1px;height:1px}.switch-row .toggle{position:relative;width:37px;height:21px;flex:none;border-radius:20px;background:#d7c8c0;box-shadow:inset 0 1px 2px #b5a298;transition:background .15s}.switch-row .toggle:before{content:"";position:absolute;left:3px;top:3px;width:15px;height:15px;border-radius:50%;background:#fff9f0;box-shadow:0 1px 2px #7d5b5770;transition:transform .15s}.switch-row input:checked+.toggle{background:#aa5269}.switch-row input:checked+.toggle:before{transform:translate(16px)}.switch-row input:focus-visible+.toggle{outline:2px solid #b36c7d;outline-offset:2px}.switch-row.is-disabled{opacity:.48;cursor:not-allowed}.range-control{display:block;padding:8px 2px 5px}.range-control>span{display:flex;justify-content:space-between;font-size:11px;gap:8px;color:#735050}.range-control>span strong{color:#9d4d5a;font-variant-numeric:tabular-nums}.range-control input{width:100%;height:5px;accent-color:#a44e64;margin:11px 0 2px}.role-list{display:grid;gap:8px}.role-row{display:flex;align-items:center;gap:8px;font-size:11px}.role-row>span:nth-child(2){flex:1}.role-row>b{font-size:10px;color:#a26a70;font-variant-numeric:tabular-nums}.role-bubble{width:15px;height:15px;border-radius:5px;border:2px solid #a86a73;background:#f1c7b9}.role-bubble.doctor{background:#f9f8ea}.role-bubble.nurse{background:#edb8b1}.role-bubble.ma{background:#b4cdb0}.role-bubble.lab{background:#b7d8d7}.role-bubble.pharmacist{background:#d8a9bc}.sidebar-note{margin-top:14px;background:#fff0e8;border:1px solid #edcbc2;color:#95737c;border-radius:9px;padding:9px;font-size:10px;line-height:1.5}.center-column{min-width:0;display:grid;gap:12px}.stage-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:10px 13px;gap:5px;background:#fff8ed;border-bottom:1px solid #dfb9ac}.stage-title{font-size:11px;letter-spacing:1.3px;font-weight:900;color:#93475a}.stage-hint{font-size:10px;color:#a57f78}.stage-canvas{width:100%;aspect-ratio:1040/680;background:#f4e4d6;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}.stage-canvas canvas{max-width:100%;height:auto;image-rendering:pixelated;display:block}.stage-footer{background:#fff8ee;border-top:1px solid #edc8bd;display:flex;gap:14px;padding:9px 14px;align-items:center;flex-wrap:wrap;font-size:10px;color:#8d646c}.stage-footer span{display:flex;align-items:center;gap:5px}.stage-footer .stage-note{margin-left:auto;opacity:.8}.legend-dot{width:10px;height:10px;display:inline-block;border-radius:3px;border:1px solid #b48381}.legend-dot.human{background:#c1d5c6}.legend-dot.ai{background:#d57c99;border-radius:50%}.legend-dot.patient{background:#f3c6ad}.journey-panel{padding:12px}.journey-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;gap:8px}.journey-title>span{font-size:11px;letter-spacing:1.15px;font-weight:900;color:#963e54}.journey-title>small{color:#9c7a78;font-size:10px}.journey-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.journey-item{min-height:56px;padding:7px 8px;background:#fff0e5;border:1px solid #e8c8ba;border-radius:9px}.journey-item.bottleneck{background:#f9e0d3;border-color:#b77270}.step-name{display:flex;align-items:center;gap:5px;font-size:10px;color:#774c55;font-weight:700}.step-number{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:4px;background:#eebec0;color:#8c4659;font-size:9px;flex:none}.step-nums{display:flex;justify-content:flex-end;align-items:baseline;gap:4px;margin-top:4px}.step-nums b{font:700 17px/1 Georgia,serif;color:#93475a}.step-nums small{font-size:9px;color:#99787a}.journey-foot{display:flex;justify-content:space-between;gap:8px;padding-top:10px;font-size:10px;color:#987277}.event-panel{padding:12px 14px 10px}.event-heading{display:flex;justify-content:space-between;gap:8px;margin-bottom:7px;color:#934758}.event-heading b{font-size:11px;letter-spacing:1px}.event-heading span{font-size:10px;color:#a78883}.events{display:grid;gap:4px}.event{display:flex;gap:11px;padding:5px 7px;border-radius:5px;font-size:10px;color:#826467;background:#fff6ed}.event time{white-space:nowrap;color:#9b596c;font-weight:700;font-variant-numeric:tabular-nums}.event.ai{background:#fae9e6}.event.ai span{color:#a25669}.event.complete{background:#f0f4e6}.event.safety{background:#f8e1d4}.inspector{padding:11px 14px}.inspector-head{display:flex;justify-content:space-between;align-items:center;color:#7c3d4d}.inspector-head button{border:0;background:none;color:#7c3d4d;font-size:16px}.inspector-stage{background:#f5e2db;color:#995769;border-radius:7px;padding:5px 9px;margin:8px 0;display:inline-block;font-size:11px;font-weight:700}.inspector-stats{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;margin-top:7px}.inspector-stats span{flex:1;min-width:120px}.inspector-stats b{display:block;margin-top:2px;color:#794856}.inspector p{font-size:10px;color:#9f8081}.results-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:8px}.results-head b{color:#793f4b;font:700 18px Georgia,serif}.live-pill{font-size:9px;background:#e7efdf;border:1px solid #bfd5b4;color:#4f7857;border-radius:20px;padding:5px 7px;font-weight:900;letter-spacing:.5px}.live-pill i{display:inline-block;width:6px;height:6px;background:#719c65;border-radius:50%;margin-right:3px}.metrics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tiny-metric{background:#fff4e8;border:1px solid #f0d3c5;border-radius:9px;padding:10px 9px;min-height:79px;display:flex;flex-direction:column;gap:3px}.tiny-metric.accent{background:#f9e0df;border-color:#e6b4b7}.tiny-label{font-size:10px;line-height:1.15;color:#986c74;font-weight:700}.tiny-value{font:700 clamp(16px,1.2vw,23px)/1.3 Georgia,serif;color:#783e51;font-variant-numeric:tabular-nums;white-space:nowrap}.tiny-caption{font-size:9px;color:#ad8484}.util-row{margin:8px 0 12px}.util-row>div:first-child{display:flex;justify-content:space-between;font-size:11px;color:#805963;margin-bottom:5px}.util-row b{font-variant-numeric:tabular-nums;color:#9f5766}.track{flex:1;height:9px;border-radius:5px;background:#efdcd1;overflow:hidden}.fill{height:100%;background:#a5baa4;border-radius:5px;transition:width .18s ease-out}.fill.busy{background:#c9787d}.fill.pink{background:#d68c93}.progress-list{display:grid;gap:11px}.flow-row{display:grid;grid-template-columns:83px minmax(0,1fr) 39px;gap:6px;align-items:center;font-size:10px}.flow-row span{color:#845e63}.flow-row b{font-size:10px;font-variant-numeric:tabular-nums;text-align:right;color:#824858}.compare-trigger{width:100%;border-radius:10px;background:#a35262;color:#fff9ee;border:1px solid #8e4052;padding:10px 12px;font-weight:800;display:flex;justify-content:space-between;margin-top:17px;font-size:11px}.compare-trigger:hover{background:#843e50}.compare-box{border:1px solid #e0b9b6;border-radius:9px;padding:8px;margin-top:8px;background:#fff7ed}.compare-sub{font-size:10px;color:#a07377;margin-bottom:8px;line-height:1.5}.compare-box table{border-collapse:collapse;width:100%;font-size:10px}.compare-box th,.compare-box td{padding:6px 3px;text-align:right;border-bottom:1px solid #edd8cc}.compare-box th:first-child,.compare-box td:first-child{text-align:left}.compare-box th{color:#924e5e}.evidence-note{border-top:1px dashed #dfbbad;margin:14px 0 0;padding-top:10px;font-size:10px;line-height:1.5;color:#99777a}.evidence-note b{color:#875363}.app-footer{display:flex;flex-wrap:wrap;justify-content:space-between;padding:16px 7px 6px;gap:8px;color:#ad8b88;font-size:10px}@media(max-width:1330px){.dashboard-grid{grid-template-columns:225px minmax(390px,1fr) 245px;gap:10px}.app-shell{padding:12px}.app-header{padding:10px}.journey-items{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1050px){.dashboard-grid{grid-template-columns:minmax(225px,.78fr) minmax(450px,1.4fr)}.results-panel{grid-column:1 / -1}.metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.results-panel .progress-list{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.center-column{grid-row:1}.controls-panel,.results-panel{grid-column:1}.journey-items{grid-template-columns:repeat(4,minmax(0,1fr))}.brand-emblem{width:50px;height:50px}.app-header{gap:12px}}@media(max-width:540px){.app-shell{padding:6px}.app-header{padding:10px}.brand{gap:9px}.brand h1{font-size:21px}.toolbar{width:100%}.time-pill{min-width:100px}.play-btn{padding:0 13px}.journey-items,.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.results-panel .progress-list{grid-template-columns:1fr}.stage-head{padding:7px}.stage-hint{font-size:9px}.stage-footer{gap:6px}.stage-footer .stage-note{margin-left:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
