.screen-header{padding:14px 26px}.screen-header .eyebrow{margin-bottom:5px}.screen-header h1{font-size:28px}.studio-tabs{position:sticky;top:0;z-index:20;padding:9px 24px;gap:6px;flex-wrap:wrap;min-height:56px}.studio-tabs button{white-space:nowrap;font-size:14px;padding:10px 15px}.studio-tabs button[aria-selected=true]{background:#126575;color:white}.studio-tabs button:focus-visible{outline-offset:1px}
#animation-panel{padding:0 18px 12px;display:flex;flex-direction:column;gap:0;min-height:0;background:#f2f5f6;height:calc(100dvh - var(--studio-top,145px));overflow:hidden}.animation-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex:none;padding:10px 4px}.animation-heading h2,.section-heading h2{font-size:22px;margin:0}.animation-heading .eyebrow{font-size:10px;margin:0 0 3px}.player-actions{display:flex;align-items:center;gap:8px;font-size:13px}.player-actions select,.step-navigation select{font:inherit;border:1px solid #bfd0d6;border-radius:7px;padding:8px;color:#153c48;background:#fff}.player-actions button{font-size:13px;padding:8px 12px}#animation-workspace{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;gap:0;background:#b9b9ba;border:1px solid #cad4d8;border-radius:10px;overflow:hidden}#animation-player{flex:1;position:relative;min-height:0;max-width:none;width:100%;margin:0;background:#b9b9ba}#animation-player video{width:100%;height:100%;max-height:none;object-fit:contain;display:block;border-radius:0;box-shadow:none;background:#b9b9ba}#video-error{position:absolute;left:16px;bottom:48px;background:white;padding:16px;border-radius:8px;color:#8c2727}
#step-guide{flex:none;display:flex;align-items:center;gap:16px;padding:13px 18px;background:#102d3d;color:#fff;min-height:78px}#step-count{font-size:13px;font-weight:700;letter-spacing:.6px;padding:9px 11px;color:#102d3d;background:#6de2e1;border-radius:7px;white-space:nowrap}.step-copy{flex:1;min-width:0}.step-copy h3{font-size:16px;line-height:1.25;margin:0 0 5px}.step-copy p{font-size:13px;color:#d4e6ec;margin:0;line-height:1.4}.step-navigation{display:flex;align-items:center;gap:6px}.step-navigation button{padding:8px 10px;font-size:12px}.step-navigation select{max-width:165px;font-size:12px}#step-guide.details-hidden{min-height:56px;padding:8px 18px}#step-guide.details-hidden .step-copy h3{margin:0}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
body.animation-active footer{display:none}body.animation-focus .screen-header,body.animation-focus .studio-tabs{display:none}body.animation-focus #animation-panel{height:100dvh}#animation-workspace:fullscreen{width:100vw;height:100dvh;border-radius:0;border:0}#exploded-panel{padding:14px 24px;height:calc(100dvh - var(--studio-top,145px));display:flex;flex-direction:column;min-height:300px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:12px}.section-heading .eyebrow{font-size:10px;margin-bottom:4px}.exploded-stage{flex:1;min-height:0;background:white;border:1px solid #dbe5e8;border-radius:10px;overflow:hidden}.exploded-stage img{display:block;width:100%;height:100%;object-fit:contain}#technical-package{display:block;position:static;margin:0;border:0;border-radius:0;width:100%;max-width:none;height:auto;max-height:none;box-shadow:none;background:white;padding:0;color:#153c48}#technical-package .tp-body{overflow:visible}#technical-package .tp-header{position:static}#technical-package [data-tp-close]{display:none}
@media(min-width:1900px){.screen-header{padding:18px 32px}.studio-tabs{padding:12px 30px}.studio-tabs button{font-size:16px}.animation-heading{padding:14px 8px}#step-guide{padding:18px 26px;min-height:94px}.step-copy h3{font-size:20px}.step-copy p{font-size:16px}}
@media(max-width:900px){.studio-tabs{padding:8px 12px;gap:3px}.studio-tabs button{font-size:13px;padding:9px 11px}.step-navigation select{max-width:130px}.step-navigation #toggle-guide{display:none}#step-guide{gap:10px;padding:10px 12px}.step-copy h3{font-size:14px}.step-copy p{font-size:12px}.context-label{display:none}}
@media(max-width:600px){.screen-header{padding:10px 14px}.screen-header h1{font-size:24px}.screen-header h1 span{font-size:12px;margin-left:10px}.screen-header .eyebrow{font-size:9px}.studio-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:6px 9px}.studio-tabs button{font-size:12px;padding:8px 4px;white-space:normal}#animation-panel{padding:0 8px 8px}.animation-heading{gap:8px;padding:8px 0}.animation-heading h2{font-size:17px}.animation-heading .eyebrow{display:none}.player-actions{gap:4px}.player-actions label{display:none}.player-actions select{font-size:11px;padding:6px}.player-actions button{font-size:11px;padding:7px}#step-guide{flex-wrap:wrap;gap:8px;min-height:0;padding:10px}.step-copy{flex-basis:calc(100% - 85px)}.step-navigation{width:100%}.step-navigation select{flex:1;max-width:none}.step-navigation button{padding:6px 12px}.step-copy p{font-size:12px}#step-count{font-size:12px;padding:8px}.section-heading h2{font-size:18px}#exploded-panel{padding:12px}.section-heading button{font-size:12px}.tp-workspace{min-width:0}.tp-chart{overflow:auto}}
@media(max-height:520px) and (min-width:600px){.screen-header{display:none}.studio-tabs{padding:4px 10px;min-height:38px}.studio-tabs button{padding:6px 10px}.animation-heading{padding:5px 0}.animation-heading .eyebrow{display:none}.animation-heading h2{font-size:17px}#step-guide{min-height:48px;padding:7px 12px}.step-copy p{display:none}.step-copy h3{margin:0}.player-actions button{padding:5px 9px}}
.step-navigation button{color:#153c48}.step-navigation button:disabled{color:#6f8790;cursor:default;opacity:.65}
#playback-controls{display:flex;align-items:center;gap:12px;flex:none;padding:8px 14px;background:#fff;border-top:1px solid #d5dfe2;min-height:46px}#playback-controls button{font-size:12px;padding:7px 12px;color:#153c48;min-width:58px}#playback-time{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#52717b}#playback-progress{flex:1;min-width:40px;margin:0;accent-color:#126575;cursor:pointer}#neo-video:focus-visible{outline:3px solid #126575;outline-offset:-3px}@media(max-width:600px){#playback-controls{gap:7px;padding:6px 8px;min-height:40px}#playback-controls button{font-size:11px;padding:6px;min-width:42px}#playback-time{font-size:10px}}
#animation-player{overflow:hidden}#fit-device[aria-pressed=true]{background:#e2f2f3;border-color:#7aafb8;color:#125363}

/* Keep decoded-video and exposed player pixels identical in every layout. */
#animation-player{--animation-background:rgb(185,185,186);background:var(--animation-background);overflow:hidden;isolation:isolate}
#animation-player video{background:var(--animation-background)}
/* A cropped video's outline can look like a stray line. Put keyboard focus on
   the stable container boundary instead, retaining a visible focus indicator. */
#neo-video:focus-visible{outline:none}
#animation-player:has(#neo-video:focus-visible){outline:3px solid #126575;outline-offset:-3px}
