/* Scoped strictly to the projector page; approved teacher workspace is untouched. */
html.hq-compact-display{--hq-display-bar-height:58px}
html.hq-compact-display .board-topbar,html.hq-compact-display #hqCastViewerResources,html.hq-compact-display .resource-viewer-hud{display:none!important}
html.hq-compact-display .student-display-tools:not([hidden]){position:fixed!important;inset:0 0 auto!important;width:100%!important;max-width:none!important;box-sizing:border-box;min-height:58px;padding:6px 12px!important;display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:10px!important;background:#fff;border-bottom:2px solid #e6ddf8;box-shadow:0 2px 9px #31116d0a;color:#32155c}
html.hq-compact-display .board-clock-wrap{flex:0 0 auto;display:flex;flex-direction:column;gap:0;min-width:82px}
html.hq-compact-display .board-clock{font-size:21px!important;line-height:1.1!important;letter-spacing:-.03em}
html.hq-compact-display .board-date{font-size:10px!important;line-height:1.2!important;white-space:nowrap}
html.hq-compact-display #hqCastBoardResources:not([hidden]){flex:1 1 120px;min-width:0;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:none!important;gap:0!important}
html.hq-compact-display .hq-cast-resource-label{display:none!important}
html.hq-compact-display .hq-cast-resource-list{gap:5px!important;min-width:0;overflow-x:auto;scrollbar-width:thin}
html.hq-compact-display .hq-cast-resource-link{min-height:40px!important;max-width:230px;font-size:13px!important;padding:7px 11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.hq-compact-display .student-cast-timer{position:static;flex:0 0 auto;min-height:0!important;margin:0!important;padding:0 0 0 9px!important;gap:4px!important;background:none!important;border:0!important;border-left:1px solid #e6ddf8!important;border-radius:0!important;box-shadow:none!important;width:auto!important}
html.hq-compact-display .student-cast-timer-readout{font-size:18px!important;min-width:50px!important}
html.hq-compact-display .student-display-tools button,html.hq-compact-display .hq-display-more summary{min-height:40px!important;font-size:12px!important;padding:7px 10px!important;white-space:nowrap}
html.hq-compact-display #castTimerStart{min-width:69px!important}
html.hq-compact-display #studentCastHelp{border:0!important;background:none!important;color:#5b21b6!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:3px;padding:7px 2px!important}
html.hq-compact-display .hq-display-more{position:relative;flex:0 0 auto}
html.hq-compact-display .hq-display-more summary{box-sizing:border-box;display:flex;align-items:center;gap:6px;list-style:none;border:1px solid #ddd6ee;border-radius:10px;background:#f7f4fc;font-weight:800;cursor:pointer}
html.hq-compact-display .hq-display-more summary::after{content:'⌄'}
html.hq-compact-display .hq-display-more summary::-webkit-details-marker{display:none}
html.hq-compact-display .hq-display-options{position:absolute;right:0;top:calc(100% + 9px);min-width:180px;display:grid;gap:6px;padding:10px;border:1px solid #ded4f3;border-radius:14px;background:#fff;box-shadow:0 10px 30px #20113d30}
html.hq-compact-display .hq-display-options button{position:static!important;display:block!important;width:100%;border:1px solid #ddd6ee;border-radius:9px;background:#f7f4fc;color:#421b73;font-weight:800;cursor:pointer}
html.hq-compact-display .student-cast-time-panel{position:fixed!important;top:calc(var(--hq-display-bar-height) + 7px)!important;bottom:auto!important;right:12px!important;z-index:3;max-width:calc(100vw - 24px)}
html.hq-compact-display .teacher-preview-canvas{padding-top:var(--hq-display-bar-height)!important;box-sizing:border-box!important}
html.hq-compact-display .board-main{padding-bottom:16px!important}
html.hq-compact-display .resource-viewer{top:var(--hq-display-bar-height)!important}
html.hq-compact-display .resource-viewer-panel{height:calc(100dvh - var(--hq-display-bar-height))!important}
html.hq-compact-display .resource-viewer-head{padding:5px 12px!important;min-height:34px;box-sizing:border-box}
html.hq-compact-display .resource-viewer-icon{width:26px;height:26px;font-size:15px;border-radius:7px}
html.hq-compact-display .resource-viewer-kind{display:none}
html.hq-compact-display .resource-viewer-title-wrap h2{font-size:14px!important;margin:0!important}
html.hq-compact-display .student-display-tools :focus-visible{outline:3px solid #0891b2;outline-offset:2px}
@media(max-width:900px){
 html.hq-compact-display .student-display-tools:not([hidden]){flex-wrap:wrap!important;gap:5px 9px!important;padding:5px 10px!important}
 html.hq-compact-display #hqCastBoardResources:not([hidden]){order:5;flex:1 0 100%;width:100%}
 html.hq-compact-display .board-clock-wrap{margin-right:auto}
 html.hq-compact-display .student-display-tools button,html.hq-compact-display .hq-display-more summary,html.hq-compact-display .hq-cast-resource-link{min-height:44px!important}
 html.hq-compact-display .hq-cast-resource-link{max-width:220px}
}
@media(max-width:440px){html.hq-compact-display .student-display-tools:not([hidden]){gap:4px!important;padding:5px!important}html.hq-compact-display .board-clock{font-size:17px!important}html.hq-compact-display .board-clock-wrap{min-width:66px}html.hq-compact-display .board-date{font-size:8px!important}html.hq-compact-display #castTimerAdd{display:none}html.hq-compact-display .student-display-tools button,html.hq-compact-display .hq-display-more summary{font-size:11px!important;padding:5px 7px!important}}
html.hq-compact-display,html.hq-compact-display body{overflow:hidden!important;height:100%;margin:0!important}
html.hq-compact-display .screen-board{box-sizing:border-box!important;border:0!important;width:100%!important;max-width:100%!important}
html.hq-compact-display .teacher-preview-canvas{width:100%!important;max-width:100%!important}
html.hq-compact-display #studentDisplayTools>.student-cast-timer:first-of-type{margin-left:auto!important}
