/* A continuous dark stage, with one quiet playback rail. */
.frame-actions .movie-launch{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;border:1px solid #a8d9d366;border-radius:24px;background:#b8eee5;color:#132f35;font-size:.875rem!important;font-weight:600;white-space:nowrap;box-shadow:0 3px 15px #04101a24}
.movie-launch svg{width:15px;height:15px;fill:currentColor}
.movie-launch[aria-expanded=true]{background:#193943;color:#b9e8e1;border-color:#73b5b180;box-shadow:none}
.workspace.is-movie{grid-template-columns:minmax(0,1.65fr) minmax(340px,1fr);background:#10212c;border-color:#29434e;box-shadow:0 18px 55px #10283226}
.workspace.is-movie>.study-panel{display:none}
.is-movie .mode-switch,.is-movie .layer-controls,.is-movie .anatomy-inset{display:none!important}
.is-movie .viewer{background:radial-gradient(ellipse at 48% 42%,#2c4351 0,#192e3b 48%,#10212c 100%);min-height:700px}
.is-movie .viewer-top{justify-content:flex-end}
.is-movie .model-label{border-color:#7598a154;background:#142c38e8;box-shadow:0 3px 12px #06131c20;border-radius:5px}
.is-movie .model-label.active{border-color:#8adacf99;background:#1a4147ed}
.is-movie .view-tools{background:#0b1c2699;border-color:#82a2ad33}
.is-movie .viewer-bottom{border-top-color:#8aabb21f}
.movie-panel{--movie-accent:#a0e5d9;--movie-muted:#97b0bc;grid-column:2;grid-row:1;min-width:0;max-height:940px;padding:30px 30px 25px;background:linear-gradient(155deg,#142a36,#10212c 65%);border-left:1px solid #86abb325;color:#edf5f7;overflow-y:auto;scrollbar-color:#46656e transparent}
.movie-panel:not([hidden]){display:flex;flex-direction:column}
.movie-panel button,.movie-panel input,.movie-panel select{-webkit-tap-highlight-color:transparent}
.movie-panel button:focus-visible,.movie-panel input:focus-visible,.movie-panel select:focus-visible{outline:2px solid var(--movie-accent);outline-offset:5px}
.movie-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:26px;border-bottom:1px solid #8cacb62b;margin-bottom:28px}
.movie-kicker{font-size:.75rem;font-weight:500;letter-spacing:.15em;color:#b8d0d8;line-height:1.6}
.movie-kicker>span{color:#8badb6;letter-spacing:.12em;margin-left:5px}
.movie-heading h2{font-size:clamp(1.35rem,1.6vw,1.75rem);line-height:1.55;letter-spacing:.015em;font-weight:500;margin:12px 0 0;overflow-wrap:anywhere}
.movie-heading>button{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border:1px solid #8da9b540;border-radius:50%;background:transparent;color:#b2c8d0}
.movie-heading>button:hover{color:white;background:#ffffff0c;border-color:#9dccc277}
.movie-panel svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.movie-story{flex:1;min-height:235px;padding-bottom:28px}
.movie-chapter{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-bottom:20px;font-size:.875rem;color:var(--movie-accent)}
.movie-chapter-number{display:flex;align-items:baseline;gap:7px;font-variant-numeric:tabular-nums;font-family:'DM Sans',sans-serif}
#movie-step-number{font-size:2.5rem;line-height:1.15;letter-spacing:-.05em;font-weight:400;color:#d6f4ed}
.movie-chapter-total{font-size:.875rem;color:#86a8b4;letter-spacing:.02em}
#movie-pressure{border-left:1px solid #7298a453;padding-left:14px;line-height:1.6}
.movie-story h3{font-size:clamp(1.25rem,1.6vw,1.625rem);line-height:1.7;font-weight:500;letter-spacing:.025em;margin:0 0 14px;color:#f0f6f8;text-wrap:pretty;overflow-wrap:anywhere}
.movie-story p{font-size:1rem;line-height:1.95;margin:0;color:#b3c8d2;overflow-wrap:anywhere}
.movie-sequence{padding:0 0 25px}
.movie-sequence-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:16px;font-size:.875rem;color:#b5cbd3}
.movie-sequence-label>span:last-child{font-size:.75rem;color:var(--movie-muted)}
#movie-resistance{font-weight:500;color:#bbd3da;margin-left:5px;font-variant-numeric:tabular-nums}
#movie-stages{display:grid;grid-template-columns:repeat(var(--movie-stage-count,6),minmax(0,1fr));gap:0}
#movie-stages button{position:relative;min-width:0;min-height:66px;border:0;padding:9px 3px 0;background:transparent;color:#90adba;text-align:center;font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}
#movie-stages button:before{content:'';position:absolute;left:0;right:0;top:20px;height:1px;background:#56717d73}
#movie-stages button:first-child:before{left:50%}#movie-stages button:last-child:before{right:50%}
#movie-stages button>span{display:grid;position:relative;place-items:center;width:24px;height:24px;margin:0 auto 11px;border:1px solid #5a7c89;border-radius:50%;background:#132734;color:#9cb8c4;font-size:.75rem;font-variant-numeric:tabular-nums;transition:background .2s,border-color .2s,color .2s,box-shadow .2s}
#movie-stages button[data-complete=true]>span{background:#23454c;border-color:#649c9a;color:#c2ebe2}
#movie-stages button[aria-current=step]{color:#d2f4ee}
#movie-stages button[aria-current=step]>span{background:var(--movie-accent);border-color:var(--movie-accent);color:#12353a;box-shadow:0 0 0 4px #a0e5d916}
#movie-stages button:hover>span{border-color:#b6eee2;color:#d4f9f1;background:#28545b}
.movie-transport{margin-top:auto;border-top:1px solid #8cacb62b;padding-top:18px}
.movie-range-label{display:flex;justify-content:space-between;gap:12px;color:#9bb4c0;font-size:.75rem;line-height:1.6;margin-bottom:7px}
#movie-position{font-variant-numeric:tabular-nums;color:#b9d2da}
#movie-range{--movie-progress:0%;display:block;appearance:none;-webkit-appearance:none;width:100%;height:28px;margin:0;background:transparent;cursor:pointer;accent-color:var(--movie-accent)}
#movie-range::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(to right,var(--movie-accent) 0 var(--movie-progress),#496672 var(--movie-progress) 100%)}
#movie-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;border:2px solid #d5faf0;border-radius:50%;background:#a0e5d9;margin-top:-5px;box-shadow:0 0 0 4px #a0e5d90d}
#movie-range::-moz-range-track{height:3px;border-radius:3px;background:#496672}
#movie-range::-moz-range-progress{height:3px;border-radius:3px;background:var(--movie-accent)}
#movie-range::-moz-range-thumb{width:10px;height:10px;border:2px solid #d5faf0;border-radius:50%;background:#a0e5d9}
.movie-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px 9px;margin:9px 0 0}
.movie-controls button,.movie-controls select{font:inherit;font-size:.875rem;min-height:44px;border:1px solid #6f93a14f;background:transparent;color:#c5dce3;border-radius:8px}
.movie-controls .movie-primary{display:flex;align-items:center;justify-content:center;gap:8px;min-width:109px;padding:10px 15px;border-color:var(--movie-accent);border-radius:25px;background:var(--movie-accent);color:#13333b;font-weight:600}
.movie-primary svg{width:16px;height:16px;fill:currentColor;stroke:none}
.movie-controls .movie-primary:hover{background:#c3f5e9;border-color:#c3f5e9}
.movie-controls .movie-restart{display:grid;place-items:center;width:44px;border:0;border-radius:50%;color:#b3cbd5}
.movie-controls .movie-restart:hover{background:#ffffff0c;color:#dcfaf2}
.movie-speed-label{display:flex;align-items:center;gap:7px;color:#a2bdc9;font-size:.875rem;margin-left:auto}
.movie-speed-label>span{font-size:.75rem}
.movie-controls select{min-width:70px;padding:9px 7px;color:#d0e5eb;background:#142c39;cursor:pointer}
.movie-camera-toggle{display:flex;align-items:center;gap:9px;position:relative;cursor:pointer;min-height:44px;margin-left:auto;color:#b3cdd7;font-size:.875rem}
.movie-camera-toggle input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.movie-toggle-track{position:relative;display:block;flex-shrink:0;width:30px;height:18px;border-radius:12px;background:#435e6a;transition:background .2s}
.movie-toggle-track:after{content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#c2d4dc;transition:transform .2s,background .2s}
.movie-camera-toggle input:checked+.movie-toggle-track{background:#427976}
.movie-camera-toggle input:checked+.movie-toggle-track:after{background:#b8efdf;transform:translateX(12px)}
.movie-camera-toggle input:focus-visible+.movie-toggle-track{outline:2px solid var(--movie-accent);outline-offset:4px}
.movie-note{font-size:.875rem;line-height:1.8;color:#a5bec8;margin:17px 0 0}
body[data-workspace=anatomy] #movie-button{display:none}
@media(min-width:821px) and (max-width:1180px){.movie-panel{padding:24px 22px}.workspace.is-movie{grid-template-columns:minmax(0,1.4fr) minmax(340px,1fr)}}
@media(max-width:1100px){.viewer-top{flex-wrap:wrap}.viewer-top .frame-actions{margin-left:auto}.frame-actions .movie-launch{padding:8px 11px}}
@media(max-width:820px){.workspace.is-movie{display:flex;flex-direction:column}.movie-panel{order:2;max-height:none;overflow-y:visible;border-left:0;border-top:1px solid #86abb325;padding:25px}.is-movie .viewer{min-height:580px}.movie-heading{margin-bottom:24px;padding-bottom:22px}.movie-story{min-height:0;padding-bottom:25px}.movie-story h3{font-size:1.375rem}.movie-heading h2{font-size:1.5rem}.movie-camera-toggle{margin-left:14px}.movie-speed-label{margin-left:auto}}
@media(max-width:480px){.movie-panel{padding:23px 19px}.is-movie .viewer{min-height:540px}.viewer-top{top:15px}.viewer-top .frame-actions{gap:3px}.mode-switch{flex-shrink:0}.view-caption{top:115px}.is-movie .view-caption{top:80px}.movie-heading{gap:12px}.movie-heading h2{font-size:1.375rem}.movie-kicker{letter-spacing:.1em}.movie-camera-toggle{margin-left:0}.movie-controls{column-gap:7px}.movie-speed-label{margin-left:auto}#movie-stages{grid-template-columns:repeat(auto-fit,minmax(58px,1fr));row-gap:16px}#movie-stages button{font-size:.875rem}}
@media(prefers-reduced-motion:reduce){.movie-panel *,.movie-panel *:after{transition:none!important}}
