:root{font-family:ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;color:#233e40;background:#fbf8ed;--green:#28775d;--purple:#7254ad;--line:#dbe4d7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:46px}button:disabled{cursor:default;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8157b7;outline-offset:3px}[hidden]{display:none!important}header,main,footer{max-width:1100px;margin:auto;padding:24px}header{padding-bottom:12px}.eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:2px;color:#55705e}h1{font-size:clamp(29px,4vw,46px);letter-spacing:-1.5px;margin:8px 0}h2{font-size:26px;letter-spacing:-.6px;margin:0 0 10px}h3{margin:0 0 10px}p{line-height:1.5}.intro{color:#59716a;margin:0}.nav{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 20px}.nav button{padding:17px 10px;background:white;border:2px solid var(--line);border-radius:16px;font-weight:750;color:#415d53}.nav button[aria-pressed=true]{background:#e4f1db;border-color:var(--green);color:#22563f}.panel{border:2px solid #e5e9da;border-radius:25px;padding:26px;background:white;box-shadow:0 6px 0 #eeefdf}.top{display:flex;align-items:start;justify-content:space-between;gap:15px;flex-wrap:wrap}.tag{padding:7px 12px;background:#f4edcf;border-radius:30px;font-size:12px;font-weight:750}.muted{color:#587067}.controls{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:20px 0}label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:750;min-width:100px}input,select,textarea{padding:11px 12px;background:#fff;border:1px solid #bbcbbb;color:#28483c;border-radius:10px;max-width:100%;font-size:16px}input[type=number]{width:100px}textarea{resize:vertical;min-height:82px;width:100%}button.primary,button.secondary{border:0;border-radius:12px;padding:12px 20px;font-weight:750}.primary{color:white;background:var(--green)}.secondary{color:#375345;background:#edf1e6}.actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.display{text-align:center;margin:24px auto}.digits{font-size:clamp(58px,12vw,100px);font-variant-numeric:tabular-nums;letter-spacing:-3px;font-weight:800;line-height:1.2}.status{min-height:30px;text-align:center;margin:16px 0 0;font-weight:700;color:#466150}.quick{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.quick button{border:1px solid #d5dfce;border-radius:30px;padding:8px 14px;background:#f5f7ed;color:#385443}.track{height:12px;background:#edf1e5;border-radius:8px;overflow:hidden;margin:18px auto;max-width:560px}.track>span{display:block;height:100%;width:100%;background:#70a67b;transition:width .2s}.check{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0}.check input{width:20px;height:20px}.help{margin:24px 0 0;background:#f5f6eb;border-radius:14px;padding:14px 18px;color:#516552;font-size:14px;line-height:1.6}.hourglass{width:140px;height:185px;margin:auto;position:relative;background:#eef7f5;clip-path:polygon(0 0,100% 0,95% 10%,61% 48%,61% 52%,95% 90%,100% 100%,0 100%,5% 90%,39% 52%,39% 48%,5% 10%)}.sand{position:absolute;left:12%;width:76%;background:#e5b452;transition:height .25s}.sand.top-sand{top:8%;height:38%;clip-path:polygon(0 0,100% 0,50% 100%)}.sand.bottom-sand{bottom:8%;height:0;clip-path:polygon(50% 0,100% 100%,0 100%)}.stream{position:absolute;width:4px;left:calc(50% - 2px);top:48%;height:44%;background:#e5b452;display:none}.hourglass.running .stream{display:block}.frame-edge{width:155px;height:10px;background:#527666;border-radius:8px;margin:auto}.dice{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin:35px 0}.die{width:clamp(105px,20vw,165px);aspect-ratio:1;border:3px solid #d8c5a6;border-radius:24px;background:#fff5df;box-shadow:0 7px 0 #eee3ce;display:grid;place-items:center;font-size:clamp(42px,8vw,65px);font-weight:800;color:#5b4e39}.pips{display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);width:72%;height:72%}.pip{width:64%;height:64%;align-self:center;justify-self:center;border-radius:50%;background:#50745a}.voice-levels{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:24px}.voice-levels button{border:2px solid #dce4d4;border-radius:18px;background:#f7f8f0;padding:15px 8px;color:#405a4f;font-weight:700}.voice-levels button span{display:block;font-size:36px;margin-bottom:8px}.voice-levels button[aria-pressed=true]{border-color:#6d55a4;background:#eee5fa}.voice-big{text-align:center;padding:30px 10px;background:#edf4e5;border-radius:18px;margin:20px 0}.voice-big strong{font-size:clamp(27px,5vw,42px);display:block}.voice-big p{margin:8px 0}.meter{height:20px;background:#e4e9dd;border-radius:12px;overflow:hidden;max-width:560px;margin:15px auto}.meter span{display:block;height:100%;background:#6e9c6a;width:0}.warning{background:#fff0cc}.loud{background:#ffe1d9}.station-editors{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.station-editor{background:#f4f6eb;padding:17px;border-radius:17px;display:grid;gap:12px}.station-editor label{min-width:0}.station-editor input{width:100%}.board{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin:24px 0}.assignment{border:2px solid #d7e1d1;border-radius:20px;padding:20px;background:#f5f8ee}.assignment .group{font-size:13px;color:#6b558d;font-weight:800;text-transform:uppercase;letter-spacing:.5px}.assignment h3{font-size:23px;margin:10px 0}.assignment p{white-space:pre-wrap;margin:0;color:#47624f}.roundline{text-align:center;font-size:18px;font-weight:750;color:#586e54}.plan{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px;margin-top:20px}th,td{padding:12px;border-bottom:1px solid #d9e0d0;text-align:left;min-width:100px}th{background:#f2f5e9}.empty{color:#7c8177;font-style:italic}footer{text-align:center;font-size:13px;color:#68806e;padding-top:5px}summary{cursor:pointer;font-weight:700}a{color:#27654f}@media(max-width:600px){header,main{padding:18px 12px}.panel{padding:20px 14px}.nav{grid-template-columns:repeat(2,1fr)}.voice-levels{grid-template-columns:repeat(2,1fr)}.station-editors,.board{grid-template-columns:1fr}.controls{gap:10px}h2{font-size:24px}.die{width:110px}.digits{font-size:64px}.top .tag{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{header,main{max-width:none;padding:10px}.nav,.controls,.actions,.no-print,footer,.help{display:none!important}.panel{border:0;box-shadow:none;padding:0}.station-editors{display:none}.board{grid-template-columns:repeat(2,1fr)}.assignment{break-inside:avoid}.plan{overflow:visible}th,td{min-width:0;padding:7px;font-size:11px}}

.timer-scene{max-width:640px;margin:20px auto;text-align:center}.timer-scene svg{width:100%;display:block}.timer-scene p{color:#4e6853;font-size:15px;margin:8px 0}.noise-alert{text-align:center;background:#ffe1d4;border:3px solid #ca654d;border-radius:20px;padding:20px;margin:20px 0;color:#783525}.noise-alert>span{display:block;font-size:65px}.noise-alert strong{display:block;font-size:clamp(26px,5vw,40px)}.noise-alert p{margin:6px 0}.alarm-settings{background:#f5f6ed;border-radius:15px;padding:17px;margin-top:20px}.alarm-settings input[type=range]{width:100%;padding:0;margin-top:12px;accent-color:#7951a8}.alarm-settings>label{display:block}.alarm-settings p{font-size:14px;margin-bottom:0}.meter-wrap{position:relative;max-width:560px;margin:auto}.threshold-marker{position:absolute;top:-4px;bottom:-4px;width:3px;background:#6e408f;pointer-events:none}.meter-wrap .meter{margin:20px 0}.voice-big.loud{background:#ffe1d9}

/* Compact voice dashboard: identical geometry for quiet and alarm states. */
body.voice-mode>header,body.voice-mode>footer,body.voice-mode>main>.help{display:none}
body.voice-mode>main{padding-top:12px;padding-bottom:12px}
body.voice-mode .nav{margin-bottom:12px}body.voice-mode .nav button{padding:10px}
#voice{padding:18px 22px}.voice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.voice-heading h2{margin:0}
#voice .voice-levels{margin:14px 0;gap:10px}#voice .voice-levels button{padding:9px 6px;font-size:16px}#voice .voice-levels button span{display:inline-block;font-size:26px;margin:0 7px 0 0;vertical-align:middle}
.voice-dashboard{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr);gap:22px;align-items:stretch}
.voice-monitor{min-width:0;display:flex;flex-direction:column;justify-content:center}
.voice-stage{display:grid;min-height:178px}.voice-stage>*{grid-area:1/1}
#voice .voice-big,#voice .noise-alert{margin:0;padding:18px 12px;display:flex;flex-direction:column;justify-content:center;border-radius:18px}
#voice .voice-big strong{font-size:clamp(25px,3.5vw,38px)}#voice .voice-big p{font-size:17px;margin:8px 0 0}
#voice .noise-alert{z-index:1;border-width:2px}#voice .noise-alert>span{font-size:36px}#voice .noise-alert strong{font-size:clamp(24px,3vw,34px)}#voice .noise-alert p{font-size:15px;margin:4px 0 0}
#voice .meter-wrap{width:100%;margin:18px 0 0}#voice .meter{margin:0;height:22px}
#voice .status{font-size:15px;min-height:44px;line-height:1.3;margin:12px 0 0}
.voice-console{background:#f4f6eb;border-radius:17px;padding:16px;display:flex;flex-direction:column;gap:12px;min-width:0}
.mic-buttons{display:flex;gap:8px}.mic-buttons .primary{flex:1}#voice button.primary,#voice button.secondary{padding:10px 12px;font-size:15px}
.voice-adjust{display:grid;grid-template-columns:1fr 120px;column-gap:16px;align-items:center}.voice-adjust>label:first-child{display:block;font-size:15px}.voice-adjust input[type=range]{width:100%;padding:0;accent-color:#7951a8;grid-column:1;min-height:28px}.sensitivity-label{grid-column:2;grid-row:1/3;min-width:0}.sensitivity-label select{padding:8px;font-size:15px}
.voice-console .check{font-size:15px}.voice-console #testAlarm{align-self:start}
.voice-info{margin-top:12px;font-size:13px;color:#526955}.voice-info summary{padding:6px 0}.voice-info p{margin:8px 0;max-width:900px}
#voice:fullscreen{background:#fbf8ed;border:0;border-radius:0;box-shadow:none;width:100%;height:100%;max-width:none;padding:clamp(16px,3vh,32px) clamp(18px,4vw,64px);overflow:auto;display:flex;flex-direction:column;gap:10px}
#voice:fullscreen .voice-dashboard{flex:1;max-height:560px}#voice:fullscreen .voice-stage{min-height:220px;flex:1}#voice:fullscreen .voice-console{justify-content:center;gap:20px}#voice:fullscreen .voice-big strong{font-size:clamp(32px,4vw,64px)}#voice:fullscreen .noise-alert strong{font-size:clamp(30px,4vw,56px)}#voice:fullscreen .voice-info{margin-top:0}
@media(max-width:640px){#voice{padding:15px 12px}.voice-heading{flex-wrap:wrap}.voice-heading h2{font-size:23px}#voice .voice-levels{grid-template-columns:repeat(2,1fr);gap:7px}.voice-dashboard{grid-template-columns:1fr;gap:12px}.voice-stage{min-height:136px}.voice-console{gap:10px;padding:12px}#voice .status{min-height:24px}#voice:fullscreen .voice-dashboard{max-height:none}#voice:fullscreen .voice-stage{min-height:140px}}

/* Quiet pastel garden backdrop for the voice panel. */
#voice,#voice:fullscreen{background-color:#fcfaf1;background-image:radial-gradient(circle at 8% 12%,#e4efdba6 0,transparent 34%),radial-gradient(circle at 95% 88%,#e4ddf080 0,transparent 32%),radial-gradient(circle at 98% 3%,#fae7bb80 0,transparent 24%),radial-gradient(circle,#8fa58b22 1.4px,transparent 1.8px);background-size:auto,auto,auto,32px 32px;background-position:center}
#voice .voice-console{background:#f3f5eb}#voice .voice-info{background:#fcfaf1e8;border-radius:8px;padding:0 8px}

/* Illustrated garden, visible around quiet opaque controls. */
#voice,#voice:fullscreen{background-color:#e7f2e8;background-image:url("voice-garden.svg?v=1.3.1");background-size:100% 100%;background-repeat:no-repeat;background-position:center}
#voice .voice-heading h2{background:#fffdf2ed;border-radius:14px;padding:8px 15px}#voice .voice-heading{padding-left:52px}#voice .voice-console{background:#f6f8eef5}#voice .voice-info{background:#fffdf3f2}#voice .voice-levels button{background:#fffdf6f2}#voice .voice-levels button[aria-pressed=true]{background:#ede4fa}#voice:fullscreen{padding-bottom:75px}#voice:fullscreen .voice-dashboard{max-height:510px}#voice .voice-big{background:#edf4e5f5}
@media(max-width:640px){#voice .voice-heading{padding-left:0}#voice{background-size:auto 100%}#voice:fullscreen{padding-bottom:55px}}

/* Visual station countdown. */
.station-time-hint{padding:16px 20px;background:#edf5eb;border-radius:16px;line-height:1.6;color:#345640}.station-timer{text-align:center;margin:16px auto 26px;max-width:580px}.station-clock{background:conic-gradient(#729d69 var(--remaining),#e4eadf 0);padding:14px;border-radius:50%;width:250px;height:250px;margin:auto;box-shadow:0 5px 20px #34564012}.station-clock-face{height:100%;border-radius:50%;background:#fffdf2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.station-clock-face>span{font-size:32px}.station-clock .digits{font-size:58px;line-height:1.15;margin:0;font-variant-numeric:tabular-nums}.station-clock-face strong{font-size:16px;color:#426044}.station-clock.time-short{background:conic-gradient(#d8963c var(--remaining),#eee6d9 0)}.station-clock.time-up{background:#d8963c}.station-clock.time-up .station-clock-face{background:#fff0d5}.station-journey{margin:30px 24px 0}.station-trail{height:14px;border-radius:12px;background:#e1e9d9;position:relative}.station-trail>#stationTrack{display:block;height:100%;border-radius:12px;background:#8aad7b}.station-snail{position:absolute;left:var(--elapsed);top:-25px;font-size:34px;transform:translateX(-50%) scaleX(-1);line-height:1;pointer-events:none}.station-journey-labels{display:flex;justify-content:space-between;gap:15px;margin-top:12px;font-size:15px;font-weight:700;color:#526d45}@media(max-width:480px){.station-clock{width:210px;height:210px;padding:12px}.station-clock .digits{font-size:50px}}

/* Touch-friendly classroom dashboard, scoped to tools only. */
.tools-page #toolsApp{max-width:1400px;padding:14px 20px}.lim-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}.lim-toolbar h1{font-size:26px;letter-spacing:-.5px;margin:0}.lim-toolbar button{font-size:18px;min-height:52px;white-space:nowrap}.tools-page .nav{margin-bottom:12px;gap:12px}.tools-page .nav button,.tools-page.voice-mode .nav button{font-size:20px;padding:12px;min-height:56px}.tools-page .panel{padding:18px 22px}.tools-page h2{font-size:24px}.tools-page .tag{display:none}.tools-page label{font-size:16px}.tools-page select,.tools-page input[type=number]{font-size:18px;min-height:48px}.tools-page .actions button{font-size:22px;min-height:56px;min-width:150px}.tools-page .controls{margin:8px 0;gap:10px}.tools-page .quick{gap:8px}.tools-page .quick>span{width:100%;font-weight:700}.tools-page .quick button{font-size:17px;min-width:62px;min-height:48px}.tools-page .status{margin:4px 0 0}.tools-page .display{margin:0;width:100%}.tools-page .digits{font-size:clamp(64px,7vw,94px)}.tools-page .track{margin:8px auto}.tools-page .timer-scene{margin:0;width:100%}.tools-page .timer-scene p{margin:2px 0;font-size:14px}.tools-page footer{display:none}.tools-page .tools-help{margin:10px 0 0;padding:8px 14px}.tools-page.voice-mode>main>.tools-help{display:block}.tools-page #dice .help{margin-top:12px;padding:10px 16px}.tools-page .dice{margin:24px 0;gap:20px}.tools-page .die{width:clamp(110px,16vw,190px);font-size:clamp(56px,8vw,88px)}
.tools-page #voice .voice-heading{padding-left:52px}.tools-page #voice .voice-levels button{min-height:54px;font-size:18px}.tools-page #voice button.primary,.tools-page #voice button.secondary{font-size:17px;min-height:48px}.tools-page #voice .voice-console{gap:14px}.tools-page #voice .voice-stage{min-height:200px}.tools-page #voice .voice-info{margin-bottom:24px}.tools-page #voice input[type=range]{min-height:44px}.tools-page #voice .check{font-size:17px}
#toolsApp:fullscreen{width:100%;height:100%;max-width:none;overflow:auto;background:#fbf8ed;padding:16px 24px}#toolsApp:fullscreen .tools-help{display:none}
@media(min-width:900px){.tools-page #timer{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(0,1.3fr);gap:8px 28px;align-items:center}.tools-page #timer>.top{grid-column:1;grid-row:1}.tools-page #timer>.controls{grid-column:1;grid-row:2;align-self:end}.tools-page #timerControls{grid-column:1;grid-row:3/6;align-self:start}.tools-page #timerScene{grid-column:2;grid-row:1/3}.tools-page #timer>.display{grid-column:2;grid-row:3}.tools-page #timer>.actions{grid-column:2;grid-row:4}.tools-page #timerStatus{grid-column:2;grid-row:5}.tools-page #sand{display:grid;grid-template-columns:1fr 1fr;gap:8px 28px;align-items:center}.tools-page #sand>h2{grid-column:1;grid-row:1;margin:0}.tools-page #sand>.intro{grid-column:1;grid-row:2}.tools-page #sandControls{grid-column:1;grid-row:3}.tools-page #sand>.display{grid-column:2;grid-row:1/5}.tools-page #sand>.actions{grid-column:1;grid-row:4}.tools-page #sandStatus{grid-column:1;grid-row:5}.tools-page #sand .hourglass{height:190px}.tools-page #sand .digits{font-size:78px}.tools-page #timerFriend{max-width:100%}}
@media(max-width:899px){.tools-page #toolsApp{padding:12px}.lim-toolbar h1{font-size:21px}.lim-toolbar button{font-size:16px}.tools-page .timer-scene{max-width:460px;margin:12px auto}.tools-page .display{margin:12px auto}.tools-page .quick>span{width:auto}.tools-page .panel{padding:18px}.tools-page .digits{font-size:64px}.tools-page .actions{margin-top:10px}}
@media(max-width:600px){.lim-toolbar{flex-wrap:wrap;gap:10px}.lim-toolbar button{width:100%}.tools-page .nav{grid-template-columns:repeat(2,1fr);gap:8px}.tools-page .nav button,.tools-page.voice-mode .nav button{font-size:17px}.tools-page #voice .voice-heading{padding-left:0}.tools-page #voice .voice-levels button{font-size:16px}.tools-page .actions button{min-width:120px;font-size:19px}.tools-page .die{width:110px}#toolsApp:fullscreen{padding:12px}}

/* Fullscreen composition fills the board and keeps the activity centred. */
@media(min-width:900px) and (min-height:650px){
.tools-page #toolsApp:fullscreen{display:flex;flex-direction:column;gap:14px;padding:clamp(16px,2.4vh,28px) clamp(20px,2.4vw,42px);background:radial-gradient(ellipse at 8% 90%,#e3efdf 0,transparent 48%),radial-gradient(ellipse at 96% 8%,#ede7f4 0,transparent 42%),#fbf8ed}
#toolsApp:fullscreen .lim-toolbar,#toolsApp:fullscreen .nav{flex-shrink:0;margin:0}
#toolsApp:fullscreen .panel{flex:1;min-height:0;margin:0;padding:clamp(20px,3vh,36px);box-shadow:0 5px 18px #4057370d}
#toolsApp:fullscreen #timer{grid-template-columns:minmax(300px,.72fr) minmax(0,1.35fr);column-gap:clamp(28px,4vw,68px);row-gap:12px;align-content:center;background:linear-gradient(90deg,#f2f6ec 0,#f2f6ec 36%,#fffefa 36%,#fffefa 100%)}
#toolsApp:fullscreen #timer>.top{align-self:end}#toolsApp:fullscreen #timer>.controls{align-self:center}#toolsApp:fullscreen #timerControls{padding-top:8px}
#toolsApp:fullscreen #timerScene{max-width:none}#toolsApp:fullscreen #timerScene svg{width:100%;max-height:30vh;min-height:130px}#toolsApp:fullscreen #timerScene p{font-size:17px;margin-top:6px}
#toolsApp:fullscreen #timer .digits{font-size:clamp(88px,14vh,170px);line-height:1.08}#toolsApp:fullscreen #timer .track{height:16px;max-width:none;margin:12px auto}
#toolsApp:fullscreen .actions button{font-size:clamp(22px,2vw,30px);padding:14px 28px;min-height:60px}#toolsApp:fullscreen .status{font-size:18px}
#toolsApp:fullscreen #dice{display:flex;flex-direction:column;justify-content:center;gap:12px}#toolsApp:fullscreen #dice .controls{justify-content:center}#toolsApp:fullscreen #dice .dice{flex:1;align-items:center;align-content:center;margin:8px 0}#toolsApp:fullscreen .die{width:clamp(140px,17vw,250px);font-size:clamp(72px,9vw,124px)}#toolsApp:fullscreen #dice .help{text-align:center}
#toolsApp:fullscreen #sand{align-content:center;column-gap:50px;background:linear-gradient(90deg,#f2f6ec 0,#f2f6ec 49%,#fffefa 49%,#fffefa 100%)}#toolsApp:fullscreen #sand .hourglass{height:clamp(190px,31vh,360px);width:clamp(140px,22vh,255px)}#toolsApp:fullscreen #sand .frame-edge{width:clamp(155px,24vh,278px);height:12px}#toolsApp:fullscreen #sand .digits{font-size:clamp(80px,12vh,140px)}
#toolsApp:fullscreen #voice{display:flex;flex-direction:column}#toolsApp:fullscreen #voice .voice-dashboard{flex:1;min-height:0}#toolsApp:fullscreen #voice .voice-stage{flex:1}#toolsApp:fullscreen #voice .voice-console{justify-content:center}#toolsApp:fullscreen #voice .voice-big strong{font-size:clamp(34px,4vw,62px)}#toolsApp:fullscreen #voice .voice-big p{font-size:22px}#toolsApp:fullscreen #voice .voice-info{margin-bottom:16px}
}

.station-icon{display:inline-block;margin-right:.45em;font-size:1.15em;line-height:1;vertical-align:middle}.assignment .group .station-icon{font-size:1.5em}.station-editor h3{display:flex;align-items:center}
