/* The same site canvas and header, with paper panels for readable notes. */
.notes-page { max-width: 1020px; margin-block: 28px; padding-top: 36px; }
.notes-heading { margin-bottom: 28px; }
.notes-page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 12px; }
.notes-page h2 { font-size: 27px; margin: 0 0 16px; }
.notes-page h3 { font-size: 18px; margin: 0; line-height: 1.4; }
.notes-page p { font-size: 15px; line-height: 1.7; color: var(--ink); }
.notes-page section { margin: 32px 0; scroll-margin-top: 24px; }
.notes-page a { overflow-wrap: anywhere; }
.note-entry { background: var(--sand-input); border: 1px solid var(--sand-rule); border-radius: 8px; margin: 10px 0; overflow: hidden; }
.note-entry summary { cursor: pointer; padding: 18px 48px 18px 20px; position: relative; list-style: none; }
.note-entry summary::-webkit-details-marker { display: none; }
.note-entry summary::after { content: '+'; position: absolute; right: 20px; top: 18px; font-size: 22px; }
.note-entry[open] > summary::after { content: '−'; }
.note-entry[open] > summary { border-bottom: 1px solid var(--sand-rule); }
.note-entry summary:hover { background: #ecdfc3; }
.note-body { padding: 0 20px 12px; }
.note-sources { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.note-sources a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
.exclusion-search { background-color: var(--ink); color: var(--on-ink); padding: 18px 20px; border-radius: 8px; margin: 20px 0 12px; }
.exclusion-search label { display: block; margin-bottom: 8px; font-size: 13px; }
.exclusion-search input { width: 100%; background: var(--sand-input); color: var(--ink); border: 1px solid var(--sand-rule); border-radius: 5px; padding: 12px; font-size: 16px; }
.exclusion-search p { color: var(--on-ink); font-size: 12px; margin: 10px 0 0; }
.exclusion-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.exclusion-entry { background: var(--sand-input); border: 1px solid var(--sand-rule); border-radius: 8px; padding: 20px; }
.exclusion-entry > p { margin: 8px 0; }
.exclusion-entry details > summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-size: 12px; }
.exclusion-evidence { border-top: 1px solid var(--sand-rule); }
.exclusion-evidence p { font-size: 13px; }
.notes-more { border-top: 1px solid var(--line); padding-top: 24px; }
.notes-page :focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.notes-page [hidden] { display: none !important; }
/* Archived technical detail remains optional, on equally readable paper. */
.notes-page .manual-profiles, .notes-page .lineage-record, .notes-page .ledger-controls { background: var(--sand-input); }
@media (max-width: 640px) {
  .notes-page { margin-block: 24px; padding-top: 24px; }
  .notes-page h2 { font-size: 24px; }
  .note-entry summary { padding: 16px 42px 16px 16px; }
  .note-body { padding-inline: 16px; }
  .exclusion-entry { padding: 16px; }
}

.notes-page .notes-more { background-color: var(--ink); border: 0; border-radius: 10px; padding: 24px; }
.notes-page .notes-more h2,
.notes-page .notes-more p,
.notes-page .notes-more a { color: var(--on-ink); }
.notes-page .notes-more a:hover { color: #fff4db; }
.notes-page .notes-more :focus-visible { outline-color: var(--map-gold); }

.notes-contents{display:flex;flex-wrap:wrap;gap:8px 24px;margin:18px 0}.notes-contents a{min-height:44px;display:inline-flex;align-items:center}.notes-updates{padding-block:12px}.notes-updates .update-entry{margin-block:12px}.notes-updates .update-entry h3{color:inherit}
