:root{--bg:#0b0b11;--panel:#111118;--line:#ffffff12;--text:#eeedf6;--muted:#9392a4;--violet:#b8a6fa;--pink:#edb8d5;--mint:#9ae3ca;--amber:#edc38b;--red:#f191a4;--mono:'DM Mono',monospace;--ease:cubic-bezier(.22,.78,.25,1)}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:Manrope,Arial,sans-serif}body{height:100dvh;overflow:hidden}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:disabled{opacity:.38;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--violet);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip{position:fixed;top:-100px;left:20px;z-index:100;background:#fff;color:#111;padding:12px}.skip:focus{top:5px}.app{height:100dvh;display:grid;grid-template-rows:62px 88px minmax(0,1fr) 122px 26px;gap:10px;padding:0 22px;max-width:2100px;margin:auto;background:radial-gradient(ellipse at 40% 0,#45365517,transparent 55%)}.topbar{display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;font-size:11px;letter-spacing:.13em;font-weight:700;min-width:310px}.brand small{display:block;color:var(--muted);font:8px var(--mono);letter-spacing:.09em;margin-top:4px}.brand-orbit{position:relative;border:1px solid #b8a6fa55;width:32px;height:32px;display:grid;place-content:center;border-radius:50%;font:italic 21px Georgia;color:var(--pink)}.brand-orbit:after{content:'';position:absolute;inset:9px -4px;border:1px solid #edb8d577;border-radius:50%;transform:rotate(-40deg)}.brand-orbit>span{display:none}.view-switch{display:flex;background:#ffffff05;border:1px solid var(--line);padding:4px;border-radius:30px;margin:auto}.view-switch button{border:0;border-radius:22px;background:none;color:var(--muted);padding:8px 21px;font-size:11px;transition:.25s}.view-switch button.selected{background:#d3c5fb;color:#171220;box-shadow:0 2px 18px #b8a6fa1a}.header-right{display:flex;align-items:center;gap:22px;justify-content:flex-end;min-width:310px}.system-light{font:8px var(--mono);color:var(--mint)}.system-light:before{content:'';display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;margin-right:7px;box-shadow:0 0 10px currentColor}.text-button{background:none;border:0;padding:0;color:var(--muted);font:9px var(--mono);white-space:nowrap}.text-button:hover{color:#fff}.commandbar{display:flex;gap:36px;align-items:center;justify-content:space-between}.kicker,.micro{font:8px/1.5 var(--mono);letter-spacing:.1em;color:var(--muted)}.headline h1{font-size:clamp(23px,2.6vw,38px);font-weight:400;letter-spacing:-.055em;line-height:1.05;margin:7px 0 0}.headline h1 em{font-family:Georgia,serif;color:var(--pink);font-weight:400}.commandbar form{display:flex;align-items:center;background:#ffffff04;border:1px solid #ffffff16;border-radius:13px;padding:5px;max-width:790px;flex:1}.commandbar input{background:none;border:0;color:#c8c7d2;padding:10px 12px;min-width:0;flex:1;font-size:11px;outline:none}.run-button{border:0;background:#dfd1fa;color:#20172d;border-radius:9px;padding:10px 12px 10px 18px;display:flex;gap:22px;align-items:center;white-space:nowrap;font-weight:600;font-size:11px;transition:.25s}.run-button b{display:grid;place-content:center;background:#261d3533;border-radius:50%;width:24px;height:24px;font-size:17px;font-weight:400}.run-button:hover:not(:disabled){background:#f3d3e7;transform:translateY(-1px)}.workspace{display:grid;grid-template-columns:242px minmax(0,1fr) 305px;gap:12px;min-height:0}.panel{border:1px solid var(--line);background:linear-gradient(135deg,#17161e80,#101017);border-radius:17px;min-width:0;overflow:hidden}.panel-heading{height:43px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);font:8px var(--mono);letter-spacing:.08em;color:#aaa8ba;flex-shrink:0}.tiny-dot{width:5px;height:5px;border-radius:50%;background:var(--violet)}.layer-panel{display:flex;flex-direction:column}.layer-list{padding:12px 11px 3px;display:flex;flex-direction:column;gap:6px;flex:1;min-height:0}.layer{position:relative;text-align:left;display:grid;grid-template-columns:23px 1fr 10px;column-gap:9px;align-items:center;padding:9px 10px;min-height:46px;flex:1;border:1px solid #ffffff0c;border-radius:10px;background:#ffffff02;transition:background .35s,border-color .35s,transform .35s}.layer:not(:last-child):after{content:'';width:1px;position:absolute;left:21px;bottom:-7px;height:6px;background:#ffffff1c}.layer:hover{background:#ffffff07;transform:translateX(2px)}.layer .num{width:23px;height:23px;border:1px solid #ffffff1a;border-radius:7px;display:grid;place-content:center;font:8px var(--mono);color:#888497}.layer b{display:block;font-size:11px;font-weight:600;letter-spacing:-.01em}.layer small{display:block;font:7px var(--mono);color:#827f92;margin-top:4px;white-space:nowrap}.layer .indicator{width:4px;height:4px;background:#4c4757;border-radius:50%}.layer.active,.layer.focused{background:linear-gradient(90deg,#b8a6fa19,#b8a6fa05);border-color:#b8a6fa5c}.layer.active .num{color:#d3c4ff;border-color:#b8a6fa6a}.layer.active .indicator{background:var(--violet);box-shadow:0 0 12px var(--violet);animation:beacon 1.3s infinite}.layer.done .indicator{background:var(--mint)}.decision-card{padding:14px 16px;margin-top:6px;background:#ffffff02;border-top:1px solid var(--line);min-height:122px}.decision-card h2{font-size:14px;line-height:1.3;font-weight:500;letter-spacing:-.025em;margin:6px 0}.decision-card p{margin:0;font-size:10px;color:#9a96aa;line-height:1.5;min-height:29px}.checks{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.checks span{font:7px var(--mono);padding:4px 6px;border-radius:5px;border:1px solid #ffffff12;color:#868195}.checks span.pass{color:var(--mint);border-color:#9ae3ca2a}.checks span.wait{color:var(--amber)}.plane-label{font:7px var(--mono);color:#777386;padding:9px 15px;display:flex;align-items:center;gap:7px}.plane-label i{height:11px;width:2px;background:linear-gradient(var(--violet),var(--pink))}.world-panel{display:flex;flex-direction:column;position:relative;background:#101019}.scene-tabs{display:flex;gap:9px}.scene-tabs button{border:0;background:none;padding:4px 0;color:#797586;font:8px var(--mono)}.scene-tabs button.on{color:var(--violet)}.scene-wrap{flex:1;position:relative;min-height:0;overflow:hidden}#scene{position:absolute;inset:0}#scene>canvas{width:100%;height:100%;display:block;touch-action:none}.scene-loading{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;background:#0f0e18e8;backdrop-filter:blur(9px)}.scene-loading b{font-size:14px;font-weight:400}.scene-loading small{font:9px var(--mono);color:var(--muted)}.loader{width:30px;height:30px;border-radius:50%;border:1px solid #b8a6fa22;border-top-color:var(--violet);animation:spin 1.4s linear infinite}.scene-top{position:absolute;top:15px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:14px;pointer-events:none}.scene-status{display:flex;align-items:center;gap:7px;font:8px var(--mono);background:#0b0b11ad;border:1px solid #ffffff0e;padding:6px 8px;border-radius:6px;color:var(--mint)}.scene-status i{height:4px;width:4px;border-radius:50%;background:currentColor}.mono{font:8px var(--mono);color:#a09aac;letter-spacing:.04em}.asset-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.asset-label{position:absolute;font:7px var(--mono);color:#dbd6e5;background:#0b0b11a8;border:1px solid #ffffff18;border-radius:4px;padding:4px 5px;transform:translate(-50%,-100%);white-space:nowrap}.asset-label.alert{color:var(--amber);border-color:#edc38b45}.robot-feed{position:absolute;bottom:69px;right:13px;width:clamp(145px,14vw,210px);border:1px solid #c7b4ed38;border-radius:9px;overflow:hidden;box-shadow:0 12px 40px #0008;background:#0e0c16}.robot-feed>div{display:flex;align-items:center;justify-content:space-between;font:6px var(--mono);letter-spacing:.06em;color:#b5abc6;padding:6px 7px;background:#1d1626}.robot-feed i{width:4px;height:4px;background:var(--mint);border-radius:50%}.robot-feed canvas{width:100%;height:auto;display:block;aspect-ratio:16/9}.robot-feed>small{position:absolute;bottom:4px;left:5px;color:#e6ddea;font:6px var(--mono);text-shadow:0 1px 3px #000}.scene-bottom{position:absolute;bottom:0;left:0;right:0;padding:15px 16px;display:flex;justify-content:space-between;align-items:end;background:linear-gradient(transparent,#101018ee);pointer-events:none}.scene-bottom strong{display:block;font-size:15px;margin-top:4px;font-weight:500;letter-spacing:-.02em}.scene-actions{display:flex;gap:5px;pointer-events:auto}.scene-actions button{background:#14111eac;border:1px solid #ffffff22;border-radius:7px;min-width:28px;height:28px;padding:4px 8px;color:#c8bcda}.scene-actions button.stop{color:#f9a8b5;font-size:9px;border-color:#ed90a03a}.scene-metrics{display:grid;grid-template-columns:repeat(4,1fr);height:64px;background:#15131c;border-top:1px solid var(--line);flex-shrink:0}.scene-metrics>div{padding:10px 14px;border-right:1px solid var(--line)}.scene-metrics>div:last-child{border:0}.scene-metrics span{display:block;font:7px var(--mono);letter-spacing:.06em;color:#888294;white-space:nowrap}.scene-metrics span i{font:5px var(--mono);color:#b6abc8;margin-left:4px}.scene-metrics b{display:block;font:16px Manrope;margin-top:4px;color:#ede4f6;white-space:nowrap}.scene-metrics small{font:9px var(--mono);color:#8b819b}.insights-panel{display:flex;flex-direction:column;gap:12px;min-height:0}.perception-panel{flex:1.18;display:flex;flex-direction:column;min-height:0}.video-box{position:relative;min-height:100px;flex:1;background:#08080b;overflow:hidden}.video-box video,.video-box canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}#visionOverlay{pointer-events:none;z-index:2}.video-tag,.frame-time{position:absolute;z-index:3;font:6px var(--mono);padding:4px 6px;background:#0b0b11ba;color:#d3cbe0;border-radius:4px;bottom:8px}.video-tag{left:8px}.frame-time{right:8px}.video-placeholder{position:absolute;inset:0;display:grid;place-content:center;color:#8a8096;font:9px var(--mono);background:radial-gradient(circle,#282134,#0e0c12)}.source-select{display:flex;gap:6px;padding:8px 11px;border-bottom:1px solid var(--line)}.source-select select{min-width:0;flex:1;font:9px Manrope;color:#c4b9d3;border:0;background:transparent}.source-select select option{background:#17121f}.source-select button{background:transparent;border:1px solid #ffffff14;border-radius:5px;padding:0 6px;font-size:11px;color:#b3a6c8}.perception-result{display:grid;grid-template-columns:1fr auto;gap:8px;padding:9px 12px}.perception-result>div:last-child{text-align:right}.perception-result span{display:block;font:6px var(--mono);color:#888193;letter-spacing:.07em}.perception-result b{display:block;font-size:13px;font-weight:500;letter-spacing:-.015em;margin-top:3px}.source-status{font:7px var(--mono);color:#82798e;padding:0 12px 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.world-model-panel{flex:1;display:flex;flex-direction:column;min-height:0}#worldGraph{width:100%;flex:1;min-height:70px;max-height:170px}#worldGraph line,#worldGraph path{fill:none;stroke:#ac93c53c;stroke-width:1}#worldGraph .pulse-path{stroke:var(--violet);stroke-dasharray:5 28;animation:flow 3s linear infinite}#worldGraph circle{fill:#191423;stroke:#a08bbd80;stroke-width:1}#worldGraph .hot circle{stroke:var(--amber);fill:#3b261b}#worldGraph text{font:7px var(--mono);fill:#b4a6c8}#worldGraph .edge-text{font-size:5px;fill:#665b78}.world-facts{padding:0 13px}.world-facts>div{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid #ffffff09;font-size:9px}.world-facts span{color:#8c819d}.world-facts b{font-weight:500;color:#c5b9d8}.provenance{display:flex;align-items:center;gap:5px;margin-top:auto;padding:8px 12px;font:6px var(--mono);color:#766b87}.provenance i{width:4px;height:4px;border-radius:50%;background:var(--mint)}.provenance button{margin-left:auto;border:0;background:none;font:7px var(--mono);color:var(--muted)}.workflow{display:flex;flex-direction:column;background:#121018}.workflow-heading{height:32px;display:flex;align-items:center;gap:20px;padding:0 17px}.workflow-heading .micro{color:#a095b0}.workflow-heading>span:nth-child(2){font:7px var(--mono);color:var(--mint)}.workflow-heading button{margin-left:auto}.flow-steps{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;padding:0 13px;flex:1;min-height:39px}.flow-step{position:relative;text-align:left;border:1px solid #ffffff10;background:#ffffff02;border-radius:8px;padding:7px 10px;display:flex;gap:8px;align-items:center}.flow-step:not(:last-child):after{content:'›';position:absolute;right:-8px;color:#696174}.flow-step .n{font:8px var(--mono);color:#625a6e}.flow-step b{font-size:10px;font-weight:500}.flow-step small{display:block;font:6px var(--mono);color:#746b82;margin-top:2px}.flow-step.active{border-color:#b8a6fa6a;background:#b8a6fa13;box-shadow:0 0 20px #b8a6fa09}.flow-step.active b{color:var(--violet)}.flow-step.done{border-color:#9ae3ca25}.flow-step.done .n{color:var(--mint)}.flow-step.wait{border-color:#edc38b70;background:#edc38b12}.event-line{height:29px;display:flex;align-items:center;gap:11px;padding:0 17px;min-width:0}.event-line>span:first-child{font:6px var(--mono);color:var(--violet);min-width:50px}.event-line p{font:8px var(--mono);color:#9f92b0;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.event-line time,.event-line>span:last-child{font:6px var(--mono);color:#655c73}.footnote{display:flex;justify-content:space-between;align-items:center;gap:10px;font:6px var(--mono);letter-spacing:.07em;color:#665e71}.approval{position:absolute;z-index:12;top:50%;left:50%;transform:translate(-50%,-50%);width:min(355px,90%);background:#17111feF;border:1px solid #e4bb8766;border-radius:17px;padding:23px;backdrop-filter:blur(18px);box-shadow:0 15px 100px #0008;animation:appear .35s var(--ease)}.approval .micro{color:var(--amber)}.approval h3{font-size:21px;letter-spacing:-.04em;margin:10px 0}.approval p{font-size:11px;color:#a599b3;margin:0}.approval>div{display:flex;gap:8px;margin-top:20px}.approval button{border:1px solid #ffffff1e;border-radius:7px;background:transparent;padding:9px 12px;font-size:11px}.approval button:last-child{background:#edc38b;color:#271a0d;border-color:#edc38b;flex:1}.architecture-canvas{position:absolute;inset:43px 0 0;background:radial-gradient(ellipse at 60% 45%,#3d2b503a,transparent 60%),#101017;display:flex;flex-direction:column;padding:22px 28px;z-index:10;overflow:hidden}.architecture-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-bottom:17px}.architecture-title .micro{width:100%}.architecture-title h2{font-size:31px;letter-spacing:-.055em;font-weight:400;line-height:1.04;margin:5px 0}.architecture-title h2 em{font-family:Georgia;color:var(--pink)}.architecture-title button,.contract-panel>button{border:1px solid #b8a6fa44;border-radius:8px;color:var(--violet);background:#b8a6fa0a;padding:10px;font:9px var(--mono)}.exploded-stack{flex:1;min-height:0;display:flex;flex-direction:column;gap:7px;perspective:1200px;padding:0 12px}.arch-row{display:grid;grid-template-columns:25px 1.2fr 1.6fr;align-items:center;gap:14px;flex:1;min-height:37px;max-height:60px;position:relative;border:1px solid #d5bafa2b;background:linear-gradient(110deg,#3f304953,#1e172a80);border-radius:10px;padding:10px 15px;text-align:left;transform:rotateY(-8deg) rotateX(6deg) translateX(calc(var(--i)*3px));transition:transform .45s var(--ease),background .4s,border .4s;animation:archIn .65s var(--ease) both;animation-delay:calc(var(--i)*60ms)}.arch-row.active{border-color:var(--violet);background:#52415d44;transform:rotateY(0) translateX(-5px);box-shadow:0 0 24px #b8a6fa17}.arch-row>span{font:8px var(--mono);color:var(--pink)}.arch-row>b{font-size:12px;font-weight:500}.arch-row>small{font:7px/1.5 var(--mono);color:#a497b9}.cross-planes{display:flex;justify-content:space-between;gap:20px;margin-top:20px;padding-top:13px;border-top:1px solid #ffffff12;color:#9b88ae;font:6px var(--mono);letter-spacing:.12em}.contract-panel{height:100%;padding:23px;display:flex;flex-direction:column}.contract-panel h2{font-size:29px;letter-spacing:-.055em;font-weight:500;line-height:1;margin:17px 0 24px}.contract-panel label{display:block;font:7px var(--mono);letter-spacing:.09em;color:#b8a6fa;margin:20px 0 8px}.contract-panel p{font-size:12px;color:#b5a6c5;line-height:1.6;margin:0}.contract-components{display:flex;gap:7px;flex-wrap:wrap}.contract-components span{border:1px solid #ffffff16;border-radius:7px;padding:7px 9px;font:8px var(--mono);color:#ddd0ec}.contract-proof{margin-top:24px;border-top:1px solid var(--line)}.contract-panel>button{margin-top:auto;align-self:start}body.arch-mode .scene-wrap,body.arch-mode .scene-metrics,body.arch-mode .perception-panel,body.arch-mode .world-model-panel{visibility:hidden}body.arch-mode .contract-panel{position:absolute;inset:0;z-index:5}body.arch-mode .insights-panel{position:relative}dialog{width:min(770px,94vw);max-height:85dvh;color:var(--text);background:#141119;border:1px solid #b8a6fa44;border-radius:20px;padding:32px;overflow:auto;box-shadow:0 30px 180px #0009}dialog::backdrop{background:#030206b3;backdrop-filter:blur(12px)}dialog h2{font-size:27px;font-weight:400;letter-spacing:-.045em;margin:0 0 22px}dialog h3{font-size:14px;margin-top:24px;font-weight:500}dialog p{font-size:12px;line-height:1.6;color:#b4a7c3}dialog a{color:var(--violet);text-decoration:underline;text-underline-offset:3px}dialog code,dialog pre{font:10px/1.5 var(--mono);color:#bbadd0}dialog pre{white-space:pre-wrap;word-break:break-word;background:#07060b;padding:15px;border:1px solid var(--line);border-radius:9px;max-height:420px;overflow:auto}.dialog-close{position:absolute;top:15px;right:18px;border:0;background:none;font-size:24px;color:var(--muted)}.source-row{border-top:1px solid var(--line);padding:13px 0;display:grid;grid-template-columns:140px 1fr;gap:25px;font-size:12px}.source-row b{font-weight:500;color:#e0d4ee}.source-row span{color:#a899bb}.event-table{width:100%;border-collapse:collapse;font:9px var(--mono)}.event-table td{padding:10px 5px;border-top:1px solid var(--line);vertical-align:top;line-height:1.5}.event-table td:first-child{color:#70667d;white-space:nowrap}.event-table td:nth-child(2){color:var(--violet);white-space:nowrap}.dialog-actions{display:flex;gap:10px;margin-top:20px}.dialog-actions button{border:1px solid #b8a6fa44;background:#b8a6fa12;border-radius:7px;padding:10px 14px;font:10px var(--mono)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:110;padding:12px 20px;border-radius:9px;background:#d8c7ee;color:#21162a;font-size:12px;transition:.25s}#toast.visible{opacity:1;transform:translate(-50%,0)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes beacon{50%{opacity:.35}}@keyframes flow{to{stroke-dashoffset:-66}}@keyframes appear{from{opacity:0;margin-top:9px}to{opacity:1;margin-top:0}}@keyframes archIn{from{opacity:0;translate:0 20px}to{opacity:1;translate:0 0}}
@media(min-width:1700px){.workspace{grid-template-columns:275px minmax(0,1fr) 350px}.layer b{font-size:13px}.layer small{font-size:8px}.decision-card h2{font-size:17px}.panel-heading{font-size:9px}.world-facts>div{font-size:11px}.perception-result b{font-size:16px}}
@media(max-height:780px) and (min-width:1000px){.app{grid-template-rows:50px 64px minmax(0,1fr) 104px 18px;gap:8px;padding:0 16px}.workspace{grid-template-columns:220px minmax(0,1fr) 280px;gap:10px}.headline h1{font-size:29px}.panel-heading{height:34px}.layer-list{padding:8px;gap:4px}.layer{min-height:34px;padding:6px 8px}.layer b{font-size:10px}.layer small{font-size:6px;margin-top:2px}.layer .num{height:20px;width:20px}.decision-card{min-height:103px;padding:10px 12px}.decision-card h2{font-size:12px}.decision-card p{font-size:9px;min-height:24px}.checks{margin-top:7px}.plane-label{font-size:6px;padding:6px 12px}.scene-metrics{height:53px}.scene-metrics>div{padding:8px 12px}.scene-metrics b{font-size:13px}.perception-result{padding:6px 11px}.perception-result b{font-size:11px}.source-status{font-size:6px;padding-bottom:6px}.source-select{padding:6px 10px}.video-box{min-height:80px}.world-facts>div{padding:4px 0;font-size:8px}.provenance{padding:6px 11px}.workflow-heading{height:27px}.event-line{height:24px}.robot-feed{bottom:60px;width:145px}.architecture-canvas{top:34px;padding:14px 20px}.architecture-title{margin-bottom:9px}.architecture-title h2{font-size:26px}.arch-row{min-height:30px;padding:6px 12px}.cross-planes{margin-top:11px;padding-top:10px}.contract-panel{padding:18px}.contract-panel h2{font-size:24px;margin:11px 0 20px}.contract-panel label{margin:15px 0 6px}.contract-panel p{font-size:11px}}
@media(max-width:1150px){.workspace{grid-template-columns:200px minmax(0,1fr) 263px}.header-right{min-width:220px}.brand{min-width:220px;font-size:9px}.header-right .text-button{font-size:8px}.scene-tabs{gap:7px}.scene-tabs button{font-size:7px}.commandbar{gap:20px}.commandbar input{font-size:10px}.layer b{font-size:10px}.layer small{font-size:6px}.layer{column-gap:6px}.layer-list{padding:8px}.flow-step{padding:6px;gap:6px}.flow-step b{font-size:9px}.flow-step small{font-size:5px}.flow-step .n{font-size:7px}.arch-row{grid-template-columns:15px 1fr 1.2fr;gap:10px}.arch-row>b{font-size:10px}.arch-row>small{font-size:6px}.scene-metrics span i{display:none}}
@media(max-width:900px){body{height:auto;overflow:auto}.app{height:auto;min-height:100dvh;display:flex;flex-direction:column;padding:0 14px;gap:12px}.topbar{min-height:60px;gap:15px;position:sticky;top:0;background:#0b0b11ed;backdrop-filter:blur(15px);z-index:40}.brand{min-width:0;margin-right:auto}.brand>span:last-child{font-size:8px;letter-spacing:.05em}.brand small{font-size:6px}.header-right{min-width:0}.header-right .system-light{display:none}.view-switch{margin:0}.view-switch button{font-size:10px;padding:7px 12px}.header-right .text-button{font-size:0}.header-right .text-button:after{content:'ⓘ';font-size:17px}.commandbar{flex-direction:column;align-items:stretch;gap:12px;margin:10px 0}.headline h1{font-size:31px}.commandbar form{max-width:none;min-height:48px}.commandbar input{font-size:10px}.run-button{padding:8px 10px;gap:12px}.run-button b{width:20px;height:20px}.workspace{display:grid;grid-template-columns:1fr;gap:12px;min-height:auto}.world-panel{grid-row:1;min-height:510px}.layer-panel{grid-row:2}.layer-list{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.layer{min-height:48px}.layer b{font-size:12px}.layer small{font-size:7px}.layer:after{display:none}.layer:last-child{grid-column:1/-1}.decision-card{min-height:90px}.decision-card p{min-height:0}.insights-panel{display:grid;grid-template-columns:1fr 1fr;min-height:340px}.video-box{min-height:150px}.world-model-panel,.perception-panel{min-height:340px}.workflow{min-height:160px}.flow-steps{grid-template-columns:repeat(4,1fr);gap:6px;flex:1}.flow-step b{font-size:10px}.flow-step small{font-size:6px}.event-line{min-height:30px}.workflow-heading{gap:10px;min-height:32px}.workflow-heading .micro{font-size:7px}.workflow-heading>span:nth-child(2){display:none}.footnote{padding-bottom:14px;flex-wrap:wrap}.footnote>span:nth-child(2){order:3;width:100%;line-height:1.5}.scene-top .mono{font-size:7px}.robot-feed{width:155px}.architecture-canvas{min-height:445px}.contract-panel{min-height:330px}.insights-panel #contractPanel{position:absolute}.arch-row{min-height:38px}.source-row{grid-template-columns:1fr;gap:8px}.layer-panel .plane-label{padding-bottom:12px}}
@media(max-width:520px){.insights-panel{grid-template-columns:1fr}.world-panel{min-height:480px}.source-status{font-size:8px}.perception-panel{min-height:335px}.world-model-panel{min-height:265px}.headline h1{font-size:28px}.commandbar input{padding-left:9px}.run-button span{font-size:10px}.run-button{gap:8px}.scene-tabs button{font-size:7px}.scene-metrics>div{padding:9px}.scene-metrics span{font-size:6px}.scene-metrics b{font-size:13px}.brand-orbit{width:27px;height:27px}.brand{gap:8px}.view-switch button{padding:7px 10px;font-size:9px}.topbar{gap:9px}.robot-feed{width:130px;bottom:68px}.scene-bottom strong{font-size:13px}.workflow-heading .text-button{font-size:7px}.arch-row>small{font-size:7px}.arch-row>b{font-size:12px}.architecture-title h2{font-size:28px}.world-facts>div{font-size:10px}.perception-result b{font-size:15px}.source-select select{font-size:11px}.plane-label{font-size:7px}dialog{padding:24px 18px}.event-table{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
