/* Court AI Ready — a quiet, document-first legal reference. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --canvas: #fbfbf9;
  --ink: #242422;
  --muted: #686864;
  --faint: #8a8a84;
  --line: #deded8;
  --line-soft: #eeeeea;
  --wash: #f3f3ef;
  --focus: #4b616b;
  --radius: 3px;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
dialog:not([open]) { display: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button, input, select { border-radius: var(--radius); }
button:disabled, select:disabled { cursor: default; opacity: .45; }
input, select { color: var(--ink); }
input::placeholder { color: #777771; opacity: 1; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #000; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
button:hover { transition: background-color .13s ease; }
svg { display: inline-block; width: 18px; height: 18px; vertical-align: middle; flex-shrink: 0; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); }
h2 { font-size: 24px; font-weight: 600; letter-spacing: -.65px; line-height: 1.25; }
h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }
p { margin-bottom: 16px; }
button { border: 1px solid var(--line); background: var(--paper); padding: 8px 12px; }
button:hover { background: var(--wash); }
button:active { background: #eaeae5; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 20px; }
.skip-link:focus { top: 12px; }

/* The header has the restraint of a publication masthead. */
.site-header { min-height: 94px; display: flex; align-items: center; gap: 40px; padding: 0 36px; border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; padding: 16px 0; }
.brand-name { display: block; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.7px; white-space: nowrap; }
.brand-descriptor { display: block; margin-top: 5px; font-size: 10px; line-height: 1.3; letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted); }
.brand-mark, .brand-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 36px; border: 1px solid var(--ink); }
.brand-mark svg, .brand-icon svg { width: 21px; height: 21px; }
.header-nav { display: flex; align-self: stretch; align-items: stretch; gap: 26px; margin-left: 36px; }
.header-nav button { position: relative; border: 0; border-radius: 0; padding: 2px 0 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.header-nav button:hover { color: var(--ink); }
.header-nav button.active { color: var(--ink); }
.header-nav button.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--ink); }
.header-nav .nav-count { margin-left: 5px; color: var(--faint); font-size: 12px; }
.header-meta { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.header-meta span + span { padding-left: 12px; border-left: 1px solid var(--line); }
.header-meta .prototype-label, .prototype-label { text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }
.main-container { width: 100%; max-width: 1360px; padding: 0 36px; margin: 0 auto; }
.jurisdiction-path { display: flex; align-items: center; gap: 10px; padding-top: 31px; margin-bottom: 23px; font-size: 12px; color: var(--muted); }
.jurisdiction-path span:last-child { color: var(--ink); }
.jurisdiction-path svg { width: 12px; height: 12px; color: var(--faint); }
.jurisdiction-path a { text-decoration: none; }
.jurisdiction-path a:hover { text-decoration: underline; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; padding: 0 0 28px; }
.page-heading h1 { font-size: 38px; line-height: 1.12; font-weight: 600; letter-spacing: -1.45px; margin-bottom: 12px; }
.page-heading .intro, .intro { max-width: 740px; font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.edition-meta { flex-shrink: 0; padding-bottom: 3px; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: right; }
.edition-meta strong { display: block; font-size: 12px; font-weight: 500; color: var(--ink); }
.scope-notice { padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.65; color: var(--muted); margin-bottom: 33px; display: flex; align-items: baseline; gap: 12px; }
.scope-notice strong { color: var(--ink); font-weight: 600; }
.scope-notice p { margin: 0; }
.scope-notice a, .scope-notice button { flex-shrink: 0; margin-left: auto; font-size: 12px; }
.scope-notice button { border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* A taxonomy rail and one consistent register. */
.register-layout { display: grid; grid-template-columns: 217px minmax(0, 1fr); gap: 34px; align-items: start; }
.filter-rail { padding: 0 24px 18px 0; border-right: 1px solid var(--line); }
.rail-title { display: flex; justify-content: space-between; align-items: center; font-size: 11px; line-height: 1.4; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; margin: 3px 0 23px; }
.rail-title button, .clear-filters { border: 0; background: none; padding: 0; font-size: 11px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.rail-group, .filter-group { margin-bottom: 24px; }
.rail-group > label, .filter-group > label, .rail-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.rail-select { width: 100%; background: var(--paper); border: 1px solid var(--line); min-height: 38px; padding: 8px 27px 8px 10px; font-size: 12px; }
.rail-group h3, .filter-group h3, .filter-group legend { display: block; font-size: 12px; font-weight: 600; margin: 0 0 10px; }
.rail-tabs { display: flex; flex-direction: column; gap: 2px; margin: 0 -8px; }
.rail-tabs button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; border: 0; border-radius: 2px; background: transparent; text-align: left; padding: 8px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.rail-tabs button span:last-child { color: var(--faint); font-size: 11px; font-variant-numeric: tabular-nums; }
.rail-tabs button.active { background: #eaeae5; color: var(--ink); font-weight: 600; }
.rail-tabs button:hover { background: var(--wash); }
.rail-tabs button.active span:last-child { color: var(--ink); }
.filter-group fieldset { border: 0; margin: 0; padding: 0; }
.filter-group .checkbox-row, .rail-group .checkbox-row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 9px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.filter-group input[type='checkbox'], .rail-group input[type='checkbox'] { accent-color: #444440; width: 14px; height: 14px; margin: 2px 0 0; flex-shrink: 0; }
.rail-note { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.rail-note p { margin-bottom: 10px; }
.rail-note strong { color: var(--ink); font-weight: 500; }
.register-main { min-width: 0; }
.search-toolbar { display: flex; gap: 10px; align-items: stretch; }
.search-field { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid #b7b7b0; border-radius: var(--radius); padding: 0 13px; background: var(--paper); }
.search-field:focus-within { outline: 1px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.search-field svg { color: var(--muted); width: 17px; height: 17px; }
.search-field input { border: 0; background: transparent; min-width: 0; width: 100%; min-height: 44px; padding: 10px 0; outline: none; font-size: 13px; }
.search-field input:focus-visible { outline: none; }
.search-field button { padding: 3px; background: none; border: 0; }
.search-mode { display: flex; align-items: center; }
.search-mode select, select.search-mode { height: 100%; min-height: 44px; background: var(--paper); border: 1px solid var(--line); padding: 9px 25px 9px 11px; font-size: 12px; }
.search-mode label { font-size: 12px; margin-right: 8px; color: var(--muted); }
.export-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; background: var(--paper); padding: 10px 13px; min-height: 44px; border-color: var(--line); white-space: nowrap; font-size: 12px; }
.export-button svg { width: 15px; height: 15px; }
.search-help { color: var(--muted); font-size: 11px; margin: 8px 0 0; }
.results-meta { display: flex; align-items: center; gap: 16px; padding: 23px 0 13px; min-height: 58px; font-size: 12px; }
.result-total { color: var(--muted); }
.result-total strong { color: var(--ink); font-weight: 600; }
.sort-control { display: flex; align-items: center; gap: 7px; margin-left: auto; color: var(--muted); font-size: 11px; }
.sort-control select { background: transparent; border: 0; border-radius: 0; max-width: 175px; padding: 4px 16px 4px 0; font-size: 11px; }
.layout-controls { display: flex; gap: 1px; }
.layout-controls button { display: inline-flex; align-items: center; justify-content: center; padding: 5px; border: 0; background: none; color: var(--faint); }
.layout-controls button.active { background: var(--wash); color: var(--ink); }
.layout-controls svg { width: 15px; height: 15px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 0 15px; }
.active-filters:empty { display: none; }
.filter-chip { display: inline-flex; gap: 9px; align-items: center; padding: 5px 8px; background: var(--wash); border: 1px solid var(--line); border-radius: 2px; font-size: 11px; line-height: 1.4; }
.filter-chip button { background: none; border: 0; padding: 0; }
.filter-chip svg { width: 12px; height: 12px; }
.results-list { border-top: 1px solid #a3a39b; }
.records-table { position: relative; overflow-x: auto; }
.records-table table, table.records-table { width: 100%; min-width: 700px; border-collapse: collapse; text-align: left; }
.results-list table { width: 100%; min-width: 700px; border-collapse: collapse; text-align: left; }
.records-table th, .results-list th { padding: 12px 10px; background: transparent; font-size: 10px; text-transform: uppercase; font-weight: 500; letter-spacing: .7px; color: var(--muted); border-bottom: 1px solid var(--line); vertical-align: bottom; }
.records-table td, .results-list td { padding: 21px 10px 23px; border-bottom: 1px solid var(--line); font-size: 12px; vertical-align: top; }
.records-table th:first-child, .records-table td:first-child, .results-list th:first-child, .results-list td:first-child { padding-left: 0; }
.records-table th:last-child, .records-table td:last-child, .results-list th:last-child, .results-list td:last-child { padding-right: 0; }
.records-table th:nth-child(1) { width: 51%; }
.records-table th:nth-child(2) { width: 20%; }
.records-table th:nth-child(3) { width: 15%; }
.records-table th:nth-child(4) { width: 10%; }
.records-table th:last-child { width: 4%; }
.records-table tbody tr:hover, .results-list tbody tr:hover { background: #f7f7f3; }
.record-title { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.45; letter-spacing: -.1px; }
.record-title button, button.record-title { display: inline; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); text-align: left; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
.record-title button:hover, button.record-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.record-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; color: var(--muted); margin: 0 0 9px; font-size: 10px; line-height: 1.5; }
.record-meta .separator { color: #aaa; }
.record-summary { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 590px; }
.record-tags { display: flex; flex-wrap: wrap; gap: 5px 9px; margin-top: 11px; }
.topic-tag { color: var(--muted); background: transparent; font-size: 10px; line-height: 1.5; white-space: normal; }
.topic-tag + .topic-tag::before { content: '·'; margin-right: 9px; color: var(--faint); }
.court-name { display: block; color: var(--ink); font-size: 12px; line-height: 1.5; margin-bottom: 5px; }
.court-level { display: block; color: var(--muted); font-size: 11px; }
.record-date { font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.record-date small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); }
.status-label { display: inline-block; font-size: 10px; line-height: 1.5; padding: 2px 0; color: var(--muted); background: transparent; }
.status-label::before { content: ''; display: inline-block; width: 4px; height: 4px; border: 1px solid #73736c; border-radius: 50%; background: #73736c; vertical-align: 2px; margin-right: 6px; }
.status-label.pending::before, .status-label.under-review::before { background: transparent; }
.authority-label { display: inline-block; font-size: 10px; color: var(--muted); line-height: 1.5; }
.record-actions { display: flex; align-items: center; gap: 7px; }
.bookmark-button { display: inline-flex; align-items: center; justify-content: center; padding: 4px; border: 0; background: none; color: #91918a; }
.bookmark-button:hover { background: var(--wash); color: var(--ink); }
.bookmark-button.active, .bookmark-button[aria-pressed='true'] { color: var(--ink); }
.bookmark-button[aria-pressed='true'] svg { fill: #e0e0d9; }
.bookmark-button svg { width: 16px; height: 16px; }
.source-link { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.source-link svg { width: 12px; height: 12px; }
.inherited-note { display: block; font-size: 10px; line-height: 1.5; color: var(--muted); margin-top: 6px; font-style: italic; }
.register-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 5px; font-size: 11px; line-height: 1.65; color: var(--muted); }
.register-bottom p { margin: 0; max-width: 630px; }
.results-empty { padding: 60px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; color: var(--muted); }
.results-empty h2, .results-empty h3 { font-size: 18px; margin-bottom: 8px; }
.results-empty p { margin-bottom: 20px; }
.results-empty button { font-size: 12px; }
.record-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid #a3a39b; }
.record-tile { padding: 23px 0; border-bottom: 1px solid var(--line); }
.record-tile .record-title { font-size: 16px; }
.record-tile .tile-top, .record-tile .tile-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.record-tile .tile-top { margin-bottom: 12px; }
.record-tile .tile-bottom { margin-top: 17px; }
.mobile-filter-toggle { display: none; }
mark { color: inherit; background: #e9e7d8; padding: 0 1px; }

/* Secondary index and editorial methodology. */
.content-section { margin: 0 0 44px; }
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.section-intro h2 { margin-bottom: 8px; }
.section-intro p { max-width: 760px; color: var(--muted); margin-bottom: 0; font-size: 14px; }
.courts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.court-entry { display: flex; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 0; padding: 24px; min-height: 215px; background: var(--paper); text-align: left; }
.court-entry:hover { background: #f6f6f2; border-color: #b1b1a9; }
.court-index { font-size: 10px; color: var(--muted); letter-spacing: 1px; margin-bottom: 25px; }
.court-entry h3 { font-size: 17px; letter-spacing: -.3px; margin-bottom: 9px; font-weight: 500; }
.court-entry p { color: var(--muted); font-size: 12px; line-height: 1.6; margin-bottom: 16px; }
.court-record-count { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line-soft); }
.court-record-count svg { width: 14px; height: 14px; }
.method-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.method-section { margin-bottom: 34px; padding-top: 21px; border-top: 1px solid var(--line); }
.method-section h2 { font-size: 20px; margin-bottom: 18px; }
.method-mission { grid-column: 1 / -1; margin-bottom: 0; }
.method-mission p { max-width: 1000px; }
.method-mission .home-mission-emphasis { color: var(--brand); font-weight: 600; }
.method-section h3 { font-size: 14px; margin-bottom: 8px; }
.method-section p, .method-section li { font-size: 13px; color: var(--muted); line-height: 1.75; }
.method-section ul, .method-section ol { padding-left: 19px; margin-top: 0; margin-bottom: 20px; }
.method-section li { padding-left: 4px; margin-bottom: 9px; }
.method-section strong { color: var(--ink); font-weight: 500; }
.method-table, .source-health table { width: 100%; border-collapse: collapse; font-size: 12px; }
.method-table th, .source-health th { padding: 11px 12px 11px 0; border-bottom: 1px solid #aaa; text-align: left; color: var(--muted); font-weight: 500; font-size: 10px; letter-spacing: .6px; text-transform: uppercase; }
.method-table td, .source-health td { padding: 14px 12px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.65; }
.method-table td:first-child { color: var(--ink); width: 30%; }
.source-health { overflow-x: auto; margin-top: 24px; }
.source-health table { min-width: 700px; }
.source-health td:first-child { color: var(--ink); }
.source-health a { color: var(--ink); }
.site-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 23px 0 27px; margin-top: 48px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.site-footer strong { color: var(--ink); font-weight: 500; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Record reader: the source, dates and authority stay close to the text. */
.record-dialog { width: min(1080px, calc(100vw - 56px)); max-width: 1080px; max-height: calc(100dvh - 64px); padding: 0; border: 1px solid #c9c9c0; border-radius: 3px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 80px #0002; overflow: auto; }
.record-dialog::backdrop { background: #24242266; backdrop-filter: blur(2px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 31px; border-bottom: 1px solid var(--line-soft); }
.record-path { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.record-path svg { width: 11px; height: 11px; }
.dialog-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: transparent; border: 0; padding: 7px; margin-right: -7px; }
.dialog-close:hover { background: var(--wash); }
.dialog-close svg { width: 18px; height: 18px; }
.detail-heading { padding: 30px 32px 23px; }
.detail-heading .record-meta { margin-bottom: 13px; font-size: 11px; }
.detail-heading h2 { font-size: 28px; line-height: 1.26; font-weight: 600; letter-spacing: -.8px; max-width: 920px; margin: 0 0 13px; }
.detail-heading .detail-citation, .detail-citation { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.detail-actions a, .detail-actions button { display: inline-flex; align-items: center; gap: 7px; min-height: 35px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; text-decoration: none; background: var(--paper); }
.detail-actions a:first-child { color: white; border-color: var(--ink); background: var(--ink); }
.detail-actions a:first-child:hover { background: #444440; }
.detail-actions a:hover, .detail-actions button:hover { background: var(--wash); }
.detail-actions svg { width: 13px; height: 13px; }
.detail-tabs { display: flex; align-items: stretch; gap: 25px; padding: 0 32px; border-bottom: 1px solid var(--line); }
.detail-tabs button { position: relative; padding: 13px 0; border: 0; background: transparent; border-radius: 0; color: var(--muted); font-size: 12px; }
.detail-tabs button.selected, .detail-tabs button[aria-selected='true'] { color: var(--ink); }
.detail-tabs button.selected::after, .detail-tabs button[aria-selected='true']::after { content: ''; position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; background: var(--ink); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 36px; padding: 28px 32px 35px; }
.detail-main { min-width: 0; }
.detail-main h3 { margin: 25px 0 11px; font-size: 15px; }
.detail-main h3:first-child { margin-top: 0; }
.detail-main p, .detail-main li { font-size: 13px; line-height: 1.8; }
.detail-main ul { padding-left: 18px; }
.detail-main li { padding-left: 3px; margin-bottom: 11px; }
.detail-summary { font-size: 14px; line-height: 1.8; margin: 0 0 24px; }
.detail-callout { padding: 15px 18px; margin: 22px 0; background: var(--wash); border-left: 2px solid #8e8e82; font-size: 12px; line-height: 1.75; }
.detail-callout strong { font-weight: 600; }
.detail-callout p:last-child { margin-bottom: 0; }
.obligation-list { margin: 0 0 24px; padding: 0 !important; list-style: none; counter-reset: obligation; }
.obligation-list li { position: relative; padding: 13px 0 13px 30px; margin: 0; border-top: 1px solid var(--line-soft); }
.obligation-list li::before { counter-increment: obligation; content: counter(obligation, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-size: 10px; color: var(--muted); }
.detail-sidebar { border-left: 1px solid var(--line); padding-left: 25px; }
.detail-sidebar h3 { font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 17px; }
.detail-facts dl { margin: 0; }
.detail-facts dt { font-size: 10px; color: var(--muted); margin: 0 0 4px; }
.detail-facts dd { font-size: 12px; line-height: 1.6; margin: 0 0 18px; overflow-wrap: anywhere; }
.detail-facts dd a { text-underline-offset: 2px; }
.detail-sidebar .provenance-note { margin-top: 24px; font-size: 10px; }
.source-item { padding: 17px 0; border-top: 1px solid var(--line); font-size: 12px; }
.source-item:first-child { padding-top: 0; border-top: 0; }
.source-item strong { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.source-item p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.source-item a { overflow-wrap: anywhere; }
.related-record { display: block; width: 100%; padding: 18px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; }
.related-record strong { display: block; font-weight: 500; font-size: 14px; line-height: 1.5; }
.related-record span, .related-record small { display: block; color: var(--muted); font-size: 11px; margin-top: 6px; }
.related-record:hover { background: #f7f7f3; }
.fulltext-body { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font); font-size: 13px; line-height: 1.85; margin: 0; }
.fulltext-body h3 { white-space: normal; }
.provenance-note { padding-top: 15px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); line-height: 1.75; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 32px); z-index: 110; background: #292927; color: #fff; border: 1px solid #454542; border-radius: 3px; padding: 12px 20px; box-shadow: 0 6px 24px #0002; font-size: 12px; line-height: 1.5; }

@media (min-width: 1440px) {
  .site-header { padding-left: max(36px, calc((100vw - 1288px) / 2)); padding-right: max(36px, calc((100vw - 1288px) / 2)); }
}
@media (max-width: 1140px) {
  .site-header { gap: 25px; padding: 0 28px; }
  .header-nav { gap: 20px; margin-left: 15px; }
  .header-meta { font-size: 10px; }
  .header-meta span + span { display: none; }
  .main-container { padding: 0 28px; }
  .register-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 26px; }
  .filter-rail { padding-right: 20px; }
  .page-heading h1 { font-size: 35px; }
  .search-toolbar { flex-wrap: wrap; }
  .search-field { flex-basis: 55%; }
  .export-button { padding: 9px 11px; }
  .records-table th:nth-child(1) { width: 47%; }
  .method-columns { gap: 35px; }
}
@media (max-width: 920px) {
  .site-header { flex-wrap: wrap; gap: 0 24px; min-height: unset; padding: 0 24px; }
  .brand { padding: 19px 0 17px; }
  .header-meta { margin-left: auto; }
  .header-nav { order: 3; flex-basis: 100%; height: 45px; margin-left: 0; gap: 27px; overflow-x: auto; }
  .header-nav button { font-size: 12px; }
  .main-container { padding: 0 24px; }
  .jurisdiction-path { padding-top: 25px; margin-bottom: 18px; }
  .page-heading { gap: 20px; }
  .page-heading h1 { font-size: 32px; }
  .edition-meta { max-width: 150px; }
  .register-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 23px; }
  .filter-rail { padding-right: 16px; }
  .results-list { overflow-x: auto; }
  .search-field { flex-basis: 100%; }
  .search-mode { flex: 1; }
  .search-mode select { width: 100%; }
  .courts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 25px; }
  .detail-sidebar { padding-left: 20px; }
}
@media (max-width: 700px) {
  .site-header { padding: 0 20px; }
  .brand-name { font-size: 20px; }
  .brand-descriptor { font-size: 9px; letter-spacing: 1.4px; }
  .header-meta { font-size: 9px; }
  .header-nav { gap: 24px; height: 43px; }
  .main-container { padding: 0 20px; }
  .jurisdiction-path { padding-top: 23px; font-size: 11px; margin-bottom: 17px; }
  .page-heading { display: block; padding-bottom: 22px; }
  .page-heading h1 { font-size: 31px; line-height: 1.15; letter-spacing: -1px; }
  .page-heading .intro { font-size: 13px; line-height: 1.7; }
  .edition-meta { max-width: none; text-align: left; margin-top: 17px; font-size: 10px; }
  .edition-meta strong { display: inline; margin-right: 7px; font-size: 10px; }
  .scope-notice { display: block; font-size: 11px; line-height: 1.7; margin-bottom: 23px; }
  .scope-notice a, .scope-notice button { display: inline-block; margin: 5px 0 0; font-size: 11px; }
  .register-layout { display: block; }
  .mobile-filter-toggle { display: inline-flex; width: 100%; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 15px; padding: 10px 12px; font-size: 12px; border-color: var(--line); }
  .mobile-filter-toggle svg { width: 15px; height: 15px; }
  .filter-rail { display: none; padding: 18px 0 2px; border-right: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
  .filter-rail.open, .filter-rail.is-open, .filter-rail.expanded, .register-layout.filters-open .filter-rail { display: block; }
  .filter-rail .rail-title { margin-bottom: 18px; }
  .filter-rail .rail-group, .filter-rail .filter-group { margin-bottom: 19px; }
  .rail-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; gap: 2px 12px; }
  .rail-note { display: none; }
  .search-field { flex-basis: 100%; }
  .search-field input { min-height: 44px; font-size: 13px; }
  .search-mode select, select.search-mode { min-height: 37px; }
  .export-button { min-height: 37px; padding: 7px 11px; }
  .results-meta { gap: 10px; padding-top: 19px; font-size: 11px; }
  .sort-control { gap: 4px; font-size: 10px; }
  .sort-control select { font-size: 10px; max-width: 125px; }
  .layout-controls { display: none; }
  .records-table td, .results-list td { padding-top: 18px; padding-bottom: 18px; }
  .record-title { font-size: 14px; }
  .register-bottom { display: block; font-size: 10px; }
  .register-bottom > * + * { margin-top: 10px; }
  .record-grid { grid-template-columns: 1fr; }
  .section-intro { display: block; }
  .section-intro h2 { font-size: 22px; }
  .section-intro p { font-size: 13px; }
  .courts-grid { gap: 12px; }
  .court-entry { padding: 19px; min-height: 220px; }
  .court-entry h3 { font-size: 15px; }
  .court-entry p { font-size: 11px; }
  .court-index { margin-bottom: 19px; }
  .method-columns { display: block; }
  .method-section { margin-bottom: 30px; }
  .site-footer { align-items: flex-start; margin-top: 34px; padding-top: 20px; font-size: 10px; gap: 20px; }
  .site-footer > :last-child { max-width: 190px; text-align: right; }
  .record-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .dialog-top { padding: 14px 20px; }
  .record-path { font-size: 10px; }
  .detail-heading { padding: 24px 20px 19px; }
  .detail-heading h2 { font-size: 24px; letter-spacing: -.55px; }
  .detail-heading .record-meta { font-size: 10px; }
  .detail-tabs { padding: 0 20px; gap: 23px; overflow-x: auto; }
  .detail-tabs button { font-size: 11px; white-space: nowrap; }
  .detail-layout { display: flex; flex-direction: column; padding: 23px 20px 28px; gap: 30px; }
  .detail-sidebar { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 23px; }
  .detail-facts dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px 16px; }
  .detail-facts dt { font-size: 11px; margin: 0; }
  .detail-facts dd { margin: 0; font-size: 12px; }
  .detail-summary { font-size: 13px; }
}
@media (max-width: 440px) {
  .main-container, .site-header { padding-left: 16px; padding-right: 16px; }
  .header-meta { display: none; }
  .header-nav { gap: 22px; }
  .brand { padding: 18px 0 15px; }
  .page-heading h1 { font-size: 29px; }
  .courts-grid { grid-template-columns: 1fr; }
  .court-entry { min-height: 185px; }
  .court-index { margin-bottom: 18px; }
  .site-footer { display: block; }
  .site-footer > :last-child { max-width: none; text-align: left; margin-top: 7px; }
  .detail-actions { gap: 7px; }
  .detail-actions a, .detail-actions button { font-size: 10px; padding: 7px 9px; }
  .detail-tabs { gap: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  body { background: #fff; color: #000; font-size: 10pt; }
  .header-nav, .header-meta, .filter-rail, .search-toolbar, .layout-controls, .mobile-filter-toggle, .bookmark-button, .site-footer, .toast, .detail-actions, .dialog-close, .detail-tabs { display: none !important; }
  .site-header { min-height: auto; border-bottom: 1px solid #000; padding: 0; }
  .main-container { padding: 0; max-width: none; }
  .page-heading h1 { font-size: 24pt; }
  .register-layout { display: block; }
  .results-list, .records-table { overflow: visible; }
  .record-dialog { position: static; width: 100%; max-width: none; max-height: none; box-shadow: none; border: 0; overflow: visible; }
  .record-dialog::backdrop { background: none; }
  .record-title { break-after: avoid; }
  tr { break-inside: avoid; }
}

/* Alignment with the live NSW register markup. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.brand { flex-direction: column; align-items: flex-start; gap: 0; }
.brand-stop { color: #77776e; margin-left: 1px; }
.header-meta { letter-spacing: .7px; font-size: 10px; }
.header-meta span { letter-spacing: 0; text-transform: none; }
.header-nav #savedCount { color: var(--faint); font-size: 11px; margin-left: 4px; }
.quiet-button, .text-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; font-size: 12px; color: var(--muted); text-decoration: none; }
.quiet-button:hover, .text-button:hover { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.quiet-button svg, .text-button svg { width: 14px; height: 14px; }
.text-button { color: var(--ink); }
.scope-notice > span:first-child { flex-shrink: 0; font-weight: 600; color: var(--ink); }
.rail-group h2 { margin: 0 0 11px; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.rail-help { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.rail-note p { margin-top: 8px; }
.date-filters { border-top: 1px solid var(--line); padding-top: 17px; }
.date-filters summary { cursor: pointer; font-size: 12px; color: var(--muted); }
.date-filters[open] summary { margin-bottom: 15px; }
.date-filters label { margin-top: 11px; font-size: 11px; }
.date-filters input { padding: 7px 8px; min-width: 0; }
.search-field kbd { flex-shrink: 0; font-family: var(--font); font-size: 10px; line-height: 1.5; color: #7a7a74; border: 1px solid var(--line); border-radius: 2px; padding: 2px 5px; }
.search-caption { color: var(--muted); font-size: 11px; line-height: 1.65; padding: 9px 0 1px; }
.active-filters { padding-top: 12px; padding-bottom: 0; }
.layout-controls button[aria-pressed='true'] { background: var(--wash); color: var(--ink); }
.records-table { border-top: 1px solid #a3a39b; }
.records-table table { table-layout: fixed; }
.records-table th:nth-child(1) { width: 45%; }
.records-table th:nth-child(2) { width: 19%; }
.records-table th:nth-child(3) { width: 13%; }
.records-table th:nth-child(4) { width: 15%; }
.records-table th:nth-child(5) { width: 8%; }
.records-table td.court-name { display: table-cell; margin: 0; font-size: 12px; }
button.record-title { display: block; font-size: 15px; line-height: 1.5; font-weight: 600; margin: 0 0 7px; }
.record-citation { color: var(--muted); font-size: 12px; line-height: 1.5; margin: -2px 0 9px; }
.record-summary { margin: 0 0 10px; font-size: 12px; }
.records-table .record-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.record-meta { margin-bottom: 0; font-size: 11px; gap: 4px 8px; }
.record-meta > span + span::before { content: '·'; display: inline; color: var(--faint); margin-right: 8px; }
.records-table .authority-label { display: block; color: var(--ink); font-size: 11px; margin-bottom: 5px; }
.status-label { font-size: 11px; }
.status-label::before { vertical-align: 1px; }
.record-actions { flex-direction: column; align-items: flex-end; gap: 11px; }
.record-actions .source-link { font-size: 11px; gap: 2px; white-space: nowrap; }
.record-actions .source-link svg { width: 11px; height: 11px; }
.record-actions .bookmark-button { margin-right: -3px; }
.bookmark-button.saved { color: var(--ink); }
.register-bottom { align-items: center; }
.section-intro { color: var(--muted); font-size: 14px; line-height: 1.75; }
.court-entry { position: relative; padding-bottom: 25px; }
.court-entry > div { display: flex; flex: 1; flex-direction: column; }
.court-entry h2 { font-size: 17px; line-height: 1.4; letter-spacing: -.3px; font-weight: 500; margin-bottom: 10px; }
.court-entry > svg { position: absolute; top: 23px; right: 24px; width: 15px; height: 15px; color: var(--muted); }
.court-entry .court-record-count { font-size: 11px; line-height: 1.65; }
.courts-grid + .method-section { margin-top: 37px; }
.courts-grid + .method-section p { max-width: 900px; }
.site-footer { max-width: 1288px; width: calc(100% - 72px); margin-left: auto; margin-right: auto; }
.footer-divider { display: inline-block; color: var(--faint); margin: 0 8px; }
.dialog-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 20px; padding: 18px 32px 24px; border-bottom: 0; }
.dialog-top .detail-heading { grid-column: 1 / -1; padding: 23px 0 0; }
.dialog-top .detail-heading > p:last-child { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.dialog-top .detail-heading .detail-citation { margin-bottom: 8px; }
.dialog-top .detail-actions { grid-column: 1 / -1; margin-top: 21px; }
.dialog-close { margin-right: -7px; }
.detail-facts { margin: 0; }
.section-label { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 1px; margin-bottom: 12px; }
.detail-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; padding-top: 5px; margin: 20px 0; }
.detail-topics .topic-tag { padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.detail-topics .topic-tag::before { content: none; }
.detail-topics .topic-tag:hover { color: var(--ink); }
.provenance-facts { margin: 20px 0 27px; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px 20px; font-size: 12px; line-height: 1.7; }
.provenance-facts dt { color: var(--muted); }
.provenance-facts dd { margin: 0; }
.detail-main > .provenance-note { margin-bottom: 23px; }
.detail-main .provenance-note p { font-size: 11px; margin: 8px 0; }
.tile-head, .tile-detail, .tile-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tile-head { margin-bottom: 15px; font-size: 11px; }
.tile-head .authority-label { font-size: 11px; }
.tile-detail { align-items: flex-start; margin: 18px 0 14px; font-size: 12px; color: var(--muted); }
.tile-detail > span { flex: 1; }
.tile-detail > span:last-child { text-align: right; flex: 0 0 130px; font-variant-numeric: tabular-nums; }
.tile-detail small { display: block; margin-top: 3px; font-size: 10px; }
.tile-footer { border-top: 1px solid var(--line-soft); padding-top: 13px; }
.tile-footer .source-link { font-size: 11px; }
@media (max-width: 1140px) {
  .site-footer { width: calc(100% - 56px); }
  .records-table th:nth-child(1) { width: 44%; }
  .records-table th:nth-child(2) { width: 18%; }
  .records-table th:nth-child(3) { width: 13%; }
  .records-table th:nth-child(4) { width: 16%; }
  .records-table th:nth-child(5) { width: 9%; }
}
@media (max-width: 920px) {
  .site-footer { width: calc(100% - 48px); }
}
@media (max-width: 700px) {
  .scope-notice > span:first-child { display: block; margin-bottom: 5px; }
  .scope-notice p { font-size: 11px; }
  .search-field kbd { display: none; }
  .search-caption { font-size: 10px; }
  .sort-control { margin-left: auto; }
  button.record-title { font-size: 14px; }
  .court-entry h2 { font-size: 16px; }
  .site-footer { width: calc(100% - 40px); }
  .dialog-top { padding: 14px 20px 21px; }
  .dialog-top .detail-heading { padding-top: 18px; }
  .dialog-top .detail-heading > p:last-child { font-size: 12px; }
  .detail-facts { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px 16px; }
  .provenance-facts { grid-template-columns: 110px minmax(0, 1fr); gap: 12px 16px; }
  .mobile-filter-toggle { justify-content: flex-start; }
  .register-bottom .quiet-button { margin-top: 8px; }
}
@media (max-width: 440px) {
  .site-footer { width: calc(100% - 32px); }
  .header-nav { gap: 20px; }
  .header-nav button { font-size: 11px; }
  .dialog-top { gap: 0 10px; }
}
/* Reading sizes stay legible even in a compact results table. */
.rail-help, .rail-note, .search-caption { font-size: 12px; }
.rail-tabs button { font-size: 12px; }
.record-meta, .records-table .authority-label, .status-label { font-size: 12px; }
.record-date small { font-size: 11px; }
.record-actions .source-link { font-size: 11px; }
.record-meta { gap: 4px 7px; }
.record-meta > span + span::before { margin-right: 7px; }
.header-nav button { font-size: 13px; }
@media (max-width: 700px) {
  .header-nav button { font-size: 12px; }
  .search-caption { font-size: 11px; }
  .records-table .authority-label, .status-label, .record-meta { font-size: 11px; }
  .rail-help, .rail-note { font-size: 12px; }
}

.collection-hierarchy { margin: 0 0 22px; padding: 20px 24px; border: 1px solid #d7dedb; background: #f3f7f4; border-radius: 5px; }
.collection-parent { color: #234d44; font-weight: 700; font-size: 17px; }
.collection-hierarchy-note { display: inline-block; margin-left: 14px; font-size: 12px; color: #596a64; }
.collection-hierarchy > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.collection-hierarchy > div a { border: 1px solid #cbd6d0; padding: 8px 12px; border-radius: 4px; color: #254e43; text-decoration: none; font-size: 13px; }
.collection-hierarchy > div a[aria-current="page"] { color: white; background: #285b4e; border-color: #285b4e; }
.collection-hierarchy > p { color: #596a64; font-size: 12px; line-height: 1.6; margin: 12px 0 0; }
.country-menu label.country-child { margin-left: 18px; border-left: 2px solid #d7dedb; padding-left: 12px; }
.record-original-title { color: #52675f; font-size: 12px; line-height: 1.5; margin: 7px 0; overflow-wrap: anywhere; }
.record-original-title > span { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }
.translation-note { border-left: 2px solid #c6d7d0; padding: 3px 0 3px 15px; margin: 16px 0; font-size: 13px; line-height: 1.6; max-width: 760px; overflow-wrap: anywhere; }
.translation-note p { margin: 4px 0; }
.translation-note strong { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: #536d62; }
.translation-note .translation-status { font-weight: 600; color: #456857; }
@media(max-width:640px){.collection-hierarchy { padding: 16px; }.collection-hierarchy-note { display: block; margin: 7px 0 0; }}
