.teaching-slide.slide-worksheet-prompt,body.lesson-presenting .teaching-slide.slide-worksheet-prompt{container-type:size;padding:18px 3.5% 12px;overflow:hidden;background:#091e18 url('../../assets/experience/allied/map-background.png') center/cover no-repeat;border:1px solid #a6955d;border-radius:6px;color:#e5c67f}
.wp-stage{height:100%;width:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:clamp(8px,2cqh,18px)}
.teaching-slide .wp-heading p{margin:0 0 3px;color:#ceb06b;font:500 clamp(10px,2.3cqh,19px)/1.35 var(--sans)}
.teaching-slide .wp-heading h2{margin:0;padding:0 6% 10px;border-bottom:2px solid #c9a444a0;color:#e8bf53;text-align:center;text-transform:uppercase;text-wrap:balance;font:800 clamp(22px,4.7cqh,43px)/1.2 var(--sans);text-shadow:0 2px #795922,0 4px 7px #000b}
.wp-brief{display:flex;gap:20px;align-items:center;min-width:0}
.wp-instructions{flex:1;min-width:0}
.teaching-slide .wp-task{margin:0 0 4px;color:#f1dca2;font:750 clamp(16px,3.2cqh,29px)/1.4 var(--sans)}
.teaching-slide .wp-question{margin:0;color:#e5c78c;font:400 clamp(13px,2.6cqh,24px)/1.4 var(--sans)}
.wp-actions{display:flex;gap:7px;align-items:center;flex-shrink:0}
.wp-timer,.wp-submit{position:relative;padding:0;border:0;background:transparent;box-shadow:none;border-radius:8px;color:#d8b96d;width:clamp(110px,12cqw,168px);aspect-ratio:168/65;min-height:42px;line-height:1;isolation:isolate}
.wp-submit{width:clamp(100px,10.6cqw,149px);aspect-ratio:149/65;cursor:pointer}
.wp-timer>img,.wp-submit>img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.wp-timer:before,.wp-submit:before{content:'';position:absolute;inset:9px;background:#0b1c17b8;clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px),0 6px);z-index:-1}
.wp-timer>span,.wp-submit>span{position:absolute;inset:10%;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;font:800 clamp(15px,2.7cqh,28px)/1 var(--sans);text-shadow:0 2px 3px #000;z-index:2}
.wp-timer svg{width:20px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
.wp-submit:hover{filter:brightness(1.18)}
.wp-submit:focus-visible,[data-wp-hover]:focus-visible{outline:3px solid #f6d77e;outline-offset:3px}
.wp-timer.is-expired{color:#edab86}
.wp-files{container-type:size;display:flex;align-items:flex-start;justify-content:space-evenly;gap:5%;min-height:0;min-width:0}
.wp-card{width:min(47%,calc((100cqh - 17cqh - 24px)*1.61));min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:clamp(6px,1.8cqh,14px)}
.teaching-slide .wp-card h3{margin:0;color:#e7c681;text-align:center;font:750 clamp(11px,4.6cqh,22px)/1.3 var(--sans);white-space:nowrap}
.wp-label{display:block;width:100%;height:auto;aspect-ratio:652/90;filter:drop-shadow(0 4px 5px #0006)}
.wp-paper{position:relative;width:100%;aspect-ratio:666/413;filter:drop-shadow(0 6px 7px #0007)}
.wp-paper>img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.teaching-slide .wp-status{margin:0;min-height:1.3em;text-align:center;color:#d2b779;font:400 clamp(10px,1.5cqh,13px)/1.3 var(--sans)}
@media(max-width:1100px){.wp-brief{gap:12px}.wp-title-break{display:none}.teaching-slide .wp-heading h2{padding-inline:2%;font-size:clamp(21px,4.4cqh,34px)}.wp-actions{gap:5px}.wp-timer{width:118px}.wp-submit{width:105px}.wp-timer>span,.wp-submit>span{font-size:18px}}
@media(max-width:720px) and (orientation:portrait){
 .teaching-slide.slide-worksheet-prompt,body.lesson-presenting .teaching-slide.slide-worksheet-prompt{container-type:inline-size;padding:16px 12px;overflow:auto}
 .wp-stage{height:auto;min-height:100%;display:flex;flex-direction:column;gap:17px;flex-shrink:0}
 .teaching-slide .wp-heading p{font-size:10px}.teaching-slide .wp-heading h2{font-size:clamp(21px,5.8cqw,30px);line-height:1.3;padding:0 0 13px}
 .wp-brief{display:flex;flex-direction:column;align-items:stretch;gap:13px}.teaching-slide .wp-task{font-size:18px}.teaching-slide .wp-question{font-size:15px}.wp-actions{justify-content:flex-end}.wp-timer{width:126px}.wp-submit{width:112px}
 .wp-files{container-type:normal;display:flex;flex-direction:column;align-items:center;gap:24px;flex-shrink:0}.wp-card{width:100%;max-width:570px;gap:9px}.teaching-slide .wp-card h3{font-size:14px;white-space:normal}.teaching-slide .wp-status{font-size:11px;min-height:2.6em}
}
@media(max-height:500px) and (orientation:landscape){
 .teaching-slide.slide-worksheet-prompt,body.lesson-presenting .teaching-slide.slide-worksheet-prompt{overflow:auto;padding:12px 3%}.wp-stage{min-height:620px;height:auto;grid-template-rows:auto auto 330px auto;gap:12px;flex-shrink:0}.teaching-slide .wp-heading p{font-size:10px}.teaching-slide .wp-heading h2{font-size:23px}.teaching-slide .wp-task{font-size:17px}.teaching-slide .wp-question{font-size:14px}.wp-card{width:min(47%,450px)}.teaching-slide .wp-card h3{font-size:14px}
}

.wp-title-first{display:block}.wp-title-row{display:flex;align-items:center;justify-content:center;gap:12px}.wp-title-row>span{white-space:nowrap}.wp-title-ornament{display:block;position:static;flex:0 1 17%;min-width:0;width:17%;max-width:240px;height:auto;pointer-events:none}
[data-wp-hover]{transition:filter .18s ease,transform .18s ease;outline-offset:3px}
@media(hover:hover){[data-wp-hover]:hover{filter:brightness(1.13) drop-shadow(0 0 8px #ecc76f70);transform:translateY(-3px)}}
[data-wp-hover]:focus-visible{filter:brightness(1.13) drop-shadow(0 0 8px #ecc76f70);transform:translateY(-3px)}
.wp-submit:disabled{cursor:default}
@media(max-width:1100px){.wp-title-ornament{display:none}.wp-title-row>span{white-space:normal}.wp-title-row{display:block}}
@media(prefers-reduced-motion:reduce){[data-wp-hover]{transition:none}[data-wp-hover]:hover,[data-wp-hover]:focus-visible{transform:none}}
.wp-stage .wp-actions{display:grid;grid-template-columns:auto auto;align-items:center;gap:8px}
.wp-clock-controls{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.wp-clock-controls button{font-size:12px;min-height:40px;padding:8px 12px}
.wp-stage .wp-submit{width:180px;min-height:48px}
.wp-stage .wp-submit>span{font-size:13px;line-height:1.3;white-space:normal;text-align:center;padding:0 6px}
.wp-submit:disabled{opacity:.6}
@media(max-width:600px){.wp-stage .wp-actions{justify-content:center;grid-template-columns:minmax(0,126px) minmax(0,170px)}.wp-stage .wp-submit{width:100%;min-width:0}.wp-stage .wp-submit>span{font-size:12px}.wp-clock-controls{justify-content:center}}
