@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ICC Quiz: public portal, CMS utilities and interactive quiz flow */

:root {
  color-scheme: light;
  --blue: #1264c4;
  --blue-dark: #0b3d7b;
  --navy: #10254a;
  --ink: #1e2a43;
  --muted: #7d8799;
  --line: #e8edf4;
  --surface: #fff;
  --canvas: #f5f7fb;
  --soft-blue: #ecf4ff;
  --green: #16855d;
  --soft-green: #e9f7f0;
  --purple: #7550b7;
  --soft-purple: #f2edfc;
  --gold: #bd8319;
  --soft-gold: #fff5e4;
  --shadow: 0 2px 10px rgb(18 43 82 / 4%);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font: 14px/1.45 'DM Sans', system-ui, sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 4; display: flex; flex-direction: column; width: 244px; padding: 23px 15px 16px; color: #eef5ff; background: linear-gradient(180deg, #1058ae 0%, #0b3d7b 53%, #092e61 100%); }
.brand { display: flex; align-items: center; gap: 11px; min-height: 55px; padding: 0 7px 22px; color: inherit; text-decoration: none; }
.brand-logo { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; overflow: hidden; border: 1px solid rgb(255 255 255 / 24%); border-radius: 10px; background: #0751a8; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy strong { display: block; font: 700 16px/1.15 Manrope, sans-serif; letter-spacing: -.03em; }
.brand-copy small { display: block; margin-top: 4px; color: #bbd5f2; font-size: 9px; font-weight: 600; letter-spacing: .09em; }
.nav-label { padding: 16px 10px 8px; color: #9fc4ed; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.main-nav { display: grid; gap: 5px; }
.nav-link { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 42px; border: 0; border-radius: 8px; padding: 0 11px; color: #d2e4fa; background: transparent; text-align: left; font-size: 12px; font-weight: 500; transition: background .16s ease, color .16s ease; }
.nav-link:hover { color: #fff; background: rgb(255 255 255 / 9%); }
.nav-link.active { color: #fff; background: rgb(255 255 255 / 17%); box-shadow: inset 3px 0 #f3d23f; }
.nav-icon { display: grid; place-items: center; width: 20px; color: #f0d554; font-size: 16px; }
.nav-count { margin-left: auto; color: #bdd6f1; font-size: 10px; }
.sidebar-note { margin-top: auto; padding: 15px 14px 14px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 11px; background: rgb(255 255 255 / 7%); }
.note-mark { display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 10px; border-radius: 7px; color: #193e7b; background: #f5d953; }
.sidebar-note strong { font: 600 11px Manrope, sans-serif; }
.sidebar-note p { margin: 5px 0 0; color: #c0d8f1; font-size: 10px; line-height: 1.5; }
.sidebar-user { display: flex; align-items: center; gap: 9px; margin-top: 13px; padding: 12px 4px 0; border-top: 1px solid rgb(255 255 255 / 16%); }
.user-avatar, .top-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #17467f; background: #f5dd74; font-size: 10px; font-weight: 700; }
.sidebar-user strong { display: block; color: #f4f7fd; font-size: 10px; font-weight: 600; }
.sidebar-user small { display: block; margin-top: 2px; color: #b3cce7; font-size: 9px; }
.user-menu { margin-left: auto; color: #b3cce7; font-size: 19px; letter-spacing: 1px; }
.main-content { min-height: 100vh; margin-left: 244px; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 61px; padding: 0 34px; border-bottom: 1px solid var(--line); background: var(--surface); }
.breadcrumbs { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 11px; }
.breadcrumbs strong { color: #44516a; font-weight: 600; }
.slash { color: #bdc5d1; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #35ae78; box-shadow: 0 0 0 3px #e6f6ee; }
.online-text { margin-right: 9px; color: #68768b; font-size: 10px; }
.top-avatar { width: 29px; height: 29px; color: #fff; background: var(--blue); }
.view { display: none; max-width: 1430px; margin: 0 auto; padding: 29px 34px 18px; }
.view.active { display: block; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 23px; }
.eyebrow { margin-bottom: 6px; color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.eyebrow span { color: #f1b83d; padding: 0 3px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 5px; color: #172742; font: 700 25px/1.18 Manrope, sans-serif; letter-spacing: -.04em; }
.page-heading p { margin-bottom: 0; color: var(--muted); font-size: 11px; }
.heading-actions { display: flex; align-items: end; gap: 8px; }
.period-wrap { display: grid; gap: 4px; color: var(--muted); font-size: 9px; }
.period-wrap select { min-height: 35px; min-width: 145px; border: 1px solid #dfe6ef; border-radius: 7px; padding: 0 10px; color: #34435e; background: #fff; font-size: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 35px; border: 1px solid transparent; border-radius: 7px; padding: 0 12px; white-space: nowrap; font-size: 10px; font-weight: 600; }
.button.secondary { border-color: #dfe6ef; color: #41516c; background: #fff; }
.button.secondary:hover { background: #f8faff; border-color: #c7d8ed; }
.button.primary { color: #fff; background: var(--blue); box-shadow: 0 2px 5px rgb(18 100 196 / 17%); }
.button.primary:hover { background: #0c54a8; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 13px; }
.kpi-card { min-width: 0; padding: 14px 15px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: var(--shadow); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #758198; font-size: 10px; font-weight: 500; }
.kpi-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; font-size: 14px; }
.accent-blue .kpi-icon { color: var(--blue); background: var(--soft-blue); }
.accent-green .kpi-icon { color: var(--green); background: var(--soft-green); }
.accent-purple .kpi-icon { color: var(--purple); background: var(--soft-purple); }
.accent-gold .kpi-icon { color: var(--gold); background: var(--soft-gold); }
.kpi-value { margin: 8px 0 7px; color: #1b2a45; font: 700 26px/1 Manrope, sans-serif; letter-spacing: -.045em; }
.kpi-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #929bad; font-size: 9px; }
.change-pill { display: inline-flex; align-items: center; min-height: 19px; padding: 0 6px; border-radius: 5px; color: #168057; background: #eaf7f0; font-size: 9px; font-weight: 700; }
.change-pill.negative { color: #b44e53; background: #fff0f0; }
.chart-grid { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(310px,.9fr); gap: 13px; margin-bottom: 13px; }
.panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: var(--shadow); }
.chart-grid .panel { min-height: 236px; padding: 16px 17px 13px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel-heading h2, .insight-heading h2 { margin-bottom: 4px; color: #24324d; font: 650 12px Manrope, sans-serif; letter-spacing: -.015em; }
.panel-heading p { margin-bottom: 0; color: #929bad; font-size: 9px; }
.chart-legend { display: flex; align-items: center; gap: 5px; padding-top: 2px; color: #78859a; font-size: 9px; }
.legend-swatch { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.bar-chart { display: flex; align-items: end; justify-content: space-around; height: 143px; gap: 8px; margin-top: 12px; padding: 10px 6px 0; border-bottom: 1px solid #edf0f5; background: repeating-linear-gradient(to bottom, transparent 0, transparent 34px, #f0f3f8 35px, transparent 36px); }
.bar-column { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: end; gap: 5px; height: 100%; max-width: 45px; }
.bar-value { color: #8a95a8; font-size: 8px; }
.bar { width: min(25px, 70%); height: var(--bar-height); min-height: 3px; border-radius: 4px 4px 0 0; background: #a8c9ee; transition: height .35s ease; }
.bar-column:last-child .bar { background: var(--blue); }
.bar-label { width: 100%; overflow: hidden; color: #8490a3; font-size: 8px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.chart-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; color: #8a95a8; font-size: 9px; }
.chart-total strong { color: #344460; font-weight: 700; }
.small-badge { padding: 5px 8px; border-radius: 5px; color: #1963b5; background: var(--soft-blue); font-size: 9px; white-space: nowrap; }
.performance-list { display: grid; gap: 13px; margin-top: 18px; }
.performance-item { display: grid; grid-template-columns: minmax(0,1fr) 37px; gap: 5px 8px; align-items: center; }
.performance-title { overflow: hidden; color: #4d5a72; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.performance-score { color: #33435e; font-size: 9px; font-weight: 700; text-align: right; }
.performance-track { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 5px; background: #edf1f6; }
.performance-fill { height: 100%; width: var(--rate); border-radius: inherit; background: linear-gradient(90deg, #347fce, #57a1e8); }
.insight-heading { align-items: center; padding: 15px 17px 13px; }
.insight-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 99px; color: #8c691c; background: #fff7e6; font-size: 9px; white-space: nowrap; }
.insight-tag span { color: #e0aa34; font-size: 8px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead { background: #f8faff; }
th { padding: 9px 15px; color: #929bad; font-size: 8px; font-weight: 700; letter-spacing: .055em; white-space: nowrap; }
td { padding: 10px 15px; border-top: 1px solid #f0f2f6; color: #526079; font-size: 10px; white-space: nowrap; }
.question-cell { display: flex; align-items: center; gap: 9px; min-width: 300px; white-space: normal; }
.question-bullet { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: #a56f10; background: #fff5df; font-size: 12px; }
.question-copy strong { display: block; color: #35435d; font-size: 10px; font-weight: 600; line-height: 1.35; }
.question-copy small { display: block; margin-top: 2px; color: #9aa3b2; font-size: 8px; }
.accuracy { color: #ac6b18; font-weight: 700; }
.success-rate { color: #22815e; font-weight: 700; }
.panel-foot { display: flex; justify-content: space-between; gap: 10px; padding: 10px 16px; border-top: 1px solid #f0f2f6; color: #929bad; font-size: 8px; }
.data-note { color: #64748a; }
.page-footer { display: flex; align-items: center; gap: 7px; padding: 15px 0 2px; color: #9ca6b5; font-size: 9px; }
.page-footer span { color: #e4b53d; }
.footer-db { margin-left: auto; color: #728097; }
.list-panel { padding: 0; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.search-box { display: flex; align-items: center; gap: 7px; width: min(310px,100%); min-height: 34px; border: 1px solid #e1e7f0; border-radius: 7px; padding: 0 9px; color: #8793a6; }
.search-box input { width: 100%; border: 0; outline: none; color: var(--ink); background: transparent; font-size: 10px; }
.result-count { color: #8a95a8; font-size: 9px; }
.quiz-name { display: flex; align-items: center; gap: 8px; min-width: 250px; white-space: normal; }
.quiz-symbol { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; color: #286fbd; background: var(--soft-blue); }
.quiz-name strong, .participant-name strong { display: block; color: #35435d; font-size: 10px; font-weight: 600; }
.quiz-name small, .participant-name small { display: block; margin-top: 2px; color: #919bad; font-size: 8px; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 99px; font-size: 8px; font-weight: 700; }
.status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-published { color: #20815c; background: #eaf7f0; }
.status-draft { color: #a8751a; background: #fff5e4; }
.status-archived { color: #788397; background: #f0f2f6; }
.participant-record { display: flex; align-items: center; gap: 8px; min-width: 180px; }
.participant-avatar { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #245e9f; background: #e8f2ff; font-size: 8px; font-weight: 700; }
.loading-cell, .empty-cell { padding: 25px; color: #8995a8; text-align: center; }
.error-banner { margin: 18px 34px 0; padding: 10px 13px; border: 1px solid #f0c7ca; border-radius: 8px; color: #973e46; background: #fff3f3; font-size: 11px; }
.error-banner[hidden], .view[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .sidebar { width: 210px; }
  .main-content { margin-left: 210px; }
  .view { padding-right: 22px; padding-left: 22px; }
  .topbar { padding: 0 22px; }
  .chart-grid { grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); }
  .kpi-grid { gap: 8px; }
  .kpi-card { padding: 12px; }
}
@media (max-width: 850px) {
  .sidebar { width: 66px; align-items: center; padding: 18px 7px 12px; }
  .brand { padding: 0 0 18px; }
  .brand-copy, .nav-label, .nav-link > span:not(.nav-icon), .sidebar-note, .sidebar-user > div:not(.user-avatar), .user-menu { display: none; }
  .main-nav { width: 100%; }
  .nav-link { justify-content: center; padding: 0; }
  .nav-icon { font-size: 17px; }
  .sidebar-user { justify-content: center; width: 100%; padding-top: 12px; }
  .main-content { margin-left: 66px; }
  .kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chart-grid { grid-template-columns: 1fr; }
  .chart-grid .panel { min-height: auto; }
  .performance-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 20px; }
}
@media (max-width: 560px) {
  .sidebar { position: sticky; inset: 0 0 auto; width: 100%; height: auto; padding: 9px 10px; }
  .app-shell { display: flex; flex-direction: column; }
  .brand { display: none; }
  .nav-label, .sidebar-note, .sidebar-user { display: none; }
  .main-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .nav-link { justify-content: center; min-height: 39px; padding: 0 4px; font-size: 9px; }
  .nav-link > span:not(.nav-icon) { display: inline; }
  .nav-icon { display: none; }
  .nav-count { display: none !important; }
  .main-content { margin: 0; }
  .topbar { min-height: 48px; padding: 0 13px; }
  .online-text { font-size: 0; }
  .online-text::after { content: 'Local'; font-size: 9px; }
  .view { padding: 20px 12px 14px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 17px; }
  .dashboard-heading { flex-direction: column; }
  .heading-actions { width: 100%; align-items: end; }
  .period-wrap { flex: 1; }
  .period-wrap select { width: 100%; }
  .kpi-grid { gap: 8px; }
  .kpi-card { padding: 11px; }
  .kpi-top { align-items: flex-start; min-height: 27px; font-size: 9px; }
  .kpi-value { font-size: 23px; }
  .kpi-foot { font-size: 8px; }
  .chart-grid .panel { padding: 13px 12px; }
  .bar-chart { gap: 4px; }
  .chart-foot { font-size: 8px; }
  .insight-heading { align-items: flex-start; flex-direction: column; padding: 13px 12px; }
  .panel-foot { align-items: flex-start; flex-direction: column; padding: 9px 12px; }
  th { padding: 9px 11px; }
  td { padding: 9px 11px; }
  .performance-list { grid-template-columns: 1fr; }
}

/* Shared access, branding and participant portal */
[hidden] { display:none !important; }
.auth-screen { min-height:100vh; display:grid; place-items:center; padding:24px; background:radial-gradient(circle at 10% 10%,#dceeff,transparent 35%),linear-gradient(135deg,#f5f8fd,#eaf1fa); }
.brand-logo img { object-fit:contain; padding:3px; animation:logoFloat 4.5s ease-in-out infinite; }
.auth-card { width:min(440px,100%); display:grid; gap:14px; padding:36px; border:1px solid #e5ebf3; border-radius:20px; background:#fff; box-shadow:0 24px 70px #173c7019; }
.auth-logo { width:160px; height:90px; margin:0 auto 8px; object-fit:contain; border-radius:14px; animation:logoFloat 4s ease-in-out infinite; }
@keyframes logoFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)} }
.auth-card h1 { margin:0; font:750 28px Manrope,sans-serif; color:#172d50; letter-spacing:-.04em; }
.auth-card p { margin:-8px 0 7px; color:#8390a4; }
.auth-card label,.modal label:not(.checkbox-row),.question-edit-card>label { display:grid; gap:7px; color:#5e6c82; font-size:12px; font-weight:600; }
.auth-card input,.modal input:not([type=checkbox]):not([type=file]),.modal textarea,.modal select,.people-toolbar select { width:100%; min-height:40px; border:1px solid #dfe6f0; border-radius:8px; padding:9px 11px; outline:none; color:#293a55; background:#fff; font:inherit; }
.auth-card input:focus,.modal input:focus,.modal textarea:focus,.modal select:focus { border-color:#70a7e1; box-shadow:0 0 0 3px #edf5ff; }
.login-hint { border-radius:8px; padding:10px 12px; color:#62748f; background:#f4f7fb; font-size:11px; }
.form-error { min-height:17px; color:#ba4148; font-size:12px; }
.wide { width:100%; min-height:45px; justify-content:space-between; padding:0 16px; font-size:13px; }
.quiet-link { color:#557ba9; text-align:center; font-size:12px; text-decoration:none; }
.public-mode { background:#fff; }
.public-screen { min-height:100vh; color:#172b4b; background:#fff; }
.public-header { position:absolute; inset:0 0 auto; z-index:2; display:flex; justify-content:space-between; align-items:center; height:84px; padding:0 max(calc((100vw - 1220px)/2),5vw); }
.public-brand { display:flex; align-items:center; gap:13px; color:#fff; text-decoration:none; }
.public-brand img { width:55px; height:46px; object-fit:contain; border-radius:6px; animation:logoFloat 4s ease-in-out infinite; }
.public-brand b,.public-brand small { display:block; letter-spacing:.1em; }.public-brand b{font:800 14px Manrope}.public-brand small{margin-top:3px;font-size:9px;color:#c8dcf7}
.public-actions .button { color:#fff; border-color:#ffffff66; background:#ffffff14; }
.public-main { max-width:1440px; margin:auto; padding:0 5vw; }
.welcome-hero { position:relative; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; min-height:510px; margin:0 -5vw; overflow:hidden; padding:100px max(calc((100vw - 1220px)/2),5vw) 45px; color:#fff; background:linear-gradient(115deg,#0751a9 0%,#1266c8 55%,#1871d3 100%); }
.hero-copy { position:relative; z-index:1; max-width:600px; }.eyebrow{color:#73849b;font-size:10px;font-weight:800;letter-spacing:.14em}.eyebrow.light{color:#c3d9f4}
.hero-copy h1 { margin:15px 0 14px; font:800 clamp(36px,4.5vw,62px)/1.08 Manrope,sans-serif; letter-spacing:-.055em; }.hero-copy h1 em{font-style:normal;color:#f8de58}.hero-copy p{max-width:490px;color:#d5e5f8;font-size:15px;line-height:1.75}.hero-button{margin-top:15px;min-height:44px;color:#164a86;background:#f7dc57;font-size:12px}
.hero-art { position:relative; display:grid; place-items:center; height:350px; }.hero-logo{position:relative;z-index:1;display:grid;place-items:center;width:235px;height:205px;border:1px solid #ffffff30;border-radius:48% 52% 48% 52%;background:#ffffff12;box-shadow:0 20px 80px #082e6550;transform:rotate(-5deg);animation:logoFloat 5s ease-in-out infinite}.hero-logo img{width:76%;height:76%;object-fit:contain;border-radius:15px}.orbit{position:absolute;width:310px;height:160px;border:1px solid #ffffff45;border-radius:50%;transform:rotate(-24deg)}.orbit-two{width:380px;height:225px;transform:rotate(42deg);border-color:#f3d85c65}.hero-spark{position:absolute;top:40px;right:21%;color:#ffdf4e;font-size:35px;animation:spin 12s linear infinite}.hero-pill{position:absolute;z-index:2;bottom:20px;padding:9px 15px;border:1px solid #ffffff45;border-radius:99px;color:#fff;background:#0a4e9c88;font-size:10px;letter-spacing:.08em}.hero-decoration{position:absolute;border:1px solid #ffffff14;border-radius:50%}.decor-a{width:460px;height:460px;right:-200px;top:-200px}.decor-b{width:300px;height:300px;left:38%;bottom:-240px}@keyframes spin{to{transform:rotate(360deg)}}
.quiz-section{padding:58px 0 35px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:21px}.section-heading h2{margin:7px 0;color:#1b3153;font:750 28px Manrope;letter-spacing:-.04em}.section-heading p{margin:0;color:#8490a3;font-size:13px}.public-quiz-grid{display:block}.other-quizzes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.other-quizzes-grid .public-quiz-card{display:flex;min-width:0;height:100%;flex-direction:column}.other-quizzes-grid .public-card-content{display:flex;flex:1;align-items:flex-start;flex-direction:column}.other-quizzes-grid .public-card-content .button{margin-top:auto}.public-quiz-card{overflow:hidden;border:1px solid #e8edf4;border-radius:15px;background:#fff;box-shadow:0 5px 25px #18395b0c;transition:transform .2s,box-shadow .2s}.public-quiz-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px #18395b18}.featured-quiz{display:grid;grid-template-columns:.92fr 1.08fr}.public-card-cover{position:relative;display:grid;place-items:center;min-height:190px;overflow:hidden;background:linear-gradient(135deg,#1359a7,#2379d1)}.featured-quiz .public-card-cover{min-height:310px}.cover-chip{position:absolute;top:17px;left:17px;z-index:1;padding:7px 10px;border:1px solid #ffffff40;border-radius:99px;color:#fff;background:#ffffff18;font-size:9px;font-weight:700;letter-spacing:.08em}.cover-art{position:relative;display:grid;place-items:center;width:160px;height:160px;border:1px solid #ffffff40;border-radius:50%;color:#fff;background:#ffffff12}.cover-art span{position:absolute;top:15px;right:25px;color:#f7df59;font-size:29px}.cover-art i{position:absolute;width:70px;height:70px;border:2px solid #ffffffab;border-radius:50% 50% 4px 50%;transform:rotate(45deg)}.cover-art b{z-index:1;font:800 25px Manrope;letter-spacing:.12em}.public-card-content{padding:22px 24px}.public-card-content h3{margin:7px 0 8px;color:#203657;font:750 21px/1.25 Manrope;letter-spacing:-.03em}.public-card-content p{margin:0;color:#79879b;font-size:12px;line-height:1.65}.quiz-card-meta{display:flex;gap:18px;margin:19px 0;color:#7d8ca1;font-size:10px}.public-card-content .button{min-height:37px;font-size:11px}.public-footer{display:flex;gap:9px;padding:32px 0;color:#8996a8;font-size:11px}.public-footer span{color:#e4b53d}
.app-shell[hidden],.public-screen[hidden],.auth-screen[hidden]{display:none!important}.account-wrap,.notification-wrap{position:relative}.account-button{display:flex;align-items:center;gap:8px;border:0;background:transparent;text-align:left;color:#536179}.account-name{font-size:10px}.account-name b{color:#273955}.account-name small{display:block;margin-top:2px;color:#98a2b1;font-size:9px}.account-button .top-avatar{overflow:hidden}.top-avatar img,.user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.notification-button,.icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e4e9f0;border-radius:9px;color:#61718a;background:#fff}.notification-button{position:relative;font-size:19px}.notification-button i{position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:50%;background:#ec6670}.notification-button i[hidden]{display:none}.account-menu,.notification-popover{position:absolute;z-index:8;top:45px;right:0;width:220px;padding:7px;border:1px solid #e7ecf2;border-radius:11px;background:white;box-shadow:0 15px 45px #10254a20}.account-menu button{display:block;width:100%;padding:10px;border:0;border-radius:7px;color:#465772;background:#fff;text-align:left;font-size:11px}.account-menu button:hover{background:#f3f7fc}.account-menu .logout-option{border-top:1px solid #edf0f4;color:#b1454c}.notification-popover{width:280px;padding:14px;color:#43536c;font-size:12px}.notification-popover> b{display:block;margin-bottom:10px}.notification-popover p{padding:9px 0;border-top:1px solid #edf0f4}.notification-popover small{display:block;margin-top:4px;color:#9aa4b3}
.account-button .top-avatar{flex:0 0 31px}.sidebar-user{width:100%;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.side-user-copy{min-width:0}.side-user-copy strong{color:#fff;font-size:10px}.sidebar .user-avatar{flex:0 0 31px;overflow:hidden}.topbar-right{gap:11px}.kpi-extra{margin-top:-4px}.mini-kpi{display:grid;gap:4px;padding:12px 15px;border:1px solid var(--line);border-radius:9px;background:#fff}.mini-kpi span{color:#8290a3;font-size:10px}.mini-kpi b{color:#294267;font:750 20px Manrope}.mini-kpi small{color:#a0a9b6;font-size:9px}.page-heading h1{font-size:27px}.page-heading p{max-width:540px}.people-kpi{display:grid;text-align:right}.people-kpi b{color:#243c60;font:750 22px Manrope}.people-kpi small{color:#8592a5;font-size:10px}.people-toolbar{justify-content:flex-start;flex-wrap:wrap}.people-toolbar .search-box{flex:1 1 240px}.people-toolbar select{width:auto;min-width:145px;min-height:34px;padding:6px 9px;font-size:10px}.pagination{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-top:1px solid #edf0f4;color:#8793a5;font-size:10px}.pagination>div{display:flex;align-items:center;gap:8px}.pagination .button{min-height:30px;font-size:9px}.pagination button:disabled{opacity:.45;cursor:not-allowed}#page-numbers{font-weight:700;color:#40536f}
.admin-quiz-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-quiz-card{padding:17px;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:var(--shadow)}.admin-card-top{display:flex;justify-content:space-between;align-items:center}.admin-quiz-card h3{margin:15px 0 4px;color:#2c3e5d;font:700 15px Manrope}.admin-quiz-card p{margin:0;color:#8995a8;font-size:11px}.admin-card-meta{display:flex;gap:14px;margin:18px 0 12px;color:#63738c;font-size:10px}.admin-quiz-card>small{color:#9aa4b2;font-size:9px}.modal{width:min(700px,calc(100% - 28px));max-height:90vh;padding:0;border:0;border-radius:16px;background:#fff;box-shadow:0 25px 90px #10254a38}.modal::backdrop{background:#10254a80;backdrop-filter:blur(3px)}.quiz-modal{width:min(850px,calc(100% - 28px))}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:21px 24px;border-bottom:1px solid #edf0f5}.modal-header h2{margin:5px 0;color:#203453;font:750 20px Manrope}.modal-header p{margin:0;color:#8592a4;font-size:11px}.modal-body{max-height:calc(90vh - 145px);overflow:auto;padding:22px 24px}.modal-footer{display:flex;align-items:center;gap:8px;padding:14px 24px;border-top:1px solid #edf0f5}.footer-spacer{flex:1}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.form-grid label,.quiz-modal .modal-body label{font-size:11px}.span-two{grid-column:1/-1}.checkbox-row{display:flex;align-items:center;gap:8px;color:#63718a;font-size:11px}.question-editor-head{display:flex;justify-content:space-between;align-items:center;margin:26px 0 12px}.question-editor-head h3{margin:0;color:#334561;font:700 14px Manrope}.question-editor-head p{margin:4px 0;color:#98a3b1;font-size:10px}.question-edit-card{display:grid;gap:12px;margin:12px 0;padding:15px;border:1px solid #e5eaf1;border-radius:10px;background:#fbfcfe}.question-edit-title{display:flex;justify-content:space-between;color:#3e5679;font-size:11px}.remove-question{border:0;color:#b34e52;background:transparent;font-size:10px}.option-editor{display:grid;gap:8px}.option-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.option-edit-row{display:flex!important;align-items:center;gap:7px!important}.option-edit-row input[type=checkbox]{accent-color:#1768c2}.option-edit-row input[type=text]{min-width:0}.option-edit-row .option-value{width:100%;min-height:35px!important;padding:7px!important;font-size:10px!important}.question-edit-card .button{justify-self:start;min-height:29px;font-size:9px}.quiz-preview{margin-top:18px;padding:17px;border:1px solid #9fc3e9;border-radius:10px;background:#f5f9ff}.preview-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;color:#2e6aa9;font-size:9px;letter-spacing:.08em}.quiz-preview h3{margin:6px 0;color:#243b5d;font:700 18px Manrope}.quiz-preview>p{color:#718199;font-size:11px}.preview-question{display:grid;gap:7px;margin-top:12px;padding:12px;border:1px solid #e4ebf4;border-radius:8px;background:white}.preview-question b{color:#405571;font-size:11px}.preview-question small{color:#73839a;font-size:10px}.upload-zone{display:grid!important;place-items:center;min-height:120px;border:1px dashed #9ab5d5;border-radius:11px;background:#f7faff}.photo-preview{display:block;width:88px;height:88px;margin:15px auto;border-radius:50%;object-fit:cover}.play-modal{width:min(680px,calc(100% - 24px))}.play-top{display:flex;justify-content:space-between;align-items:center;padding:18px 24px 8px}.play-top img{width:72px;height:42px;border-radius:5px;object-fit:contain}.play-progress{display:flex;justify-content:space-between;padding:13px 28px 7px;color:#75849a;font-size:10px;font-weight:700;letter-spacing:.06em}.play-progress-track{height:4px;margin:0 28px;background:#ecf1f7}.play-progress-track i{display:block;height:100%;background:#176ac4;transition:width .3s}.play-copy{padding:27px 28px 15px}.play-copy h2{margin:8px 0;color:#203758;font:750 24px/1.3 Manrope}.play-copy p{color:#8592a4;font-size:11px}.answer-options{display:grid;gap:8px;padding:0 28px}.answer-option{display:flex;align-items:center;gap:11px;padding:11px;border:1px solid #e2e9f1;border-radius:9px;color:#4c5e78;background:#fff;text-align:left}.answer-option>span{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;color:#3975b4;background:#eef5fd;font-size:10px;font-weight:700}.answer-option.selected{border-color:#3884d4;background:#f1f7ff}.answer-options textarea{width:100%;border:1px solid #dfe6f0;border-radius:9px;padding:13px}.play-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:19px;padding:16px 28px;border-top:1px solid #edf0f5}.play-footer small{color:#96a0af;font-size:10px}.answer-feedback{margin:14px 28px;padding:14px;border-radius:10px}.answer-feedback b{font-size:13px}.answer-feedback p{margin:6px 0;color:#5b6b82;font-size:11px}.answer-feedback a{display:inline-block;margin:4px 0 11px;color:#1a68b8;font-size:11px}.answer-feedback .button{display:flex;width:max-content}.is-correct{background:#edf8f2;color:#14764f}.is-wrong{background:#fff7e9;color:#986714}.finish-card{display:grid;justify-items:center;padding:40px;text-align:center}.finish-card>img{width:110px;height:65px;object-fit:contain;margin-bottom:14px}.finish-card h2{margin:10px 0;color:#203758;font:750 24px Manrope}.finish-card>p{max-width:450px;color:#73839a;line-height:1.7}.finish-star{display:grid;place-items:center;width:45px;height:45px;margin-top:12px;border-radius:50%;color:#ab7e10;background:#fff5d7;font-size:24px}.finish-synopsis{margin:12px 0 20px;padding:15px;border-radius:10px;background:#f4f7fb;text-align:left}.finish-synopsis b{color:#385273;font-size:11px}.finish-synopsis p{margin-bottom:0;color:#72819a;font-size:11px;line-height:1.6}.toast{position:fixed;z-index:20;right:22px;bottom:22px;padding:12px 17px;border-radius:9px;color:#fff;background:#183e70;box-shadow:0 8px 30px #183e7033;font-size:12px;opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.loading-card{grid-column:1/-1;padding:32px;border:1px dashed #d7e0ec;border-radius:12px;color:#7e8ca0;text-align:center}
@media(max-width:850px){.admin-quiz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar-right .online-dot,.topbar-right .online-text{display:none}}
@media(max-width:650px){.welcome-hero{grid-template-columns:1fr;min-height:0;padding-top:120px}.hero-art{height:220px}.hero-logo{width:150px;height:140px}.orbit{width:240px;height:120px}.orbit-two{width:285px;height:160px}.public-quiz-grid{grid-template-columns:1fr}.featured-quiz{grid-column:auto;grid-template-columns:1fr}.featured-quiz .public-card-cover{min-height:190px}.public-header{height:70px}.public-brand img{width:42px;height:38px}.public-header .button{font-size:9px;min-height:31px;padding:0 8px}.public-main{padding-right:18px;padding-left:18px}.welcome-hero{margin:0 -18px;padding-right:18px;padding-left:18px}.section-heading{align-items:flex-start;gap:12px;flex-direction:column}.admin-quiz-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span-two{grid-column:auto}.option-list{grid-template-columns:1fr}.modal-header,.modal-body,.modal-footer{padding-right:16px;padding-left:16px}.modal-footer{flex-wrap:wrap}.account-name{display:none}.pagination{align-items:flex-start;gap:10px;flex-direction:column}.pagination>div{width:100%;justify-content:space-between}.people-toolbar select{flex:1}.auth-card{padding:27px}.play-copy{padding:20px}.answer-options{padding:0 20px}.play-footer{align-items:flex-start;padding:14px 20px;flex-direction:column}.play-footer .button{width:100%}}
.settings-description{margin:5px 0 0;color:#8290a3;font-size:11px}.admin-user-actions{display:flex;gap:5px;white-space:nowrap}.admin-user-actions .button{min-height:28px;padding:0 8px;font-size:9px}.admin-user-actions .danger-quiet{color:#a34a51}.settings-detail{display:grid;grid-template-columns:130px 1fr;gap:12px 18px}.settings-detail dt{color:#8592a4;font-size:11px}.settings-detail dd{margin:0;color:#334761;font-size:12px;font-weight:600}.account-form-label span{color:#93a0b1;font-weight:400}
@media(max-width:650px){.main-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.nav-link{font-size:8px}.nav-link>span:not(.nav-icon){display:block;white-space:nowrap}.nav-icon{display:block;font-size:14px}.admin-user-actions{flex-wrap:wrap;white-space:normal}.settings-detail{grid-template-columns:1fr;gap:4px}.settings-detail dd{margin-bottom:10px}}
.bar-chart.yearly-chart{justify-content:flex-start;overflow-x:auto}.yearly-chart .bar-column{flex:0 0 30px}

/* Accessible show/hide control for the administrator login password. */
.password-field{position:relative;display:block;width:100%}.password-field input{padding-right:48px!important}.password-toggle{position:absolute;top:50%;right:8px;display:grid;place-items:center;width:32px;height:32px;transform:translateY(-50%);border:0;border-radius:7px;color:#63748e;background:transparent;font-size:17px}.password-toggle:hover,.password-toggle:focus-visible{color:#1264c4;background:#edf5ff;outline:none}

/* New ICC identity and a tighter, clearer landing page */
.public-header{height:76px}.public-brand{gap:9px}.public-brand img{width:47px;height:47px;object-fit:contain;filter:drop-shadow(0 2px 5px #002d6250)}.public-brand b{font-size:13px}.public-brand small{color:#ffe36a;font-size:9px;font-weight:700;letter-spacing:.08em}
.welcome-hero{min-height:410px;padding-top:82px;padding-bottom:30px;grid-template-columns:1.12fr .88fr;background:linear-gradient(118deg,#0753ad 0%,#1167c9 58%,#287dd0 100%)}.hero-copy h1{max-width:650px;color:#fff;font-size:clamp(35px,4.1vw,54px);line-height:1.08}.hero-copy h1 em{color:#ffdf4d}.hero-copy p{max-width:470px;color:#e2efff;font-size:14px}.hero-copy .eyebrow.light{color:#ffdf6b}.hero-button{margin-top:8px;color:#123c70;background:#ffdc49;box-shadow:0 8px 25px #003d8535}.hero-art{height:265px;display:flex;flex-direction:column;justify-content:center;gap:1px}.hero-logo{width:185px;height:175px;flex:none;border-radius:46% 54% 50% 50%;border-color:#ffffff39;background:#ffffff12;box-shadow:0 18px 55px #052e6240;transform:none;animation:logoFloat 5s ease-in-out infinite}.hero-logo img{width:89%;height:89%;object-fit:contain;padding:0;filter:drop-shadow(0 2px 6px #00397530)}.hero-icc-name{position:relative;z-index:2;margin-top:-4px;color:white;font:800 13px Manrope,sans-serif;letter-spacing:.15em;text-transform:uppercase;text-shadow:0 2px 12px #00376b}.orbit{width:255px;height:130px;border-color:#ffffff27}.orbit-two{width:305px;height:165px;border-color:#ffe45b46}.hero-pill{position:relative;bottom:auto;z-index:2;margin-top:6px;padding:6px 12px;border-color:#ffffff35;background:#084d9d70;font-size:9px}.hero-spark{top:26px;right:18%;font-size:26px}.hero-decoration.decor-a{width:360px;height:360px;right:-195px;top:-230px}.hero-decoration.decor-b{width:240px;height:240px;left:42%;bottom:-190px}
.quiz-section{padding-top:38px}.section-heading{margin-bottom:17px}.section-heading h2{font-size:25px}.public-quiz-grid{display:grid;gap:24px}.other-quizzes-grid{gap:22px}.public-quiz-card{border-radius:13px}.featured-quiz{position:relative;grid-template-columns:.66fr 1.34fr;border:2px solid #efcf38;box-shadow:0 12px 34px #d7ae2025;background:#fffdf3}.featured-quiz .public-card-cover{min-height:220px;background:radial-gradient(circle at 72% 28%,#418ce0 0%,transparent 39%),linear-gradient(145deg,#083d7b,#1269c7)}.featured-quiz .cover-chip{top:14px;left:14px;color:#263b59;border-color:#ffe775;background:#ffe36a;font-size:9px;font-weight:800;box-shadow:0 4px 13px #031e472a}.featured-quiz .cover-art{width:132px;height:132px;border-color:#ffffff55;background:#ffffff13}.featured-quiz .cover-art b{font-size:20px}.featured-quiz .public-card-content{align-self:center;padding:22px 27px;background:linear-gradient(110deg,#fffdf4,#fff)}.featured-quiz .public-card-content h3{font-size:23px}.featured-quiz .public-card-content .button.primary{color:#263b59;background:#ffdc49;box-shadow:0 5px 15px #d4a91330}.featured-quiz .public-card-content .button.primary:hover{background:#f5ce26}.featured-quiz:before{position:absolute;z-index:2;top:12px;right:13px;content:'À LA UNE';padding:5px 8px;border-radius:99px;color:#8b6814;background:#fff0aa;font-size:8px;font-weight:800;letter-spacing:.1em}.public-footer{align-items:center;gap:10px;padding:25px 0 34px;border-top:1px solid #edf1f6}.public-footer img{width:32px;height:32px;object-fit:contain;border-radius:50%;background:#125daf}.public-footer b{color:#20416b;font:800 11px Manrope;letter-spacing:.1em;text-transform:uppercase}.public-footer span{margin:0 2px}.public-footer small{color:#8996a8;font-size:10px}
@media(max-width:850px){.welcome-hero{min-height:390px}.hero-copy h1{font-size:clamp(34px,5vw,46px)}.hero-art{height:240px}.hero-logo{width:160px;height:155px}.featured-quiz{grid-template-columns:.75fr 1.25fr}}
@media(max-width:650px){.public-header{height:67px}.welcome-hero{min-height:0;padding-top:105px;padding-bottom:25px}.hero-copy h1{font-size:37px}.hero-copy p{font-size:13px}.hero-art{height:222px;margin-top:9px}.hero-logo{width:150px;height:143px}.hero-pill{margin-top:5px}.featured-quiz{grid-template-columns:1fr}.featured-quiz .public-card-cover{min-height:165px}.featured-quiz .cover-art{width:112px;height:112px}.featured-quiz .public-card-content{padding:18px}.featured-quiz .public-card-content h3{font-size:19px}.featured-quiz:before{top:10px;right:10px}.public-footer{flex-wrap:wrap}.public-footer small{flex-basis:100%;margin-left:42px}}
.cover-art{align-content:center;gap:3px}.cover-art .cover-logo{width:87px;height:87px;object-fit:contain;filter:drop-shadow(0 3px 7px #001f4833)}.cover-art b{font-size:9px;letter-spacing:.16em}.featured-quiz .cover-art .cover-logo{width:100px;height:100px}
.auth-logo{width:108px;height:108px;padding:6px;border-radius:23px;background:linear-gradient(145deg,#0753ad,#1672cf);object-fit:contain;box-shadow:0 10px 28px #135ca32b}

/* Compact welcome band; participant start and question views follow the references. */
.welcome-hero{min-height:335px;padding-top:74px;padding-bottom:22px}.hero-copy h1{font-size:clamp(31px,3.25vw,43px);line-height:1.1}.hero-copy p{max-width:430px;margin-top:8px;font-size:12px;line-height:1.65}.hero-copy .eyebrow.light{font-size:9px}.hero-button{min-height:38px;margin-top:5px;font-size:11px}.hero-art{height:218px}.hero-logo{width:155px;height:148px}.orbit{width:220px;height:108px}.orbit-two{width:260px;height:137px}.hero-pill{font-size:8px}.hero-spark{top:16px;right:20%;font-size:20px}
.quiz-intro-modal{width:min(1080px,calc(100% - 28px));max-height:94vh;overflow:auto;border:0;border-radius:0;background:#faf8ff;box-shadow:none}.quiz-intro-modal::backdrop{background:#20153655;backdrop-filter:blur(4px)}.quiz-intro-modal form{position:relative;padding:24px clamp(18px,4vw,54px) 30px;background:#faf8ff}.intro-close{position:absolute;top:16px;right:16px;z-index:3;width:36px;height:36px;border:1px solid #e8e0f3;border-radius:50%;font-size:23px}.intro-brand{display:flex;justify-content:center;align-items:center;gap:15px;margin:0 auto 24px}.intro-brand img{width:60px;height:60px;object-fit:contain;padding:5px;border-radius:17px;background:linear-gradient(145deg,#f1edfa,#fff);box-shadow:0 8px 24px #45326b18}.intro-brand b{display:block;color:#251b32;font:700 clamp(17px,2.5vw,25px) Georgia,serif}.intro-brand strong{display:block;margin-top:3px;color:#883bea;font:800 11px Manrope,sans-serif;letter-spacing:.14em}.quiz-intro-card{max-width:960px;margin:auto;padding:30px clamp(18px,4vw,58px) 26px;border:1px solid #e7e0f0;border-radius:21px;background:#fff;box-shadow:0 16px 45px #35225710;text-align:center}.intro-emblem{display:grid;place-items:center;width:100px;height:100px;margin:0 auto 17px;border:4px solid #f1e5b7;border-radius:50%;background:linear-gradient(145deg,#0753ad,#176fc9);box-shadow:0 11px 24px #182c491c}.intro-emblem img{width:90px;height:90px;object-fit:contain}.quiz-intro-card h1{max-width:860px;margin:8px auto 9px;color:#241a32;font:700 clamp(28px,4.2vw,50px)/1.13 Georgia,'Times New Roman',serif;letter-spacing:-.025em}.intro-quiz-meta{color:#8237e7;font:800 14px Manrope,sans-serif}.intro-summary{max-width:720px;margin:18px auto 23px;color:#69728b;font-size:14px;line-height:1.8}.intro-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 24px}.intro-stats>div{display:grid;align-content:center;gap:7px;min-height:90px;border:1px solid #e8e1f2;border-radius:15px;background:#f7f4fb}.intro-stats b{color:#8738e9;font:800 25px Manrope}.intro-stats span{color:#667088;font-size:10px;font-weight:800;letter-spacing:.1em}.first-name-field{display:grid;gap:9px;margin:0 0 13px;color:#606982;text-align:left;font-size:13px;font-weight:700}.first-name-field input{width:100%;min-height:55px;border:1px solid #e7e0f0;border-radius:12px;padding:0 16px;outline:none;color:#251b32;background:#f8f5fc;font:inherit;font-size:15px}.first-name-field input:focus{border-color:#a77be6;box-shadow:0 0 0 3px #efe6fc}.intro-start{display:flex;width:100%;min-height:57px;justify-content:center;border:0;border-radius:14px;color:#fff;background:linear-gradient(105deg,#8737ef,#5920b5);box-shadow:0 12px 25px #7526d636;font-size:15px;font-weight:800}.intro-start span{color:#ffdc53}.privacy-note{display:block;margin-top:12px;color:#9299aa;font-size:10px}
.quiz-player-screen{inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;overflow-y:auto;padding:24px clamp(16px,4vw,56px);border:0;border-radius:0;background:#faf8ff}.quiz-player-screen::backdrop{background:#faf8ff}.quiz-player-wrap{width:100%;max-width:1320px;margin:0 auto}.player-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.player-brand{display:flex;align-items:center;gap:10px;color:#33234e;font:800 11px Manrope;letter-spacing:.08em;text-decoration:none;text-transform:uppercase}.player-brand img{width:36px;height:36px;object-fit:contain;padding:2px;border-radius:50%;background:#fff;box-shadow:0 4px 14px #35225715}.player-exit{width:36px;height:36px;border:1px solid #e8e2f0;border-radius:50%;color:#6a6680;background:#fff;font-size:21px}.player-topline{display:flex;align-items:center;justify-content:space-between;margin:10px 0 13px;color:#626c83;font-size:13px;font-weight:800;letter-spacing:.04em}.score-pill{padding:9px 15px;border:1px solid #f2dcac;border-radius:99px;color:#d17b0b;background:#fff8ea;font-size:13px;letter-spacing:0}.player-track{height:7px;margin-bottom:24px;overflow:hidden;border-radius:99px;background:#e9e4ef}.player-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#8139ee,#aa6af5);transition:width .3s}.question-card{padding:clamp(22px,4vw,48px);border:1px solid #e8e0f0;border-radius:23px;background:#fff;box-shadow:0 15px 50px #29203b0b}.question-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;color:#8438e8;font-size:12px;font-weight:900;letter-spacing:.1em}.question-clock{padding:7px 11px;border:1px solid #f3ddb0;border-radius:99px;color:#bd720f;background:#fff9ed;letter-spacing:0}.question-type-chip{display:inline-flex;padding:8px 14px;border:1px solid #f2daad;border-radius:99px;color:#c47611;background:#fff8e9;font-size:12px;font-weight:800}.question-card h1{margin:22px 0 23px;color:#241c31;font:700 clamp(25px,3vw,37px)/1.28 Georgia,'Times New Roman',serif;letter-spacing:-.012em}.answer-instruction{margin:-12px 0 16px;color:#7a6e8e;font-size:12px}.question-card .answer-options{display:grid;gap:10px;padding:0}.question-card .answer-option{display:flex;align-items:center;gap:16px;min-height:70px;padding:12px 17px;border:1px solid #e6e0ef;border-radius:14px;color:#30283b;background:#f7f4fb;text-align:left;font-size:clamp(13px,1.4vw,17px);transition:background .15s,border .15s,transform .15s}.question-card .answer-option:hover{transform:translateY(-1px);border-color:#c9afea}.answer-letter{display:grid;flex:0 0 39px;place-items:center;width:39px;height:39px;border:1px solid #e8e0f0;border-radius:50%;color:#67718a;background:#fff;font-size:14px;font-weight:800}.answer-mark{margin-left:auto;font-size:20px;font-weight:900}.question-card .answer-option.selected{border-color:#9652e9;background:#f3eafa}.question-card .answer-option.answer-correct{border:2px solid #08a878;color:#163d32;background:#e6f8f1}.question-card .answer-option.answer-correct .answer-mark::after{content:'✓';color:#08a878}.question-card .answer-option.answer-incorrect{border:2px solid #f0484d;color:#673235;background:#fff0f0}.question-card .answer-option.answer-incorrect .answer-mark::after{content:'×';color:#e8424b}.question-card .answer-options textarea{min-height:100px;border:1px solid #e5deef;border-radius:13px;padding:14px;background:#f8f5fc;font:inherit}.question-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.question-card-footer small{color:#8a8fa0;font-size:11px}.question-card-footer .button,.next-question{min-height:43px;border-radius:11px;background:linear-gradient(100deg,#8239e9,#6426bf);font-size:12px}.answer-feedback{margin:20px 0 0;padding:18px;border:1px solid transparent;border-radius:15px}.answer-feedback.is-correct{border-color:#afe8d4;color:#146a50;background:#e9f8f2}.answer-feedback.is-wrong{border-color:#ffc8c8;color:#9a2528;background:#fff0f0}.feedback-heading{display:flex;align-items:center;justify-content:space-between;gap:9px}.feedback-heading b{font:800 17px Manrope}.feedback-heading span{font-size:11px}.answer-feedback>p{margin:10px 0;color:inherit;font-size:14px;line-height:1.7}.expected-answer{display:block;margin:8px 0;color:#59657a;font-size:12px}.answer-video{display:grid;gap:11px;margin:14px 0;padding:15px;border-radius:14px;color:#fff;background:#191523}.answer-video>b{font-size:13px}.answer-video iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:9px;background:#0b0910}.video-link{display:grid;place-items:center;min-height:48px;border-radius:9px;color:#271d3a;background:#fff;font-weight:800;text-decoration:none}.finish-score{margin:7px 0 3px;padding:8px 13px;border-radius:99px;color:#7534d5;background:#f1e8fd;font-size:13px}
.intro-emblem{overflow:hidden}.intro-emblem img{border-radius:50%;object-fit:cover}.question-preamble{margin:0 0 17px;padding:13px 15px;border:1px solid #f3dfb1;border-radius:13px;color:#79510d;background:linear-gradient(135deg,#fff8ea,#fff)}.question-preamble b{display:block;margin-bottom:5px;color:#a16207;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.question-preamble p{font:italic 14px/1.6 Georgia,serif;white-space:pre-line}.excerpt-card{display:grid;gap:9px}.excerpt-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.excerpt-head b{font-size:12px}.excerpt-head span{color:#f5cc71;font-size:10px;font-weight:700}.question-card .answer-option>span:not(.answer-letter):not(.answer-mark){display:block;width:auto;height:auto;border-radius:0;color:inherit;background:transparent;font-size:inherit;font-weight:inherit;text-align:left}
@media(max-width:850px){.welcome-hero{min-height:300px}.hero-copy h1{font-size:36px}.hero-art{height:195px}.hero-logo{width:140px;height:134px}}
@media(max-width:650px){.welcome-hero{padding-top:98px;padding-bottom:15px}.hero-copy h1{font-size:29px}.hero-copy p{font-size:11px}.hero-art{height:165px}.hero-logo{width:115px;height:110px}.hero-pill{display:none}.intro-brand{margin-bottom:16px}.intro-brand img{width:46px;height:46px}.intro-brand b{font-size:16px}.intro-brand strong{font-size:8px}.quiz-intro-modal form{padding:18px 12px}.quiz-intro-card{padding:22px 16px 19px;border-radius:17px}.intro-emblem{width:74px;height:74px;margin-bottom:13px}.intro-emblem img{width:66px;height:66px}.quiz-intro-card h1{font-size:27px}.intro-summary{margin:12px auto 17px;font-size:12px}.intro-stats{gap:7px;margin-bottom:17px}.intro-stats>div{min-height:70px}.intro-stats b{font-size:20px}.intro-stats span{font-size:8px}.first-name-field input{min-height:48px}.intro-start{min-height:49px;font-size:13px}.quiz-player-screen{padding:13px 12px}.player-head{margin-bottom:11px}.player-topline{margin:8px 0;font-size:10px}.score-pill{padding:7px 10px;font-size:10px}.player-track{margin-bottom:14px}.question-card{padding:17px 13px;border-radius:17px}.question-card h1{margin:17px 0;font-size:25px}.question-card .answer-option{min-height:60px;gap:10px;padding:9px 10px;font-size:13px}.answer-letter{flex-basis:32px;width:32px;height:32px}.question-card-footer{align-items:stretch;flex-direction:column}.question-card-footer .button{width:100%}.feedback-heading{align-items:flex-start;flex-direction:column}.answer-feedback>p{font-size:12px}}

/* Quiz cards: blurred Bible artwork replaces the repeated logo treatment. */
.public-card-cover{isolation:isolate;display:block;background:#155da6}
.public-card-cover::before{position:absolute;z-index:-2;inset:-12px;content:"";background:url('/assets/quiz-background.jpg') center 48%/cover no-repeat;transform:scale(1.01)}
.public-card-cover::after{position:absolute;z-index:-1;inset:0;content:"";background:linear-gradient(115deg,#0756a238,#1269c712)}
.featured-quiz .public-card-cover{background:#155da6}
.cover-chip{z-index:1}
.public-quiz-date{margin:8px 0 2px;color:#7b8aa0;font-size:11px;font-weight:650}

.sermon-link{display:inline-flex;align-items:center;gap:8px;margin:0 auto 17px;padding:10px 16px;border-radius:999px;color:#fff;background:#254f85;font-size:12px;font-weight:750;text-decoration:none;box-shadow:0 5px 16px #254f8526}.sermon-link:hover{background:#173e70}.sermon-link[hidden]{display:none}

.quiz-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:13px;border-top:1px solid #edf0f5}.quiz-actions .button{min-height:32px;padding:0 10px;font-size:10px}.quiz-actions .button:disabled{cursor:not-allowed;opacity:.45}.button.danger-quiet{border:1px solid #f0d5d5;color:#a33d43;background:#fffafa}.button.danger-quiet:hover:not(:disabled){background:#fff0f0}
.quiz-filter-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 16px;padding:13px 15px;border:1px solid var(--line);border-radius:11px;background:#fff}.quiz-filter-toolbar label{color:#65758c;font-size:11px;font-weight:700}.quiz-filter-toolbar input,.quiz-filter-toolbar select{min-height:35px;border:1px solid #dfe6f0;border-radius:8px;padding:7px 10px;color:#334761;background:#fff;font:inherit;font-size:11px}.quiz-filter-toolbar input{flex:1 1 240px}.quiz-filter-toolbar select{min-width:150px}
@media(max-width:650px){.quiz-filter-toolbar{align-items:stretch;flex-direction:column}.quiz-filter-toolbar input,.quiz-filter-toolbar select{width:100%;min-width:0}}
.heading-actions{flex-wrap:wrap}.heading-actions .period-wrap{min-width:142px}.heading-actions #quiz-title-filter{min-width:185px}.heading-actions #quiz-series-filter{min-width:150px}
@media(max-width:650px){.heading-actions{align-items:stretch}.heading-actions .period-wrap{flex:1 1 42%}.heading-actions #quiz-title-filter,.heading-actions #quiz-series-filter{min-width:0}}
.language-picker select{appearance:none;border:1px solid rgba(255,255,255,.4);border-radius:10px;padding:10px 12px;background:rgba(255,255,255,.12);color:inherit;font:inherit;font-weight:700;cursor:pointer}.language-picker option{color:#172c4d;background:#fff}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Quiz player and navigation refinements */
.admin-public-link{margin-top:10px;padding:10px 12px;border:1px solid rgb(255 255 255 / 17%);color:#fff;text-decoration:none}
.admin-public-link:hover{background:rgb(255 255 255 / 12%)}
.admin-public-link .nav-icon{color:#ffdc54}
.install-app-button{color:#fff;border-color:#ffffff66;background:#ffffff14}
.start-quiz:disabled{cursor:not-allowed;opacity:.72;filter:saturate(.55)}
.quiz-player-screen{padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 50% 0%,#f0e8fc 0%,#faf8ff 52%,#f7f9fc 100%)}
.quiz-player-wrap{max-width:1120px}
.player-brand{font-size:12px;letter-spacing:.07em}
.player-brand img{width:40px;height:40px}
.player-topline{font-size:13px}
.question-card{padding:clamp(22px,3.4vw,42px);border-radius:22px;box-shadow:0 20px 64px #33204b12}
.question-card h1{max-width:900px;margin:20px 0 26px;color:#211a2d;font:750 clamp(24px,2.4vw,32px)/1.25 Manrope,"DM Sans",system-ui,sans-serif;letter-spacing:-.035em;text-wrap:pretty}
.question-card .answer-option{min-height:66px;padding:12px 16px;color:#30283b;font-size:clamp(14px,1.35vw,17px);line-height:1.5}
.question-card .answer-option:focus-visible,.player-exit:focus-visible,.question-card-footer .button:focus-visible{outline:3px solid #8950db;outline-offset:3px}
.question-card-footer small{font-size:12px}
.question-card-footer .button{min-height:46px;padding-inline:20px;font-size:13px}
.admin-public-link:focus-visible{outline:2px solid #ffdc54;outline-offset:2px}
@media(max-width:850px){.question-card h1{font-size:clamp(23px,3.6vw,29px)}.quiz-player-wrap{max-width:720px}}
@media(max-width:650px){.admin-public-link{align-self:flex-end;margin-top:6px;padding:6px 9px;font-size:9px}.quiz-player-screen{padding:calc(env(safe-area-inset-top) + 12px) 12px calc(env(safe-area-inset-bottom) + 16px)}.quiz-player-wrap{max-width:560px}.player-head{margin-bottom:10px}.player-brand{font-size:10px}.player-brand img{width:34px;height:34px}.player-track{height:6px;margin-bottom:12px}.question-card{padding:19px 15px;border-radius:17px}.question-card-top{margin-bottom:12px;font-size:10px}.question-type-chip{padding:6px 11px;font-size:11px}.question-card h1{margin:15px 0 19px;font-size:clamp(21px,6vw,27px);line-height:1.25;letter-spacing:-.025em}.question-card .answer-options{gap:8px}.question-card .answer-option{min-height:58px;gap:10px;padding:9px 10px;border-radius:12px;font-size:14px}.answer-letter{flex-basis:32px;width:32px;height:32px;font-size:12px}.question-card-footer{margin-top:15px}.question-card-footer small{font-size:11px}.question-card-footer .button{min-height:46px;font-size:13px}.answer-feedback{padding:14px}.answer-feedback>p{font-size:13px;line-height:1.6}.public-actions{gap:5px}.public-header .install-app-button{max-width:72px;overflow:hidden;padding:0 7px;font-size:8px}.public-header #public-login{max-width:105px;font-size:8px}}
@media(max-width:380px){.player-topline{font-size:9px}.score-pill{padding:6px 8px}.question-card{padding:16px 12px}.question-card h1{font-size:21px}.question-card .answer-option{font-size:13px}}
/* Paramètres : sous-sections et journal d’audit */
.settings-tabs{display:flex;gap:8px;margin:0 0 16px;border-bottom:1px solid #e6ebf2}.settings-tab{border:0;border-bottom:2px solid transparent;padding:11px 16px;background:transparent;color:#74839a;font:inherit;font-weight:650;cursor:pointer}.settings-tab.active{border-color:#1765bd;color:#155da8}.settings-panel[hidden]{display:none!important}.audit-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) auto;gap:12px;align-items:end;margin-bottom:14px;padding:16px}.audit-filters label{display:grid;gap:6px;color:#66758d;font-size:12px;font-weight:600}.audit-filters input,.audit-filters select{min-width:0;min-height:40px;padding:8px 10px;border:1px solid #dfe6ef;border-radius:9px;background:#fff;color:#263750;font:inherit}.settings-panel .table-scroll{overflow:auto}.settings-panel table{min-width:930px}.notification-popover #admin-push-enable{width:100%;margin:0 0 10px;white-space:normal;font-size:11px}.push-subscribe-button{white-space:nowrap}
@media(max-width:760px){.audit-filters{grid-template-columns:1fr 1fr}.audit-filters label:nth-child(3){grid-column:1/-1}.audit-filters>.button{grid-column:1/-1}.settings-tabs{overflow:auto}.settings-tab{white-space:nowrap}.public-header .push-subscribe-button{max-width:90px;overflow:hidden;padding:0 7px;font-size:9px}}
.settings-tabs{gap:4px;margin:0 0 18px;padding:5px;width:max-content;max-width:100%;border:1px solid #e6ebf2;border-radius:11px;background:#edf2f8}.settings-tab{min-height:37px;border:0;border-radius:7px;padding:0 16px}.settings-tab.active{border:0;color:#155da8;background:#fff;box-shadow:0 1px 4px #10254a16}.audit-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px;padding:18px 20px;border:1px solid #e6ebf2;border-radius:11px;background:linear-gradient(115deg,#fff,#f5f9ff)}.audit-heading .eyebrow{margin-bottom:4px}.audit-heading h2{margin:0 0 4px;color:#203758;font:750 18px Manrope,sans-serif}.audit-heading p{margin:0;color:#8290a3;font-size:11px}.audit-error{margin:0 0 13px;padding:11px 14px;border:1px solid #f3c2c2;border-radius:8px;color:#a13434;background:#fff4f4;font-size:12px}.audit-error[hidden]{display:none!important}
@media(max-width:650px){.audit-heading{align-items:flex-start;flex-direction:column}.audit-heading .button{width:100%}.settings-tabs{width:100%}.settings-tab{flex:1;padding:0 9px;font-size:11px}}

/* Responsive public landing and completion messages */
.finish-card{width:min(100%,720px);margin:0 auto;padding:clamp(20px,5vw,40px)}
.finish-synopsis,.finish-closing{width:min(100%,620px);margin:12px auto;padding:16px 18px;border:1px solid #e8e2f0;border-radius:12px;background:#f7f4fb;text-align:left}
.finish-closing{margin-top:0;border-color:#dce8f5;background:#f3f8ff}
.finish-synopsis b,.finish-closing b{color:#385273;font-size:12px}
.finish-synopsis p,.finish-closing p{margin:6px 0 0;color:#64738a;font-size:13px;line-height:1.65;white-space:pre-line}
@media(max-width:650px){
  html,body{max-width:100%;overflow-x:clip}
  .public-header{position:relative;inset:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;height:auto;min-height:0;padding:12px 16px 10px}
  .public-brand{min-width:0;gap:9px}
  .public-brand img{flex:0 0 38px;width:38px;height:38px}
  .public-brand b{font-size:12px}
  .public-brand small{font-size:8px}
  .public-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;min-width:0}
  .public-actions>*{min-width:0;width:100%;max-width:none!important}
  .public-actions .language-picker,.public-actions .language-picker select{width:100%;min-width:0}
  .public-header .button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:38px;padding:6px 8px;overflow:visible;border-radius:9px;font-size:10px;line-height:1.25;text-align:center;white-space:normal;overflow-wrap:anywhere}
  .public-main{width:100%;padding-right:16px;padding-left:16px}
  .welcome-hero{grid-template-columns:minmax(0,1fr);gap:8px;min-height:0;margin:0 -16px;padding:34px 20px 24px}
  .hero-copy{min-width:0;width:100%}
  .hero-copy .eyebrow.light{font-size:9px;line-height:1.6}
  .hero-copy h1{max-width:17ch;margin:12px 0;font-size:clamp(29px,8vw,36px);line-height:1.12;overflow-wrap:anywhere}
  .hero-copy p{max-width:38ch;margin:0;font-size:13px;line-height:1.6}
  .hero-button{width:max-content;max-width:100%;margin-top:16px}
  .hero-art{width:100%;height:170px;margin:0;overflow:hidden}
  .hero-logo{width:132px;height:122px}
  .orbit{width:min(75vw,230px);height:110px}
  .orbit-two{width:min(88vw,270px);height:145px}
  .hero-spark{top:4px;right:20%}
  .hero-pill{display:none}
  .quiz-section{padding-top:30px}
  .section-heading h2{font-size:clamp(22px,6vw,28px)}
  .featured-quiz{grid-template-columns:minmax(0,1fr)}
  .featured-quiz .public-card-cover{min-height:160px}
  .featured-quiz .cover-art{width:110px;height:110px}
  .featured-quiz .public-card-content{min-width:0;padding:18px}
  .featured-quiz .public-card-content h3{font-size:19px;overflow-wrap:anywhere}
  .public-card-content{min-width:0;padding:18px}
  .quiz-card-meta{flex-wrap:wrap;gap:8px 14px}
  .finish-card{padding:24px 14px}
  .finish-card>p{max-width:100%;font-size:14px}
  .finish-synopsis,.finish-closing{padding:13px}
}
@media(max-width:360px){
  .public-header{padding-right:12px;padding-left:12px}
  .public-main{padding-right:12px;padding-left:12px}
  .welcome-hero{margin-right:-12px;margin-left:-12px;padding-right:14px;padding-left:14px}
  .public-actions{gap:5px}
  .public-header .button{font-size:9px}
  .hero-copy h1{font-size:28px}
}
/* AI-assisted quiz drafting */
.ai-quiz-panel{margin-top:16px;padding:17px;border:1px solid #d9e6f4;border-radius:12px;background:linear-gradient(135deg,#f4f8ff,#fbfaff)}
.quiz-method-modal{width:min(650px,calc(100% - 28px));padding:0}.quiz-method-modal>section{padding:0 0 20px}.quiz-method-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px 24px}.quiz-method-card{display:grid;justify-items:start;gap:9px;min-height:170px;padding:20px;border:1px solid #dce6f2;border-radius:13px;background:#fff;text-align:left;transition:border-color .18s,box-shadow .18s,transform .18s}.quiz-method-card:hover,.quiz-method-card:focus-visible{border-color:#438bd2;box-shadow:0 9px 28px #1768c21c;transform:translateY(-2px)}.quiz-method-card>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:#1768c2;background:#eaf3ff;font-size:21px}.quiz-method-card>b{color:#263c5d;font:700 14px Manrope}.quiz-method-card>small{color:#7a899e;font-size:11px;line-height:1.6}.quiz-method-ai>span{color:#7439c3;background:#f3ecff}.ai-create-view{padding:3px 2px}.ai-source-label{display:grid;gap:6px;margin:16px 0 10px;color:#526580;font-size:11px;font-weight:700}.ai-source-label input,.ai-series-label input{min-height:40px;padding:0 11px;border:1px solid #dce5f0;border-radius:8px;background:#fff;color:#31445f;font:500 12px Manrope}.ai-create-controls{align-items:end;flex-wrap:wrap}.ai-create-controls .ai-series-label{flex:1 1 190px}.ai-series-label input{width:100%}.ai-transcript-fallback{margin-top:13px;color:#586a85;font-size:10px}.ai-transcript-fallback summary{cursor:pointer}.ai-transcript-fallback .ai-transcript-label{margin-top:10px}.ai-workflow-footer{display:flex;justify-content:flex-start;margin-top:15px;padding-top:12px;border-top:1px solid #edf0f5}
.ai-quiz-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ai-quiz-heading h3{margin:4px 0;color:#253c60;font:700 15px Manrope}
.ai-quiz-sparkle{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#1768c2;background:#e7f1ff;font-size:18px}
.ai-quiz-panel>.settings-description,.ai-quiz-notice{margin:8px 0;color:#71819a;font-size:10px;line-height:1.55}
.ai-transcript-label{display:grid;gap:6px;margin-top:12px;font-size:10px;font-weight:700;color:#526580}
.ai-transcript-label textarea{width:100%;min-height:105px;resize:vertical;padding:10px;border:1px solid #dce5f0;border-radius:8px;background:#fff;font:400 11px/1.5 Manrope;color:#31445f}
.ai-quiz-controls{display:flex;align-items:end;gap:10px;margin-top:10px}
.ai-quiz-controls label{display:grid;gap:5px;color:#526580;font-size:10px;font-weight:700}
.ai-quiz-controls select{min-height:36px;padding:0 10px;border:1px solid #dce5f0;border-radius:8px;background:#fff;color:#31445f}
.ai-quiz-controls .button{min-height:36px;font-size:10px}
.ai-generation-result{margin-top:14px;padding:14px;border:1px solid #dce6f2;border-radius:9px;background:#fff}
.ai-generation-result p{margin:6px 0;color:#687994;font-size:10px;line-height:1.5}
.ai-create-controls{gap:9px}.ai-create-controls>label:first-child{min-width:120px}.ai-create-controls .button{white-space:nowrap}.ai-result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
@media(max-width:620px){.quiz-method-options{grid-template-columns:1fr;padding:15px}.quiz-method-card{min-height:120px}.ai-create-controls{align-items:stretch;flex-direction:column}.ai-create-controls>label,.ai-create-controls .button{width:100%}.ai-create-controls .button{justify-content:center}.ai-result-heading{align-items:flex-start;flex-direction:column}.ai-result-actions .button{width:100%;justify-content:center}}
.ai-result-heading{display:flex;justify-content:space-between;gap:10px;color:#177552;font-size:10px}
.ai-result-heading span{color:#8794a5}
.ai-generation-result h4{margin:10px 0 4px;color:#263d5f;font:700 14px Manrope}
.ai-generation-result ol{display:grid;gap:9px;margin:11px 0;padding-left:20px;color:#344968;font-size:10px}
.ai-generation-result li small{display:block;margin-top:3px;color:#7b8aa0;font-size:9px;line-height:1.5}
.ai-result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.ai-result-actions .button{min-height:33px;font-size:10px}
.ai-error{color:#b33d49!important}.ai-success{color:#177552!important;font-weight:700}
@media(max-width:650px){.ai-quiz-panel{padding:13px}.ai-quiz-controls{align-items:stretch;flex-direction:column}.ai-quiz-controls label,.ai-quiz-controls select,.ai-quiz-controls .button{width:100%}.ai-result-heading{flex-direction:column;gap:3px}}

/* V2: direct participant access, based on reference/quiz-original.html. */
body.direct-access{background:linear-gradient(180deg,#fcfbff,#f6f4fb);min-height:100dvh}
.direct-access .quiz-intro-modal{position:absolute;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;background:transparent;padding:0}
.direct-access .quiz-intro-modal::backdrop{background:#faf8ff;backdrop-filter:none}
.direct-access .quiz-intro-modal form{max-width:1040px;margin:auto;padding:28px 20px 36px;background:transparent}
.direct-access .intro-close,.direct-access .location-field,.direct-access .privacy-note{display:none}
.direct-access .intro-brand{margin-bottom:30px}
.direct-access .quiz-intro-card{border-radius:26px;padding:36px 34px 34px}
.direct-access .intro-emblem{width:132px;height:132px;background:#fff;margin-bottom:24px;box-shadow:0 16px 38px #20192f26}
.direct-access .intro-emblem img{width:100%;height:100%;object-fit:cover}
.direct-access .quiz-intro-card h1{font-size:clamp(30px,4.4vw,51px);line-height:1.14;letter-spacing:0}
.direct-access .intro-quiz-meta{font-size:18px;margin:18px 0}
.direct-access .intro-summary{font-size:18px;line-height:1.7;margin:24px auto 30px}
.direct-access .intro-stats>div{min-height:94px}
.direct-access .intro-stats span{font-size:12px}
.direct-access .first-name-field{font-size:15px}
.direct-access .first-name-field input{min-height:62px;font-size:18px;border-radius:16px}
.direct-access .intro-start{min-height:62px;font-size:18px}
.direct-access .intro-start:disabled{opacity:.38;cursor:not-allowed;box-shadow:none}
.direct-message{max-width:680px;margin:20vh auto;padding:32px;background:#fff;border:1px solid #e6e0f0;border-radius:24px;text-align:center;color:#655f7e}
.access-modal{max-width:650px;width:calc(100% - 28px)}.access-modal img{display:block;max-width:100%;height:auto;margin:auto}.access-modal img[hidden]{display:none}.access-modal .quiz-actions{flex-wrap:wrap;gap:8px}.access-modal p{margin:12px 0}
@media(max-width:600px){.direct-access .quiz-intro-modal form{padding:20px 12px}.direct-access .quiz-intro-card{padding:24px 18px}.direct-access .intro-emblem{width:104px;height:104px}.direct-access .intro-summary{font-size:15px}.direct-access .intro-quiz-meta{font-size:14px}.direct-access .intro-stats span{font-size:9px}.direct-access .intro-stats>div{min-height:78px}}

body.direct-access #join-dialog .location-field,body.direct-access #join-dialog .intro-close,body.direct-access #join-dialog .privacy-note{display:none!important}
body.direct-access #join-dialog .first-name-field input{min-height:62px;font-size:18px;background:#f6f4fb;border:1.5px solid #e6e0f0;border-radius:16px;padding:15px 18px}

#ai-create-view .ai-transcript-label{font-size:12px;margin:18px 0 8px}#ai-transcript{min-height:190px;font:13px/1.6 system-ui,sans-serif}.ai-transcript-help{color:#687b95;font-size:12px;line-height:1.6;margin:6px 0 18px}.question-source{margin:10px 0;padding:12px 14px;border:1px solid #dce5f0;border-radius:10px;background:#f4f8ff}.question-source a{color:#1768c2;font-size:12px;font-weight:700}.question-source blockquote{margin:7px 0 0;color:#526580;font-size:12px;line-height:1.6;white-space:pre-wrap}

.openai-settings-panel{max-width:860px;padding:28px}.openai-settings-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.openai-settings-heading h2{margin:8px 0 10px;font-size:22px}#openai-config-fields{border:0;margin:0;padding:0;min-width:0;display:grid;gap:12px}#openai-config-fields>label:not(.openai-enabled){display:grid;gap:8px;font-size:13px;font-weight:700;color:#526580}#openai-config-fields input:not([type=checkbox]){width:100%;min-height:46px;border:1px solid #dce5f0;border-radius:9px;padding:10px 12px;font:14px system-ui,sans-serif;background:#fff;color:#263c5d}.openai-enabled{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;margin-bottom:12px}.openai-enabled input{width:18px;height:18px;accent-color:#1768c2}.openai-settings-panel .settings-description{font-size:12px;line-height:1.7;margin:0 0 10px}.openai-settings-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 16px}.openai-settings-actions a{font-size:12px;color:#1768c2}.openai-feedback{padding:12px 14px;border-radius:9px;background:#ecf8f1;color:#196b43;font-size:13px;line-height:1.6}.openai-feedback.is-error{background:#fff0f0;color:#b12929}@media(max-width:600px){.openai-settings-panel{padding:18px}.openai-settings-heading{flex-direction:column}.openai-settings-actions{align-items:stretch;flex-direction:column}.settings-tabs{flex-wrap:wrap}}
