/* Scoped to an active teacher presentation; startup, homepage and pupil pages retain their layout. */
body.teacher-presentation .teacher-navigation,body.teacher-presentation .board-header,body.teacher-presentation .source-strip,body.teacher-presentation .board-footer,body.teacher-presentation .student-monitor{display:none!important}
body.teacher-presentation #board-canvas{max-width:1360px!important;margin:auto!important;padding:0 24px 24px!important}
body.teacher-presentation .board-layout{display:block!important;margin:0!important}
body.teacher-presentation .board-layout>.board{display:flex!important;flex-direction:column!important;border:0!important;background:transparent!important;padding:0!important;overflow:visible!important;min-width:0!important;height:auto!important}
body.teacher-presentation .board-meta{display:none!important}
body.teacher-presentation #weekly-content{display:flex!important;flex-direction:column!important;border:1px solid #dcd7cb;border-radius:23px;background:#fffefb;min-height:calc(100dvh - 140px);overflow:hidden}
body.teacher-presentation .teaching-surface{height:auto!important;min-height:0!important;flex:1!important;overflow:visible!important}
body.teacher-presentation .classroom-flow-stage,body.teacher-presentation .live-round-stage{min-height:0!important;padding:32px!important;max-width:none!important;overflow-wrap:anywhere}
body.teacher-presentation .classroom-flow-stage>h2,body.teacher-presentation .live-round-stage>h2{font-size:clamp(28px,3.3vw,48px)!important;line-height:1.18!important;margin:0 0 24px!important}
body.teacher-presentation .classroom-flow-stage>p{font-size:clamp(20px,2.3vw,30px);line-height:1.5}
body.teacher-presentation .classroom-flow-stage.has-support-card{display:grid!important;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr)!important;gap:32px!important}
body.teacher-presentation .teacher-reference-card{max-width:360px!important;width:100%!important;justify-self:center}
body.teacher-presentation .teacher-activity-instruction h2{font-size:clamp(28px,3vw,43px)!important;line-height:1.2!important}
body.teacher-presentation .teacher-activity-instruction p{font-size:clamp(20px,2.1vw,27px)!important;line-height:1.5!important}
body.teacher-presentation .teacher-opening{font-size:clamp(38px,6vw,80px)!important}
body.teacher-presentation .live-answer-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.teacher-presentation .live-answer-card{background:#f7f8f0!important;border:1px solid #e1e5d6!important;border-radius:12px!important;padding:18px!important;min-height:130px!important;min-width:0!important}
body.teacher-presentation .live-answer-card p{font-size:clamp(17px,1.6vw,22px)!important;line-height:1.45!important;margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere}
body.teacher-presentation .slide-controls{display:grid!important;grid-template-columns:1fr 160px 1fr!important;gap:20px!important;padding:18px 30px!important;border-top:1px solid #ece9df!important;margin-top:auto!important}
body.teacher-presentation .slide-controls button{width:auto!important;height:auto!important;font-size:14px!important;line-height:1.3!important;min-height:46px!important;border-radius:11px!important;padding:12px 18px!important}
body.teacher-presentation #previous-step{justify-self:start!important;background:transparent!important;border:1px solid #dcd7cb!important;color:#677652!important}
body.teacher-presentation #next-step{justify-self:end!important;background:#2854ed!important;color:white!important}
.presentation-header{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid #dcd7cb;margin-bottom:22px}
.presentation-brand{display:flex;align-items:center;gap:12px}.presentation-brand img{object-fit:contain}.presentation-brand strong,.presentation-brand span{display:block}.presentation-brand strong{font-size:16px}.presentation-brand span{font-size:11px;color:#757b69;margin-top:5px}
.presentation-channels{display:flex;gap:8px;margin-right:auto}.presentation-channels a{width:96px;height:32px;flex-shrink:0}.presentation-channels img{width:100%;height:100%;object-fit:contain;display:block}.presentation-kahoot{background:#8646be;border-radius:6px;padding:5px 10px}.presentation-instagram{display:flex;align-items:center;justify-content:space-between;padding:3px 5px;border:1px solid #d8d2c5;border-radius:6px;background:#fffdf7;color:#272a20;text-decoration:none}.presentation-instagram>span:first-child{font-size:8px;line-height:10px;font-weight:700;white-space:nowrap}.presentation-instagram-symbol{display:grid;place-items:center;width:24px;height:24px;color:white;font-size:24px;line-height:1;background:linear-gradient(35deg,#feda75,#fa7e1e 22%,#d62976 53%,#962fbf 76%,#4f5bd5);border-radius:5px}
.presentation-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.presentation-tools button{font:inherit;font-size:12px!important;padding:10px 12px!important;border:1px solid #dcd7cb!important;border-radius:9px!important;background:#fffdf8!important;color:#596746!important;white-space:nowrap}.presentation-tools button[aria-pressed=true]{background:#e6edda!important}.presentation-count{font-size:12px;color:#5d6d46;margin-right:6px}.presentation-progress progress{width:100%;height:5px;accent-color:#8ca65c;display:block}.presentation-progress span{display:block;text-align:center;font-size:10px;color:#818875;margin-top:7px}.presentation-status:empty{display:none}.presentation-status{font-size:13px;color:#8a314a}.presentation-dialog{max-width:min(620px,calc(100vw - 32px));border:1px solid #dcd7cb;border-radius:18px;padding:24px;background:#fffefb;color:#1a1c17}.presentation-dialog::backdrop{background:#1a1c1766}.presentation-dialog>button{display:block;margin:0 0 16px auto}.presentation-dialog img{max-width:100%;height:auto}.presentation-dialog-code{font-size:32px;font-weight:bold}.presentation-dialog .final-word-card{max-width:100%}.presentation-ending{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:36px;align-items:center}.presentation-ending h2{font-size:clamp(30px,3.4vw,49px);line-height:1.15;margin:0 0 24px}.presentation-ending p{font-size:22px;line-height:1.5}.presentation-save-note{font-size:13px!important;color:#757b69}.presentation-save-qr{padding:20px;border-radius:18px;background:#e8eedb;text-align:center}.presentation-save-qr img{max-width:100%;height:auto;display:block;margin:auto}.presentation-save-qr strong{display:block;margin-top:12px;font-size:18px}
body.teacher-presentation .board:fullscreen,body.teacher-presentation .board.teaching-expanded{background:#f7f2e8!important;padding:0 28px 16px!important;overflow:auto!important}
@media(max-width:1100px){.presentation-tools{flex-basis:100%;justify-content:flex-end}.presentation-header{gap:12px}body.teacher-presentation #weekly-content{min-height:calc(100dvh - 190px)}}
@media(max-width:760px){body.teacher-presentation #board-canvas{padding:0 12px 16px!important}.presentation-tools{justify-content:flex-start}.presentation-channels{margin-left:0}.presentation-brand{margin-right:auto}.presentation-header{gap:10px}body.teacher-presentation .classroom-flow-stage.has-support-card{grid-template-columns:1fr!important}.teacher-activity-instruction{grid-row:1}body.teacher-presentation .live-answer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.teacher-presentation .classroom-flow-stage,body.teacher-presentation .live-round-stage{padding:22px!important}.presentation-ending{grid-template-columns:1fr}.presentation-save-qr{max-width:260px;margin:auto}body.teacher-presentation .slide-controls{grid-template-columns:1fr 70px 1fr!important;padding:16px!important;gap:8px!important}body.teacher-presentation .slide-controls button{font-size:12px!important;padding:10px!important}.presentation-ending p{font-size:19px}}
@media(max-width:480px){.presentation-channels{flex-basis:100%}body.teacher-presentation .live-answer-grid{grid-template-columns:1fr!important}.presentation-count{flex-basis:100%}.presentation-tools{gap:6px}.presentation-tools button{font-size:11px!important;padding:9px!important}}
body.teacher-presentation .stakeholder-demo-note,body.teacher-presentation #board-canvas>footer{display:none!important}
body.teacher-presentation #weekly-content{padding-top:0!important}
body.teacher-presentation .board.teaching-expanded #weekly-content{padding-top:0!important}
body.teacher-presentation .live-answer-card{height:auto!important;max-height:none!important;overflow:visible!important;display:flex!important;flex-direction:column!important;gap:12px!important}
body.teacher-presentation .live-answer-card p{font-size:18px!important}
body.teacher-presentation .live-answer-card button{align-self:flex-start;margin-top:auto;font-size:12px;padding:8px 10px}
body.teacher-presentation .teaching-status{padding:0 30px 10px!important}
body.teacher-presentation .inline-lesson-join{padding:26px!important}
body.teacher-presentation .board:fullscreen #weekly-content,body.teacher-presentation .board.teaching-expanded #weekly-content{min-height:0!important;flex:1!important}
html:has(body.teacher-presentation),body.teacher-presentation{overflow:auto!important;height:auto!important;min-height:100dvh!important}
body.teacher-presentation .site-frame{display:block!important;position:static!important;padding:0!important;max-width:none!important}
body.teacher-presentation .common-top,body.teacher-presentation .common-header,body.teacher-presentation .common-sources,body.teacher-presentation .common-footer{display:none!important}
body.teacher-presentation .common-content{height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;background:transparent!important}
body.teacher-presentation #board-canvas{position:static!important;transform:none!important;height:auto!important;left:auto!important}
body.teacher-presentation #weekly-content{min-height:calc(100dvh - 160px)!important}
body.teacher-presentation .inline-lesson-join{margin:auto 0!important}
@media(max-width:1100px){body.teacher-presentation #weekly-content{min-height:calc(100dvh - 210px)!important}}
@media(max-width:760px){body.teacher-presentation #weekly-content{min-height:360px!important}}

.presentation-brand img{width:48px!important;height:48px!important;object-fit:contain}
.presentation-brand{min-width:0}.presentation-brand strong{max-width:210px;overflow-wrap:anywhere}
