/* AI編成ラボ — アイボリー、インクブルーと目的別カラー */
:root {
  --editorial-blue: #365dca;
  --editorial-ink: #24334b;
  --editorial-line: #e1e3e8;
  --editorial-muted: #6c7381;
  font-family: "Yu Gothic", "Meiryo", sans-serif;
}

body { background: #f8f7f4; color: var(--editorial-ink); }
.container { width: min(1280px, calc(100% - 80px)); }
.site-header { background: #fff; backdrop-filter: none; border-bottom-color: #e8ecf2; }
.nav-shell { min-height: 82px; gap: 25px; padding: 0; flex-wrap: nowrap; }
.brand { font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif; font-size: 24px; letter-spacing: 0; font-weight: 700; color: #1c2b44; gap: 12px; }
.brand-identity { display: flex; flex-direction: column; align-items: flex-start; }
.brand-caption { font-family: Arial, sans-serif; font-size: 8px; line-height: 1; letter-spacing: .2em; font-weight: 500; color: #7b879c; margin: 8px 0 0 1px; }
.brand-name { display: inline-flex; align-items: baseline; gap: 0; line-height: 1.1; letter-spacing: -.055em; padding-right: 3px; }
.brand .brand-mark { width: 50px; height: 50px; flex: 0 0 auto; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.brand .brand-mark .brand-symbol { width: 50px !important; height: 50px !important; stroke: none; fill: none; stroke-width: 0 !important; }
.brand:focus-visible { outline: 2px solid #3c5dcc; outline-offset: 6px; border-radius: 5px; }
.site-footer .brand { --brand-ribbon: #e0e9ff; --brand-link: #8eace9; }
.site-footer .brand .brand-mark { background: transparent; }
.site-footer .brand-caption { color: #a5bce9; }
.page-tab-bar { background: none; border: 0; padding: 0; border-radius: 0; gap: 29px; order: 0; width: auto; overflow: visible; }
.page-tab { background: none; border: 0; border-radius: 0; padding: 25px 0; min-height: 82px; color: #56657c; position: relative; flex: 0 0 auto; }
.page-tab-label { font-size: 12px; font-weight: 600; }
.page-tab.is-active { background: none; color: #254ebe; box-shadow: none; }
.page-tab::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #2854d7; transform: scaleX(0); transition: transform .25s; }
.page-tab.is-active::after { transform: scaleX(1); }
.nav-shell > .button-small { background: #2854d7; border-radius: 30px; color: #fff; padding: 12px 22px; box-shadow: none; font-weight: 600; min-height: 43px; font-size: 12px; }

#page-view-diagnosis { background: #f8f7f4; }
.quiz-home {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-rows: auto auto auto auto;
  column-gap: 55px;
  row-gap: 0;
  align-items: start;
  padding-top: 39px;
}
.quiz-intro { grid-column: 1; grid-row: 1; display: block; padding: 16px 0 29px; position: relative; }
.quiz-kicker { color: #687180; font-size: 10px; letter-spacing: .16em; font-weight: 600; gap: 11px; margin-bottom: 25px; }
.quiz-kicker > span { width: 7px; height: 7px; border-radius: 1px; background: #dc9a7d; box-shadow: none; rotate: 45deg; }
.quiz-intro h1 { font-size: clamp(32px, 3.15vw, 48px); line-height: 1.57; letter-spacing: -.06em; font-weight: 700; color: #182d4d; margin: 0; white-space: nowrap; }
.quiz-intro h1 span { color: #365dca; -webkit-text-fill-color: #365dca; background: none; }
.quiz-lead { font-size: 13px; line-height: 2.05; letter-spacing: .005em; color: #626b7b; margin-top: 23px; }
.quiz-lead strong { color: #355aa5; font-weight: 700; }
.editorial-signature { display: flex; align-items: center; gap: 17px; margin-top: 23px; color: #405b84; font-size: 11px; letter-spacing: .05em; }
.editorial-signature svg { width: 32px !important; height: 20px !important; stroke-width: 1.2 !important; }
.editorial-photo { grid-column: 1; grid-row: 2 / 4; width: 100%; margin: 0; position: relative; align-self: stretch; min-height: 288px; }
.editorial-photo > img { display: block; width: 100%; height: 294px; object-fit: cover; object-position: 58% 60%; border-radius: 7px 65px 7px 7px; }
.editorial-photo::before { content: ""; position: absolute; width: 76px; height: 76px; border: 1px solid #6386c6; border-radius: 50%; top: -25px; right: -20px; z-index: -1; }
.photo-index { position: absolute; left: 16px; bottom: 24px; display: flex; flex-direction: column; gap: 4px; background: #fffaf2f5; color: #304971; border: 1px solid #ffffff; padding: 13px 22px 13px 18px; border-radius: 4px 20px 4px 4px; box-shadow: 0 8px 25px #1d3c7810; }
.photo-index > span { font-size: 8px; letter-spacing: .12em; color: #707887; }
.photo-index > i { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 400; letter-spacing: -.02em; }
.editorial-photo figcaption { color: #778399; font-size: 9px; margin-top: 9px; line-height: 1.6; text-align: right; }
.editorial-photo figcaption a { text-decoration: underline; text-underline-offset: 3px; }

.quiz-panel {
  grid-column: 2;
  grid-row: 1 / 3;
  display: block;
  padding: 28px 30px 20px;
  border: 1px solid #e0e3eb;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 15px 45px #2c3b5510;
  scroll-margin-top: 20px;
}
.quiz-panel::before { height: 0; display: none; }
.quiz-panel-top { display: flex; align-items: center; gap: 15px; justify-content: space-between; }
.quiz-wordmark { font-size: 26px; color: #1b3155; font-weight: 700; letter-spacing: -.04em; gap: 15px; line-height: 1.35; }
.quiz-symbol { width: 61px; height: 64px; border-radius: 15px; background: #304e92; color: #fff8ee; display: flex; align-items: center; justify-content: center; flex-direction: column; font-size: 34px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.07em; line-height: 1; }
.quiz-symbol > span { display: block; font-size: 11px; letter-spacing: .02em; margin-top: 2px; font-style: italic; }
.quiz-wordmark small { font-size: 10px; color: #68768d; line-height: 1.75; margin-top: 7px; font-weight: 500; letter-spacing: 0; }
.quiz-free-label { display: inline-block; border: 1px solid #ece5d9; background: #faf6ef; color: #746653; font-size: 9px; padding: 7px 10px; border-radius: 20px; }
.quiz-panel .quiz-progress { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 15px 0; border-top: 1px solid #e8edf5; border-bottom: 1px solid #e8edf5; }
.quiz-progress button { min-height: 28px; padding: 0; gap: 8px; font-size: 11px; }
.quiz-progress button > span { background: #f0f3f9; color: #6b7d9e; width: 24px; height: 24px; font-size: 9px; font-weight: 600; }
.quiz-progress button[aria-current] { color: #315bd0; }
.quiz-progress button[aria-current] > span { background: #315bd0; box-shadow: none; }
.quiz-progress button:disabled { opacity: .8; }
.quiz-panel .quiz-progress > i { background: #e4eaf5; height: 1px; flex: 1; width: auto; max-width: none; }
.quiz-panel .quiz-question-heading { display: block; margin: 20px 0 17px; padding: 0; border: 0; }
#quiz-question-count { color: #5d75a1; font-size: 9px; letter-spacing: .13em; font-weight: 600; margin-bottom: 5px; }
#quiz-question-title { color: #1e3356; font-size: 22px; line-height: 1.6; letter-spacing: -.03em; font-weight: 700; }
#quiz-step-hint { display: block; font-size: 10px; color: #6b7991; padding: 0; margin-top: 5px; }
.quiz-answer-group { gap: 10px; min-height: 0; }
.quiz-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.purpose-answer { display: flex; flex-direction: row; align-items: center; gap: 12px; min-height: 82px; border: 1px solid #e3e6ed; padding: 13px 15px; border-radius: 14px; background: #fff; }
.quiz-answer:hover { background: #f6f9ff; border-color: #7999df; transform: translateY(-2px); box-shadow: 0 5px 12px #264e8e08; }
.quiz-answer[aria-pressed=true] { background: #eff4ff; border-color: #5981d9; box-shadow: inset 0 0 0 1px #5981d9; }
#quiz-purpose-options .answer-icon { width: 40px; height: 40px; border-radius: 0; background: transparent; }
#quiz-purpose-options .purpose-art { width: 40px; height: 40px; fill: none; stroke: none; stroke-width: 0; overflow: visible; transition: transform .25s ease; }
.purpose-answer:hover .purpose-art { transform: translateY(-2px) rotate(-4deg); }
.purpose-answer:active .purpose-art { transform: scale(.92); }
.quiz-answer strong { color: #243d63; font-size: 13px; font-weight: 700; letter-spacing: -.025em; line-height: 1.65; }
.answer-note { font-size: 10px; color: #647084; margin-top: 2px; line-height: 1.65; }
.choice-indicator { width: 12px; height: 12px; top: 8px; right: 8px; border-color: #e1e7f2; }
.choice-indicator svg { width: 9px !important; height: 9px !important; }
.quiz-answer[aria-pressed=true] .choice-indicator { background: #426bc6; border-color: #426bc6; }
.quiz-panel .quiz-controls { margin-top: 15px; min-height: 28px; gap: 12px; }
.quiz-choice-help { font-size: 10px; color: #667184; }
.quiz-choice-help svg { color: #5f80bb; width: 14px !important; height: 14px !important; }
.quiz-back { font-size: 11px; min-height: 42px; color: #61779c; }
.quiz-panel .quiz-next,.quiz-panel .diagnose-button { min-width: 0; width: 235px; min-height: 53px; background: #2854d7; border-color: #2854d7; border-radius: 12px; box-shadow: 0 6px 12px #2854d71a; font-size: 13px; font-weight: 700; padding: 14px 20px; }
.quiz-panel .quiz-next:hover,.quiz-panel .diagnose-button:hover { background: #1b44b9; box-shadow: 0 9px 18px #2854d722; }
.quiz-budgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.budget-answer { padding: 21px; border-radius: 13px; min-height: 150px; }
.answer-overline { font-size: 11px; margin-bottom: 12px; }
.budget-answer strong { font-size: 28px; line-height: 1.2; letter-spacing: -.04em; }
.budget-answer strong small { font-size: 10px; margin-top: 8px; margin-bottom: 10px; }
.budget-answer strong.budget-undecided { font-size: 17px; margin-bottom: 13px; line-height: 1.6; }
.quiz-devices { grid-template-columns: 1fr; }
.device-answer { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: 1fr 1fr; column-gap: 17px; row-gap: 0; text-align: left; align-items: center; justify-content: start; min-height: 97px; padding: 18px 24px; border-radius: 13px; }
.device-pictogram { grid-column: 1; grid-row: 1 / 3; margin: 0; width: 32px !important; height: 32px !important; color: #6583bd; }
.device-answer strong { grid-column: 2; align-self: end; font-size: 15px; }
.device-answer .answer-note { grid-column: 2; align-self: start; font-size: 11px; }
.quiz-footnote { grid-column: 2; grid-row: 3; display: block; font-size: 9px; color: #75839a; margin: 11px 5px 0; line-height: 1.9; }
.quiz-footnote > span { display: block; }
.quiz-context { grid-column: 1 / -1; grid-row: 4; margin-top: 37px; padding: 20px 0; border-top: 1px solid #e1e6ef; border-bottom: 1px solid #e1e6ef; gap: 27px; color: #6d7b91; font-size: 11px; }
.quiz-context strong { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 27px; color: #3a5a91; margin-right: 7px; }
.quiz-context > button { font-size: 11px; color: #536d9b; margin-left: auto; }
.quiz-context > span:first-child { margin-left: 4px; }

.editorial-guide { margin-top: 68px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 0 50px 40px; border-bottom: 1px solid #e3e8f1; }
.editorial-guide-label { font-size: 9px; letter-spacing: .16em; color: #7c8daa; }
.editorial-guide h2 { font-size: 26px; letter-spacing: -.035em; line-height: 1.75; color: #263f64; margin-top: 15px; }
.editorial-guide h2 br { display: none; }
.editorial-guide p { font-size: 12px; line-height: 2; color: #6b7b93; margin-top: 13px; }
.editorial-guide .quiz-buddy { align-self: center; flex-basis: 320px; width: 320px; padding: 0; }
.editorial-guide .quiz-buddy .mascot-stage { display: grid; grid-template-columns: 128px 1fr; min-height: 145px; height: 145px; }
.editorial-guide .quiz-buddy .character-button { height: 145px; width: 128px; }
.editorial-guide .quiz-buddy .bot-body.illustrated-bot,.editorial-guide .quiz-buddy svg.ink-character { width: 128px !important; height: 145px !important; }
.editorial-guide .quiz-buddy .mascot-speech { font-size: 11px; border-color: #dce4f1; border-radius: 15px 15px 15px 3px; }
.editorial-guide .quiz-buddy .motion-toolbar { position: static; }
.editorial-guide .quiz-buddy .motion-toggle { font-size: 10px; min-height: 36px; }
.quiz-examples { grid-template-columns: .72fr 1.28fr; gap: 60px; padding-top: 60px; padding-bottom: 85px; }
.quiz-examples-copy h2 { font-size: 28px; letter-spacing: -.04em; line-height: 1.75; }
.quiz-examples-copy .eyebrow { font-size: 10px; letter-spacing: .025em; color: #6a7e9e; }
.quiz-examples .team-preview { border-radius: 17px; border-color: #e0e6f0; padding: 25px; background: white; }
.quiz-examples .preview-tabs button { font-weight: 600; font-size: 11px; border-radius: 9px; background: #f0f3f9; color: #687b9c; }
.quiz-examples .preview-tabs button[aria-pressed=true] { background: #315bd0; color: #fff; }
.workflow-node { background: #fafbfd; border-color: #e5eaf3; border-radius: 10px; }
.preview-tier-row.is-free { background: #f6f8fd; }
.preview-tier-row.is-paid { background: #eff3ff; border-color: #dce4f7; }
.preview-tier-price { color: #375eac !important; }
.concierge-fab { box-shadow: 0 4px 15px #203f6e0a !important; border-color: #dce4f1 !important; }
.concierge-fab-text strong { color: #536c93 !important; }
.lab-section-head h2,.section-heading h2 { letter-spacing: -.035em; }
.site-footer { background: #192f51; border-color: #192f51; }
.photo-credit-footer { font-size: 10px; color: #bac9df; margin-top: 14px; }
.photo-credit-footer a { text-decoration: underline; text-underline-offset: 3px; }

/* 公開情報と収益導線。診断の選択肢から離した配置。 */
.policy-links { display: flex; flex-wrap: wrap; gap: 14px 25px; margin: 25px 0; font-size: 12px; line-height: 1.8; color: #d6e0f2; }
.policy-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.affiliate-disclosure { font-size: 12px; line-height: 1.9; color: #d6e0f2; margin-bottom: 20px; }
.recipe-start-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.tool-start { margin: 17px 0 4px; }
.tool-action-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 44px; padding: 10px 15px; border: 1px solid #d5dfef; border-radius: 10px; color: #35599d; background: #f4f7fc; font-size: 12px; font-weight: 700; line-height: 1.7; }
.tool-action-link:hover { background: #eaf0fc; border-color: #96add7; }
.pr-label { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #ede5d9; color: #65573f; font-size: 10px; font-weight: 700; }
.manual-ad { border-top: 1px solid #e1e5ec; margin-top: 40px; margin-bottom: 40px; min-height: 120px; padding-top: 12px; }
.manual-ad > span { display: block; font-size: 10px; color: #67758b; margin-bottom: 12px; }
.content-page { max-width: 820px; padding-top: 55px; padding-bottom: 80px; }
.content-kicker { font-size: 9px; letter-spacing: .16em; color: #657caa; margin-bottom: 15px; }
.content-page h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.5; letter-spacing: -.04em; }
.content-page .content-lead { font-size: 15px; line-height: 2; color: #647084; margin: 20px 0 38px; }
.content-page h2 { font-size: 20px; line-height: 1.7; margin: 35px 0 12px; letter-spacing: -.02em; }
.content-page p { font-size: 14px; line-height: 2.1; margin: 12px 0; overflow-wrap: anywhere; }
.content-page p a,.operator-list a,.contact-consent a { color: #355db9; text-decoration: underline; text-underline-offset: 3px; }
.operator-list { display: grid; grid-template-columns: 100px 1fr; gap: 15px; padding: 25px; border: 1px solid #e2e5eb; background: white; border-radius: 16px; margin: 20px 0; font-size: 14px; }
.operator-list dt { color: #6c778b; }
.operator-list dd { margin: 0; overflow-wrap: anywhere; }
.content-page .content-date { color: #7b8698; font-size: 11px; margin-top: 40px; }
.content-back { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; color: #365ba4; margin-top: 12px; }
.contact-form { display: grid; gap: 23px; padding: 30px; margin-top: 28px; border: 1px solid #dfe5ef; border-radius: 20px; background: white; }
.contact-form > label { display: grid; gap: 10px; font-size: 13px; font-weight: 700; }
.contact-form input:not([type=checkbox]),.contact-form textarea,.contact-form select { width: 100%; min-width: 0; border: 1px solid #cfd9e9; border-radius: 10px; padding: 12px 14px; background: #fafbfd; color: #24334b; font-family: inherit; font-size: 16px; }
.contact-form textarea { resize: vertical; line-height: 1.8; }
.field-hint { font-size: 11px; color: #6a778b; font-weight: 400; }
.contact-form .contact-consent { display: flex; align-items: flex-start; gap: 10px; line-height: 1.8; font-weight: 400; }
.contact-consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-submit { background: #3158c6; color: white; border-radius: 12px; min-height: 52px; font-size: 14px; }
#contact-status { margin: 0; font-size: 13px; color: #35578f; }
@media(max-width:620px) {
  .content-page { padding-top: 32px; padding-bottom: 50px; }
  .content-page h2 { font-size: 18px; }
  .content-page .content-lead,.content-page p { font-size: 13px; }
  .contact-form { padding: 23px 18px; border-radius: 16px; }
  .operator-list { grid-template-columns: 70px 1fr; padding: 20px 15px; font-size: 12px; }
  .policy-links { font-size: 11px; gap: 12px 20px; }
}

@media (min-width: 1450px) {
  .quiz-home { column-gap: 65px; padding-top: 45px; }
  .quiz-intro h1 { font-size: 46px; }
}
@media (max-width: 1150px) {
  .container { width: calc(100% - 48px); }
  .quiz-home { column-gap: 30px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .quiz-panel { padding: 25px; }
  .quiz-intro h1 { font-size: 35px; }
  .quiz-lead { font-size: 12px; }
  .quiz-free-label { display: none; }
  .purpose-answer { padding: 12px; gap: 9px; min-height: 83px; }
  .quiz-answer strong { font-size: 12px; }
  .answer-note { font-size: 9px; }
  .answer-icon { width: 28px; height: 28px; border-radius: 8px; }
  .answer-icon svg { width: 18px; height: 18px; }
  .quiz-wordmark { font-size: 24px; gap: 12px; }
  .quiz-wordmark small { font-size: 9px; }
  .quiz-symbol { width: 53px; height: 59px; font-size: 32px; }
  .quiz-context { margin-top: 33px; }
}
@media (max-width: 900px) {
  .nav-shell { min-height: 0; flex-wrap: wrap; padding: 13px 0 0; gap: 11px; }
  .site-header .brand { margin-right: auto; }
  .page-tab-bar { order: 3; width: 100%; justify-content: space-between; gap: 20px; margin: 0; padding: 0; flex: none; }
  .page-tab { min-height: 43px; padding: 11px 0 14px; flex: 1; line-height: 1.4; }
  .page-tab-label { font-size: 11px; }
  .nav-shell > .button-small { min-height: 40px; padding: 11px 20px; font-size: 11px; }
  .quiz-home { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto auto auto auto; column-gap: 24px; padding-top: 26px; }
  .editorial-photo { grid-column: 2; grid-row: 1; height: 214px; min-height: 0; margin: 0 0 24px; overflow: hidden; border-radius: 8px 35px 8px 8px; align-self: center; }
  .editorial-photo > img { width: 100%; height: 214px; border-radius: 0; object-fit: cover; object-position: 58% 55%; }
  .editorial-photo::before { display: none; }
  .editorial-photo::after { display: none; }
  .photo-index,.editorial-photo figcaption { display: none; }
  .quiz-intro { grid-column: 1; grid-row: 1; padding: 8px 0 24px; margin: 0; height: auto; align-self: center; }
  .quiz-kicker { font-size: 8px; letter-spacing: .13em; margin-bottom: 14px; }
  .quiz-kicker > span { width: 5px; height: 5px; }
  .quiz-intro h1 { font-size: clamp(25px, 4vw, 34px); line-height: 1.6; letter-spacing: -.055em; color: #24334b; }
  .quiz-lead { font-size: 11px; line-height: 1.95; margin-top: 14px; }
  .editorial-signature { display: none; }
  .quiz-panel { grid-column: 1 / -1; grid-row: 2; padding: 26px; border-radius: 21px; }
  .quiz-free-label { display: inline-block; }
  .quiz-wordmark { font-size: 26px; }
  .quiz-wordmark small { font-size: 10px; }
  .quiz-panel .quiz-progress { margin-top: 19px; padding: 12px 0; }
  .quiz-panel .quiz-question-heading { margin-top: 20px; }
  .purpose-answer { min-height: 78px; padding: 15px 18px; gap: 12px; }
  .answer-icon { width: 34px; height: 34px; border-radius: 10px; }
  .answer-icon svg { width: 21px; height: 21px; }
  .quiz-answer strong { font-size: 14px; }
  .answer-note { font-size: 10px; }
  .quiz-footnote { grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 15px; margin-top: 10px; }
  .quiz-context { grid-column: 1 / -1; grid-row: 4; margin-top: 24px; gap: 20px; padding: 14px 0; }
  .quiz-context > button { margin-left: auto; }
  .editorial-guide { padding: 0 20px 30px; margin-top: 45px; gap: 20px; }
  .editorial-guide h2 { font-size: 21px; }
  .editorial-guide p { font-size: 11px; }
  .editorial-guide .quiz-buddy { width: 270px; flex-basis: 270px; }
  .quiz-examples { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 60px; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .nav-shell { padding-top: 11px; padding-bottom: 0; gap: 9px; }
  .brand { font-size: 22px; gap: 9px; }
  .brand-caption { font-size: 7px; margin-top: 7px; letter-spacing: .19em; }
  .brand .brand-mark,.brand .brand-mark .brand-symbol { width: 40px !important; height: 40px !important; }
  .nav-shell > .button-small { font-size: 10px; padding: 11px 16px; min-height: 37px; }
  .page-tab-bar { gap: 10px; }
  .page-tab { min-height: 41px; padding: 10px 0 13px; }
  .page-tab-label { font-size: 10px; }
  .quiz-home { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto auto; padding-top: 23px; }
  .quiz-intro { grid-column: 1; grid-row: 1; padding: 0 4px 20px; }
  .editorial-photo { grid-column: 1; grid-row: 2; height: 146px; margin: 0 0 22px; border-radius: 7px 35px 7px 7px; }
  .editorial-photo > img { height: 146px; object-position: center 59%; }
  .quiz-intro h1 { font-size: clamp(28px, 7.7vw, 38px); line-height: 1.55; letter-spacing: -.055em; white-space: normal; }
  .quiz-kicker { margin-bottom: 10px; font-size: 8px; gap: 8px; }
  .quiz-lead { font-size: 12px; line-height: 1.95; margin-top: 12px; }
  .quiz-panel { grid-row: 3; padding: 21px 17px 16px; border-radius: 19px; }
  .quiz-panel-top { gap: 9px; }
  .quiz-wordmark { font-size: 24px; gap: 12px; }
  .quiz-wordmark small { max-width: 170px; font-size: 9px; margin-top: 4px; line-height: 1.7; }
  .quiz-symbol { width: 49px; height: 57px; font-size: 31px; border-radius: 12px; }
  .quiz-symbol > span { font-size: 10px; }
  .quiz-free-label { font-size: 8px; padding: 6px 8px; }
  .quiz-panel .quiz-progress { margin-top: 17px; padding: 11px 0; gap: 10px; }
  .quiz-progress button { font-size: 10px; gap: 6px; }
  .quiz-progress button > span { width: 22px; height: 22px; font-size: 8px; }
  .quiz-panel .quiz-question-heading { margin-top: 17px; margin-bottom: 15px; }
  #quiz-question-count { font-size: 8px; margin-bottom: 5px; }
  #quiz-question-title { font-size: 20px; line-height: 1.6; }
  #quiz-step-hint { font-size: 9px; margin-top: 4px; }
  .quiz-answer-group { gap: 9px; }
  .purpose-answer { flex-direction: column; align-items: flex-start; min-height: 104px; padding: 12px 11px; gap: 8px; border-radius: 12px; }
  #quiz-purpose-options .answer-icon,#quiz-purpose-options .purpose-art { width: 35px; height: 35px; }
  .quiz-answer strong { font-size: 13px; letter-spacing: -.04em; line-height: 1.65; }
  .answer-note { font-size: 10px; line-height: 1.7; margin-top: 2px; }
  .choice-indicator { width: 12px; height: 12px; top: 11px; right: 10px; }
  .quiz-choice-help { font-size: 9px; gap: 5px; }
  .quiz-panel .quiz-controls { margin-top: 14px; }
  .quiz-panel .quiz-next,.quiz-panel .diagnose-button { width: 100%; font-size: 13px; min-height: 52px; border-radius: 11px; }
  .budget-answer { min-height: 153px; padding: 20px 13px; }
  .budget-answer strong { font-size: 26px; }
  .budget-answer strong.budget-undecided { font-size: 14px; }
  .answer-overline { font-size: 10px; margin-bottom: 11px; }
  .device-answer { min-height: 90px; padding: 17px 20px; column-gap: 16px; }
  .device-answer strong { font-size: 14px; }
  .device-answer .answer-note { font-size: 10px; }
  .quiz-footnote { grid-row: 4; display: block; font-size: 8px; line-height: 1.9; margin: 10px 4px 0; }
  .quiz-context { grid-row: 5; gap: 15px; margin-top: 22px; font-size: 10px; padding: 13px 0 10px; }
  .quiz-context strong { font-size: 24px; }
  .quiz-context > button { font-size: 10px; flex-basis: 100%; margin: 0; min-height: 36px; }
  .editorial-guide { display: block; margin-top: 39px; padding: 0 6px 25px; }
  .editorial-guide h2 { font-size: 23px; line-height: 1.7; margin-top: 12px; }
  .editorial-guide h2 br { display: block; }
  .editorial-guide-label { font-size: 8px; }
  .editorial-guide p { font-size: 11px; margin-top: 10px; }
  .editorial-guide .quiz-buddy { width: 290px; margin: 17px auto 0; }
  .editorial-guide .quiz-buddy .mascot-stage { min-height: 125px; height: 125px; grid-template-columns: 110px 1fr; }
  .editorial-guide .quiz-buddy .character-button { width: 110px; height: 125px; }
  .editorial-guide .quiz-buddy .bot-body.illustrated-bot,.editorial-guide .quiz-buddy svg.ink-character { width: 110px !important; height: 125px !important; }
  .editorial-guide .quiz-buddy .mascot-speech { font-size: 10px; }
  .editorial-guide .quiz-buddy .motion-toggle { font-size: 9px; }
  .quiz-examples { padding-top: 32px; padding-bottom: 45px; gap: 20px; }
  .quiz-examples-copy h2 { font-size: 24px; }
  .quiz-examples .team-preview { padding: 17px; border-radius: 15px; }
  .quiz-examples .preview-tabs button { font-size: 10px; }
}
@media (max-width: 350px) {
  .brand { font-size: 20px; }
  .brand .brand-mark,.brand .brand-mark .brand-symbol { width: 36px !important; height: 36px !important; }
  .quiz-intro { padding: 0 2px 18px; }
  .quiz-intro h1 { font-size: 26px; }
  .quiz-lead { font-size: 11px; }
  .quiz-wordmark { font-size: 22px; gap: 10px; }
  .quiz-free-label { display: none; }
  .quiz-panel { padding: 19px 13px 14px; }
  #quiz-question-title { font-size: 18px; }
  .quiz-answer strong { font-size: 12px; }
  .answer-note { font-size: 9px; }
  .editorial-guide .quiz-buddy { width: 260px; }
}
@media (prefers-reduced-motion: no-preference) {
  .editorial-photo > img { animation: photo-enter 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .quiz-intro { animation: story-enter .8s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes photo-enter { from { opacity: .5; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes story-enter { from { opacity: 0; translate: 0 9px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  #quiz-purpose-options .purpose-art { transition: none; transform: none; }
}
