/* Court metadata routes only. Shared typography, navigation, and Home remain intact. */
body.lawnfree-light[data-page^="/courts/"] {
  & [hidden][hidden] {display:none}
  & .page-hero {padding-bottom:36px}
  & .page-hero .page-lead {max-width:790px}
  & .court-content {padding-bottom:80px}
  & .court-navigation {display:flex;flex-wrap:wrap;gap:8px;padding-bottom:24px;border-bottom:1px solid var(--line)}
  & .court-navigation a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 17px;border:1px solid transparent;border-radius:999px;background:#f5f7fa;color:var(--text);font-size:15px;font-weight:550;text-decoration:none}
  & .court-navigation a[aria-current="page"] {color:var(--brand);background:var(--tint);border-color:#cadff6}
  & .court-navigation a:hover {background:#e6eff9}
  & .court-scope-note {display:flex;align-items:flex-start;gap:12px;margin:22px 0 48px;padding:17px 20px;background:#f6f8fb;border-radius:12px;color:var(--text);font-size:14px;line-height:1.75}
  & .court-scope-note strong {font-weight:600;color:var(--ink)}
  & .court-scope-dot {width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#6994be;margin-top:9px}
  & .court-collection-warning {margin:-25px 0 34px;color:#755521;font-size:13px;line-height:1.8}
  & .court-section-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:16px 32px;margin-bottom:26px}
  & .court-section-heading .eyebrow {margin-bottom:10px}
  & .court-section-heading h2 {font-size:clamp(24px,2.6vw,31px);line-height:1.4}
  & .court-section-heading>p {max-width:340px;color:var(--muted);font-size:13px;line-height:1.65}
  & .court-directory {margin-bottom:64px}
  & .court-directory-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  & .court-card {display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;padding:24px;text-decoration:none;background:#fff;box-shadow:0 3px 14px #182b4004;min-width:0}
  & .court-card:hover {border-color:#83afd9;background:#fcfdff}
  & .court-card-heading {display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
  & .court-card-icon {display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:16px;background:#eef5fc;color:var(--brand)}
  & .court-card-icon svg {width:38px;height:38px}
  & .court-card-arrow {color:#6f8aa7;font-size:22px}
  & .court-card h3 {font-size:24px}
  & .court-card-total {color:var(--muted);font-size:14px;margin-top:8px}
  & .court-card-total strong {font-size:20px;color:var(--ink);font-weight:650;margin-inline:3px}
  & .court-card-categories {display:grid;grid-template-columns:1fr 1fr;gap:5px 16px;padding:18px 0 20px;font-size:13px;color:var(--text)}
  & .court-card-categories>span {display:flex;justify-content:space-between;gap:8px}
  & .court-card-categories b {font-weight:550;color:var(--ink)}
  & .court-card-foot {display:grid;gap:4px;border-top:1px solid #e9eef4;padding-top:16px;margin-top:auto;font-size:12px;color:var(--muted);line-height:1.7}
  & .court-board {scroll-margin-top:110px}
  & .court-filter-controls {padding:24px;border:1px solid var(--line);border-radius:16px;background:#f8fafc}
  & .court-category-filters {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
  & .court-category-filters button {min-height:44px;padding:9px 16px;font-size:14px;font-weight:550;background:#fff}
  & .court-category-filters button[aria-pressed="true"] {color:#fff;background:var(--brand);border-color:var(--brand)}
  & .court-filter-fields {display:flex;flex-wrap:wrap;gap:16px;align-items:end}
  & .court-field {display:grid;gap:7px;flex:0 1 150px;min-width:0;font-size:13px;font-weight:550;color:var(--text)}
  & .court-search {flex:1 1 260px}
  & .court-field input,& .court-field select {min-height:48px;width:100%;min-width:0;margin:0;padding:10px 13px;border:1px solid #bdcadb;border-radius:9px;background-color:#fff;color:var(--ink);font:inherit;font-size:16px}
  & .court-field select {padding-right:25px}
  & :is(.court-navigation a,.court-card,.court-field input,.court-field select,.court-category-filters button,[data-court-reset],.court-record a,.court-coverage a,.court-coverage summary):focus-visible {outline:3px solid #2f80d4;outline-offset:4px}
  & .court-results-status {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 20px;min-height:64px;margin-top:18px;font-size:14px;color:var(--ink);line-height:1.65}
  & [data-court-reset] {min-height:40px;padding:7px 12px;font-size:13px;text-decoration:underline;text-underline-offset:3px;border:0;background:transparent;color:var(--muted);flex-shrink:0}
  & .court-date-hint {font-size:12px;color:var(--muted);margin-bottom:18px}
  & .court-records {list-style:none;padding:0;border-top:2px solid #d7e1ec}
  & .court-record {position:relative;display:grid;grid-template-columns:136px minmax(0,1fr) 84px;align-items:start;gap:24px;padding:25px 8px;border-bottom:1px solid var(--line);min-width:0}
  & .court-record-kind {display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding-top:3px;font-size:12px;color:var(--muted)}
  & .court-record-kind>span:first-child {padding:3px 9px;background:#edf4fc;border-radius:6px;color:#2367ae;font-weight:550;font-size:12px}
  & .court-record-main {min-width:0}
  & .court-record h3 {font-size:18px;font-weight:600;line-height:1.65;letter-spacing:-.02em;text-wrap:initial}
  & .court-record h3 a {text-decoration:none;color:var(--ink)}
  & .court-record h3 a::after {position:absolute;inset:0;content:""}
  & .court-record h3 a:hover {color:var(--brand);text-decoration:underline;text-underline-offset:4px}
  & .court-original-arrow {display:none;font-size:16px;color:var(--muted)}
  & .court-record-meta {display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:10px;color:var(--muted);font-size:12px}
  & .court-record-meta time {font-variant-numeric:tabular-nums}
  & .court-record-source {margin-top:4px;font-size:12px;color:var(--muted)}
  & .court-record-origin {font-size:12px;color:var(--brand);padding-top:8px;white-space:nowrap}
  & .court-no-records,& .court-no-results {padding:36px 24px;background:#f8fafc;border-bottom:1px solid var(--line);text-align:center;color:var(--text);font-size:15px}
  & .court-noscript {padding-top:18px;color:var(--muted);font-size:14px}
  & .court-coverage {margin-top:62px;padding-top:34px;border-top:1px solid var(--line)}
  & .court-coverage .court-section-heading {margin-bottom:16px}
  & .court-coverage-explanation {max-width:860px;font-size:15px;color:var(--text);line-height:1.8}
  & .court-coverage-details {margin-top:22px;border:1px solid var(--line);border-radius:14px;padding:0 22px;background:#fbfcfe}
  & .court-coverage-details summary {padding:18px 0;font-size:15px;font-weight:550;cursor:pointer}
  & .court-coverage-details ul {list-style:none;padding:0 0 10px}
  & .court-coverage-details li {padding:18px 0;border-top:1px solid var(--line)}
  & .court-coverage-source {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:7px;font-size:14px;font-weight:550}
  & .court-coverage-source a {color:var(--ink);text-decoration:none}
  & .court-coverage-source a:hover {text-decoration:underline}
  & .court-coverage-tag {flex-shrink:0;font-size:11px;font-weight:500;line-height:1.5;border:1px solid #d6e2ee;border-radius:5px;padding:3px 7px;color:#557592;background:#f1f6fb}
  & .court-coverage-details li>p {font-size:12px;color:var(--muted);line-height:1.8}
  & .court-editorial-note {margin-top:22px;font-size:13px;color:var(--muted);line-height:1.9}
  & .court-editorial-note a {color:var(--brand);text-underline-offset:3px}
  @media(max-width:900px) {
    & .court-directory-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
    & .court-section-heading {align-items:flex-start;flex-direction:column;gap:10px}
    & .court-section-heading>p {max-width:none}
    & .court-record {grid-template-columns:112px minmax(0,1fr);gap:18px}
    & .court-record-origin {display:none}
    & .court-original-arrow {display:inline}
    & .court-field {flex:1 1 130px}
    & .court-search {flex-basis:100%}
  }
  @media(max-width:600px) {
    & .page-hero {padding-bottom:28px}
    & .page-hero h1 {font-size:34px}
    & .court-content {padding-bottom:54px}
    & .court-navigation {gap:6px;padding-bottom:20px}
    & .court-navigation a {font-size:13px;padding:7px 12px;min-height:42px}
    & .court-scope-note {margin:18px 0 34px;padding:15px;gap:10px;font-size:13px}
    & .court-collection-warning {margin-top:-17px}
    & .court-directory {margin-bottom:44px}
    & .court-directory-grid {grid-template-columns:1fr;gap:14px}
    & .court-card {padding:21px}
    & .court-card-heading {margin-bottom:14px}
    & .court-card h3 {font-size:23px}
    & .court-card-icon {width:48px;height:48px;border-radius:13px}
    & .court-card-categories {max-width:320px}
    & .court-card-foot {padding-top:13px}
    & .court-section-heading {margin-bottom:21px}
    & .court-filter-controls {padding:16px}
    & .court-category-filters {gap:7px;margin-bottom:20px}
    & .court-category-filters button {font-size:13px;padding:8px 11px;min-height:42px}
    & .court-filter-fields {gap:14px 10px}
    & .court-field {flex:1 1 calc(50% - 10px)}
    & .court-search {flex-basis:100%}
    & .court-filter-fields>label:nth-child(2):nth-last-child(3) {flex-basis:100%}
    & .court-results-status {margin-top:14px;gap:4px;font-size:13px;padding-block:10px}
    & .court-date-hint {font-size:11px;line-height:1.7;margin-bottom:15px}
    & .court-record {grid-template-columns:1fr;gap:10px;padding:22px 0}
    & .court-record-kind {flex-direction:row;align-items:center;gap:10px;padding:0;font-size:11px}
    & .court-record h3 {font-size:17px;line-height:1.7}
    & .court-record-meta {margin-top:10px;gap:3px 12px}
    & .court-coverage {margin-top:42px;padding-top:28px}
    & .court-coverage-details {padding-inline:16px}
    & .court-coverage-source {flex-wrap:wrap;gap:6px}
    & .court-coverage-tag {font-size:10px}
    & .court-coverage-explanation {font-size:14px}
  }
}
