/* Presenter controls: straight edges, a tactile main action, quiet utilities.
   Scope is deliberately outside the captured application and browser chrome. */
:root{--control-face:#102b3b;--control-edge:#386176;--control-ink:#e8f8fa;--control-hover:#194255}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:is(#player,#dashboard) button.control-button{
 --edge:var(--control-edge);--face:var(--control-face);
 position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:10px;
 min-height:46px;padding:10px 17px;border:0;border-radius:0;background:transparent;color:var(--control-ink);
 font:650 14px/1.15 Archivo,Arial,sans-serif;letter-spacing:-.015em;white-space:nowrap;
 box-shadow:none;transition:transform 120ms ease;color:var(--control-ink);outline-offset:5px;
}
:is(#player,#dashboard) button.control-button::before,
:is(#player,#dashboard) button.control-button::after{
 content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
 clip-path:none;
 background:var(--edge);transition:background 160ms ease;
}
:is(#player,#dashboard) button.control-button::after{inset:1px;z-index:-1;background:var(--face);box-shadow:inset 0 -3px 0 #0003,inset 0 1px 0 #ffffff09}
:is(#player,#dashboard) button.control-button:hover:not(:disabled){--edge:#71bdcf;--face:var(--control-hover);background:transparent}
:is(#player,#dashboard) button.control-button:active:not(:disabled){transform:translateY(2px)}
:is(#player,#dashboard) button.control-button:focus-visible{outline:2px solid #63e6ef;outline-offset:4px}
:is(#player,#dashboard) button.control-button:disabled{opacity:.35;cursor:default}
.control-icon{width:20px;height:20px;display:block;flex-shrink:0;stroke-linecap:square;stroke-linejoin:miter}
.control-label{position:relative;z-index:1;line-height:1.15}
/* The forward key pairs VoPro magenta with a rectangular cyan arrow inset. */
:is(#player,#dashboard) button.control-primary{
 --edge:#ff456c;--face:#cf1642;min-height:50px;min-width:166px;
 padding:13px 72px 13px 27px;font-size:17px;font-weight:750;color:#fff;
}
:is(#player,#dashboard) button.control-primary::before,
:is(#player,#dashboard) button.control-primary::after{clip-path:none}
:is(#player,#dashboard) button.control-primary::after{box-shadow:inset 0 -4px 0 #6d112866,inset 0 1px 0 #ffffff20}
:is(#player,#dashboard) button.control-primary:hover:not(:disabled){--edge:#ff7895;--face:#e21b4b}
.control-arrow{position:absolute;inset:7px 7px 7px auto;width:43px;display:grid;place-items:center;color:#09222d;background:#00c3d0;clip-path:none;padding-left:1px}
.control-arrow .control-icon{width:22px;height:22px;transition:transform 160ms ease}
.control-primary:hover .control-arrow .control-icon{transform:translateX(2px)}
/* The controls read as a presentation desk, not a row of identical cards. */
#presentation{border-radius:0;box-shadow:0 14px 46px #0002}
.transport{padding:17px 22px 19px;background:#091c28;border-top:1px solid #173849}
.transport-row{gap:24px;align-items:center;margin-top:15px}
.transport-buttons{gap:9px;align-items:center}
.transport-buttons #next{min-width:166px}
.transport-buttons #previous{width:49px;min-width:49px;padding:11px}
.transport-buttons #restart{padding:12px 16px;margin-right:5px;--edge:#203f51;--face:#0c2332;color:#bfd3dc}
.transport-buttons #restart .control-icon{width:18px;height:18px}
.timeline-row{gap:20px}
.timeline-row progress{height:3px;background:#224657}
.timeline-row progress::-webkit-progress-bar{background:#224657}
.timeline-row progress::-webkit-progress-value{background:#00c3d0}
.timeline-row progress::-moz-progress-bar{background:#00c3d0}
#time{font:600 12px Archivo,Arial,sans-serif;color:#bbd4df}
#play-state{font-size:11px;color:#92aebc;min-width:0;max-width:125px}
.transport-right{gap:22px;align-items:center}
/* Music is one connected transport. The active key has a magenta underline. */
.music-widget{gap:7px}
.music-buttons{gap:0;border:1px solid #315567;background:#0b2636;box-shadow:0 3px 0 #0003}
#player .music-buttons button.control-button{min-height:43px;padding:10px 0;min-width:41px;width:41px;--face:#0b2636;--edge:#0b2636;border-left:1px solid #294757;font-size:14px}
#player .music-buttons button.control-button::before{display:none}
#player .music-buttons button.control-button::after{inset:0;box-shadow:none;clip-path:none}
#player .music-buttons button.control-button:hover:not(:disabled){--face:#184457}
#player .music-buttons #music-toggle{border-left:0;width:auto;min-width:111px;gap:8px;padding:10px 13px;color:#c5dce6;font-size:13px}
#player .music-buttons #music-toggle[aria-pressed=true]{color:#5ae0e8}
#music-toggle svg{width:17px;height:17px}
#music-play[data-playing=true]::after{border-bottom:3px solid #ff2d55}
#music-play .music-icon-pause{display:none}
#music-play[data-playing=true] .music-icon-pause{display:block}
#music-play[data-playing=true] .music-icon-play{display:none}
#music-track-name{font:11px/1.2 Arial,sans-serif;color:#97b4c2;max-width:232px}
/* Theme uses a rectangular sliding tab, keeping the familiar switch behavior. */
#player #theme-toggle.control-button{padding:8px 3px;gap:9px;min-height:44px;font-size:13px;color:#bfd3dc}
#player #theme-toggle::before,#player #theme-toggle::after{display:none}
#player .theme-switch-track{width:36px;height:22px;border:0;border-radius:0;background:#224758;clip-path:none}
#player .theme-switch-track>span{left:4px;top:3px;width:15px;height:16px;border-radius:0;clip-path:none;background:#d9f9fb;box-shadow:none}
#player #theme-toggle[aria-checked=true] .theme-switch-track{background:#007c85}
#player #theme-toggle[aria-checked=true] .theme-switch-track>span{transform:translateX(13px)}
#player #theme-toggle:hover .theme-switch-track{background:#366a80}
#player #theme-toggle[aria-checked=true]:hover .theme-switch-track{background:#009ba6}
/* Supporting controls keep the same straight edges; the forward action carries the color. */
.player-options{gap:10px}
#player .player-options button.control-button{min-height:40px;font-size:13px;padding:10px 15px;--face:#102736;--edge:#315362}
.player-options .control-icon{width:16px;height:16px;color:#80c7d5}
#player #steps-toggle[aria-expanded=true]{--edge:#00c3d0;--face:#153e4d;color:#71edf2}
.player-options>a{font-size:12px;color:#9fb6c3;text-decoration-color:#527386;text-underline-offset:5px}
#player #step-list button.control-button{white-space:normal;justify-content:flex-start;min-height:58px;text-align:left;padding:13px 16px;font-size:14px}
#player #step-list button[aria-current=true]{--edge:#00c3d0;--face:#133f4a}
#step-list button>span{color:#6fd9e2;font:650 13px Archivo,Arial,sans-serif}
#player #title-begin{min-height:72px;padding:20px 94px 20px 34px;font-size:24px;min-width:295px}
#title-begin .control-arrow{inset:10px 10px 10px auto;width:53px;clip-path:none}
#title-begin .control-icon{width:28px;height:28px}
.workflow-actions .control-primary{min-width:205px!important;font-size:15px!important;padding-left:22px!important}
#player .player-heading .eyebrow{text-transform:none;letter-spacing:.015em;font:600 13px Archivo,Arial,sans-serif;color:#71cbd6}
/* Light-page controls retain legibility; the presentation transport stays dark. */
html:not([data-theme=dark]) #player .player-options button.control-button,
html:not([data-theme=dark]) #player #step-list button.control-button{--face:#e4eef2;--edge:#adc4ce;color:#173c50}
html:not([data-theme=dark]) #player .player-options button.control-button:hover,
html:not([data-theme=dark]) #player #step-list button.control-button:hover{--face:#d7e9ef;--edge:#4e8597}
html:not([data-theme=dark]) .player-options .control-icon{color:#176477}
html:not([data-theme=dark]) .player-options>a{color:#385c70}
html:not([data-theme=dark]) #player .player-heading .eyebrow{color:#007c85}
html:not([data-theme=dark]) #player #steps-toggle[aria-expanded=true],html:not([data-theme=dark]) #player #step-list button[aria-current=true]{--face:#ccecf0;--edge:#007c85;color:#075d67}
#presentation:fullscreen #stage-wrap{width:min(100vw,calc((100vh - 140px)*16/9))}
@media(max-width:1100px){.transport-row{gap:14px}.transport-right{gap:14px}#play-state{max-width:98px}.transport-buttons #restart{margin-right:0}}
@media(max-width:800px){
 .transport{padding:14px 13px 17px}.transport-row{gap:15px;margin-top:13px}
 .transport-buttons{display:flex;gap:8px;justify-content:flex-start;width:100%}
 .transport-buttons #restart{padding:11px 10px;gap:7px;font-size:13px}
 .transport-buttons #previous{width:44px;min-width:44px}
 .transport-buttons #next{min-width:134px;flex:1;min-height:48px;padding-left:17px;padding-right:56px;font-size:16px}
 #next .control-arrow{width:35px;right:7px}
 .transport-right{width:100%;flex-wrap:wrap;gap:7px 12px;align-items:flex-start}
 .transport-right #play-state{flex-basis:100%;max-width:none;order:3;text-align:right;font-size:10px}
 #player #theme-toggle.control-button{padding:8px 0;font-size:12px;gap:7px}
 .music-widget{margin-left:auto;max-width:calc(100% - 79px)}
 #player .music-buttons #music-toggle{min-width:92px;padding:10px 8px;font-size:12px;gap:6px}
 #player .music-buttons button.control-button{width:37px;min-width:37px;min-height:44px}
 .music-buttons .control-icon{width:17px;height:17px}
 #music-track-name{max-width:200px;font-size:10px}
 #player .player-options button.control-button{padding:9px 12px;font-size:12px;gap:7px;min-height:40px}
 .player-options{gap:8px}.player-options>a{margin-left:auto;font-size:11px}
 .timeline-row{gap:10px}#time{font-size:11px}
 #presentation:fullscreen #stage-wrap{width:min(100vw,calc((100vh - 195px)*16/9))}
}
@media(max-width:365px){#player .music-buttons #music-toggle{min-width:82px;padding:10px 7px;gap:5px}#player .music-buttons button.control-button{width:32px;min-width:32px}.transport-right{gap:7px}.player-options>a{font-size:10px}.transport-buttons #next{min-width:116px}.transport-buttons #restart{padding:10px 8px}}
@media(prefers-reduced-motion:reduce){:is(#player,#dashboard) button.control-button,:is(#player,#dashboard) button.control-button::before,:is(#player,#dashboard) button.control-button::after,.control-arrow .control-icon,.theme-switch-track>span{transition:none}:is(#player,#dashboard) button.control-button:active:not(:disabled),.control-primary:hover .control-arrow .control-icon{transform:none}}
