:root {
    --ink: #172321;
    --muted: #74817e;
    --line: #e8ecea;
    --paper: #fff;
    --soft: #f5f7f5;
    --accent: #e92c68;
    --teal: #087c78;
    --shadow: 0 24px 70px rgba(27, 47, 43, .09);
    font-family: "DM Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 32%, transparent); outline-offset: 3px; }

.topbar { background: #087c78; color: #e7fbf8; font-size: 11px; }
.topbar-inner { height: 34px; max-width: 1180px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.topbar a { font-weight: 700; }
.site-header { height: 88px; padding: 0 max(28px, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: #fff; position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 43px; height: 43px; flex: 0 0 43px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-family: Manrope, sans-serif; font-size: 20px; font-weight: 800; box-shadow: inset 0 0 0 4px rgba(255,255,255,.2); }
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Manrope, sans-serif; font-size: 14px; font-weight: 800; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); color: #697572; font-size: 12px; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .header-link:hover { color: var(--accent); }
.site-nav .nav-cta { color: var(--ink); font-weight: 700; }
.nav-cta span { margin-left: 6px; color: var(--accent); }

.hero { position: relative; min-height: 440px; display: grid; place-items: center; overflow: hidden; color: white; text-align: center; background: linear-gradient(125deg, #123f43 0%, #155a5b 45%, #263848 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 620px; height: 620px; left: -150px; bottom: -450px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 60px rgba(255,255,255,.035), 0 0 0 120px rgba(255,255,255,.025); }
.hero::after { width: 480px; height: 480px; right: -120px; top: -340px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 52px rgba(255,255,255,.04), 0 0 0 104px rgba(255,255,255,.025); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,27,42,.74), rgba(11,31,43,.54) 52%, rgba(12,31,44,.68)); }
.hero-content { position: relative; z-index: 1; width: min(760px, calc(100% - 40px)); padding: 68px 0 78px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.34); border-radius: 99px; background: rgba(255,255,255,.1); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #78ebba; box-shadow: 0 0 0 4px rgba(120,235,186,.14); }
.hero h1 { margin: 0 auto 15px; max-width: 790px; font: 800 clamp(34px, 5vw, 59px)/1.1 Manrope, sans-serif; letter-spacing: -.045em; text-wrap: balance; }
.hero-content > p { max-width: 600px; margin: 0 auto 27px; color: rgba(255,255,255,.83); font-size: 15px; line-height: 1.8; }
.button { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--accent); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 22%, transparent); }
.button-primary:hover { box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 30%, transparent); }
.button-light { color: #24302e; background: #fff; }
.button-light:hover { box-shadow: 0 8px 26px rgba(0,0,0,.2); }
.hero-scroll { position: absolute; left: 50%; bottom: -38px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: white; font-size: 17px; transform: translateX(-50%); }
.hero-index { position: absolute; z-index: 1; right: max(28px, calc((100% - 1180px) / 2)); bottom: 25px; color: rgba(255,255,255,.64); font-size: 10px; letter-spacing: .15em; }
.hero-index span { color: white; }

.section-wrap { width: min(1080px, calc(100% - 56px)); margin: 0 auto; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-top: 100px; padding-bottom: 105px; align-items: center; }
.eyebrow { margin: 0 0 15px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.intro h2, .details-inner h2, .registration-heading h2 { margin: 0; font: 800 clamp(28px, 3vw, 38px)/1.24 Manrope, sans-serif; letter-spacing: -.04em; }
.intro h2 em { color: var(--accent); font-style: normal; }
.intro-description { color: #687571; font-size: 14px; line-height: 1.9; }
.intro-description p { margin: 0 0 23px; white-space: normal; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 700; }
.text-link span { color: var(--accent); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.details-section { background: #f4f6f4; }
.details-inner { min-height: 270px; padding-top: 68px; padding-bottom: 68px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.details-inner h2 { font-size: clamp(27px, 3vw, 35px); }
.detail-list { display: grid; gap: 20px; }
.detail-item { display: flex; align-items: center; gap: 15px; }
.detail-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, white); font-size: 20px; }
.detail-item small, .detail-item strong { display: block; }
.detail-item small { margin-bottom: 5px; color: #8a9691; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.detail-item strong { font-size: 13px; font-weight: 700; }

.content-section { padding: 82px 0; }
.content-section:nth-of-type(even) { background: #f7f9f8; }
.content-section-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 64px; align-items: center; }
.content-section-inner:not(:has(.content-section-image)) { grid-template-columns: minmax(0, 760px); }
.content-section-copy h2 { margin: 0 0 18px; font: 800 clamp(27px, 3vw, 38px)/1.24 Manrope, sans-serif; letter-spacing: -.04em; }
.content-section-body { margin-bottom: 22px; color: #687571; font-size: 14px; line-height: 1.9; white-space: normal; }
.content-section-image { width: 100%; max-height: 420px; border-radius: 16px; object-fit: cover; box-shadow: var(--shadow); }

.registration { max-width: 760px; padding-top: 100px; padding-bottom: 110px; }
.registration-heading { margin-bottom: 35px; text-align: center; }
.registration-heading h2 { font-size: clamp(27px, 4vw, 38px); }
.registration-heading > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.registration-form { padding: clamp(22px, 5vw, 44px); border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.form-field { margin-bottom: 23px; }
.form-field .field-help { display: block; margin: -2px 0 9px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.google-registration-card { padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.google-registration-card h3 { margin: 0 0 8px; font: 800 20px/1.3 Manrope, sans-serif; }
.google-registration-card > p { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.google-registration-card .notice-card { margin-top: 12px; }
.google-registration-card #google-signin-button { display: flex; justify-content: center; }
.respondent-account { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.respondent-account strong { color: var(--ink); }
.radio-options { display: grid; gap: 9px; }
.radio-option { display: flex; align-items: center; gap: 9px; min-height: 36px; color: #52605a; font-size: 12px; }
.radio-option input { width: 16px; height: 16px; accent-color: var(--accent); }
.form-field > label, .auth-form > label, .editor-grid > label, .add-question-row > label { display: block; margin-bottom: 9px; color: #26332f; font-size: 12px; font-weight: 700; }
.required-mark { color: var(--accent); }
.form-field input:not([type=radio]), .form-field textarea, .form-field select, .auth-form input, .editor-grid input:not([type=checkbox]):not([type=color]):not([type=file]), .editor-grid textarea, .question-editor input, .question-editor textarea, .add-question-row select {
    width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid #dfe5e2; border-radius: 7px; color: var(--ink); background: #fff; font-size: 13px; transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus, .auth-form input:focus, .editor-grid input:focus, .editor-grid textarea:focus, .question-editor input:focus, .question-editor textarea:focus, .add-question-row select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent); outline: none; }
.form-field textarea, .editor-grid textarea, .question-editor textarea { resize: vertical; }
.form-field textarea { min-height: 120px; }
.form-field input::placeholder, .editor-grid input::placeholder, .editor-grid textarea::placeholder { color: #a4aeaa; }
.radio-options { display: grid; gap: 10px; }
.radio-option { display: flex; align-items: center; gap: 10px; color: #4a5753; font-size: 13px; }
.radio-option input { accent-color: var(--accent); }
.submit-button { width: 100%; margin-top: 3px; }
.form-note { margin: 15px 0 0; color: #84908c; text-align: center; font-size: 10px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success-card, .notice-card { padding: 24px; display: flex; align-items: center; gap: 16px; border: 1px solid #bce7d0; border-radius: 12px; background: #f0fbf5; }
.success-icon { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border-radius: 50%; color: #087a4c; background: #d7f4e3; font-size: 19px; font-weight: 800; }
.success-card h3 { margin: 0 0 5px; font: 700 16px Manrope, sans-serif; }
.success-card p, .notice-card { color: #5e7069; font-size: 12px; }
.success-card p { margin: 0; }
.notice-card { border-color: #f0dfa8; background: #fffaf0; }
.site-footer { min-height: 88px; padding: 20px max(28px, calc((100% - 1080px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #87918e; font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-brand .brand-mark { width: 30px; height: 30px; flex-basis: 30px; font-size: 14px; }
.footer-brand strong { font-size: 11px; }

.event-index { width: min(1080px, calc(100% - 56px)); margin: 0 auto; padding: 80px 0 110px; }
.event-index > h1, .not-found h1 { margin: 0; font: 800 clamp(32px, 4vw, 46px)/1.15 Manrope, sans-serif; letter-spacing: -.04em; }
.section-lead { margin: 14px 0 38px; color: var(--muted); font-size: 14px; }
.header-link { color: #56635f; font-size: 12px; font-weight: 700; }
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.event-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; transition: transform .2s, box-shadow .2s; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-card-image { height: 190px; overflow: hidden; background: linear-gradient(130deg, #0d5551, #1d344b); }
.event-card-image img { width: 100%; height: 100%; object-fit: cover; }
.event-card-placeholder { background: radial-gradient(circle at 75% 30%, rgba(255,255,255,.2), transparent 30%), linear-gradient(130deg, #0d5551, #1d344b); }
.event-card-copy { padding: 21px; }
.event-card-copy .eyebrow { margin-bottom: 9px; }
.event-card-copy h2 { margin: 0 0 8px; font: 700 19px Manrope, sans-serif; }
.event-card-copy > p:not(.eyebrow) { min-height: 38px; margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.not-found { min-height: 70vh; padding: 80px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.not-found .eyebrow { margin-top: 18px; }
.not-found > p:not(.eyebrow) { margin: 15px 0 25px; color: var(--muted); }
.empty-state { padding: 50px 25px; border: 1px dashed #d8e0dc; border-radius: 12px; background: #fbfcfb; text-align: center; }
.empty-state.compact { border: 0; background: white; }
.empty-icon { width: 47px; height: 47px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 15px; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, white); font-size: 21px; }
.empty-state h2 { margin: 0 0 8px; font: 700 17px Manrope, sans-serif; }
.empty-state p { margin: 0 0 20px; color: var(--muted); font-size: 12px; }

/* Admin */
.admin-page { min-height: 100vh; background: #f6f8f7; }
.auth-shell { min-height: 100vh; padding: 42px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.auth-brand { margin-bottom: 26px; }
.auth-card { width: min(100%, 440px); padding: 39px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.auth-card h1 { margin: 0; font: 800 29px Manrope, sans-serif; letter-spacing: -.04em; }
.auth-intro { margin: 10px 0 24px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.auth-form { display: grid; gap: 17px; }
.auth-form > label { margin: 0; }
.auth-form input { display: block; margin-top: 8px; }
.auth-form .button { width: 100%; margin-top: 6px; }
.field-help { display: block; margin-top: 6px; color: #8a9691; font-size: 10px; font-weight: 400; }
.back-link { display: inline-block; color: #7c8984; font-size: 11px; }
.auth-card > .back-link { margin-top: 23px; }
.auth-switch { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.auth-switch a { margin-left: 4px; color: var(--accent); font-weight: 700; }
.google-signin-note { margin-top: 16px; padding: 11px 12px; border: 1px solid #e8ecea; border-radius: 7px; color: #78847f; background: #f8faf9; font-size: 10px; line-height: 1.6; }
.alert { margin-bottom: 18px; padding: 12px 15px; border: 1px solid; border-radius: 8px; font-size: 12px; line-height: 1.6; }
.alert-error { color: #9c3340; border-color: #f1c8cc; background: #fff4f5; }
.alert-success { color: #21744b; border-color: #bce7d0; background: #f0fbf5; }
.admin-layout { min-height: 100vh; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 5; width: 245px; padding: 25px 17px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #fff; }
.admin-sidebar .brand { padding: 0 8px 33px; }
.sidebar-label { padding: 0 12px 11px; color: #a0aaa6; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.sidebar-link { min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 11px; border-radius: 7px; color: #72807b; font-size: 12px; }
.sidebar-link > span { width: 18px; color: #8b9692; font-size: 16px; text-align: center; }
.sidebar-link.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, white); font-weight: 700; }
.sidebar-link.active > span { color: var(--accent); }
.sidebar-bottom { margin-top: auto; }
.sidebar-bottom form { margin: 0; }
.sidebar-button { width: 100%; border: 0; background: transparent; cursor: pointer; text-align: left; }
.admin-main { min-height: 100vh; margin-left: 245px; }
.admin-topbar { height: 66px; padding: 0 40px; display: flex; align-items: center; justify-content: flex-end; border-bottom: 1px solid var(--line); background: #fff; color: #65726d; font-size: 11px; }
.admin-topbar > div { display: flex; align-items: center; gap: 9px; }
.admin-role-badge { padding: 5px 8px; border-radius: 99px; color: #80600a; background: #fff3cc; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.admin-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #263f3b; font-size: 11px; font-weight: 700; }
.admin-content { width: min(1180px, 100%); margin: 0 auto; padding: 36px 40px 80px; }
.page-heading { margin-bottom: 27px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.page-heading .eyebrow { margin-bottom: 8px; }
.page-heading h1 { margin: 0; font: 800 clamp(26px, 3vw, 34px)/1.2 Manrope, sans-serif; letter-spacing: -.04em; }
.page-heading p:not(.eyebrow) { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.page-heading .back-link { margin-bottom: 16px; }
.stats-grid { margin-bottom: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.stat-card { min-height: 118px; padding: 19px 21px; position: relative; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.stat-card small { display: block; margin: 0 0 10px; color: #87928e; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.stat-card strong { font: 800 27px Manrope, sans-serif; }
.stat-icon { position: absolute; top: 18px; right: 20px; color: var(--accent); font-size: 18px; }
.admin-section { margin-bottom: 36px; }
.section-title { margin-bottom: 17px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-title .eyebrow { margin-bottom: 5px; }
.section-title h2 { margin: 0; font: 800 20px Manrope, sans-serif; letter-spacing: -.03em; }
.admin-event-list { display: grid; gap: 13px; }
.admin-event-card { padding: 14px; display: grid; grid-template-columns: 145px minmax(180px, 1fr) auto; gap: 19px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.admin-event-thumb { position: relative; height: 100px; overflow: hidden; border-radius: 7px; background: linear-gradient(130deg, #0d5551, #1d344b); }
.admin-event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.status-pill { position: absolute; top: 8px; left: 8px; padding: 5px 8px; border-radius: 99px; color: #6a736f; background: #f0f2f1; font-size: 9px; font-weight: 700; }
.status-pill.published { color: #22734b; background: #e7f8ee; }
.admin-event-info .eyebrow { margin-bottom: 5px; font-size: 8px; }
.admin-event-info h3 { margin: 0; font: 700 16px Manrope, sans-serif; }
.admin-event-info > p:not(.eyebrow) { margin: 5px 0 9px; color: var(--muted); font-size: 11px; }
.event-meta { display: flex; gap: 17px; color: #84908b; font-size: 10px; }
.event-meta a { color: var(--accent); font-weight: 600; }
.admin-event-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.admin-event-actions form { margin: 0; }
.admin-event-actions .button { min-height: 36px; padding: 0 11px; font-size: 10px; }
.button-outline { border: 1px solid #dfe5e2; color: #52605b; background: white; }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.button-quiet { min-height: 36px; padding: 0 10px; border: 0; color: #74817c; background: transparent; }
.danger-text { color: #bd5360; }
.editor-card { margin-top: 37px; padding: 27px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.editor-card .section-title { margin-bottom: 28px; align-items: center; }
.editor-section-label { margin: 31px 0 17px; padding-bottom: 11px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.editor-section-label > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, white); font-size: 10px; font-weight: 800; }
.editor-section-label strong, .editor-section-label small { display: block; }
.editor-section-label strong { font-size: 12px; }
.editor-section-label small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.editor-grid > label { margin: 0; }
.editor-grid input:not([type=checkbox]):not([type=color]):not([type=file]), .editor-grid textarea { display: block; margin-top: 8px; font-weight: 400; }
.editor-grid textarea { width: 100%; padding: 12px 14px; border: 1px solid #dfe5e2; border-radius: 7px; font-size: 12px; }
.editor-grid input[type=file] { display: block; max-width: 100%; margin-top: 10px; color: #65726d; font-size: 11px; font-weight: 400; }
.full-span { grid-column: 1 / -1; }
.slug-input { display: flex; align-items: center; margin-top: 8px; overflow: hidden; border: 1px solid #dfe5e2; border-radius: 7px; }
.slug-input > span { padding-left: 12px; color: #8a9691; font-size: 11px; white-space: nowrap; }
.slug-input input { min-width: 0; border: 0 !important; box-shadow: none !important; }
.color-input { display: flex; align-items: center; gap: 11px; min-height: 46px; margin-top: 8px; color: #78847f; font-size: 11px; font-weight: 400; }
.color-input input { width: 44px; height: 38px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer; }
.question-list { display: grid; gap: 12px; }
.question-editor { padding: 16px; display: grid; grid-template-columns: 31px minmax(0, 1fr) 30px; gap: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfb; }
.question-number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: #82908a; background: #edf0ee; font-size: 9px; font-weight: 700; }
.question-editor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.question-editor-fields > label { color: #4d5a55; font-size: 10px; font-weight: 700; }
.question-description { grid-column: 1 / -1; }
.question-editor input, .question-editor textarea { display: block; margin-top: 7px; font-size: 11px; }
.question-editor input[type=checkbox] { accent-color: var(--accent); }
.question-options { grid-column: 1 / -1; }
.required-toggle { display: flex; align-items: center; gap: 7px; font-size: 10px !important; }
.remove-question { align-self: start; border: 0; color: #a1aaa6; background: transparent; cursor: pointer; font-size: 23px; line-height: 1; }
.remove-question:hover { color: #bd5360; }
.add-question-row { margin-top: 13px; display: flex; align-items: flex-end; gap: 12px; }
.add-question-row > label { width: min(250px, 60%); margin: 0; }
.add-question-row select { display: block; margin-top: 7px; }
.editor-publish-row { margin-top: 28px; padding-top: 21px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.toggle-label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle-label > input { width: 17px; height: 17px; accent-color: var(--accent); }
.toggle-label strong, .toggle-label small { display: block; }
.toggle-label strong { font-size: 11px; }
.toggle-label small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.response-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: white; }
.response-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.response-table th, .response-table td { min-width: 140px; padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.response-table th { position: sticky; top: 0; color: #64716c; background: #f7f9f8; font-size: 9px; letter-spacing: .04em; }
.response-table td { max-width: 270px; color: #43504b; overflow-wrap: anywhere; }
.response-table tr:last-child td { border-bottom: 0; }
.table-card { min-height: 160px; }

@media (max-width: 900px) {
    .admin-sidebar { width: 205px; }
    .admin-main { margin-left: 205px; }
    .admin-content { padding-right: 24px; padding-left: 24px; }
    .admin-event-card { grid-template-columns: 120px minmax(150px, 1fr); }
    .admin-event-actions { grid-column: 2; justify-content: flex-start; }
    .intro, .details-inner { gap: 45px; }
    .content-section-inner { gap: 35px; }
}
@media (max-width: 680px) {
    .topbar-inner { height: 31px; padding: 0 18px; font-size: 9px; }
    .site-header { height: 72px; padding: 0 18px; }
    .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
    .brand-logo { width: 40px; height: 40px; }
    .brand strong { font-size: 12px; }
    .brand small { font-size: 9px; }
    .site-nav { gap: 13px; font-size: 10px; }
    .site-nav a:nth-child(2) { display: none; }
    .hero { min-height: 415px; }
    .hero h1 { font-size: clamp(34px, 10vw, 48px); }
    .hero-content > p { font-size: 13px; }
    .section-wrap, .event-index { width: min(100% - 38px, 540px); }
    .intro { grid-template-columns: 1fr; gap: 22px; padding-top: 70px; padding-bottom: 72px; }
    .intro h2, .details-inner h2 { font-size: 30px; }
    .details-inner { grid-template-columns: 1fr; gap: 27px; padding-top: 55px; padding-bottom: 55px; }
    .content-section { padding: 56px 0; }
    .content-section-inner { grid-template-columns: 1fr; gap: 24px; }
    .content-section-inner:not(:has(.content-section-image)) { grid-template-columns: 1fr; }
    .content-section-image { max-height: 300px; }
    .google-registration-card { padding: 24px 18px; }
    .registration { padding-top: 70px; padding-bottom: 75px; }
    .site-footer { padding: 19px; align-items: flex-start; flex-direction: column; }
    .event-index { padding-top: 58px; }
    .admin-sidebar { position: static; width: 100%; height: auto; padding: 13px 16px; flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); }
    .admin-sidebar .brand { padding: 0; }
    .admin-sidebar .brand-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 15px; }
    .sidebar-label, .admin-sidebar > .sidebar-link, .sidebar-bottom .sidebar-link:first-child { display: none; }
    .sidebar-bottom { margin: 0 0 0 auto; }
    .sidebar-link { min-height: 35px; padding: 0 6px; font-size: 10px; }
    .admin-main { margin-left: 0; }
    .admin-topbar { height: 48px; padding: 0 18px; }
    .admin-content { padding: 26px 18px 60px; }
    .page-heading { align-items: flex-start; flex-direction: column; }
    .page-heading > .button { align-self: stretch; }
    .stats-grid { gap: 8px; }
    .stat-card { min-height: 94px; padding: 13px 11px; }
    .stat-card small { font-size: 7px; }
    .stat-card strong { font-size: 23px; }
    .stat-icon { top: 11px; right: 11px; font-size: 14px; }
    .admin-event-card { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px; }
    .admin-event-thumb { height: 86px; }
    .admin-event-info h3 { font-size: 13px; }
    .admin-event-info > p:not(.eyebrow) { font-size: 10px; }
    .event-meta { flex-wrap: wrap; gap: 7px 12px; }
    .admin-event-actions { grid-column: 1 / -1; }
    .editor-card { padding: 18px 14px; }
    .editor-grid { grid-template-columns: 1fr; gap: 14px; }
    .full-span { grid-column: auto; }
    .question-editor { padding: 11px; grid-template-columns: 25px minmax(0, 1fr) 20px; gap: 8px; }
    .question-number { width: 24px; height: 24px; }
    .question-editor-fields { grid-template-columns: 1fr; }
    .question-options { grid-column: auto; }
    .add-question-row { align-items: stretch; flex-direction: column; }
    .add-question-row > label { width: 100%; }
    .add-question-row .button { width: 100%; }
    .editor-publish-row { align-items: stretch; flex-direction: column; }
    .editor-publish-row .button { width: 100%; }
    .auth-card { padding: 27px 22px; }
}
