:root { --copper: #b57243; --ink: #111111; --muted: #555555; --line: #d6d6d6; --paper: #ffffff; --soft: #f3f3f3; --scale: 1; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'Century Gothic', 'Aptos', 'Calibri', sans-serif; }
h1, h2, p { margin-top: 0; }
h1, h2 { letter-spacing: 0; }
h1 span { color: var(--copper); }
a { color: inherit; text-underline-offset: 5px; overflow-wrap: anywhere; }
button, input, textarea { font: inherit; }
button, .icon-button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: white; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 4px; }
button:hover:not(:disabled), .icon-button:hover { border-color: var(--ink); background: var(--soft); }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
button svg, a svg { width: 22px; height: 22px; flex-shrink: 0; }
[hidden] { display: none !important; }
.eyebrow { color: var(--copper); font-size: 22px; font-weight: 700; letter-spacing: 0; }
[data-connection] { color: #42664b; font-size: 14px; white-space: nowrap; }
[data-connection][data-online="false"] { color: #973c24; }
.error { color: #9b2525; border-left: 3px solid #9b2525; padding: 12px 16px; overflow-wrap: anywhere; }
.primary { background: var(--ink); color: white; border-color: var(--ink); padding: 14px 22px; min-height: 52px; font-weight: 700; }
.primary:hover:not(:disabled) { background: #333; color: white; }
.notice { padding: 14px 0; border-top: 2px solid var(--line); color: var(--muted); line-height: 1.5; }
.hint { color: var(--muted); line-height: 1.5; font-size: 15px; }
.stage-body { height: 100vh; overflow: hidden; background: #e6e6e6; }
#stage { position: fixed; inset: 0; overflow: hidden; }
.slide { display: none; position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; background: white; transform: translate(-50%, -50%) scale(var(--scale)); transform-origin: center; }
.slide.active { display: block; }
.canvas { position: relative; isolation: isolate; height: 1080px; padding: 66px 104px; overflow: hidden; }
.canvas::after { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 1000px; height: 1000px; right: -200px; top: -610px; background: url('/assets/wave.svg') center / contain no-repeat; }
.masthead { display: flex; align-items: center; gap: 90px; height: 84px; }
.masthead img { width: 350px; height: auto; }
.masthead span { font-size: 23px; }
.slide h1 { font-size: 86px; line-height: 1.12; margin: 0; }
.slide footer { position: absolute; left: 104px; right: 104px; bottom: 70px; display: flex; justify-content: space-between; align-items: center; font-size: 22px; color: var(--muted); }
.cover-content { margin-top: 182px; }
.cover-content .eyebrow { margin-bottom: 24px; font-size: 26px; }
.cover-content h1 { font-size: 124px; }
.cover-lead { margin: 38px 0 0; font-size: 48px; line-height: 1.3; }
.cover-invite { margin: 36px 0 0; color: var(--muted); font-size: 32px; }
.qr-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; margin-top: 125px; }
.qr-block { width: 570px; text-align: center; }
.qr-block img { display: block; width: 540px; height: 540px; margin: auto; }
.qr-block span { display: block; margin-top: 10px; font-size: 29px; font-weight: 700; }
.slide-lead { margin: 34px 0 0; font-size: 36px; line-height: 1.4; }
.privacy-note { margin: 34px 0 20px; font-size: 25px; line-height: 1.45; color: var(--muted); }
.join-link { display: inline-block; font-size: 27px; max-width: 950px; }
.preview-warning { font-size: 22px; color: #973c24; margin: 18px 0 0; }
.title-row { display: flex; align-items: baseline; gap: 50px; margin-top: 68px; }
.count { white-space: nowrap; font-size: 27px; color: var(--muted); }
#question-board { margin-top: 60px; height: 570px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 24px 48px; }
.empty-state { grid-column: 1 / -1; grid-row: 1 / -1; }
.empty-state { height: 100%; border-top: 2px solid var(--line); display: flex; flex-direction: column; justify-content: center; max-width: 1450px; }
.empty-state h2 { font-size: 52px; margin-bottom: 22px; }
.empty-state p { font-size: 30px; color: var(--muted); line-height: 1.4; }
.question-row { min-width: 0; padding: 12px 0; border-top: 2px solid var(--line); display: grid; grid-template-rows: 18px minmax(0, 1fr); gap: 6px; }
.question-row .eyebrow { margin-bottom: 0; font-size: 16px; }
.question-row h2 { margin: 0; min-height: 0; font-size: 30px; line-height: 1.25; overflow-wrap: anywhere; font-weight: 500; }
.featured-question { height: 100%; border-top: 3px solid var(--copper); padding-top: 42px; display: grid; grid-template-rows: 28px 1fr; gap: 16px; }
.featured-question .eyebrow { margin: 0; }
.featured-question h2 { margin: 0; min-height: 0; font-size: 58px; line-height: 1.25; overflow-wrap: anywhere; max-width: 1650px; }
.question-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 18px; font-size: 22px; margin-top: 0; }
.question-pagination button { width: 48px; height: 48px; }
.poll-title { margin-top: 62px !important; font-size: 78px !important; }
.poll-layout { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; margin-top: 50px; }
.stage-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.stage-option { display: flex; align-items: baseline; gap: 20px; border-top: 2px solid var(--line); padding: 22px 0; min-height: 98px; font-size: 29px; line-height: 1.25; }
.stage-option span { font-size: 22px; color: var(--copper); min-width: 30px; }
.poll-instruction { font-size: 25px; color: var(--muted); margin: 26px 0 0; }
.poll-qr { text-align: center; }
.poll-qr img { display: block; width: 340px; height: 340px; margin: auto; }
.poll-qr p { font-size: 26px; margin: 12px 0; }
.poll-qr a { font-size: 23px; }
.results-chart { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; margin-top: 52px; height: 580px; }
.result-column { min-width: 0; display: grid; grid-template-rows: 92px 370px 118px; text-align: center; }
.result-score { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.result-percent { font-size: 52px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.column-track { display: flex; align-items: flex-end; justify-content: center; border-bottom: 2px solid var(--line); }
.column-fill { width: 110px; height: 0; background: #333333; transition: height 600ms cubic-bezier(.2,.7,.2,1), background-color 300ms ease; }
.result-column.leading .column-fill { background: var(--copper); }
.result-column.leading .result-percent { color: var(--copper); }
.result-label { display: block; padding: 24px 4px 0; font-size: 25px; line-height: 1.25; overflow-wrap: anywhere; }
.custom-answer .result-label { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 6px; }
.pie-results { display: grid; grid-template-columns: 650px minmax(0, 1fr); align-items: center; gap: 80px; margin-top: 42px; height: 580px; }
.pie-plot { position: relative; width: 620px; height: 570px; }
.pie-summary { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.pie-summary strong { font-size: 88px; line-height: 1; font-variant-numeric: tabular-nums; }
.pie-legend { min-width: 0; display: grid; grid-template-rows: repeat(7, 72px); }
.pie-legend-row { min-width: 0; display: grid; grid-template-columns: 18px minmax(0, 1fr) 140px; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); }
.legend-swatch { width: 16px; height: 16px; }
.legend-label { min-width: 0; max-height: 62px; font-size: 27px; line-height: 1.25; overflow-wrap: anywhere; }
.legend-values { display: flex; align-items: baseline; justify-content: flex-end; gap: 12px; font-variant-numeric: tabular-nums; }
.legend-values strong { font-size: 30px; }
.legend-values span { font-size: 18px; color: var(--muted); }
.result-pagination { position: absolute; right: 104px; bottom: 112px; display: flex; align-items: center; gap: 16px; font-size: 20px; }
.result-pagination button { width: 44px; height: 44px; }
.stage-toolbar { position: fixed; z-index: 10; right: 22px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 6px; background: white; border: 1px solid var(--line); }
.stage-toolbar button, .stage-toolbar a { display: flex; align-items: center; justify-content: center; width: 38px; min-width: 38px; height: 38px; min-height: 38px; }
.stage-toolbar [data-connection] { padding: 0 6px; }
.stage-toolbar #slide-count { font-size: 14px; min-width: 62px; text-align: center; }
.stage-error { position: fixed; left: 16px; bottom: 10px; background: white; color: #9b2525; padding: 12px; }
:fullscreen .stage-toolbar { opacity: 0; transition: opacity 150ms ease; }
:fullscreen .stage-toolbar:hover, :fullscreen .stage-toolbar:focus-within { opacity: 1; }
.participant-body { background: linear-gradient(180deg, #f6f6f6 0, white 260px); }
.participant-shell { max-width: 620px; margin: auto; padding: 28px 24px 40px; }
.mobile-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 48px; }
.mobile-header img { width: 200px; max-width: 52%; height: auto; }
.mobile-header [data-connection] { white-space: normal; text-align: right; font-size: 12px; }
.participant-shell .eyebrow { font-size: 14px; }
.participant-shell h1 { font-size: 46px; line-height: 1.15; margin-bottom: 30px; }
.tabs { display: flex; border-bottom: 2px solid var(--line); margin-bottom: 28px; }
.tabs button { width: 50%; border: 0; border-radius: 0; min-height: 54px; background: transparent; }
.tabs button[aria-selected="true"] { border-bottom: 3px solid var(--copper); font-weight: 700; }
.tabs span { font-size: 11px; color: var(--muted); }
.form-title { display: block; font-size: 23px; line-height: 1.35; font-weight: 700; margin-bottom: 16px; }
textarea, input[type="password"], input[type="text"] { width: 100%; padding: 14px; border: 1px solid #999; border-radius: 4px; font-size: 18px; background: white; color: var(--ink); }
.other-field { padding: 20px 0 8px; }
.other-field label { display: block; margin-bottom: 10px; font-weight: 700; }
textarea { resize: vertical; min-height: 160px; }
.field-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--muted); margin: 9px 0 22px; }
.field-meta span:last-child { white-space: nowrap; }
.participant-shell .primary { width: 100%; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.poll-option { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 16px 0; font-size: 17px; line-height: 1.4; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { flex-shrink: 0; width: 20px; height: 20px; accent-color: var(--ink); }
.poll-option:has(input:checked) { font-weight: 700; }
.participant-footer { color: var(--muted); font-size: 12px; line-height: 1.6; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; }
.operator-header { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding: 18px 32px; }
.operator-header img { width: 180px; }
.operator-header h1 { font-size: 22px; margin: 0; }
.operator-header [data-connection] { margin-left: auto; }
.operator-header a { display: flex; padding: 10px; }
.operator-shell { max-width: 1200px; margin: auto; padding: 32px; }
.session-setup { border-bottom: 2px solid var(--line); padding-bottom: 24px; }
.session-setup summary { font-size: 20px; font-weight: 700; cursor: pointer; }
.session-preflight { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 24px; }
.session-preflight img { width: 180px; height: 180px; }
.session-preflight a { display: block; margin-bottom: 16px; font-size: 18px; }
.session-preflight .primary { margin-top: 12px; }
.login-panel { max-width: 440px; margin: 48px auto; }
.login-panel h2 { font-size: 30px; }
.login-panel label { display: block; margin-bottom: 12px; }
.login-panel .primary { width: 100%; margin-top: 20px; }
.operator-controls { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; padding-bottom: 22px; border-bottom: 2px solid var(--line); }
.slide-switch { display: flex; align-items: center; gap: 16px; }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.operator-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 24px; margin-top: 40px; }
.operator-summary h2 { margin: 0; font-size: 28px; }
.operator-summary span { color: var(--muted); font-size: 15px; }
.operator-summary #logout { margin-left: auto; }
.filter-tabs { display: flex; gap: 16px; margin: 22px 0; border-bottom: 1px solid var(--line); }
.filter-tabs button { border: 0; background: none; border-radius: 0; padding: 10px 16px; }
.filter-tabs .selected { border-bottom: 3px solid var(--copper); font-weight: 700; }
.operator-question { padding: 22px 0; border-bottom: 1px solid var(--line); }
.operator-question p { font-size: 21px; line-height: 1.5; overflow-wrap: anywhere; }
.question-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.question-actions button { padding: 8px 14px; }
.question-actions [aria-pressed="true"] { border-color: var(--ink); background: var(--soft); font-weight: 700; }
.moderator-prompts { margin-top: 48px; border-top: 2px solid var(--line); padding-top: 26px; }
.moderator-prompts h2 { font-size: 22px; }
.moderator-prompts li { margin: 14px 0; line-height: 1.5; }
@media (max-width: 600px) {
  .participant-shell { padding: 24px 20px; }
  .operator-header { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .operator-header img { width: 145px; }
  .operator-header h1 { font-size: 18px; }
  .operator-shell { padding: 20px; }
  .session-preflight { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .session-preflight .primary { width: 100%; font-size: 15px; }
  .operator-controls { gap: 16px; }
  .filter-tabs { gap: 0; }
  .filter-tabs button { padding: 8px 10px; font-size: 14px; }
  .stage-toolbar [data-connection] { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }