:root{color-scheme:dark;--bg:#06121d;--panel:#0d2230;--panel2:#0b1b29;--line:#244354;--text:#edf7f7;--muted:#93b0bf;--teal:#35e0cc;--cyan:#4dbedb;--warn:#e9ab59;--red:#ff7a86;--blue:#204960;--shadow:0 24px 70px #01060db0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:#06111b;color:var(--text);font-size:14px}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}.app-shell{min-height:100dvh;display:flex;flex-direction:column;max-width:1920px;margin:0 auto;background:radial-gradient(ellipse at 52% 0%,#122c3d 0%,#071522 36%,#06111b 80%)}.topbar{min-height:88px;display:flex;align-items:center;justify-content:space-between;padding:16px 25px;gap:16px;border-bottom:1px solid #1e3948;background:#0b1b28d9}.brand{display:flex;align-items:center;gap:14px;min-width:276px}.brand-symbol{display:grid;grid-template-columns:repeat(2,15px);gap:4px;transform:rotate(-12deg)}.brand-symbol span{height:15px;border:2px solid var(--teal);border-radius:3px;background:#174352}.brand-symbol span:nth-child(2){background:#3ac8bc}.brand-symbol span:nth-child(3){opacity:.4}.brand-text strong{display:block;font-size:17px;letter-spacing:.06em}.brand-text strong span{color:#51d8ca}.brand-text strong b{color:#d5e4ec}.brand-text small{display:block;font-size:9px;letter-spacing:.21em;color:#92b3c1;margin-top:6px}.header-middle{font-size:10px;white-space:nowrap;letter-spacing:.18em;font-weight:800;color:#9fbac7}.live-pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 5px #31e3cc15;vertical-align:middle;margin-right:8px}.sep{color:#416477;margin:0 8px}.header-actions{display:flex;gap:10px;align-items:center}.student-chip,.report-shortcut,.icon-btn{background:#112c3a;border:1px solid #2c5260;color:var(--text);border-radius:10px;padding:10px 12px}.student-chip{min-width:150px;text-align:left}.student-chip span{display:block;color:#78a6af;font-size:9px;letter-spacing:.1em;margin-bottom:3px}.student-chip strong{font-size:11px;max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.report-shortcut{font-weight:850;color:#89fbeb;white-space:nowrap}.report-shortcut span{font-size:10px;color:#9ebec8}.score-box{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#05151e;border:1px solid #1e5960;border-radius:10px;min-width:88px;padding:7px 8px}.score-box small{font-size:9px;color:#84acb3;letter-spacing:.13em}.score-box strong{font-size:27px;line-height:1.1;color:var(--teal)}.score-box>span{font-size:9px;color:#789da7}.icon-btn{font-size:23px;min-width:39px;min-height:42px}.practice-rail{padding:11px 20px;display:grid;grid-template-columns:repeat(6,minmax(126px,1fr));gap:9px;background:#081924;border-bottom:1px solid #1d3b49}.practice-tile{color:#b9d0db;text-align:left;border-radius:10px;border:1px solid #203b4b;background:linear-gradient(150deg,#142d3b,#0b202e);display:flex;align-items:center;gap:8px;padding:10px 9px;min-height:68px;position:relative;overflow:hidden}.practice-tile:hover,.practice-tile:focus-visible{border-color:#42bfbc;outline:none}.practice-tile.active{background:linear-gradient(140deg,#1a505c,#0e343f);border-color:#38d8cb;box-shadow:inset 0 2px 0 #52e6d4}.tile-index{color:#40dec9;font-size:20px;font-weight:900}.tile-symbol{font-size:21px;color:#7bb9c7}.tile-copy{display:flex;flex-direction:column;gap:2px}.tile-name{font-size:11px;font-weight:800;color:#eaf6f4}.tile-meta{font-size:10px;color:#8fabb7}.practice-tile.done:after{content:'✓';position:absolute;right:5px;top:5px;background:#227468;border-radius:50%;font-size:10px;padding:2px 5px}.layout{display:grid;grid-template-columns:minmax(252px,315px) minmax(410px,1fr) minmax(260px,305px);gap:14px;padding:15px;flex:1;min-height:720px}.brief-panel,.sim-panel,.inventory-panel{background:linear-gradient(175deg,#112d3a,#0a1c28 70%);border:1px solid #254656;border-radius:14px;min-width:0;box-shadow:0 8px 30px #00000020}.brief-panel,.inventory-panel{padding:20px 18px;display:flex;flex-direction:column}.eyebrow{color:#91c4c9;font-size:10px;letter-spacing:.16em;font-weight:850;display:flex;align-items:center;gap:8px}.eyebrow-line{width:16px;height:2px;background:var(--teal)}.serial{margin-left:auto;color:#83a5b2}.module-pill{font-size:10px;border:1px solid #2d7774;color:#88efe0;background:#12433f;padding:7px 10px;display:inline-flex;gap:8px;border-radius:5px;font-weight:800;letter-spacing:.05em;margin:23px 0 8px;align-self:flex-start}.tiny-dot{background:#36d7c2;width:6px;height:6px;border-radius:50%}.brief-panel h1{font-size:26px;line-height:1.17;margin:8px 0;letter-spacing:-.04em}.brief-panel h1 em{font-style:normal;color:var(--teal)}.intro{line-height:1.6;color:#a3bec9;font-size:12px;margin:6px 0 16px}.fault-card{background:#172b36;border:1px solid #745b45;border-radius:10px;padding:14px;margin-bottom:12px}.fault-head{display:flex;gap:7px;align-items:center;color:#e9be83;font-size:9px;font-weight:900;letter-spacing:.11em;margin-bottom:13px}.fault-head small{margin-left:auto;color:#f6bc75}.fault-icon{width:18px;height:18px;background:#755a30;border-radius:5px;color:#ffdc98;display:grid;place-items:center}.fault-card>strong{font-size:14px}.fault-card>p{font-size:11px;color:#b0c5cc;line-height:1.6;margin:8px 0}.symptom{border-top:1px solid #304653;padding-top:9px;color:#efb879;font-size:11px}.symptom span{color:#d3c7b9}.objective-card{background:#082735;border:1px solid #214a58;padding:12px;border-radius:9px}.objective-card strong{font-size:10px;color:#76ddd2;letter-spacing:.12em}.objective-card p{margin:8px 0 2px;font-size:11px;line-height:1.5;color:#bdd5db}.process-header{display:flex;justify-content:space-between;border-bottom:1px solid #2a4b59;margin-top:20px;margin-bottom:10px;padding-bottom:10px;color:#c1d5d9;font-size:10px;font-weight:900;letter-spacing:.12em}.process-header small{color:var(--teal)}.steps{padding:0;margin:0 0 12px;list-style:none;display:flex;flex-direction:column;gap:10px}.steps li{display:flex;align-items:flex-start;gap:11px;opacity:.72}.steps li.completed{opacity:1}.step-marker{border:1px solid #436272;color:#86aabb;width:26px;height:26px;display:grid;place-items:center;flex:none;border-radius:7px;font-size:11px;font-weight:800}.steps li.completed .step-marker{border-color:#39d8c8;color:#061d25;background:#36d6c4}.steps li strong{display:block;font-size:11px;color:#dbe9eb}.steps li small{font-size:10px;line-height:1.5;color:#8dafba}.safety-note{background:#0d2d31;border:1px solid #38625a;border-radius:9px;padding:11px;margin-top:auto;display:flex;gap:10px}.safety-symbol{color:#7de3cb;font-size:22px}.safety-note strong{font-size:9px;color:#8ce1d3;display:block;letter-spacing:.1em}.safety-note span:not(.safety-symbol){font-size:10px;line-height:1.5;color:#abc8c5;display:block;margin-top:5px}.sim-panel{display:flex;flex-direction:column;padding:16px;gap:12px}.sim-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-kicker{font-size:10px;color:#9abeca;letter-spacing:.14em;font-weight:850}.panel-kicker span{color:#36e3ca}.sim-header h2{margin:6px 0 0;font-size:20px}.sim-header h2 span{font-size:13px;color:#7299ac;font-weight:400}.status-chip{background:#10343d;border:1px solid #316f75;color:#8ae5d8;border-radius:999px;padding:8px 10px;font-weight:700;font-size:10px;white-space:nowrap}.status-chip i{display:inline-block;background:var(--teal);width:7px;height:7px;border-radius:50%;margin-right:5px}.status-chip.warning{color:#f2c08c;border-color:#916544;background:#392b26}.status-chip.warning i{background:#f4af55}.scene-wrap{border:1px solid #315263;border-radius:13px;overflow:hidden;background:#081925;flex:1;min-height:495px;display:flex;flex-direction:column}.scene{position:relative;min-height:440px;flex:1;background:radial-gradient(ellipse at 45% 52%,#204257 0%,#102a3b 35%,#091c2b 78%,#071722);overflow:hidden;isolation:isolate}.scene-overlay-grid{position:absolute;inset:0;background-image:linear-gradient(#6cb4cd0b 1px,transparent 1px),linear-gradient(90deg,#6cb4cd0b 1px,transparent 1px);background-size:27px 27px;pointer-events:none}.scene-top-label{position:absolute;top:12px;left:14px;font-size:10px;letter-spacing:.2em;color:#84aab8;font-weight:800;z-index:4}.scene-footer-label{position:absolute;bottom:11px;right:13px;color:#618da0;font-size:9px;letter-spacing:.15em;pointer-events:none;z-index:2}.scene-footer-label span{color:var(--teal)}.device-art{position:absolute;inset:32px 12px 20px;z-index:1}.device-art svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 18px 19px #02060b90)}.target-layer{position:absolute;inset:32px 12px 20px;z-index:3;pointer-events:none}.drop-anchor{position:absolute;transform:translate(-50%,-50%);width:clamp(34px,6%,52px);height:clamp(34px,8%,50px);border:1.5px dashed #72a4b4;background:#071e2bbf;color:#b8dae2;border-radius:12px;display:flex;align-items:center;justify-content:center;pointer-events:auto;box-shadow:0 0 0 4px #20b0cc18;transition:background .15s,border .15s}.drop-anchor:before{content:'';position:absolute;top:-11px;left:50%;height:10px;border-left:1px dashed #66b1c4}.drop-anchor:hover,.drop-anchor.highlight{background:#1f6771;border-color:#6af8e2}.drop-anchor.filled{border-style:solid;background:#15524b;border-color:#48d6bf;color:#b4ffed}.drop-anchor.bad-fill{border-color:#f5ab63;background:#62402c}.drop-anchor .pin-number{font-size:13px;font-weight:900}.drop-anchor .placed-name{position:absolute;top:110%;left:50%;transform:translateX(-50%);min-width:82px;max-width:150px;padding:5px 7px;background:#083a40;border:1px solid #4bd6c5;color:#dcfff7;border-radius:6px;font-size:9px;line-height:1.25;text-align:center;white-space:normal;pointer-events:none}.drop-anchor .pin-number{user-select:none}.drop-anchor:focus-visible{outline:3px solid white}.drop-anchor.selected-source{border-color:#ffe0a0}.slot-lines{width:100%;height:100%;position:absolute;inset:0;pointer-events:none}.slot-lines line{stroke:#4b9db4;stroke-width:1;stroke-dasharray:3 4}.device-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#0a1a27df;color:#d3eef0;z-index:2;pointer-events:none;text-align:center}.device-overlay .cover-glass{border:1px solid #5c8795;background:linear-gradient(150deg,#415969e8,#1a2e40e8);border-radius:22px;padding:24px 38px;box-shadow:0 16px 40px #010916aa}.device-overlay strong{font-size:24px;display:block}.device-overlay small{color:#b1c9d2;display:block;margin-top:9px}.device-overlay.transparent{background:#14263564}.device-overlay.transparent .cover-glass{padding:13px}.device-overlay.transparent strong{font-size:16px}.scene-bottom{background:#0a1e2a;border-top:1px solid #2a4d5c;min-height:47px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 13px}.scene-hint{display:flex;gap:9px;align-items:center;font-size:11px;color:#c4d7db;line-height:1.4}.scene-hint b{color:#4ce0d0}.scene-zoom{font-size:9px;color:#648a9a;font-weight:900;white-space:nowrap}.control-row{display:flex;gap:10px}.control{flex:1;min-height:52px;color:#e6f6f5;background:#123742;border:1px solid #3a707b;border-radius:9px;padding:9px 7px;font-weight:800;font-size:11px;display:flex;align-items:center;justify-content:center;gap:8px;line-height:1.3}.control>span:first-child{font-size:19px;color:#58e2d3}.control.secondary{background:#182f40;border-color:#416477}.control.test{background:#13534b;border-color:#3b9788}.control:hover:not(:disabled){filter:brightness(1.2)}.toast{border-radius:8px;padding:13px 12px;min-height:47px;display:flex;align-items:center;gap:10px;background:#153641;border:1px solid #31606b;color:#bbdbe1;font-size:12px;line-height:1.35}.toast>span:first-child{font-size:19px;color:var(--teal)}.toast.warn{border-color:#93683f;background:#3b2b26;color:#fae0c2}.toast.warn>span:first-child{color:var(--warn)}.toast.success{border-color:#347d6a;background:#103b36;color:#bbfff0}.inventory-panel h2{margin:20px 0 6px;font-size:21px}.inventory-intro{font-size:11px;color:#a5bbc3;line-height:1.6;margin:0 0 13px}.inventory-note{display:flex;align-items:flex-start;gap:10px;border:1px solid #35636d;background:#153747;border-radius:9px;padding:12px;margin-bottom:17px}.inventory-note>b{font-size:23px;color:#5ad9cc}.inventory-note strong{font-size:10px;color:#8be8dd;letter-spacing:.09em}.inventory-note small{display:block;margin-top:7px;color:#abcbd2;font-size:10px;line-height:1.5}.parts-heading,.disposal-heading{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.1em;font-weight:900;color:#b2d1d8;margin-bottom:10px}.parts-heading span:last-child,.disposal-heading span:last-child{color:#69d6cb}.part-stack{display:flex;flex-direction:column;gap:7px;max-height:455px;overflow:auto;padding:1px 4px 5px 1px}.part-card,.return-card{background:linear-gradient(145deg,#163b4a,#103040);border:1px solid #376175;border-radius:9px;color:#dceff1;min-height:54px;width:100%;text-align:left;display:flex;align-items:center;gap:10px;padding:8px 11px;touch-action:pan-y;position:relative}.part-card:hover,.return-card:hover{border-color:#4de0d3}.part-card.selected,.return-card.selected{border-color:#ffe6ab;background:#335041;box-shadow:0 0 0 2px #ffda842b}.part-card.placed{opacity:.47}.part-card .part-icon{height:32px;width:35px;display:grid;place-items:center;color:#63efdb;background:#0d2b36;border-radius:6px;font-size:20px;flex:none}.part-card .part-copy{display:flex;flex-direction:column;gap:2px;flex:1}.part-card .part-copy strong{font-size:12px}.part-card .part-copy small{font-size:9px;color:#8bacb9}.part-card .part-handle{color:#69aabd;font-size:15px}.disposal-heading{margin:18px 0 8px}.disposal-zone{min-height:72px;background:repeating-linear-gradient(-45deg,#112e3d,#112e3d 8px,#143342 8px,#143342 16px);border:1px dashed #598393;color:#bad2dc;border-radius:9px;display:flex;align-items:center;gap:13px;padding:12px;text-align:left;width:100%}.disposal-zone>span{font-size:25px;color:#a9c4d0}.disposal-zone b{display:block;font-size:11px}.disposal-zone small{font-size:9px;line-height:1.3;color:#84a6b5;display:block;margin-top:5px}.disposal-zone.highlight{border-color:#52e4d0;background:#1b5860}.return-section{margin-top:12px;border:1px solid #3c6270;padding:10px;border-radius:8px}.return-section strong{font-size:10px;color:#9fe0dc}.return-section p{color:#a4c2cc;font-size:10px}.return-parts{display:flex;flex-direction:column;gap:7px}.return-card{min-height:40px}.inventory-footer{margin-top:auto;padding-top:22px}.instructor-label{font-size:10px;color:#62e1cc;font-weight:900;letter-spacing:.13em}.inventory-footer p{font-size:11px;line-height:1.6;color:#b1c7cf}.text-link{display:block;background:none;border:none;padding:8px 0;color:#52e3d2;text-align:left;font-size:11px;font-weight:800}.text-link span{margin-left:6px}.bottom-bar{background:#071722;border-top:1px solid #284352;min-height:47px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 23px;color:#9fbdc8}.event-feed{display:flex;align-items:center;gap:14px;font-size:11px;line-height:1.4;min-width:0}.event-feed>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.log-title{white-space:nowrap;color:#67ddd0;font-size:10px;font-weight:900;letter-spacing:.11em}.bottom-right{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:10px}.bar-divider{height:16px;border-left:1px solid #406271}.terminal-box{border:1px solid #2a5963;background:#112d39;padding:5px 8px;color:#73cabb;border-radius:5px;font-weight:800}.modal-backdrop{position:fixed;inset:0;background:#030b13e8;z-index:70;display:none;align-items:center;justify-content:center;overflow:auto;padding:20px;backdrop-filter:blur(8px)}.modal-backdrop.show{display:flex}.registration-card,.completion-card,.guide-card{width:min(100%,490px);border-radius:17px;border:1px solid #3a7280;background:linear-gradient(135deg,#163747,#0b202c);box-shadow:var(--shadow);padding:28px}.registration-eyebrow,.completion-eyebrow{font-size:10px;color:#64e0cf;letter-spacing:.16em;font-weight:900}.registration-symbol{background:#153f48;width:60px;height:60px;display:grid;place-items:center;color:#6eedd7;border:1px solid #307875;border-radius:15px;font-size:33px;margin:20px 0}.registration-card h2,.completion-card h2{font-size:29px;margin:6px 0 9px}.registration-card p,.completion-card>p{font-size:12px;color:#b2cbd3;line-height:1.6}.registration-card label{font-size:11px;font-weight:800;display:block;color:#c4e0e0;margin:15px 0 7px}.registration-card label b{color:#ffd183}.registration-card input{background:#0c2230;border:1px solid #41616e;border-radius:9px;padding:13px;color:#f4ffff;width:100%;outline:none;min-height:46px}.registration-card input:focus{border-color:#4bdccc;box-shadow:0 0 0 3px #3bd7d219}.registration-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.registration-notice{margin-top:18px;background:#123843;border:1px solid #2a5b61;border-radius:9px;padding:11px;color:#accbd3;line-height:1.5;font-size:10px}.registration-submit,.report-button,.again-button{width:100%;padding:13px;border:1px solid #69dcca;background:linear-gradient(90deg,#1e9a8f,#1d726f);border-radius:9px;font-weight:900;color:white;margin-top:15px}.registration-error{min-height:18px;margin-top:9px;color:#ffb19c;font-size:11px}.completion-card{text-align:center}.success-halo{width:65px;height:65px;margin:0 auto 15px;display:grid;place-items:center;border-radius:50%;background:#15584f;border:2px solid #6be5cd;color:#abfff0;font-size:36px}.completion-eyebrow span{margin-left:9px;color:#a9ccd2}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}.result-grid>div{background:#0f3040;border:1px solid #306275;border-radius:8px;padding:14px 8px}.result-grid small{display:block;color:#93bac2;letter-spacing:.1em;font-size:9px}.result-grid strong{display:block;font-size:26px;color:#59efdb;margin-top:6px}.completion-feedback{color:#b6d0d5;font-size:12px;line-height:1.6;background:#10333c;padding:11px;border-radius:9px}.report-button{margin-top:10px;background:#1c6862}.report-button.final-report{background:#1d527a}.again-button{margin-top:12px}.view-button{border:none;color:#abced5;background:none;display:block;margin:11px auto 0;font-weight:800}.guide-card{width:min(100%,620px);max-height:90dvh;overflow:auto}.guide-top{display:flex;justify-content:space-between;align-items:center}.guide-top h2{margin:0}.guide-top button{color:white;background:none;border:1px solid #507785;border-radius:8px;width:40px;height:40px;font-size:26px}.guide-card>p{line-height:1.6;color:#b3cbd5}.guide-items{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.guide-item{padding:11px;border-radius:9px;background:#123544;border:1px solid #2b5362}.guide-item strong{color:#66e6d6;font-size:12px}.guide-item p{font-size:11px;color:#bad1d8;line-height:1.5;margin-bottom:0}.drag-ghost{position:fixed;z-index:250;pointer-events:none;display:none;max-width:250px;padding:11px 14px;border-radius:9px;border:1px solid #72e7d3;background:#154751f2;color:#f5ffff;box-shadow:0 14px 35px #000a;white-space:nowrap;font-size:12px;font-weight:900;transform:translate(-50%,-50%)}.drag-ghost.show{display:block}.visual-effects{position:absolute;inset:0;pointer-events:none;z-index:2}.test-wave{position:absolute;width:100%;height:100%;background:linear-gradient(90deg,transparent,#38e0d01a,transparent);animation:scan 1.2s ease-out 1}.paper-test{width:82px;height:120px;background:linear-gradient(white,#cce7e6);border:3px solid #4be2d0;position:absolute;left:52%;top:61%;border-radius:4px;box-shadow:0 0 25px #7ceedd44;animation:paper 1.3s ease-out both}.paper-test:after{content:'';position:absolute;inset:13px;background:repeating-linear-gradient(#3da8be 0 3px,transparent 3px 12px)}@keyframes scan{from{transform:translateX(-100%)}to{transform:translateX(120%)}}@keyframes paper{0%{transform:translateY(-100px);opacity:.1}100%{transform:translateY(0);opacity:1}}.part-card,.return-card,.drop-anchor{-webkit-tap-highlight-color:transparent;touch-action:pan-y}@media(max-width:1250px){.header-middle{display:none}.layout{grid-template-columns:230px minmax(355px,1fr) 250px;gap:9px;padding:9px}.brief-panel,.inventory-panel{padding:14px 11px}.sim-panel{padding:11px}.practice-rail{gap:5px;padding:9px}.practice-tile{padding:7px 5px}.tile-symbol{display:none}}@media(max-width:1010px){.layout{grid-template-columns:minmax(220px,1fr) minmax(330px,2fr)}.inventory-panel{grid-column:1/-1}.part-stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:none}.inventory-footer{padding-top:15px}.sim-panel{min-height:640px}.scene-wrap{min-height:455px}.practice-rail{grid-template-columns:repeat(3,1fr)}.return-parts{display:grid;grid-template-columns:repeat(3,1fr)}}@media(max-width:690px){.topbar{padding:9px 11px;gap:4px;align-items:flex-start;flex-direction:column}.brand{min-width:0}.brand-text strong{font-size:14px}.brand-text small{font-size:8px}.brand-symbol{transform:scale(.75)}.header-actions{width:100%;justify-content:space-between;gap:5px}.student-chip{flex:1;min-width:0;padding:7px}.student-chip strong{max-width:140px}.report-shortcut{padding:9px 8px}.score-box{min-width:65px}.score-box strong{font-size:21px}.icon-btn{padding:6px;min-width:32px}.practice-rail{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:7px;padding:9px 11px}.practice-tile{flex:0 0 150px;min-height:58px;scroll-snap-align:start}.layout{display:flex;flex-direction:column;padding:9px;gap:9px}.sim-panel{order:1;min-height:610px}.brief-panel{order:2}.inventory-panel{order:3}.sim-header h2{font-size:17px}.sim-header h2 span{font-size:10px}.status-chip{font-size:9px;padding:6px}.scene-wrap{min-height:460px}.scene{min-height:390px}.device-art,.target-layer{inset:28px 2px 19px}.drop-anchor{width:34px;height:37px;border-radius:9px}.drop-anchor .placed-name{font-size:8px;min-width:62px;max-width:110px}.control{font-size:10px;gap:3px;min-height:54px;padding:7px 3px}.control>span:first-child{font-size:16px}.part-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.part-card{padding:7px;min-height:58px}.part-card .part-icon{width:26px;height:30px;font-size:17px}.part-card .part-copy strong{font-size:10px}.part-card .part-copy small{font-size:8px}.part-card .part-handle{display:none}.bottom-bar{padding:12px;align-items:flex-start;gap:6px;flex-direction:column}.event-feed{font-size:10px}.bottom-right{width:100%;justify-content:space-between}.guide-items{grid-template-columns:1fr}.registration-card,.completion-card,.guide-card{padding:19px}.registration-fields{grid-template-columns:1fr 1fr}}@media(max-width:380px){.part-stack{grid-template-columns:1fr 1fr}.control-row{gap:5px}.score-box{min-width:57px}.scene{min-height:345px}.scene-wrap{min-height:410px}.sim-panel{min-height:550px}.scene-zoom{display:none}}
.part-card,.return-card,.drop-anchor{touch-action:none}
/* Evita que el texto largo de la bitácora provoque zoom lateral en teléfonos. */
@media(max-width:690px){.bottom-bar{overflow:hidden}.event-feed{width:100%;max-width:100%;overflow:hidden}.event-feed>span:last-child{min-width:0;flex:1}.app-shell{overflow-x:clip}}

/* V2 – imágenes fotorealistas, alineación precisa de zonas, contraste y animación de ruta. */
.device-art{background:radial-gradient(ellipse at center,#e5f4fb13 20%,#07212b 95%);display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:7px}
.device-art img.technical-photo{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none;pointer-events:none;filter:drop-shadow(0 9px 18px #010b1452)}
.scene:has(.technical-photo){background:radial-gradient(ellipse at 48% 52%,#22475a 0%,#132d3b 63%,#071824 100%)}
.scene:has(.technical-photo) .scene-overlay-grid{opacity:.35}
.scene:has(.technical-photo) .scene-top-label{background:#052437e8;padding:7px 10px;border-radius:6px;border:1px solid #326c83;letter-spacing:.1em}
.scene:has(.technical-photo) .drop-anchor{background:#013049e3;border:2px solid #00cfe5;box-shadow:0 1px 0 #021821,0 0 0 4px #eafaff55,0 0 14px #11c3ed88;color:white;border-radius:50%;width:clamp(34px,5vw,43px);height:clamp(34px,5vw,43px)}
.scene:has(.technical-photo) .drop-anchor.filled{border-color:#58ffc9;background:#106f62e8;box-shadow:0 0 0 4px #beffeba8,0 0 12px #11be8b}
.scene:has(.technical-photo) .drop-anchor.bad-fill{border-color:#ff9c6c;background:#9c3a2bed}
.scene:has(.technical-photo) .drop-anchor:before{display:none}
.scene:has(.technical-photo) .drop-anchor .placed-name{z-index:3;min-width:110px;max-width:180px;box-shadow:0 2px 8px #091d28d9;line-height:1.3;font-size:10px}
.photo-void{position:absolute;z-index:0;pointer-events:none;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:4px;background:repeating-linear-gradient(128deg,#091923f5 0,#091923f5 9px,#19303bf5 9px,#19303bf5 13px);border:2px dashed #48c7c7bb;border-radius:8px;box-shadow:inset 0 1px 30px #000d17;color:#8de9e2;font-size:clamp(7px,1vw,11px);font-weight:900;letter-spacing:.08em;}
.paper-path-live{position:absolute;pointer-events:none;z-index:1;overflow:visible;filter:drop-shadow(0 0 3px #d9ffff);}
.paper-path-live polyline{animation:paperflow .9s linear infinite}
@keyframes paperflow{to{stroke-dashoffset:-5.2}}
@media(max-width:768px){.scene:has(.technical-photo) .drop-anchor{width:37px;height:37px}.scene:has(.technical-photo) .drop-anchor .placed-name{max-width:110px;min-width:85px;font-size:9px}}
