dialog#workspace:has(#workspace-content[data-view="multimodal"]) .workspace-header{display:none}
dialog#workspace #workspace-content[data-view="multimodal"]{padding:0;overflow:hidden;background:#061523;color:#eaf8ff;scroll-behavior:auto}
.mm-shell{--mm-accent:#78e6ed;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:10px;width:100%;height:100%;min-height:0;padding:clamp(12px,1.5vw,22px);overflow:hidden;background:radial-gradient(circle at 70% 5%,#1d536c70,transparent 34%),radial-gradient(circle at 5% 80%,#433e8370,transparent 38%),linear-gradient(145deg,#071321,#0c2032 60%,#0b1729);font-family:"Microsoft YaHei",sans-serif}
.mm-shell button{font:inherit;cursor:pointer}.mm-shell button:focus-visible,.mm-shell input:focus-visible{outline:2px solid #8af4ff;outline-offset:3px}
.mm-heading{display:flex;align-items:center;gap:28px;min-height:58px}.mm-heading .mm-back{flex:none;padding:10px 14px;border:1px solid #76dbed66;border-radius:999px;background:#12314b;color:#d8f7ff;font-size:15px;font-weight:700}.mm-heading .mm-back:hover{background:#1a5270}.mm-heading>div{min-width:0}.mm-heading small{display:block;color:#8ad8e8;font-size:11px;font-weight:800;letter-spacing:.15em}.mm-heading h3{margin:3px 0 0;color:#f4fcff;font-size:clamp(24px,2.2vw,35px);font-weight:650;letter-spacing:-.04em}.mm-case-tag{margin-left:auto;padding:9px 13px;border:1px solid #66b5c259;border-radius:999px;background:#a4edff12;color:#a9e9f1;font-size:12px;white-space:nowrap}
.mm-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.mm-steps button{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 12px;border:1px solid #79cee437;border-radius:12px;background:#a0cce60c;color:#b7cfdd;text-align:left;font-size:13px;white-space:nowrap;transition:background .24s,transform .24s,border-color .24s}.mm-steps button:hover{transform:translateY(-3px);background:#2e678155}.mm-steps button[aria-current="step"]{border-color:#79edf0a6;background:#66d9e632;color:#fff;box-shadow:0 0 24px #4fd4e329}.mm-steps b{display:grid;flex:none;place-items:center;width:25px;height:25px;border-radius:50%;background:#78dce828;color:#aaf6fb;font-size:13px}
.mm-main{display:grid;grid-template-columns:1fr 1.05fr;gap:14px;min-height:0}.mm-video-card,.mm-scene-card,.mm-step-card,.mm-evidence{min-width:0;border:1px solid #8dd8ef35;border-radius:18px;background:#0b2235db;box-shadow:0 20px 50px #01081255;overflow:hidden}.mm-video-card,.mm-scene-card{display:flex;flex-direction:column;min-height:0}.mm-card-head{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;height:43px;padding:0 16px;border-bottom:1px solid #8dd8ef26;color:#e2faff;font-size:14px;font-weight:750}.mm-card-head small{color:#91adbd;font-size:11px;font-weight:500}.mm-live-dot{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#83eef0;box-shadow:0 0 12px #80f3ff}.mm-video-wrap{position:relative;flex:1;min-height:0;background:#02070b}.mm-video-wrap video{display:block;width:100%;height:100%;object-fit:contain}.mm-video-corner{position:absolute;left:12px;bottom:10px;padding:6px 9px;border-radius:6px;background:#071823cc;color:#e6f6f9;font-size:11px;pointer-events:none}.mm-video-controls{display:flex;flex:none;align-items:center;gap:9px;height:43px;padding:0 12px}.mm-video-controls button,.mm-scene-tools button,.mm-markers button{border:1px solid #7acfe264;border-radius:8px;background:#20465a;color:#dbf9ff}.mm-video-controls button{min-width:32px;height:31px}.mm-video-controls input{flex:1;min-width:40px;accent-color:#72dfe9}.mm-video-controls span{font-size:11px;color:#b9d4df;white-space:nowrap}.mm-markers{display:flex;flex:none;align-items:center;gap:7px;height:38px;padding:0 12px;border-top:1px solid #8dd8ef20;overflow:hidden;white-space:nowrap}.mm-markers span{color:#92b9c6;font-size:11px}.mm-markers button{padding:5px 8px;font-size:11px;transition:background .2s}.mm-markers button:hover{background:#2d6f86}
.mm-canvas-wrap{position:relative;flex:1;min-height:0;overflow:hidden;background:radial-gradient(ellipse at 50% 72%,#14577655,transparent 47%),linear-gradient(160deg,#0b2035,#081521)}.mm-canvas-wrap canvas{position:relative;z-index:1;display:block;width:100%;height:100%;touch-action:none;cursor:grab}.mm-canvas-wrap canvas:active{cursor:grabbing}.mm-scan-ring{position:absolute;left:50%;top:52%;width:56%;aspect-ratio:1;border:1px solid #48d6e02d;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 80px #36c9eb24;pointer-events:none}.mm-scene-caption{position:absolute;z-index:2;right:10px;bottom:9px;padding:6px 9px;border-radius:6px;background:#071823c9;color:#b9d6df;font-size:11px;pointer-events:none}.mm-webgl-note{position:absolute;z-index:3;inset:35% 12%;color:#e5faff;text-align:center;font-size:16px}.mm-scene-tools{display:flex;flex:none;align-items:center;gap:7px;height:43px;padding:0 12px;border-top:1px solid #8dd8ef20}.mm-scene-tools button{padding:6px 10px;font-size:11px}.mm-scene-tools button:hover,.mm-scene-tools button[aria-pressed="true"]{background:#347992;color:#fff}.mm-scene-tools button:last-child{margin-left:auto}
.mm-bottom{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.75fr);gap:14px;min-height:0}.mm-step-card{padding:13px 16px}.mm-step-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mm-step-head span{color:#f0fcff;font-size:18px;font-weight:800}.mm-step-head small{color:#95bacb;font-size:11px;white-space:nowrap}.mm-step-detail{margin:5px 0 7px;color:#a9ceda;font-size:13px}.mm-step-content{min-height:88px}.mm-step-content>strong{display:block;color:#a5f3f4;font-size:15px}.mm-step-content>p{margin:5px 0;color:#d0e0e9;font-size:13px;line-height:1.55}.mm-facts,.mm-checks,.mm-part-buttons,.mm-review-points{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.mm-facts span,.mm-checks label,.mm-review-points span{padding:6px 8px;border:1px solid #8dd8ef2e;border-radius:8px;background:#bdeaff0c;color:#d7eaf1;font-size:11px}.mm-checks label{cursor:pointer}.mm-checks input{accent-color:#83e6e9}.mm-part-buttons button,.mm-inline,.mm-analyse{padding:7px 10px;border:1px solid #71dfea80;border-radius:8px;background:#1f5369;color:#e4fbff;font-size:12px;font-weight:700}.mm-part-buttons button[aria-pressed="true"]{background:#50c8d6;color:#062432}.mm-step-content .mm-part-note{color:#a7d6e2}.mm-history-label{display:block;margin:5px 0;color:#aee8ef;font-size:12px}.mm-history-label input{display:block;width:100%;margin-top:4px;padding:6px;border:1px solid #81d7e865;border-radius:7px;background:#eaf6fa;color:#143849;font-size:12px}.mm-api-status{display:block;margin-top:4px;color:#a6cbd8;font-size:11px}.mm-analyse{margin-top:5px;background:#55cbd7;color:#082a37}.mm-analyse:disabled{opacity:.55;cursor:wait}.mm-answer{max-height:85px;margin-top:6px;padding:8px;border:1px solid #72dce458;border-radius:8px;background:#061a2a;overflow-y:auto;color:#d6eef5;font-size:12px;line-height:1.5}.mm-answer small{display:block;margin-bottom:4px;color:#7fe7ed;font-weight:800}.mm-step-actions{display:flex;justify-content:space-between;margin-top:7px}.mm-step-actions button{padding:6px 10px;border:1px solid #72cadd6b;border-radius:8px;background:#164359;color:#e5faff;font-size:12px}.mm-step-actions button:disabled{opacity:.3;cursor:default}.mm-step-actions button:last-child{background:#76e1e9;color:#062636;font-weight:800}
.mm-evidence{padding:13px 15px;color:#c7dce5;font-size:12px;line-height:1.5}.mm-evidence-title{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:1px solid #8dd8ef2e;color:#e6faff;font-size:14px;font-weight:800}.mm-evidence-title b{color:#89eef3;font-size:12px}.mm-evidence ul{margin:6px 0 0;padding-left:18px}.mm-evidence li{margin:4px 0}.mm-disclaimer{margin:0;color:#a9c3d0;font-size:11px}
@media(prefers-reduced-motion:no-preference){.mm-heading,.mm-steps,.mm-main,.mm-bottom{animation:mm-enter .55s both}.mm-steps{animation-delay:.08s}.mm-main{animation-delay:.15s}.mm-bottom{animation-delay:.24s}.mm-live-dot{animation:mm-pulse 2s infinite}}@keyframes mm-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes mm-pulse{50%{box-shadow:0 0 20px #8effff}}
@media(max-width:1000px){dialog#workspace #workspace-content[data-view="multimodal"]{overflow:auto}.mm-shell{height:auto;min-height:100%;overflow:visible}.mm-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.mm-bottom{grid-template-columns:1fr}}
@media(max-width:700px){dialog#workspace #workspace-content[data-view="multimodal"]{overflow:auto}.mm-shell{height:auto;min-height:100%;overflow:visible;padding:15px}.mm-heading{gap:10px;flex-wrap:wrap}.mm-heading h3{font-size:22px}.mm-case-tag{margin-left:0}.mm-steps{gap:5px}.mm-steps button{padding:8px 6px;font-size:11px}.mm-steps b{width:20px;height:20px}.mm-main{grid-template-columns:1fr}.mm-video-card,.mm-scene-card{height:325px}.mm-step-head{align-items:flex-start;flex-direction:column;gap:3px}.mm-scene-tools{gap:4px}.mm-scene-tools button{padding:6px 7px}}
@media(max-height:760px) and (min-width:701px){.mm-shell{gap:7px;padding:10px 16px}.mm-heading{min-height:47px}.mm-heading h3{font-size:23px}.mm-steps button{padding:7px 9px}.mm-step-content{min-height:68px}.mm-step-content>p{line-height:1.35}.mm-step-card{padding:10px 13px}.mm-evidence{padding:10px 13px}}

/* Observation workbench: scoped to this simulation only. */
.mm-shell{background:#091c29;font-family:"Microsoft YaHei","PingFang SC",sans-serif}
.mm-shell [hidden]{display:none!important}
.mm-shell button{transition:background .18s ease,transform .18s ease,color .18s ease}
.mm-shell button:active:not(:disabled){transform:translateY(1px) scale(.98)}
.mm-shell button:disabled{cursor:default;opacity:.4}
.mm-video-card,.mm-scene-card,.mm-step-card,.mm-evidence{box-shadow:none;border-color:#294656;background:#102a3a;border-radius:16px}
.mm-steps button{background:#152f3e;border-color:transparent;color:#c9dce5}
.mm-steps button[aria-current="step"]{background:#28505c;box-shadow:none;border-color:#6fbfc4}
.mm-step-head span{font-size:19px;letter-spacing:.01em}
.mm-step-detail{color:#b1cbd6;margin:6px 0 9px}
.mm-step-content>strong{font-size:16px;color:#d9f8f3}
.mm-step-content>p{color:#d4e2e9}
.mm-step-actions{padding-top:8px}
.mm-facts span,.mm-checks label,.mm-review-points span{border:0;background:#203e4c;color:#dcedf2;font-size:12px;padding:8px 10px}
.mm-checks label:has(input:checked){background:#305e61;color:#fff}
.mm-view-switch{display:flex;flex:none;gap:6px;padding:8px 12px;background:#132e40}
.mm-view-switch button{border:0;border-radius:7px;padding:7px 13px;background:transparent;color:#b6cfdc;font-size:13px;font-weight:600}
.mm-view-switch button[aria-pressed="true"]{background:#325764;color:#fff}
.mm-scene-content{display:flex;flex-direction:column;flex:1;min-height:0}
.mm-scene-content .mm-card-head{height:32px;font-size:12px}
.mm-report{flex:1;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:18px 22px;gap:14px;background:#edf4f3;color:#19383e}
.mm-report header{display:flex;justify-content:space-between;gap:12px;align-items:center;font-weight:700;font-size:18px}
.mm-report header small{font-size:12px;font-weight:400;color:#4d6870}
.mm-report-text{min-height:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:28px;overflow:hidden;tab-size:2}
.mm-report footer{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-variant-numeric:tabular-nums}
.mm-report footer button{padding:8px 12px;border:0;border-radius:7px;background:#d4e5e3;color:#193e46;font-size:13px}
.mm-report footer button:hover:not(:disabled){background:#b9d8d3}
.mm-record-row{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:8px}
.mm-record-row input{flex:1;min-width:180px;border:1px solid #537782;border-radius:7px;background:#eaf4f3;color:#15373e;padding:8px 10px;font:inherit;font-size:13px}
.mm-record-row button{flex:none;padding:8px 12px;border:0;border-radius:7px;background:#79d5d4;color:#102f38;font-size:13px;font-weight:700}
.mm-record-row>span{font-size:11px;color:#a8e7de}
.mm-observation-list{display:grid;gap:7px;margin-top:9px}
.mm-observation-list>div{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;background:#1d3a49;padding:5px 7px;border-radius:6px}
.mm-observation-list button{border:0;background:transparent;color:#a2ebe6;padding:3px;font-size:12px;white-space:nowrap}
.mm-observation-list span{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.mm-video-controls{font-variant-numeric:tabular-nums}
.mm-video-controls button{white-space:nowrap;font-size:12px;padding:0 5px}
@media(prefers-reduced-motion:no-preference){.mm-step-content{animation:mm-enter .25s ease both}.mm-report-text{animation:mm-enter .22s ease both}}
@media(min-width:1001px){.mm-main{min-height:230px}.mm-bottom{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}.mm-step-detail{display:none}.mm-step-content{margin-top:8px}.mm-step-card{padding:12px 16px}.mm-observation-list span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
@media(min-width:701px) and (max-width:1000px){.mm-main{min-height:400px}}
@media(max-width:700px){.mm-scene-card{height:420px}.mm-report{padding:12px}.mm-report header{font-size:16px}.mm-video-controls{gap:5px;padding:0 7px}.mm-record-row input{min-width:160px}.mm-observation-list>div{grid-template-columns:1fr auto}.mm-observation-list span{grid-row:2;grid-column:1/-1}}
@media(max-height:760px) and (min-width:1001px){.mm-heading{min-height:40px}.mm-heading small{display:none}.mm-step-content>p{margin:4px 0;font-size:12px}.mm-part-note{font-size:12px}.mm-step-actions{margin-top:4px;padding-top:4px}.mm-step-head span{font-size:17px}.mm-report{padding:12px 16px;gap:8px}.mm-step-card{padding:9px 13px}.mm-scene-tools{height:36px}.mm-view-switch{padding:5px 10px}}
@media(prefers-reduced-motion:reduce){.mm-shell *{animation:none!important;transition:none!important}}
.mm-observation-list span{display:block;overflow:visible;-webkit-line-clamp:unset}

