/* Source experiences: explicit components, shared visual grammar.
   Scope is opt-in. Unrelated workspaces and the other site brand are unaffected. */
html[data-site="ai"] .source-page {
  --source-reading-width: 74ch;
  --source-section-gap: clamp(26px, 3vw, 40px);
  --source-body-size: var(--type-read);
  padding-bottom: 40px;
  min-width: 0;
}
html[data-site="ai"] .source-page :is(section, article, form, nav, aside, .source-reader__main, .source-reader__aside) { min-width: 0; }
html[data-site="ai"] .source-page [id] { scroll-margin-top: 72px; }
html[data-site="ai"] body:has(.source-page) .subnav { height: auto; min-height: 32px; }
html[data-site="ai"] body:has(.source-page) .subnav .wrap { min-height: 32px; padding-top: 6px; padding-bottom: 6px; }
html[data-site="ai"] body:has(.source-page) .subnav-breadcrumb { flex-wrap: wrap; line-height: 1.6; }
html[data-site="ai"] body:has(.source-page) .subnav-breadcrumb > * { flex-shrink: 0; }
html[data-site="ai"] body:has(.source-page) .subnav-breadcrumb .current { flex-shrink: 1; min-width: 0; overflow-wrap: anywhere; }
html[data-site="ai"] .source-header { padding: 28px 0 16px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
html[data-site="ai"] .source-header h1 { font-size: var(--type-title); line-height: 1.16; letter-spacing: -.025em; max-width: 34ch; margin: 8px 0 14px; overflow-wrap: anywhere; }
html[data-site="ai"] .source-header .lede { max-width: 78ch; font-size: var(--type-read); line-height: 1.6; }
html[data-site="ai"] .source-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0; font-size: var(--type-small); line-height: 1.5; }
html[data-site="ai"] .source-facts > * { min-width: 0; }
html[data-site="ai"] .source-meta { font-size: var(--type-small); color: var(--ink-3); line-height: 1.6; overflow-wrap: anywhere; }
html[data-site="ai"] .source-page .source-sections { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0 0 14px; margin: 0 0 24px; border-bottom: 1px solid var(--rule); font-size: var(--type-small); }
html[data-site="ai"] .source-sections a { text-decoration: underline; text-underline-offset: 4px; padding: 5px 0; }
html[data-site="ai"] .source-search { margin: 0 0 24px; }
html[data-site="ai"] .source-search:has(> .source-field) { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; }
html[data-site="ai"] .source-search > .source-field { max-width: 420px; }
html[data-site="ai"] .source-search > .source-field:has(input[type="search"]) { flex: 2 1 280px; max-width: none; }
html[data-site="ai"] .source-search > :is(.source-filter-disclosure, .source-active-filters, .source-meta) { flex-basis: 100%; }
html[data-site="ai"] .source-results > h2:first-child { margin-bottom: 16px; }
html[data-site="ai"] .source-filter-grid { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; }
html[data-site="ai"] .source-field { display: flex; flex: 1 1 160px; flex-direction: column; gap: 6px; min-width: 0; font-size: var(--type-small); font-weight: 600; color: var(--ink-2); }
html[data-site="ai"] .source-field--search { flex: 2 1 280px; }
html[data-site="ai"] .source-filter-grid > .source-field { max-width: 420px; }
html[data-site="ai"] .source-filter-grid > .source-field--search { max-width: none; }
html[data-site="ai"] .source-results-header + .source-search { margin-top: 20px; }
html[data-site="ai"] .source-search :is(input[type="search"], input[type="text"], input[type="number"], input[type="date"], select) {
  width: 100%; min-width: 0; min-height: 42px; border: 1px solid var(--ink-3); padding: 9px 11px; border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: var(--type-read); font-weight: 400;
}
html[data-site="ai"] .source-search label { font-size: var(--type-small); }
html[data-site="ai"] .source-filter-actions { display: flex; gap: 10px 16px; flex-wrap: wrap; align-items: center; }
html[data-site="ai"] .source-search :is(.btn, button[type="submit"], button:not([type])) { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; font-size: var(--type-small); }
html[data-site="ai"] .source-search .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--paper); }
html[data-site="ai"] .source-search .btn-primary:hover { background: var(--accent-hover); }
html[data-site="ai"] .source-search button:is([type="submit"], :not([type])) { background: var(--accent); border-color: var(--accent); color: var(--paper); }
html[data-site="ai"] .source-search button:is([type="submit"], :not([type])):hover { background: var(--accent-hover); }
html[data-site="ai"] .source-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 12px; font-size: var(--type-small); color: var(--ink-3); }
html[data-site="ai"] .source-filter-disclosure { margin: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 12px 0; }
html[data-site="ai"] .source-filter-disclosure > summary { cursor: pointer; font-weight: 600; font-size: var(--type-read); }
html[data-site="ai"] .source-filter-disclosure[open] > summary { margin-bottom: 14px; }
html[data-site="ai"] .source-results { margin: 24px 0 var(--source-section-gap); }
html[data-site="ai"] .source-result-list { margin-bottom: 24px; }
html[data-site="ai"] .source-results-header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 20px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
html[data-site="ai"] .source-results-header h2 { font-size: var(--type-read); }
html[data-site="ai"] .source-results-header .meta { font-size: var(--type-small); }
html[data-site="ai"] .source-result { display: block; padding: 20px 0; border-bottom: 1px solid var(--rule); min-width: 0; color: var(--ink); }
html[data-site="ai"] .source-result-title { display: block; font-size: var(--type-read); font-weight: 600; line-height: 1.4; margin: 0 0 8px; overflow-wrap: anywhere; }
html[data-site="ai"] .source-result-title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html[data-site="ai"] .source-result-meta { display: flex; flex-wrap: wrap; gap: 5px 18px; color: var(--ink-3); font-size: var(--type-small); line-height: 1.6; margin: 7px 0; overflow-wrap: anywhere; }
html[data-site="ai"] .source-page code { overflow-wrap: anywhere; word-break: break-word; }
html[data-site="ai"] .source-result-summary { max-width: 82ch; font-size: var(--type-read); line-height: 1.65; margin: 8px 0; }
html[data-site="ai"] .source-result-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 8px 0 12px; font-size: var(--type-small); }
html[data-site="ai"] .source-result-facts dt { color: var(--ink-3); }
html[data-site="ai"] .source-result-facts dd { margin: 2px 0 0; }
html[data-site="ai"] .source-result-notes { max-width: 82ch; font-size: var(--type-small); line-height: 1.65; margin: 12px 0; }
html[data-site="ai"] .source-page .block.source-taxonomy { padding: 12px 0; }
html[data-site="ai"] .source-page .block.source-taxonomy--leading { padding-top: 0; border-bottom: 0; }
html[data-site="ai"] .source-taxonomy summary {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--ink-2);
  cursor: pointer;
  font-size: var(--type-read);
  list-style: none;
}
html[data-site="ai"] .source-taxonomy summary::-webkit-details-marker { display: none; }
html[data-site="ai"] .source-taxonomy summary::before { content: "▸"; color: var(--ink-3); flex: 0 0 auto; transition: transform .15s ease; }
html[data-site="ai"] .source-taxonomy details[open] > summary::before { transform: rotate(90deg); }
html[data-site="ai"] .source-taxonomy summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html[data-site="ai"] .source-taxonomy__title { margin: 0; color: var(--ink); font-size: var(--type-read); font-weight: 600; line-height: inherit; }
html[data-site="ai"] .source-taxonomy__count,
html[data-site="ai"] .source-taxonomy__note { color: var(--ink-3); font-size: var(--type-small); }
html[data-site="ai"] .source-taxonomy__note { margin: 10px 0 6px; }
html[data-site="ai"] .source-taxonomy__group { margin-top: 12px; }
html[data-site="ai"] .source-taxonomy__group h3 { margin: 0 0 4px; color: var(--ink-3); font-size: var(--type-small); font-weight: 600; text-transform: none; }
html[data-site="ai"] .source-taxonomy__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html[data-site="ai"] .source-taxonomy__item {
  min-width: 0;
  padding: 5px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: var(--type-small);
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
html[data-site="ai"] .source-taxonomy__item a { text-decoration: underline; text-underline-offset: 2px; }
html[data-site="ai"] .source-excerpt { margin: 12px 0; max-width: 82ch; }
html[data-site="ai"] .source-excerpt summary { cursor: pointer; line-height: 1.65; }
html[data-site="ai"] .source-facet-list { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 18px; padding: 0; list-style: none; font-size: var(--type-small); }
html[data-site="ai"] .source-page :is(.source-table-scroll, .table-scroll) { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
html[data-site="ai"] .source-table { width: 100%; border-collapse: collapse; font-size: var(--type-small); line-height: 1.55; background: var(--paper); }
html[data-site="ai"] .source-table th { text-align: left; font-size: var(--type-small); line-height: 1.5; font-weight: 600; color: var(--ink-3); padding: 12px; border-bottom: 1px solid var(--rule); }
html[data-site="ai"] .source-table thead th { border-top: 2px solid var(--ink); }
html[data-site="ai"] .source-table tbody th { font-size: var(--type-small); color: var(--ink); vertical-align: top; padding: 13px 12px; }
html[data-site="ai"] .source-table td { padding: 13px 12px; vertical-align: top; border-bottom: 1px solid var(--rule); }
html[data-site="ai"] .source-table :is(th, td).num { text-align: right; font-variant-numeric: tabular-nums; }
html[data-site="ai"] .source-table td a { text-decoration: underline; text-underline-offset: 3px; }
html[data-site="ai"] .source-table caption { text-align: left; color: var(--ink-3); font-size: var(--type-small); padding: 0 0 10px; }
html[data-site="ai"] .source-table-note { color: var(--ink-3); font-size: var(--type-small); margin: 8px 0 14px; }
html[data-site="ai"] .source-hmip-register { table-layout: fixed; }
html[data-site="ai"] .source-hmip-register .hmip-col-report { width: 30%; }
html[data-site="ai"] .source-hmip-register .hmip-col-date { width: 12%; }
html[data-site="ai"] .source-hmip-register .hmip-col-kind { width: 18%; }
html[data-site="ai"] .source-hmip-register .hmip-col-assessment { width: 40%; }
html[data-site="ai"] .source-hmip-register tbody th { overflow-wrap: anywhere; }
html[data-site="ai"] .source-hmip-register tbody th > .source-meta,
html[data-site="ai"] .hmip-report-date > * { display: block; }
html[data-site="ai"] .hmip-report-date time { margin-top: 2px; white-space: nowrap; }
html[data-site="ai"] .hmip-report-kind { display: inline-block; font-size: var(--type-small); line-height: 1.35; }
html[data-site="ai"] .hmip-assessment-note { color: var(--ink-3); font-size: var(--type-small); line-height: 1.5; }
html[data-site="ai"] .hmip-score-guide { margin: 10px 0 14px; }
html[data-site="ai"] .hmip-score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
html[data-site="ai"] .hmip-score-grid > div { min-width: 0; }
html[data-site="ai"] .hmip-score-grid dt {
  min-height: 2.7em;
  color: var(--ink-3);
  font-size: var(--type-small);
  font-weight: 600;
  line-height: 1.35;
}
html[data-site="ai"] .hmip-score-grid dd {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0 0;
  font-size: var(--type-small);
  line-height: 1.3;
}
html[data-site="ai"] .hmip-score-grid .grade-dot { flex: 0 0 auto; }
html[data-site="ai"] .source-committee-remit { display: grid; gap: 5px; min-width: 0; }
html[data-site="ai"] .source-committee-remit-kicker { color: var(--ink-3); font-size: var(--type-small); font-weight: 700; line-height: 1.4; text-transform: none; }
html[data-site="ai"] .source-committee-remit-topics { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
html[data-site="ai"] .source-committee-remit-topics li { min-width: 0; line-height: 1.4; }
html[data-site="ai"] .source-committee-remit-topics a { font-weight: 500; overflow-wrap: anywhere; }
html[data-site="ai"] .source-committee-remit-state { display: inline-block; margin-left: 6px; padding: 1px 5px; background: var(--pos-bg); color: var(--pos); font-size: var(--type-small); font-weight: 700; line-height: 1.4; text-transform: none; vertical-align: 1px; }
html[data-site="ai"] .source-reader { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 270px); gap: clamp(28px, 4vw, 56px); align-items: start; margin: 26px 0; }
html[data-site="ai"] .source-reader:not(:has(> .source-reader__aside)) { grid-template-columns: minmax(0, 1fr); }
html[data-site="ai"] .source-reader__main { max-width: var(--source-reading-width); width: 100%; }
html[data-site="ai"] .source-reader__main > section + section { margin-top: var(--source-section-gap); }
html[data-site="ai"] .source-reader__aside { border-top: 2px solid var(--ink); padding-top: 15px; font-size: var(--type-small); line-height: 1.6; overflow-wrap: anywhere; }
html[data-site="ai"] .source-reader__aside h2 { font-size: var(--type-read); margin-bottom: 12px; }
html[data-site="ai"] .source-reader__aside :is(table, td, th) { font-size: var(--type-small); }
html[data-site="ai"] .source-reader__aside .source-sections { display: flex; flex-direction: column; gap: 3px; }
html[data-site="ai"] .source-prose { max-width: var(--source-reading-width); font-size: var(--source-body-size); line-height: 1.75; overflow-wrap: anywhere; }
html[data-site="ai"] .source-prose :is(p, li) { font-size: inherit; line-height: inherit; }
html[data-site="ai"] .source-prose p { margin-bottom: 16px; }
html[data-site="ai"] .source-prose :is(ul, ol) { padding-left: 24px; }
html[data-site="ai"] .source-recommendation { padding: 22px 0; border-bottom: 1px solid var(--rule); max-width: var(--source-reading-width); overflow-wrap: anywhere; }
html[data-site="ai"] .source-recommendation:first-child { padding-top: 0; }
html[data-site="ai"] .source-recommendation h3 { font-size: var(--type-read); line-height: 1.5; margin-bottom: 10px; }
html[data-site="ai"] .source-recommendation__reference { color: var(--ink-3); font-size: var(--type-small); font-style: italic; line-height: 1.45; margin: -6px 0 8px; }
html[data-site="ai"] .source-recommendation > .source-meta { display: block; margin-bottom: 10px; }
html[data-site="ai"] .source-evidence { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); }
html[data-site="ai"] .source-evidence-label { display: block; color: var(--ink-3); font-size: var(--type-small); font-weight: 600; text-transform: none; margin-bottom: 8px; }
/* Response metadata must not determine the column occupied by reading text. */
html[data-site="ai"] .source-page .pfd-response > header { display: flex; flex-wrap: wrap; gap: 12px 16px; padding: 16px; }
html[data-site="ai"] .source-page .pfd-response > header > :first-child { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; }
html[data-site="ai"] .source-page .pfd-response-meta { flex-wrap: wrap; flex-shrink: 1; min-width: 0; }
html[data-site="ai"] .source-page h3.pfd-response-org { font-size: var(--type-read); line-height: 1.5; margin: 0; }
html[data-site="ai"] .source-page .pfd-response-body { display: block; padding: 16px; }
html[data-site="ai"] .source-page .pfd-response-stance { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: 16px; }
html[data-site="ai"] .source-page .pfd-response-summary p { margin: 0; font-size: var(--source-body-size); line-height: 1.65; }
html[data-site="ai"] .source-page blockquote.source-prose { margin: 12px 0; padding: 0 0 0 20px; border-left: 2px solid var(--rule); }
html[data-site="ai"] .source-page .badge { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
html[data-site="ai"] .source-page .source-table .badge { overflow-wrap: normal; }
html[data-site="ai"] .source-correspondence-table { min-width: 680px; table-layout: fixed; }
html[data-site="ai"] .source-correspondence-table col.source-correspondence-published { width: 118px; }
html[data-site="ai"] .source-correspondence-table col.source-correspondence-direction { width: 142px; }
html[data-site="ai"] .source-correspondence-table .source-correspondence-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
html[data-site="ai"] .source-correspondence-table .badge { white-space: nowrap; }
html[data-site="ai"] .source-correspondence-link { font-weight: 500; line-height: 1.5; }
html[data-site="ai"] .source-inquiry-register .badge { white-space: nowrap; }
html[data-site="ai"] .source-empty { padding: 24px 0; max-width: 76ch; }
html[data-site="ai"] .source-empty h2, html[data-site="ai"] .source-empty h3 { font-size: var(--type-read); margin: 0 0 10px; }
html[data-site="ai"] .source-empty p { color: var(--ink-3); font-size: var(--type-read); line-height: 1.65; }
html[data-site="ai"] .source-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--type-small); padding: 20px 0; border-bottom: 1px solid var(--rule); }
html[data-site="ai"] .source-pagination a { text-decoration: underline; text-underline-offset: 4px; padding: 7px 0; }
html[data-site="ai"] .source-coverage { margin: 14px 0 22px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: var(--type-small); line-height: 1.6; color: var(--ink-3); }
html[data-site="ai"] .source-coverage p { max-width: 92ch; }
html[data-site="ai"] .source-coverage > details > summary { cursor: pointer; color: var(--accent); padding: 4px 0; }
html[data-site="ai"] .source-coverage details[open] > summary { margin-bottom: 10px; }
html[data-site="ai"] .source-coverage dl { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: 8px 20px; margin: 0 0 12px; }
html[data-site="ai"] .source-coverage dt { font-weight: 600; }
html[data-site="ai"] .source-coverage dd { margin: 0; }
html[data-site="ai"] .source-overview { margin: var(--source-section-gap) 0; }
html[data-site="ai"] .source-overview .chart-wrap { min-width: 0; }
html[data-site="ai"] .source-chart-data { font-size: var(--type-small); margin: 16px 0; }
html[data-site="ai"] .source-chart-data > summary { cursor: pointer; color: var(--accent); padding: 5px 0; }
html[data-site="ai"] .source-chart-data[open] > summary { margin-bottom: 12px; }
html[data-site="ai"] .source-table--compact th[scope="row"] { overflow-wrap: anywhere; }
html[data-site="ai"] .source-table td:has(> .source-chart-data) { min-width: 240px; }
html[data-site="ai"] .source-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
html[data-site="ai"] .source-matrix th, html[data-site="ai"] .source-matrix td { min-width: 108px; }
html[data-site="ai"] .source-matrix :is(th, td):first-child { position: sticky; left: 0; min-width: 180px; max-width: 230px; background: var(--paper); z-index: 1; border-right: 1px solid var(--rule); }
html[data-site="ai"] .source-directory-page .source-sections { padding-top: 18px; }
html[data-site="ai"] .source-directory { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--type-small); line-height: 1.5; }
html[data-site="ai"] .source-directory :is(th, td) { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; }
html[data-site="ai"] .source-directory th { font-size: var(--type-small); font-weight: 600; color: var(--ink-3); border-top: 2px solid var(--ink); }
html[data-site="ai"] .source-directory .src-name a { display: block; text-decoration: underline; text-underline-offset: 3px; font-size: var(--type-read); }
html[data-site="ai"] .source-directory .src-row:hover { background: var(--row-hover); }
html[data-site="ai"] .source-directory :is(.src-detail-meta, .src-content) { display: block; margin-top: 5px; color: var(--ink-3); font-size: var(--type-small); }
html[data-site="ai"] .source-directory .src-detail-meta > summary { cursor: pointer; color: var(--accent); padding: 5px 0; }
html[data-site="ai"] .source-directory .src-detail-meta ul { padding-left: 18px; margin: 6px 0; }
html[data-site="ai"] .source-directory .src-detail-meta li + li { margin-top: 7px; }
html[data-site="ai"] .source-directory .src-cadence { color: var(--ink-3); }
html[data-site="ai"] .source-directory .src-volume { text-align: right; font-variant-numeric: tabular-nums; }
html[data-site="ai"] .source-directory .src-arrow { padding-inline: 0; color: var(--accent); }
html[data-site="ai"] .src-mobile-label { display: none; }

/* Source pages are working interfaces. Keep desktop headers and result lists
   compact enough that users can reach the records within the first viewport. */
@media (min-width: 1001px) {
  html[data-site="ai"] .source-page {
    --source-section-gap: clamp(22px, 2vw, 30px);
    padding-bottom: 32px;
  }
  html[data-site="ai"] .source-header { padding: 18px 0 14px; margin-bottom: 16px; }
  html[data-site="ai"] .source-header .tag { margin-bottom: 4px; }
  html[data-site="ai"] .source-header h1 { font-size: var(--type-title); line-height: 1.14; margin: 3px 0 7px; }
  html[data-site="ai"] .source-header > .source-meta { margin: 0 0 7px; line-height: 1.45; }
  html[data-site="ai"] .source-header .lede { font-size: var(--type-read); line-height: 1.5; }
  html[data-site="ai"] .source-facts { gap: 4px 20px; margin: 8px 0 0; line-height: 1.4; }
  html[data-site="ai"] .source-page .block { padding: 18px 0; }
  html[data-site="ai"] .source-page .block-head { gap: 10px; margin-bottom: 10px; }
  html[data-site="ai"] .source-page .tabs { gap: 6px; padding: 8px 0; }
  html[data-site="ai"] .source-page .source-sections { gap: 5px 20px; padding-bottom: 10px; margin-bottom: 16px; }
  html[data-site="ai"] .source-search,
  html[data-site="ai"] .source-result-list { margin-bottom: 16px; }
  html[data-site="ai"] .source-search:has(> .source-field),
  html[data-site="ai"] .source-filter-grid { gap: 10px; }
  html[data-site="ai"] .source-search :is(input[type="search"], input[type="text"], input[type="number"], input[type="date"], select) {
    min-height: 38px;
    padding: 7px 10px;
    font-size: var(--type-small);
  }
  html[data-site="ai"] .source-search :is(.btn, button[type="submit"], button:not([type])) { min-height: 38px; padding: 7px 14px; }
  html[data-site="ai"] .source-filter-disclosure { margin: 10px 0; padding: 9px 0; }
  html[data-site="ai"] .source-facet-list { margin: 8px 0 12px; }
  html[data-site="ai"] .source-results { margin: 12px 0 var(--source-section-gap); }
  html[data-site="ai"] .block.source-results { padding: 12px 0 20px; }
  html[data-site="ai"] .source-results-header { padding-bottom: 8px; }
  html[data-site="ai"] .source-results-header h2 { font-size: var(--type-read); }
  html[data-site="ai"] .source-result { padding: 14px 0; }
  html[data-site="ai"] .source-result-title { font-size: var(--type-read); line-height: 1.35; margin-bottom: 4px; }
  html[data-site="ai"] .source-result-meta { gap: 3px 16px; margin: 3px 0; line-height: 1.5; }
  html[data-site="ai"] .source-result-meta:empty { display: none; }
  html[data-site="ai"] .source-result-summary { line-height: 1.5; margin: 4px 0; }
  html[data-site="ai"] .source-result-facts { gap: 6px 20px; margin: 5px 0 8px; }
}

@media (max-width: 1000px) {
  html[data-site="ai"] body:has(.source-page) .nav-burger { display: flex; }
  html[data-site="ai"] body:has(.source-page) .navbar ul,
  html[data-site="ai"] body:has(.source-page) .navbar-search-form { display: none; }
  html[data-site="ai"] body:has(.source-page) .navbar ul.nav-open { display: flex; flex-direction: column; position: absolute; top: 42px; left: 0; right: 0; height: auto; background: #0d1018; border-bottom: 1px solid #000; z-index: 300; padding: 6px 0; }
  html[data-site="ai"] body:has(.source-page) .navbar ul.nav-open li { display: block; width: 100%; }
  html[data-site="ai"] body:has(.source-page) .navbar ul.nav-open a { height: auto; padding: 11px 20px; border-bottom: none; font-size: 14px; display: block; }
  html[data-site="ai"] body:has(.source-page) .navbar ul.nav-open a:hover { background: #181d26; }
  html[data-site="ai"] body:has(.source-page) :is(.navbar-right, .ai-user-menu-wrap) { min-width: 0; }
  html[data-site="ai"] body:has(.source-page) .ai-user-menu-wrap > button { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 800px) {
  html[data-site="ai"] body:has(.source-page) .navbar .wrap,
  html[data-site="ai"] body:has(.source-page) .brand { min-height: 44px; height: 44px; }
  html[data-site="ai"] body:has(.source-page) .nav-burger { width: 44px; height: 44px; }
  html[data-site="ai"] body:has(.source-page) .navbar-right > a { min-height: 44px; display: inline-flex; align-items: center; }
  html[data-site="ai"] .source-header { padding-top: 22px; }
  html[data-site="ai"] .source-header h1 { max-width: 100%; }
  html[data-site="ai"] .source-reader { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  html[data-site="ai"] .source-reader__main { max-width: 100%; }
  html[data-site="ai"] .source-filter-grid { align-items: stretch; }
  html[data-site="ai"] .source-field { flex-basis: 220px; }
  html[data-site="ai"] .source-search :is(input[type="search"], input[type="text"], input[type="number"], input[type="date"], select) { min-height: 44px; font-size: var(--type-read); }
  html[data-site="ai"] .source-search :is(.btn, button[type="submit"], button:not([type])) { min-height: 44px; }
  html[data-site="ai"] .source-page .tabs .chip,
  html[data-site="ai"] .source-page .source-sections a { min-height: 44px; display: inline-flex; align-items: center; }
  html[data-site="ai"] .source-page summary { min-height: 44px; box-sizing: border-box; padding-block: 10px; }
  html[data-site="ai"] .source-taxonomy__list { grid-template-columns: minmax(0, 1fr); }
  html[data-site="ai"] .source-chart-data > summary { min-height: 44px; box-sizing: border-box; padding: 11px 0; }
  html[data-site="ai"] .source-recommendation { padding: 20px 0; }
  html[data-site="ai"] .source-result { padding: 18px 0; }
  html[data-site="ai"] .source-result-meta { gap: 4px 14px; }
  html[data-site="ai"] .source-page .source-table { min-width: 560px; }
  /* A two-column table (a label and one figure) fits a phone without scrolling. */
  html[data-site="ai"] .source-page .source-table--narrow { min-width: 0; }
  html[data-site="ai"] .source-page .source-hmip-register,
  html[data-site="ai"] .source-hmip-register tbody,
  html[data-site="ai"] .source-hmip-register tr,
  html[data-site="ai"] .source-hmip-register :is(th, td) { display: block; width: 100%; min-width: 0; }
  html[data-site="ai"] .source-hmip-register colgroup { display: none; }
  html[data-site="ai"] .source-hmip-register thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  html[data-site="ai"] .source-hmip-register tr { box-sizing: border-box; padding: 18px 0; border-bottom: 1px solid var(--rule); }
  html[data-site="ai"] .source-hmip-register :is(th, td) { box-sizing: border-box; padding: 0; border: 0; text-align: left; }
  html[data-site="ai"] .source-hmip-register :is(th, td) + td { margin-top: 12px; }
  html[data-site="ai"] .source-hmip-register :is(th, td)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--ink-3);
    font-size: var(--type-small);
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
  }
  html[data-site="ai"] .source-hmip-register th[scope="row"] { font-size: var(--type-read); }
  html[data-site="ai"] .hmip-score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; max-width: 520px; }
  html[data-site="ai"] .hmip-score-grid dt { min-height: 0; }
  html[data-site="ai"] .hmip-score-grid dd { font-size: var(--type-small); }
  /* These committee tables already become labelled cards at this breakpoint. */
  html[data-site="ai"] .source-page :is(.committee-list-table, .committee-search-table, .committee-work-table) { min-width: 0; }
  html[data-site="ai"] .source-page .source-table--compact { min-width: 0; }
  html[data-site="ai"] .source-page .source-table--compact :is(th, td) { padding: 10px 8px; }
  html[data-site="ai"] .source-page .source-survey-series :is(th, td) { padding-inline: 5px; }
  html[data-site="ai"] .source-page .source-survey-series tbody th { white-space: nowrap; }
  html[data-site="ai"] .source-page .source-inquiry-register,
  html[data-site="ai"] .source-page .source-inquiry-register tbody { display: block; min-width: 0; width: 100%; }
  html[data-site="ai"] .source-inquiry-register thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  html[data-site="ai"] .source-inquiry-register tr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 10px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
  html[data-site="ai"] .source-inquiry-register td { display: block; min-width: 0; padding: 0; border: 0; text-align: left; overflow-wrap: anywhere; }
  html[data-site="ai"] .source-inquiry-register td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--ink-3); font-size: var(--type-small); font-weight: 600; line-height: 1.25; text-transform: none; }
  html[data-site="ai"] .source-inquiry-register td:nth-child(1),
  html[data-site="ai"] .source-inquiry-register td:nth-child(2),
  html[data-site="ai"] .source-inquiry-register td:nth-child(6) { grid-column: 1 / -1; }
  html[data-site="ai"] .source-inquiry-register td:nth-child(3),
  html[data-site="ai"] .source-inquiry-register td:nth-child(4),
  html[data-site="ai"] .source-inquiry-register td:nth-child(5) { grid-column: span 2; }
  html[data-site="ai"] .source-inquiry-register td:nth-child(7) { grid-column: 1 / -1; }
  html[data-site="ai"] .source-inquiry-register .minibar-wrap { max-width: 260px; }
  html[data-site="ai"] .committee-list-table td.source-committee-remit-cell { display: block; text-align: left; }
  html[data-site="ai"] .committee-list-table td.source-committee-remit-cell::before { display: block; margin-bottom: 6px; }
  html[data-site="ai"] .committee-list-table .source-committee-remit { width: 100%; text-align: left; }
  html[data-site="ai"] .committee-list-table .source-committee-remit-topics { justify-items: start; }
  html[data-site="ai"] .source-page .source-sections { gap: 6px 18px; }
  html[data-site="ai"] .source-coverage dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  html[data-site="ai"] .source-coverage dd { margin-bottom: 8px; }
  html[data-site="ai"] .source-chart-grid { grid-template-columns: minmax(0, 1fr); }
  html[data-site="ai"] .source-table .minibar { display: none; }
  html[data-site="ai"] .source-directory, html[data-site="ai"] .source-directory :is(tbody, tr, td) { display: block; width: 100%; }
  html[data-site="ai"] .source-directory colgroup { display: none; }
  html[data-site="ai"] .source-directory thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  html[data-site="ai"] .source-directory tr { padding: 17px 0; border-bottom: 1px solid var(--rule); }
  html[data-site="ai"] .source-directory td { border: 0; padding: 0; }
  html[data-site="ai"] .source-directory .src-name { margin-bottom: 8px; }
  html[data-site="ai"] .source-directory .src-name a { font-size: var(--type-read); padding: 4px 0; }
  html[data-site="ai"] .source-directory .src-desc { font-size: var(--type-small); line-height: 1.6; }
  html[data-site="ai"] .source-directory :is(.src-volume, .src-cadence) { margin-top: 10px; text-align: left; font-size: var(--type-small); }
  html[data-site="ai"] .source-directory .src-mobile-label { display: inline; font-weight: 600; margin-right: 9px; }
  html[data-site="ai"] .source-directory .src-arrow { display: none; }
}

html[data-site="ai"] .source-page--reports .badge.amber { color: #76560e; }

@media print {
  html[data-site="ai"] .source-page :is(.source-search, .source-pagination, .source-sections) { display: none; }
  html[data-site="ai"] .source-reader { display: block; }
  html[data-site="ai"] .source-prose { max-width: none; font-size: 11pt; }
  html[data-site="ai"] .source-page a { color: inherit; }
  html[data-site="ai"] .source-recommendation { break-inside: avoid; }
  html[data-site="ai"] .source-taxonomy details:not([open]) > :not(summary) { display: block; }
  html[data-site="ai"] .source-taxonomy summary::before { display: none; }
}

/* --- Shared page components (Oct 2026) -------------------------------
   One pattern for every source page; see
   docs/design/ai-page-consistency-review-2026-10.md. Same look as the agreed
   inquiry page list (templates_ai/tracker/inquiry_detail.html). */

/* Links to the original documents, under the header. External links only,
   marked with an arrow in the markup. */
html[data-site="ai"] .source-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 0 0; font-size: var(--type-small); line-height: 1.5; }
html[data-site="ai"] .source-links a { text-decoration: underline; text-underline-offset: 3px; }

/* A plain note about the record (no box). */
html[data-site="ai"] .source-note { font-size: var(--type-small); color: var(--ink-3); line-height: 1.55; margin: 0 0 16px; max-width: 75ch; }

/* One item in a list of the source's own items (a recommendation, a finding).
   Not boxed: items are divided by a rule. Label, then the text it labels. */
html[data-site="ai"] .source-item { padding: 20px 0; border-bottom: 1px solid var(--rule); }
html[data-site="ai"] .source-item:first-child { padding-top: 8px; }
html[data-site="ai"] .source-item__title { font-size: var(--type-read); font-weight: 600; line-height: 1.4; margin: 0 0 4px; }
html[data-site="ai"] .source-item__title a { color: var(--ink); text-decoration: none; }
html[data-site="ai"] .source-item__title a:hover { text-decoration: underline; }
html[data-site="ai"] .source-page .source-item__status,
html[data-site="ai"] .source-page .source-item__meta { font-size: var(--type-small); color: var(--ink-3); line-height: 1.5; margin: 0; }
html[data-site="ai"] .source-page .source-item__label { display: block; font-size: var(--type-small); color: var(--ink-3); line-height: 1.4; margin: 16px 0 4px; }
html[data-site="ai"] .source-page .source-item__text { font-size: var(--type-read); line-height: 1.6; color: var(--ink); max-width: 75ch; margin: 0; }
html[data-site="ai"] .source-page .source-item__text :is(p, ul, ol) { margin: 0 0 10px; }
html[data-site="ai"] .source-page .source-item__text :is(p, ul, ol):last-child { margin-bottom: 0; }
html[data-site="ai"] .source-page .source-item__foot { font-size: var(--type-small); color: var(--ink-3); line-height: 1.5; margin: 16px 0 0; }

/* Response status as coloured text, not a badge. */
html[data-site="ai"] .source-status--accepted { color: var(--pos); font-weight: 600; }
html[data-site="ai"] .source-status--partial { color: var(--warn); font-weight: 600; }
html[data-site="ai"] .source-status--rejected { color: var(--neg); font-weight: 600; }
html[data-site="ai"] .source-status--pending { color: var(--ink-3); font-weight: 600; }

/* Long text clamped to four lines; source-tabs.js adds "Show more" only
   when the text really overflows. Without JavaScript the full text shows. */
html[data-site="ai"].source-js .source-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
html[data-site="ai"].source-js .source-clamp.open { display: block; }
html[data-site="ai"] .source-more-btn { background: none; border: 0; padding: 4px 0 0; color: var(--accent); font: inherit; font-size: var(--type-small); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Section heading pattern: heading, count on the right, rule underneath. */
html[data-site="ai"] .source-page .source-section { margin: 32px 0 0; }
html[data-site="ai"] .source-page .source-section > h2 { font-size: var(--type-read); font-weight: 600; margin: 0; padding: 0 0 8px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
html[data-site="ai"] .source-page .source-section > h2 .count { font-size: var(--type-small); font-weight: 400; color: var(--ink-3); }
html[data-site="ai"] .source-page .source-section > .source-note:first-of-type { margin-top: 12px; }
html[data-site="ai"] .source-header .source-note { margin: 12px 0 0; }
html[data-site="ai"] .source-note--list { margin: 12px 0 0; }
html[data-site="ai"] .source-page .source-reader__main > .source-section:first-child { margin-top: 0; }
@media print {
  html[data-site="ai"].source-js .source-clamp { display: block; overflow: visible; -webkit-line-clamp: none; }
  html[data-site="ai"] .source-more-btn { display: none; }
}

/* Touch targets on phones: every link or button a reader taps is at least
   24px tall (WCAG 2.2 target size), and controls are 44px. */
@media (max-width: 760px) {
  html[data-site="ai"] .source-page :is(.source-item__title a, .source-result-title a) { display: inline-block; padding: 4px 0; }
  html[data-site="ai"] .source-page .source-links a { display: inline-block; padding: 8px 0; }
  html[data-site="ai"] .source-page .source-links { gap: 0 20px; }
  html[data-site="ai"] .source-page :is(.source-more-btn, .review-filter button) { min-height: 44px; display: inline-flex; align-items: center; }
  html[data-site="ai"] .source-page :is(.source-item__meta a, .source-item__status a, .source-facts a, .source-item__foot a, .source-note a, .pfd-response-meta a, .keyfacts a) { display: inline-block; padding: 4px 0; }
}

/* Page tabs (static/ai/source-tabs.js). Underlined text, no boxes, same as
   the inquiry page. Without JavaScript every panel shows in order. */
html[data-site="ai"] nav.source-tabs { display: flex; flex-wrap: wrap; gap: 0 24px; border-bottom: 1px solid var(--rule); margin: 0 0 20px; font-size: var(--type-small); }
html[data-site="ai"] nav.source-tabs a { padding: 10px 0; margin-bottom: -1px; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; }
html[data-site="ai"] nav.source-tabs a:hover { color: var(--ink); }
html[data-site="ai"] nav.source-tabs a.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
html[data-site="ai"].source-tabs-on .source-panel { min-height: 70vh; }
html[data-site="ai"] .source-panel > .source-section:first-child { margin-top: 0; }
/* Overview: short previews of each tab. */
html[data-site="ai"] .source-preview { margin: 0 0 28px; }
html[data-site="ai"] .source-preview > h2 { font-size: var(--type-read); font-weight: 600; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
html[data-site="ai"] .source-preview ul { list-style: none; margin: 0; padding: 0; }
html[data-site="ai"] .source-preview li { padding: 8px 0; border-bottom: 1px solid var(--rule-2); font-size: var(--type-read); line-height: 1.5; }
html[data-site="ai"] .source-preview li .source-item__meta { display: block; }
html[data-site="ai"] .source-preview .source-preview__more { font-size: var(--type-small); margin: 8px 0 0; }
html[data-site="ai"] .source-stands p { font-size: var(--type-read); line-height: 1.6; margin: 0 0 8px; max-width: 75ch; }
@media (max-width: 760px) {
  html[data-site="ai"] nav.source-tabs { gap: 0 18px; }
  html[data-site="ai"] nav.source-tabs a { padding: 12px 0; }
}
html[data-site="ai"] .source-stands p.source-note { font-size: var(--type-small); line-height: 1.55; }

/* One item of a source's own words on its detail page, boxed: the same box
   as the agreed recommendation page (.rec-quote). Every item of that kind
   on a detail page is boxed; lists are not. */
html[data-site="ai"] .source-quote { background: var(--paper); border: 1px solid var(--rule); padding: 14px 16px; margin: 0 0 16px; max-width: 80ch; }
html[data-site="ai"] .source-quote > .source-item__label { margin-top: 0; }
html[data-site="ai"] .source-quote__cite { font-size: var(--type-small); color: var(--ink-3); line-height: 1.5; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .source-pager { display: flex; justify-content: space-between; gap: 12px; margin: 32px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); font-size: var(--type-small); }
html[data-site="ai"] .source-pager a { display: inline-block; padding: 8px 0; }

/* Overview pattern of the agreed inquiry page (templates_ai/tracker/
   inquiry_detail.html, owner 16 Oct 2026), shared so other pages with an
   Overview tab look the same: "Where it stands" lines, the record at a
   glance in two columns, then a grid of short previews. Values copied from
   that page unchanged. */
html[data-site="ai"] .inq-stands__lines p { font-size: var(--type-read); line-height: 1.6; margin: 0 0 6px; max-width: 75ch; }
html[data-site="ai"] .inq-glance { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); }
html[data-site="ai"] .inq-glance h3 { font-size: var(--type-small); font-weight: 600; color: var(--ink-2); margin: 0 0 8px; }
html[data-site="ai"] .inq-glance h3 span { font-weight: 400; color: var(--ink-3); }
html[data-site="ai"] .inq-glance .response-bar { margin-bottom: 10px; }
html[data-site="ai"] .inq-glance__list { list-style: none; padding: 0; margin: 0; font-size: var(--type-small); }
html[data-site="ai"] .inq-glance__list li { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
html[data-site="ai"] .inq-glance__list strong { margin-left: auto; }
html[data-site="ai"] .inq-note { font-size: var(--type-small); color: var(--ink-3); margin: 12px 0 0; }
html[data-site="ai"] .inq-previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 8px; }
html[data-site="ai"] .inq-preview { border-top: 1px solid var(--rule); padding-top: 12px; display: flex; flex-direction: column; }
html[data-site="ai"] .inq-preview h2 { font-size: var(--type-read); font-weight: 600; margin: 0 0 8px; }
html[data-site="ai"] .inq-preview ul { list-style: none; padding: 0; margin: 0 0 10px; }
html[data-site="ai"] .inq-preview li { font-size: var(--type-read); line-height: 1.4; padding: 5px 0; border-bottom: 1px solid var(--rule); margin: 0; }
html[data-site="ai"] .inq-preview li:last-child { border-bottom: none; }
html[data-site="ai"] :is(.inq-preview li span, .inq-preview > span) { display: block; font-size: var(--type-small); color: var(--ink-3); }
html[data-site="ai"] .inq-preview__figure { font-size: var(--type-title); font-weight: 600; margin: 0; line-height: 1.2; }
html[data-site="ai"] .inq-preview__more { font-size: var(--type-small); margin-top: auto; padding-top: 8px; }
@media (max-width: 760px) { html[data-site="ai"] .inq-glance { grid-template-columns: 1fr; } }
/* Item titles are links in the accent colour, as on the inquiry page. */
html[data-site="ai"] .source-item__title a { color: var(--accent); }
html[data-site="ai"] .source-reader__main:has(> .source-panel) { max-width: none; }

/* Spacing around the tab bar and the start of each panel (owner, 20 Oct
   2026): the tabs sit about 18px below the header rule and the first
   section heading about 20px below the tab bar, on every page that uses the
   tabs. The reader grid, the first block and the first section add nothing
   on top of the tab bar's own margin. */
html[data-site="ai"] nav.source-tabs + .source-reader { margin-top: 0; }
html[data-site="ai"] :is(.source-panel, .inq-panel) > :first-child { margin-top: 0; }
html[data-site="ai"] :is(.source-panel, .inq-panel) > .block:first-child { padding-top: 0; }
html[data-site="ai"] .source-panel > .block + :is(.source-section, .inq-previews, .block) { margin-top: 0; }
/* A section heading carries its own rule, so the block above it drops its faint one. */
html[data-site="ai"] .source-panel > .block:has(+ .source-section) { border-bottom: 0; padding-bottom: 8px; }
html[data-site="ai"] .source-panel > .source-section + .source-section { margin-top: var(--source-section-gap); }
/* Without tabs (one panel, or no script), panels stack: keep the section gap between them. */
html[data-site="ai"]:not(.source-tabs-on) .source-panel:has(> *) + .source-panel { margin-top: var(--source-section-gap); }

/* "Where it stands" lines: lists as well as paragraphs, never wider than a
   reading line, and long URLs or names wrap at 375px. */
html[data-site="ai"] .inq-stands__lines :is(p, ul, ol) { max-width: 75ch; overflow-wrap: anywhere; }
html[data-site="ai"] .inq-stands__lines li { font-size: var(--type-read); line-height: 1.6; }

/* Committee report pages: the government's response to a report
   (templates_ai/tracker/includes/_committee_government_response.html).
   Our summary is not boxed: it opens with a 13px label saying whose words
   it is, then reads at the normal size and weight. */
html[data-site="ai"] .report-glance { font-size: var(--type-read); line-height: 1.6; color: var(--ink-2); margin: 0 0 4px; max-width: 75ch; overflow-wrap: anywhere; }
html[data-site="ai"] .report-glance__label { display: block; font-size: var(--type-small); font-weight: 600; color: var(--ink-3); margin: 0 0 2px; }
html[data-site="ai"] .gov-response { margin: 12px 0 0; }
html[data-site="ai"] .gov-response__doc + .gov-response__doc { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .gov-response__doc-title { font-size: var(--type-read); font-weight: 600; line-height: 1.4; margin: 0 0 4px; overflow-wrap: anywhere; }
html[data-site="ai"] .gov-response__when { font-size: var(--type-read); line-height: 1.6; color: var(--ink); margin: 0 0 8px; max-width: 75ch; overflow-wrap: anywhere; }
html[data-site="ai"] .gov-response__label { display: block; font-size: var(--type-small); font-weight: 600; color: var(--ink-3); line-height: 1.4; margin: 12px 0 4px; max-width: 75ch; }
html[data-site="ai"] .gov-response__headline { font-size: var(--type-read); font-weight: 400; line-height: 1.6; color: var(--ink); margin: 0 0 8px; max-width: 75ch; overflow-wrap: anywhere; }
html[data-site="ai"] .gov-response__points { font-size: var(--type-read); line-height: 1.6; color: var(--ink); margin: 0 0 12px; padding-left: 1.25em; max-width: 75ch; overflow-wrap: anywhere; }
html[data-site="ai"] .gov-response__points li { font-size: var(--type-read); margin: 0 0 6px; }
html[data-site="ai"] .gov-response__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: var(--type-small); margin: 12px 0 0; }
html[data-site="ai"] .gov-response__read { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 9px 16px; border: 1px solid var(--accent); color: var(--accent); font-weight: 600; text-decoration: none; }
html[data-site="ai"] .gov-response__read:hover { background: var(--accent); color: var(--paper); }
html[data-site="ai"] .gov-response__actions a:not(.gov-response__read) { display: inline-block; padding: 8px 0; }

/* The committee's numbered recommendations and conclusions: rows divided by
   a hairline, number on the left. No per-item response status: whether the
   government responded is a fact about the report. */
html[data-site="ai"] .committee-items { list-style: none; margin: 12px 0 0; padding: 0; }
html[data-site="ai"] .committee-items > li { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 0 12px; padding: 8px 0; border-bottom: 1px solid var(--rule-2); font-size: var(--type-read); line-height: 1.5; }
html[data-site="ai"] .committee-items__num { font-size: var(--type-small); color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 2px; }
html[data-site="ai"] .committee-items__title { font-weight: 600; overflow-wrap: anywhere; }
html[data-site="ai"] .committee-items__title a { color: var(--accent); text-decoration: none; }
html[data-site="ai"] .committee-items__title a:hover { text-decoration: underline; }
html[data-site="ai"] .committee-items__meta { display: block; font-size: var(--type-small); color: var(--ink-3); line-height: 1.5; margin: 2px 0 0; }
html[data-site="ai"] .committee-items .source-item__label { margin: 8px 0 4px; }
html[data-site="ai"] .committee-items__more { font-size: var(--type-small); margin: 12px 0 0; }
html[data-site="ai"] .committee-sources { list-style: none; margin: 12px 0 0; padding: 0; }
html[data-site="ai"] .committee-sources li { font-size: var(--type-read); line-height: 1.5; padding: 8px 0; border-bottom: 1px solid var(--rule-2); overflow-wrap: anywhere; }
html[data-site="ai"] .committee-sources li span { display: block; font-size: var(--type-small); color: var(--ink-3); }
@media (max-width: 760px) {
  html[data-site="ai"] .committee-items > li { grid-template-columns: 2.25em minmax(0, 1fr); gap: 0 8px; }
  html[data-site="ai"] .committee-items__title a { display: inline-block; padding: 2px 0; }
}

/* Phones: the same tight start (owner, 20 Oct 2026). The header's link row
   keeps 24px+ touch targets without padding the rule away from the tabs, and
   the tab bar adds no gap of its own beyond its underline. */
@media (max-width: 760px) {
  html[data-site="ai"] .source-header { padding: 18px 0 10px; margin-bottom: 16px; }
  html[data-site="ai"] .source-header .source-links { margin-top: 8px; }
  html[data-site="ai"] .source-page .source-header .source-links a { padding: 4px 0; }
  html[data-site="ai"] nav.source-tabs { margin: 0 0 20px; }
  html[data-site="ai"] nav.source-tabs a { padding: 8px 0; }
  html[data-site="ai"] :is(.source-panel, .inq-panel) > .block:first-child { padding-top: 0; }
}

/* A meta line straight after an item's text (e.g. PPO "Theme") gets a gap. */
html[data-site="ai"] .source-item__text + .source-item__meta,
html[data-site="ai"] .source-more-btn + .source-item__meta { margin-top: 10px; }

/* Jump links straight under the page header: one rule (the header's), not two. */
html[data-site="ai"] .source-header + nav.source-sections { border-bottom: 0; padding-bottom: 0; margin-top: -4px; margin-bottom: 20px; }

/* Content straight under the page header: the header's own gap is enough,
   so the first section does not add its top margin on top of it. */
html[data-site="ai"] .source-header + .source-reader { margin-top: 0; }
html[data-site="ai"] .source-reader__main > :first-child,
html[data-site="ai"] .source-reader__main > :first-child > .source-section:first-child { margin-top: 0; }

/* HSSIB investigation page: investigation, then each report, then HSSIB's
   numbered items under HSSIB's own headings (Matt, 24 Oct 2026). */
html[data-site="ai"] .hssib-detail-page { --hssib-r: #1d4f91; --hssib-o: var(--violet); --hssib-a: var(--pos); --hssib-icb: #7a5a12; }
html[data-site="ai"] .hssib-counts { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--type-small); color: var(--ink-2); margin: 0 0 10px; }
html[data-site="ai"] .hssib-counts > span:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--ink-3); }
html[data-site="ai"] .hssib-intro { max-width: var(--source-reading-width); color: var(--ink-2); line-height: 1.6; margin: 10px 0 0; }
html[data-site="ai"] .hssib-whose { font-size: var(--type-small); font-weight: 600; color: var(--ink-3); }
html[data-site="ai"] .hssib-note { max-width: var(--source-reading-width); font-size: var(--type-small); background: var(--warn-bg); border-left: 3px solid var(--warn); padding: 8px 12px; margin: 10px 0 0; }
html[data-site="ai"] .hssib-muted { color: var(--ink-3); font-size: var(--type-small); font-weight: 400; }
html[data-site="ai"] .hssib-reports { display: flex; flex-direction: column; gap: 14px; max-width: 80ch; }
html[data-site="ai"] .hssib-report { border: 1px solid var(--rule); background: var(--paper); }
html[data-site="ai"] .hssib-report__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 14px; background: var(--accent-wash); cursor: pointer; list-style: none; }
html[data-site="ai"] .hssib-report__head::-webkit-details-marker { display: none; }
html[data-site="ai"] .hssib-report--loose .hssib-report__head { cursor: default; }
html[data-site="ai"] .hssib-report__title { grid-column: 1; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
html[data-site="ai"] .hssib-report__meta { grid-column: 1; font-size: var(--type-small); color: var(--ink-2); overflow-wrap: anywhere; }
html[data-site="ai"] .hssib-report__toggle { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--type-small); color: var(--accent); white-space: nowrap; }
html[data-site="ai"] .hssib-report__toggle::after { content: " \25BE"; }
html[data-site="ai"] .hssib-report[open] .hssib-report__toggle::after { content: " \25B4"; }
html[data-site="ai"] .hssib-report .hssib-hide,
html[data-site="ai"] .hssib-report[open] .hssib-show { display: none; }
html[data-site="ai"] .hssib-report[open] .hssib-hide { display: inline; }
html[data-site="ai"] .hssib-report__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 14px; }
html[data-site="ai"] .hssib-report__link { font-size: var(--type-small); margin: 0; }
html[data-site="ai"] .hssib-group { display: flex; flex-direction: column; gap: 14px; }
html[data-site="ai"] .hssib-group__heading { font-size: var(--type-small); font-weight: 700; color: var(--ink-2); margin: 4px 0 0; padding-bottom: 4px; border-bottom: 1px solid var(--rule-2); }
html[data-site="ai"] .hssib-group__heading .hssib-muted { font-size: var(--type-small); }
html[data-site="ai"] .hssib-item { display: flex; flex-direction: column; gap: 4px; }
html[data-site="ai"] .hssib-item.source-recommendation,
html[data-site="ai"] .hssib-item.source-recommendation:first-child { padding: 0; border-bottom: 0; }
html[data-site="ai"] .hssib-anchor { display: block; height: 0; }
html[data-site="ai"] .hssib-ref { font-size: var(--type-small); font-weight: 700; font-variant-numeric: tabular-nums; margin: 0; }
html[data-site="ai"] .hssib-ref a { color: inherit; }
html[data-site="ai"] .hssib-ref--r { color: var(--hssib-r); }
html[data-site="ai"] .hssib-ref--o { color: var(--hssib-o); }
html[data-site="ai"] .hssib-ref--a { color: var(--hssib-a); }
html[data-site="ai"] .hssib-ref--icb { color: var(--hssib-icb); }
html[data-site="ai"] .hssib-ref__label { font-weight: 400; color: var(--ink-3); }
html[data-site="ai"] .hssib-item__text { max-width: var(--source-reading-width); line-height: 1.6; overflow-wrap: anywhere; }
html[data-site="ai"] .hssib-item__text p + p,
html[data-site="ai"] .hssib-item__text ul + p,
html[data-site="ai"] .hssib-item__text p + ul { margin-top: 6px; }
html[data-site="ai"] .hssib-item__text ul { padding-left: 1.2em; list-style: disc; display: flex; flex-direction: column; gap: 3px; }
html[data-site="ai"] .hssib-to { font-size: var(--type-small); color: var(--ink-2); margin: 0; }
html[data-site="ai"] .hssib-response { font-size: var(--type-small); }
html[data-site="ai"] .hssib-response > summary { cursor: pointer; color: var(--accent); }
html[data-site="ai"] .hssib-response[open] > summary { margin-bottom: 6px; }
html[data-site="ai"] .hssib-response__text { max-width: var(--source-reading-width); line-height: 1.6; margin: 4px 0 8px; }
html[data-site="ai"] .hssib-also { margin: 0; }
html[data-site="ai"] .hssib-whose-foot { font-size: var(--type-small); color: var(--ink-3); border-top: 1px solid var(--rule-2); padding-top: 8px; margin: 0; }
html[data-site="ai"] .hssib-foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; font-size: var(--type-small); }
@media (max-width: 760px) {
  html[data-site="ai"] .hssib-report__head { grid-template-columns: minmax(0, 1fr); padding: 10px 12px; }
  html[data-site="ai"] .hssib-report__toggle { grid-column: 1; grid-row: auto; }
  html[data-site="ai"] .hssib-report__body { padding: 10px 12px 12px; }
}

/* Independent review disclosures use the shared source typography and spacing. */
html[data-site="ai"] .review-filter { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--type-small); color: var(--ink-3); margin: 12px 0 4px; }
html[data-site="ai"] .review-filter button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
html[data-site="ai"] .review-filter button[aria-pressed="true"] { color: var(--ink); font-weight: 600; text-decoration: none; }
html[data-site="ai"] .review-bar { display: flex; height: 8px; background: var(--rule); overflow: hidden; margin: 12px 0 0; max-width: 75ch; }
html[data-site="ai"] .review-bar > span { display: block; height: 100%; }
html[data-site="ai"] .review-bar .seg-accepted, html[data-site="ai"] .review-bar .seg-implemented { background: var(--pos); }
html[data-site="ai"] .review-bar .seg-accepted_in_principle, html[data-site="ai"] .review-bar .seg-partially_accepted { background: var(--warn); }
html[data-site="ai"] .review-bar .seg-rejected { background: var(--neg); }
html[data-site="ai"] .review-bar .seg-not_yet_responded, html[data-site="ai"] .review-bar .seg-pending { background: var(--ink-3); }
html[data-site="ai"] .independent-review-reader .source-item[hidden] { display: none; }

html[data-site="ai"] :is(.independent-review-reader, .detail-reader) .source-header h1 { margin-bottom: 8px; }
html[data-site="ai"] .review-count { margin: 8px 0; }
html[data-site="ai"] .review-context { margin: 4px 0; }
html[data-site="ai"] .review-addressee { padding: 8px 0 12px; }
html[data-site="ai"] .source-page .review-recommendation { border: 1px solid var(--rule); border-radius: 6px; padding: 0; margin: 10px 0; max-width: none; overflow: hidden; }
html[data-site="ai"] .review-recommendation > summary { display: flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 10px 12px; background: var(--accent-soft, #e3eef0); cursor: pointer; list-style: none; font-size: var(--type-read); line-height: 1.5; }
html[data-site="ai"] .review-recommendation > summary::-webkit-details-marker { display: none; }
html[data-site="ai"] .review-recommendation > summary::after { content: '+'; color: var(--accent); margin-left: auto; flex-shrink: 0; }
html[data-site="ai"] .review-recommendation[open] > summary::after { content: '▾'; }
html[data-site="ai"] .review-recommendation > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
html[data-site="ai"] .review-reference { font-size: var(--type-small); font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; flex-shrink: 0; }
html[data-site="ai"] .review-heading { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
html[data-site="ai"] .review-recommendation__body { padding: 12px; }
html[data-site="ai"] .review-verbatim { white-space: normal; overflow-wrap: anywhere; }
html[data-site="ai"] .source-page .review-attribution { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .review-recommendation[hidden] { display: none; }

html[data-site="ai"] .review-line { display: block; white-space: pre-wrap; }
html[data-site="ai"] .review-line--number { padding-left: 1.3em; text-indent: -1.3em; margin: 4px 0; }
html[data-site="ai"] .review-line--blank { min-height: 8px; }
html[data-site="ai"] .review-line--label { color: var(--ink-3); font-size: var(--type-small); font-weight: 600; margin: 4px 0; }
html[data-site="ai"] :is(.independent-review-reader, .detail-reader) .review-response { border: 1px solid var(--rule); border-radius: 6px; padding: 12px; }

html[data-site="ai"] :is(.independent-review-reader, .detail-reader) .source-section { margin-top: 20px; }
html[data-site="ai"] :is(.independent-review-reader, .detail-reader) .review-response > h2 { border: 0; padding: 0; margin: 0; }

/* PFD report page (pfd_detail): the review page's parts, plus what a report
   with letters needs. */
html[data-site="ai"] .detail-reader .source-item__label { display: block; margin-top: 12px; }
html[data-site="ai"] .detail-reader .reader-written-label { font-style: italic; }
html[data-site="ai"] .detail-reader .pfd-letter { border-left: 3px solid var(--rule); padding: 4px 0 4px 14px; margin-top: 8px; max-width: 75ch; }
html[data-site="ai"] .detail-reader .pfd-response-index { list-style: none; padding: 0; margin: 12px 0 16px; max-width: 75ch; border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .detail-reader .pfd-response-index li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--rule-2); font-size: var(--type-read); }
html[data-site="ai"] .detail-reader .pfd-response-index li > span { font-size: var(--type-small); color: var(--ink-3); }
html[data-site="ai"] .detail-reader .reader-flag { font-size: var(--type-small); font-weight: 600; flex-shrink: 0; }
html[data-site="ai"] .detail-reader .reader-flag--muted { font-weight: 400; color: var(--ink-3); }
html[data-site="ai"] .detail-reader .pfd-card-date { min-width: 6.6em; color: var(--ink-3); font-weight: 400; }
html[data-site="ai"] .detail-reader .pfd-document__date--none { font-weight: 400; color: var(--ink-3); }
html[data-site="ai"] .detail-reader .pfd-document + .pfd-document { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .detail-reader .pfd-document__date { font-size: var(--type-small); font-weight: 600; color: var(--ink-2, var(--ink)); margin: 0 0 4px; }
html[data-site="ai"] .detail-reader .pfd-sent-to { margin-top: 8px; }

/* PFD report page: side column of facts (first in the source so it leads on a
   phone, placed right on wider screens). */
html[data-site="ai"] .detail-reader .source-reader__aside { grid-column: 2; grid-row: 1; }
html[data-site="ai"] .detail-reader .source-reader__main { grid-column: 1; grid-row: 1; }
/* Same heading treatment as the main column's sections, so both columns start on one line. */
html[data-site="ai"] .detail-reader .source-reader__aside.reader-facts { border-top: 0; padding-top: 0; }
html[data-site="ai"] .detail-reader .reader-facts > h2 { font-size: var(--type-read); font-weight: 600; margin: 0 0 4px; padding: 0 0 8px; border-bottom: 1px solid var(--ink); }
html[data-site="ai"] .detail-reader .reader-facts h3 { font-size: var(--type-small); font-weight: 600; margin: 18px 0 6px; }
html[data-site="ai"] .detail-reader .reader-facts__list { margin: 0; }
html[data-site="ai"] .detail-reader .reader-facts__list > div { padding: 7px 0; border-bottom: 1px solid var(--rule-2); }
html[data-site="ai"] .detail-reader .reader-facts__list dt { font-weight: 400; color: var(--ink-3); font-size: var(--type-small); }
html[data-site="ai"] .detail-reader .reader-facts__list dd { margin: 0; color: var(--ink); font-weight: 600; }
html[data-site="ai"] .detail-reader .reader-facts__list dd > span { display: block; font-weight: 400; color: var(--ink-3); }
html[data-site="ai"] .detail-reader .reader-facts__list dd.pfd-topic-strip { font-weight: 400; }
html[data-site="ai"] .detail-reader .reader-facts__items { list-style: none; padding: 0; margin: 0; }
html[data-site="ai"] .detail-reader .reader-facts__items li { padding: 4px 0; }
html[data-site="ai"] .detail-reader .reader-facts__items li > span { color: var(--ink-3); }
html[data-site="ai"] .detail-reader .reader-facts__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 18px 0 12px; }

/* The coroner's concerns: the page's lead passage. A reading panel with one
   accent rule, not a bordered box; numbered as the coroner numbered them. */
/* One panel for every block on this page: white, hairline, the reference page's radius. */
html[data-site="ai"] .detail-reader :is(.reader-panel, .reader-lead) { margin-top: 12px; padding: 16px 18px; background: var(--paper, #fff); border: 1px solid var(--rule); border-radius: 6px; max-width: var(--source-reading-width); }
html[data-site="ai"] .detail-reader .reader-caption { margin: 8px 0 0; font-size: var(--type-small); line-height: 1.5; color: var(--ink-3); }
html[data-site="ai"] .detail-reader .reader-panel > .reader-caption:first-child { margin-top: 0; }
html[data-site="ai"] .detail-reader .pfd-empty p { margin: 0; }
html[data-site="ai"] .detail-reader .reader-keyfacts { display: none; }
html[data-site="ai"] .detail-reader .pfd-concerns { list-style: none; padding: 0; margin: 0; }
html[data-site="ai"] .detail-reader .pfd-concerns li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .detail-reader .pfd-concerns li:first-child { border-top: 0; padding-top: 0; }
html[data-site="ai"] .detail-reader .pfd-concerns li:last-child { padding-bottom: 4px; }
html[data-site="ai"] .detail-reader .pfd-concerns__n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; border: 1px solid var(--ink-3); color: var(--ink-2, var(--ink)); background: var(--paper, #fff); font-size: var(--type-small); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
html[data-site="ai"] .detail-reader .pfd-concerns p, html[data-site="ai"] .detail-reader .pfd-concerns__para { margin: 0; font-size: var(--type-read); line-height: 1.6; color: var(--ink); max-width: 68ch; }
html[data-site="ai"] .detail-reader .pfd-concerns__para + .pfd-concerns__para, html[data-site="ai"] .detail-reader .pfd-concerns__para + .pfd-concerns { margin-top: 14px; }
html[data-site="ai"] .detail-reader .reader-source-line { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--rule-2); color: var(--ink-3); font-size: var(--type-small); }
html[data-site="ai"] .detail-reader .reader-written { margin-top: 16px; max-width: var(--source-reading-width); }
html[data-site="ai"] .detail-reader .reader-written .source-item__label { margin-top: 0; }
html[data-site="ai"] .detail-reader .reader-written p { margin: 4px 0 0; font-size: var(--type-read); line-height: 1.6; color: var(--ink-2, var(--ink)); }

/* When organisations responded: a neutral dot plot, one row each. */
html[data-site="ai"] .detail-reader .pfd-timeline { list-style: none; padding: 0; margin: 10px 0 0; }
html[data-site="ai"] .detail-reader .pfd-timeline li:last-child { border-bottom: 0; }
html[data-site="ai"] .detail-reader .pfd-timeline li { display: grid; grid-template-columns: minmax(0, 14em) minmax(80px, 1fr) 8.5em; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--rule-2); font-size: var(--type-small); }
html[data-site="ai"] .detail-reader .pfd-timeline__name { overflow-wrap: anywhere; }
html[data-site="ai"] .detail-reader .pfd-timeline__track { position: relative; height: 14px; background: linear-gradient(var(--rule), var(--rule)) 0 50% / 100% 1px no-repeat; }
html[data-site="ai"] .detail-reader .pfd-timeline__track::after { content: ""; position: absolute; top: -4px; bottom: -4px; left: var(--deadline); border-left: 1.5px dashed var(--ink-3); }
html[data-site="ai"] .detail-reader .pfd-timeline__dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink-2, var(--ink)); }
html[data-site="ai"] .detail-reader .pfd-timeline__value { color: var(--ink-3); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
html[data-site="ai"] .detail-reader .pfd-timeline li.pfd-timeline__axis { border-bottom: 0; padding-top: 2px; color: var(--ink-3); }
html[data-site="ai"] .detail-reader .pfd-timeline__axis .pfd-timeline__track { background: none; height: 1.4em; }
html[data-site="ai"] .detail-reader .pfd-timeline__axis .pfd-timeline__track::after { content: none; }
html[data-site="ai"] .detail-reader .pfd-timeline__tick { position: absolute; top: 0; white-space: nowrap; font-size: var(--type-small); }
html[data-site="ai"] .detail-reader .pfd-timeline__tick--deadline { transform: translateX(-50%); }
@media (max-width: 1000px) {
  /* One column: the reading comes first and the full facts after it, with the
     key facts as one line under the title so they are never out of sight. */
  html[data-site="ai"] .detail-reader .reader-keyfacts { display: block; margin-top: 2px; }
  html[data-site="ai"] .detail-reader .source-reader__aside, html[data-site="ai"] .detail-reader .source-reader__main { grid-column: 1; grid-row: auto; }
  html[data-site="ai"] .detail-reader .source-reader__aside { order: 2; }
}
@media (max-width: 640px) {
  html[data-site="ai"] .detail-reader .reader-lead { padding: 14px 14px 12px; }
  /* On a phone the text wraps under the number, using the full width. */
  html[data-site="ai"] .detail-reader .pfd-concerns li { display: block; }
  html[data-site="ai"] .detail-reader .pfd-concerns__n { float: left; width: 22px; height: 22px; margin: 2px 10px 0 0; }
  html[data-site="ai"] .detail-reader .pfd-concerns li::after { content: ""; display: block; clear: both; }
  html[data-site="ai"] .detail-reader .reader-wide-only { display: none; }
  html[data-site="ai"] .detail-reader .pfd-timeline li { grid-template-columns: minmax(0, 1fr) auto; }
  html[data-site="ai"] .detail-reader .pfd-timeline__track { grid-column: 1 / -1; grid-row: 2; }
}
html[data-site="ai"] .detail-reader .reader-more > summary { cursor: pointer; color: var(--accent); font-size: var(--type-small); margin-top: 8px; }
html[data-site="ai"] .detail-reader .pfd-response-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
html[data-site="ai"] .detail-reader .pfd-topic-strip a + a::before { content: ", "; color: var(--ink-3); }
html[data-site="ai"] .detail-reader .pfd-detail-list { list-style: none; padding: 0; margin: 12px 0 0; font-size: var(--type-read); max-width: 75ch; }
html[data-site="ai"] .detail-reader .pfd-detail-list li { padding: 5px 0; border-bottom: 1px solid var(--rule-2); }
html[data-site="ai"] .detail-reader .pfd-detail-list li > span { font-size: var(--type-small); color: var(--ink-3); }

/* In-page PDF viewer (templates_ai/tracker/includes/_pdf_viewer_ai.html). */
html[data-site="ai"] .pdf-viewer { inset: 0; margin: auto; width: min(1100px, 94vw); height: 90vh; max-width: none; max-height: none; padding: 0; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper, #fff); }
html[data-site="ai"] .pdf-viewer[open] { display: flex; flex-direction: column; }
html[data-site="ai"] .pdf-viewer::backdrop { background: rgba(10, 14, 18, 0.55); }
html[data-site="ai"] .pdf-viewer__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
html[data-site="ai"] .pdf-viewer__title { flex: 1; min-width: 0; margin: 0; font-size: var(--type-read); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-site="ai"] .pdf-viewer__close { border: 0; background: none; font-size: var(--type-title); line-height: 1; padding: 0 4px; color: var(--ink-3); cursor: pointer; }
html[data-site="ai"] .pdf-viewer__close:hover { color: var(--ink); }
html[data-site="ai"] .pdf-viewer__loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; color: var(--ink-3); font-size: var(--type-small); }
html[data-site="ai"] .pdf-viewer iframe { flex: 1; width: 100%; border: 0; background: var(--rule-2); }

/* The report, whole (pfd_detail). */
html[data-site="ai"] .detail-reader .reader-doc p { max-width: 70ch; }
html[data-site="ai"] .detail-reader .reader-doc p { font-size: var(--type-read); line-height: 1.65; margin: 0 0 12px; }
html[data-site="ai"] .detail-reader .reader-doc__section { padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--rule-2); scroll-margin-top: 80px; }
html[data-site="ai"] .detail-reader .reader-doc__section:first-child { border-top: 0; margin-top: 0; padding-top: 4px; }
html[data-site="ai"] .detail-reader .reader-doc__section h3 { display: flex; align-items: baseline; gap: 10px; font-size: var(--type-read); font-weight: 600; margin: 0 0 8px; }
html[data-site="ai"] .detail-reader .reader-doc__n { color: var(--ink-3); font-weight: 400; font-variant-numeric: tabular-nums; min-width: 1.4em; }

/* Concerns beyond the opening, on request. */
html[data-site="ai"] .detail-reader .pfd-concerns-more > summary { cursor: pointer; margin-top: 10px; padding: 8px 0 0; border-top: 1px solid var(--rule-2); color: var(--accent); font-size: var(--type-small); font-weight: 600; }
html[data-site="ai"] .detail-reader .pfd-concerns-more[open] > summary { margin-bottom: 4px; }
html[data-site="ai"] .detail-reader .pfd-concerns-more .pfd-concerns li:first-child { border-top: 1px solid var(--rule-2); padding-top: 14px; }
html[data-site="ai"] .detail-reader .pfd-concerns-more > .pfd-concerns__para { margin-top: 12px; }
html[data-site="ai"] .detail-reader .pfd-concerns-more[open] > summary::marker { content: ""; }
html[data-site="ai"] .detail-reader .reader-full-text { margin-top: 12px; }
html[data-site="ai"] .detail-reader .reader-full-text__intro { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule-2); }
html[data-site="ai"] .detail-reader .pfd-timeline__nodate { color: var(--ink-3); font-size: var(--type-small); font-style: italic; }
@media (min-width: 1001px) {
  /* The facts stay in view while the reader works down the page. */
  html[data-site="ai"] .detail-reader .source-reader__aside.reader-facts { position: sticky; top: 72px; }
}
/* Concerns fold: a set height with a fade, opened in place. */
html[data-site="ai"] .detail-reader .reader-fold.is-clamped { max-height: 19em; overflow: hidden; position: relative; }
html[data-site="ai"] .detail-reader .reader-fold.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5em; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--paper, #fff)); pointer-events: none; }
html[data-site="ai"] .detail-reader .reader-fold-toggle { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: var(--type-small); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
html[data-site="ai"] .detail-reader .reader-fold-toggle[hidden] { display: none; }
html[data-site="ai"] .phso-reader .phso-issues { font-weight: 400; }
/* PHSO decision page: the summary leads, set apart from the PHSO's own text. */
html[data-site="ai"] .detail-reader .detail-outcome { display: inline-block; margin: 0 0 6px; padding: 3px 10px; border: 1px solid var(--ink-3); border-radius: 4px; font-size: var(--type-small); font-weight: 600; color: var(--ink); }
html[data-site="ai"] .detail-reader .reader-summary { margin-top: 12px; padding: 18px 20px; max-width: var(--source-reading-width); background: var(--accent-wash); border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; }
html[data-site="ai"] .detail-reader .reader-summary .source-item__label { margin-top: 0; }
html[data-site="ai"] .phso-reader .phso-ai-label { font-size: var(--type-small); font-weight: 600; color: var(--accent-hover); }
html[data-site="ai"] .detail-reader .reader-summary p { margin: 6px 0 0; font-size: var(--type-read); line-height: 1.6; color: var(--ink); max-width: 68ch; }
html[data-site="ai"] .detail-reader .reader-summary p + .source-item__label { margin-top: 14px; }
/* Outcome per complaint point: neutral shades, darkest for upheld. */
html[data-site="ai"] .phso-reader .phso-points { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); }
html[data-site="ai"] .phso-reader .phso-points h3 { margin: 0 0 8px; font-size: var(--type-small); font-weight: 600; color: var(--ink-2); }
html[data-site="ai"] .phso-reader .phso-points__bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--paper); }
html[data-site="ai"] .phso-reader .phso-points__seg + .phso-points__seg { border-left: 2px solid var(--accent-wash); }
html[data-site="ai"] .phso-reader .phso-points__seg--upheld { background: var(--ink-2); }
html[data-site="ai"] .phso-reader .phso-points__seg--partly-upheld { background: #7d838a; }
html[data-site="ai"] .phso-reader .phso-points__seg--not-upheld { background: #b9bcbf; }
html[data-site="ai"] .phso-reader .phso-points__seg--closed-after-initial-enquiries { background: #dcdcd8; }
html[data-site="ai"] .detail-reader .reader-summary .phso-points__legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; font-size: var(--type-small); color: var(--ink-2); }
html[data-site="ai"] .phso-reader .phso-points__key { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; }
html[data-site="ai"] .phso-reader .phso-points__of { color: var(--ink-3); }
html[data-site="ai"] .phso-reader .phso-points__rows { list-style: none; padding: 0; margin: 10px 0 0; font-size: var(--type-small); }
html[data-site="ai"] .phso-reader .phso-points__rows li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 5px 0; border-top: 1px solid var(--rule); }
html[data-site="ai"] .phso-reader .phso-points__rows li > span + span { color: var(--ink-3); }
/* The PHSO's paragraph numbers, hung in the margin like the coroner's concerns. */
html[data-site="ai"] .phso-reader .source-para--numbered { position: relative; padding-left: 2.6em; }
html[data-site="ai"] .phso-reader .source-para__n { position: absolute; left: 0; top: 0.1em; width: 2.1em; text-align: right; color: var(--ink-3); font-size: var(--type-small); font-weight: 600; font-variant-numeric: tabular-nums; line-height: inherit; }
html[data-site="ai"] .detail-reader .reader-summary__more { margin: 12px 0 0; font-size: var(--type-small); }

/* Numbered recommendations in a folded list (NHS investigation page). */
html[data-site="ai"] .detail-reader .reader-fold--recs.is-clamped { max-height: 34em; }
html[data-site="ai"] .detail-reader .reader-recs { list-style: none; padding: 0; margin: 0; }
html[data-site="ai"] .detail-reader .reader-rec { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); column-gap: 10px; padding: 14px 0; border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .detail-reader .reader-rec:first-child { border-top: 0; padding-top: 0; }
html[data-site="ai"] .detail-reader .reader-rec__n { color: var(--ink-3); font-size: var(--type-small); font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 0.25em; overflow-wrap: anywhere; }
html[data-site="ai"] .detail-reader .reader-rec__meta { margin: 0 0 4px; font-size: var(--type-small); color: var(--ink-3); }
html[data-site="ai"] .detail-reader .reader-rec__meta:empty { display: none; }
html[data-site="ai"] .detail-reader .reader-rec__text { font-size: var(--type-read); line-height: 1.6; color: var(--ink); max-width: 68ch; }
html[data-site="ai"] .detail-reader .reader-rec__label { margin: 6px 0 0; font-size: var(--type-small); color: var(--ink-3); font-style: italic; }
html[data-site="ai"] .detail-reader .reader-rec .source-item__label { margin-top: 12px; }
html[data-site="ai"] .detail-reader .reader-rec__response { border-left: 3px solid var(--rule); padding-left: 12px; margin-top: 6px; }
@media (max-width: 640px) {
  html[data-site="ai"] .detail-reader .reader-rec { display: block; }
  html[data-site="ai"] .detail-reader .reader-rec__n { display: block; margin-bottom: 2px; }
}
@media print {
  html[data-site="ai"] .detail-reader .reader-fold.is-clamped { max-height: none; overflow: visible; }
  html[data-site="ai"] .detail-reader .reader-fold.is-clamped::after, html[data-site="ai"] .detail-reader .reader-fold-toggle { display: none; }
}


/* Select committee inquiry page (committee_inquiry_detail): the PFD report
   page's parts, plus a chart of how the inquiry ran and hairline lists. */
html[data-site="ai"] .committee-reader .committee-scope .source-prose { font-size: var(--type-read); line-height: 1.6; max-width: 68ch; }
html[data-site="ai"] .committee-reader .committee-scope__source { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .committee-reader .committee-timeline .pfd-timeline__track::after { content: none; }
html[data-site="ai"] .committee-reader .committee-timeline .pfd-timeline__dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; opacity: 0.7; }
html[data-site="ai"] .committee-reader .committee-timeline__deadline { position: absolute; top: -4px; bottom: -4px; border-left: 1.5px dashed var(--ink-3); }
html[data-site="ai"] .committee-reader .committee-timeline__tick--year { transform: translateX(-50%); }
html[data-site="ai"] .committee-reader .committee-timeline__tick--end { left: 100%; transform: translateX(-100%); }
html[data-site="ai"] .committee-reader .committee-timeline li { grid-template-columns: minmax(0, 11.5em) minmax(80px, 1fr) 7.5em; }
html[data-site="ai"] .committee-reader .committee-contents li { padding: 3px 0; }
html[data-site="ai"] .committee-reader .committee-contents a { color: var(--ink-2, var(--ink)); text-decoration: none; }
html[data-site="ai"] .committee-reader .committee-contents a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 1000px) {
  /* The facts come after the reading on narrow screens, so a contents list there points backwards. */
  html[data-site="ai"] .committee-reader .committee-contents, html[data-site="ai"] .committee-reader .committee-contents-head { display: none; }
}
html[data-site="ai"] .committee-reader .committee-items-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; max-width: var(--source-reading-width); }
html[data-site="ai"] .committee-reader .committee-items-toggle { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: var(--type-small); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
html[data-site="ai"] .committee-reader .committee-items-toggle[hidden] { display: none; }
html[data-site="ai"] .committee-reader .committee-items-filter { margin: 10px 0 4px; }
html[data-site="ai"] .committee-reader .committee-item__text { max-width: 70ch; }
html[data-site="ai"] .committee-reader .committee-subhead { font-size: var(--type-read); font-weight: 600; margin: 20px 0 6px; }
html[data-site="ai"] .committee-reader .committee-subhead:first-of-type { margin-top: 12px; }
html[data-site="ai"] .committee-reader .committee-subhead .count, html[data-site="ai"] .committee-reader .source-section h2 .count { font-weight: 400; color: var(--ink-3); font-size: var(--type-small); }
html[data-site="ai"] .committee-reader .source-section h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
/* Hairline rows: date, what, and a short reference at the end. */
html[data-site="ai"] .committee-reader .committee-rows { list-style: none; padding: 0; margin: 8px 0 0; max-width: var(--source-reading-width); border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .committee-reader .review-recommendation__body > .committee-rows:first-child { margin-top: 0; border-top: 0; }
html[data-site="ai"] .committee-reader .committee-rows li { display: grid; grid-template-columns: 7em minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--rule-2); font-size: var(--type-read); line-height: 1.45; }
html[data-site="ai"] .committee-reader .committee-rows li:last-child { border-bottom: 0; }
html[data-site="ai"] .committee-reader .committee-rows .source-meta { display: block; margin: 2px 0 0; }
html[data-site="ai"] .committee-reader .committee-rows__date { color: var(--ink-3); font-size: var(--type-small); font-variant-numeric: tabular-nums; white-space: nowrap; }
html[data-site="ai"] .committee-reader .committee-rows__ref { color: var(--ink-3); font-size: var(--type-small); text-align: right; }
html[data-site="ai"] .committee-reader .committee-rows--plain li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
html[data-site="ai"] .committee-reader .committee-rows--plain li > span + span { color: var(--ink-3); font-size: var(--type-small); }
/* Witnesses: name over role, two or three to a row on a wide screen. */
html[data-site="ai"] .committee-reader .committee-people { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16em, 1fr)); gap: 0 20px; max-width: var(--source-reading-width); border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .committee-reader .committee-people li { padding: 7px 0; border-bottom: 1px solid var(--rule-2); font-size: var(--type-small); line-height: 1.4; }
html[data-site="ai"] .committee-reader .committee-people strong { display: block; font-size: var(--type-read); font-weight: 600; color: var(--ink); }
html[data-site="ai"] .committee-reader .committee-people span { display: block; color: var(--ink-3); }
html[data-site="ai"] .committee-reader .gov-response__doc + .gov-response__doc { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule-2); }
@media (max-width: 640px) {
  html[data-site="ai"] .committee-reader .committee-rows li { grid-template-columns: minmax(0, 1fr) auto; }
  html[data-site="ai"] .committee-reader .committee-rows li > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  html[data-site="ai"] .committee-reader .committee-rows--plain li { grid-template-columns: minmax(0, 1fr); }
  html[data-site="ai"] .committee-reader .committee-rows--plain li > span:nth-child(2) { grid-row: auto; }
  html[data-site="ai"] .committee-reader .committee-timeline li { grid-template-columns: minmax(0, 1fr) auto; }
  html[data-site="ai"] .committee-reader .committee-report-card > summary { flex-wrap: wrap; }
  html[data-site="ai"] .committee-reader .committee-item .reader-flag { display: none; }
  html[data-site="ai"] .committee-reader .committee-timeline__tick--year { display: none; }
  html[data-site="ai"] .committee-reader .source-section h2 { flex-wrap: wrap; }
}
/* Items and sessions are long lists: quiet rows that open, not tinted blocks. */
html[data-site="ai"] .committee-reader .committee-item { margin: 0; border-radius: 0; border-width: 0 0 1px; border-color: var(--rule-2); max-width: var(--source-reading-width); }
html[data-site="ai"] .committee-reader .committee-item:first-of-type { border-top: 1px solid var(--rule-2); margin-top: 10px; }
html[data-site="ai"] .committee-reader .committee-item > summary { background: none; padding: 9px 4px; min-height: 0; }
html[data-site="ai"] .committee-reader .committee-item > summary:hover, html[data-site="ai"] .committee-reader .committee-item[open] > summary { background: var(--accent-soft, #e3eef0); }
html[data-site="ai"] .committee-reader .committee-item .review-reference { min-width: 1.8em; text-align: right; }
html[data-site="ai"] .committee-reader .committee-item .review-heading { font-weight: 400; color: var(--ink); }
html[data-site="ai"] .committee-reader .committee-item[open] .review-heading { font-weight: 600; }
html[data-site="ai"] .committee-reader .committee-item .review-recommendation__body { padding: 4px 4px 14px calc(1.8em + 14px); }
html[data-site="ai"] .committee-reader .committee-item .source-item__label { margin-top: 6px; }
html[data-site="ai"] .committee-reader .committee-sessions__title { display: block; font-weight: 600; }
html[data-site="ai"] .committee-reader .committee-sessions__org { color: var(--ink-3); font-size: var(--type-small); }
html[data-site="ai"] .committee-reader .committee-sessions__link { display: block; margin-top: 3px; font-size: var(--type-small); }
@media (max-width: 640px) {
  html[data-site="ai"] .committee-reader .committee-item .review-recommendation__body { padding-left: 4px; }
}
/* Committee inquiry page, second pass (6 Nov 2026): the PHSO page's lead box
   and status label, a section bar, and every list in the same panel. */
html[data-site="ai"] .committee-reader .committee-status { display: inline-block; margin: 0 0 6px; padding: 3px 10px; border: 1px solid var(--ink-3); border-radius: 4px; font-size: var(--type-small); font-weight: 600; color: var(--ink); }
html[data-site="ai"] .committee-reader .committee-lead { margin-top: 12px; padding: 18px 20px; max-width: var(--source-reading-width); background: var(--accent-wash, #eef5f6); border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; }
html[data-site="ai"] .committee-reader .committee-lead .source-item__label { margin-top: 0; }
html[data-site="ai"] .committee-reader .committee-lead__quote { margin: 8px 0 0; padding: 0; border: 0; font-size: var(--type-read); line-height: 1.6; color: var(--ink); max-width: 68ch; }
/* Section bar: sticks under the site header; scrolls sideways on a phone. */
html[data-site="ai"] .committee-reader .committee-jumpbar { position: sticky; top: 43px; z-index: 5; margin: 14px 0 0; background: var(--bg, #fafaf8); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
html[data-site="ai"] .committee-reader .committee-jumpbar ul { display: flex; gap: 2px 18px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
html[data-site="ai"] .committee-reader .committee-jumpbar ul::-webkit-scrollbar { display: none; }
html[data-site="ai"] .committee-reader .committee-jumpbar li { flex-shrink: 0; }
html[data-site="ai"] .committee-reader .committee-jumpbar a { display: block; padding: 9px 0 7px; border-bottom: 2px solid transparent; color: var(--ink-2, var(--ink)); font-size: var(--type-small); text-decoration: none; white-space: nowrap; }
html[data-site="ai"] .committee-reader .committee-jumpbar a span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
html[data-site="ai"] .committee-reader .committee-jumpbar a:hover { color: var(--accent); }
html[data-site="ai"] .committee-reader .committee-jumpbar a[aria-current] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
html[data-site="ai"] .committee-reader .committee-jumpbar + .source-reader { margin-top: 20px; }
html[data-site="ai"] .committee-reader .source-section, html[data-site="ai"] .committee-reader .committee-subhead { scroll-margin-top: 100px; }
/* Lists inside a panel: rows run edge to edge of the panel, no outer rules. */
html[data-site="ai"] .committee-reader .committee-list-panel { padding: 4px 18px; }
html[data-site="ai"] .committee-reader .committee-list-panel > :is(.committee-rows, .committee-people) { margin: 0; border-top: 0; max-width: none; }
html[data-site="ai"] .committee-reader .committee-list-panel > .committee-people li { border-bottom: 1px solid var(--rule-2); }
html[data-site="ai"] .committee-reader .committee-items .committee-item:first-of-type { border-top: 0; margin-top: 0; }
html[data-site="ai"] .committee-reader .committee-items .committee-item:last-of-type { border-bottom: 0; }
html[data-site="ai"] .committee-reader .committee-items .committee-item { max-width: none; }
html[data-site="ai"] .committee-reader .committee-items .committee-item > summary { margin: 0 -8px; padding-left: 12px; padding-right: 12px; }
html[data-site="ai"] .committee-reader .committee-fold { display: block; width: calc(100% + 36px); margin: 0 -18px -4px; padding: 10px 18px; border: 0; border-top: 1px solid var(--rule-2); background: none; color: var(--accent); font: inherit; font-size: var(--type-small); font-weight: 600; text-align: left; cursor: pointer; }
html[data-site="ai"] .committee-reader .committee-fold:hover { background: var(--accent-soft, #e3eef0); }
html[data-site="ai"] .committee-reader .pfd-timeline__name { color: var(--ink-2, var(--ink)); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
html[data-site="ai"] .committee-reader .pfd-timeline__name:hover { color: var(--accent); text-decoration-color: currentColor; }
@media (max-width: 640px) {
  html[data-site="ai"] .committee-reader .committee-lead { padding: 14px 14px 14px 16px; }
  html[data-site="ai"] .committee-reader .committee-list-panel { padding: 2px 14px; }
  html[data-site="ai"] .committee-reader .committee-fold { width: calc(100% + 28px); margin: 0 -14px -2px; padding: 10px 14px; }
}
html[data-site="ai"] .committee-reader [data-fold] > [hidden] { display: none; }
@media (min-width: 1001px) {
  html[data-site="ai"] .committee-reader .source-reader__aside.reader-facts { top: 104px; }
}
html[data-site="ai"] .committee-reader :is(.review-recommendation, .pfd-timeline) { scroll-margin-top: 100px; }
/* The report and the government's response: one plain panel per report. */
html[data-site="ai"] .committee-reader .committee-report { scroll-margin-top: 100px; }
html[data-site="ai"] .committee-reader .committee-report + .committee-report { margin-top: 14px; }
html[data-site="ai"] .committee-reader .committee-report__title { margin: 0; font-size: var(--type-read); font-weight: 600; line-height: 1.4; }
html[data-site="ai"] .committee-reader .committee-report__when { margin: 6px 0 0; font-size: var(--type-read); line-height: 1.6; color: var(--ink-2, var(--ink)); }
html[data-site="ai"] .committee-reader .committee-report .gov-response { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule-2); }
html[data-site="ai"] .committee-reader .committee-report .gov-response__label { display: block; font-size: var(--type-small); color: var(--ink-3); font-weight: 400; font-style: italic; }
html[data-site="ai"] .committee-reader .committee-report__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rule-2); font-size: var(--type-small); }
html[data-site="ai"] .committee-reader .committee-kinds { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
html[data-site="ai"] .committee-reader .committee-kinds[hidden] { display: none; }
html[data-site="ai"] .committee-reader .committee-kinds button { padding: 5px 12px; border: 0; border-left: 1px solid var(--rule); background: var(--paper, #fff); color: var(--ink-2, var(--ink)); font: inherit; font-size: var(--type-small); cursor: pointer; }
html[data-site="ai"] .committee-reader .committee-kinds button:first-child { border-left: 0; }
html[data-site="ai"] .committee-reader .committee-kinds button[aria-pressed="true"] { background: var(--ink); color: var(--paper, #fff); }
html[data-site="ai"] .committee-reader .committee-items-bar { align-items: center; margin-top: 10px; }
/* What it found: the committee's own summary, in the lead-box style. */
html[data-site="ai"] .committee-reader .committee-findings + .committee-findings { margin-top: 14px; }
html[data-site="ai"] .committee-reader .committee-findings__text { margin-top: 8px; max-width: 68ch; }
html[data-site="ai"] .committee-reader .committee-findings__text p { margin: 0 0 10px; font-size: var(--type-read); line-height: 1.6; color: var(--ink); }
html[data-site="ai"] .committee-reader .committee-findings__text h3 { margin: 14px 0 4px; font-size: var(--type-read); font-weight: 600; }
html[data-site="ai"] .committee-reader .committee-findings .committee-fold { width: auto; margin: 2px 0 0; padding: 0; border: 0; background: none; }
html[data-site="ai"] .committee-reader .committee-findings .committee-fold:hover { background: none; text-decoration: underline; }
/* Scope as a quoted paragraph; the two summary sections share the lead box. */
html[data-site="ai"] .committee-reader .committee-scope { margin: 10px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--rule); font-size: var(--type-read); line-height: 1.6; color: var(--ink-2, var(--ink)); max-width: 68ch; }
html[data-site="ai"] .committee-reader .committee-scope + .reader-caption { margin-top: 6px; padding-left: 18px; }
html[data-site="ai"] .committee-reader .committee-lead.committee-report { padding-top: 16px; }
html[data-site="ai"] .committee-reader .committee-lead .committee-report__links, html[data-site="ai"] .committee-reader .committee-lead .gov-response { border-top-color: rgba(0, 0, 0, 0.08); }
html[data-site="ai"] .committee-reader .committee-missing { margin: 10px 0 0; padding: 12px 16px; max-width: var(--source-reading-width); border: 1px dashed var(--rule); border-radius: 6px; font-size: var(--type-read); line-height: 1.6; color: var(--ink-2, var(--ink)); }
/* Committee page (committee_detail): the inquiry page's parts. */
html[data-site="ai"] .committee-reader .committee-find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 0 0; max-width: var(--source-reading-width); }
html[data-site="ai"] .committee-reader .committee-find__input { flex: 1 1 16em; min-width: 0; height: 38px; padding: 0 0.75rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper, #fff); color: var(--ink); font: inherit; }
html[data-site="ai"] .committee-reader .committee-find .btn { height: 38px; }
html[data-site="ai"] .committee-reader .committee-status-switch a { display: inline-block; padding: 5px 12px; border-left: 1px solid var(--rule); background: var(--paper, #fff); color: var(--ink-2, var(--ink)); font-size: var(--type-small); text-decoration: none; }
html[data-site="ai"] .committee-reader .committee-status-switch a:first-child { border-left: 0; }
html[data-site="ai"] .committee-reader .committee-status-switch a[aria-current] { background: var(--ink); color: var(--paper, #fff); }
html[data-site="ai"] .committee-reader .committee-more-filters { margin: 10px 0 0; max-width: var(--source-reading-width); }
html[data-site="ai"] .committee-reader .committee-more-filters > summary { cursor: pointer; color: var(--accent); font-size: var(--type-small); }
html[data-site="ai"] .committee-reader .committee-filters .filter-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 0; }
html[data-site="ai"] .committee-reader .committee-inquiries__title { display: block; color: var(--ink); font-weight: 600; text-decoration: none; }
html[data-site="ai"] .committee-reader .committee-inquiries__title:hover { color: var(--accent); text-decoration: underline; }
html[data-site="ai"] .committee-reader .committee-inquiries__state { display: block; margin-top: 2px; color: var(--ink-3); font-size: var(--type-small); }
html[data-site="ai"] .committee-reader .committee-inquiries li { grid-template-columns: 5.5em minmax(0, 1fr); }
html[data-site="ai"] .committee-reader .committee-members li > span { color: var(--ink-3); }
html[data-site="ai"] .committee-reader .reader-facts .committee-fold { width: auto; margin: 4px 0 0; padding: 0; border: 0; background: none; }
@media (max-width: 640px) {
  html[data-site="ai"] .committee-reader .committee-inquiries li { grid-template-columns: minmax(0, 1fr); }
  html[data-site="ai"] .committee-reader .committee-inquiries li > span:nth-child(2) { grid-row: auto; }
}
html[data-site="ai"] .committee-reader .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Select committees index (committee_list). */
html[data-site="ai"] .committee-index .committee-index__find { max-width: none; margin-top: 18px; }
html[data-site="ai"] .committee-index .committee-index__find .committee-find__input { max-width: 34em; }
html[data-site="ai"] .committee-index .committee-index__more { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; padding-top: 10px; }
html[data-site="ai"] .committee-index .committee-index__rows li { grid-template-columns: minmax(0, 1fr) auto; }
html[data-site="ai"] .committee-index .committee-index__rows .committee-rows__ref { line-height: 1.5; }
html[data-site="ai"] .committee-index #committee-results h2, html[data-site="ai"] .committee-index #coverage h2, html[data-site="ai"] .committee-index #matching-inquiries h2 { margin-top: 26px; }
html[data-site="ai"] .committee-index .committee-coverage li { grid-template-columns: 9em 9em minmax(0, 1fr); }
@media (max-width: 640px) {
  html[data-site="ai"] .committee-index .committee-index__rows li, html[data-site="ai"] .committee-index .committee-coverage li { grid-template-columns: minmax(0, 1fr); }
  html[data-site="ai"] .committee-index .committee-index__rows .committee-rows__ref { text-align: left; }
}
html[data-site="ai"] .committee-index .source-section, html[data-site="ai"] .committee-index .source-header .review-count { max-width: var(--source-reading-width); }
html[data-site="ai"] .committee-index .committee-index__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; margin: 0; padding: 9px 0; max-width: none; border-bottom: 1px solid var(--rule-2); }
html[data-site="ai"] .committee-index .committee-index__row:last-child { border-bottom: 0; }
html[data-site="ai"] .committee-index .committee-index__row .source-result-title { margin: 0; font-size: var(--type-read); font-weight: 600; }
html[data-site="ai"] .committee-index .committee-index__row .source-result-title a { color: var(--ink); text-decoration: none; }
html[data-site="ai"] .committee-index .committee-index__row .source-result-title a:hover { color: var(--accent); text-decoration: underline; }
html[data-site="ai"] .committee-index .committee-index__row .source-result-meta { display: block; margin: 2px 0 0; color: var(--ink-3); font-size: var(--type-small); }
html[data-site="ai"] .committee-index .committee-index__row .committee-rows__ref { margin: 0; }
html[data-site="ai"] .committee-index .committee-find__field { flex: 1 1 16em; margin: 0; max-width: 34em; }
html[data-site="ai"] .committee-index .committee-find__field .committee-find__input { width: 100%; }
html[data-site="ai"] .committee-index .committee-index__find .committee-more-filters { flex-basis: 100%; margin: 0; }
html[data-site="ai"] .committee-index .committee-index__find > a { font-size: var(--type-small); }
@media (max-width: 640px) {
  html[data-site="ai"] .committee-index .committee-index__row { grid-template-columns: minmax(0, 1fr); }
}
html[data-site="ai"] .committee-reader .committee-filters .filter-label { flex: 0 0 4.5em; align-self: center; color: var(--ink-3); font-size: var(--type-small); font-weight: 600; }
html[data-site="ai"] .committee-reader .committee-sessions__witnesses { display: block; line-height: 1.5; }
