* { box-sizing: border-box; }
:root { --ink: #183c34; --muted: #596b65; --accent: #17624e; --line: #dce4dc; --control-line: #71887c; --soft: #edf4ec; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--ink); background: #f8faf8; }
body { margin: 0; padding-bottom: 45px; }
button, input, select { font: inherit; }
a { color: var(--accent); text-underline-offset: 3px; }
button { cursor: pointer; }
button:disabled, select:disabled { opacity: .55; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
p { line-height: 1.7; color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 650; }
h1 { letter-spacing: -.04em; }
[hidden], .js-only { display: none !important; }
.js .js-only:not([hidden]) { display: block !important; }
.js button.js-only:not([hidden]) { display: inline-flex !important; }
.js .no-js-note { display: none; }
.wrap { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.preview-notice { text-align: center; padding: 8px 15px; color: #4e503d; background: #ecebdc; font-size: 13px; line-height: 1.5; }
.preview-notice a { color: #183c34; }
.skip-link { position: absolute; left: 15px; top: -100px; background: white; padding: 12px; z-index: 5; }
.skip-link:focus { top: 35px; }
.site-header { display: flex; align-items: center; gap: 32px; min-height: 100px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 43px; background: var(--accent); color: white; font-size: 24px; border-radius: 12px 12px 12px 3px; }
.brand-subtitle { display: block; font-size: 12px; font-weight: 450; }
.site-header nav { margin-left: auto; display: flex; gap: 26px; font-size: 13px; }
.site-header nav a { color: var(--ink); text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.independent-label { font-size: 11px; color: var(--muted); }
.hero { text-align: center; padding: 25px 0 29px; }
.eyebrow { display: block; color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; line-height: 1.6; }
.hero h1 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.1; margin: 18px 0 17px; }
.hero h1 span { color: #66826c; }
.hero p { font-size: 14px; margin-bottom: 0; }
.hero .text-link { margin-top: 14px; padding-block: 12px; }
.lookup-column { max-width: 790px; margin-inline: auto; }
.lookup-panel { padding: 30px 34px 0; background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 9px 32px #1b453906; }
.lookup-panel h2 { font-size: 22px; letter-spacing: -.025em; margin: 19px 0 7px; }
.lookup-panel > p { font-size: 14px; margin-bottom: 26px; }
.address-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 24px; }
.address-fields label { min-width: 0; }
.address-fields label > span { display: block; font-size: 14px; margin-bottom: 10px; }
.address-fields select { width: 100%; min-width: 0; height: 49px; border: 1px solid var(--control-line); border-radius: 7px; background: #fcfdfb; color: var(--ink); padding: 0 12px; font-size: 16px; text-overflow: ellipsis; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 17px; font-size: 14px; font-weight: 600; border-radius: 9px; text-decoration: none; }
.primary-button { background: var(--accent); color: white; border: 1px solid var(--accent); }
.secondary-button { background: white; color: var(--accent); border: 1px solid var(--control-line); }
.lookup-actions { display: flex; gap: 20px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 23px 0; margin-top: 27px; }
.lookup-actions p { margin: 0; font-size: 14px; }
.lookup-actions strong { color: var(--ink); }
.coverage-note { font-size: 13px; background: #f4f7f1; padding: 14px 20px; line-height: 1.7; color: var(--muted); }
.lookup-panel > .coverage-note { margin-inline: -34px; border-top: 1px solid var(--line); }
[data-lookup-status], [data-search-status] { font-size: 14px; line-height: 1.7; }
[data-lookup-status]:empty, [data-search-status]:empty { display: none; }
[data-lookup-status] button, [data-search-status] button { min-height: 44px; margin-left: 10px; }
.secondary-search { border-top: 1px solid var(--line); margin-top: 28px; padding: 25px 10px 0; }
.secondary-search h2 { font-size: 16px; margin-bottom: 7px; }
.secondary-search > p { font-size: 14px; }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; padding: 7px; border: 1px solid var(--control-line); background: white; border-radius: 12px; }
.search-label { display: block; font-size: 14px; margin-bottom: 10px; }
.search-scope { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-block: 12px; }
.search-scope p { flex: 1; margin: 0; font-size: 13px; }
[data-copy-status]:empty { display: none; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.source-note a, .micro-copy a { overflow-wrap: anywhere; }
.search-form input { flex: 1 1 200px; min-width: 0; border: none; background: none; color: var(--ink); padding: 0 10px; font-size: 16px; min-height: 44px; }
.search-results { display: grid; gap: 12px; }
.search-results article, .search-results li { background: white; padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.search-results h3 { font-size: 17px; }
.search-results ul { list-style: none; padding: 0; }
.search-results button { min-height: 44px; margin-left: 12px; }
.static-browse, .faq { margin-top: 35px; }
.static-browse h2, .faq h2 { font-size: 21px; }
.static-browse > p { font-size: 14px; }
.static-browse ul { list-style: none; padding: 0; }
.static-browse a { display: block; border: 1px solid var(--line); padding: 18px; background: white; border-radius: 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-size: 14px; }
.faq p { font-size: 14px; }
.lookup-result, .postal-code-card { margin-top: 22px; padding: 28px 32px; border: 1px solid #cbdcc9; border-radius: 15px; background: #eef5eb; }
.lookup-result h2, .postal-code-card h2 { font-size: 24px; letter-spacing: -.025em; }
.lookup-result > p, .postal-code-card > p { font-size: 13px; }
.card-overline { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-bottom: 18px; }
.checked-badge { font-size: 13px; color: #335e34; border: 1px solid #bad0b7; background: #f6faf2; border-radius: 5px; padding: 4px 8px; }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 18px 0; }
.code-number { display: block; font-size: clamp(43px, 6vw, 70px); letter-spacing: .055em; font-weight: 600; font-variant-numeric: tabular-nums; user-select: all; }
.text-link { font-size: 13px; font-weight: 550; }
.micro-copy { font-size: 13px !important; color: var(--muted); }
.detail-page { max-width: 900px; padding-block: 28px; }
.detail-page h1 { font-size: clamp(29px, 4vw, 43px); margin: 12px 0 14px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; margin-bottom: 30px; line-height: 1.7; }
.local-code-strip { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; background: white; padding: 20px; border: 1px solid var(--line); border-radius: 10px; margin: 20px 0; }
.local-code-strip strong { display: block; font-size: 26px; margin-top: 7px; user-select: all; }
.location-list { list-style: none; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.location-list li + li { border-top: 1px solid var(--line); }
.location-list a { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 22px; background: white; text-decoration: none; font-size: 14px; }
.location-list a:hover { background: var(--soft); }
.location-list span { color: var(--muted); }
.ward-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.ward-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 12px; border: 1px solid var(--line); background: white; border-radius: 8px; font-size: 12px; }
.source-note { margin: 28px 0; padding: 24px; background: var(--soft); border-radius: 10px; }
.source-note h2 { font-size: 19px; }
.source-note p { font-size: 13px; }
.source-details { margin-block: 18px; }
.source-details summary { cursor: pointer; padding-block: 12px; font-size: 14px; font-weight: 600; line-height: 1.7; }
.source-details p:first-of-type { margin-top: 12px; }
.prose { line-height: 1.75; overflow-wrap: anywhere; }
.prose li { margin-block: 12px; }
.source-facts { display: grid; grid-template-columns: 180px 1fr; gap: 12px; font-size: 12px; }
.source-facts dd { margin: 0; }
.hash { overflow-wrap: anywhere; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; padding-block: 24px; }
.copy-status { position: fixed; bottom: 15px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 30px); padding: 12px 18px; color: white; background: #183c34; border-radius: 8px; font-size: 12px; margin: 0; z-index: 3; }
.copy-status:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 800px) { .independent-label { display: none; } }
@media (max-width: 600px) {
    .wrap { width: calc(100% - 36px); }
    .site-header { min-height: 82px; gap: 8px; flex-wrap: wrap; }
    .brand { font-size: 12px; }
    .brand-subtitle { font-size: 10px; }
    .brand-mark { width: 32px; height: 37px; font-size: 21px; }
    .site-header nav { width: 100%; margin-left: 0; justify-content: space-between; font-size: 13px; gap: 13px; }
    .independent-label { display: none; }
    .hero { padding: 26px 0 30px; text-align: left; }
    .hero h1 { font-size: clamp(32px, 9.5vw, 47px); }
    .hero p { font-size: 14px; }
    .lookup-panel { padding: 23px 21px 0; }
    .lookup-panel > .coverage-note { margin-inline: -21px; }
    .address-fields { grid-template-columns: 1fr; gap: 21px; }
    .lookup-actions { align-items: stretch; flex-direction: column; gap: 17px; }
    .secondary-search { padding-inline: 0; }
    .search-form { gap: 5px; }
    .search-form input { padding-inline: 5px; }
    .search-form button { padding-inline: 12px; }
    .lookup-result, .postal-code-card { padding: 23px 21px; }
    .code-row { flex-direction: column; align-items: flex-start; gap: 14px; }
    .code-number { font-size: clamp(33px, 11vw, 49px); }
    .source-facts { grid-template-columns: 1fr; gap: 6px; }
    .source-facts dt { font-weight: 600; margin-top: 9px; }
    .site-footer { flex-direction: column; gap: 10px; }
    .source-note { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
