:root {
  color-scheme: light;
  --page: #f8faff;
  --surface: #ffffff;
  --surface-soft: #f2f6fc;
  --ink: #0d1b2f;
  --muted: #5b6b82;
  --accent: #1c63e9;
  --accent-strong: #1147b4;
  --accent-soft: #edf4ff;
  --accent-line: #c9dafb;
  --lime: #c9f044;
  --lime-strong: #789b00;
  --green: var(--accent);
  --green-dark: var(--accent-strong);
  --green-soft: var(--accent-soft);
  --amber-soft: #fff8e7;
  --amber: #8b5b00;
  --red-soft: #fff1ee;
  --red: #963e2e;
  --line: #dce4f0;
  --line-strong: #c6d1df;
  --focus: #0b5bd3;
  --shadow: 0 14px 34px rgba(13, 27, 47, .07);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-size: 16px; line-height: 1.5; }
button, input, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 5.3vw, 4.75rem); }
h2 { font-size: clamp(1.45rem, 2vw, 2rem); }
h3 { font-size: 1.2rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; color: white; background: var(--green-dark); border-radius: 6px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

.site-header { width: min(1240px, calc(100% - 64px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.home-header { border-bottom: 0; }
.brand { flex: 0 0 auto; display: inline-flex; text-decoration: none; }
.brand img { width: 174px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { min-height: 44px; padding: 11px 0; display: inline-flex; align-items: center; color: #34445c; font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--green-dark); }

.home-search { width: min(930px, calc(100% - 48px)); min-height: calc(100vh - 82px); margin: 0 auto; padding: clamp(40px, 7vh, 72px) 0 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.home-copy { max-width: 800px; }
.home-copy .eyebrow { margin-bottom: 18px; text-wrap: balance; }
.home-live-search { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); letter-spacing: 0; text-transform: none; }
.home-live-ball { width: 12px; height: 12px; display: inline-block; background: var(--lime); border-radius: 50%; box-shadow: inset -2px -1px 0 rgba(13, 27, 47, .14); }
.home-copy h1 { margin-bottom: 24px; text-wrap: balance; }
.home-copy .headline-tail { white-space: nowrap; }
.home-copy .headline-accent { color: var(--green); }
.home-copy .home-support { max-width: 660px; margin: 0 auto 30px; color: var(--muted); font-size: clamp(1.02rem, 1.45vw, 1.14rem); text-wrap: balance; }
.prompt-composer { width: 100%; }
.composer-row, .results-composer > div { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 7px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow); }
.composer-row:focus-within, .results-composer > div:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(28, 99, 233, .12), var(--shadow); }
.search-icon { width: 22px; height: 22px; flex: 0 0 auto; margin-left: 12px; position: relative; border: 2px solid #63707c; border-radius: 50%; }
.search-icon::after { width: 8px; height: 2px; position: absolute; right: -6px; bottom: -3px; background: #63707c; border-radius: 2px; content: ""; transform: rotate(45deg); }
.composer-row input, .results-composer input { min-width: 0; flex: 1; height: 54px; padding: 0 12px; background: transparent; border: 0; outline: 0; font-size: 1.1rem; }
.composer-row button, .results-composer button { min-width: 128px; height: 52px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 22px; color: white; background: var(--green); border: 0; border-radius: 9px; font-weight: 750; }
.composer-row button:hover, .results-composer button:hover, .button:hover { background: var(--green-dark); }
.home-conversation { width: min(760px, 100%); margin-top: 16px; padding: 14px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 28px rgba(26, 45, 36, .06); }
.home-conversation[hidden] { display: none; }
.conversation-summary { padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.conversation-summary-label { margin: 0 0 7px; color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.conversation-summary-fields { display: flex; flex-wrap: wrap; gap: 7px; }
.conversation-summary-field { min-height: 42px; padding: 6px 10px; display: inline-flex; align-items: baseline; gap: 7px; color: var(--ink); background: var(--green-soft); border: 1px solid var(--accent-line); border-radius: 8px; text-align: left; }
.conversation-summary-field:hover { border-color: var(--green); }
.conversation-summary-field:focus-visible, .conversation-quick-reply:focus-visible, .conversation-reset:focus-visible { outline: 3px solid rgba(28, 99, 233, .3); outline-offset: 2px; }
.conversation-summary-field span { color: var(--muted); font-size: .68rem; }
.conversation-summary-field strong { font-size: .78rem; }
.conversation-follow-up { padding-top: 14px; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 11px; }
.conversation-assistant-icon { width: 30px; height: 34px; padding: 4px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 9px; }
.conversation-assistant-body { min-width: 0; }
.conversation-assistant-body > p { margin: 2px 0 10px; font-size: .95rem; font-weight: 800; }
.conversation-quick-replies { display: flex; flex-wrap: wrap; gap: 8px; }
.conversation-quick-reply { min-height: 42px; padding: 8px 12px; color: var(--green-dark); background: white; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .8rem; font-weight: 750; }
.conversation-quick-reply:hover { background: var(--green-soft); border-color: var(--green); }
.conversation-reset { min-height: 40px; margin: 10px 0 -5px; padding: 6px 2px; color: var(--muted); background: transparent; border: 0; font-size: .74rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.conversation-picker { margin-top: 10px; }
.conversation-inline-picker { display: flex; align-items: end; gap: 8px; }
.conversation-inline-picker label { display: grid; gap: 5px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.conversation-inline-picker input { min-height: 44px; padding: 0 10px; color: var(--ink); background: white; border: 1px solid var(--line-strong); border-radius: 7px; font: inherit; }
.home-helper { margin: 14px 0 38px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .84rem; }
.home-message-icon { width: 15px; height: 13px; position: relative; display: inline-block; border: 1.5px solid var(--accent); border-radius: 50%; }
.home-message-icon::after { width: 5px; height: 5px; position: absolute; left: 0; bottom: -3px; background: var(--page); border-left: 1.5px solid var(--accent); content: ""; transform: rotate(28deg); }
.home-journey { width: 100%; padding: 20px 24px; background: rgba(255, 255, 255, .76); border: 1px solid var(--line); border-radius: 14px; }
.home-reassurance { max-width: 760px; margin: 18px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 16px; color: var(--muted); font-size: .75rem; }
.home-reassurance span + span::before { margin-right: 16px; color: var(--line-strong); content: "·"; }
.home-discovery { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0; }
.home-section-heading { max-width: 660px; }
.home-section-heading h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.25rem); }
.home-section-heading > p:last-child { color: var(--muted); }
.home-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; }
.home-steps li { min-width: 0; padding: 0 28px; position: relative; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; text-align: left; }
.home-steps li:first-child { padding-left: 0; }
.home-steps li:last-child { padding-right: 0; }
.home-steps li + li { border-left: 1px solid var(--line); }
.home-steps li > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--green); background: var(--accent-soft); border-radius: 50%; font-size: .75rem; font-weight: 800; }
.home-steps h3 { margin-bottom: 2px; font-size: .96rem; letter-spacing: -.015em; }
.home-steps p { margin: 0; color: var(--muted); font-size: .78rem; }
.home-discovery { width: 100%; padding-right: max(24px, calc((100% - 1120px) / 2)); padding-left: max(24px, calc((100% - 1120px) / 2)); background: #f3f7fd; border-top: 1px solid var(--line); }
.home-discovery nav ul { margin: 34px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; list-style: none; }
.home-discovery nav li { border-top: 1px solid var(--accent-line); }
.home-discovery nav a { min-height: 66px; padding: 12px 2px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none; }
.home-discovery nav a:hover strong { color: var(--green-dark); }
.home-discovery nav span { color: var(--muted); font-size: .75rem; }
.home-directory-link { min-height: 44px; margin-top: 14px; padding: 10px 4px; display: inline-flex; align-items: center; gap: 7px; color: var(--green-dark); font-size: .86rem; font-weight: 750; text-decoration: none; }
.home-directory-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-footer { min-height: 110px; padding: 22px max(32px, calc((100% - 1240px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; color: #dbe7fa; background: #0d1b2f; }
.brand-footer img { width: 126px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a:not(.brand) { color: #edf4ff; font-size: .82rem; text-decoration: none; }
.site-footer p { margin: 0; justify-self: end; color: #aebcd0; font-size: .75rem; }
.site-footer p > strong { color: #ffffff; font-size: .82rem; }
.site-footer .footer-contact { display: inline-block; margin-top: 5px; }
.site-footer .footer-contact a { color: #d8e7ff; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; color: white; background: var(--green); border: 0; border-radius: 8px; font-weight: 750; text-decoration: none; transition: background .16s ease, transform .16s ease; }
.button:active { transform: translateY(1px); }
.wide { width: 100%; }
.muted, .quiet-detail { color: var(--muted); }
.eyebrow { margin-bottom: 8px; color: var(--green-dark); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.page-heading { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 36px; }
.compact-heading { max-width: 860px; text-align: center; }
.compact-heading h1 { margin-bottom: 12px; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.compact-heading > p:last-child { color: var(--muted); }
.city-directory { width: min(1100px, calc(100% - 48px)); margin: 0 auto 34px; padding: 24px; background: var(--green-soft); border: 1px solid var(--accent-line); border-radius: 12px; }
.city-directory > div { max-width: 680px; }
.city-directory h2 { margin-bottom: 8px; }
.city-directory > div > p:last-child { margin-bottom: 20px; color: var(--muted); }
.city-directory ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; }
.city-directory a { min-height: 58px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; background: var(--surface); border: 1px solid var(--accent-line); border-radius: 8px; text-decoration: none; }
.city-directory a:hover { color: var(--green-dark); border-color: var(--green); }
.city-directory strong { font-size: .9rem; }
.city-directory span { color: var(--muted); font-size: .7rem; }
.directory-shell { width: min(1100px, calc(100% - 48px)); margin: 0 auto 80px; }
.directory-controls { padding: 18px; display: grid; grid-template-columns: 1fr 210px; gap: 8px 18px; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.directory-controls label { color: var(--muted); font-size: .8rem; font-weight: 700; }
.directory-search { display: flex; gap: 8px; }
.directory-search input, .directory-controls select { width: 100%; min-width: 0; height: 44px; padding: 0 12px; background: white; border: 1px solid var(--line-strong); border-radius: 7px; }
.results-title { margin: 26px 0 14px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.results-title h2 { margin: 0; }
.results-title p { margin: 0; color: var(--muted); font-size: .82rem; }
.results-title .results-disclaimer { margin-top: 7px; font-size: .76rem; }
.comparison-list { display: flex; flex-direction: column; gap: 12px; }
.comparison-card { min-width: 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 8px rgba(13, 27, 47, .025); }
.directory-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.directory-card h3 { margin-bottom: 6px; }
.venue-location-row { min-width: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.location-pin { width: 15px; height: 15px; flex: 0 0 auto; }
.venue-location { min-width: 0; margin: 0; color: var(--muted); font-size: .88rem; }
.map-link { margin-left: 3px; color: var(--green-dark); font-size: .75rem; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.quiet-detail { margin: 0; font-size: .82rem; }
.typical-price { margin: .35rem 0 0; font-size: .92rem; font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.secondary-action, .venue-detail-link { color: var(--green-dark); font-size: .84rem; font-weight: 750; text-decoration: none; }
.venue-detail-link { min-height: 44px; padding: .5rem .375rem; display: inline-flex; align-items: center; justify-content: center; }
.secondary-action:hover, .venue-detail-link:hover { text-decoration: underline; }
.pagination { margin-top: 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination button { width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.pagination button[aria-current="page"] { color: white; background: var(--green); border-color: var(--green); }
.empty-state { padding: 44px 28px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 10px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { margin: 0; color: var(--muted); }

.city-page, .national-courts-page { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 80px; }
.breadcrumbs { min-height: 44px; margin-bottom: 22px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .78rem; }
.breadcrumbs a { color: var(--green-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.city-hero { padding: clamp(28px, 5vw, 58px); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 16px; }
.city-hero h1 { max-width: 820px; margin-bottom: 16px; font-size: clamp(2.4rem, 5vw, 4.3rem); }
.city-hero > p:not(.eyebrow) { max-width: 760px; color: #40516a; font-size: 1.05rem; }
.city-snapshot { margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.city-snapshot > div { min-width: 0; padding: 14px; background: rgba(255,255,255,.82); border: 1px solid var(--accent-line); border-radius: 9px; }
.city-snapshot dt { color: var(--muted); font-size: .7rem; font-weight: 750; }
.city-snapshot dd { margin: 4px 0 2px; color: var(--ink); font-size: 1.2rem; font-weight: 850; }
.city-snapshot small { display: block; color: var(--muted); font-size: .65rem; line-height: 1.35; }
.city-search { max-width: 820px; margin-top: 28px; }
.city-search label { margin-bottom: 7px; display: block; color: #35404c; font-size: .8rem; font-weight: 750; }
.city-search > div { display: flex; gap: 8px; }
.city-search input { min-width: 0; min-height: 48px; flex: 1; padding: 0 13px; background: white; border: 1px solid var(--line-strong); border-radius: 8px; }
.city-search .button { flex: 0 0 auto; }
.city-shortcuts { margin-top: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: .73rem; }
.city-shortcuts > span { color: var(--muted); }
.city-shortcuts a { min-height: 36px; padding: 7px 10px; display: inline-flex; align-items: center; color: var(--green-dark); background: white; border: 1px solid var(--accent-line); border-radius: 999px; font-weight: 750; text-decoration: none; }
.city-shortcuts a:hover { border-color: var(--green); }
.city-venues { padding: 50px 0 20px; }
.city-section-heading { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.city-section-heading h2 { margin: 0; }
.city-section-heading > p { margin: 0; color: var(--muted); font-size: .8rem; }
.city-venue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.city-venue-card { min-width: 0; padding: 20px; display: flex; align-items: end; justify-content: space-between; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: none; }
.city-venue-card h3 { margin-bottom: 7px; font-size: 1.12rem; }
.city-venue-card h3 a { text-decoration: none; }
.city-venue-card h3 a:hover { color: var(--green-dark); text-decoration: underline; }
.city-distance { margin-bottom: 6px; color: var(--green-dark); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.city-venue-card .venue-place { margin-bottom: 10px; color: var(--muted); font-size: .8rem; }
.city-venue-card ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px 14px; list-style: none; color: #44515d; font-size: .74rem; }
.city-venue-card li::before { width: 4px; height: 4px; margin-right: 6px; display: inline-block; vertical-align: 2px; background: var(--green); border-radius: 50%; content: ""; }
.city-venue-card > .secondary-action { min-height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; }
.city-explainer { max-width: 780px; margin: 34px auto 0; padding: 32px 0; }
.city-explainer h2 { margin-bottom: 14px; }
.city-explainer p { color: #3f4d47; }
.national-courts-hero .city-snapshot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.national-location-directory { width: 100%; margin: 42px 0 18px; }
.city-faq { max-width: 780px; margin: 0 auto 38px; padding: 8px 0; }
.city-faq h2 { margin-bottom: 16px; }
.city-faq details { padding: 3px 0; border-bottom: 1px solid var(--line); }
.city-faq summary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .9rem; font-weight: 780; cursor: pointer; }
.city-faq summary::after { color: var(--green-dark); font-size: 1.1rem; content: "+"; }
.city-faq details[open] summary::after { content: "−"; }
.city-faq details p { margin: 0 32px 15px 0; color: #3f4d47; font-size: .82rem; }
.city-more { padding: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; }
.city-more > div { display: flex; align-content: start; flex-wrap: wrap; gap: 4px 14px; }
.city-more strong { flex-basis: 100%; margin-bottom: 2px; font-size: .76rem; }
.city-more a { min-height: 38px; display: inline-flex; align-items: center; color: var(--green-dark); font-size: .8rem; font-weight: 750; text-decoration: none; }
.city-more a span { margin-left: 5px; color: var(--muted); font-size: .68rem; font-weight: 500; }
.city-more a:hover { text-decoration: underline; }

.find-page { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 32px 0 80px; }
.results-composer { width: 100%; margin: 0 auto 18px; }
.results-composer > div { padding: 7px; border-radius: 11px; box-shadow: none; }
.results-composer input { height: 48px; }
.results-composer button { min-width: 112px; height: 46px; }
.understood-search-bar { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; background: var(--green-soft); border: 1px solid var(--accent-line); border-radius: 8px; }
.change-search-button, .quiet-button { min-height: 44px; padding: 0 14px; color: var(--green-dark); background: transparent; border: 1px solid transparent; border-radius: 7px; font-weight: 750; }
.change-search-button { flex: 0 0 auto; margin-right: 4px; }
.change-search-button:hover, .quiet-button:hover { background: white; border-color: var(--line-strong); }
.change-search-panel { width: min(760px, calc(100% - 32px)); max-height: min(720px, calc(100vh - 40px)); margin: auto; padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 24px 80px rgba(24, 43, 34, .22); }
.change-search-panel::backdrop { background: rgba(19, 34, 27, .42); }
.change-search-shell { padding: 22px; }
.change-search-shell > header { margin-bottom: 18px; }
.change-search-shell h2 { margin: 2px 0 0; font-size: 1.35rem; }
.change-search-fields { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; align-items: end; gap: 14px; }
.change-search-fields label, .time-control { min-width: 0; color: var(--muted); font-size: .76rem; font-weight: 700; }
.change-search-fields label > span, .time-control legend { margin: 0 0 6px 2px; display: block; }
.time-control { margin: 0; padding: 0; border: 0; }
.change-search-fields input, .change-search-fields select { width: 100%; min-width: 0; height: 46px; padding: 0 10px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 7px; font-family: inherit; font-size: .9rem; }
.change-search-fields [aria-invalid="true"] { background: var(--amber-soft); border-color: #c88c1b; }
.change-search-fields label.needs-input { color: var(--amber); }
.control-pair { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.search-validation { min-height: 20px; grid-column: 1 / -1; margin: 0; color: #895a00; font-size: .78rem; font-weight: 700; }
.filter-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.filter-actions .button { white-space: nowrap; }
.search-results { min-width: 0; }
.interpretation-status { min-height: 54px; margin-top: 22px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 8px; }
.understood-search-bar .interpretation-status { min-width: 0; flex: 1; margin: 0; background: transparent; border: 0; }
.interpretation-status strong { font-size: .88rem; }
.interpretation-status p { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .8rem; }
.interpretation-status.understood { background: var(--green-soft); border-color: var(--accent-line); }
.interpretation-status.needs-detail { background: var(--amber-soft); border-color: #ead298; }
.interpretation-status.error { background: var(--red-soft); border-color: #e3b5aa; }
.loading-dot { width: 9px; height: 9px; background: var(--green); border-radius: 50%; animation: pulse 1s ease-in-out infinite alternate; }
.place-choices { display: flex; flex-direction: column; gap: 8px; }
.place-choice { min-height: 44px; padding: 11px 14px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.place-choice:hover { border-color: var(--green); }
.result-sort { margin: 0 0 12px; padding: 0; display: flex; align-items: center; gap: 14px; border: 0; }
.result-sort legend { margin-right: 2px; float: left; color: var(--muted); font-size: .76rem; font-weight: 700; }
.result-sort label { min-height: 40px; padding: 8px 11px; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 700; cursor: pointer; }
.result-sort label[hidden] { display: none; }
.result-sort label:has(input:checked) { color: var(--green-dark); background: var(--green-soft); border-color: #a9c4f6; }
.result-sort input:focus-visible { outline: 3px solid rgba(28, 99, 233, .25); outline-offset: 2px; }
.search-card { min-height: 0; padding: 22px; }
.search-progress { min-height: 272px; padding: 30px 20px 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.search-progress > strong { margin-top: 20px; font-size: 1.25rem; }
.search-progress-message { margin-top: 4px; color: var(--muted); font-size: .86rem; }
.search-progress-court { width: min(330px, 82vw); height: 112px; position: relative; overflow: hidden; }
.search-progress-floor { height: 2px; position: absolute; right: 12px; bottom: 20px; left: 12px; background: var(--accent-line); transform: skewX(-18deg); transform-origin: left; }
.search-progress-service-line { width: 58%; height: 1px; position: absolute; right: 13px; bottom: 47px; background: var(--accent-line); opacity: .68; transform: rotate(-7deg); transform-origin: right; }
.search-progress-glass { width: 2px; height: 78px; position: absolute; right: 13px; bottom: 20px; background: linear-gradient(to bottom, rgba(28, 99, 233, .2), var(--accent)); box-shadow: -9px 0 0 rgba(201, 218, 251, .5); }
.search-progress-ball { width: 18px; height: 18px; position: absolute; top: 4px; left: 0; background: var(--lime); background-image: radial-gradient(circle at 35% 32%, rgba(255, 255, 255, .92) 0 1px, transparent 1.5px), radial-gradient(circle at 67% 68%, rgba(17, 71, 180, .72) 0 1px, transparent 1.5px); border: 1px solid var(--lime-strong); border-radius: 50%; box-shadow: 0 5px 11px rgba(17, 71, 180, .18); animation: search-progress-rally 1.8s cubic-bezier(.3, .05, .3, 1) infinite; }
.card-topline { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.card-topline h3 { margin-bottom: 7px; font-size: 1.27rem; }
.distance-label { flex: 0 0 auto; color: var(--green-dark); font-size: 1.08rem; }
.court-format { margin: 12px 0 0; color: #44515d; font-size: .82rem; font-weight: 700; }
.booking-panel { margin-top: 16px; }
.concise-state { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 2px 10px; color: #35404c; font-size: .84rem; }
.concise-state strong { flex-basis: 100%; color: var(--ink); }
.concise-state.has-alternative strong { color: var(--amber); }
.concise-state span { color: var(--muted); }
.recommended-booking { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(168px, auto); align-items: center; gap: 20px; background: var(--green-soft); border: 1px solid var(--accent-line); border-radius: 10px; }
.recommended-summary { min-width: 0; }
.slot-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.slot-heading > strong { font-size: clamp(1.35rem, 2.4vw, 1.8rem); letter-spacing: -.025em; }
.selected-label { padding: 3px 7px; color: var(--green-dark); background: white; border: 1px solid var(--accent-line); border-radius: 999px; font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.slot-meta { margin: 3px 0 0; color: var(--muted); font-size: .78rem; }
.display-price { margin: 8px 0 0; display: flex; align-items: baseline; gap: 7px; }
.display-price strong { color: var(--ink); font-size: 1.25rem; font-weight: 850; }
.display-price span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.primary-action { min-width: 168px; }
.booking-action { min-height: 48px; white-space: nowrap; }
.booking-precision-note { display: block; margin-top: 7px; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.nearby-alternatives { margin-top: 13px; }
.nearby-alternatives > p { margin: 0 0 7px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.alternative-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.alternative-tile { min-width: 0; min-height: 50px; padding: 6px 9px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; }
.alternative-tile:hover { color: var(--green-dark); border-color: var(--green); }
.alternative-tile strong { font-size: .93rem; }
.alternative-tile span { color: var(--muted); font-size: .68rem; line-height: 1.25; }
.secondary-booking-link { padding-left: 0; justify-content: flex-start; }
.venue-facts { margin: 14px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 19px; list-style: none; color: #44515d; font-size: .8rem; }
.venue-facts li { position: relative; }
.venue-facts li::before { width: 5px; height: 5px; margin-right: 7px; display: inline-block; vertical-align: 2px; background: var(--green); border-radius: 50%; content: ""; }
.card-price { margin: 10px 0 0; display: flex; flex-direction: column; gap: 2px; }
.card-price strong { font-size: .92rem; }
.card-price span { color: var(--muted); font-size: .72rem; }
.live-availability:empty { display: none; }
.live-availability { margin-top: 13px; padding: 11px 12px; color: #35404c; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 7px; font-size: .8rem; }
.live-availability.checking { min-height: 42px; display: flex; align-items: center; color: var(--green-dark); background: var(--green-soft); border-color: var(--accent-line); }
.live-availability.available_exact, .live-availability.available_nearby { background: var(--green-soft); border-color: var(--accent-line); }
.live-availability.no_exact_slot_confirmed { background: var(--surface-soft); }
.live-availability.no_exact_slot_observed, .live-availability.not_checked_after_cap, .live-availability.not_checked_after_systemic_provider_failure { color: #6e520f; background: var(--amber-soft); border-color: #ead298; }
.live-availability.check_failed { color: #35404c; background: var(--surface-soft); border-color: var(--line); }
.closest-available { display: block; margin-top: 4px; font-weight: 750; }
.result-summary { margin: 0 0 12px; color: var(--muted); font-size: .86rem; }
.platform-fee-note { margin: -4px 0 12px; color: var(--muted); font-size: .78rem; }
.share-results { min-height: 0; margin: -3px 0 12px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.share-button { min-height: 44px; padding: 7px 0; background: transparent; border: 0; cursor: pointer; }
.share-whatsapp { min-height: 44px; display: inline-flex; align-items: center; }
.share-fallback { flex-basis: 100%; white-space: pre-line; color: var(--muted); font-size: .76rem; }
.result-section { margin-bottom: 14px; }
.result-section-title { margin: 0 0 4px; color: var(--ink); font-size: 0.98rem; }
.result-section-summary { margin: 0 0 8px; color: var(--muted); font-size: .79rem; }
.result-section-cards { display: flex; flex-direction: column; gap: 12px; }
.wider-results { margin-top: 20px; }
.search-wider { min-width: 180px; margin: 4px auto 0; display: flex; }
.more-nearby-venues { margin-bottom: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.more-nearby-venues > h3 { margin: 0 0 10px; font-size: 1rem; }
.inconclusive-venues { margin-top: 14px; }
.inconclusive-venues > summary { min-height: 44px; padding: 11px 13px; color: var(--green-dark); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; font-size: .84rem; font-weight: 750; cursor: pointer; }
.inconclusive-venues[open] > summary { margin-bottom: 10px; }
.live-slot-list { margin: 8px 0 0; padding: 0; display: grid; gap: 6px; list-style: none; }
.live-slot { min-width: 0; padding-top: 7px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border-top: 1px solid rgba(28, 99, 233, .16); }
.live-slot > div { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.live-slot > div > strong { color: var(--ink); font-size: .93rem; }
.live-slot > div > span { color: var(--muted); font-size: .74rem; }
.live-slot > div > .price-label { flex-basis: 100%; color: var(--ink); font-size: .8rem; font-weight: 700; }
.live-slot > div > .price-note { flex-basis: 100%; font-size: .72rem; }
.slot-action { min-height: 44px; padding: 8px 4px; display: inline-flex; align-items: center; color: var(--green-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.primary-recommendation { border-color: #a9c4f6; box-shadow: 0 7px 24px rgba(28, 99, 233, .08); }
.slot-action { min-width: 112px; padding: 10px 16px; justify-content: center; color: white; background: var(--green); border-radius: 7px; text-decoration: none; }
.more-times-link { min-height: 44px; margin-top: 4px; display: inline-flex; align-items: center; color: var(--green-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.alternatives-toggle { width: 100%; min-height: 48px; padding: 10px 14px; color: var(--green-dark); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; font-weight: 750; }
.alternatives-toggle:hover { border-color: var(--green); }
.alternatives-toggle:focus-visible { outline: 3px solid rgba(28, 99, 233, .25); outline-offset: 2px; }
.alternative-recommendations { margin-top: 12px; display: grid; gap: 12px; }
.alternative-recommendations[hidden] { display: none; }
.card-action { align-self: stretch; padding-left: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; border-left: 1px solid var(--line); }
.card-action .venue-detail-link { text-align: center; }

.notification-signup { margin-top: 24px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.notification-signup[hidden], .notification-signup-form[hidden] { display: none; }
.notification-signup > header { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; }
.notification-signup h2 { margin-bottom: 7px; font-size: 1.35rem; }
.notification-signup header p:last-child { margin-bottom: 14px; color: var(--muted); font-size: .86rem; }
.notification-ball { width: 16px; height: 16px; margin-top: 3px; display: block; background: var(--lime); border: 1px solid var(--lime-strong); border-radius: 50%; box-shadow: inset -2px -1px 0 rgba(13, 27, 47, .13); }
.notification-signup > .secondary-action { margin-left: 30px; }
.notification-signup-form { max-width: 680px; margin: 18px 0 0 30px; padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid var(--line); }
.notification-signup-form > label:not(.notification-consent) { display: grid; gap: 6px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.notification-signup-form input:not([type="checkbox"]), .notification-signup-form select { width: 100%; min-height: 46px; padding: 0 11px; color: var(--ink); background: white; border: 1px solid var(--line-strong); border-radius: 8px; }
.notification-signup-form input[aria-invalid="true"], .notification-signup-form select[aria-invalid="true"] { background: var(--amber-soft); border-color: #c88c1b; }
.notification-signup-summary { grid-column: 1 / -1; padding: 12px 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 8px; }
.notification-signup-summary strong { display: block; font-size: .9rem; }
.notification-signup-summary span { display: block; margin-top: 2px; color: var(--muted); font-size: .76rem; }
.money-input { position: relative; display: block; }
.money-input > span { position: absolute; top: 12px; left: 12px; color: var(--muted); }
.money-input input { padding-left: 28px !important; }
.notification-consent { grid-column: 1 / -1; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .8rem; cursor: pointer; }
.notification-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.notification-signup-form > .button { justify-self: start; }
.notification-privacy { align-self: center; margin: 0; color: var(--muted); font-size: .72rem; }
.notification-privacy a { color: var(--accent-strong); }
.notification-signup-status { min-height: 22px; grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .8rem; font-weight: 700; }
.notification-signup-status.success { padding: 11px 12px; color: #315500; background: #f3fad9; border: 1px solid #cfdf8c; border-radius: 8px; }
.notification-signup-status.error { color: var(--red); }
.notification-confirmation { grid-column: 1 / -1; padding: 15px; display: grid; gap: 8px; background: #f3fad9; border: 1px solid var(--lime-strong); border-radius: 10px; }
.notification-confirmation[hidden] { display: none; }
.notification-confirmation p, .notification-confirmation small { margin: 0; color: var(--muted); }
.notification-confirmation .button { width: fit-content; }

.venue-profile, .prose-page { width: min(1000px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 80px; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--green-dark); font-weight: 700; text-decoration: none; }
.venue-profile > header { display: flex; justify-content: space-between; align-items: start; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.venue-profile h1 { margin-bottom: 10px; font-size: clamp(2.3rem, 4vw, 3.5rem); }
.profile-map-link { min-height: 40px; margin-top: 5px; display: inline-flex; align-items: center; }
.venue-snapshot { margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; }
.venue-snapshot > div { min-width: 0; padding: 15px 18px; border-right: 1px solid var(--line); }
.venue-snapshot > div:last-child { border-right: 0; }
.venue-snapshot dt { color: var(--muted); font-size: .72rem; }
.venue-snapshot dd { margin: 5px 0 0; font-size: .92rem; font-weight: 800; text-transform: capitalize; }
.profile-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 340px; gap: 52px; }
.profile-grid dl { margin: 0 0 28px; }
.profile-grid dl div { padding: 11px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.profile-grid dt { color: var(--muted); }
.profile-grid dd { margin: 0; text-align: right; }
.court-list { margin: 0; padding: 0; list-style: none; }
.court-list li { padding: 9px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.profile-caveat { margin-top: 18px; color: var(--muted); font-size: .78rem; }
.profile-correction { min-height: 44px; margin-top: 4px; display: inline-flex; align-items: center; color: var(--green-dark); font-size: .78rem; font-weight: 750; text-decoration: none; }
.profile-correction:hover { text-decoration: underline; }
.handoff-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.handoff-card > small { display: block; margin-top: 10px; color: var(--muted); text-align: center; }
.wide-action { min-height: 44px; margin-top: 8px; display: flex; align-items: center; justify-content: center; }
.venue-nearby { margin-top: 54px; padding-top: 32px; border-top: 1px solid var(--line); }
.venue-nearby > div:first-child { margin-bottom: 16px; }
.venue-nearby h2 { margin-bottom: 0; }
.venue-nearby-grid { margin-bottom: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.venue-nearby-grid > a { min-width: 0; min-height: 112px; padding: 15px; display: flex; flex-direction: column; color: var(--ink); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 9px; text-decoration: none; }
.venue-nearby-grid > a:hover { border-color: var(--green); }
.venue-nearby-grid strong { font-size: .9rem; }
.venue-nearby-grid span { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.venue-nearby-grid small { margin-top: auto; padding-top: 12px; color: var(--green-dark); font-size: .67rem; }
.prose-page { max-width: 720px; }
.prose-page h1 { margin-bottom: 18px; font-size: clamp(2.3rem, 4vw, 3.5rem); }
.prose-page h2 { margin-top: 36px; font-size: 1.4rem; }
.prose-page p { color: #3f4d47; }
.prose-page .lead { color: var(--ink); font-size: 1.17rem; }
.about-hero { padding: 10px 0 18px; }
.about-hero h1 { max-width: 680px; margin-bottom: 18px; }
.about-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.about-section { margin-top: 50px; }
.about-section h2 { margin-top: 0; }
.about-section h3 { margin: 22px 0 7px; font-size: 1rem; }
.about-section p { max-width: 68ch; }
.step-list { margin: 20px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.step-list li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.step-list li > span { color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .08em; }
.step-list h3 { margin: 0 0 5px; }
.step-list p { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-grid > div { padding: 18px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; }
.feature-grid h3 { margin-top: 0; }
.feature-grid p { margin: 0; }
.about-callout { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--green-soft); border: 1px solid var(--accent-line); border-radius: 12px; }
.about-callout h2 { margin-bottom: 8px; }
.about-callout .eyebrow { margin-bottom: 4px; }
.about-callout p { margin-bottom: 0; }
.contact-panel { margin-top: 50px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); gap: 28px; background: #0d1b2f; border-radius: 12px; }
.contact-panel h2, .contact-panel p { color: white; }
.contact-panel .eyebrow { color: #b9d2ff; }
.contact-links { display: grid; gap: 10px; }
.contact-links a { padding: 14px; display: flex; flex-direction: column; gap: 4px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 8px; text-decoration: none; }
.contact-links a:hover { background: rgba(255,255,255,.14); }
.contact-links strong { color: #d8e7ff; }
.contact-links span { color: #dbe7fa; font-size: .78rem; }
.faq-section h3 { margin-top: 25px; }
.about-links { margin-top: 50px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 18px; border-top: 1px solid var(--line); }
.about-links a { color: var(--green-dark); font-size: .86rem; font-weight: 700; }
.venue-profile-index { width: min(1180px, calc(100% - 48px)); margin: 36px auto 70px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.venue-profile-index summary { color: var(--green-dark); font-weight: 800; cursor: pointer; }
.venue-profile-index ul { margin: 18px 0 0; padding: 0; columns: 4 220px; list-style: none; }
.venue-profile-index li { padding: 5px 12px 5px 0; break-inside: avoid; font-size: .82rem; }
.venue-profile-index a { color: var(--green-dark); font-weight: 700; }
.venue-profile-index span { color: var(--muted); }

@keyframes pulse { to { opacity: .35; transform: scale(.8); } }
@keyframes search-progress-rally {
  0% { opacity: 0; transform: translate(22px, 2px) scale(.92); }
  5% { opacity: 1; }
  28% { transform: translate(66px, 78px) scale(1); }
  32% { transform: translate(78px, 72px) scale(.96, 1.04); }
  57% { transform: translate(270px, 17px) scale(1); }
  61% { transform: translate(279px, 27px) scale(1.04, .96); }
  78% { opacity: 1; transform: translate(174px, 5px) scale(1); }
  100% { opacity: 0; transform: translate(-26px, 70px) scale(.92); }
}

@media (max-width: 1200px) {
  .city-directory ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .change-search-fields { grid-template-columns: 1fr 1.5fr; }
}

@media (max-width: 760px) {
  .site-header, .home-header { width: calc(100% - 32px); min-height: 68px; }
  .brand img { width: 146px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: .82rem; }
  .home-search { width: calc(100% - 32px); min-height: calc(100vh - 68px); padding: 40px 0 44px; align-items: stretch; justify-content: flex-start; text-align: left; }
  .home-copy .eyebrow { margin-bottom: 14px; }
  .home-copy h1 { margin-bottom: 18px; font-size: clamp(2.65rem, 13vw, 3.5rem); }
  .home-copy .home-support { margin: 0 0 24px; font-size: .98rem; text-wrap: pretty; }
  .composer-row { padding: 6px; border-radius: 11px; }
  .search-icon { width: 19px; height: 19px; margin-left: 10px; }
  .composer-row input { height: 48px; padding: 0 7px; font-size: .95rem; }
  .composer-row button { min-width: 48px; width: 48px; height: 46px; padding: 0; }
  .composer-row button span:first-child, .results-composer button span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .home-conversation { padding: 12px; }
  .conversation-summary-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conversation-summary-field { width: 100%; min-width: 0; display: grid; gap: 1px; }
  .conversation-summary-field strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .conversation-quick-reply { min-height: 44px; }
  .conversation-inline-picker { align-items: stretch; flex-direction: column; }
  .conversation-time-picker { display: grid; grid-template-columns: 1fr 1fr; }
  .conversation-time-picker .button { grid-column: 1 / -1; }
  .home-helper { margin: 12px 0 28px; align-items: flex-start; justify-content: flex-start; font-size: .78rem; line-height: 1.35; }
  .home-message-icon { flex: 0 0 15px; margin-top: 2px; }
  .home-journey { padding: 16px 12px; }
  .home-reassurance { margin: 18px 0 0; }
  .home-discovery { width: 100%; padding: 62px 16px; }
  .home-section-heading h2 { font-size: 2.1rem; }
  .home-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-steps li, .home-steps li:first-child, .home-steps li:last-child { padding: 0 7px; display: block; text-align: center; }
  .home-steps li + li { border-left: 1px solid var(--line); }
  .home-steps li > span { width: 30px; height: 30px; margin: 0 auto 8px; }
  .home-steps h3 { font-size: .79rem; }
  .home-steps p { font-size: .68rem; }
  .home-discovery nav ul { margin-top: 26px; grid-template-columns: 1fr; }
  .site-footer { min-height: 150px; padding: 22px 16px; grid-template-columns: 1fr auto; gap: 16px; }
  .site-footer p { grid-column: 1 / -1; justify-self: start; }
  .site-footer nav { gap: 14px; }
  .brand-footer img { width: 108px; }
  .page-heading, .find-page, .venue-profile, .venue-profile-index, .prose-page, .directory-shell, .city-directory, .city-page, .national-courts-page { width: calc(100% - 32px); }
  .city-directory { padding: 18px; }
  .city-directory ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-search > div { flex-direction: column; }
  .city-search .button { width: 100%; }
  .city-snapshot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .national-courts-hero .city-snapshot { grid-template-columns: 1fr; }
  .national-location-directory { width: 100%; }
  .city-shortcuts { align-items: stretch; flex-direction: column; }
  .city-shortcuts > span { margin-bottom: 2px; }
  .city-shortcuts a { justify-content: center; }
  .city-section-heading { align-items: start; flex-direction: column; gap: 6px; }
  .city-venue-grid { grid-template-columns: 1fr; }
  .city-venue-card { align-items: start; flex-direction: column; gap: 8px; }
  .city-more { grid-template-columns: 1fr; gap: 14px; }
  .page-heading { padding: 42px 0 22px; text-align: left; }
  .directory-controls { grid-template-columns: 1fr; }
  .directory-card { grid-template-columns: minmax(0, 1fr) auto; }
  .find-page { padding-top: 18px; }
  .results-composer { margin-bottom: 14px; }
  .results-composer > div { padding: 5px; }
  .results-composer input { height: 44px; padding: 0 6px; font-size: .9rem; }
  .results-composer button { min-width: 44px; width: 44px; height: 42px; padding: 0; }
  .understood-search-bar { margin-bottom: 4px; }
  .understood-search-bar .interpretation-status { min-height: 48px; padding: 9px 10px; }
  .understood-search-bar .interpretation-status p { font-size: .74rem; }
  .change-search-button { min-height: 44px; padding: 0 10px; }
  .change-search-panel { width: 100%; max-width: none; max-height: min(88vh, 720px); margin: auto 0 0; border-width: 1px 0 0; border-radius: 14px 14px 0 0; }
  .change-search-shell { padding: 20px 16px max(20px, env(safe-area-inset-bottom)); }
  .change-search-fields { grid-template-columns: 1fr; gap: 13px; }
  .filter-actions { justify-content: space-between; }
  .filter-actions .button, .filter-actions .quiet-button { min-height: 48px; }
  .results-title { align-items: start; }
  .results-title > p { max-width: 145px; text-align: right; }
  .results-title .results-disclaimer { max-width: 255px; text-align: left; }
  .result-sort { flex-wrap: wrap; gap: 7px; }
  .result-sort legend { flex-basis: 100%; }
  .result-sort label { flex: 1 1 120px; justify-content: center; }
  .comparison-list { gap: 10px; }
  .search-card { min-height: 0; padding: 14px 12px; }
  .card-topline h3 { margin-bottom: 5px; font-size: 1.08rem; }
  .distance-label { font-size: .95rem; }
  .venue-location { font-size: .78rem; }
  .venue-facts { margin: 10px 0 9px; gap: 4px 12px; font-size: .72rem; }
  .court-format { margin-top: 8px; }
  .booking-panel { margin-top: 10px; }
  .recommended-booking { grid-template-columns: 1fr; gap: 9px; padding: 11px; }
  .slot-heading { gap: 6px; }
  .slot-heading > strong { font-size: 1.28rem; }
  .selected-label { padding: 2px 6px; font-size: .62rem; }
  .slot-meta { margin-top: 1px; }
  .display-price { margin-top: 5px; }
  .primary-action { min-width: 0; }
  .booking-action { min-height: 44px; }
  .nearby-alternatives { margin-top: 9px; }
  .nearby-alternatives > p { margin-bottom: 5px; }
  .alternative-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .alternative-tile { min-height: 48px; padding: 5px 7px; }
  .alternative-tile strong { font-size: .88rem; }
  .alternative-tile span { font-size: .64rem; }
  .notification-signup { margin-top: 18px; padding: 16px 14px; }
  .notification-signup > .secondary-action { width: 100%; margin-left: 0; justify-content: center; }
  .notification-signup-form { margin-left: 0; grid-template-columns: 1fr; }
  .notification-signup-summary, .notification-consent, .notification-signup-status, .notification-confirmation { grid-column: 1; }
  .notification-signup-form > .button { width: 100%; }
  .notification-confirmation .button { width: 100%; text-align: center; }
  .profile-grid { grid-template-columns: 1fr; gap: 28px; }
  .venue-profile > header { flex-direction: column; }
  .venue-snapshot { grid-template-columns: 1fr; }
  .venue-snapshot > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .venue-snapshot > div:last-child { border-bottom: 0; }
  .venue-nearby-grid { grid-template-columns: 1fr; }
  .venue-nearby-grid > a { min-height: 96px; }
  .about-callout, .contact-panel { grid-template-columns: 1fr; display: grid; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-actions { gap: 14px; }
}

@media (max-width: 410px) {
  .home-search { padding-top: 34px; }
  .home-copy h1 { font-size: 2.7rem; }
  .site-header nav { gap: 12px; }
  .site-header nav a:last-child { display: none; }
  .directory-search { flex-direction: column; }
  .directory-card { grid-template-columns: 1fr; gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .search-progress-ball { opacity: 1; transform: translate(158px, 36px); }
}
