.timer-launch{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;gap:7px;font-size:.85rem;white-space:nowrap;font-variant-numeric:tabular-nums;background:white;color:#075d63;border:1px solid #a5c4ca;border-radius:9px;cursor:pointer}
.learning-timer{box-sizing:border-box;color:#14334b;background:#fff;border:1px solid #cbdde2;border-radius:18px;padding:0;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 70px #14334b33;font:1rem/1.5 Atkinson Hyperlegible Next,Arial,sans-serif}
.learning-timer::backdrop{background:#14334b80}.learning-timer *{box-sizing:border-box}.learning-timer .icon{width:21px;height:21px;flex:none}
.timer-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #cbdde2;background:#eff7f4}.timer-header h2{display:flex;align-items:center;gap:10px;font-size:1.25rem;line-height:1.4;margin:0}.learning-timer .icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid transparent;border-radius:9px;background:transparent;color:#075d63;cursor:pointer;padding:8px}
.timer-body{padding:22px}.timer-digits{font-size:clamp(3rem,10vw,4.5rem);font-weight:650;line-height:1.2;text-align:center;font-variant-numeric:tabular-nums}.timer-body #timer-phase{text-align:center;min-height:3em;margin:10px 0 18px}.timer-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.timer-presets button{font:inherit;min-height:52px;border:1px solid #a5c4ca;border-radius:10px;background:white;color:#075d63;cursor:pointer}.timer-presets button span{font-size:.8rem;margin-left:4px}.timer-presets button[aria-pressed=true]{background:#075d63;color:#fff;border-color:#075d63}.timer-presets button:disabled{cursor:default;opacity:.55}
.timer-custom{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600;margin:18px 0 4px}.timer-custom input{width:100px;min-height:44px;margin:0;font:inherit;border:1px solid #9bbbc5;border-radius:8px;padding:8px 10px}.timer-help{font-size:.86rem;color:#486578;margin:6px 0 14px;line-height:1.5}.timer-sound-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;font-weight:600}.timer-body select{font:inherit;min-height:48px;width:100%;border:1px solid #9bbbc5;border-radius:8px;padding:9px 30px 9px 10px;background:#fff;color:#14334b}.timer-volume{display:flex;align-items:center;gap:10px;font-size:.9rem;flex-wrap:wrap}.timer-volume input{flex:1;min-width:100px;min-height:44px;accent-color:#075d63}.timer-volume output{min-width:38px}.timer-sound-state{display:flex;align-items:center;gap:12px;margin-block:10px}.timer-sound-state .btn{flex:none}.timer-sound-state p{margin:0}.timer-actions{display:flex;gap:12px;margin-block:14px}.timer-actions .btn{flex:1;justify-content:center}.learning-timer .btn{font:inherit;min-height:44px;display:inline-flex;gap:7px;align-items:center;border:1px solid #a5c4ca;border-radius:9px;padding:10px 14px;background:#fff;color:#075d63;cursor:pointer;text-decoration:none}.learning-timer .btn.primary{background:#075d63;color:#fff;border-color:#075d63}.learning-timer button:focus-visible,.learning-timer input:focus-visible,.learning-timer select:focus-visible,.learning-timer a:focus-visible{outline:3px solid #275eb8;outline-offset:3px}.timer-evidence h3{font-size:1.08rem;margin:22px 0 6px}.timer-evidence p{margin-block:8px}.timer-evidence a{display:inline-flex;gap:6px;align-items:center;color:#006573;text-decoration:underline;min-height:44px}.timer-evidence>.btn{margin-top:22px}#timer-error{color:#922b24;font-weight:600}.student-header [data-timer-slot]{margin-left:auto}.student-header .timer-launch{font-size:.9rem}
@media(max-width:480px){.timer-body{padding:18px}.timer-header{padding:14px 18px}.timer-sound-state{flex-wrap:wrap}.timer-header h2{font-size:1.1rem}.timer-launch{font-size:.8rem;padding:8px}.student-header{gap:10px}.student-header .timer-launch{font-size:.8rem}}
@media(min-width:721px){.student-header{grid-template-columns:auto 1fr auto auto}.student-header [data-timer-slot]{grid-column:2;grid-row:1;justify-self:end}.student-header>.btn{grid-column:3;grid-row:1}.student-header .child-identity{grid-column:4;grid-row:1}}
@media(max-width:720px){.student-header [data-timer-slot]{grid-column:2;grid-row:2;justify-self:end;margin:0}.student-header .child-identity{grid-row:1}.topbar .topbar-right{gap:6px}.topbar .timer-launch{min-width:44px}.topbar .timer-launch>span{font-size:.75rem}}
@media(max-width:380px){.topbar{grid-template-columns:minmax(0,1fr)!important}.topbar .mobile-brand{grid-column:1;grid-row:1;width:120px}.topbar .topbar-right{grid-column:1;grid-row:2;justify-self:stretch;justify-content:space-between;width:100%}.topbar .topbar-title{grid-row:3}}
@media(max-width:720px){.topbar .topbar-right{flex-wrap:wrap;min-width:0;max-width:100%;row-gap:8px}.topbar .topbar-right>button{max-width:100%}.content{padding-bottom:max(110px,7rem)}}
@media(min-width:381px) and (max-width:720px){.topbar{grid-template-columns:minmax(110px,1fr) auto auto;gap:10px}.topbar .topbar-right{display:contents}.topbar .mobile-brand{grid-column:1;grid-row:1;width:min(135px,100%)}.topbar .ep-chat-launcher{grid-column:2;grid-row:1}.topbar .profile-button{grid-column:3;grid-row:1}.topbar [data-timer-slot]{grid-column:3;grid-row:2;justify-self:end}.topbar .topbar-title{grid-column:1/3;grid-row:2;align-self:center;margin:0}}
.timer-header{position:sticky;top:0;z-index:2}.tracing-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media(min-width:381px) and (max-width:720px){.topbar .demo-profile-button{grid-column:3;grid-row:1}}
@media print{.timer-launch,.learning-timer{display:none!important}}

/* Calm sessions use the Studio palette, with stationary time and simple controls. */
.learning-timer{width:min(660px,calc(100vw - 24px));max-width:none;overflow:hidden}
.learning-timer[open]{display:flex;flex-direction:column}
.learning-timer .timer-header{position:static;flex:none;padding:14px 22px}
.learning-timer .timer-header>.btn{flex:none;font-size:.88rem}
.learning-timer .timer-body{overflow:auto;min-height:0;overscroll-behavior:contain;padding:20px 24px}
.calm-intro{margin:0 0 18px;color:#486578}
.calm-settings{display:grid;grid-template-columns:1fr 1fr;gap:22px;border-top:1px solid #cbdde2;margin-top:14px}
.calm-settings>div{min-width:0}.calm-settings .timer-sound-label{min-height:44px;margin:8px 0 4px}

.learning-timer .timer-help{margin:8px 0;font-size:.82rem}
.learning-timer .timer-custom{margin-top:14px}.learning-timer .timer-actions{margin-bottom:0}
.learning-timer.is-session{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#eff7f4}
.learning-timer.is-session .timer-header{background:#fff;border-color:#bfd7d9;padding-inline:clamp(16px,4vw,56px)}
.learning-timer.is-session .calm-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:28px 20px}
.calm-focus{width:min(620px,100%);text-align:center}.calm-caption{font-size:1.2rem;color:#075d63;margin:0 0 14px;font-weight:600}
.calm-focus .timer-digits{font-size:clamp(4.5rem,17vw,9rem);line-height:1.1;letter-spacing:-.035em;color:#14334b}
#timer-total{font-size:1rem;color:#486578;margin:14px 0 24px}.calm-focus progress{width:min(360px,80%);height:8px;appearance:none;border:0;border-radius:6px;overflow:hidden;background:#d3e5e3}.calm-focus progress::-webkit-progress-bar{background:#d3e5e3}.calm-focus progress::-webkit-progress-value{background:#11777a}.calm-focus progress::-moz-progress-bar{background:#11777a}
.calm-message{margin:20px auto;max-width:36ch;font-size:1.1rem;line-height:1.5}.calm-adjust{display:flex;justify-content:center;gap:14px}
.calm-toolbar{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;max-width:680px}.calm-toolbar .btn{min-width:116px;min-height:52px;justify-content:center}
.calm-toolbar [data-timer=mute][aria-pressed=true]{background:#14334b;color:white;border-color:#14334b}.learning-timer button:disabled{opacity:.45;cursor:default}
.learning-timer .calm-background{text-align:center;max-width:52ch;margin:0}.calm-sound-panel,.timer-evidence{width:min(720px,100%);margin-inline:auto}
.timer-launch[data-phase=ending]{background:#fff0d9;color:#7b3900;border:2px solid #a84e00}.timer-launch[data-phase=finished]{background:#a32731;color:#fff;border:2px solid #a32731}
.timer-launch[data-phase=paused]{border-style:dashed}
@media(max-width:520px){.learning-timer .timer-header{padding:10px 14px;gap:8px}.learning-timer .timer-header h2{font-size:1.05rem}.learning-timer .timer-header>.btn{font-size:.8rem;padding:8px}.learning-timer .timer-body{padding:16px}.calm-settings{grid-template-columns:1fr;gap:4px}.learning-timer.is-session .calm-stage{gap:20px}.calm-toolbar{display:grid;grid-template-columns:1fr 1fr;width:min(360px,100%)}.calm-toolbar .btn{min-width:0;padding:10px}.calm-focus .timer-digits{font-size:clamp(4.5rem,23vw,7rem)}}
@media(max-height:620px){.learning-timer.is-session .calm-stage{justify-content:flex-start;gap:14px}.calm-focus .timer-digits{font-size:4.5rem}.calm-caption{margin-bottom:6px}#timer-total{margin:8px 0 12px}.calm-message{margin:12px auto}.calm-toolbar .btn{min-height:44px}}
.learning-timer.is-session .calm-stage{display:grid;grid-template-rows:minmax(0,1fr) auto auto;justify-items:center;overflow:hidden}
.calm-focus{max-height:100%;overflow:auto;align-self:center;padding:4px}
.calm-focus .timer-digits{font-family:Arial,sans-serif;font-weight:600}
.calm-toolbar{align-self:end}.learning-timer.is-session .calm-background{align-self:end}
@media(max-height:480px){.learning-timer.is-session .calm-stage{padding:10px 16px;gap:8px}.learning-timer .calm-background{font-size:.75rem}.calm-focus .timer-digits{font-size:3.5rem}}

