/* =========================================================================
   Quiz funnel (/start/). Layout and quiz-only parts. Colours, type sizes, radii and buttons come from base.css (.ui).
   Everything is scoped under .quiz-page. Bare shell: no Salient header or footer on this page.
   Mobile first; breakpoint 720px.
   ========================================================================= */

body.atc-bare { margin: 0; }

.ui.quiz-page {
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  display: flex;
  flex-direction: column;
  background: var(--col-grey-100);
}
.quiz-page [hidden] { display: none !important; }
.quiz-page :is(button, a, input):focus-visible { outline: 3px solid var(--col-grey-950); outline-offset: 3px; }

/* ---------- Header and footer ---------- */
.quiz-head { display: flex; align-items: center; justify-content: flex-start; width: 100%; margin: 0 auto; padding: 32px 40px 26px; }
.ui.quiz-page .quiz-logo { display: block; height: 76px; width: auto; max-width: none; }

.quiz-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 32px; padding: 28px 40px 32px; font-size: var(--fs-sm); color: var(--col-sub); }
.quiz-foot span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Main column ---------- */
.quiz-main { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; padding: 0 40px 56px; }
.quiz-noscript { max-width: 560px; margin: 0 0 24px; font-size: var(--fs-p); color: var(--col-sub); }
.quiz-noscript a { color: var(--col-blue-700); font-weight: 600; }
.quiz-top { width: 100%; max-width: 560px; }

.quiz-progress { position: relative; display: flex; flex-direction: column; margin: 8px 0 28px; padding-top: 34px; }
.quiz-progress-label { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: var(--fs-sm); font-weight: 500; line-height: 1.45em; white-space: nowrap; color: var(--col-blue-500); }
.quiz-progress[data-n="1"] .quiz-progress-label { left: calc(10% - 4.8px); }
.quiz-progress[data-n="2"] .quiz-progress-label { left: calc(30% - 2.4px); }
.quiz-progress[data-n="3"] .quiz-progress-label { left: 50%; }
.quiz-progress[data-n="4"] .quiz-progress-label { left: calc(70% + 2.4px); }
.quiz-progress[data-n="5"] .quiz-progress-label { left: calc(90% + 4.8px); }
.quiz-segs { display: flex; gap: 12px; }
.quiz-seg { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--col-blue-200); }
.quiz-seg.is-done { background: var(--col-blue-500); }
.quiz-seg.is-now { background: var(--col-blue-500); }


.quiz-step { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.quiz-title { display: flex; flex-direction: column; gap: 12px; }
.quiz-title h1 { font-size: var(--fs-h3); line-height: 1.15em; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.quiz-title p { font-size: var(--fs-p); line-height: 1.45em; color: var(--col-sub); text-wrap: pretty; }
.quiz-title h1:focus { outline: none; }

/* ---------- Links that look like text ---------- */
.quiz-linkbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; font-size: var(--fs-p); font-weight: 600; color: var(--col-blue-700); cursor: pointer; }
.quiz-linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.quiz-linkbtn--muted { font-weight: 500; color: var(--col-sub); }
.quiz-skip { align-self: center; }

/* ---------- Step 1: origin ---------- */
.quiz-fields { display: flex; flex-direction: column; gap: 12px; }
.quiz-pickedlist { display: flex; flex-direction: column; gap: 20px; }
.quiz-pickedlist:empty { display: none; }
.quiz-picked { display: flex; align-items: center; gap: 10px; min-height: 72px; padding: 12px 20px; border-radius: var(--r-ms); background: var(--col-white); box-shadow: 0 0 0 1px var(--col-grey-200), 0 0 0 5px color-mix(in srgb, var(--col-blue-500) 18%, transparent); }
.quiz-picked-name { flex: 0 1 auto; min-width: 0; font-size: var(--fs-big); font-weight: 600; letter-spacing: -.01em; }
.quiz-picked-name span { font-weight: 500; color: var(--col-sub); }
.ui.quiz-page .quiz-picked .quiz-iconbtn { margin-left: auto; }
.ui.quiz-page .quiz-iconbtn { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 -10px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--col-sub); cursor: pointer; transition: opacity .15s ease; }
.ui.quiz-page .quiz-iconbtn:hover { opacity: .65; }
.quiz-iconbtn:focus-visible { outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--col-blue-500) 14%, transparent); }
.quiz-iconbtn-ico { display: inline-flex; flex: none; width: 44px; height: 44px; margin-right: -10px; align-items: center; justify-content: center; color: var(--col-blue-500); }
.quiz-near { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.quiz-near .quiz-legend-title { padding: 0; margin-bottom: 0; color: var(--col-sub); font-weight: 500; }
.quiz-near[hidden] { display: none; }
.quiz-nearlist { display: flex; flex-direction: column; gap: 0; }
.quiz-nearbtn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; margin: 0; padding: 0 20px 0 0; border: 0; border-radius: var(--r-ms); background: none; box-shadow: none; font: inherit; font-size: var(--fs-p); text-align: left; color: var(--col-grey-950); cursor: pointer; }
.quiz-nearbtn:hover b { text-decoration: underline; }
.quiz-nearbtn:focus-visible { outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--col-blue-500) 14%, transparent); }
.quiz-nearbtn b { font-weight: 600; }
.quiz-nearbtn span { flex: 0 1 auto; min-width: 0; }
.quiz-addtxt { margin-left: auto; font-style: normal; font-size: var(--fs-sm); font-weight: 600; color: var(--col-blue-500); }
.quiz-nearbtn:hover .quiz-addtxt { color: var(--col-blue-700); }


.quiz-search { position: relative; }
.quiz-pickedlist:not(:empty) ~ .quiz-search { margin-top: 4px; }
.quiz-search > .icon { position: absolute; left: 16px; top: 15px; color: var(--col-sub); pointer-events: none; }
.quiz-search input { width: 100%; height: 50px; padding: 0 16px 0 46px; border: 0; border-radius: var(--r-ms); background: var(--col-white); box-shadow: 0 0 0 1px var(--col-grey-300); font-size: var(--fs-big); }
.quiz-search input, .quiz-field input[type="email"] { transition: box-shadow .15s ease; }
.quiz-search input:hover, .quiz-field input[type="email"]:hover { box-shadow: 0 0 0 1px var(--col-grey-500); }
.quiz-page .quiz-search input:focus, .quiz-page .quiz-search input:focus-visible, .quiz-page .quiz-field input[type="email"]:focus, .quiz-page .quiz-field input[type="email"]:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--col-blue-500), 0 0 0 3px color-mix(in srgb, var(--col-blue-500) 14%, transparent); }
.quiz-search input::placeholder, .quiz-field input::placeholder { color: var(--col-grey-500); }
.quiz-results { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; margin: 0; padding: 6px; overflow: auto; list-style: none; border-radius: var(--r-ms); background: var(--col-white); box-shadow: 0 0 0 1px var(--col-grey-200), var(--shadow-float); }
.quiz-results li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-s); font-size: var(--fs-p); cursor: pointer; }
.quiz-results li b { font-weight: 600; }
.quiz-results li span { display: none; flex: none; font-size: var(--fs-sm); color: var(--col-sub); }
.quiz-results li b { flex: 1; }
.quiz-results li:hover, .quiz-results li[aria-selected="true"] { background: var(--col-blue-100); }
.quiz-tier { display: inline-block; flex: none; padding: 4px 10px; border-radius: var(--r-pill); font-style: normal; font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.quiz-tier--high { background: var(--col-green-100); color: var(--col-green-600); }
.quiz-tier--mid { background: var(--col-blue-100); color: var(--col-blue-700); }
.quiz-tier--low { background: var(--col-grey-200); color: var(--col-grey-950); }
.quiz-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; width: 100%; margin: 8px 0 24px; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--col-sub); }
.quiz-legend li { display: inline-flex; align-items: center; gap: 5px; margin: 0; white-space: nowrap; }
.quiz-empty { margin: 0; font-size: var(--fs-p); color: var(--col-sub); }

/* ---------- Option cards (steps 2, 3, 4) ---------- */
.quiz-grid, .quiz-rows { display: grid; gap: 12px; }
.quiz-grid--regions { gap: 24px; }
.quiz-opt { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; padding: 12px 16px; border: 0; border-radius: var(--r-ms); background: var(--col-white); box-shadow: 0 0 0 1px var(--col-grey-200), 0 1px 2px color-mix(in srgb, var(--col-grey-950) 6%, transparent); color: inherit; text-align: left; cursor: pointer; transition: box-shadow .15s ease, opacity .15s ease; }
.quiz-opt:hover { box-shadow: 0 0 0 1px var(--col-grey-300), 0 4px 12px color-mix(in srgb, var(--col-grey-950) 7%, transparent); }
.quiz-opt { transition: box-shadow .18s ease, transform .18s ease; }
.quiz-opt[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--col-blue-500), 0 0 0 4px color-mix(in srgb, var(--col-blue-500) 18%, transparent); }
.quiz-opt:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--col-blue-500), 0 0 0 4px color-mix(in srgb, var(--col-blue-500) 30%, transparent); }
.quiz-pill { display: inline-block; margin-left: 6px; padding: 6px 10px; position: relative; top: -2px; border-radius: var(--r-pill); background: var(--col-blue-100); color: var(--col-blue-700); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; line-height: 1.4; vertical-align: middle; }
.quiz-opt--row { justify-content: space-between; }
.quiz-opt--row::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--col-grey-300); }
.quiz-opt--row[aria-pressed="true"]::after { background: radial-gradient(circle, var(--col-white) 0 28%, var(--col-blue-500) 32%); box-shadow: none; }
.quiz-opt.is-dim { opacity: .45; }
.quiz-opt b { display: block; font-size: var(--fs-big); font-weight: 600; line-height: 1.3em; letter-spacing: -.01em; }
.quiz-opt-body > span { display: block; margin-top: 2px; font-size: var(--fs-sm); line-height: 1.4em; color: var(--col-sub); }
.quiz-opt--row { min-height: 64px; }

.quiz-media { flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: var(--r-s); background: var(--col-blue-100); }
.quiz-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.quiz-opt:hover .quiz-media img { transform: scale(1.04); }
.quiz-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--col-blue-400); }

.quiz-badge { display: flex; flex: none; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: auto; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--col-grey-300); color: var(--col-white); font-size: var(--fs-sm); font-weight: 700; line-height: 1; transition: background-color .15s ease, box-shadow .15s ease; }
.quiz-opt[aria-pressed="true"] .quiz-badge { background: var(--col-blue-500); box-shadow: none; }
.quiz-opt--check { gap: 14px; min-height: 64px; }
.quiz-box { display: flex; flex: none; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: var(--r-xs); background: var(--col-white); box-shadow: inset 0 0 0 1.5px var(--col-grey-300); color: var(--col-white); }
.quiz-box .icon { opacity: 0; }
.quiz-opt--check[aria-pressed="true"] .quiz-box { background: var(--col-blue-500); box-shadow: none; }
.quiz-opt--check[aria-pressed="true"] .quiz-box .icon { opacity: 1; }

.quiz-actions { position: sticky; bottom: 0; z-index: 4; display: flex; gap: 12px; width: 100%; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--col-grey-100) 70%, color-mix(in srgb, var(--col-grey-100) 0%, transparent)); }
.quiz-actions .btn { flex: 1; min-width: 0; }
.quiz-prev { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none; height: 50px; padding: 0 22px; border: 0; border-radius: var(--r-xs); background: none; box-shadow: inset 0 0 0 1px var(--col-grey-950); color: var(--col-grey-950); cursor: pointer; }
.quiz-prev:hover { background: var(--col-white); }
.quiz-prev > i { display: flex; font-style: normal; }
.quiz-prev > i .icon { transform: rotate(180deg); }
.ui.quiz-page .quiz-prev, .ui.quiz-page .quiz-prev > span { font-size: var(--fs-p) !important; }
.ui.quiz-page .btn, .ui.quiz-page .btn > span { font-size: var(--fs-big) !important; } /* theme button rules must not shrink the label */
.ui.quiz-page .btn, .ui.quiz-page .btn > span, .ui.quiz-page .quiz-prev, .ui.quiz-page .quiz-prev > span { font-family: inherit; font-weight: 500; line-height: 1.45; letter-spacing: normal; }
.quiz-page .btn { height: 50px; justify-content: center; align-items: center; gap: 10px; }
.quiz-page .btn > span { padding: 0; }
.quiz-page .btn > i { width: auto; border-left: 0; }
.quiz-page .btn:disabled, .quiz-page .btn:disabled:hover { background: var(--col-grey-300); box-shadow: none; cursor: not-allowed; }
.quiz-page .btn:disabled > i { border-color: color-mix(in srgb, var(--col-white) 35%, transparent); }

/* ---------- Step 5: email ---------- */
.quiz-form { display: flex; flex-direction: column; gap: 16px; }
.quiz-field { position: relative; display: flex; flex-direction: column; gap: 8px; }
.quiz-field label { font-size: var(--fs-sm); font-weight: 600; }
.quiz-field input[type="email"] { height: 50px; padding: 0 16px; border: 0; border-radius: var(--r-ms); background: var(--col-white); box-shadow: 0 0 0 1px var(--col-grey-300); font-size: var(--fs-big); }
.quiz-field input.is-invalid { box-shadow: 0 0 0 2px var(--col-red-600); }
.quiz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quiz-error { margin: 0; font-size: var(--fs-sm); font-weight: 600; }

/* ---------- Step 6: confirmation, plans, comparison ---------- */
.quiz-result { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 56px; padding-top: 8px; }
.quiz-confirm { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0; text-align: left; }
.quiz-confirm h1 { font-size: var(--fs-h3); line-height: 1.15em; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.quiz-confirm h1:focus { outline: none; }
.quiz-confirm p { max-width: 52ch; font-size: var(--fs-p); line-height: 1.45em; color: var(--col-sub); text-wrap: pretty; overflow-wrap: anywhere; }
.quiz-confirm p b { font-weight: 600; color: var(--col-grey-950); }


.quiz-plans { width: 100%; max-width: 560px; }
.quiz-plans h2 { font-size: var(--fs-h3); line-height: 1.15em; font-weight: 700; letter-spacing: -.035em; text-align: center; text-wrap: balance; }
.quiz-plans h2 { margin-bottom: 24px; }

.quiz-compare { width: 100%; max-width: 560px; margin-top: -32px; }
.quiz-table { width: 100%; margin-top: 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--r-l); background: transparent; box-shadow: 0 0 0 1px var(--col-grey-200), 0 1px 2px color-mix(in srgb, var(--col-grey-950) 6%, transparent); font-size: var(--fs-p); }
.quiz-table th, .quiz-table td { padding: 16px 14px; border-top: 1px solid var(--col-grey-200); text-align: left; vertical-align: middle; font-weight: 400; }
.quiz-table thead th { border-top: 0; padding-top: 18px; padding-bottom: 18px; font-size: var(--fs-sm); font-weight: 500; color: var(--col-sub); }
.quiz-table thead th:last-child { color: var(--col-grey-950); }
.quiz-table tbody th { width: 34%; font-weight: 500; }
.quiz-table .is-member { font-weight: 500; }
.quiz-table .is-free { color: var(--col-sub); }
.quiz-table .is-no .icon { color: var(--col-red-600); }
.quiz-table .is-member .icon { color: var(--col-green-600); }

/* ---------- Currency: USD by default, EUR and AUD through the geo body classes ---------- */
.quiz-page .cur-eu, .quiz-page .cur-au { display: none; }
body.geo-eu .quiz-page .cur-def, body.geo-au .quiz-page .cur-def { display: none; }
body.geo-eu .quiz-page .cur-eu { display: inline; }
body.geo-au .quiz-page .cur-au { display: inline; }

@media (min-width: 720px) {
  .ui.quiz-page .quiz-logo { height: 92px; }
  .quiz-head { padding: 32px 20px 26px; }
  .quiz-main { padding: 0 20px 96px; }
  .quiz-foot { padding: 28px 20px 32px; }
  .quiz-progress { margin: 20px 0 40px; }
  .quiz-title h1, .quiz-confirm h1, .quiz-plans h2 { font-size: var(--fs-h2); line-height: 1.1em; }
  .quiz-confirm { padding: 40px 48px; }

  /* regions: two photo cards per row */
  .quiz-results li span { display: inline; }
  .quiz-grid--regions { grid-template-columns: 1fr 1fr; }
  .quiz-opt--photo { flex-direction: column; align-items: stretch; gap: 24px; padding: 0 0 22px; overflow: hidden; }
  .quiz-grid--regions .quiz-media { width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 0; }
  .quiz-grid--regions .quiz-opt-body { padding: 0 14px; }
  .quiz-grid--regions .quiz-opt-body > span { margin-top: 6px; }
  .quiz-grid--regions .quiz-opt--check { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 16px; background: transparent; box-shadow: none; }
  .quiz-grid--regions .quiz-opt--check[aria-pressed="true"] { box-shadow: none; }
  .quiz-grid--regions .quiz-pill { position: absolute; top: 12px; left: 12px; z-index: 1; margin: 0; background: var(--col-white); box-shadow: 0 1px 3px color-mix(in srgb, var(--col-grey-950) 18%, transparent); }
  .quiz-grid--regions .quiz-badge { position: absolute; top: 12px; right: 12px; background: color-mix(in srgb, var(--col-grey-950) 28%, transparent); box-shadow: inset 0 0 0 1.5px var(--col-white); backdrop-filter: blur(4px); }
  .quiz-grid--regions .quiz-opt[aria-pressed="true"] .quiz-badge { background: var(--col-blue-500); box-shadow: inset 0 0 0 2px var(--col-white); }
  .quiz-grid--cabins .quiz-media { width: 72px; height: 72px; }
  .quiz-grid--cabins .quiz-opt--photo { flex-direction: row; align-items: center; gap: 16px; padding: 12px 16px; }

  .quiz-table th, .quiz-table td { padding: 18px 24px; }
}

@keyframes quiz-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-step:not([hidden]), .quiz-result:not([hidden]) { animation: quiz-in .22s ease-out both; }

/* column: 800px max, never wider than 60% of the screen (20% free on each side) */
@media (min-width: 720px) {
  .quiz-top, .quiz-step, .quiz-confirm, .quiz-plans, .quiz-compare { max-width: min(800px, 60vw); }
  .quiz-head { max-width: calc(min(800px, 60vw) + 40px); }
  /* Previous = first progress segment, Next = the other three */
  .quiz-actions .quiz-prev { width: calc((100% - 36px) / 4); padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-opt { transition: none; }
  .quiz-step:not([hidden]), .quiz-result:not([hidden]) { animation: none; }
}

/* Search field and Next button share one height: pinned so theme styles can't change either. */
.ui.quiz-page .quiz-search input, .ui.quiz-page .quiz-actions .btn { box-sizing: border-box; height: 50px; min-height: 50px; max-height: 50px; margin: 0; padding-top: 0; padding-bottom: 0; line-height: 1.2; }
.ui.quiz-page .quiz-iconbtn { color: var(--col-sub); opacity: 1; }
.ui.quiz-page .quiz-iconbtn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 1; }
.ui.quiz-page .quiz-iconbtn:hover { color: var(--col-grey-950); opacity: 1; }
.quiz-legend .quiz-tier { padding: 3px 8px; }
.quiz-legend .quiz-legend-lead { font-weight: 600; color: var(--col-grey-950); }
p.quiz-legend { display: block; margin: 8px 0 24px; text-wrap: balance; }

/* Step 3 cabin drawings */
.quiz-art { display: block; width: 100%; height: 100%; }
.quiz-art .qa-1 { fill: var(--col-blue-500); }
.quiz-art .qa-2 { fill: var(--col-blue-700); }
.quiz-art .qa-3 { fill: var(--col-blue-200); }
.quiz-art .qa-4 { fill: var(--col-blue-400); }
.quiz-art .qa-w { fill: var(--col-white); }
.ui.quiz-page .quiz-prev { opacity: .4; transition: opacity .15s ease; }
.ui.quiz-page .quiz-prev:hover, .ui.quiz-page .quiz-prev:focus-visible { opacity: 1; }
.ui.quiz-page .quiz-confirm, .ui.quiz-page .quiz-confirm h1, .ui.quiz-page .quiz-confirm p { margin-left: 0; padding-left: 0; }
.ui.quiz-page .quiz-table { background: var(--col-white) !important; box-shadow: 0 0 0 1px var(--col-grey-200), 0 1px 3px color-mix(in srgb, var(--col-grey-950) 8%, transparent); }
.ui.quiz-page .quiz-table :is(thead, tbody, tr, th, td) { background: transparent !important; }
.ui.quiz-page .quiz-table thead tr { background: var(--col-grey-50) !important; }
.ui.quiz-page .quiz-table tbody tr:hover { background: var(--col-grey-50) !important; }
.ui.quiz-page .quiz-table .quiz-pill { margin: 4px 0 0; top: 0; display: table; padding: 3px 8px; white-space: nowrap; }
@media (min-width: 720px) {
  .ui.quiz-page .quiz-table tbody th { width: 42%; white-space: nowrap; }
  .ui.quiz-page .quiz-table .quiz-pill { display: inline-block; margin: 0 0 0 8px; vertical-align: middle; }
}
.ui.quiz-page .quiz-table thead th { color: var(--col-sub) !important; opacity: 1 !important; visibility: visible !important; text-shadow: none !important; }
.ui.quiz-page .quiz-table thead th:last-child { color: var(--col-grey-950) !important; }
.ui.quiz-page .quiz-confirm { padding: 0; }
.ui.quiz-page .quiz-compare { margin-top: -26px; }
.ui.quiz-page .quiz-table :is(th, td) { border: 0 !important; box-shadow: none !important; }
.ui.quiz-page .quiz-table tbody :is(th, td) { border-top: 1px solid var(--col-grey-200) !important; }
.ui.quiz-page .quiz-result { gap: 0 !important; }
.ui.quiz-page .quiz-result > * { margin-top: 0; margin-bottom: 0; }
.ui.quiz-page .quiz-confirm, .ui.quiz-page .quiz-confirm > * { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.ui.quiz-page .quiz-result > .quiz-compare { margin-top: 40px !important; }
.ui.quiz-page .quiz-result > .quiz-plans { margin-top: 56px !important; }
.ui.quiz-page .quiz-result > :is(.quiz-confirm, .quiz-compare) { min-height: 0 !important; height: auto !important; }
.ui.quiz-page .quiz-compare { padding: 0 !important; border: 0 !important; }
.ui.quiz-page .quiz-compare .quiz-table { margin-top: 0 !important; margin-bottom: 0 !important; }
.ui.quiz-page .quiz-confirm p { line-height: 1.3em; }
.ui.quiz-page .quiz-table .quiz-pill { background: var(--col-grey-100) !important; color: var(--col-sub) !important; }
.ui.quiz-page .quiz-table :is(.is-no, .is-member) svg { box-sizing: border-box !important; width: 28px !important; height: 28px !important; padding: 7px !important; border-radius: 50% !important; display: block; }
.ui.quiz-page .quiz-table .is-member svg { background: var(--col-green-100) !important; color: var(--col-green-600) !important; }
.ui.quiz-page .quiz-table .is-no svg { background: var(--col-grey-100) !important; color: var(--col-grey-500) !important; }
.ui.quiz-page .quiz-table, .ui.quiz-page .quiz-table :is(thead, tbody, tr, th, td), .ui.quiz-page .quiz-table thead tr, .ui.quiz-page .quiz-table tbody tr:hover { background: transparent !important; }
.ui.quiz-page .quiz-table, .ui.quiz-page .quiz-table :is(th, td, thead th, tbody th) { font-size: var(--fs-p) !important; }
.ui.quiz-page .quiz-table thead th { color: var(--col-grey-950) !important; font-weight: 500 !important; }
.ui.quiz-page .quiz-table { box-shadow: none !important; border: 0 !important; }
.ui.quiz-page .quiz-table :is(thead th:last-child, td.is-member) { background: var(--col-blue-100) !important; }
.ui.quiz-page .quiz-result > .quiz-confirm { margin-top: 30px !important; gap: 16px !important; }
.ui.quiz-page .quiz-table :is(th, td) { font-weight: 400 !important; color: var(--col-grey-950) !important; }
.ui.quiz-page .quiz-table thead th { font-weight: 600 !important; }
.ui.quiz-page .quiz-table tbody th { font-weight: 600 !important; }
/* Same fill as the pricing widget container below (#efedff, set inside the widget) */
.ui.quiz-page .quiz-table :is(thead th:last-child, td.is-member) { background: #efedff !important; }
.ui.quiz-page .quiz-table, .ui.quiz-page .quiz-table :is(th, td, thead th, tbody th) { font-size: calc(var(--fs-p) - 1px) !important; }
.ui.quiz-page .quiz-table :is(thead th:first-child, tbody th) { padding-left: 0 !important; text-align: left !important; }
.ui.quiz-page .quiz-table .is-member svg { background: var(--col-blue-200) !important; color: var(--col-blue-500) !important; }
.ui.quiz-page .quiz-table .is-member svg { background: var(--col-white) !important; }
.ui.quiz-page .quiz-table tbody td.is-member { border-top-color: color-mix(in srgb, var(--col-blue-500) 22%, transparent) !important; }
.ui.quiz-page .quiz-plans .oh-promo { display: none !important; }
.ui.quiz-page .quiz-plans .atc-membership-pricing .mt-10.flex.w-full { display: flex !important; flex-direction: column !important; align-items: center !important; }
.ui.quiz-page .quiz-plans .atc-membership-pricing .mt-10.flex.w-full > article { width: 100% !important; max-width: 480px !important; }
.ui.quiz-page .quiz-plans [aria-label="Selected all plans include layout"] { display: none !important; }
.ui.quiz-page .quiz-table tbody :is(th, td) { padding-top: 14px !important; padding-bottom: 14px !important; }
@media (min-width: 720px) { .ui.quiz-page .quiz-table tbody :is(th, td) { padding-top: 16px !important; padding-bottom: 16px !important; } }
.ui.quiz-page .quiz-plans .atc-membership-pricing .mt-10.flex.w-full { padding: 0 !important; margin-left: auto !important; margin-right: auto !important; }
.ui.quiz-page .quiz-plans .atc-membership-pricing .mt-10.flex.w-full > article { width: min(100%, 408px) !important; max-width: 408px !important; margin-left: auto !important; margin-right: auto !important; }
/* FAQ (last step) */
.quiz-faq { width: 100%; max-width: 560px; }
.quiz-faq h2 { margin: 0 0 8px; font-size: var(--fs-big); font-weight: 700; letter-spacing: -.02em; line-height: 1.2em; }
.quiz-q { border-top: 1px solid var(--col-grey-200); }
.quiz-q:last-child { border-bottom: 1px solid var(--col-grey-200); }
.quiz-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; list-style: none; cursor: pointer; font-size: var(--fs-p); font-weight: 600; line-height: 1.35em; }
.quiz-q summary::-webkit-details-marker { display: none; }
.quiz-q summary i { display: flex; flex: none; color: var(--col-sub); transition: transform .15s ease; }
.quiz-q[open] summary i { transform: rotate(45deg); color: var(--col-blue-500); }
.quiz-a { display: flex; flex-direction: column; gap: 10px; padding: 0 0 20px; font-size: var(--fs-p); line-height: 1.5em; color: var(--col-sub); }
.quiz-a p { margin: 0; }
.quiz-q summary:focus-visible { outline: 2px solid var(--col-blue-500); outline-offset: 2px; }
@media (min-width: 900px) { .quiz-faq { max-width: min(800px, 60vw); } }
.ui.quiz-page .quiz-result > .quiz-faq { margin-top: 56px !important; }
/* Mobile: both table columns visible; pricing box nearly full width (5% side gaps) */
@media (max-width: 719px) {
  .ui.quiz-page .quiz-table { table-layout: fixed !important; width: 100% !important; }
  .ui.quiz-page .quiz-table :is(thead th:first-child, tbody th) { width: 36% !important; white-space: normal !important; }
  .ui.quiz-page .quiz-table thead th:nth-child(2), .ui.quiz-page .quiz-table tbody td:nth-child(2) { width: 24% !important; }
  .ui.quiz-page .quiz-table :is(th, td) { padding-left: 8px !important; padding-right: 8px !important; overflow-wrap: anywhere; }
  .ui.quiz-page .quiz-table :is(thead th:first-child, tbody th) { padding-left: 0 !important; }
  .ui.quiz-page .quiz-result > .quiz-plans { width: 90vw !important; max-width: none !important; }
  .ui.quiz-page .quiz-plans .page-container { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }
  .ui.quiz-page .quiz-plans .atc-membership-pricing .rounded-xl.w-full { padding-left: 5% !important; padding-right: 5% !important; }
}
@media (max-width: 719px) {
  .ui.quiz-page .quiz-table :is(thead th:first-child, tbody th) { width: 34% !important; }
  .ui.quiz-page .quiz-table thead th:nth-child(2), .ui.quiz-page .quiz-table tbody td:nth-child(2) { width: 22% !important; }
  .ui.quiz-page .quiz-table thead th { overflow-wrap: normal !important; word-break: normal !important; }
}
.ui.quiz-page .quiz-faq .quiz-a { padding-left: 10%; padding-right: 10%; }
.ui.quiz-page .quiz-faq h2 { font-size: var(--fs-h3); line-height: 1.15em; font-weight: 700; letter-spacing: -.035em; margin: 0 0 8px; }
@media (min-width: 720px) { .ui.quiz-page .quiz-faq h2 { font-size: var(--fs-h2); line-height: 1.1em; } }
@media (max-width: 719px) { .ui.quiz-page .quiz-faq .quiz-a { padding-left: 0; } }
@media (max-width: 719px) {
  .ui.quiz-page .quiz-compare { overflow-x: auto !important; -webkit-overflow-scrolling: touch; padding-bottom: 8px !important; scrollbar-width: thin; scrollbar-color: var(--col-grey-300) transparent; }
  .ui.quiz-page .quiz-compare .quiz-table { min-width: 360px !important; }
  .ui.quiz-page .quiz-compare::-webkit-scrollbar { height: 6px; }
  .ui.quiz-page .quiz-compare::-webkit-scrollbar-thumb { background: var(--col-grey-300); border-radius: 3px; }
}
@media (max-width: 719px) {
  .ui.quiz-page .quiz-compare .quiz-table { min-width: 540px !important; table-layout: auto !important; }
  .ui.quiz-page .quiz-table :is(th, td) { white-space: nowrap !important; padding-left: 14px !important; padding-right: 14px !important; }
  .ui.quiz-page .quiz-table :is(thead th:first-child, tbody th) { width: auto !important; padding-left: 0 !important; padding-right: 24px !important; }
  .ui.quiz-page .quiz-table thead th:nth-child(2), .ui.quiz-page .quiz-table tbody td:nth-child(2) { width: auto !important; padding-right: 24px !important; }
  .ui.quiz-page .quiz-table .quiz-pill { display: inline-block !important; margin: 0 0 0 8px !important; }
}
@media (max-width: 719px) {
  .ui.quiz-page .quiz-compare .quiz-table { min-width: 420px !important; }
  .ui.quiz-page .quiz-table :is(thead th:first-child, tbody th) { padding-right: 16px !important; }
  .ui.quiz-page .quiz-table thead th:nth-child(2), .ui.quiz-page .quiz-table tbody td:nth-child(2) { padding-right: 16px !important; }
  .ui.quiz-page .quiz-table .quiz-pill { display: table !important; margin: 4px 0 0 !important; }
}
.ui.quiz-page .quiz-faq .quiz-a { padding-left: 0 !important; }
@media (max-width: 719px) {
  /* Always-visible, obvious scrollbar: only the ::-webkit-scrollbar form keeps it from auto-hiding in Chrome */
  .ui.quiz-page .quiz-compare { scrollbar-width: auto !important; scrollbar-color: auto !important; padding-bottom: 12px !important; }
  .ui.quiz-page .quiz-compare::-webkit-scrollbar { height: 12px !important; -webkit-appearance: none; }
  .ui.quiz-page .quiz-compare::-webkit-scrollbar-track { background: var(--col-grey-200); border-radius: 6px; }
  .ui.quiz-page .quiz-compare::-webkit-scrollbar-thumb { background: var(--col-grey-500); border-radius: 6px; border: 2px solid var(--col-grey-200); }
  /* first column 25% narrower (163px -> 122px) */
  .ui.quiz-page .quiz-table :is(thead th:first-child, tbody th) { width: 122px !important; min-width: 122px !important; max-width: 122px !important; white-space: normal !important; padding-right: 12px !important; }
  .ui.quiz-page .quiz-compare .quiz-table { min-width: 380px !important; }
  .ui.quiz-page .quiz-table .quiz-pill { display: table !important; margin: 4px 0 0 !important; }
}
@media (min-width: 720px) {
  .ui.quiz-page .quiz-title h1, .ui.quiz-page .quiz-confirm h1, .ui.quiz-page .quiz-faq h2, .ui.quiz-page .quiz-plans h2 { font-size: calc(var(--fs-h2) - 5px) !important; }
}
@media (max-width: 719px) {
  .ui.quiz-page .quiz-title h1, .ui.quiz-page .quiz-confirm h1, .ui.quiz-page .quiz-faq h2, .ui.quiz-page .quiz-plans h2 { font-size: calc(var(--fs-h3) - 5px) !important; }
}
