:root {
  --ink: #20334a;
  --muted: #63748a;
  --line: #dce4ee;
  --paper: #ffffff;
  --wash: #f3f6fa;
  --brand: #244e78;
  --brand-dark: #183b60;
  --brand-soft: #edf3fa;
  --orange: #94672d;
  --orange-soft: #fbf5ea;
  --yellow: #c5a46b;
  --shadow: 0 8px 28px rgba(32, 51, 74, .045);
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scrollbar-gutter: stable; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.dialog-open { overflow: hidden; }
body { margin: 0; background: var(--wash); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.75; }
button, input, select, textarea { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .55; }
h1, h2, p { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #487cae; outline-offset: 3px; }
main { min-height: calc(100svh - 64px); }
.page-loading { min-height: calc(100svh - 64px); display: grid; align-content: center; justify-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.loading-mark { color: var(--brand); font-size: 24px; font-weight: 700; letter-spacing: 3px; }
.is-loading .screen { display: none !important; }

.app-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(217, 225, 222, .9); background: rgba(255, 255, 255, .97); }
.header-inner { width: min(760px, 100%); min-height: 64px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0 auto; padding: 10px 20px; }
.header-inner:has(.icon-button[hidden]) { grid-template-columns: minmax(0, 1fr) auto; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { display: grid; line-height: 1.2; }
.brand small { color: var(--muted); font-size: 11px; font-weight: 600; }
.brand strong { font-size: 15px; font-weight: 800; }
.icon-button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 24px; }
.icon-button[hidden] { display: none !important; }
.header-step { color: var(--muted); font-size: 12px; white-space: nowrap; }

.landing-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.landing-links a { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--brand-dark); font-size: 15px; font-weight: 600; text-decoration: none; }

.screen { min-height: calc(100svh - 64px); }
.screen.active { display: block; }
.landing-screen { background: linear-gradient(160deg, #eaf0f8 0%, var(--wash) 55%, #f8f6f0 100%); }
.landing-inner { width: min(720px, 100%); min-height: calc(100svh - 64px); display: flex; flex-direction: column; margin: 0 auto; padding: 54px 28px 36px; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: 13px; font-weight: 800; }
.landing-inner h1 { max-width: 650px; margin: 0; font-size: 36px; line-height: 1.48; font-weight: 750; letter-spacing: -.6px; text-wrap: pretty; }
.hero-description { max-width: 640px; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-scope { order: 2; margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; text-align: center; }
.availability-note { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--orange-soft); color: #725322; font-size: 14px; }
.value-list { display: grid; gap: 0; margin: 26px 0 0; padding: 4px 18px; list-style: none; counter-reset: value; border: 1px solid rgba(220, 228, 238, .8); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.value-list li { min-height: 66px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 12px; padding: 12px 0; font-size: 15px; font-weight: 600; line-height: 1.65; }
.value-list li + li { border-top: 1px solid #edf1f6; }
.value-list li::before { counter-increment: value; content: counter(value, decimal-leading-zero); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 700; }
.landing-cta { width: 100%; margin-top: 28px; }
.next-hint { display: none; }

.primary-button, .secondary-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 12px; font-size: 16px; font-weight: 650; line-height: 1.5; }
.primary-button { border: 1px solid var(--brand); background: var(--brand); color: #fff; }
.primary-button:hover { background: var(--brand-dark); }
.secondary-button { border: 1px solid var(--line); background: #fff; color: var(--ink); }

.wizard-shell { width: min(760px, 100%); margin: 0 auto; padding: 26px 20px 40px; }
.progress { margin-bottom: 22px; }
.progress-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.progress-meta strong { color: var(--ink); }
.progress-track { height: 5px; overflow: hidden; border-radius: 3px; background: var(--line); }
.progress-track span { width: 16.666%; height: 100%; display: block; background: var(--brand); transition: width .2s ease; }
#advisor-form { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.form-step { display: none; }
.form-step.active { display: block; }
.step-heading { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 12px; margin-bottom: 28px; }
.step-heading > span { height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; }
.step-heading h2 { margin: 0; font-size: 24px; line-height: 1.38; }
.step-heading p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.field { min-width: 0; display: grid; gap: 10px; margin: 0 0 26px; padding: 0; border: 0; }
.field label, .field legend { color: var(--ink); font-size: 15px; font-weight: 750; }
.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #cbd6e3; border-radius: 12px; background: #fff; color: var(--ink); font-size: 16px; outline: none; }
input::placeholder, textarea::placeholder { color: #758297; opacity: 1; }
textarea { min-height: 104px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(36, 78, 120, .12); }
.choice-grid, .check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choice-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-list { display: grid; gap: 9px; }
.choice, .check-choice { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); line-height: 1.6; cursor: pointer; }
.choice input, .check-choice input, .confirm-check input { width: 20px; min-height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--brand); box-shadow: none; }
.choice:has(input:checked), .check-choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.subject-area { margin-top: 4px; }
.subject-guide { margin: 0 0 14px; padding: 12px; border-left: 4px solid var(--brand); background: var(--brand-soft); }
.subject-guide p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; }
.subject-area h3 { margin: 0 0 10px; font-size: 15px; }
.subject-group + .subject-group { margin-top: 18px; }
.empty-note { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); color: var(--muted); font-size: 14px; }
.field-message { min-height: 0; margin: 4px 0 0; font-size: 13px; }
.field-message.error, .form-error { color: #a43b32; }
.field-message.warning { padding: 10px 12px; border-left: 4px solid var(--orange); background: var(--orange-soft); color: #71341e; }
.conditional-block { margin-bottom: 22px; padding: 18px; border-left: 4px solid var(--brand); background: var(--brand-soft); }
.conditional-block .field:last-child { margin-bottom: 0; }
.direction-intro { margin: 0 0 18px; padding: 14px 16px; border-left: 4px solid var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-size: 14px; }
.direction-list { display: grid; gap: 14px; margin-bottom: 28px; }
.direction-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); overflow-anchor: none; }
.direction-card.child { margin-left: 12px; border-left: 3px solid var(--yellow); background: #fafbfd; }
.direction-card-heading { display: grid; grid-template-columns: 30px minmax(0, 1fr) 44px; align-items: start; gap: 10px; }
.direction-card h3 { margin: 0; font-size: 17px; line-height: 1.45; }
.direction-card > p { margin: 9px 0 14px 40px; color: var(--muted); font-size: 14px; }
.direction-number { color: var(--brand); font-size: 12px; font-weight: 850; line-height: 24px; }
.direction-branch { display: block; margin-top: 2px; color: #735e10; font-size: 11px; font-weight: 750; }
.direction-info, .dialog-close { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--brand-dark); font-weight: 850; }
.direction-choices { min-height: 46px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-left: 40px; }
.direction-choice { min-width: 0; }
.direction-choice input { position: absolute; width: 1px; min-height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.direction-choice span { min-height: 46px; display: grid; place-items: center; padding: 8px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; }
.direction-choice input:focus-visible + span { outline: 3px solid #487cae; outline-offset: 3px; }
.direction-choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); box-shadow: inset 0 0 0 1px var(--brand); }
.direction-selected { min-height: 23px; display: block; margin: 8px 0 0 40px; color: var(--brand-dark); font-size: 13px; }
.direction-dialog { width: min(600px, calc(100% - 40px)); max-height: calc(100dvh - 64px); overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(24, 43, 68, .22); }
.direction-dialog[open] { display: flex; flex-direction: column; }
.direction-dialog::backdrop { background: rgba(24, 43, 68, .48); }
.dialog-heading { flex: 0 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.dialog-close { width: 44px; height: 44px; background: var(--wash); }
.direction-info { width: 44px; height: 44px; border-color: #ead7a9; background: #fff3d6; color: #805a1f; cursor: pointer; }
.direction-info:hover { background: #ffe8af; }
.dialog-body { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 0 24px 12px; }
.visually-hidden, .picker-value { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.picker-trigger { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border: 1px solid #cbd6e3; border-radius: 12px; background: var(--paper); color: var(--muted); text-align: left; font-size: 16px; }
.picker-trigger.has-value { color: var(--ink); }
.picker-trigger > span:last-child { color: var(--brand); font-size: 20px; line-height: 1; }
.picker-trigger:disabled { background: var(--wash); opacity: .7; }
.picker-dialog { width: min(560px, calc(100% - 32px)); }
.picker-dialog .dialog-heading { padding-bottom: 18px; border-bottom: 0; }
.picker-hint { margin: 6px 0 0; color: var(--muted); font-size: 14px; font-weight: 400; }
.picker-search { flex: 0 0 auto; padding: 0 24px 18px; }
.picker-search input { border-color: transparent; background: var(--wash); }
.picker-dialog .dialog-body { padding-bottom: 24px; }
.picker-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.picker-options.year-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.picker-option { min-width: 0; min-height: 52px; position: relative; padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 15px; text-align: center; }
.picker-option[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 650; }
.picker-check { position: absolute; top: 2px; right: 5px; color: var(--brand); font-size: 11px; visibility: hidden; }
.picker-option[aria-pressed="true"] .picker-check { visibility: visible; }
.dialog-actions { flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.confirm-dialog .dialog-heading { grid-template-columns: 1fr; }
.confirm-dialog .dialog-body { color: var(--muted); }
.dialog-heading h2 { margin: 0; font-size: 22px; }
.dialog-section { padding: 16px 0; border-bottom: 1px solid var(--line); }
.dialog-section:last-child { border-bottom: 0; }
.dialog-section h3 { margin: 0 0 8px; color: var(--brand-dark); font-size: 15px; }
.dialog-section p, .dialog-section ul { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.dialog-section ul { padding-left: 20px; }
.acceptance-grid { display: grid; gap: 14px; }
.acceptance-row { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.acceptance-row > span { font-size: 14px; font-weight: 700; }
.inline-options { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-options .choice { min-height: 44px; flex: 1 1 110px; }

.summary-groups { border-top: 1px solid var(--line); }
.summary-group { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.summary-group h3 { margin: 0; font-size: 14px; }
.summary-group ul { margin: 0; padding-left: 18px; color: var(--muted); }
.summary-group li + li { margin-top: 4px; }
.confirm-check { min-height: 54px; display: flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 750; }
.deliverable-list { border-top: 1px solid var(--line); }
.deliverable-item { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.deliverable-item span { color: var(--brand); font-weight: 850; }
.deliverable-item strong { display: block; }
.deliverable-item small { display: block; margin-top: 3px; color: var(--muted); }
.purchase-facts { margin: 24px 0 0; }
.purchase-facts div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.purchase-facts dt { color: var(--muted); }
.purchase-facts dd { margin: 0; font-weight: 800; text-align: right; }
.service-note { color: var(--muted); font-size: 13px; }
.service-note:empty { display: none; }
.test-shield { display: grid; gap: 2px; margin-top: 18px; padding: 14px; border-left: 4px solid var(--orange); background: var(--orange-soft); }
.test-shield strong { color: #71341e; }
.test-shield span { color: #7f503d; font-size: 12px; }
.form-error { min-height: 24px; margin: 16px 0 0; font-size: 13px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; padding: 20px 0 0; border-top: 1px solid var(--line); background: var(--paper); }
.form-actions button { flex: 1; }
.form-actions .secondary-button { flex: 0 0 auto; }

.status-screen { padding: 32px 20px; }
.status-inner { width: min(640px, 100%); margin: 0 auto; padding: 36px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.status-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 28px; font-weight: 850; }
.status-inner h1 { margin: 0; font-size: 32px; }
.status-inner > p:not(.eyebrow) { color: var(--muted); }
.status-details { margin: 26px 0; border-top: 1px solid var(--line); text-align: left; }
.status-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.status-row > span { flex: 0 0 38%; }
.status-row strong { min-width: 0; overflow-wrap: anywhere; text-align: right; }
.status-row span { color: var(--muted); }
.status-actions { display: grid; gap: 10px; }
.status-actions a { text-decoration: none; }
.support-panel { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); text-align: left; }
.support-panel h2 { margin: 0; font-size: 18px; }
.support-panel > p { color: var(--muted); font-size: 13px; }
.support-panel form { display: grid; gap: 12px; margin-top: 16px; }
.support-panel label { display: grid; gap: 7px; font-size: 14px; font-weight: 750; }
.support-panel textarea { min-height: 96px; }
.support-panel button { justify-self: start; }
.resource-screen { min-height: calc(100svh - 64px); }
.resource-inner { width: min(720px, 100%); margin: 0 auto; padding: 56px 24px 80px; }
.resource-inner h1 { margin: 0; font-size: 32px; }
.resource-lead { max-width: 620px; margin: 10px 0 30px; color: var(--muted); }
.resource-list { display: grid; gap: 14px; }
.resource-item { min-height: 104px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.resource-item h2 { margin: 0; font-size: 17px; }
.order-card { align-items: start; }
.order-card-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.order-card-heading h2 { font-size: 20px; overflow-wrap: anywhere; }
.order-score { margin-left: 14px; color: var(--accent); white-space: nowrap; }
.order-badge { padding: 4px 10px; border-radius: 20px; background: #edf4ef; color: #216650; font-size: 12px; }
.order-card .order-scope { color: var(--ink); font-size: 15px; margin-bottom: 10px; }
.order-number { overflow-wrap: anywhere; }
.order-detail-link { border: 0; background: none; color: #216650; padding: 10px 0; min-height: 44px; text-align: left; cursor: pointer; font: inherit; font-size: 13px; }
.order-card > .order-detail-link { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.progress-meta { flex-wrap: wrap; gap: 6px 12px; }
.resource-item p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.resource-actions { display: flex; gap: 8px; }
.resource-actions .primary-button, .resource-actions .secondary-button, .resource-item > .secondary-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; text-decoration: none; white-space: nowrap; }
.resource-pending { width: fit-content; padding: 4px 10px; border-radius: 6px; background: var(--wash); color: var(--muted); font-size: 13px; }
#my-reports-more { width: 100%; margin-top: 18px; }
.support-panel summary { min-height: 48px; padding: 12px 0; color: var(--brand-dark); font-size: 15px; font-weight: 600; cursor: pointer; }
.support-panel details > p { color: var(--muted); font-size: 14px; }
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--wash); color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.footer-identity, .footer-records { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; }
.footer-identity { gap: 4px 8px; }
.site-footer a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 24px; color: inherit; text-decoration: none; white-space: nowrap; }
.site-footer a:hover { color: var(--brand-dark); text-decoration: underline; }
.site-footer img { flex: none; object-fit: contain; }

@media (max-width: 560px) {
  .header-inner { padding: 10px 16px; gap: 6px; }
  .landing-inner { padding: 32px 22px 28px; }
  .landing-inner h1 { font-size: 28px; line-height: 1.5; }
  .hero-description { font-size: 16px; }
  .wizard-shell { padding: 20px 16px 32px; }
  #advisor-form { padding: 24px 18px; border-radius: 18px; }
  .two-columns { gap: 12px; }
  .choice-grid, .choice-grid.three, .check-grid { grid-template-columns: 1fr; }
  #subject-area .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-group { grid-template-columns: 1fr; gap: 7px; }
  .form-actions { padding-bottom: env(safe-area-inset-bottom); }
  .step-heading h2 { font-size: 21px; }
  .direction-card { padding: 16px 12px; }
  .direction-card.child { margin-left: 6px; }
  .direction-card-heading { grid-template-columns: 24px minmax(0, 1fr) 44px; gap: 8px; }
  .direction-card h3 { font-size: 16px; }
  .direction-card > p, .direction-choices, .direction-selected { margin-left: 0; }
  .direction-choices { gap: 6px; }
  .direction-choice span { font-size: 13px; }
  .direction-dialog { width: calc(100% - 16px); max-width: none; max-height: calc(100dvh - 40px); margin: auto 8px max(8px, env(safe-area-inset-bottom)); border-radius: 22px; }
  .dialog-heading { padding: 18px; }
  .dialog-heading h2 { font-size: 20px; line-height: 1.5; }
  .dialog-body { padding: 0 18px calc(12px + env(safe-area-inset-bottom)); }
  .picker-search { padding: 0 18px 16px; }
  .picker-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .picker-options.year-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-actions { padding-left: 18px; padding-right: 18px; }
  .dialog-actions button { padding-left: 10px; padding-right: 10px; font-size: 14px; }
  .status-screen { padding: 24px 16px; }
  .status-inner { padding: 28px 20px; }
  .status-inner h1 { font-size: 26px; }
  .resource-inner { padding: 32px 20px 48px; }
  .resource-inner h1 { font-size: 26px; line-height: 1.5; }
  .resource-item { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .resource-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .landing-inner { padding-left: 14px; padding-right: 14px; }
  .landing-inner h1 { font-size: 26px; }
  .wizard-shell { padding-left: 12px; padding-right: 12px; }
  #advisor-form { padding-left: 13px; padding-right: 13px; }
  .step-heading { grid-template-columns: 1fr; gap: 8px; }
  .two-columns { grid-template-columns: 1fr; }
  .step-heading > span { width: 32px; }
  .primary-button, .secondary-button { padding-left: 12px; padding-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .progress-track span { transition: none; }
}

.region-selected { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.region-selected button { border: 1px solid #25637d; border-radius: 8px; background: #e5f1f5; color: #173c50; padding: 9px 12px; cursor: pointer; }
#region-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#region-provinces-back { margin-bottom: 12px; }
#region-dialog .dialog-body { overflow-y: auto; }
#region-dialog .dialog-actions { grid-template-columns: 1fr; position: sticky; bottom: 0; background: #fff; }
