:root{font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#395e62;background:#edf6f3;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button{cursor:pointer}[hidden]{display:none!important}.independent-model-app{height:100svh;display:flex;flex-direction:column}.independent-model-workspace{min-height:0;flex:1}.model-area{height:100%;display:flex;flex-direction:column;min-height:0;overflow:hidden}.model-stage{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#fafbf6}.view-bar{display:flex;gap:8px;align-items:center;padding:7px 14px;border-bottom:1px solid #e0e7dd;flex-shrink:0}.sketch-tag{font-size:12px;color:#8a7d69;white-space:nowrap}.pose-picker,.frame-picker{display:flex;align-items:center;gap:6px;font-size:12px;color:#698276;white-space:nowrap}select{background:#fffdf8;border:1px solid #c8dbd2;border-radius:7px;color:#365f5c;max-width:100%;padding:7px 10px;min-height:34px}.views{margin-left:auto;display:flex;gap:4px}.science-workbench{position:relative;flex:1;min-height:0;isolation:isolate;overflow:hidden;background:#fbfbf6}.comparison-grid{position:relative;height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:12px 20px 5px;z-index:2}.pane{display:flex;flex-direction:column;min-width:0;min-height:0}.recording-pane{border-left:1px solid #dfe6de;padding-left:18px}.pane-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;min-height:34px;margin-bottom:7px}.pane-heading strong{font-size:16px;font-weight:650;color:#3b6d64}.pane-heading>span{font-size:12px;color:#6c837c;text-align:right}.scene-viewport,.recording-viewport{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;contain:strict;border-radius:14px}.scene-viewport{background:linear-gradient(140deg,rgba(var(--solution-rgb),.37),rgba(var(--solution-rgb),.16));box-shadow:inset 0 0 0 1px rgba(var(--solution-rgb),.3)}.recording-viewport{background:#f1f3ee}.science-plane,.recording-plane{position:absolute;left:0;top:0;pointer-events:none;max-width:none}.science-plane canvas,.science-plane svg{position:absolute;inset:0;width:100%;height:100%;display:block}.recording-plane canvas{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain}.view-hint{position:absolute;left:10px;top:9px;font-size:11px;color:#69877a;pointer-events:none}.pane-caption{display:flex;flex-direction:column;gap:4px;min-height:65px;padding:9px 7px 0 68px;flex-shrink:0;font-size:12px;line-height:1.5;color:#748378}.pane-caption strong{font-size:15px;color:#486d64}.evidence-caption{display:flex;flex-direction:column;gap:4px;min-height:65px;padding:8px 2px 3px;font-size:11px;line-height:1.55;color:#7b867d}.evidence-caption strong{color:#946f42;font-weight:500}.frame-picker{padding:4px 0;justify-content:flex-end}.frame-picker select{font-size:11px;min-height:28px;padding:3px 7px;max-width:290px}.keyframes{display:flex;gap:6px;padding:5px 20px;flex:none;justify-content:center;overflow-x:auto;border-top:1px solid #e1e7dd}.keyframes .shell-action{flex:1;max-width:240px;white-space:nowrap}.state-summary{display:flex;justify-content:center;gap:20px;align-items:center;flex:none;min-height:27px;padding:3px 12px;color:#5d7d71;font-size:12px}#scope-note{color:#989584;font-size:11px}.timeline-wrap output{flex:0 0 80px;min-width:80px;font-variant-numeric:tabular-nums;text-align:right;font-size:12px}.comparison-grid[data-view=schematic],.comparison-grid[data-view=recording]{grid-template-columns:minmax(0,1fr)}.comparison-grid[data-view=schematic] .recording-pane,.comparison-grid[data-view=recording] .schematic-pane{display:none}.comparison-grid[data-view=recording] .recording-pane{padding-left:0;border-left:0}.comparison-grid[data-view=schematic] .scene-viewport{max-width:1240px;width:100%;align-self:center}.scene-viewport:focus-visible,.recording-viewport:focus-visible{outline:2px solid #398675;outline-offset:-2px}.label{fill:#526b6f;paint-order:stroke;stroke:#fffaf6;stroke-width:5;stroke-linejoin:round;font-weight:500}.leader{fill:none;stroke:#8ca4a0;stroke-width:1.7}.minor{fill:#7d8b81;font-size:21px}.name-label{fill:#4c6865;font-size:26px;font-weight:550}.schematic-pane{--solution-rgb:186,204,188;--solution-ink:#486b5a}#condition{background:rgba(var(--solution-rgb),.35);color:var(--solution-ink);border:1px solid rgba(var(--solution-rgb),.6);border-radius:20px;padding:4px 10px;font-weight:650;line-height:1.3}.sync-status{position:absolute;inset:auto 8px 10px;z-index:5;text-align:center;background:#fafbf5eb;color:#587c6d;padding:7px 10px;border-radius:8px;font-size:12px}.sync-status:empty{display:none}.sketch-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sketch-context p{grid-column:1/-1;margin:0;font-size:13px;color:#6c8079}.sketch-context label{grid-column:1/-1;display:grid;gap:5px}.model-area:is(:fullscreen,.is-css-fullscreen) .view-bar,.model-area:is(:fullscreen,.is-css-fullscreen) .keyframes{display:none}.model-area:is(:fullscreen,.is-css-fullscreen) .science-workbench{margin:0}.model-area:is(:fullscreen,.is-css-fullscreen) .state-summary{position:absolute;bottom:5px;left:70px;right:10px;z-index:5;pointer-events:none}.model-area:is(:fullscreen,.is-css-fullscreen) .pane-caption{min-height:44px}

@media(max-width:1100px){.sketch-tag{display:none}.view-bar{gap:5px;padding-inline:10px}.view-bar #fragment{white-space:nowrap}}
@media(max-width:700px) and (orientation:portrait){.view-bar{padding:4px 7px;flex-wrap:wrap;gap:4px}.pose-picker{flex:1}.pose-picker select{flex:1;max-width:140px}.views{margin-left:0}.views button{white-space:nowrap}.view-bar #fit,.view-bar #fragment{display:none}.comparison-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:4px 8px}.recording-pane{padding-left:0;border-left:0}.pane-heading{min-height:23px;margin-bottom:3px;gap:4px}.pane-heading strong{font-size:12px}.pane-heading>span{font-size:10px}#condition{padding:2px 7px}.pane-caption{padding:3px 4px 1px 55px;min-height:34px;gap:0}.pane-caption strong{font-size:12px}.pane-caption>span{display:none}.evidence-caption{min-height:32px;padding:3px 2px;font-size:10px;gap:0}.evidence-caption>span{display:none}.frame-picker{padding:0;font-size:10px;min-height:26px}.frame-picker select{padding:1px 4px;min-height:24px;max-width:260px;font-size:10px}.view-hint{display:none}.keyframes{padding:3px 7px;justify-content:start;gap:4px}.keyframes .shell-action{flex:0 0 auto}.state-summary{font-size:10px;min-height:22px;padding:2px 6px}#scope-note{display:none}.comparison-grid[data-view=schematic],.comparison-grid[data-view=recording]{grid-template-rows:minmax(0,1fr)}.comparison-grid[data-view=schematic] .pane-caption>span{display:block;font-size:11px}.comparison-grid[data-view=recording] .evidence-caption>span{display:block}.comparison-grid[data-view=schematic] .pane-caption{min-height:42px}.model-area:is(:fullscreen,.is-css-fullscreen) .science-workbench{margin-top:0}.timeline-wrap output{font-size:10px;flex-basis:72px;min-width:72px}}
body[data-shell-compact="true"] .view-bar,body[data-shell-compact="true"] .keyframes{display:none}body[data-shell-compact="true"] .comparison-grid{gap:10px;padding:4px 10px}body[data-shell-compact="true"] .recording-pane{padding-left:10px}body[data-shell-compact="true"] .pane-heading{min-height:20px;margin-bottom:2px}body[data-shell-compact="true"] .pane-heading strong{font-size:12px}body[data-shell-compact="true"] .pane-heading>span{font-size:10px}body[data-shell-compact="true"] .pane-caption{min-height:25px;padding-top:3px}body[data-shell-compact="true"] .pane-caption strong{font-size:12px}body[data-shell-compact="true"] .pane-caption>span,body[data-shell-compact="true"] .frame-picker,body[data-shell-compact="true"] .evidence-caption>span,body[data-shell-compact="true"] .view-hint{display:none}body[data-shell-compact="true"] .evidence-caption{min-height:30px;padding-top:3px;font-size:10px}body[data-shell-compact="true"] .state-summary{font-size:10px;min-height:20px}body[data-shell-compact="true"] #scope-note{display:none}body[data-shell-compact="true"] #condition{padding:2px 6px}body[data-shell-compact="true"] .model-area[data-focus="true"] .comparison-grid{padding-top:42px}
@media(max-width:380px) and (max-height:540px){.view-bar{display:none}.keyframes{display:none}.pane-caption{min-height:25px;padding-left:48px}.comparison-grid{padding:4px 6px}.scene-viewport,.recording-viewport{border-radius:8px}.frame-picker{display:none}.pane-heading>span{max-width:120px}}

/* Equal picture area in all conditions; a meaningful steady-state row replaces
   the stage shortcuts for isotonic, with exactly the same block size. */
.keyframes{height:44px;min-height:44px;align-items:center}
.keyframes .shell-action{min-height:32px;padding-block:4px}
.steady-caption{display:flex;align-items:center;min-height:32px;color:#56776a;font-size:13px}
.pane-caption,.evidence-caption{height:72px;min-height:72px;max-height:72px;overflow:auto}
.recording-pane{padding-left:0;border-left:0}
.comparison-grid{column-gap:20px}
#steady-state{display:block;white-space:nowrap;font-size:12px;color:#688175;overflow:hidden;text-overflow:ellipsis}
.media-decoder-root{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:-10}
.media-decoder{position:absolute;left:0;top:0;opacity:.001;pointer-events:none;max-width:none;max-height:none}
.scene-viewport{transition:background-color .2s}
@media(max-width:700px) and (orientation:portrait){
 .keyframes{height:38px;min-height:38px}
 .keyframes .shell-action{font-size:11px;min-height:28px}
 .steady-caption{font-size:11px}
 .pane-caption,.evidence-caption{height:34px;min-height:34px;max-height:34px}
 .comparison-grid[data-view=schematic] .pane-caption,.comparison-grid[data-view=recording] .evidence-caption{height:60px;min-height:60px;max-height:60px}
 #steady-state{font-size:10px}
}
body[data-shell-compact="true"] .recording-pane{padding-left:0}
body[data-shell-compact="true"] .pane-caption,body[data-shell-compact="true"] .evidence-caption{height:30px;min-height:30px;max-height:30px}
body[data-shell-compact="true"] #steady-state{font-size:10px}
.model-area:is(:fullscreen,.is-css-fullscreen) .state-summary{display:none}
.model-area:is(:fullscreen,.is-css-fullscreen) .comparison-grid{padding-top:48px;padding-bottom:64px}
.model-area:is(:fullscreen,.is-css-fullscreen) .pane-caption,.model-area:is(:fullscreen,.is-css-fullscreen) .evidence-caption{height:36px;min-height:36px;max-height:36px}
@media(max-width:700px) and (orientation:portrait){.model-area:is(:fullscreen,.is-css-fullscreen) .comparison-grid{padding-bottom:124px}}

@media(max-width:700px) and (orientation:portrait){.comparison-grid[data-view=compare] .evidence-caption{padding-left:52px}}
