:root {
  color-scheme: light;
  --bg: #f4f4ef;
  --surface: #fff;
  --surface-soft: #f8f8f4;
  --ink: #192b27;
  --ink-2: #53645d;
  --muted: #88948d;
  --line: #e3e8e1;
  --green: #1d654f;
  --green-strong: #124b3a;
  --green-soft: #e7f2ec;
  --yellow: #e6bb55;
  --notice: #f1eddf;
  --notice-ink: #6f5b28;
  --shadow: 0 15px 50px rgba(35, 60, 48, .065);
  --radius: 22px;
  --sans: 'Microsoft YaHei UI', 'PingFang SC', 'Noto Sans CJK SC', 'Source Han Sans SC', 'Microsoft YaHei', Inter, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Cascadia Mono', Consolas, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101a17;
  --surface: #182521;
  --surface-soft: #1d2b26;
  --ink: #e7eee8;
  --ink-2: #b5c2b8;
  --muted: #84948a;
  --line: #2c3d35;
  --green: #7bd0a4;
  --green-strong: #a0e3bc;
  --green-soft: #213d30;
  --yellow: #e6bb55;
  --notice: #332f22;
  --notice-ink: #e8d59e;
  --shadow: 0 15px 50px rgba(0, 0, 0, .19);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-bottom: 84px; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; transition: background .25s, color .25s; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #86bea0; outline-offset: 3px; }
.topbar { height: 82px; padding: 0 max(5vw, calc((100vw - 1300px)/2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--bg); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px 11px 11px 3px; background: var(--green); color: #fff; font: 800 21px/1 var(--sans); letter-spacing: -2px; }
html[data-theme="dark"] .brand-mark { color: #14221c; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font: 700 11px/1.2 var(--sans); letter-spacing: .15em; }
.brand-copy small { color: var(--muted); font: 500 9px/1.2 var(--mono); letter-spacing: .11em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.edition { display: flex; gap: 8px; align-items: center; padding-right: 15px; margin-right: 3px; border-right: 1px solid var(--line); color: var(--ink-2); font: 500 10px var(--mono); letter-spacing: .03em; }
.live-dot { width: 7px; height: 7px; border-radius: 100%; background: #66a887; box-shadow: 0 0 0 3px rgba(102,168,135,.13); }
.utility-button { height: 37px; min-width: 40px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s, border .2s; }
.utility-button:hover { border-color: var(--green); }
.language-button { font: 600 11px var(--mono); }
.theme-button { display: grid; place-items: center; width: 40px; min-width: 40px; padding: 0; }
.theme-button #theme-icon { display: grid; place-items: center; color: var(--green); }
.theme-button #theme-icon svg { display: block; width: 18px; height: 18px; }
main { max-width: 1300px; margin: 0 auto; padding: 0 38px; }
.hero { min-height: 294px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 44px; padding: 45px 0 32px; }
.hero-copy { padding: 0 0 4px 2px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--green); font: 500 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-line { width: 25px; height: 1px; background: var(--green); }
.hero h1 { max-width: 650px; margin: 17px 0 11px; font: 700 clamp(35px, 4vw, 52px)/1.16 var(--sans); letter-spacing: -.055em; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-subtitle { max-width: 560px; margin: 0; color: var(--ink-2); font-size: 14px; }
.hero-foot { display: flex; align-items: center; gap: 8px; margin-top: 23px; color: var(--muted); font-size: 11px; }
.date-icon { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid var(--line); border-radius: 50%; color: var(--green); font-size: 10px; }
.hero-art { height: 202px; position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(118deg,#dbe9df 0%,#e6e9d9 46%,#e4d8b9 100%); }
html[data-theme="dark"] .hero-art { background: linear-gradient(118deg,#263e33 0%,#304135 46%,#51472d 100%); }
.art-sun { position: absolute; width: 103px; height: 103px; border-radius: 50%; right: 18%; top: 17px; background: #efcf78; opacity: .88; }
.art-horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(180deg,rgba(34,92,69,.06),rgba(33,78,58,.24)); }
.art-tower { position: absolute; bottom: 33px; width: 33px; background: #456a55; opacity: .86; border-radius: 3px 3px 0 0; }
html[data-theme="dark"] .art-tower { background: #70957b; }
.art-tower::after { content: ''; position: absolute; inset: 10px 8px; background: repeating-linear-gradient(180deg,transparent 0 8px,rgba(241,236,204,.55) 8px 10px); }
.tower-one { left: 17%; height: 77px; width: 40px; }
.tower-two { left: 29%; height: 122px; width: 48px; background: #325e49; }
.tower-three { left: 43%; height: 85px; width: 34px; }
.tower-four { left: 53%; height: 148px; width: 47px; background: #315a45; }
.tower-four::before { content: ''; position: absolute; left: 15px; top: -21px; width: 17px; height: 22px; border-radius: 8px 8px 0 0; background: inherit; }
.tower-five { left: 66%; height: 101px; width: 41px; }
.tower-six { left: 78%; height: 61px; width: 35px; }
.art-label { position: absolute; top: 17px; left: 18px; display: grid; gap: 3px; color: #345c47; font: 500 9px/1.2 var(--mono); letter-spacing: .12em; }
html[data-theme="dark"] .art-label { color: #b2ceb6; }
.program-alert { min-height: 67px; display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; gap: 12px; padding: 11px 16px; border: 1px solid rgba(173,151,88,.19); border-radius: 14px; background: var(--notice); color: var(--notice-ink); }
.alert-symbol { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; font: 500 12px var(--mono); }
.program-alert div { display: grid; grid-template-columns: max-content 1fr; gap: 12px; align-items: baseline; }
.program-alert strong { font-size: 12px; font-weight: 700; }
.program-alert div span { font-size: 11px; opacity: .88; }
.program-alert > a { text-align: center; text-decoration: none; font-size: 16px; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.63fr) minmax(300px, .87fr); gap: 22px; align-items: start; padding: 25px 0 55px; }
.calculator-panel, .score-card, .insight-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.calculator-panel { padding: 26px 29px 21px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.panel-heading .section-kicker { margin-bottom: 7px; }
.panel-heading h2 { margin: 0; font-size: 22px; letter-spacing: -.04em; }
.panel-heading p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.visa-switch { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.visa-option { min-width: 49px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); cursor: pointer; font: 600 11px var(--mono); }
.visa-option.is-selected { background: var(--green); color: #fff; box-shadow: 0 3px 9px rgba(29,101,79,.18); }
html[data-theme="dark"] .visa-option.is-selected { color: #14221c; }
.form-section { padding: 22px 0 21px; border-bottom: 1px solid var(--line); }
.form-section-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.step-number { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; background: var(--green-soft); color: var(--green); font: 500 10px var(--mono); }
.form-section-heading h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.form-section-heading p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.section-cap, .priority-tag { margin-left: auto; color: var(--green); font: 500 9px var(--mono); letter-spacing: .07em; }
.priority-tag { padding: 5px 8px; border-radius: 20px; background: var(--green-soft); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px 14px; }
.field { display: grid; min-width: 0; gap: 7px; }
.field-label { color: var(--ink-2); font-size: 11px; font-weight: 600; }
select, input[type="search"] { width: 100%; height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); color: var(--ink); font-size: 12px; transition: border-color .18s, background .18s; }
select { cursor: pointer; }
select:focus, input[type="search"]:focus { border-color: var(--green); outline: none; }
select:disabled { cursor: not-allowed; opacity: .53; }
select option { background: var(--surface); color: var(--ink); }
.field-note { color: var(--muted); font-size: 10px; line-height: 1.5; }
.field-note a { color: var(--green); text-underline-offset: 2px; }
.field-grid .field:nth-child(3) { grid-column: 1 / -1; max-width: calc(50% - 7px); }
.checklist { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.check-row { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 9px 12px; color: var(--ink-2); font-size: 11px; cursor: pointer; }
.check-row + .check-row { border-top: 1px solid var(--line); }
.check-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.custom-check { flex: 0 0 17px; width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #bbc7be; border-radius: 5px; background: var(--surface); transition: .16s; }
.custom-check::after { content: '✓'; transform: scale(0); color: #fff; font-size: 11px; font-weight: 700; transition: transform .13s; }
.check-row input:checked + .custom-check { border-color: var(--green); background: var(--green); }
.check-row input:checked + .custom-check::after { transform: scale(1); }
.check-row input:focus-visible + .custom-check { outline: 3px solid #86bea0; outline-offset: 2px; }
.partner-status { min-height: 17px; margin: 8px 0 -1px; color: var(--muted); font-size: 10px; }
.employment-row { padding: 1px 0 12px; color: var(--ink); }
.income-field { max-width: 48%; }
.income-note { display: block; margin-top: 7px; }
.occupation-result { display: flex; align-items: flex-start; gap: 10px; min-height: 45px; margin-top: 11px; padding: 11px 12px; border-radius: 10px; background: var(--surface-soft); color: var(--ink-2); font-size: 10px; }
.occupation-result.is-priority { background: var(--green-soft); color: var(--green-strong); }
.occupation-result.is-not-found { background: var(--notice); color: var(--notice-ink); }
.result-icon { flex: 0 0 17px; font-size: 16px; line-height: 1; }
.early-childhood-row { margin-top: 9px; padding-left: 1px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 17px; }
.reset-button { display: flex; align-items: center; gap: 7px; padding: 8px 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; font-size: 11px; }
.reset-button:hover { color: var(--green); }
.reset-button > span:first-child { font-size: 17px; }
.privacy-note { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.privacy-note span:first-child { color: var(--green); font-size: 12px; }
.score-column { position: sticky; top: 18px; display: grid; gap: 15px; }
.score-card { overflow: hidden; padding: 22px; }
.score-card-top { display: flex; justify-content: space-between; align-items: center; }
.score-overline { color: var(--ink-2); font-size: 11px; font-weight: 600; }
.score-year { padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font: 500 9px var(--mono); }
.score-total-wrap { display: flex; align-items: center; gap: 18px; padding: 22px 0 18px; }
.score-ring { --ring-progress: 0%; display: grid; place-items: center; flex: 0 0 124px; width: 124px; height: 124px; border-radius: 50%; background: conic-gradient(var(--green) var(--ring-progress), var(--line) 0); transition: background .3s; }
.score-ring-inner { display: grid; align-content: center; justify-items: center; width: 102px; height: 102px; border-radius: 50%; background: var(--surface); }
.score-ring-inner strong { font: 700 34px/1 var(--sans); letter-spacing: -.06em; }
.score-ring-inner span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.score-max { display: grid; gap: 2px; color: var(--muted); font-size: 10px; }
.score-max strong { color: var(--ink); font: 600 23px/1.25 var(--mono); letter-spacing: -.04em; }
.score-max small { max-width: 95px; font-size: 9px; line-height: 1.4; }
.score-rule { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 7px 9px; border-radius: 8px; background: var(--notice); color: var(--notice-ink); font-size: 10px; }
.rule-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #bd9b43; }
.factor-heading { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 11px; }
.factor-heading h3 { margin: 0; font-size: 12px; }
.factor-heading span { color: var(--muted); font: 10px var(--mono); }
.breakdown-list { display: grid; gap: 9px; }
.breakdown-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 9px; align-items: center; }
.breakdown-name { overflow: hidden; color: var(--ink-2); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.breakdown-score { color: var(--ink); font: 500 10px var(--mono); }
.breakdown-score small { color: var(--muted); font-size: 9px; }
.bar-track { grid-column: 1 / -1; height: 4px; overflow: hidden; border-radius: 5px; background: var(--surface-soft); }
.bar-fill { height: 100%; border-radius: inherit; background: var(--green); transition: width .24s; }
.score-footnote { display: flex; gap: 8px; margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.55; }
.score-footnote > span { color: #bd9b43; }
.copy-button { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-top: 14px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer; font-size: 10px; transition: border .2s, color .2s; }
.copy-button:hover { border-color: var(--green); color: var(--green); }
.copy-button span:last-child { color: var(--green); font-size: 14px; }
.copy-feedback { min-height: 0; margin: 0; color: var(--green); text-align: center; font-size: 10px; }
.copy-feedback:not(:empty) { min-height: 16px; margin-top: 5px; }
.insight-card { display: grid; grid-template-columns: 33px 1fr; gap: 11px; padding: 16px 17px; box-shadow: none; }
.insight-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 15px; }
.insight-card .section-kicker { font-size: 8px; }
.insight-card h3 { margin: 6px 0 5px; font-size: 12px; letter-spacing: -.02em; }
.insight-card p:not(.section-kicker) { margin: 0; color: var(--ink-2); font-size: 10px; line-height: 1.55; }
.insight-card a { display: inline-flex; gap: 3px; margin-top: 9px; color: var(--green); font-size: 10px; font-weight: 600; text-decoration: none; }
.insight-card a:hover { text-decoration: underline; }
.sources-section { display: grid; grid-template-columns: 1fr minmax(380px, .95fr); gap: 50px; align-items: center; padding: 25px 0 45px; border-top: 1px solid var(--line); }
.sources-section .section-kicker { font-size: 9px; }
.sources-section h2 { margin: 9px 0 6px; font-size: 21px; letter-spacing: -.04em; }
.sources-section > div:first-child > p:last-child { max-width: 530px; margin: 0; color: var(--ink-2); font-size: 11px; }
.source-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.source-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 70px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); text-decoration: none; transition: border .2s, transform .2s; }
.source-links a:hover { transform: translateY(-2px); border-color: var(--green); }
.source-links a > span:first-child { display: grid; gap: 5px; }
.source-links small { color: var(--muted); font: 9px var(--mono); letter-spacing: .05em; }
.source-links strong { font-size: 10px; font-weight: 600; }
.source-links a > span:last-child { color: var(--green); }
.site-footer { display: flex; align-items: center; gap: 20px; min-height: 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.site-footer > span:first-child { font: 9px var(--mono); letter-spacing: .07em; }
.site-footer > span:nth-child(2) { flex: 1; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.xhs-widget { position: fixed; z-index: 20; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
.xhs-panel { position: relative; }
.xhs-toggle, .xhs-close { display: none; }
.xhs-corner-link { display: flex; align-items: center; gap: 10px; width: max-content; max-width: min(340px, calc(100vw - 36px)); padding: 10px 13px 10px 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--ink); box-shadow: 0 8px 28px rgba(25, 43, 39, .16); text-decoration: none; transition: transform .18s, border-color .18s; }
.xhs-corner-link:hover { transform: translateY(-2px); border-color: #d94e5b; }
.xhs-mark { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; overflow: hidden; border-radius: 11px; background: #d94e5b; }
.xhs-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.xhs-copy { display: grid; gap: 2px; min-width: 0; line-height: 1.35; }
.xhs-kicker { color: #c53e4b; font: 600 8px/1.2 var(--mono); letter-spacing: .05em; }
.xhs-copy strong { overflow: hidden; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.xhs-copy small { color: var(--ink-2); font-size: 9px; line-height: 1.35; }
.xhs-arrow { align-self: center; margin-left: auto; color: #c53e4b; font-size: 16px; }

@media (max-width: 900px) {
  main { padding: 0 25px; }
  .calculator-layout { grid-template-columns: minmax(0,1.3fr) minmax(270px,.8fr); gap: 15px; }
  .calculator-panel { padding: 22px 21px 18px; }
  .score-card { padding: 18px; }
  .score-ring { flex-basis: 106px; width: 106px; height: 106px; }
  .score-ring-inner { width: 88px; height: 88px; }
  .score-ring-inner strong { font-size: 29px; }
  .sources-section { gap: 25px; }
}
@media (max-width: 720px) {
  body { padding-bottom: 72px; }
  .topbar { height: 68px; padding: 0 20px; }
  .edition { display: none; }
  main { padding: 0 18px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 20px; padding: 35px 0 24px; }
  .hero h1 { max-width: 500px; font-size: clamp(34px, 8vw, 45px); }
  .hero-art { height: 150px; }
  .art-sun { width: 78px; height: 78px; right: 19%; top: 12px; }
  .art-tower { bottom: 22px; transform: scale(.82); transform-origin: bottom center; }
  .tower-one { left: 15%; }.tower-two { left: 28%; }.tower-three { left: 43%; }.tower-four { left: 53%; }.tower-five { left: 68%; }.tower-six { left: 81%; }
  .program-alert { grid-template-columns: 26px 1fr; gap: 9px; padding: 12px; }
  .program-alert div { display: grid; grid-template-columns: 1fr; gap: 3px; }
  .program-alert > a { display: none; }
  .calculator-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 17px; }
  .score-column { position: static; }
  .score-card { padding: 19px; }
  .score-total-wrap { padding: 16px 0; }
  .breakdown-list { grid-template-columns: 1fr 1fr; column-gap: 15px; }
  .insight-card { grid-template-columns: 31px 1fr; }
  .calculator-panel { padding: 20px 17px 16px; }
  .panel-heading { align-items: flex-start; }
  .panel-heading h2 { font-size: 20px; }
  .field-grid { grid-template-columns: 1fr; gap: 13px; }
  .field-grid .field:nth-child(3) { grid-column: auto; max-width: none; }
  .income-field { max-width: none; }
  .sources-section { grid-template-columns: 1fr; gap: 16px; padding: 23px 0 31px; }
  .source-links { grid-template-columns: 1fr 1fr; }
  .site-footer { flex-wrap: wrap; gap: 6px 12px; padding: 12px 0; }
  .site-footer > span:nth-child(2) { flex-basis: 100%; order: 3; }
  .site-footer a { margin-left: auto; }
  .xhs-widget { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .xhs-toggle { position: relative; display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 2px solid var(--surface); border-radius: 50%; background: var(--surface); box-shadow: 0 5px 18px rgba(25, 43, 39, .23); cursor: pointer; }
  .xhs-toggle .xhs-mark { flex: none; width: 100%; height: 100%; border-radius: 50%; }
  .xhs-toggle-badge { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid var(--surface); border-radius: 50%; background: #d94e5b; color: #fff; font: 600 13px/1 var(--sans); }
  .xhs-panel { position: absolute; right: 0; bottom: 66px; display: none; width: min(310px, calc(100vw - 24px)); padding: 15px 10px 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 8px 28px rgba(25, 43, 39, .2); transform-origin: bottom right; }
  .xhs-widget[data-expanded="true"] .xhs-panel { display: block; animation: xhs-pop-in .18s ease-out both; }
  .xhs-close { position: absolute; top: 3px; right: 5px; display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--ink-2); font-size: 17px; line-height: 1; cursor: pointer; }
  .xhs-corner-link { gap: 8px; width: 100%; max-width: none; padding: 4px 2px 2px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .xhs-corner-link:hover { transform: none; border-color: transparent; }
  .xhs-corner-link:focus-visible { border-radius: 8px; }
  .xhs-mark { flex-basis: 32px; width: 32px; height: 32px; border-radius: 9px; }
  .xhs-copy strong { font-size: 10px; }
}
@keyframes xhs-pop-in { from { opacity: 0; transform: translateY(7px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 400px) {
  .breakdown-list { grid-template-columns: 1fr; }
  .source-links { grid-template-columns: 1fr; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
