/* Scoped additions for the noise pilot; existing answer pages keep their layout. */
.noise-guide { max-width: 980px; margin-inline: auto; }
.noise-eyebrow { color: var(--pico-primary); font-size: .76rem; letter-spacing: .12em; font-weight: 700; margin-bottom: .6rem; }
.noise-heading h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .65rem; }
.noise-scope { max-width: 48rem; margin-bottom: .65rem; }
.noise-meta, .noise-label { color: var(--pico-muted-color); font-size: .88rem; }
.noise-guide .answer { font-size: 1.12rem; line-height: 1.65; padding: .5rem 0 .5rem 1.2rem; }
.noise-jumps { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .65rem 1.2rem; margin: 1.4rem 0 2.3rem; }
.noise-jumps a { margin: 0; padding: 0; font-size: .88rem; }
.noise-guide section { scroll-margin-top: 1.25rem; }
.noise-guide > section { margin-top: 2.5rem; }
.noise-guide h2 { font-size: 1.45rem; }
.noise-guide h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.noise-table-scroll { overflow-x: auto; margin-bottom: 1.2rem; border: 1px solid var(--pico-muted-border-color); border-radius: .4rem; }
.noise-rules { margin: 0; width: 100%; }
.noise-rules th, .noise-rules td { vertical-align: top; white-space: normal; padding: .95rem; line-height: 1.55; }
.noise-rules thead th { background: var(--pico-card-sectioning-background-color); font-size: .8rem; }
.noise-rules th[scope="row"] { width: 23%; font-weight: 600; }
.noise-rules td { width: 38.5%; }
.noise-rules small, .noise-neighbours small { display: block; font-weight: 400; margin-top: .4rem; color: var(--pico-muted-color); }
.noise-citations { display: block; margin-top: .45rem; font-size: .83rem; }
.noise-question { padding: 1.3rem 0; border-bottom: 1px solid var(--pico-muted-border-color); }
.noise-question p { margin-bottom: .5rem; }
.noise-panel { border: 1px solid var(--pico-muted-border-color); border-radius: .5rem; padding: 1.5rem; background: var(--pico-card-background-color); }
.noise-source-dates { display: grid; grid-template-columns: 12rem 1fr; gap: .8rem 1rem; }
.noise-source-dates dt { font-weight: 600; }
.noise-source-dates dd { margin: 0; }
.noise-limitations { border-top: 1px solid var(--pico-muted-border-color); padding-top: 1rem; }
.noise-limitations ul { margin-bottom: 0; }
.noise-neighbours { padding-left: 1.2rem; }
.noise-neighbours li { margin-bottom: .8rem; }
.source-passage { font: inherit; color: inherit; background: transparent; padding: 0; scroll-margin-top: 5rem; }
.source-passage:target { background: #fff0a6; color: #242424; outline: 3px solid #e1b84b; }
@media (max-width: 600px) {
  .noise-guide h1 { font-size: 2rem; }
  .noise-panel { padding: 1rem; }
  .noise-source-dates { display: block; }
  .noise-source-dates dd { margin: .2rem 0 1rem; }
  .noise-rules { min-width: 600px; }
  body:has(.noise-guide) header.container > nav { flex-wrap: wrap; }
  body:has(.noise-guide) header.container > nav > ul { flex-wrap: wrap; }
  body:has(.noise-guide) nav[aria-label="breadcrumb"] ul { flex-wrap: wrap; }
}
@media print {
  .noise-jumps, #noise-filter, label[for="noise-filter"] { display: none; }
  .noise-table-scroll { overflow: visible; }
  .noise-rules { min-width: 0; }
  .noise-panel { break-inside: avoid; }
}
