/* Local system typefaces only. No remote visual resources. */
:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #fff;
  --soft: #f3f4f4;
  --ink: #242a2e;
  --muted: #586169;
  --line: #d0d5d8;
  --strong-line: #a6b0b7;
  --accent: #254f6c;
  --accent-dark: #17394f;
  --error: #9c3027;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", Tahoma, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.65; }
body:lang(th) { line-height: 1.9; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
input, select, textarea { min-width: 0; }
input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button { opacity: .7; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
[hidden] { display: none !important; }
::selection { color: #fff; background: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
svg, img { max-width: 100%; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 650; line-height: 1.3; letter-spacing: -.015em; }
:lang(th) h1, :lang(th) h2, :lang(th) h3 { line-height: 1.55; letter-spacing: 0; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1rem; }
p { margin-bottom: 1rem; }
strong { font-weight: 650; }
small { font-size: .84em; }
ul, ol { padding-inline-start: 1.3rem; }
li + li { margin-top: .4rem; }

.shell, .header-inner, .footer-grid { width: min(1140px, calc(100% - 56px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 77px; padding-block: 13px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-copy { display: block; font-size: 1.15rem; font-weight: 650; line-height: 1.35; }
.brand-copy strong { font-weight: 650; }
.brand-tagline { display: block; margin-top: 4px; color: var(--muted); font-size: .74rem; font-weight: 400; line-height: 1.45; }
.brand-mark { width: 27px; height: 27px; flex: 0 0 27px; }
.market-switch { display: flex; align-items: center; justify-content: flex-end; gap: 11px; min-width: 0; color: var(--muted); font-size: .76rem; }
.market-switch > span { max-width: 130px; line-height: 1.5; }
.market-switch select { max-width: 280px; min-height: 44px; padding: 8px 30px 8px 10px; border: 1px solid var(--strong-line); border-radius: 3px; color: var(--ink); background: #fff; font-size: .8rem; }
.market-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px; color: var(--muted); font-size: .77rem; }
.market-switch a[aria-current] { color: var(--accent); font-weight: 650; }

.hero { display: block; padding-block: 31px 25px; }
.hero-copy { max-width: 910px; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--muted); font-size: .74rem; font-weight: 400; line-height: 1.6; }
.hero-title { max-width: 940px; margin-bottom: 13px; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.hero-title, .tool-card h2, .tool-nav a, .result-name, .result-reason, .field > span:first-child, .check-line > span, .check-line > strong { overflow-wrap: anywhere; }
.hero-lead { max-width: 850px; margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.page-meta { margin-top: 12px; margin-bottom: 0; color: var(--muted); font-size: .76rem; line-height: 1.7; }
.breadcrumbs { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.breadcrumbs > span { min-width: 0; max-width: 100%; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.badge, .pill { display: inline; color: var(--muted); font-size: .74rem; font-weight: 400; line-height: 1.6; }

.tool-nav { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0 22px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.tool-nav a { display: inline-flex; align-items: center; min-height: 47px; margin-bottom: -1px; padding: 11px 1px 12px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .82rem; font-weight: 500; line-height: 1.5; text-decoration: none; }
.tool-nav a:hover { color: var(--accent); border-bottom-color: var(--strong-line); }
.tool-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 650; }

.tool-grid { display: block; margin-block: 3px 36px; border-top: 1px solid var(--line); }
.tool-card { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.tool-copy { flex: 1; min-width: 0; }
.tool-card h2 { margin-bottom: 7px; font-size: 1.25rem; line-height: 1.4; }
.tool-card h2 a { color: var(--ink); text-decoration: none; }
.tool-card h2 a:hover { color: var(--accent); text-decoration: underline; }
.tool-card p { max-width: 750px; margin-bottom: 0; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; padding-block: 9px; font-size: .84rem; font-weight: 500; }
.tool-number { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.country-grid { display: block; max-width: 850px; margin-block: 10px 45px; border-top: 1px solid var(--line); }
.country-card { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1fr); align-items: baseline; gap: 5px 25px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.country-card:hover { color: var(--accent); }
.country-card h2 { grid-column: 1; margin: 0; font-size: 1.15rem; }
.country-card > .eyebrow { display: none; }
.country-card > p { grid-column: 2; grid-row: 1; margin: 0; color: var(--muted); font-size: .85rem; }
.country-card > strong, .country-card > span:not(.eyebrow) { grid-column: 2; color: var(--accent); font-size: .86rem; font-weight: 500; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .87fr); align-items: start; gap: 28px; margin-bottom: 35px; }
.calculator { display: grid; gap: 20px; min-width: 0; }
.app-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.panel { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }
.calculator.panel { display: block; }
.panel-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 15px; margin-bottom: 21px; }
.panel-heading h2, .panel-heading h3 { margin-bottom: 0; font-size: 1.15rem; }
.panel-heading p { flex: 1 0 100%; margin: 0; color: var(--muted); font-size: .82rem; }
.section-label { margin: 25px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .94rem; line-height: 1.55; font-weight: 650; }
.section-label:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 19px; }
.field { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; }
.fields > label.field { display: grid; grid-template-rows: 1fr auto; align-content: stretch; }
.children-fields > label.field { display: grid; grid-template-rows: 1fr auto; align-content: stretch; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > span:first-child, label.field > span:first-child { color: var(--ink); font-size: .8rem; line-height: 1.6; font-weight: 550; }
.field input, .field select, .field textarea { width: 100%; min-height: 45px; padding: 9px 10px; border: 1px solid var(--strong-line); border-radius: 3px; color: var(--ink); background: #fff; font-size: .94rem; line-height: 1.5; }
.field input, .field select, .market-switch select, .results, .error-summary { scroll-margin-block: 20px; }
.field input:hover, .field select:hover { border-color: #657c8c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.field input:disabled, .field select:disabled { color: var(--muted); background: var(--soft); cursor: not-allowed; }
.hint { display: block; color: var(--muted); font-size: .75rem; line-height: 1.7; font-weight: 400; }
.field .hint { margin: 0; }
.check-line { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-block: 9px; color: var(--ink); font-size: .81rem; line-height: 1.7; cursor: pointer; }
.check-line input[type="checkbox"], .check-line input[type="radio"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 3px 0 0; }
.check-line .hint { margin-top: 4px; }
.check-line:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.children-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 1px; }
.attraction-list { display: block; margin-top: 5px; }
.attraction-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px; align-items: start; gap: 15px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.attraction-row:first-child { padding-top: 2px; }
.attraction-row > .check-line { padding-block: 3px; }
.attraction-detail { min-width: 0; }
.attraction-detail .check-line { padding-top: 0; padding-bottom: 4px; }
.attraction-detail .check-line > strong { font-size: .84rem; line-height: 1.65; font-weight: 600; }
.attraction-detail .hint { margin-top: 2px; margin-bottom: 3px; }
.attraction-detail a { font-size: .73rem; }
.attraction-row .field { gap: 4px; }
.attraction-row .field > span { font-size: .72rem; }
.attraction-row select { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--strong-line); border-radius: 3px; color: var(--ink); background: #fff; font-size: .8rem; }
.plan-grid { display: grid; grid-template-columns: 1fr; gap: 21px; margin-top: 17px; }
.plan-card { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.plan-card legend { padding-inline: 7px; font-size: .9rem; font-weight: 650; }
.plan-card .fields { gap: 16px 14px; }
.plan-card .field > label, .plan-card .field > span:first-child { font-size: .75rem; }
.plan-card .check-line { font-size: .77rem; }
.plan-card .section-label { margin-top: 18px; padding-top: 17px; }

.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button, button.secondary, a.secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 10px 17px; border: 1px solid var(--accent); border-radius: 3px; color: #fff; background: var(--accent); font-size: .84rem; font-weight: 550; line-height: 1.5; text-align: center; text-decoration: none; }
.button:hover { border-color: var(--accent-dark); color: #fff; background: var(--accent-dark); text-decoration: none; }
.button.secondary, button.secondary, a.secondary { border-color: var(--strong-line); color: var(--ink); background: #fff; }
.button.secondary:hover, button.secondary:hover, a.secondary:hover { border-color: #6c7d88; color: var(--ink); background: var(--soft); text-decoration: none; }
.button:disabled, button.secondary:disabled { opacity: .5; cursor: not-allowed; }
.results { position: sticky; top: 20px; padding-top: 22px; border-top: 3px solid var(--accent); }
.result-empty { padding-block: 1px 4px; }
.result-empty h2 { margin-bottom: 11px; font-size: 1.2rem; font-weight: 550; line-height: 1.55; }
.result-empty p { margin-bottom: 0; color: var(--muted); font-size: .82rem; }
.result-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.result-heading h2 { margin-bottom: 0; font-size: 1rem; }
.result-amount { margin: 7px 0 10px; color: var(--ink); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 650; line-height: 1.3; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result-subtitle { margin-bottom: 0; color: var(--muted); font-size: .83rem; font-weight: 500; line-height: 1.7; }
.result-list { display: block; margin-block: 22px; border-top: 1px solid var(--line); }
.result-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.result-row > .result-heading { width: 100%; margin-bottom: 0; }
.result-name { flex: 1; min-width: 0; font-size: .82rem; line-height: 1.6; font-weight: 500; }
.result-cost { flex: 0 0 auto; color: var(--ink); font-size: .86rem; font-weight: 650; line-height: 1.5; font-variant-numeric: tabular-nums; text-align: end; white-space: nowrap; }
.result-reason { margin: 7px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.7; }
.result-row.winner { padding-left: 11px; border-left: 3px solid var(--accent); }
.result-row.winner .result-name { font-weight: 650; }
.result-verdict { margin: 7px 0 0; color: var(--accent); font-size: .74rem; line-height: 1.6; font-weight: 550; }
.result-row > .pill { display: block; margin-top: 7px; color: var(--accent); font-size: .73rem; }
progress, .result-meter { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 3px; margin-top: 10px; overflow: hidden; border: 0; color: #8d9da8; background: #e6e9eb; }
progress::-webkit-progress-bar { background: #e6e9eb; }
progress::-webkit-progress-value { background: #8d9da8; }
progress::-moz-progress-bar { background: #8d9da8; }
.winner progress { color: var(--accent); }
.winner progress::-webkit-progress-value { background: var(--accent); }
.winner progress::-moz-progress-bar { background: var(--accent); }
.person-list { margin: 12px 0 18px; padding: 0; list-style: none; }
.person-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: .78rem; }
.person-list small { display: block; margin-top: 2px; color: var(--muted); }
.person-list strong { flex: 0 0 auto; font-size: .79rem; font-variant-numeric: tabular-nums; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-block: 20px; }
.metric { padding-block: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.metric strong { display: block; margin-top: 5px; color: var(--ink); font-size: 1.1rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.results .button-row { margin-top: 20px; gap: 8px; }
.results .button, .results button.secondary { min-height: 44px; padding: 9px 12px; font-size: .76rem; }
.notice { margin-block: 17px; padding: 12px 14px; border-left: 2px solid #8a9ba7; color: #414c54; background: var(--soft); font-size: .78rem; line-height: 1.8; }
.notice p:last-child { margin-bottom: 0; }
.notice strong { display: block; margin-bottom: 4px; font-weight: 600; }
.notice .check-line { padding-block: 4px; }
.results > .notice:last-child { margin-bottom: 0; }
.error-summary { margin-bottom: 20px; padding: 12px 14px; border: 1px solid #c78e87; border-left: 3px solid var(--error); color: var(--error); background: #fff; font-size: .83rem; line-height: 1.75; }
.error-summary:focus { outline: 3px solid var(--accent); outline-offset: 3px; }
.error-summary p:last-child, .error-summary ul:last-child { margin-bottom: 0; }

.details { max-width: 940px; margin-block: 30px 35px; }
.details > h2 { margin-bottom: 12px; font-size: 1.15rem; }
.details > p { color: var(--muted); font-size: .84rem; line-height: 1.85; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { min-height: 47px; padding-block: 12px; color: var(--accent); font-size: .83rem; line-height: 1.6; font-weight: 500; cursor: pointer; }
summary::marker { font-size: .8em; }
details > p, details > ul, details > ol, details > div { margin-block: 0 16px; color: var(--muted); font-size: .78rem; line-height: 1.85; }
.source-list { display: grid; gap: 8px; padding-left: 19px; color: var(--muted); font-size: .8rem; line-height: 1.75; overflow-wrap: anywhere; }
.source-list li { padding-inline-start: 2px; }
.source-list small { display: block; margin-top: 2px; }
.site-footer { margin-top: 42px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(200px, .8fr) minmax(0, 1.2fr); gap: 50px; padding-block: 26px 31px; }
.footer-grid.shell { width: min(1140px, calc(100% - 56px)); }
.footer-grid > div > strong { display: block; margin-bottom: 9px; font-size: .9rem; }
.footer-grid h2, .footer-grid h3 { margin-bottom: 10px; font-size: .9rem; }
.footer-grid p { margin-bottom: 10px; color: var(--muted); font-size: .74rem; line-height: 1.85; }
.footer-grid p:last-child { margin-bottom: 0; }
.footer-grid a { font-size: .75rem; }
.market-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.market-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }
.footnote { color: var(--muted); font-size: .73rem; line-height: 1.8; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
a.skip-link:focus { position: absolute !important; z-index: 10; top: 10px; left: 10px; width: auto !important; height: auto !important; margin: 0 !important; padding: 12px 18px !important; overflow: visible !important; clip: auto !important; color: #fff; background: var(--accent); }

@media (max-width: 1030px) {
  .shell, .header-inner, .footer-grid, .footer-grid.shell { width: calc(100% - 44px); }
  .header-inner { gap: 18px; }
  .brand-tagline { max-width: 320px; }
  .market-switch { gap: 8px; }
  .market-switch > span { max-width: 95px; font-size: .72rem; }
  .market-switch select { max-width: 230px; font-size: .76rem; }
  .workspace { grid-template-columns: minmax(0, 1.14fr) minmax(285px, .9fr); gap: 21px; }
  .panel { padding: 21px; }
  .fields { gap: 17px 15px; }
  .plan-card { padding: 16px; }
  .tool-nav { gap: 0 17px; }
  .tool-nav a { font-size: .77rem; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 780px) {
  .header-inner { align-items: flex-start; gap: 18px; }
  .brand { max-width: 48%; }
  .brand-tagline { font-size: .7rem; }
  .market-switch { display: block; flex: 0 1 330px; max-width: 48%; }
  .market-switch > span { display: block; max-width: none; margin-bottom: 4px; }
  .market-switch select { width: 100%; max-width: none; }
  .field input, .field select, .market-switch select, .attraction-row select { font-size: 16px; }
  .hero { padding-block: 25px 23px; }
  .hero-title { font-size: 1.95rem; }
  .hero-lead { font-size: .95rem; }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .results { position: static; }
  .result-amount { font-size: 2.2rem; }
  .tool-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; margin-bottom: 24px; }
  .tool-nav a { align-items: center; min-height: 48px; font-size: 14px; }
  .tool-card { gap: 22px; padding-block: 21px; }
  .tool-card h2 { font-size: 1.15rem; }
  .tool-card p { font-size: .84rem; }
  .text-link { font-size: .8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; padding-block: 23px; }
  .footer-grid p { max-width: 670px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .shell, .header-inner, .footer-grid, .footer-grid.shell { width: calc(100% - 28px); }
  .header-inner { display: block; padding-block: 16px; }
  .brand { max-width: 100%; }
  .brand-copy { font-size: 1.1rem; }
  .brand-tagline { max-width: none; font-size: .7rem; }
  .market-switch { display: block; max-width: 100%; margin-top: 14px; }
  .market-switch > span { display: block; max-width: none; margin: 0 0 5px; font-size: .72rem; }
  .market-switch select { width: 100%; max-width: none; min-width: 0; min-height: 48px; padding-inline: 8px 28px; font-size: 16px; }
  .hero { padding-block: 24px 21px; }
  .eyebrow { font-size: .7rem; }
  .hero-title { margin-bottom: 11px; font-size: 1.7rem; line-height: 1.35; letter-spacing: -.01em; }
  :lang(th) .hero-title { line-height: 1.55; letter-spacing: 0; }
  .hero-lead { font-size: .9rem; }
  .page-meta { font-size: .71rem; }
  .tool-nav { gap: 0 15px; }
  .tool-nav a { min-height: 48px; padding-block: 10px; font-size: 14px; }
  .panel { padding: 20px 17px; }
  .panel-heading { margin-bottom: 19px; }
  .panel-heading h2 { font-size: 1.1rem; }
  .fields { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .field > label, .field > span:first-child, label.field > span:first-child { font-size: .84rem; }
  :lang(th) .field > span:first-child { line-height: 1.8; }
  .field input, .field select { min-height: 48px; padding: 10px; font-size: 16px; }
  .hint { font-size: .8rem; }
  .check-line { font-size: .84rem; }
  .section-label { margin-top: 23px; padding-top: 20px; font-size: .89rem; }
  .attraction-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 20px; }
  .attraction-detail .check-line > strong { font-size: .86rem; }
  .attraction-row > .field { width: min(100%, 190px); margin-inline-start: 0; }
  .attraction-row .field > span { font-size: .8rem; }
  .attraction-row select { min-height: 48px; padding-inline: 9px; font-size: 16px; }
  .attraction-row .check-line { gap: 8px; }
  .plan-card { padding: 16px 12px; }
  .plan-card .fields { gap: 18px; }
  .plan-card .field > span:first-child { font-size: .82rem; }
  .plan-card .check-line { font-size: .82rem; }
  .children-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .button-row { gap: 9px; }
  .button, button.secondary, a.secondary { min-height: 48px; padding: 11px 14px; font-size: .85rem; }
  .calculator .app-controls > .button-row > .button:first-child { flex: 1 0 100%; }
  .result-amount { font-size: clamp(1.8rem, 9vw, 2.2rem); }
  .result-name { font-size: .84rem; }
  .result-row > .result-heading { display: block; }
  .result-cost { display: block; margin-top: 4px; font-size: 1rem; text-align: start; white-space: normal; overflow-wrap: anywhere; }
  .result-heading { gap: 9px; }
  .notice { padding: 11px 12px; font-size: .8rem; }
  .tool-card { display: block; padding-block: 20px; }
  .tool-card h2 { font-size: 1.13rem; }
  .tool-card p { font-size: .82rem; }
  .tool-card .text-link { margin-top: 6px; }
  .country-card { grid-template-columns: minmax(100px, .6fr) minmax(0, 1fr); gap: 5px 15px; padding-block: 18px; }
  .country-card h2 { font-size: 1rem; }
  .country-card > p { font-size: .77rem; }
  .country-card > strong, .country-card > span:not(.eyebrow) { font-size: .8rem; }
  .site-footer { margin-top: 32px; }
}

@media (max-width: 350px) {
  .market-switch { display: block; }
  .market-switch > span { max-width: none; margin-bottom: 5px; }
  .market-switch select { width: 100%; }
  .result-heading { flex-wrap: wrap; }
  .result-cost { text-align: start; }
  .metric-grid { grid-template-columns: 1fr; }
  .country-card { grid-template-columns: 1fr; }
  .country-card > p, .country-card > strong, .country-card > span:not(.eyebrow) { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.verified-plans { display: block; border-top: 1px solid var(--line); margin-block: 22px; }
.verified-plan { padding-block: 18px; border-bottom: 1px solid var(--line); }
.verified-plan h3 { margin: 0 0 7px; font-size: 1rem; }
.verified-plan p { margin: 0 0 8px; }
.plan-finder { max-width: 860px; }
.plan-finder form { margin-block: 22px; padding-block: 22px; border-block: 1px solid var(--line); }
.plan-results { scroll-margin-top: 24px; overflow-wrap: anywhere; }
.plan-results:focus { outline: 2px solid var(--accent); outline-offset: 6px; }
.plan-results .text-link { min-height: 44px; display: inline-flex; align-items: center; }
.plan-finder .text-link { white-space: normal; }

@media print {
  @page { size: A4; margin: 15mm; }
  :root { --ink: #000; --muted: #333; --line: #aaa; --strong-line: #888; --accent: #000; --soft: #fff; }
  body { color: #000; background: #fff; font-size: 9pt; line-height: 1.45; }
  .shell, .header-inner, .footer-grid, .footer-grid.shell { width: 100%; }
  .header-inner { display: block; min-height: 0; padding-block: 0 9pt; }
  .brand { max-width: none; }
  .brand-copy { font-size: 12pt; }
  .brand-tagline { font-size: 7pt; }
  .market-switch, .tool-nav, .button-row, .skip-link { display: none !important; }
  .hero { padding-block: 15pt 12pt; }
  .hero-title { max-width: none; margin-bottom: 8pt; font-size: 20pt; }
  .hero-lead { max-width: none; font-size: 9pt; line-height: 1.5; }
  .page-meta { margin-top: 6pt; font-size: 7pt; }
  .eyebrow { margin-bottom: 6pt; font-size: 7pt; }
  .workspace { display: block; margin-bottom: 15pt; }
  .calculator { gap: 10pt; }
  .panel { padding: 12pt; border: 1px solid #aaa; border-radius: 0; background: #fff; }
  .calculator > .panel { margin-bottom: 10pt; }
  .panel-heading { margin-bottom: 12pt; }
  .panel-heading h2 { font-size: 12pt; }
  .fields { gap: 8pt 13pt; }
  .field > label, .field > span:first-child, label.field > span:first-child { font-size: 8pt; }
  .field input, .field select, .attraction-row select { min-height: 0; padding: 4pt; border: 1px solid #aaa; border-radius: 0; color: #000; background: #fff; font-size: 9pt; }
  .hint { font-size: 7pt; }
  .section-label { margin-top: 15pt; padding-top: 12pt; font-size: 10pt; }
  .check-line { min-height: 0; padding-block: 4pt; font-size: 8pt; }
  .check-line input[type="checkbox"] { width: 10pt; height: 10pt; flex-basis: 10pt; margin-top: 2pt; }
  .attraction-row { padding-block: 8pt; break-inside: avoid; }
  .attraction-detail .check-line > strong { font-size: 8pt; }
  .plan-card { padding: 10pt; border-radius: 0; background: #fff; break-inside: avoid; }
  .results { position: static; margin-top: 14pt; border: 1px solid #888; background: #fff; break-inside: avoid; }
  .result-amount { font-size: 25pt; }
  .result-row { padding-block: 9pt; break-inside: avoid; }
  .result-row.winner { border-left: 2px solid #333; }
  .result-name, .result-cost { font-size: 9pt; }
  .result-reason, .result-subtitle, .result-verdict { color: #333; font-size: 8pt; }
  .result-meter { display: none; }
  .metric { padding-block: 7pt; font-size: 8pt; }
  .metric strong { font-size: 11pt; }
  .notice { padding: 8pt; border: 1px solid #999; color: #222; background: #fff; font-size: 8pt; }
  .details { margin-block: 12pt; }
  .details > h2 { font-size: 11pt; }
  details > * { display: block !important; }
  summary { min-height: 0; padding-block: 10pt; font-size: 9pt; }
  summary::marker { content: ""; }
  details > p, details > ul, details > ol, details > div { margin-bottom: 10pt; color: #333; font-size: 8pt; }
  .source-list { gap: 5pt; font-size: 7.5pt; }
  .site-footer { margin-top: 15pt; }
  .footer-grid { display: block; padding-top: 12pt; }
  .footer-grid > * { margin-bottom: 9pt; }
  .footer-grid p, .footnote { color: #333; font-size: 7pt; }
  .market-links a { min-height: 0; }
  a { color: #000; text-decoration: underline; }
  .source-list a::after { content: " (" attr(href) ")"; font-size: 6.5pt; overflow-wrap: anywhere; }
  .tool-card { padding-block: 12pt; break-inside: avoid; }
  .tool-card .text-link { display: none; }
  .country-card { padding-block: 12pt; break-inside: avoid; }
}
