/* Participant routes render an app shell with no community/account navigation. */
html:has(body.classroom-player){overflow:hidden;scrollbar-gutter:auto}
body.classroom-player{margin:0;overflow:hidden}
body.classroom-player #app{min-height:100dvh}
body.classroom-player .classroom-player-main{margin:0;padding:0;max-width:none;outline:none}
body.classroom-player :is(.gai-launcher,.gai-panel,.page-art,.footer,.demo-label){display:none!important}
body.classroom-player>[data-netlify-deploy-id]{display:none!important}
.app-classroom.is-student{height:100dvh;max-width:none;padding:0;display:flex;flex-direction:column;overflow:auto}
.is-student .room-player-bar{flex:none;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 14px;background:var(--st-surface,#fff);border-bottom:1px solid var(--st-border,#dfe5ef)}
.room-player-bar>span,.room-player-bar>div{display:flex;align-items:center;gap:12px;min-width:0}
.room-player-bar b{font-size:13px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.room-player-bar small{font-size:10px;color:var(--st-muted,#6b7890)}
.is-student .room-student-grid{flex:1;display:block;min-height:0}
.is-student .room-stage{height:100%;min-height:0;border:0;border-radius:0}
.is-student .room-stage iframe{height:100%;min-height:0;width:100%;border:0}
.is-student :is(.room-announcement,.room-error){flex:none;margin:0;border-radius:0;padding:9px 16px;font-size:13px;max-height:120px;overflow:auto}
.room-activity-dialog{width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;margin:14px 14px 14px auto;border:1px solid var(--st-border,#dfe5ef);border-radius:18px;padding:14px;background:var(--st-bg,#f7f8fc);color:var(--st-ink,#1e304d)}
.room-activity-dialog::backdrop{background:#10182b88;backdrop-filter:blur(3px)}
.room-activity-close{margin:0 0 12px auto!important;display:flex!important}
.room-student-welcome{margin:clamp(25px,10vh,100px) auto 24px;text-align:center;padding:0 20px;max-width:480px}
.room-student-welcome h1{font-family:inherit;font-weight:800;font-size:28px;line-height:1.4;letter-spacing:-.04em;margin:18px 0 12px}
.room-student-welcome p{color:var(--st-muted,#6b7890);font-size:14px}
.room-welcome-symbol{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:18px;background:var(--st-accent-soft,#efebff);color:var(--room-accent)}
.room-welcome-symbol svg{width:25px;height:25px}
.is-student .room-join{width:min(430px,calc(100% - 32px));margin:0 auto 32px;flex:none}
.is-student>.room-error{width:min(430px,calc(100% - 32px));margin:12px auto;border-radius:10px}
.is-student .room-join h2{margin-bottom:4px}
.is-teacher .room-heading{margin:0 0 12px;align-items:center}
.is-teacher .room-heading>.btn{flex-shrink:0;white-space:nowrap}
.is-teacher .room-heading h1{font-family:inherit;font-size:clamp(22px,2.3vw,30px);font-weight:800;margin:8px 0}
.is-teacher .room-heading p{font-size:12px;margin:4px 0}
.is-teacher .room-statusbar{margin-bottom:14px}
.room-steps{display:flex;gap:4px;padding:5px;border:1px solid var(--st-border,#dfe5ef);border-radius:12px;background:var(--st-surface,#fff);max-width:740px;margin:20px 0}
.room-steps button{flex:1;display:flex;gap:8px;align-items:center;justify-content:center;border:0;border-radius:8px;padding:12px 8px;font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;cursor:pointer;background:transparent;color:var(--st-muted,#6b7890)}
.room-steps button[aria-pressed=true]{background:var(--st-accent-soft,#f0ebff);color:var(--st-accent,#6552bf)}
.room-steps button>span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;border:1px solid currentColor;font-size:11px}
.room-steps small{font-size:10px;font-weight:400}
.room-command-bar{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:0 0 20px;border-left:3px solid var(--room-accent);padding:8px 0 8px 18px}
.room-command-bar h2{font-family:inherit;font-weight:800;font-size:24px;line-height:1.4;margin:5px 0}
.room-command-bar p{font-size:13px;color:var(--st-muted,#6b7890);margin:5px 0;max-width:560px;line-height:1.7}
.room-command-bar .room-controls{margin:0;justify-content:flex-end;gap:8px;max-width:450px}
.room-command-bar .room-controls>.btn{min-height:44px;padding:10px 16px;font-weight:700}
.room-command-bar .room-controls>span{width:100%;text-align:right;font-size:11px;color:var(--st-muted,#6b7890)}
.is-teacher .room-metrics{gap:12px;margin:18px 0}
.is-teacher .room-metrics .room-card{padding:14px 20px;gap:12px;border-radius:12px}
.is-teacher .room-metrics strong{font-size:26px}
.is-teacher .room-teacher-grid{grid-template-columns:minmax(0,1fr) 280px;gap:18px}
.is-teacher .room-section-heading{margin:0 0 18px;align-items:flex-start}
.is-teacher .room-section-heading h2{font-family:inherit;font-weight:800;font-size:19px;line-height:1.5}
.room-student-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.room-student-card{min-width:0;display:grid;gap:12px;text-align:left;padding:16px;border:1px solid var(--st-border,#dfe5ef);background:var(--st-raised,#f8fafc);color:var(--st-ink,#1e304d);border-radius:12px;font-family:inherit;cursor:pointer;transition:border-color .15s,transform .15s}
.room-student-card:hover{border-color:var(--room-accent);transform:translateY(-2px)}
.room-student-card:focus-visible{outline:3px solid var(--room-accent);outline-offset:3px}
.room-student-card-top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.room-student-card-top b{font-size:14px;overflow-wrap:anywhere}
.room-student-card-top small{font-size:10px;color:var(--st-muted,#6b7890)}
.room-student-card>strong{font-size:18px;font-weight:750}
.room-student-card>span:last-child{font-size:11px;color:var(--st-muted,#6b7890)}
.room-student-card progress{max-width:none;margin:0;height:7px}
.room-student-card.is-complete{border-color:#42b18e}
.room-waiting-empty{grid-column:1/-1;text-align:center;padding:50px 20px;background:var(--st-raised,#f8fafc);border-radius:14px;border:1px dashed var(--st-border,#dfe5ef)}
.room-waiting-empty b{font-size:18px}.room-waiting-empty p{font-size:13px}
.room-teacher-notes h2{font-family:inherit;font-weight:750;font-size:17px}
.room-teacher-notes textarea{height:120px;min-height:90px;font-size:13px}
.room-teacher-notes .room-help{font-size:11px!important}
.app-classroom [hidden]{display:none!important}
.app-classroom:fullscreen{background:var(--st-bg,#f7f8fc);max-width:none;width:100%;height:100%;overflow:auto}
@media(min-width:1400px){.room-student-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.room-command-bar{align-items:flex-start;flex-direction:column}.room-command-bar .room-controls{justify-content:flex-start;max-width:none}.room-command-bar .room-controls>span{text-align:left}.is-teacher .room-teacher-grid{grid-template-columns:1fr}.room-teacher-notes{max-width:none}.room-student-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.room-steps{margin:14px 0}.room-steps small{display:none}.room-steps button{font-size:12px;padding:10px 3px;gap:5px}.room-command-bar h2{font-size:21px}.room-command-bar p{font-size:12px}.room-student-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.room-student-card{padding:12px}.room-player-bar #room-connection,.room-player-bar #room-status{display:none}.room-player-bar>div{gap:5px}.room-player-bar .btn{font-size:11px;padding:7px 9px}.is-teacher .room-metrics .room-card{padding:12px}.room-activity-dialog{margin:10px;max-height:calc(100dvh - 20px);width:calc(100vw - 20px)}.room-command-bar .room-controls>.btn{font-size:12px;padding:9px 12px}}
