.live-page{font-size:17px;line-height:1.55}.live-page :where(main:not(.live-screen)) h1{font-weight:600;line-height:1.15;letter-spacing:-1.5px;font-size:46px}.live-page :where(main:not(.live-screen)) h2{font-size:25px;line-height:1.25;font-weight:600}.live-page header{display:flex;align-items:center;justify-content:space-between;gap:18px}.live-brand{font-weight:750;letter-spacing:5px;text-decoration:none;font-size:26px}.portal,.participant{max-width:620px;padding:60px 28px;margin:auto}.portal h1{font-size:56px;margin:70px 0 30px}.portal p,.muted,.session-title{color:var(--muted)}.live-page form{display:flex;flex-direction:column;gap:12px}.live-page input:not([type=checkbox]):not([type=radio]),.live-page textarea,.live-page select{font:inherit;border:1px solid #44536b;background:#101b2a;color:#fff;border-radius:7px;padding:15px;max-width:100%;width:100%}.live-page input:focus,.live-page textarea:focus,.live-page select:focus{outline:2px solid var(--ice);outline-offset:2px}.live-page button,.live-page .button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 20px;border:1px solid transparent;background:var(--ice);color:#08121a;font:inherit;font-weight:650;border-radius:7px;cursor:pointer;text-decoration:none}.live-page button.secondary,.live-page .button.secondary{background:#132235;color:#e1eefb;border-color:#38516c}.live-page button.quiet{background:transparent;color:var(--muted);min-height:40px;padding:8px 12px}.live-page button.danger{background:#41202b;color:#ffcad3;border-color:#80334b}.live-page button:disabled{opacity:.55;cursor:wait}.live-page label{font-size:16px}.check-label{display:flex;align-items:center;gap:12px}.live-page input[type=checkbox],.live-page input[type=radio]{width:24px;height:24px;accent-color:var(--ice);flex-shrink:0}.error,#action-message{color:#f7bf9b}.portal form{margin:30px 0 35px}.dashboard{max-width:1050px;padding:38px 28px 80px;margin:auto}.dashboard header{margin-bottom:70px}.dashboard header form{margin:0}.session-list{list-style:none;padding:0}.session-list li{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #26384e;padding:18px 0}.session-list h2{font-size:22px}.session-list p{color:var(--muted);font-size:15px}.create-session{max-width:650px;margin-top:60px}.presenter{max-width:900px;margin:auto;padding:24px 22px 100px}.presenter h1{font-size:30px;margin:34px 0}.presenter header{position:sticky;top:0;background:#080d16f5;padding:12px 0;z-index:5}.presenter #connection,.participant #connection{font-size:14px;color:var(--muted)}#timer{font-variant-numeric:tabular-nums;font-size:23px;color:var(--ice)}.slide-previews{display:grid;grid-template-columns:1fr 1fr;gap:16px}.slide-previews p{font-size:14px;color:var(--muted)}.slide-previews iframe{display:block;width:100%;aspect-ratio:16/9;border:1px solid #2b4059;background:#000;pointer-events:none}.nav-buttons{display:grid;grid-template-columns:1fr 1.6fr;gap:14px;margin:22px 0}.nav-buttons button{min-height:76px;font-size:25px}.secondary-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.secondary-actions button{font-size:16px}.presenter section,.presenter details{padding:26px 0;border-top:1px solid #26384e;margin-top:20px}.notes{font-size:17px;line-height:1.7;white-space:pre-wrap;color:#d2deed}.question-control{margin:18px 0;padding-bottom:20px;border-bottom:1px solid #1e2d40}.question-control p{margin:0 0 12px}.moderation-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #26384e}.join-details{display:flex;gap:22px;align-items:center;overflow-wrap:anywhere}.qr{background:#fff;padding:12px;width:180px;flex-shrink:0;line-height:0}.qr svg{display:block;width:100%;height:auto}.presenter #pair-code{display:block;font-size:26px;color:var(--ice);padding:20px 0}#slide-overview{display:flex;flex-direction:column;gap:8px;margin-top:20px}#slide-overview button{text-align:left;justify-content:flex-start;font-size:15px}#slide-overview [aria-current=true]{border-color:var(--ice);color:var(--ice)}summary{cursor:pointer;font-size:21px;min-height:44px}.participant{padding-top:30px}.participant h1{font-size:36px;margin:45px 0 30px}.session-title{font-size:16px;margin-top:40px}.answer-option{display:flex;align-items:center;gap:16px;min-height:65px;border:1px solid #344a65;border-radius:8px;padding:12px 16px;cursor:pointer}.participant #answer-message{color:var(--ice);white-space:pre-wrap}.participant #download{border-top:1px solid #344a65;margin-top:50px;padding-top:25px}.participant #submit-answer{margin-top:12px}.live-screen{position:fixed;inset:0;background:#000;overflow:hidden}.live-screen #screen-stage,.live-screen #screen-results{width:1920px;height:1080px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(var(--slide-scale));transform-origin:center;background:var(--bg)}.live-screen.is-blackout #screen-stage,.live-screen.is-blackout #screen-results{visibility:hidden}.screen-tools{position:fixed;bottom:18px;left:18px;right:18px;display:flex;gap:14px;align-items:center;opacity:0;pointer-events:none;z-index:8}.screen-tools button{font-size:15px;min-height:40px;background:#17273b;color:#fff}.show-tools .screen-tools,.screen-tools:focus-within,.disconnected .screen-tools{opacity:1;pointer-events:auto}.screen-tools #connection{font-size:15px;color:var(--muted)}.disconnected #connection{color:#f3bc8f}#screen-results{padding:100px 120px}#screen-results h2{font-size:66px;line-height:1.2;max-width:1600px;margin:0 0 20px}.result-denominator{font-size:22px;color:var(--muted)}#screen-results .result-denominator{font-size:30px}.empty-results{color:var(--muted);padding:100px 0;font-size:36px}.word-cloud{display:flex;flex-wrap:wrap;align-content:center;align-items:center;justify-content:center;gap:30px;min-height:300px}.cloud-word{color:var(--ice);line-height:1.25;overflow-wrap:anywhere;max-width:100%;display:inline-block}.live-screen .word-cloud{height:650px;overflow:hidden;gap:22px 42px}.live-screen .cloud-word{max-width:520px}.presenter .cloud-word{font-size:22px!important}.result-bars{display:flex;flex-direction:column;gap:24px;margin-top:30px}.result-bar{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:8px 25px}.result-bar p{margin:0}.bar-track{grid-column:1/-1;height:24px;background:#1b2b40;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:var(--ice);min-width:0;transition:width .3s}#screen-results .result-bar{font-size:42px}#screen-results .bar-track{height:44px}#screen-results .result-bars{gap:40px}.live-join-overlay{position:absolute;right:90px;bottom:70px;display:flex;gap:25px;align-items:center;background:#080d16f2;padding:22px 28px;max-width:850px;border:1px solid #30485f}.live-join-overlay p{font-size:28px;max-width:470px;overflow-wrap:anywhere}.live-join-overlay .qr{width:150px}.embed-page{background:#000;overflow:hidden}.embed-page .slide{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(var(--slide-scale))}.embed-page .reveal{opacity:1}.embed-page *{animation:none!important;transition:none!important}[hidden]{display:none!important}
@media(max-width:650px){.portal h1{font-size:44px}.presenter{padding:14px 16px 70px}.presenter header{gap:10px}.presenter .live-brand{font-size:21px}.presenter h1{font-size:25px}.slide-previews{gap:10px}.nav-buttons button{min-height:76px}.secondary-actions{gap:10px}.secondary-actions button{flex:1 1 42%;min-height:55px}.join-details{flex-direction:column;align-items:flex-start}.session-list li{align-items:flex-start;flex-direction:column}.participant h1{font-size:32px}.presenter #connection{font-size:12px;max-width:145px}.screen-tools{overflow-x:auto}.presenter .notes{font-size:16px}}
@media(prefers-reduced-motion:reduce){.bar-fill{transition:none}}
.live-screen .word-cloud{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));gap:12px;height:660px;align-items:center;justify-items:center}.live-screen .cloud-word{max-width:100%;text-align:center;line-height:1.15}
/* P0 library and append-only slide selection */
.library-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:24px}.library-card{padding:24px;border:1px solid #354358;border-radius:16px;background:#111c2b}.library-card ul{padding-left:22px;line-height:1.9}.library section{margin:48px 0}.library form{max-width:850px}.library .success{padding:18px;background:#153a36;border:1px solid #7ed9e7;border-radius:10px}.selection-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 0;background:#080d1fee}.selection-toolbar output{min-width:150px}.library #selection-list{list-style:none;padding:0;margin:12px 0 28px}.selection-row{display:grid;grid-template-columns:220px minmax(180px,1fr) auto;gap:18px;align-items:center;border:1px solid #354358;border-radius:12px;padding:14px;margin:12px 0}.selection-preview{width:220px;aspect-ratio:16/9;background:#000;overflow:hidden;border-radius:5px}.selection-preview iframe,.selection-preview img{border:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.selection-row .check-label{margin:0;align-items:center}.selection-row input[type=checkbox]{flex:none;width:24px;height:24px}.row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:240px}.row-actions button{min-width:44px;min-height:44px;padding:8px}.row-actions label{display:flex;align-items:center;gap:8px}.row-actions input{width:80px;margin:0}.in-reserve{border-style:dashed}.in-reserve .selection-preview{opacity:.55}.slide-pdf{background:#000}.pdf-page{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:700px){.selection-row{grid-template-columns:110px minmax(0,1fr);gap:12px}.selection-preview{width:110px}.selection-row .row-actions{grid-column:1/-1;max-width:none}.selection-toolbar{gap:8px}.selection-toolbar button{font-size:14px;padding:10px}.library h1{overflow-wrap:anywhere}}
.selection-row>*{min-width:0}.selection-row .check-label span{overflow-wrap:anywhere}.library input,.library select{min-width:0;max-width:100%}
.edit-slide-link{display:inline-block;margin:12px 0 0 36px;color:var(--ice);font-size:15px;min-height:32px}.text-editor{max-width:1440px}.text-editor header{margin-bottom:40px}.text-editor>h1{margin-bottom:20px}.text-editor>p{max-width:900px}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start;margin-top:38px}.editor-grid>*{min-width:0}.editor-preview{position:sticky;top:24px}.editor-preview iframe{display:block;width:100%;aspect-ratio:16/9;border:1px solid #3c526c;background:#000}.editor-preview h2{margin-top:0}.editor-preview p{font-size:15px;line-height:1.6}.text-editor form section{border:1px solid #304359;border-radius:12px;padding:24px;margin-bottom:24px}.text-editor form section h2{margin-top:0}.text-editor form label{display:block;margin-top:20px;color:#d1deeb}.text-editor textarea{display:block;margin-top:8px;resize:vertical;line-height:1.5;font-size:16px!important}.editor-save{position:sticky;bottom:0;z-index:3;display:flex;gap:12px;flex-wrap:wrap;padding:16px;background:#080d16f5;border-top:1px solid #35465b}.editor-save p{flex:1 1 100%;margin:0;font-size:15px;color:var(--ice)}.editor-history{border-top:1px solid #304359;padding-top:26px;margin:28px 0}.editor-history select{margin:15px 0;max-width:650px!important}.editor-history button{margin-left:12px}#pdf-status{color:var(--ice)}
.launch-projecting #launch-disconnect{opacity:1;pointer-events:auto}
@media(max-width:800px){.editor-grid{grid-template-columns:minmax(0,1fr);gap:22px}.editor-preview{position:static}.text-editor form section{padding:18px}.text-editor header{margin-bottom:30px}.text-editor .editor-save button{flex:1 1 100%}.editor-history button{margin-left:0}.text-editor h1{font-size:34px!important}.text-editor{padding:26px 20px 70px}}
/* QR-only landing; the parent remains mounted during projection. */
.launch-screen{width:100%;height:100vh;height:100dvh;margin:0;padding:24px;background:#000;overflow:hidden}#launch-waiting{width:100%;height:100%;display:grid;place-items:center}.launch-screen .qr{width:min(70vmin,520px);aspect-ratio:1;background:#fff}.launch-screen .qr:empty{visibility:hidden}.launch-screen .qr svg{display:block;width:100%;height:100%}.launch-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.launch-phone select{width:100%;min-width:0}.launch-phone h1{overflow-wrap:anywhere}.launch-projecting{overflow:hidden;background:#000}.launch-projecting .launch-screen{padding:0;max-width:none;width:100vw;height:100dvh}.launch-projecting #launch-projection{position:fixed;inset:0}.launch-projecting iframe{display:block;border:0;width:100%;height:100%}#launch-disconnect{position:fixed;top:14px;right:14px;z-index:20;opacity:0;pointer-events:none;font-size:14px;min-height:40px}.launch-tools #launch-disconnect,#launch-disconnect:focus-visible{opacity:1;pointer-events:auto}.login .check-label{margin-top:22px}.login .check-label input{flex:none;width:24px;height:24px}
