.g5-tempo{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#193e49;font:13px/1.2 system-ui,sans-serif;vertical-align:middle;flex:none;box-sizing:border-box}
.g5-tempo[hidden]{display:none!important}
.g5-tempo select{-webkit-appearance:none!important;appearance:none!important;box-sizing:border-box;font:600 14px/1.2 system-ui!important;color:#173e49!important;background:#f2f3e9!important;border:1px solid #a6bab7!important;border-radius:8px!important;min-height:44px!important;min-width:78px!important;max-width:94px!important;padding:7px 20px 7px 7px!important;cursor:pointer;letter-spacing:0!important;box-shadow:none!important}
.g5-tempo select:focus-visible{outline:3px solid #eead48!important;outline-offset:2px!important}
.g5-tempo--main{position:fixed!important;z-index:650!important}.g5-tempo--main>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.g5-tempo--intro{color:#fff1d9}.g5-tempo--intro>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.intro-controls{flex-wrap:wrap!important;gap:8px!important}.intro-controls .intro-timeline{min-width:70px!important;flex:1!important}.intro-clock{white-space:nowrap;font-size:12px!important;font-variant-numeric:tabular-nums}
.g5-tempo--repeat{margin-left:4px}
@media(max-width:600px){body.aw-active #main .aw-scene.aw-scene.aw-scene>.scene-top.scene-top{right:146px!important}.intro-clock{flex-basis:100%;text-align:right;min-height:16px}.intro-controls #intro-toggle{min-height:44px}.g5-tempo--repeat>span{font-size:13px}.review-controls .actions{flex-wrap:wrap!important}}

.g5-tempo{position:relative}.g5-tempo::after{content:"⌄";position:absolute;right:7px;top:50%;transform:translateY(-55%);color:#173e49;pointer-events:none;font:16px system-ui}
@media(max-width:600px){body #pause#pause#pause{width:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;padding:0!important;font-size:0!important}#pause[data-g5-transport]::after{content:attr(data-g5-transport);font:18px system-ui}body.b08-immersive .scene-top{max-width:calc(100% - 156px)!important}}
/* Native immersive headers intentionally ignore pointer events except their controls. */
.g5-tempo,.g5-tempo select{pointer-events:auto!important}
/* Explicit grid slots: the inherited intro grid predates the new select. */
.intro-controls.intro-controls{display:grid!important;grid-template-columns:auto 78px auto minmax(100px,1fr)!important;gap:10px!important}
.intro-controls .g5-tempo--intro{grid-column:2!important;grid-row:1!important;width:78px!important;justify-self:start!important}
.intro-controls .intro-clock{grid-column:3!important;grid-row:1!important}
.intro-controls .intro-timeline{grid-column:4!important;grid-row:1!important}
@media(max-width:650px){.intro-controls.intro-controls{grid-template-columns:143px 78px minmax(60px,1fr)!important;gap:8px!important}.intro-controls .intro-timeline{grid-column:3!important;grid-row:1!important;min-width:0!important}.intro-controls .intro-clock{grid-column:1/-1!important;grid-row:2!important;justify-self:end!important}}
/* Course forms give labels vertical margins; transport controls must not inherit them. */
.g5-tempo.g5-tempo{margin:0!important;padding:0!important}

/* Reserve a slot before the transport instead of covering existing scene actions. */
body.aw-active #main .aw-scene.aw-scene.aw-scene.aw-scene>.scene-top.scene-top,body.b08-immersive .b08-lesson.b08-lesson.b08-lesson.b08-lesson>.scene-top.scene-top{right:var(--g5-tempo-safe-right,224px)!important;max-width:none!important}

/* Local site tempo presentation override. */
/* Site presentation only: native select semantics, size, tempo logic and keys stay intact. */
.g5-tempo select{
 color:#e5ece6!important;
 background:#173c45!important;
 border-color:#708e8c!important;
 font-weight:500!important;
}
.g5-tempo::after{color:#d5e2da}
.g5-tempo select:hover{
 background:#204951!important;
 border-color:#9cb2a8!important;
}
.g5-tempo select:focus-visible{
 outline:2px solid #b9cec4!important;
 outline-offset:2px!important;
 border-color:#b9cec4!important;
}
.g5-tempo select option{color:#e5ece6;background:#173c45}
/* A stable closed label; the native popup retains its selected human-readable option. */
.g5-tempo select{color:transparent!important;text-shadow:none!important}
.g5-tempo>span{
 position:absolute!important;left:8px!important;top:50%!important;transform:translateY(-50%)!important;
 width:auto!important;height:auto!important;overflow:visible!important;clip-path:none!important;
 color:#e5ece6;font:500 14px/1.2 system-ui,sans-serif!important;pointer-events:none;
}
.g5-tempo select option,.g5-tempo select optgroup{color:#e5ece6!important;background:#173c45!important;font:500 14px/1.5 system-ui,sans-serif!important}
