:root{--bg:#071421;--bg2:#0b1c2d;--card:#102439;--card2:#122c42;--stroke:#284155;--text:#e9f6ff;--muted:#93acbf;--mint:#5bedd4;--aqua:#38bdf8;--orange:#feb061;--purple:#c299ff;--red:#ff7794;--green:#7ce4a5;color-scheme:dark;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{font-size:14px}.app-shell{display:flex;min-height:100vh;max-width:2600px;margin:auto}.sidebar{width:251px;flex-shrink:0;background:#0a1928;border-right:1px solid #1a3449;padding:25px 17px 20px;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;max-height:100vh}.brand{display:flex;align-items:center;gap:10px;margin-bottom:36px}.brand-logo{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#0e3449;color:#54e5d4;box-shadow:inset 0 0 0 1px #245469}.brand-logo svg{width:30px}.brand strong{display:block;font-size:13px;letter-spacing:.08em}.brand small{display:block;font-size:8.5px;letter-spacing:.13em;color:#91bdc7;margin-top:5px}.side-head,.eyebrow{font-size:10px;letter-spacing:.13em;font-weight:800;color:#75a2b5}.side-head{display:flex;justify-content:space-between;padding:0 7px;margin-bottom:12px}.side-head span{font-size:9px;color:#58dcc9}.unit-list{display:flex;flex-direction:column;gap:5px;overflow-y:auto}.unit-button{width:100%;cursor:pointer;text-align:left;border:1px solid transparent;color:#b5c8d7;background:transparent;border-radius:10px;padding:11px 12px;display:flex;align-items:center;gap:10px;transition:background .2s,border-color .2s}.unit-button:hover{background:#172e40}.unit-button.active{background:#12384a;border-color:#327a84;color:white;box-shadow:inset 3px 0 0 #57e1ca}.unit-button .unit-icon{color:#76b6c3;font-size:16px;width:22px;text-align:center}.unit-button.active .unit-icon{color:#5bf0d4}.unit-button .unit-name{flex:1;font-size:12px;font-weight:600}.unit-button .unit-beds{font-size:10px;color:#8fb0c1}.side-foot{margin-top:auto;border-top:1px solid #1b3345;padding:24px 4px 0}.side-foot p{color:#7f99a9;font-size:10px;line-height:1.6;margin:12px 0 16px}.pulse{font-size:10px;color:#9fccbc;display:flex;gap:8px;align-items:center}.pulse-dot,.live-dot{width:7px;height:7px;border-radius:50%;background:#57e2b1;box-shadow:0 0 11px #51d39b}.secondary-button{background:#142d42;border:1px solid #36566c;color:#d9edf7;border-radius:9px;padding:10px 13px;font-size:11px;font-weight:700;cursor:pointer}.secondary-button:hover{border-color:#66b6b4;color:#fff}.main{width:calc(100% - 251px);min-width:0;padding:24px clamp(15px,2.2vw,37px) 14px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.headline h1{font-size:clamp(22px,2.3vw,35px);letter-spacing:-.045em;margin:7px 0 6px;font-weight:800}.headline h1 span:first-child{color:#68e3d3}.headline-dot{color:#3e6277!important}.headline p{color:#98b1c5;margin:0;font-size:12px}.top-actions{display:flex;align-items:center;gap:10px}.pill{border:1px solid #254958;background:#113b43;color:#a7efe1;font-weight:650;border-radius:999px;padding:8px 13px;font-size:11px;display:flex;align-items:center;gap:9px}.icon-button{width:32px;height:32px;background:#132b40;color:#bfd4e2;border:1px solid #2b4659;border-radius:50%;font-weight:800;cursor:pointer}.nav-tabs{display:flex;align-items:center;gap:6px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #284054}.tab{background:transparent;border:0;color:#94aec1;cursor:pointer;padding:11px 15px;border-radius:9px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.tab.active{color:#8ef6df;background:#153c47}.tab:hover{color:#fff;background:#132c40}.tabs-filler{flex:1}.subtitle-pill{font-size:10px;font-weight:800;letter-spacing:.07em;color:#b0d7e7;border:1px solid #234658;padding:8px 11px;border-radius:7px}.tour-layout{display:grid;grid-template-columns:minmax(0,1fr) 323px;gap:16px;align-items:stretch}.stage-area{min-width:0;display:flex;flex-direction:column;gap:13px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.stat{min-height:92px;background:linear-gradient(145deg,#102638,#0e2133);border:1px solid #263f54;border-radius:12px;padding:15px 13px}.stat-label{font-size:10px;font-weight:650;color:#88a8b9;margin-bottom:11px}.stat-value{font-size:clamp(17px,1.5vw,25px);font-weight:800;letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap}.stat-value span{font-size:11px;letter-spacing:0;color:#aac2ce}.stat-value.emphasis{color:#7de7d9}.viewport-wrap{position:relative;flex:1;min-height:535px;background:radial-gradient(ellipse at 55% 38%,#12344c 0%,#0b2337 48%,#081a2a 100%);border:1px solid #27516a;border-radius:16px;overflow:hidden;isolation:isolate}.viewport-wrap:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(50,118,147,.05),transparent 20%,transparent 65%,rgba(6,15,27,.62));z-index:1}.viewport-wrap canvas{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:none;cursor:grab}.viewport-wrap canvas:active{cursor:grabbing}.viewport-top{position:absolute;top:20px;left:22px;right:18px;display:flex;justify-content:space-between;z-index:3;pointer-events:none}.viewport-top h2{font-size:20px;margin:8px 0 4px;letter-spacing:-.025em}.viewport-top small{font-size:11px;color:#abc4d4}.world-label{font-size:9px;color:#88ddd1;letter-spacing:.14em;font-weight:850}.voxel-badge{color:#abd9e8;font-size:9px;font-weight:800;letter-spacing:.08em;border:1px solid #2a546a;border-radius:6px;padding:7px 9px;height:fit-content;background:#102d4050}.voxel-badge span{color:#67efcf}.viewport-bottom{position:absolute;bottom:16px;left:14px;right:14px;display:flex;justify-content:space-between;gap:14px;align-items:center;z-index:4;pointer-events:none}.scene-help{font-size:10px;color:#bad0dc;background:#102b40d9;padding:10px 12px;border:1px solid #265067;border-radius:10px}.help-icon{color:#7bf1d3;margin-right:4px}.dot-separator{opacity:.45;margin:0 5px}.camera-controls{display:flex;gap:6px;pointer-events:auto}.camera-controls button{background:#18384adf;color:white;border:1px solid #4c7186;border-radius:8px;padding:7px 11px;font-weight:750;cursor:pointer}.camera-controls button:hover{background:#24566c}.scene-labels{position:absolute;inset:0;z-index:2;pointer-events:none}.bed-label{position:absolute;transform:translate(-50%,-50%);white-space:nowrap;pointer-events:auto;border:1px solid #ffffff6b;border-radius:7px;font-family:inherit;font-size:10px;font-weight:850;color:#fff;cursor:pointer;background:#0d2436e8;padding:5px 7px;box-shadow:0 5px 16px #0008;letter-spacing:.01em}.bed-label.active{outline:2px solid #fff;box-shadow:0 0 0 5px #ffffff25,0 5px 20px #000b}.bed-label .bed-num{opacity:.7;padding-right:6px}.webgl-warning{position:absolute;inset:20% 10%;background:#271b27;border:1px solid #af6774;color:#f6cbd3;padding:25px;border-radius:10px;z-index:10}.bottom-bar{background:#0e2335;border:1px solid #244258;border-radius:12px;min-height:65px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:18px}.bottom-left strong{display:block;font-size:10px;letter-spacing:.08em}.bottom-left span{font-size:10px;color:#8da9ba;margin-top:5px;display:block}.profiles-line{display:flex;flex-wrap:wrap;gap:8px}.profile-chip{border:1px solid #32485a;color:#cfe3eb;background:#112a3d;border-radius:999px;padding:8px 10px;font-size:10px;font-weight:750;cursor:pointer}.profile-chip:hover{border-color:#73cbbb}.chip-dot{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:7px}.patient-panel{border:1px solid #2b5265;background:#102438;border-radius:15px;padding:19px;min-width:0;overflow-y:auto;max-height:calc(100vh - 190px);position:sticky;top:16px}.patient-eyebrow{font-size:10px;letter-spacing:.1em;font-weight:800;color:#8fd6d2;display:flex;gap:7px;align-items:center}.patient-dot{width:9px;height:9px;border-radius:3px;background:var(--orange)}.panel-top h2{font-size:21px;line-height:1.1;margin:10px 0 7px}.panel-top p{font-size:11px;color:#9cb4c5;line-height:1.45;margin:0 0 15px}.patient-voxel-frame{height:141px;background:linear-gradient(135deg,#173b55,#12324a 60%,#0a2133);border:1px solid #345c75;border-radius:13px;position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center}.voxel-person{height:113px;width:180px;position:relative;transform:scale(.9);filter:drop-shadow(0 10px 10px #061b29)}.pixel-pillow{position:absolute;left:30px;top:38px;width:120px;height:67px;background:#eaf2f4;border:6px solid #b5d5de;border-radius:5px;transform:skewX(-17deg)}.pixel-body{position:absolute;left:48px;top:69px;width:86px;height:24px;background:#2a93bf;border:4px solid #79cade;z-index:3}.pixel-blanket{position:absolute;left:81px;top:80px;width:77px;height:31px;background:#61a5d1;z-index:5;transform:skewX(11deg)}.pixel-head{position:absolute;left:41px;top:40px;width:46px;height:36px;background:#edbb97;border:4px solid #ce9471;z-index:7;transform:rotate(-7deg)}.pixel-hair{position:absolute;left:40px;top:39px;width:47px;height:13px;background:#493c41;z-index:8;transform:rotate(-7deg)}.eye{position:absolute;width:5px;height:5px;background:#283445;top:16px}.eye-left{left:9px}.eye-right{left:28px}.mouth{position:absolute;width:13px;height:3px;background:#94514c;top:26px;left:17px}.pixel-arms{position:absolute;left:55px;top:73px;width:95px;height:11px;background:#edbb97;z-index:4}.pixel-device{position:absolute;left:81px;top:55px;width:60px;height:7px;background:#91e8f8;transform:rotate(21deg);z-index:9;border:1px solid white}.pixel-monitor{position:absolute;right:0;top:1px;width:48px;height:42px;border:6px solid #7aa4bc;border-radius:4px;background:#071728;color:#8af9d2;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:9px;z-index:8}.pixel-monitor span{font-size:8px;color:#6afcbd}.frame-status{position:absolute;bottom:8px;right:9px;border:1px solid #61b0b1;border-radius:5px;background:#0a3047dc;color:#a3f5dd;font-size:9px;padding:5px 8px;font-weight:850}.profile-selector{margin:15px 0 13px}.profile-selector label,.settings-grid label{display:block;color:#adc6d5;font-size:10px;font-weight:700;margin-bottom:7px}.profile-selector select,.settings-grid input,.input-toolbar select{width:100%;padding:10px 11px;color:#e9f7ff;background:#0a1c2e;border:1px solid #36576b;border-radius:8px;outline:none}.profile-selector select:focus,.settings-grid input:focus{border-color:#5de6d0}.cost-card{background:linear-gradient(120deg,#0d4857,#0c364c);border:1px solid #28788a;border-radius:12px;padding:15px}.cost-label{font-size:10px;font-weight:800;letter-spacing:.11em;color:#a5e5e1}.cost-value{font-size:30px;font-weight:850;letter-spacing:-.04em;color:#82f4da;margin:7px 0;font-variant-numeric:tabular-nums}.cost-subline{color:#d3eded;font-size:10px}.cost-subline strong{color:#fff}.reference-strip{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-top:13px;border-top:1px solid #4e9294;padding-top:10px;color:#bddddf}.reference-strip strong{color:#f3ffff}.reference-note{font-size:9px;color:#b4d5df;margin-top:6px}.cost-section-heading{display:flex;justify-content:space-between;align-items:center;margin:21px 0 12px;gap:6px}.cost-section-heading strong{font-size:10px;letter-spacing:.085em}.cost-section-heading button{background:none;border:none;color:#7fe9d0;font-size:10px;cursor:pointer;padding:0}.breakdown{display:flex;flex-direction:column;gap:12px}.break-row{display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:9px}.break-symbol{width:27px;height:27px;border-radius:8px;background:#18445a;color:#a7e9ea;display:grid;place-items:center;font-weight:900}.break-label{font-size:11px;color:#cbdfeb}.break-value{font-size:11px;font-weight:800;white-space:nowrap}.break-bar{grid-column:2/4;background:#1f3d50;height:5px;border-radius:6px;overflow:hidden;margin-top:-4px}.break-bar>span{display:block;height:100%;border-radius:6px;background:#5cd9c2}.pending-alert{display:flex;gap:11px;align-items:start;padding:12px;border:1px solid #9b7943;background:#493b253d;border-radius:9px;margin:16px 0}.pending-alert>span{display:grid;place-items:center;width:21px;height:21px;background:#c9954f;border-radius:50%;font-weight:900;color:#172332;flex:0 0 auto}.pending-alert strong{font-size:11px;color:#f7cf89}.pending-alert p{font-size:10px;line-height:1.5;margin:4px 0 0;color:#d3c7ae}.open-matrix{background:#205a69;border:1px solid #459a9d;border-radius:9px;color:#eaffff;width:100%;padding:12px;cursor:pointer;font-weight:750;font-size:11px;display:flex;justify-content:space-between}.open-matrix:hover{background:#24798a}footer{font-size:10px;color:#5d8094;margin:18px 0 0;text-align:center;line-height:1.5}.view-section[hidden],.modal-backdrop[hidden]{display:none!important}.inner-page{min-height:640px;border:1px solid #28485c;background:#0d2235;border-radius:14px;padding:22px}.inner-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.inner-title h2{font-size:22px;margin:7px 0}.inner-title p{color:#a3bac8;max-width:720px;font-size:12px;line-height:1.55}.completion{background:#174c4f;border:1px solid #327e74;color:#8df5ce;border-radius:8px;font-weight:800;font-size:10px;padding:12px}.input-toolbar{display:flex;gap:10px;margin:23px 0 15px}.input-toolbar select{width:195px;font-size:11px}.input-toolbar .secondary-button{white-space:nowrap}.search-field{display:flex;align-items:center;background:#091a2b;border:1px solid #36536a;border-radius:9px;flex:1;padding:0 12px;gap:8px}.search-field span{font-size:22px;color:#63c8c9}.search-field input{flex:1;border:0;background:transparent;color:white;padding:12px 5px;outline:none;font-family:inherit}.matrix-table-wrap{border:1px solid #2e4a5f;border-radius:10px;overflow:auto;max-height:500px}.matrix-table{border-collapse:collapse;width:100%;font-size:11px;min-width:880px}.matrix-table th{position:sticky;top:0;background:#173d4f;color:#b9dce6;text-align:left;padding:12px 10px;z-index:1;white-space:nowrap}.matrix-table td{padding:10px;border-top:1px solid #234052;color:#b9cfda;vertical-align:middle}.matrix-table tr:hover td{background:#142e42}.matrix-table td:first-child{max-width:360px}.matrix-table input{width:118px;background:#091e2c;border:1px solid #386278;color:#fff;border-radius:6px;padding:8px;font-size:11px}.matrix-table input:focus{outline:1px solid #7ce9d8}.status-tag{font-size:9px;color:#fad18d;background:#493923;border:1px solid #7b633c;padding:5px 7px;border-radius:6px;white-space:nowrap}.status-tag.priced{color:#8df6cb;background:#174d3e;border-color:#29826a}.matrix-second{margin-top:33px}.matrix-second h3{margin:7px 0}.matrix-second p{color:#98b7c8;font-size:12px;line-height:1.5;max-width:850px}.steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:24px 0}.step{display:flex;gap:15px;border:1px solid #29475a;background:#102a3d;border-radius:12px;padding:19px}.step>span{font-weight:850;color:#6ce3d1;font-size:23px}.step h3{font-size:14px;margin:0 0 8px}.step p{color:#a6bfcb;line-height:1.6;margin:0;font-size:11px}.formula-box{padding:22px;border:1px solid #2c6d75;border-radius:13px;background:linear-gradient(115deg,#143f4e,#102638);margin-bottom:18px}.formula{font-size:16px;font-weight:750;line-height:1.6;margin:14px 0}.formula-box p{font-size:11px;line-height:1.7;color:#b3ced4}.settings-card{border:1px solid #2a4b61;border-radius:13px;padding:22px;background:#11283a}.settings-card h3{margin:8px 0}.settings-card p{font-size:11px;color:#a3bfca;line-height:1.55}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 23px;margin-top:25px}.settings-grid input{margin-top:8px}.slider-row{display:flex;align-items:center;gap:11px}.slider-row input{padding:0;accent-color:#5bebd1}.slider-row strong{min-width:36px;color:#94eadc}.settings-footer{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-top:22px;padding-top:17px;border-top:1px solid #27495c;color:#94b5c4;font-size:11px;line-height:1.5}.modal-backdrop{position:fixed;z-index:50;inset:0;background:#020b14d9;display:grid;place-items:center;padding:20px}.modal{max-width:480px;width:100%;position:relative;background:#143149;border:1px solid #438084;border-radius:17px;padding:28px;box-shadow:0 25px 80px #000a}.modal h2{font-size:23px}.modal p{line-height:1.85;color:#c5dbe6;font-size:13px}.modal-close{position:absolute;right:16px;top:13px;background:transparent;color:#fff;font-size:26px;border:0;cursor:pointer}.modal-cta{display:flex;justify-content:flex-end;margin-top:20px}.modal-cta button{border:0;background:#55e0cb;color:#08212d;border-radius:8px;padding:12px 17px;font-weight:850;cursor:pointer}
@media(max-width:1360px){.tour-layout{grid-template-columns:minmax(0,1fr) 290px}.patient-panel{padding:15px}.stat{padding:12px}.stat-value{font-size:19px}.cost-value{font-size:25px}.bottom-bar{flex-wrap:wrap}}@media(max-width:1120px){.sidebar{width:200px;padding:19px 10px}.main{width:calc(100% - 200px);padding:20px 13px}.tour-layout{grid-template-columns:minmax(0,1fr)}.patient-panel{max-height:none;position:static;display:grid;grid-template-columns:1fr 1fr;gap:13px}.panel-top,.profile-selector,.cost-card,.cost-section-heading,.breakdown,.pending-alert,.open-matrix{grid-column:span 1}.patient-voxel-frame{grid-row:span 2}.cost-section-heading{grid-column:1/3}.breakdown{grid-column:1/3;display:grid;grid-template-columns:1fr 1fr}.pending-alert,.open-matrix{grid-column:1/3}.viewport-wrap{min-height:520px}}@media(max-width:740px){.app-shell{display:block}.sidebar{position:static;max-height:none;min-height:0;width:100%;padding:14px}.brand{margin-bottom:11px}.side-head,.side-foot{display:none}.unit-list{display:flex;overflow-x:auto;flex-direction:row}.unit-button{min-width:126px;padding:8px}.unit-button .unit-icon{display:none}.unit-button .unit-beds{font-size:9px}.main{width:100%;padding:15px 10px}.topbar{margin-bottom:14px}.top-actions{display:none}.nav-tabs{overflow-x:auto}.tab{white-space:nowrap;padding:10px}.subtitle-pill{display:none}.stats-grid{grid-template-columns:repeat(2,1fr)}.viewport-wrap{min-height:430px}.viewport-top{top:13px;left:13px}.viewport-top h2{font-size:16px}.viewport-top small{display:none}.voxel-badge{display:none}.scene-help{font-size:9px}.dot-separator{display:none}.viewport-bottom{bottom:10px;left:8px;right:8px}.camera-controls button{padding:8px}.camera-controls span{display:none}.patient-panel{display:block}.patient-voxel-frame{margin-bottom:12px}.cost-section-heading{margin-top:18px}.breakdown{display:flex}.pending-alert,.open-matrix{margin-top:14px}.steps,.settings-grid{grid-template-columns:1fr}.inner-page{padding:14px}.input-toolbar{flex-wrap:wrap}.input-toolbar select{flex:1}.input-toolbar .search-field{min-width:100%;flex-basis:100%}.input-toolbar button{flex:1}}
