html[data-cq-screen-lock],html[data-cq-screen-lock] body{overflow:hidden!important;overscroll-behavior:none!important}
[data-cq-screen-ancestor]{transform:none!important;filter:none!important;perspective:none!important;contain:none!important}
body [data-cq-screen]{position:fixed!important;inset:0!important;z-index:10050!important;width:100%!important;max-width:none!important;height:100vh!important;height:100dvh!important;max-height:100dvh!important;box-sizing:border-box!important;margin:0!important;border:0!important;border-radius:0!important;padding:16px clamp(12px,2vw,30px)!important;background:#0b2033!important;color:#fcfcf5!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;isolation:isolate}
body [data-cq-screen][data-cq-screen-layout=stack]{display:flex!important;flex-direction:column;gap:12px}
body [data-cq-screen][data-cq-screen-layout=split]{display:grid!important;grid-template-columns:minmax(180px,32%) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important;gap:18px}
body [data-cq-screen]>:not([data-cq-screen-dock]){min-width:0;max-width:100%;box-sizing:border-box}
body [data-cq-screen] .bio-question-card{min-width:0;min-height:0;max-height:100%;overflow:auto;background:#15334a!important;color:#fcfcf5!important;padding:clamp(14px,2vw,26px)!important;border-radius:12px}
body [data-cq-screen] :is(h1,h2,.bio-question){font-size:clamp(22px,2.8vw,36px)!important;line-height:1.22!important;letter-spacing:normal;margin:0 0 12px!important;color:inherit}
body [data-cq-screen] :is(.eyebrow,.de-eyebrow,.quiz-counter){margin:0 0 8px!important;font-size:14px!important;line-height:1.35!important}
body [data-cq-screen] [data-cq-options]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:14px 0!important}
body [data-cq-screen] [data-cq-options]>button{min-height:58px!important;padding:12px 16px!important;font-size:clamp(17px,1.8vw,23px)!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere}
body [data-cq-screen] [data-cq-options]>button[data-cq-selected]{padding-top:30px!important}
body [data-cq-screen] [data-cq-question]{min-height:0!important;padding:16px!important}
body [data-cq-screen] :is(.quiz-feedback,.bio-feedback,.feedback){font-size:17px!important;line-height:1.4!important;margin:8px 0!important;padding:12px!important}
body [data-cq-screen] :is(.bio-image-card,.bio-image-frame,.de-quiz-art){min-width:0;min-height:0;max-height:100%;overflow:hidden;margin:0;display:flex;align-items:center;justify-content:center}
body [data-cq-screen] img{display:block;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}
body [data-cq-screen] .learning-text-model,body [data-cq-screen] .learning-text-model :is(p,li,h3,b,strong){color:#173b32!important}
body [data-cq-screen]>[data-cq-screen-dock]{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:auto;padding:10px 0 0;background:#0b2033;color:#fcfcf5;min-height:44px}
[data-cq-screen-dock] p{margin:0 auto 0 0;font:15px/1.4 system-ui,sans-serif}[data-cq-screen-dock] button{font:600 15px/1.35 system-ui,sans-serif;min-height:44px;padding:10px 14px;border:1px solid #a8c6d4;border-radius:9px;background:#173d52;color:#fcfcf5;cursor:pointer}[data-cq-screen-dock] button:disabled{opacity:.6}
.cq-dialog{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;max-width:100vw!important;height:100vh!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;box-sizing:border-box!important;overflow:hidden!important;padding:0!important;z-index:10100}
.cq-dialog .cq-intro{height:100%!important;min-height:0!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important}
.cq-dialog .cq-intro-video{height:100%!important;min-height:0!important;max-height:none!important;width:100%!important;object-fit:contain!important}
.cq-dialog .cq-intro-controls{padding:14px 20px!important}.cq-dialog .cq-media-status{margin:0 0 10px!important}.cq-dialog .cq-media-buttons{gap:12px!important}.cq-dialog .cq-stage{height:100%!important;min-height:0!important;box-sizing:border-box;overflow:auto!important;padding:24px clamp(16px,4vw,56px)!important}.cq-dialog .cq-topline{margin-bottom:20px!important}.cq-dialog .cq-stage h1{margin-bottom:20px!important}.cq-dialog .cq-stage-actions{margin-top:18px!important}
@media(max-width:700px){body [data-cq-screen][data-cq-screen-layout=split]{display:flex!important;flex-direction:column!important;gap:10px}body [data-cq-screen] :is(.bio-image-card,.bio-image-frame,.de-quiz-art){flex:0 1 20dvh;max-height:20dvh!important}body [data-cq-screen] .bio-question-card{flex:1 1 auto;max-height:none}body [data-cq-screen] [data-cq-options]{grid-template-columns:1fr!important;gap:8px!important;margin:10px 0!important}body [data-cq-screen] [data-cq-options]>button{min-height:48px!important;font-size:17px!important;padding:10px 12px!important}body [data-cq-screen] [data-cq-options]>button[data-cq-selected]{padding-top:29px!important}.cq-dialog .cq-media-buttons .cq-primary{width:100%;margin:0}.cq-dialog .cq-media-buttons{gap:10px!important}.cq-dialog .cq-volume{margin-left:auto}.cq-dialog .cq-intro-controls{padding:12px!important}}
@media(max-height:600px) and (min-width:701px){.cq-dialog .cq-intro-controls{padding:8px 16px!important}.cq-dialog .cq-media-status{margin-bottom:4px!important}.cq-dialog .cq-stage{padding:12px 20px!important}.cq-dialog .cq-topline,.cq-dialog .cq-stage h1{margin-bottom:12px!important}.cq-dialog .cq-podium-place{min-height:140px!important;padding:12px!important}.cq-dialog .cq-trophy{width:50px;height:50px}.cq-dialog .cq-trophy svg{width:34px;height:34px}}

body [data-cq-screen] > .quiz-picture{min-height:0}body [data-cq-screen] > .quiz-picture img{max-height:25dvh!important}html[data-cq-module] form select{min-width:0;max-width:100%;box-sizing:border-box}

.cq-room-info{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:24px!important;color:#fcfcf5}.cq-room-info [data-live-room-details]{display:block!important;max-width:90vw;text-align:center}.cq-room-info [data-live-qr] img,.cq-room-info img{display:block;max-width:min(55dvh,75vw)!important;max-height:55dvh!important;width:auto!important;height:auto!important;margin:12px auto}.cq-room-info a{color:#cbf2c0}.cq-room-info button{min-height:48px}

body [data-cq-screen]{font-family:"Segoe UI",Arial,sans-serif;font-size:18px;line-height:1.4}

.cq-dialog .cq-intro{width:100%;min-width:0}.cq-dialog .cq-intro-controls{width:100%;min-width:0;box-sizing:border-box}.cq-dialog .cq-media-buttons>*{min-width:0;max-width:100%;box-sizing:border-box}

body [data-cq-screen][data-cq-screen-layout=stack]>:not([data-cq-screen-dock]){flex:0 0 auto}body [data-cq-screen] .learning-photo-card{background:#f7f3e4!important;color:#173b32!important}body [data-cq-screen] .learning-photo-card :is(h3,h4,p,li,strong){color:inherit!important}

body [data-cq-screen] .quiz-sample{background:#f7f3e4!important;color:#173b32!important;font-size:clamp(16px,1.5vw,20px)!important;line-height:1.4!important;padding:14px!important;margin:10px 0!important;white-space:pre-line}body [data-cq-screen]>h3{font-size:19px!important;line-height:1.3!important;margin:8px 0!important}body [data-cq-screen] :is(.quiz-feedback,.bio-feedback,.feedback):empty{display:none!important}body [data-cq-screen] .quiz-next{min-height:44px;flex-shrink:0}body [data-cq-screen] .quiz-progress{display:flex;align-items:center;justify-content:space-between;gap:10px}body [data-cq-screen] .quiz-progress .pill{font-size:13px;line-height:1.3;padding:8px}

/* Spanish language samples keep readable ink inside the dark quiz screen. */
body [data-cq-screen] .sp-sample,body [data-cq-screen] .sp-sample [lang]{color:#173b32!important}


.live-quiz-code-display{display:flex!important;align-items:center;gap:16px;flex-wrap:wrap}.live-quiz-code-display [data-live-room-code]{font:800 clamp(44px,7vw,88px)/1.1 system-ui,sans-serif!important;letter-spacing:.12em;font-variant-numeric:tabular-nums;color:inherit}.live-quiz-scoring{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-weight:650}.live-quiz-scoring select{min-height:48px;max-width:100%;font:inherit}.live-quiz-scoring-note{max-width:75ch;line-height:1.5}.live-quiz-panel[data-live-scoring-mode=off] .live-quiz-score-card{display:none}.cq-join-code{font:800 clamp(32px,4vw,60px)/1.1 system-ui,sans-serif!important;letter-spacing:.1em;color:#fcfcf5!important;margin-right:auto}.cq-room-info [data-cq-room-code]{font:800 clamp(70px,12vw,180px)/1.05 system-ui,sans-serif;letter-spacing:.1em;text-align:center;overflow-wrap:anywhere}.live-quiz-player img[data-player-image]{object-fit:contain;max-width:100%;max-height:65vh}.live-quiz-image-retry{min-height:48px}


/* The outer dialog and the media itself both have an explicit viewport centre. */
dialog.cq-dialog.cq-intro[open]{position:fixed!important;inset:0!important;transform:none!important;translate:none!important;margin:0!important;padding:0!important;width:100vw!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;display:grid!important;place-items:center!important;align-content:center!important;justify-content:center!important;overflow:hidden!important}
dialog.cq-dialog.cq-intro>.cq-intro{position:relative!important;inset:auto!important;transform:none!important;translate:none!important;width:100vw!important;height:100dvh!important;min-height:0!important;display:block!important;margin:0!important;padding:0!important}
dialog.cq-dialog.cq-intro .cq-intro-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:50% 50%!important;margin:0!important;transform:none!important}
dialog.cq-dialog.cq-intro .cq-intro-controls{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:2;background:#0b2033ed;max-height:38dvh;overflow:auto}
@media(max-width:700px){.cq-join-code{font-size:32px!important}.cq-room-info [data-cq-room-code]{font-size:clamp(58px,12vw,110px)}}
