*{box-sizing:border-box}body{margin:0;background:#f2f6f5;color:#193247;font-family:system-ui,-apple-system,"Noto Sans KR",sans-serif;line-height:1.65}a{color:#215e78}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}.q-header{padding:22px 5%;display:flex;justify-content:space-between;background:white;border-bottom:1px solid #d8e3e6}.q-header a{font-size:22px;font-weight:800;text-decoration:none}.q-header small{font-size:14px;color:#6d7c87}.q-header span{font-size:14px;color:#697b85}.submit-wrap{max-width:760px;padding:38px 20px;margin:auto}.eyebrow{color:#286d74;font-size:14px;font-weight:800;letter-spacing:1px}h1{font-size:clamp(30px,4vw,42px);line-height:1.35;margin:10px 0 20px;letter-spacing:-1px}h2{font-size:22px}.lead{color:#526b77;font-size:18px}.panel{background:#fff;border:1px solid #d7e3e5;border-radius:16px;padding:26px;margin:24px 0}label{display:block;font-weight:700;margin:12px 0 8px}input,select,textarea{width:100%;border:1px solid #b4c6cd;border-radius:8px;padding:13px;background:white;color:#193247;min-height:48px}textarea{resize:vertical;font-size:18px}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #52a2c5;outline-offset:3px}.count{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#657984}.notice{font-size:14px;color:#5d7380;margin:20px 0}.muted{color:#6c7e88;font-size:14px}.primary,.secondary{border:1px solid transparent;border-radius:8px;min-height:48px;padding:12px 18px;font-weight:750}.primary{background:#193c56;color:#fff}.secondary{background:#fff;color:#193c56;border-color:#b9ccd3}.link-button{display:inline-block;text-decoration:none}#submit-button{width:100%;background:#b2e68a;color:#163b36;font-size:19px}.back{display:block;text-align:center;margin:28px}.trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.success-mark{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#e6f6db;color:#296233;font-size:26px}#status{color:#8a4b19}#status:empty{display:none}.admin-wrap{max-width:1280px;margin:auto;padding:28px}.admin-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.current{border-left:5px solid #2b7b6d}.filters{display:flex;gap:18px;align-items:end}.filters label{flex:1}.question-item{background:white;border:1px solid #d7e3e5;border-radius:12px;padding:22px;margin:16px 0}.question-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:#617b87}.question-body{font-size:21px;white-space:pre-wrap;overflow-wrap:anywhere}.question-actions{display:flex;flex-wrap:wrap;gap:10px}.question-item.active{border:2px solid #2b7b6d}.qr-admin{display:flex;gap:24px;align-items:center}.qr-admin img{width:170px}.stage{min-height:100dvh;background:#102d44;color:white;padding:4vh 5vw;display:flex;flex-direction:column}.stage header,.stage footer{display:flex;align-items:center;justify-content:space-between;gap:20px}.stage header{font-size:clamp(18px,2vw,30px);font-weight:800}.stage-body{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 23%;gap:6vw;align-items:center;padding:5vh 0}.stage-question h1{font-size:clamp(30px,4.6vw,76px);line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;color:white}.stage-question.long h1{font-size:clamp(22px,2.6vw,44px)}.stage-tag{color:#b2e68a;font-weight:800;font-size:clamp(16px,1.7vw,25px)}#screen-note{font-size:clamp(16px,1.8vw,27px);color:#c3d6df}.qr-frame{padding:14px;background:white;border-radius:16px}.qr-frame img{width:100%;display:block}.stage aside{text-align:center}.stage aside p,.stage aside span{font-size:clamp(13px,1.2vw,20px);color:#cfdee4}.stage footer{font-size:14px;color:#b5cbd6}.screen-control{background:transparent;border:1px solid #607b90;color:#ccdae4;border-radius:5px;padding:8px 14px;font-size:14px}.screen-control:hover{background:#294c66}.stage:fullscreen .screen-control{opacity:0}.stage:fullscreen .screen-control:hover{opacity:1}@media(max-width:600px){.q-header span{display:none}.q-header{padding:18px 20px}.panel{padding:20px}.submit-wrap{padding-top:24px}.admin-wrap{padding:20px}.admin-top,.filters,.qr-admin{display:block}.controls button{flex:1}.question-actions button{flex:1}.count{flex-wrap:wrap}.stage{padding:24px}.stage-body{grid-template-columns:1fr;gap:24px}.stage aside{max-width:170px;margin:auto}.stage footer{font-size:12px}.stage-question h1{font-size:30px}.stage-question.long h1{font-size:23px}}

/* Keep the question topic level with the QR artwork on presentation screens. */
.stage header{gap:clamp(24px,3vw,56px)}
.stage-message{flex:1;margin:0;color:#b2e68a;font-size:clamp(24px,2.5vw,42px);font-weight:800;line-height:1.4;letter-spacing:-.04em;word-break:keep-all}
.stage-body{align-items:start}
.stage-question{padding-top:14px}
.stage-tag{margin:0 0 20px;line-height:1.4}
.stage footer{justify-content:flex-end}
@media(max-width:600px){
.stage header{flex-wrap:wrap;gap:16px}
.stage-message{order:3;flex-basis:100%;font-size:24px}
.stage-message br{display:none}
.stage .screen-control{margin-left:auto}
.stage-question{padding-top:0}
}

/* Calm live question wall: real questions first, topic clusters second. */
.stage{position:relative}
.stage-body{flex:1 0 auto;padding:4vh 0 2vh}
.stage-question{position:relative;min-width:0}
.stage-mode{font-size:clamp(13px,1.1vw,18px);color:#9dbacb;margin:0 0 14px;letter-spacing:.04em}
.stage-tag{margin-bottom:12px}
.stage-question h1{font-size:clamp(30px,3.7vw,64px);line-height:1.45;margin:12px 0 24px}
.stage-question.long h1{font-size:clamp(24px,2.5vw,40px)}
.stage-question.very-long h1{font-size:clamp(22px,2vw,32px);line-height:1.5}
.stage-invite{font-size:clamp(16px,1.4vw,23px);color:#c3d6df;margin:20px 0 0}
.stage-position{font-size:14px;color:#9dbacb;min-height:24px;margin:10px 0}
.arrival{min-height:28px;margin:12px 0 0!important;color:#b2e68a!important;font-weight:700}
.stage aside h2{margin:4px 0 12px}
.stage footer:has(#connection:empty){min-height:0}
@media(max-width:600px){.stage-body{padding-top:24px}.stage-question h1{font-size:30px}.stage-question.long h1,.stage-question.very-long h1{font-size:23px}.shared-concerns{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.stage *{animation:none!important;transition:none!important}}
.stage-mode{position:absolute;top:-16px;left:0;margin:0;font-size:13px}
.stage-question h1{word-break:keep-all;overflow-wrap:anywhere}

/* A single-line headline and stable question layout for the venue screen. */
@font-face{font-family:ForumHeadline;src:url('/assets/forum-headline.woff') format('woff');font-weight:700 900;font-display:swap}
.stage header{position:relative;display:grid;grid-template-columns:22% minmax(0,1fr);gap:3vw;align-items:center;padding:0 0 2vh;border-bottom:1px solid #ffffff26}
.stage .forum-stage-logo{width:100%;max-width:none}
.stage .stage-message{font-family:ForumHeadline,'Noto Sans KR','Malgun Gothic',sans-serif;font-size:clamp(24px,3.05vw,72px);font-weight:800;line-height:1.3;white-space:nowrap;letter-spacing:-.055em;color:#b2e68a;order:initial;margin:0}
.stage .screen-control{position:fixed;right:12px;bottom:10px;z-index:2;opacity:.35;font-size:12px}
.stage .screen-control:hover,.stage .screen-control:focus-visible{opacity:1}
.question-previews{border-top:1px solid #ffffff26;padding:18px 0 10px}
.question-previews h2{font-size:clamp(16px,1.25vw,24px);font-weight:500;color:#9dbacb;margin:0 0 12px}
#preview-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3vw}
#preview-list article{border-left:3px solid #4c7687;padding-left:18px;min-width:0}
.preview-topic{font-size:clamp(14px,1.15vw,22px);color:#b2e68a;margin:0 0 6px}
.preview-body{font-size:clamp(18px,1.6vw,30px);line-height:1.5;color:#e8f1f5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:900px){.stage .stage-message{font-size:3.05vw}}
/* Participant Q&A: generous touch targets and stable reading order. */
[hidden]{display:none!important}
.participant-tabs{display:flex;gap:12px;margin:24px 0}.participant-tabs button{flex:1;min-height:56px}.participant-tabs button[aria-pressed=true]{background:#193d53;color:white}
.question-starters{border:0;padding:0;margin:22px 0}.question-starters button{margin:6px 6px 0 0;padding:10px 14px;font-size:16px}.question-starters legend{font-weight:700}
.browse-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.browse-filters label{flex:1;min-width:150px}.public-question{background:#fff;border:1px solid #ccdadf;border-radius:16px;padding:24px;margin:18px 0}.public-question p{white-space:pre-wrap;overflow-wrap:anywhere}.public-question button{min-height:48px}.public-question button[aria-pressed=true]{background:#e1f2e3;color:#175735}.public-question.answered{background:#f2f5f6}.public-question .question-body{font-size:21px;line-height:1.7}
#stage-topics{display:grid;gap:16px;margin:16px 0}.stage-list-card{border:1px solid #476373;background:#183448;border-radius:16px;padding:20px 26px}.stage-card-topic{font-size:20px;color:#b2e68a;margin:0 0 10px}.stage-card-body{font-size:clamp(24px,2vw,38px);line-height:1.4;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}.stage-card-count{font-size:18px;color:#bad2de;margin:12px 0 0}.stage-votes{font-size:24px;color:#b2e68a}.stage:not(.answer-mode) .stage-question{padding-top:0}.stage-mode{margin-top:0}
@media(max-width:600px){.public-question{padding:20px 16px}.participant-tabs{gap:8px}.participant-tabs button{padding:12px 8px;font-size:18px}.browse-filters{display:block}.browse-filters label{display:block;margin-bottom:14px}}
.participant-tabs button,.question-starters button,.empathy{border:1px solid #bdd0d5;border-radius:10px;background:white;color:#193c56;font-weight:700}.public-meta{font-size:15px;color:#286d74;font-weight:700}.public-body{font-size:21px;line-height:1.65}.public-actions,.browse-summary{display:flex;justify-content:space-between;align-items:center;gap:12px}.empathy{padding:10px 16px}.answer-status{font-size:15px;color:#526b77}
.stage-mode{top:-24px;font-size:18px}#stage-topics{margin-top:0}.stage-card-body{-webkit-line-clamp:2}.stage-list-card{padding:18px 24px}
/* Compact question-list controls, including narrow mobile screens. */
.browse-topic-row{display:flex;align-items:center;gap:12px;margin:12px 0}.browse-topic-row label{flex:none;white-space:nowrap;margin:0;font-size:16px}.browse-topic-row select{flex:1;min-width:0;width:0;padding:10px 30px 10px 12px;font-size:16px;text-overflow:ellipsis}
.browse-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;margin:12px 0}.browse-toolbar #browse-total{margin-right:auto;white-space:nowrap;font-size:16px;color:#526b77}.sort-switch{display:flex;flex:none;padding:3px;border:1px solid #d5e0e5;border-radius:10px;background:white}.sort-switch button{border:0;border-radius:7px;padding:8px 12px;min-height:42px;white-space:nowrap;background:transparent;color:#637581;font-size:16px;font-weight:700}.sort-switch button[aria-pressed=true]{background:#eaf0f3;color:#193247}.refresh-icon{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:48px;border:1px solid #c6d6dc;border-radius:10px;background:white;color:#193c56;padding:0}.refresh-dot{position:absolute;width:8px;height:8px;border-radius:50%;background:#258350;right:6px;top:6px}#browse-status:empty{display:none}.browsing-questions .submit-wrap>h1{font-size:26px;margin:0 0 12px}.browsing-questions .submit-wrap>h1 br{display:none}.browsing-questions .submit-wrap>.lead,.browsing-questions .submit-wrap>.eyebrow{display:none}.browsing-questions .submit-wrap{padding-top:20px}.browsing-questions .participant-tabs{margin:12px 0}.browsing-questions #browse-view>.lead{font-size:16px;margin:12px 0}.browsing-questions .public-question{margin:12px 0;padding:16px 18px}.browsing-questions .public-meta{margin:0 0 8px}.browsing-questions .public-body{margin:8px 0 12px;font-size:19px;line-height:1.6}
@media(max-width:380px){.browse-toolbar{gap:5px}.browse-toolbar #browse-total{font-size:14px}.sort-switch button{padding:8px;font-size:14px}.refresh-icon{flex-basis:40px;width:40px}.browsing-questions .submit-wrap{padding-left:16px;padding-right:16px}}

.browsing-questions .submit-wrap>h1{word-break:keep-all}

.question-actions .danger{color:#a42525;border-color:#d8aaaa;background:#fff7f7}.question-actions .danger:hover{background:#fce7e7}

.affiliation-badge{display:inline-block;font-size:.78em;font-weight:500;line-height:1.4;border-radius:7px;background:#e3ebef;color:#334b5c;padding:5px 10px;margin-left:12px;vertical-align:middle}.stage .affiliation-badge{background:#29394c;color:#dce7f0;font-size:20px}.stage-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.stage-meta .stage-tag{margin:0}.stage-meta .affiliation-badge{margin:0}.stage-card-count,.stage-votes{text-align:right;border-top:1px solid #ffffff25;padding-top:12px;color:#83d6ad}.identity-fields{margin:20px 0}.identity-fields input{width:100%;font:inherit;padding:12px;border:1px solid #b9cbd4;border-radius:10px}.identity-fields label{margin-top:12px}

/* Compact entry: the complete default form fits a mobile viewport. */
body[data-page="participant"] .q-header{min-height:54px;padding:5px 16px}
body[data-page="participant"] .submit-wrap{max-width:620px;padding:12px 16px}
body[data-page="participant"] .submit-wrap>h1{font-size:22px;line-height:1.3;margin:0 0 10px}
body[data-page="participant"] .participant-tabs{margin:0 0 10px;gap:8px}
body[data-page="participant"] .participant-tabs button{min-height:40px;padding:7px 10px;font-size:15px;line-height:1.4}
#question-form.panel{margin:0;padding:16px;border-radius:14px;line-height:1.4}
#question-form label{font-size:15px;margin:0 0 5px}
#question-form input,#question-form select{font-size:16px;height:42px;min-height:42px;padding:8px 10px;border-radius:8px;min-width:0}
#question-form .identity-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:10px;margin:12px 0}
#question-form .identity-fields label{margin:0 0 5px}
#question-form .question-starters{margin:0 0 12px;padding:0;border:0;min-width:0}
#question-form .question-starters legend{font-size:14px;margin:0 0 5px;padding:0;font-weight:700}
#question-form .question-starters>div{display:flex;gap:6px}
#question-form .question-starters button{flex:1;white-space:nowrap;margin:0;font-size:13px;min-height:36px;padding:7px 5px;border-radius:8px}
#question-form #starter-note{font-size:12px;margin:6px 0 0}
#question-form #starter-note:empty{display:none}
#question-form textarea{display:block;font-size:16px;line-height:1.5;height:90px;min-height:90px;padding:10px}
#question-form .count{flex-wrap:nowrap;font-size:10px;gap:4px;margin-top:4px}
#question-form .count span:last-child{white-space:nowrap}
.privacy-short{font-size:12px;color:#617580;margin:8px 0 2px}
.question-info{font-size:12px;color:#617580;margin:0 0 10px}.question-info summary{cursor:pointer}.question-info p{margin:8px 0}
#question-form #submit-button{font-size:16px;min-height:42px;padding:9px 14px;line-height:1.4;background:#193c56;color:white}
body[data-page="participant"] .back{font-size:12px;margin:10px 0 0}
@media(max-width:360px){body[data-page="participant"] .submit-wrap{padding:10px 12px}#question-form.panel{padding:12px}#question-form .identity-fields select{padding-left:5px}#question-form .question-starters button{font-size:12px}}
@media(max-width:600px) and (max-height:700px){
body[data-page="participant"] .q-header{min-height:44px;padding:0 16px}
body[data-page="participant"] .submit-wrap{padding-top:8px}
body[data-page="participant"] .submit-wrap>h1{font-size:20px;margin-bottom:6px}
body[data-page="participant"] .participant-tabs{margin-bottom:6px}
body[data-page="participant"] .participant-tabs button{min-height:36px;padding:5px 8px}
#question-form.panel{padding:12px}
#question-form .identity-fields{margin:8px 0}
#question-form .question-starters{margin-bottom:8px}
#question-form textarea{height:72px;min-height:72px}
#question-form .privacy-short{margin-top:5px}
#question-form .question-info{margin-bottom:6px}
}

/* Keep four complete text lines visible, including on short phones. */
#question-form textarea{height:118px;min-height:118px;line-height:24px;padding:10px}
.question-input-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}
#question-form .question-input-heading label{margin:0}
.question-input-heading>div{display:flex;gap:8px}
.question-input-heading button{border:0;background:transparent;color:#42677a;font-size:12px;padding:5px 0;min-height:28px}
.question-input-heading button:disabled{color:#8a979e;cursor:default}
#question-form #starter-note{font-size:11px;line-height:1.4}

/* Mobile topic picker, progressively enhanced from the desktop select. */
.topic-picker-trigger{display:none}
.topic-sheet{border:0;padding:0;color:#193247;background:#fff;max-width:none;max-height:none;box-shadow:0 -8px 40px #102d4430}
.topic-sheet::backdrop{background:#102d4470}
.topic-sheet-open{overflow:hidden}
.topic-sheet[open]{display:flex;flex-direction:column;position:fixed;inset:auto 0 0;width:100%;height:72dvh;margin:0;border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}
.topic-sheet-head{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:20px 20px 14px;flex:none;border-bottom:1px solid #e3eaee}
.topic-sheet-head h2{font-size:20px;line-height:1.4;margin:0 0 5px}
.topic-sheet-head p{font-size:14px;line-height:1.5;margin:0;color:#617580}
.topic-sheet-close{min-width:48px;min-height:48px;padding:8px;border:1px solid #c9d7de;border-radius:8px;background:white;color:#193247;font-size:14px}
.topic-sheet-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:6px 16px;scrollbar-width:thin}
.topic-sheet-list.has-more{mask-image:linear-gradient(to bottom,#000 calc(100% - 22px),transparent)}
.topic-sheet-list button{display:block;width:100%;min-height:52px;border:0;border-bottom:1px solid #e7edf0;border-radius:0;background:white;text-align:left;color:#193247;font-size:16px;line-height:1.5;padding:12px 8px;word-break:keep-all;overflow-wrap:anywhere}
.topic-sheet-list button[aria-pressed=true]{color:#185b44;background:#eaf5ee;font-weight:750;border-radius:8px}
.topic-sheet-hint{flex:none;text-align:center;padding:10px 12px;font-size:13px;line-height:1.4;color:#486879;background:#f4f8f7}
@media(max-width:600px){
.mobile-topic-native{display:none!important}
.topic-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:42px;text-align:left;padding:8px 10px;border:1px solid #b4c6cd;border-radius:8px;background:white;color:#193247;font-size:16px;line-height:1.5;word-break:keep-all}
.topic-picker-trigger:after{content:'⌄';flex:none;font-size:20px;line-height:1}
.browse-topic-row .topic-picker-trigger{flex:1;min-width:0;width:0}
}

/* Arrival cue stays outside the stationary, scannable QR image. */
.qr-frame{position:relative}
.qr-frame::after{content:"";position:absolute;inset:-3px;border:3px solid #b2e68a;border-radius:19px;pointer-events:none;opacity:0}
.qr-frame.question-arrived::after{animation:question-arrival-glow 3s ease-out 1}
@keyframes question-arrival-glow{0%{opacity:0;box-shadow:0 0 0 0 #b2e68a00}20%{opacity:1;box-shadow:0 0 20px 5px #b2e68a88}100%{opacity:0;box-shadow:0 0 38px 18px #b2e68a00}}
@media(prefers-reduced-motion:reduce){.qr-frame.question-arrived::after{animation:none;opacity:1;box-shadow:0 0 0 3px #b2e68a55}}

/* Venue projection: heading clearance and a local Korean bold font. */
@font-face{font-family:ForumScreen;src:url('/assets/forum-screen-bold.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
body[data-page="screen"] .stage{padding-top:2vh;padding-bottom:2vh}
.stage header{grid-template-columns:20% minmax(0,1fr);padding-bottom:1.5vh}
.stage-body{padding-top:2vh}
.stage .stage-mode{position:static;margin:0 0 18px;font-size:24px;font-weight:700;line-height:1.4;letter-spacing:0;color:#d4e4ec}
.stage-body>aside{padding-top:51.6px}
.stage .stage-card-body,.stage-question h1{font-family:ForumScreen,'Noto Sans KR','Malgun Gothic',sans-serif;font-weight:700;letter-spacing:-.015em;word-break:keep-all;overflow-wrap:anywhere;text-align:left}
.stage .stage-card-body{font-size:clamp(26px,2vw,42px);line-height:1.4;color:#fff}
.stage-card-topic,.stage .stage-mode,.stage-card-count,.stage .affiliation-badge{font-family:ForumScreen,'Noto Sans KR','Malgun Gothic',sans-serif;font-weight:700;letter-spacing:0}
.stage-card-topic{font-size:22px}
@media(max-width:600px){.stage-body>aside{padding-top:0}.stage .stage-mode{font-size:20px;margin-bottom:16px}.stage-card-topic{font-size:18px}}

/* Admin-only vote adjustment; keep targets comfortable on phones. */
.admin-vote-editor{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:16px 0;padding:12px;background:#f1f5f7;border-radius:10px}
.admin-vote-editor label{font-weight:700}
.admin-vote-editor input{width:110px;min-height:44px;padding:8px 10px;border:1px solid #b8c9d2;border-radius:8px;font:inherit;background:#fff;color:#19384b}
.admin-vote-editor button{min-height:44px}
.vote-save-message{font-size:14px;color:#365c4c}

/* Dense operator workspace; participant and venue screens stay independent. */
body[data-page="admin"]{line-height:1.45}
body[data-page="admin"] .q-header{min-height:56px;padding:4px 24px}
body[data-page="admin"] .admin-wrap{max-width:1600px;padding:12px 24px}
body[data-page="admin"] .admin-top{gap:12px}
body[data-page="admin"] h1{font-size:24px;line-height:1.3;margin:0}
body[data-page="admin"] .primary,body[data-page="admin"] .secondary{min-height:32px;padding:5px 10px;font-size:13px;border-radius:6px;line-height:1.4}
body[data-page="admin"] .panel{padding:10px 12px;margin:10px 0;border-radius:8px}
body[data-page="admin"] .controls{gap:8px}
body[data-page="admin"] .current{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
body[data-page="admin"] .current .eyebrow{font-size:12px;letter-spacing:0;white-space:nowrap}
body[data-page="admin"] #current-question{flex:1;min-width:200px;margin:0;font-size:14px}
body[data-page="admin"] .admin-help{font-size:12px}
body[data-page="admin"] .admin-help summary{cursor:pointer;color:#486575}
body[data-page="admin"] .admin-help[open]{flex-basis:100%}
body[data-page="admin"] .admin-help p{margin:6px 0 0}
body[data-page="admin"] .filters{display:grid;grid-template-columns:140px minmax(200px,1fr) minmax(180px,1fr) 120px auto;gap:10px;align-items:end}
body[data-page="admin"] .filters label{margin:0;font-size:12px}
body[data-page="admin"] .filters input,body[data-page="admin"] .filters select{min-height:34px;padding:5px 8px;font-size:14px;margin-top:3px}
body[data-page="admin"] #total{font-size:13px;white-space:nowrap;padding-bottom:8px}
body[data-page="admin"] .question-item{padding:10px 12px;margin:8px 0;border-radius:8px}
body[data-page="admin"] .question-meta{font-size:12px;line-height:1.4;gap:6px}
body[data-page="admin"] .question-body{font-size:17px;line-height:1.45;margin:7px 0 9px}
body[data-page="admin"] .question-actions{gap:6px;align-items:center}
body[data-page="admin"] .admin-vote-editor{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 0 4px;padding:0;background:none;border-radius:0}
body[data-page="admin"] .admin-vote-editor label{font-size:13px;margin:0}
body[data-page="admin"] .admin-vote-editor input{width:76px;min-height:32px;height:32px;padding:4px 6px;font-size:14px}
body[data-page="admin"] .vote-save-message{font-size:12px}
body[data-page="admin"] #status{margin:6px 0;font-size:13px}
body[data-page="admin"] .qr-admin img{width:100px}
body[data-page="admin"] .qr-admin h2{font-size:16px;margin:0 0 4px}
@media(max-width:800px){
 body[data-page="admin"] .filters{grid-template-columns:1fr 1fr}
 body[data-page="admin"] .filters #total{grid-column:1/-1;padding:0}
}
@media(max-width:600px){
 body[data-page="admin"] .q-header{padding:3px 12px;min-height:50px}
 body[data-page="admin"] .admin-wrap{padding:10px}
 body[data-page="admin"] .admin-top{display:flex}
 body[data-page="admin"] h1{font-size:21px}
 body[data-page="admin"] .controls button,body[data-page="admin"] .question-actions button{flex:none;min-height:36px}
 body[data-page="admin"] .admin-vote-editor input{height:36px}
 body[data-page="admin"] .question-body{font-size:16px}
}

body[data-page="admin"] .admin-body-editor{margin:8px 0}
body[data-page="admin"] .admin-body-editor label{font-size:13px;margin:0 0 5px}
body[data-page="admin"] .admin-body-editor textarea{font-size:16px;line-height:1.5;padding:8px;min-height:114px;margin-bottom:6px}
body[data-page="admin"] .body-save-message{display:block;color:#365c4c;font-size:13px;margin:4px 0}
body[data-page="admin"] .body-save-message:empty{display:none}

body[data-page="admin"] #floor-screen[aria-pressed="true"]{background:#193c56;color:#fff;border-color:#193c56}

.stage.floor-mode .stage-question{min-height:0}
.stage.floor-mode #floor-question h1{font-family:ForumScreen,'Noto Sans KR',sans-serif;font-weight:700;font-size:clamp(36px,3.4vw,66px);line-height:1.4;margin:24px 0 32px;color:#fff}
.stage.floor-mode #floor-question p{font-size:clamp(24px,2.1vw,40px);line-height:1.7;color:#e0edf4;margin:20px 0}
.stage.floor-mode #floor-question .floor-detail{font-size:clamp(20px,1.65vw,32px);color:#b2e68a;margin-top:32px}




/* Match the left presentation area across live-answer and floor-question modes.
   Deliberately leave the QR column and its captions untouched. */
.stage.answer-mode .stage-question,
.stage.floor-mode .stage-question{align-self:start;padding-top:14px}
.stage.floor-mode #floor-question h1{
 font-family:ForumScreen,'Noto Sans KR','Malgun Gothic',sans-serif;
 font-size:clamp(30px,3.7vw,64px);font-weight:700;line-height:1.45;
 letter-spacing:-.015em;margin:12px 0 24px;padding-bottom:24px;
 border-bottom:1px solid #ffffff25;
}
.stage.floor-mode #floor-question p{
 font-family:ForumScreen,'Noto Sans KR','Malgun Gothic',sans-serif;
 font-size:clamp(24px,2.5vw,40px);font-weight:700;line-height:1.5;
 letter-spacing:-.015em;margin:24px 0;word-break:keep-all;
}
.stage.floor-mode #floor-question .floor-detail{
 font-size:24px;line-height:1.5;margin-top:24px;color:#83d6ad;
}
@media(max-width:600px){
 .stage.answer-mode .stage-question,.stage.floor-mode .stage-question{padding-top:0}
 .stage.floor-mode #floor-question h1{font-size:30px}
 .stage.floor-mode #floor-question p{font-size:23px}
 .stage.floor-mode #floor-question .floor-detail{font-size:20px}
}
