[data-quiz-theme="chef"]{
  --chef-charcoal: var(--quiz-primary);
  --chef-charcoal-deep: #1e1e1b;
  --chef-ivory: var(--quiz-header-text);
  --chef-porcelain: #fffefd;
  --chef-tomato: #b9553f;
  --chef-copper: #c87945;
  --chef-herb: #46745a;
  --chef-ink: #292622;
  --chef-muted: var(--quiz-muted);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 7%, rgba(70,116,90,.08), transparent 28%),
    radial-gradient(circle at 10% 86%, rgba(200,121,69,.07), transparent 26%),
    linear-gradient(145deg, #f1eee9 0%, #e6e0d9 52%, #d9d1c8 100%);
  color: var(--chef-ink);
}

[data-quiz-theme="chef"]::before{
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(255,255,255,.32), transparent 38%),
    radial-gradient(circle at 50% 0, rgba(255,255,255,.28), transparent 42%);
  pointer-events: none;
}

[data-quiz-theme="chef"] > *{ position: relative; z-index: 1; }

/* Reward confirmation keeps the user focused before the first rewarded gate. */
[data-quiz-theme="chef"] .quiz-engine__reward-prompt{
  position: fixed !important;
  inset: 0 !important;
  z-index: 100 !important;
  width: auto !important;
  margin: 0 !important;
  background: rgba(30, 30, 27, .68);
  backdrop-filter: blur(9px) saturate(.78);
}

[data-quiz-theme="chef"] .quiz-engine__reward-prompt-card{
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 54px);
  border: 2px solid var(--chef-charcoal-deep);
  border-radius: 20px;
  background: linear-gradient(150deg, #fffefd, var(--chef-ivory));
  box-shadow: 10px 12px 0 rgba(30,30,27,.16), 0 34px 80px rgba(0,0,0,.3);
}

[data-quiz-theme="chef"] .quiz-engine__reward-prompt-card::before{
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, var(--chef-tomato) 0 34%, var(--chef-copper) 34% 67%, var(--chef-herb) 67%);
}

[data-quiz-theme="chef"] .quiz-engine__reward-prompt-icon{
  border: 1px solid rgba(70,116,90,.3);
  background: color-mix(in srgb, var(--chef-herb) 13%, var(--chef-porcelain));
  color: var(--chef-herb);
}

[data-quiz-theme="chef"] .quiz-engine__reward-prompt-card > .quiz-engine__primary:disabled{
  border-color: #77736c;
  background: #96918a;
  color: #f6f2ea;
  box-shadow: 0 4px 0 #67635d;
  opacity: 1}

/* Each completed kitchen station receives a distinct but restrained service accent. */
[data-quiz-theme="chef"] .quiz-engine__checkpoint[data-round="1"]{ --chef-stage-accent: #b9553f}
[data-quiz-theme="chef"] .quiz-engine__checkpoint[data-round="2"]{ --chef-stage-accent: #926f32}
[data-quiz-theme="chef"] .quiz-engine__checkpoint[data-round="3"]{ --chef-stage-accent: #ca5b32}
[data-quiz-theme="chef"] .quiz-engine__checkpoint[data-round="4"]{ --chef-stage-accent: #46745a}
[data-quiz-theme="chef"] .quiz-engine__checkpoint[data-round="5"]{ --chef-stage-accent: #a56f35}

[data-quiz-theme="chef"] .quiz-engine__landing{
  position: relative;
  grid-template-columns: 1fr;
  overflow: hidden;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid #9e8f7d;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,254,253,.98), rgba(255,250,240,.97));
  color: var(--chef-ink);
  box-shadow: 0 28px 70px rgba(47,40,34,.2), inset 0 2px #fff;
}

[data-quiz-theme="chef"] .quiz-engine__landing::before{
  position: absolute;
  inset: 15px;
  content: "";
  border: 1px solid rgba(200,121,69,.2);
  border-radius: 17px;
  pointer-events: none;
}

[data-quiz-theme="chef"] .quiz-engine__landing::after{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, var(--chef-tomato) 0 34%, var(--chef-copper) 34% 67%, var(--chef-herb) 67%);
}

[data-quiz-theme="chef"] .quiz-engine__landing-copy{
  display: grid;
  width: 100%;
  max-width: 760px;
  justify-items: center;
  margin: 0 auto;
  text-align: center;
}

[data-quiz-theme="chef"] .quiz-engine__landing-badge{
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin: 2px auto 10px;
  border: 1px solid rgba(185,85,63,.32);
  border-radius: 19px;
  background: linear-gradient(145deg, #fffdf8, #f4e8d8);
  box-shadow: 0 12px 28px rgba(64,48,35,.14), inset 0 0 0 5px rgba(200,121,69,.07);
}

[data-quiz-theme="chef"] .quiz-engine__landing-badge span{ font-size: 35px; }
[data-quiz-theme="chef"] .quiz-engine__landing .quiz-engine__eyebrow,
[data-quiz-theme="chef"] .quiz-engine__landing .quiz-engine__lede,
[data-quiz-theme="chef"] .quiz-engine__landing .quiz-engine__landing-meta{ display: none; }

[data-quiz-theme="chef"] .quiz-engine__landing h1{
  max-width: 760px;
  margin: 12px auto 20px;
  color: var(--chef-ink);
  font-size: clamp(43px, 5vw, 66px);
  font-weight: 920;
  line-height: .97;
  letter-spacing: -.05em;
}

[data-quiz-theme="chef"] .quiz-engine__quick-start{
  max-width: 650px;
  margin: 0 auto 20px;
  color: var(--chef-muted);
  font-size: 17px;
  font-weight: 680;
  line-height: 1.48;
}

[data-quiz-theme="chef"] .quiz-engine__social{
  border: 1px solid #c6b7a6;
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 22px rgba(64,48,35,.1);
  font-size: 14px;
  text-align: left}

[data-quiz-theme="chef"] .quiz-engine__social-text strong{ color: #9d492f; font-weight: 900; }
[data-quiz-theme="chef"] .quiz-engine__social-text span{ color: var(--chef-ink); font-weight: 760; }
[data-quiz-theme="chef"] .quiz-engine__avatars{ display: flex; flex: 0 0 auto; }
[data-quiz-theme="chef"] .quiz-engine__avatars span{
  width: 30px;
  height: 30px;
  margin-left: -9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  box-shadow: 0 4px 10px rgba(53,42,32,.18);
}
[data-quiz-theme="chef"] .quiz-engine__avatars span:first-child{ margin-left: 0; }

[data-quiz-theme="chef"] .quiz-engine__landing .quiz-engine__primary{
  font-size: 19px}

[data-quiz-theme="chef"] .quiz-engine__primary{
  border: 1px solid #171715;
  background: linear-gradient(135deg, #34332f, var(--chef-charcoal-deep));
  color: var(--chef-ivory);
  box-shadow: 0 6px 0 #151513, 0 15px 28px rgba(31,30,27,.24)}

[data-quiz-theme="chef"] .quiz-engine__primary:active{ background: linear-gradient(135deg, #34332f, var(--chef-charcoal-deep)); color: var(--chef-ivory)}
[data-quiz-theme="chef"] .quiz-engine__primary-icon{ display: inline; color: #e6a062; }
[data-quiz-theme="chef"] .quiz-engine__ad-note{ color: #756e67; }
[data-quiz-theme="chef"] .quiz-engine__ad-note span{ border-color: var(--chef-herb); color: var(--chef-herb); }
[data-quiz-theme="chef"] .quiz-engine__landing-art,
[data-quiz-theme="chef"] .quiz-engine__landing-symbol{ display: none !important; }

[data-quiz-theme="chef"] .quiz-engine__question-shell{
  border: 1px solid #b7aa9c;
  background: linear-gradient(180deg, rgba(241,237,231,.98), rgba(235,229,221,.98));
  box-shadow: 0 18px 45px rgba(52,43,35,.14), inset 0 1px rgba(255,255,255,.9)}
[data-quiz-theme="chef"] .quiz-engine__question-shell::before{
  display: block;
  width: 100%;
  height: 4px;
  content: "";
  background: var(--chef-herb);
}
[data-quiz-theme="chef"] .quiz-engine__progress-head{
  color: #6e655c;
  font-weight: 800}
[data-quiz-theme="chef"] .quiz-engine__progress-head > span{
  display: none;
}
[data-quiz-theme="chef"] .quiz-engine__progress-head strong{
  color: var(--chef-charcoal-deep);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-align: left;
}
[data-quiz-theme="chef"] .quiz-engine__progress-head em{
  color: #766e65;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}
[data-quiz-theme="chef"] .quiz-engine__progress-head em::before{ content: ""; }
[data-quiz-theme="chef"] .quiz-engine__progress{
  border: 0;
  background: #d8d0c5;
  box-shadow: inset 0 2px 4px rgba(50,42,34,.13), 0 1px 0 rgba(255,255,255,.78)}

[data-quiz-theme="chef"] .quiz-engine__progress::after{
  display: none;
}

[data-quiz-theme="chef"] .quiz-engine__progress i{
  position: relative;
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #315c45, #56866a);
  box-shadow: inset 0 1px rgba(255,255,255,.28), 0 2px 7px rgba(54,94,72,.24);
}

[data-quiz-theme="chef"] .quiz-engine__progress i::after{
  display: none;
}
[data-quiz-theme="chef"] .quiz-engine__progress[data-complete]{
  box-shadow: inset 0 1px 2px rgba(39,77,57,.2), 0 0 0 3px rgba(70,116,90,.08), 0 4px 12px rgba(54,94,72,.16)}
[data-quiz-theme="chef"] .quiz-engine__progress[data-complete]::after{
  position: absolute;
  top: 50%;
  right: 5px;
  display: block;
  content: "✓";
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  transform: translateY(-50%);
}
[data-quiz-theme="chef"] .quiz-engine__question{ padding: clamp(30px, 3vw, 36px); }
[data-quiz-theme="chef"] .quiz-engine__question h1{ margin-bottom: 20px; font-size: clamp(32px, 4.2vw, 44px); line-height: 1.02; }

[data-quiz-theme="chef"] .quiz-engine__question,
[data-quiz-theme="chef"] .quiz-engine__about{
  position: relative;
  overflow: hidden;
  border: 1px solid #aa9b8a;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 6%, rgba(70,116,90,.055), transparent 25%),
    linear-gradient(150deg, rgba(255,255,255,.99), rgba(255,251,244,.99));
  color: var(--chef-ink);
  box-shadow: 0 18px 45px rgba(52,43,35,.14), inset 0 1px #fff;
}

[data-quiz-theme="chef"] .quiz-engine__checkpoint,
[data-quiz-theme="chef"] .quiz-engine__results{
  border: 1px solid #aa9b8a;
  background:
    radial-gradient(circle at 92% 6%, rgba(70,116,90,.055), transparent 25%),
    linear-gradient(150deg, rgba(255,255,255,.99), rgba(255,251,244,.99));
  color: var(--chef-ink);
  box-shadow: 0 18px 45px rgba(52,43,35,.14), inset 0 1px #fff}

[data-quiz-theme="chef"] .quiz-engine__question::before,
[data-quiz-theme="chef"] .quiz-engine__checkpoint::before,
[data-quiz-theme="chef"] .quiz-engine__results::before,
[data-quiz-theme="chef"] .quiz-engine__about::before{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--chef-herb) 0 56%, var(--chef-copper) 56% 78%, var(--chef-charcoal) 78%);
}

[data-quiz-theme="chef"] .quiz-engine__question h2,
[data-quiz-theme="chef"] .quiz-engine__checkpoint h2,
[data-quiz-theme="chef"] .quiz-engine__results h2{ color: var(--chef-ink); }

/* The kitchen title, progress rail and question form one continuous assessment card. */
[data-quiz-theme="chef"] .quiz-engine__question-shell > .quiz-engine__question{
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(109,96,82,.18);
  border-radius: 0;
  background: linear-gradient(150deg, rgba(255,255,255,.995), rgba(255,251,244,.995));
  box-shadow: inset 0 1px rgba(255,255,255,.8);
}
[data-quiz-theme="chef"] .quiz-engine__question-shell > .quiz-engine__question::before{ display: none; }

/* One persistent visual frame from the first question through the final result. */
[data-quiz-theme="chef"] .quiz-engine__continuous-shell{
  border: 1px solid #b7aa9c;
  background:
    radial-gradient(circle at 92% 5%, rgba(70,116,90,.05), transparent 25%),
    linear-gradient(150deg, rgba(255,255,255,.995), rgba(255,251,244,.995));
  box-shadow: 0 18px 45px rgba(52,43,35,.14), inset 0 1px rgba(255,255,255,.9);
  animation: chef-shell-enter .2s ease-out both}
[data-quiz-theme="chef"] .quiz-engine__continuous-shell::before{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 4px;
  content: "";
  background: var(--chef-herb);
  pointer-events: none;
}
[data-quiz-theme="chef"] .quiz-engine__question-shell.quiz-engine__continuous-shell{
  background: linear-gradient(180deg, rgba(241,237,231,.98), rgba(235,229,221,.98))}
[data-quiz-theme="chef"] .quiz-engine__checkpoint.quiz-engine__continuous-shell,
[data-quiz-theme="chef"] .quiz-engine__results.quiz-engine__continuous-shell{
  color: var(--chef-ink)}

/* Compact{
  position: relative;
  overflow: hidden;
  padding: 23px clamp(18px, 4vw, 32px) 24px;
  border: 1px solid #aa9b8a;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255,255,255,.99), rgba(255,250,240,.98));
  box-shadow: 0 16px 38px rgba(52,43,35,.13), inset 0 1px #fff;
}

[data-quiz-theme="chef"] .quiz-engine__career-next{
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 12px;
  padding: 15px 16px 16px;
  border-color: #b6a795;
  background: linear-gradient(125deg, #fffdf8, color-mix(in srgb, var(--chef-stage-accent) 10%, var(--chef-ivory)));
  box-shadow: none;
  text-align: left;
}
[data-quiz-theme="chef"] .quiz-engine__career-next::before{
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--chef-stage-accent);
}
[data-quiz-theme="chef"] .quiz-engine__career-next::after{
  position: absolute;
  right: -36px;
  bottom: -52px;
  width: 130px;
  height: 130px;
  border: 22px solid color-mix(in srgb, var(--chef-stage-accent) 8%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
[data-quiz-theme="chef"] .quiz-engine__career-next > *{ position: relative; z-index: 1; }
[data-quiz-theme="chef"] .quiz-engine__career-next > span{ grid-column: 1; grid-row: 1; align-self: center; }
[data-quiz-theme="chef"] .quiz-engine__career-next > b{ grid-column: 2; grid-row: 1; margin: 0; }
[data-quiz-theme="chef"] .quiz-engine__career-next h3{ grid-column: 1 / -1; grid-row: 2; margin: 5px 0 3px; }
[data-quiz-theme="chef"] .quiz-engine__career-next p{ grid-column: 1 / -1; grid-row: 3; font-size: 0; line-height: 1.3; }
[data-quiz-theme="chef"] .quiz-engine__career-next p strong{ font-size: 14px; }
[data-quiz-theme="chef"] .quiz-engine__career-next .quiz-engine__primary{ grid-column: 1 / -1; grid-row: 4; font-size: 16px; box-shadow: 0 4px 0 #151513, 0 9px 18px rgba(31,30,27,.16)}

[data-quiz-theme="chef"] .quiz-engine__question-shell.quiz-engine__continuous-shell::before,
[data-quiz-theme="chef"] .quiz-engine__checkpoint.quiz-engine__continuous-shell::before,
[data-quiz-theme="chef"] .quiz-engine__results.quiz-engine__continuous-shell::before{
  height: 4px;
  background: var(--chef-herb);
}

[data-quiz-theme="chef"] .quiz-engine__result-icon{
  width: 72px;
  height: 72px;
  margin: 14px auto;
  border: 2px solid var(--chef-charcoal-deep);
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf8, #f0dfd7);
  color: var(--chef-ink);
  box-shadow: 8px 9px 0 rgba(40, 39, 36, .12), 0 16px 32px rgba(64, 48, 35, .13);
}

[data-quiz-theme="chef"] .quiz-engine__context,
[data-quiz-theme="chef"] .quiz-engine__visual{
  border: 1px solid #d6c8b8;
  background:
    linear-gradient(rgba(185,85,63,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,85,63,.04) 1px, transparent 1px),
    #fbf7ef;
  background-size: 24px 24px, 24px 24px, auto;
  color: #50483f;
}

[data-quiz-theme="chef"] .quiz-engine__visual-item{
  min-width: 0;
  border-color: #b9a795;
  background: rgba(255,255,255,.91);
  color: var(--chef-ink);
}

[data-quiz-theme="chef"] .quiz-engine__visual-separator{ color: var(--chef-tomato); }
[data-quiz-theme="chef"] .quiz-engine__answer{
  min-height: 68px;
  border-color: #c5b6a6;
  background: #fffefd;
  color: var(--chef-ink);
  box-shadow: 0 5px 14px rgba(61,49,39,.07);
}
[data-quiz-theme="chef"] .quiz-engine__answers{ gap: 10px; }
[data-quiz-theme="chef"] .quiz-engine__question-ad{
  height: 282px;
  min-height: 282px;
  padding: 0;
  border-block: 1px solid rgba(201,113,66,.22);
  background: linear-gradient(90deg, rgba(246,239,228,.18), rgba(255,253,248,.58), rgba(246,239,228,.18));
}
[data-quiz-theme="chef"] .quiz-engine__question-ad[data-placement="below-question"]{
  margin-top: 16px;
  margin-bottom: 16px;
}
[data-quiz-theme="chef"] .quiz-engine__question-ad[data-placement="below-answers"]{
  margin-top: 16px;
  margin-bottom: 16px;
}
[data-quiz-theme="chef"] .quiz-engine__result-ad{
  border-block-color: rgba(201,113,66,.24);
  background: linear-gradient(90deg, rgba(246,239,228,.2), rgba(255,253,248,.72), rgba(246,239,228,.2));
}
[data-quiz-theme="chef"] .quiz-engine__question{ overflow: visible; }
@media (hover: hover) and (pointer: fine) {
  [data-quiz-theme="chef"] .quiz-engine__answer:hover:not(:disabled){ border-color: var(--chef-copper); background: #fff8ef; }
}
[data-quiz-theme="chef"] .quiz-engine__answer[data-selected]{
  border: 3px solid var(--chef-tomato);
  background: #f3d2c5;
  color: #30231e;
  box-shadow: 0 0 0 4px rgba(185,85,63,.28), 0 9px 20px rgba(84,48,34,.16);
  transform: translateY(-1px);
}
[data-quiz-theme="chef"] .quiz-engine__answer[data-selected] > span:not(.quiz-engine__answer-icon):not(.quiz-engine__scale-dot){
  background: var(--chef-tomato);
  color: var(--chef-ivory);
  box-shadow: 0 0 0 3px rgba(255,255,255,.72);
}

[data-quiz-theme="chef"] .quiz-engine__checkpoint-badge,
[data-quiz-theme="chef"] .quiz-engine__result-kicker,
[data-quiz-theme="chef"] .quiz-engine__result-percentage{ color: var(--chef-tomato); }
[data-quiz-theme="chef"] .quiz-engine__checkpoint-signal,
[data-quiz-theme="chef"] .quiz-engine__result-fact,
[data-quiz-theme="chef"] .quiz-engine__review{ border-color: #d0c1b1; background: rgba(255,255,255,.72); }

[data-quiz-theme="chef"] .quiz-engine__checkpoint{
  text-align: center}

[data-quiz-theme="chef"] .quiz-engine__checkpoint-icon{
  width: 76px;
  height: 76px;
  margin: 14px auto 10px;
  border: 2px solid var(--chef-charcoal-deep);
  border-radius: 18px;
  background: color-mix(in srgb, var(--chef-stage-accent, var(--chef-copper)) 16%, var(--chef-porcelain));
  color: var(--chef-stage-accent, var(--chef-copper));
  box-shadow: 5px 6px 0 rgba(41,38,34,.12);
  animation: chef-checkpoint-stamp .48s cubic-bezier(.2,.85,.3,1.2) both;
}

[data-quiz-theme="chef"] .quiz-engine__ai-panel{
  position: relative;
  width: min(100%, 610px);
  margin: 22px auto 0;
  overflow: hidden;
  padding: 17px 19px;
  border: 1px solid #d0c1b1;
  border-left: 7px solid var(--chef-stage-accent, var(--chef-herb));
  border-radius: 13px;
  background: linear-gradient(110deg, rgba(255,255,255,.9), rgba(255,250,240,.76));
  box-shadow: 0 10px 24px rgba(52,43,35,.09);
  text-align: center;
}

[data-quiz-theme="chef"] .quiz-engine__ai-panel::after{
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 24%;
  content: "";
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--chef-stage-accent, var(--chef-herb)) 13%, transparent), transparent);
  pointer-events: none;
  animation: chef-checkpoint-scan 2.8s ease-in-out infinite;
}

[data-quiz-theme="chef"] .quiz-engine__ai-panel > *,
[data-quiz-theme="chef"] .quiz-engine__ai-top{ position: relative; z-index: 1; }
[data-quiz-theme="chef"] .quiz-engine__ai-top > span{
  background: var(--chef-stage-accent, var(--chef-herb));
  animation: chef-checkpoint-pulse 1.35s ease-in-out infinite;
}

[data-quiz-theme="chef"] .quiz-engine__checkpoint-progress{
  width: min(100%, 610px);
  margin: 18px auto 20px;
}

[data-quiz-theme="chef"] .quiz-engine__checkpoint-progress-copy{
  color: var(--chef-muted);
  font-weight: 900;
  letter-spacing: .04em;
}

[data-quiz-theme="chef"] .quiz-engine__checkpoint-progress-copy strong{ color: var(--chef-charcoal); }
[data-quiz-theme="chef"] .quiz-engine__checkpoint-progress-track i{
  height: 9px;
  border: 1px solid rgba(41,38,34,.2);
  border-radius: 3px;
  background: rgba(41,38,34,.09);
}

[data-quiz-theme="chef"] .quiz-engine__checkpoint-progress-track i[data-complete]{
  border-color: var(--chef-stage-accent, var(--chef-copper));
  background: var(--chef-stage-accent, var(--chef-copper));
}

[data-quiz-theme="chef"] .quiz-engine__checkpoint-next{
  width: min(100%, 610px);
  margin: 17px auto 22px;
  padding: 16px;
  border: 1px solid #b6a795;
  border-radius: 13px;
  background: linear-gradient(100deg, rgba(255,255,255,.9), color-mix(in srgb, var(--chef-stage-accent, var(--chef-copper)) 9%, var(--chef-ivory)));
  box-shadow: 4px 5px 0 rgba(41,38,34,.09);
}

[data-quiz-theme="chef"] .quiz-engine__checkpoint-next span{ color: var(--chef-muted); font-weight: 900; letter-spacing: .14em; }
[data-quiz-theme="chef"] .quiz-engine__checkpoint-next strong{ color: var(--chef-stage-accent, var(--chef-tomato)); font-size: 18px; }

[data-quiz-theme="chef"] .quiz-engine__about h2,
[data-quiz-theme="chef"] .quiz-engine__about h3{ color: var(--chef-charcoal); }
[data-quiz-theme="chef"] .quiz-engine__about p,
[data-quiz-theme="chef"] .quiz-engine__about li{ color: #655d55; }

/* Compact culinary visual language for the ten-question challenge. */
[data-quiz-theme="chef"] .quiz-engine__visual{
  margin: -4px 0 20px;
  padding: 10px;
  border: 1px solid #cfbda9;
  border-radius: 16px;
  background: linear-gradient(145deg, #fffdf8, #f7eddf);
  box-shadow: inset 0 1px #fff, 0 8px 20px rgba(65,48,35,.08);
}
[data-quiz-theme="chef"] .quiz-engine__visual--key-value-board{
  gap: 2px;
  padding: 8px 12px;
  border-left: 5px solid var(--chef-copper);
}
[data-quiz-theme="chef"] .quiz-engine__visual--key-value-board > span{
  border-bottom-color: rgba(117,90,66,.18);
}
[data-quiz-theme="chef"] .quiz-engine__visual--key-value-board > span > strong{
  grid-template-columns: minmax(120px, .82fr) minmax(0, 1.18fr);
  min-height: 38px;
  gap: 14px;
  padding: 5px 4px;
}
[data-quiz-theme="chef"] .quiz-engine__visual--key-value-board b{
  color: #74422e;
  font-family: Arial, sans-serif;
  font-size: 11px;
}
[data-quiz-theme="chef"] .quiz-engine__visual--key-value-board em{
  color: var(--chef-ink);
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.25;
}

/* Tool tray. */
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r9q1"] .quiz-engine__answers--icons .quiz-engine__answer{
  min-height: 118px;
  border-width: 2px;
  background: linear-gradient(150deg, #fff, #f7eee2);
}
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r9q1"] .quiz-engine__answer-icon img{
  width: 62px;
  height: 62px;
}

/* Final-service dossier. */
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] .quiz-engine__visual{
  grid-template-columns: 1fr !important;
  gap: 0;
  overflow: hidden;
  padding: 0 12px 8px;
  border: 2px solid #292825;
  border-left-width: 2px;
  background: #fbf5e9;
}
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] .quiz-engine__visual::before{
  grid-column: 1 / -1;
  margin: 0 -12px 3px;
  padding: 10px 14px;
  content: "FINAL SERVICE DOSSIER";
  background: #292825;
  color: #f6be73;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-align: left;
}
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] .quiz-engine__visual > span{
  border-bottom: 1px solid rgba(64, 55, 46, .14);
}
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] .quiz-engine__visual > span:last-child{ border-bottom: 0; }
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] .quiz-engine__visual > span > strong{
  min-height: 42px;
  justify-items: start;
  padding: 7px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--chef-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
}
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] .quiz-engine__visual > span:nth-of-type(2){ background: rgba(185,85,63,.09); }

/* Three-tile sensory panel. */
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q2"] .quiz-engine__visual{
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 9px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q2"] .quiz-engine__visual > span > strong{
  min-height: 82px;
  align-content: center;
  gap: 6px;
  border: 2px solid #c9855d;
  background: linear-gradient(150deg, #fff9ec, #f4e3c7);
  color: #6e3829;
  font-family: Arial, sans-serif;
  font-size: clamp(12px, 3vw, 16px);
  letter-spacing: .05em;
  box-shadow: 0 7px 16px rgba(92, 57, 38, .08), inset 0 1px #fff;
}
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q2"] .quiz-engine__visual > span > strong::before{ font-size: 22px; line-height: 1; }
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q2"] .quiz-engine__visual > span:nth-child(1) > strong::before{ content: "🍲"; }
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q2"] .quiz-engine__visual > span:nth-child(2) > strong::before{ content: "⚖️"; }
[data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q2"] .quiz-engine__visual > span:nth-child(3) > strong::before{ content: "🌿"; }

@media (max-width: 720px) {
  [data-quiz-theme="chef"] .quiz-engine__landing{ padding: 28px 18px 30px; border-radius: 20px; }
  [data-quiz-theme="chef"] .quiz-engine__landing::before{ inset: 9px; border-radius: 14px; }
  [data-quiz-theme="chef"] .quiz-engine__landing-badge{ width: 60px; height: 60px; margin-bottom: 8px; border-radius: 17px; }
  [data-quiz-theme="chef"] .quiz-engine__landing-badge span{ font-size: 31px; }
  [data-quiz-theme="chef"] .quiz-engine__landing h1{ margin: 10px auto 17px; font-size: clamp(35px, 10.8vw, 48px); line-height: .98; }
  [data-quiz-theme="chef"] .quiz-engine__quick-start{ margin-bottom: 17px; font-size: 16px; }
  [data-quiz-theme="chef"] .quiz-engine__reward-prompt-card{ width: min(100% - 28px, 520px); padding: 30px 20px; }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint .quiz-engine__eyebrow{ display: none; }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint-icon{ width: 56px; height: 56px; margin: 7px auto; border-radius: 14px; font-size: 25px; }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint h2{ margin: 6px 0; font-size: clamp(29px, 8.7vw, 39px); }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint .quiz-engine__ai-panel{ margin: 12px auto 0; padding: 14px; }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint .quiz-engine__ai-panel > p{ margin-top: 6px; line-height: 1.38; }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint-progress{ gap: 8px; margin: 13px auto 15px; }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint-progress-track i{ height: 7px; }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint-next{ gap: 3px; margin: 12px auto 16px; padding: 12px 13px; }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint-next strong{ font-size: 17px; }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint > .quiz-engine__checkpoint-ad-note{ margin-top: 9px; }
  [data-quiz-theme="chef"] .quiz-engine__career-next{ margin-top: 8px; padding: 11px 12px 12px; }
  [data-quiz-theme="chef"] .quiz-engine__career-next > span{ font-size: 10px; }
  [data-quiz-theme="chef"] .quiz-engine__career-next h3{ margin: 4px 0 2px; font-size: 22px; }
  [data-quiz-theme="chef"] .quiz-engine__career-next > b{ padding: 3px 7px; font-size: 9px; }
  [data-quiz-theme="chef"] .quiz-engine__career-next p strong{ font-size: 13px; }
  [data-quiz-theme="chef"] .quiz-engine__question{ padding: 21px 14px 17px; }
  [data-quiz-theme="chef"] .quiz-engine__progress-head strong{ font-size: 18px; }
  [data-quiz-theme="chef"] .quiz-engine__progress-head em{ font-size: 10px; }
  [data-quiz-theme="chef"] .quiz-engine__question h1{ margin-bottom: 14px; font-size: clamp(25px, 7.25vw, 32px); line-height: 1.02; }
  [data-quiz-theme="chef"] .quiz-engine__visual{ margin-bottom: 12px; padding: 7px 9px; border-radius: 13px; }
  [data-quiz-theme="chef"] .quiz-engine__answers{ gap: 8px; }
  [data-quiz-theme="chef"] .quiz-engine__answer{
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    min-height: 62px;
    padding: 8px 12px;
  }
  [data-quiz-theme="chef"] .quiz-engine__answer > span:not(.quiz-engine__answer-icon):not(.quiz-engine__scale-dot){ width: 34px; height: 34px; }
  [data-quiz-theme="chef"] .quiz-engine__answer strong{ font-size: 15px; line-height: 1.24; }
  [data-quiz-theme="chef"] .quiz-engine__visual--key-value-board{ gap: 0; padding: 5px 9px; }
  [data-quiz-theme="chef"] .quiz-engine__visual--key-value-board > span > strong{ grid-template-columns: minmax(100px, .82fr) minmax(0, 1.18fr); min-height: 34px; gap: 7px; padding-block: 4px; }
  [data-quiz-theme="chef"] .quiz-engine__visual--key-value-board b{ font-size: 9px; letter-spacing: .06em; }
  [data-quiz-theme="chef"] .quiz-engine__visual--key-value-board em{ font-size: 10.5px; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence{
    --quiz-visual-gap: 8px;
    gap: 8px;
  }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence > span:nth-child(3){
    grid-column: 1;
    grid-row: 2;
  }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence > span:nth-child(4){
    grid-column: 2;
    grid-row: 2;
  }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence > span::before{
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--chef-copper) 58%, transparent);
    border-radius: 6px;
    background: color-mix(in srgb, var(--chef-copper) 12%, #fff);
    color: var(--chef-tomato);
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
  }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence > span:nth-child(1)::before{ content: "1"; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence > span:nth-child(2)::before{ content: "2"; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence > span:nth-child(3)::before{ content: "3"; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence > span:nth-child(4)::before{ content: "4"; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence > span > strong{ min-height: 54px; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence > span:nth-child(3) > strong{
    border: 2px solid color-mix(in srgb, var(--chef-copper) 48%, #d8cbbb);
    background: linear-gradient(145deg, var(--quiz-header-text), #f8ecd7);
    box-shadow: 0 4px 10px rgba(164, 101, 52, .08), inset 0 0 0 1px rgba(255,255,255,.72);
  }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r2q1"] .quiz-engine__visual--four-step-sequence > span > i{
    display: none;
  }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] .quiz-engine__visual{ padding: 0 9px 5px; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] .quiz-engine__visual::before{ margin-inline: -9px; padding: 7px 10px; font-size: 9px; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] h1{ font-size: clamp(24px, 6.7vw, 29px); }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q2"] .quiz-engine__visual > span > strong{ min-height: 66px; padding: 6px 3px; font-size: 10px; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q2"] .quiz-engine__visual > span > strong::before{ font-size: 18px; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] .quiz-engine__visual > span > strong{ min-height: 34px; padding: 5px 3px; font-size: 10px; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r9q1"] .quiz-engine__answers--icons .quiz-engine__answer{ min-height: 88px; padding: 7px; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r9q1"] .quiz-engine__answer-icon img{ width: 46px; height: 46px; }
}

@media (max-width: 390px) {
  [data-quiz-theme="chef"] .quiz-engine__landing{ padding-inline: 14px; }
  [data-quiz-theme="chef"] .quiz-engine__landing h1{ font-size: clamp(32px, 10.5vw, 41px); }
  [data-quiz-theme="chef"] .quiz-engine__social{ font-size: 13px}
}

@media (max-width: 340px) {
  [data-quiz-theme="chef"] .quiz-engine__question{ padding: 18px 12px 14px; }
  [data-quiz-theme="chef"] .quiz-engine__question h1{ margin-bottom: 10px; font-size: 22px; line-height: 1; }
  [data-quiz-theme="chef"] .quiz-engine__visual{ margin-bottom: 10px; }
  [data-quiz-theme="chef"] .quiz-engine__answers{ gap: 7px; }
  [data-quiz-theme="chef"] .quiz-engine__answer{ min-height: 58px; padding: 7px 10px; }
  [data-quiz-theme="chef"] .quiz-engine__answer strong{ font-size: 14px; }
  [data-quiz-theme="chef"] .quiz-engine__question[data-question-id="chef-r10q6"] .quiz-engine__visual > span > strong{ min-height: 30px; font-size: 9px; }
}

/* Intermediate result gates stay inside the persistent kitchen frame as a compact sheet. */
[data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career{
  display: flex;
  min-height: 390px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 54px clamp(48px, 8vw, 88px) 48px;
  background:
    radial-gradient(circle at 50% 28%, rgba(70,116,90,.10), transparent 34%),
    linear-gradient(180deg, #eee9e2, #e8e1d8);
  text-align: center;
}
[data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career::after{
  position: absolute;
  inset: 25px clamp(24px, 5vw, 48px);
  z-index: 0;
  border: 1px solid rgba(104,91,76,.28);
  border-radius: 20px;
  content: "";
  background: linear-gradient(150deg, rgba(255,255,255,.98), rgba(255,250,241,.97));
  box-shadow: 0 14px 34px rgba(52,43,35,.11), inset 0 1px rgba(255,255,255,.9);
}
[data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career > *{
  position: relative;
  z-index: 1;
}
[data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career .quiz-engine__eyebrow{
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px 12px;
  border: 1px solid rgba(70,116,90,.25);
  border-radius: 999px;
  background: rgba(70,116,90,.09);
  color: var(--chef-herb);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .15em;
}
[data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career .quiz-engine__checkpoint-icon{
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--chef-herb);
  color: #fff;
  box-shadow: 0 8px 18px rgba(70,116,90,.22);
  font-size: 24px;
}
[data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career h2{
  max-width: 560px;
  margin: 0 auto 7px;
  color: var(--chef-charcoal-deep);
  font-size: clamp(27px, 4.4vw, 36px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -.025em;
}
[data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career > p:not(.quiz-engine__checkpoint-ad-note){
  margin: 0 auto 20px;
  color: var(--chef-muted);
  font-size: 17px;
  font-weight: 700;
}
[data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career > .quiz-engine__checkpoint-ad-note{
  margin: 10px auto 0;
  color: #766e65;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 720px) {
  [data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career{
    min-height: 350px;
    padding: 42px 25px 38px;
  }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career::after{
    inset: 12px;
    border-radius: 17px;
  }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career .quiz-engine__eyebrow{
    display: inline-flex;
    margin-bottom: 10px;
  }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career .quiz-engine__checkpoint-icon{
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
    font-size: 22px;
  }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career h2{
    margin-bottom: 6px;
    font-size: clamp(25px, 7.3vw, 31px);
  }
  [data-quiz-theme="chef"] .quiz-engine__checkpoint--compact-career > p:not(.quiz-engine__checkpoint-ad-note){
    margin-bottom: 17px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-quiz-theme="chef"] *,
[data-quiz-theme="chef"] *::before,
[data-quiz-theme="chef"] *::after{ scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@keyframes chef-checkpoint-stamp {
  from{ opacity: 0; transform: translateY(-8px) rotate(-6deg) scale(.8); }
  to{ opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

@keyframes chef-checkpoint-scan {
  0%,
18%{ transform: translateX(0); opacity: 0; }
  35%{ opacity: 1; }
  78%,
100%{ transform: translateX(560%); opacity: 0; }
}

@keyframes chef-checkpoint-pulse {
  0%,
100%{ opacity: .45; transform: scale(.82); }
  50%{ opacity: 1; transform: scale(1); }
}

@keyframes chef-shell-enter {
  from{ opacity: .72; transform: translateY(3px); }
  to{ opacity: 1; transform: translateY(0); }
}
