/* Chefpreneur Intake. Brand tokens and base components mirror the portal (cp_dashboard public/css/app.css). */
/* ---------- Tokens: light (default) ---------- */
:root, [data-theme="light"] {
  --bg: #f5efe4;
  --bg-2: #efe6d5;
  --surface: #fffcf6;
  --surface-2: #f7f0e3;
  --panel: #ebe0cb;
  --text: #1c1813;
  --text-2: #3d352a;
  --muted: #6c6152;
  --border: rgba(74, 55, 25, .14);
  --border-strong: rgba(74, 55, 25, .26);
  --gold: #8a6116;            /* deep gold for text/icons on light (AA on cream) */
  --gold-1: #8f6420; --gold-2: #c9a14e; --gold-3: #7a5419;
  --gold-soft: rgba(166, 120, 40, .12);
  --on-gold: #1a1307;
  --btn-grad: linear-gradient(135deg, #c39343 0%, #e9cb83 50%, #b8873a 100%);
  --shadow: 0 1px 2px rgba(60, 40, 10, .05), 0 12px 32px -12px rgba(60, 40, 10, .18);
  --ring: rgba(138, 97, 22, .38);
  --grain-opacity: .35;
  --glow: radial-gradient(1200px 600px at 85% -10%, rgba(201, 161, 78, .18), transparent 60%);
  --show-light: inline-block; --show-dark: none;

  --st-ns-bg: #ece5d8; --st-ns-fg: #5b5244; --st-ns-dot: #a39883;
  --st-ip-bg: #e3ecf1; --st-ip-fg: #2b5268; --st-ip-dot: #3f7896;
  --st-aw-bg: #f6e7c4; --st-aw-fg: #6e4b0c; --st-aw-dot: #b8862b;
  --st-ap-bg: #e2ecdf; --st-ap-fg: #2f5a32; --st-ap-dot: #4f8a52;
  --st-cr-bg: #f5e0da; --st-cr-fg: #8a3423; --st-cr-dot: #c0553d;
  color-scheme: light;
}

/* ---------- Tokens: dark ---------- */
[data-theme="dark"] {
  --bg: #050505;               /* deep black page (Andres: "stick with the black theme") */
  --bg-2: #0b0b0a;
  --surface: #1b1a17;          /* cards lifted off the black ("lighten it up inside the boxes") */
  --surface-2: #26241f;        /* inputs, choice cards, upload boxes: one step lighter again */
  --panel: #050505;
  --text: #f6f0e4;
  --text-2: #e2d9c8;
  --muted: #b0a592;
  --border: rgba(220, 187, 114, .18);
  --border-strong: rgba(220, 187, 114, .34);
  --gold: #dcbb72;
  --gold-1: #b88a3c; --gold-2: #f1d892; --gold-3: #a77a2e;
  --gold-soft: rgba(220, 187, 114, .1);
  --on-gold: #17110a;
  --btn-grad: var(--gold-grad);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -18px rgba(0, 0, 0, .8);
  --ring: rgba(220, 187, 114, .45);
  --grain-opacity: .5;
  --glow: radial-gradient(1100px 560px at 85% -10%, rgba(220, 187, 114, .12), transparent 60%);
  --show-light: none; --show-dark: inline-block;

  --st-ns-bg: #24211b; --st-ns-fg: #c4b9a6; --st-ns-dot: #7d7466;
  --st-ip-bg: #182630; --st-ip-fg: #9fc6dc; --st-ip-dot: #5b9fc4;
  --st-aw-bg: #302613; --st-aw-fg: #f0d48e; --st-aw-dot: #dcb562;
  --st-ap-bg: #18261a; --st-ap-fg: #a8d4a6; --st-ap-dot: #6cb06b;
  --st-cr-bg: #331a15; --st-cr-fg: #f0a998; --st-cr-dot: #d9694f;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #050505; --bg-2: #0b0b0a; --surface: #1b1a17; --surface-2: #26241f; --panel: #050505;
    --text: #f6f0e4; --text-2: #e2d9c8; --muted: #b0a592;
    --border: rgba(220, 187, 114, .18); --border-strong: rgba(220, 187, 114, .34);
    --gold: #dcbb72; --gold-1: #b88a3c; --gold-2: #f1d892; --gold-3: #a77a2e;
    --gold-soft: rgba(220, 187, 114, .1); --on-gold: #17110a; --btn-grad: var(--gold-grad);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -18px rgba(0, 0, 0, .8);
    --ring: rgba(220, 187, 114, .45); --grain-opacity: .5;
    --glow: radial-gradient(1100px 560px at 85% -10%, rgba(220, 187, 114, .12), transparent 60%);
    --show-light: none; --show-dark: inline-block;
    --st-ns-bg: #24211b; --st-ns-fg: #c4b9a6; --st-ns-dot: #7d7466;
    --st-ip-bg: #182630; --st-ip-fg: #9fc6dc; --st-ip-dot: #5b9fc4;
    --st-aw-bg: #302613; --st-aw-fg: #f0d48e; --st-aw-dot: #dcb562;
    --st-ap-bg: #18261a; --st-ap-fg: #a8d4a6; --st-ap-dot: #6cb06b;
    --st-cr-bg: #331a15; --st-cr-fg: #f0a998; --st-cr-dot: #d9694f;
    color-scheme: dark;
  }
}

:root {
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gold-grad: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 48%, var(--gold-3) 100%);
  --r-sm: 10px; --r: 16px; --r-lg: 22px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .42 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  font: 400 15px/1.55 var(--sans);
  color: var(--text);
  background: var(--glow), var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--grain); opacity: var(--grain-opacity);
}
body > * { position: relative; z-index: 1; }
.theme-anim, .theme-anim * { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
p { margin: 0; }

.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow {
  font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.display {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.02em; margin: 0;
}
.display em { font-style: italic; font-weight: 400; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.display--md { font-size: clamp(34px, 4.4vw, 54px); }
.title { font: 500 24px/1.2 var(--serif); letter-spacing: -.01em; margin: 0 0 6px; }
.title--sm { font-size: 20px; }
.lede { font-size: 17px; color: var(--text-2); max-width: 30ch; margin-top: 22px; line-height: 1.6; }

/* ---------- Logo (swaps per theme) ---------- */
.logo { display: inline-flex; align-items: center; }
.logo__img { height: auto; }
.logo__img--light { display: var(--show-light); }
.logo__img--dark { display: var(--show-dark); }
.logo--lg .logo__img { width: 220px; }
.logo--sm .logo__img { width: 152px; }

/* ---------- Buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  padding: 15px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn--gold {
  color: var(--on-gold); background: var(--btn-grad); background-size: 160% 160%; background-position: 0% 50%;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 24px -12px rgba(150, 105, 30, .8);
}
.btn--gold:hover { background-position: 100% 50%; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 28px -12px rgba(150, 105, 30, .9); }
.btn--gold:active { transform: translateY(0); }
.btn--gold .i { transition: transform .2s ease; }
.btn--gold:hover .i { transform: translateX(3px); }
.btn--ghost { color: var(--text-2); background: transparent; border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--gold); color: var(--text); background: var(--gold-soft); }
.btn--sm { padding: 9px 14px; font-size: 13.5px; gap: 8px; }
.btn--sm .i { width: 16px; height: 16px; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px; display: inline-grid; place-items: center;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); transform: rotate(-12deg); }
.theme-toggle .i-sun { display: var(--show-dark); }
.theme-toggle .i-moon { display: var(--show-light); }

.form { display: grid; gap: 16px; margin-top: 26px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.input {
  width: 100%; font: 400 15.5px/1.4 var(--sans); color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.input:hover { border-color: var(--gold); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--ring); background: var(--surface); }
.form .btn { margin-top: 8px; width: 100%; }

.notice { margin-top: 18px; padding: 12px 14px; border-radius: 12px; font-size: 14px; border: 1px solid; }
.notice--error { background: var(--st-cr-bg); color: var(--st-cr-fg); border-color: color-mix(in srgb, var(--st-cr-dot) 40%, transparent); }
.notice--ok { background: var(--st-ap-bg); color: var(--st-ap-fg); border-color: color-mix(in srgb, var(--st-ap-dot) 40%, transparent); }
.help { margin-top: 22px; font-size: 13.5px; color: var(--muted); text-align: center; }
.link-quiet { color: var(--muted); font-size: 13.5px; text-decoration: none; }
.link-quiet:hover { color: var(--gold); text-decoration: underline; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 28px;
}

/* ---------- Intake layout (mobile first) ---------- */
.top { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border); }
.top__inner { max-width: 760px; margin: 0 auto; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.top__brand .logo__img { width: 128px; }
.top__tag { font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding: 6px 9px; border: 1px solid var(--border-strong); border-radius: 999px; }
.ribbon { text-align: center; font-size: 12.5px; padding: 8px 14px; color: var(--st-aw-fg); background: var(--st-aw-bg); border-bottom: 1px solid var(--border); }
.shell { max-width: 760px; margin: 0 auto; padding: 22px 14px 40px; display: grid; gap: 16px; }
.card { padding: 24px 20px; }
.display { font-size: clamp(34px, 9vw, 58px); }
.display--sm { font-size: clamp(28px, 7vw, 42px); }
.lede { max-width: 52ch; margin-top: 14px; font-size: 16px; }
.loading { text-align: center; padding: 60px 20px; }

.progress-wrap { padding: 4px 4px 0; }
.progress__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.progress__top .eyebrow { margin: 0; }
.progress { height: 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.progress__bar { display: block; height: 100%; background: var(--gold-grad); border-radius: 999px; transition: width .4s ease; }
.progress__steps { display: none; list-style: none; margin: 12px 0 0; padding: 0; gap: 6px; }
.progress__steps li { flex: 1 1 0; min-width: 0; font-size: 12px; color: var(--muted); padding-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress__steps li.is-current { color: var(--text); font-weight: 600; }
.progress__steps li.is-done { color: var(--gold); }
.save-state { font-size: 12.5px; color: var(--muted); }
.save-state.is-error { color: var(--st-cr-fg); }

.fields { display: grid; gap: 22px; margin-top: 26px; }
.field__label .req { color: var(--gold); }
.field__label .opt { color: var(--muted); font-weight: 400; }
.field__help { font-size: 13px; color: var(--muted); margin-top: -2px; }
.field__note { font-size: 13px; font-weight: 600; color: var(--text); background: var(--gold-soft); border: 1px solid var(--border-strong); border-radius: 8px; padding: 6px 10px; margin: 2px 0 4px; align-self: flex-start; }
.field__error { font-size: 13px; color: var(--st-cr-fg); min-height: 0; }
.field__error:empty { display: none; }
.has-error .input, .has-error .drop { border-color: var(--st-cr-dot); }
.input--area { resize: vertical; min-height: 120px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input[type="date"].input { min-height: 50px; }

.choices { display: grid; gap: 10px; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface-2); cursor: pointer; font-size: 15px; transition: border-color .2s ease, background-color .2s ease; }
.choice:hover { border-color: var(--gold); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--border-strong); border-radius: 6px; display: grid; place-items: center; background: var(--surface); }
.choice input[type="radio"] + .choice__box { border-radius: 999px; }
.choice input:checked + .choice__box { border-color: var(--gold); background: var(--gold-grad); box-shadow: inset 0 0 0 3px var(--surface); }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice--single { background: transparent; }

.drop { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 24px 16px; border: 1.5px dashed var(--border-strong); border-radius: 16px; background: var(--surface-2); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.drop:hover, .drop.is-over { border-color: var(--gold); background: var(--gold-soft); }
.drop__icon { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; font: 400 24px/1 var(--serif); color: var(--on-gold); background: var(--btn-grad); }
.drop__text strong { color: var(--gold); }
.drop__hint { font-size: 12px; color: var(--muted); }
.files__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files__input:focus-visible + .files, .files-wrap:focus-within .drop { outline: 2px solid var(--gold); outline-offset: 3px; }
.files { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.file { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.file.is-pending { opacity: .75; }
.file__ext { font: 600 10px/1 var(--sans); letter-spacing: .06em; color: var(--gold); border: 1px solid var(--border-strong); padding: 6px 6px; border-radius: 8px; min-width: 36px; text-align: center; }
.file__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.file__meta { font-size: 12px; color: var(--muted); }
.file__remove { border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 8px; }
.file__remove:hover { color: var(--st-cr-fg); }
.files__msg { font-size: 13px; color: var(--st-cr-fg); margin-top: 6px; }
.files__msg:empty { display: none; }

.nav-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); }
.nav-bar__right { display: flex; align-items: center; gap: 14px; }
.link-btn { border: 0; background: none; color: var(--gold); font: 500 14px/1 var(--sans); cursor: pointer; padding: 6px 2px; text-decoration: underline; text-underline-offset: 3px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.intro__steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.intro__steps li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.intro__num { font: 500 18px/1 var(--serif); color: var(--gold); }

.review__step { margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--border-strong); }
.review__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review__title { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0; }
.review__list { margin: 0; display: grid; gap: 0; }
.review__row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.review__row dt { font-size: 13px; color: var(--muted); }
.review__row dd { margin: 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.form-error { color: var(--st-cr-fg); font-size: 14px; margin-top: 14px; }
.form-error:empty { display: none; }

.final { text-align: center; padding: 44px 22px; }
.final .lede { margin-left: auto; margin-right: auto; }
.final__seal { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 999px; display: grid; place-items: center; font-size: 28px; color: var(--on-gold); background: var(--btn-grad); box-shadow: 0 14px 30px -14px rgba(150, 105, 30, .9); }
.final__actions { margin-top: 28px; display: flex; justify-content: center; }
.final__help { margin: 26px auto 0; max-width: 46ch; display: grid; gap: 10px; font-size: 14px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--border); }

.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: end center; padding: 14px; background: rgba(0, 0, 0, .45); }
.modal__card { width: 100%; max-width: 520px; }
.copy-row { display: flex; gap: 8px; margin-top: 16px; }
.copy-row .input { font-size: 13px; }

.foot { text-align: center; padding: 10px 16px 34px; font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.foot__fine { font-size: 12px; opacity: .8; }

@media (max-width: 559px) {
  .nav-bar { position: sticky; bottom: 0; margin: 26px -20px -24px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(8px); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .nav-bar .btn { padding: 13px 16px; white-space: nowrap; }
  .nav-bar__right { gap: 10px; }
  .nav-bar .link-btn { white-space: nowrap; font-size: 13.5px; }
  .final .nav-bar, .intro .nav-bar { position: static; }
}
@media (min-width: 560px) {
  .shell { padding: 34px 20px 56px; gap: 20px; }
  .card { padding: 36px 40px; }
  .progress__steps { display: flex; }
  .choices--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review__row { grid-template-columns: minmax(150px, 38%) 1fr; gap: 16px; }
  .modal { place-items: center; }
  .top__brand .logo__img { width: 152px; }
}

/* ---------- Display blocks (videos, template links) and conditional fields ---------- */
[hidden] { display: none !important; }
.info { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface-2); }
.info__video { width: 100%; height: auto; border-radius: 12px; background: #000; aspect-ratio: 16 / 9; }
.info__text { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.info__link { margin: 0; }
.info__link .btn { white-space: normal; text-align: center; }
.notice--strong { background: var(--gold-soft); color: var(--text); border-color: var(--border-strong); font-weight: 500; }
.foot__fine a { color: inherit; }

.progress__steps--many li { flex: 0 0 auto; min-width: 22px; text-align: center; }
.progress__steps--many li.is-current { flex: 1 1 auto; text-align: left; padding-left: 4px; }

/* ---------- One question per screen (v7) ---------- */
[data-theme="dark"] .card { box-shadow: 0 0 0 1px rgba(220, 187, 114, .06), 0 24px 60px -24px rgba(0, 0, 0, .9); }
[data-theme="dark"] .input:focus { background: #2c2a24; }
.progress-wrap { position: sticky; top: 61px; z-index: 4; padding: 12px 14px 10px; margin: 0 -4px; border-radius: 14px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); }
.progress__count { font-size: 14px; color: var(--text-2); letter-spacing: .01em; }
.progress__count strong { color: var(--gold); font-weight: 600; font-size: 16px; }
.progress { height: 8px; }
.progress__bar { box-shadow: 0 0 12px rgba(220, 187, 114, .35); }
.progress__bottom { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.progress__section { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress__pct { flex: none; color: var(--gold); font-weight: 500; }
.progress__sections { display: flex; gap: 4px; list-style: none; margin: 8px 0 0; padding: 0; }
.progress__sections li { flex: 1 1 0; height: 3px; border-radius: 3px; background: var(--border-strong); opacity: .6; }
.progress__sections li.is-done { background: var(--gold); opacity: .85; }
.progress__sections li.is-current { background: var(--gold-2, var(--gold)); opacity: 1; box-shadow: 0 0 6px rgba(220, 187, 114, .6); }

.q { animation: q-in .32s cubic-bezier(.2, .7, .2, 1) both; }
.q--back { animation-name: q-in-back; }
@keyframes q-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes q-in-back { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .q, .q--back { animation: none; } .btn--gold.is-ready { animation: none; } }
.q__badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 12px 6px 6px; border: 1px solid var(--border-strong); border-radius: 999px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); }
.q__badge-num { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; background: var(--btn-grad); color: var(--on-gold); letter-spacing: 0; font-size: 11px; }
.q__intro { margin: 0 0 18px; }
.q__infos { display: grid; gap: 14px; margin-bottom: 22px; }
.q .fields { margin-top: 0; }
.q .field { gap: 12px; }
.q .field__label { font: 400 clamp(24px, 5.4vw, 34px)/1.2 var(--serif); color: var(--text); letter-spacing: -.01em; outline: none; }
.q .field__label .req { font-size: .7em; }
.q .field__label .opt { font: 400 14px/1 var(--sans); }
.q .field__help { font-size: 15px; line-height: 1.55; color: var(--text-2); margin: 0; }
.q .input { font-size: 17px; padding: 15px 17px; }
.q .input--area { min-height: 170px; }
.q__hint { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.q__hint kbd { font: 600 11.5px/1 var(--sans); padding: 3px 7px; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); }
@media (hover: none) { .q__hint { display: none; } }

.choices--cards { gap: 12px; }
.choice--card { padding: 16px 18px; font-size: 17px; }
.choice__label { flex: 1; }
.choice__key { flex: none; font: 600 11px/1 var(--sans); color: var(--muted); border: 1px solid var(--border-strong); border-radius: 6px; padding: 4px 7px; }
.choice--card:has(input:checked) .choice__key { color: var(--on-gold); background: var(--btn-grad); border-color: transparent; }

.files__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); font-size: 13.5px; color: var(--text-2); }
.files__count { font: 600 12px/1 var(--sans); color: var(--gold); padding: 5px 8px; border: 1px solid var(--border-strong); border-radius: 999px; white-space: nowrap; }
.files__status.is-ok { border-color: color-mix(in srgb, var(--st-ap-dot) 55%, transparent); background: var(--st-ap-bg); color: var(--st-ap-fg); }
.files__status.is-short { border-color: color-mix(in srgb, var(--st-aw-dot) 55%, transparent); background: var(--st-aw-bg); color: var(--st-aw-fg); }
.files__status.is-busy { border-color: var(--gold); }
.file { position: relative; overflow: hidden; }
.file__thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-strong); }
.file__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--border); }
.file__bar span { display: block; height: 100%; background: var(--gold-grad); transition: width .2s ease; }
.btn--gold.is-ready { animation: ready-pulse 1.4s ease-out 2; }
@keyframes ready-pulse { 0% { box-shadow: 0 0 0 0 rgba(220, 187, 114, .65); } 100% { box-shadow: 0 0 0 14px rgba(220, 187, 114, 0); } }
.btn--skip { background: transparent; color: var(--gold); border-color: var(--gold); box-shadow: none; }
.btn--skip:hover { background: var(--gold-soft); }
.btn--review { padding: 11px 14px; font-size: 13.5px; }

.intro__meta { margin-top: 16px; font-size: 14px; color: var(--text-2); }
.intro__meta strong { color: var(--gold); }
.intro__title { flex: 1; }
.intro__n { font-size: 12px; color: var(--muted); white-space: nowrap; }

.review__title { display: flex; align-items: center; gap: 10px; }
.review__num { color: var(--muted); }
.review__row { grid-template-columns: 1fr auto; align-items: start; }
.review__row dt { grid-column: 1; }
.review__row dd { grid-column: 1; }
.review__edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 13px; }
.review__row.is-missing dd { color: var(--st-cr-fg); font-style: italic; }
@media (min-width: 560px) {
  .review__row { grid-template-columns: minmax(150px, 38%) 1fr auto; }
  .review__row dt, .review__row dd { grid-column: auto; }
  .review__edit { grid-column: 3; grid-row: 1; }
  .progress-wrap { top: 65px; }
}
@media (max-width: 559px) {
  .nav-bar .btn--review { display: none; }
  .progress-wrap { top: 57px; padding: 10px 10px 8px; }
}
