:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #1e1b4b;
  background: #f8f7fc;
  font-size: 100%;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #5631ad; text-underline-offset: .2em; }
a:hover { color: #32166f; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #7651db; outline-offset: 3px; }
header, footer { background: #1e1b4b; }
header a, footer a { color: #fff; }
header a:hover, footer a:hover { color: #e7daff; }
.shell { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.topbar, .footer, .topbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.5rem; }
.topbar, .footer { padding-block: .9rem; justify-content: space-between; }
.brand { font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.skip { position: absolute; top: -6rem; background: #fff; padding: .75rem; }
.skip:focus { top: .5rem; z-index: 1; }
main { min-height: 75vh; padding-block: 1.5rem 4rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem .75rem; margin-bottom: 1.4rem; }
article, .market-link, .related { max-width: 49rem; margin-inline: auto; }
.hub-intro { max-width: 49rem; margin-block: 1.75rem 2.5rem; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3.65rem); letter-spacing: -.04em; margin: 0 0 .6rem; }
h2 { font-size: 1.52rem; margin: 0 0 .6rem; }
h3 { font-size: 1.16rem; margin: 0 0 .55rem; }
p { margin: 0 0 .8rem; }
li + li { margin-top: .35rem; }
.summary { font-size: 1.2rem; color: #474461; }
.topic { font-weight: 700; color: #5631ad; }
.byline { font-size: .95rem; color: #56516c; }
article section, .related, .guide-group { margin-top: 1.9rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; list-style: none; padding: 0; }
.cards li { margin: 0; background: #fff; border: 1px solid #ded9ec; border-radius: .8rem; padding: 1.15rem; }
.cards p { margin-bottom: 0; }
.calculator { border: 1px solid #d9ccef; border-radius: 1rem; padding: clamp(1rem, 4vw, 1.7rem); background: #fff; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .9rem 1rem; margin-block: 1rem; }
label { display: grid; align-content: end; gap: .3rem; font-weight: 650; }
input, select { width: 100%; min-height: 2.75rem; padding: .45rem .65rem; border: 1px solid #827597; border-radius: .45rem; font: inherit; color: inherit; }
.button, .market-link a { display: inline-block; background: #5631ad; border: 0; color: #fff; font: inherit; font-weight: 700; cursor: pointer; padding: .64rem 1rem; border-radius: .55rem; text-decoration: none; }
.button:hover, .market-link a:hover { background: #32166f; color: #fff; }
.button:disabled { opacity: .65; cursor: default; }
[role="status"]:not(:empty) { margin-top: 1rem; font-weight: 650; }
dl { margin-bottom: 0; padding: .8rem 1rem; border-radius: .5rem; background: #f0eafa; }
dt { font-weight: 650; }
dd { margin: 0 0 .6rem; }
dd:last-child { margin-bottom: 0; }
.market-link { margin-top: 1.6rem; }

table { width: 100%; margin-block: 1.25rem; border-collapse: collapse; overflow-wrap: anywhere; }
caption { caption-side: top; text-align: left; font-weight: 700; margin-bottom: .5rem; }
th, td { padding: .45rem; border-bottom: 1px solid #d9ccef; text-align: left; vertical-align: top; }
thead { background: #ebe3f9; }

.regional-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: .8rem; border-radius: .55rem; background: #f0eafa; }
.regional-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-block: 1.25rem; }

@media print {
  body { background: #fff; color: #000; }
  header, footer, .skip, .crumbs, .related, [data-print-checklist], [data-guide-listings] { display: none; }
  main { padding: 0; }
  article { max-width: none; }
  tr { break-inside: avoid; }
}

[data-listing-results][hidden] { display: none; }

.quote { min-width: 0; margin: 0; padding: .9rem; border: 1px solid #d9ccef; border-radius: .55rem; }
.quote legend { padding-inline: .35rem; font-weight: 750; }
.quote label + label, .quote a + label { margin-top: .65rem; }
.quote a:not([hidden]) { display: block; margin-top: .45rem; overflow-wrap: anywhere; }
