/* Skin: black ink, oatmeal stock, grey bands, and a single small blue mark. */
:root { --paper: #e7e4db; --pale: #f6f4ee; --grey: #d1d0c9; --ink: #20211f; --muted: #4c4d47; --spot: #3e52a0; }
body { color: var(--ink); background: var(--paper); }
a { color: inherit; }
button { color: inherit; }
::selection { background: #20211f; color: #f6f4ee; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.term-jump:focus-visible, .source-opener:focus-visible, .shelf-close:focus-visible { outline-offset: -6px; }
.shelf-is-open { overflow: hidden; }
.bulletin-name { color: var(--ink); }
.mast-dot { color: var(--spot); }
.mast-purpose { color: var(--muted); }
.topic-folds { background: var(--grey); border-block: 2px solid var(--ink); }
.topic-fold + .topic-fold { border-left: 2px solid var(--paper); }
.topic-fold ul { background: var(--pale); border-bottom: 4px solid var(--ink); box-shadow: 0 10px 0 #20211f12; }
.topic-fold a { text-decoration: none; }
.topic-fold a:hover, .topic-fold a:focus-visible, .topic-fold a[aria-current] { background: var(--grey); }
.topic-fold summary:hover, .topic-fold[open] summary { background: var(--pale); }
.term-ticket { background: var(--grey); clip-path: polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,22px 100%,0 calc(100% - 22px)); }
.ticket-heading { color: var(--muted); }
.ticket-link { border-top: 2px solid var(--ink); }
.ticket-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.idea-band-paper { background: var(--pale); }
.idea-band-grey { background: var(--grey); }
.idea-band-light { background: #eeece4; }
.idea-band-ink { background: var(--ink); color: var(--pale); }
.source-cue { color: var(--muted); }
.idea-band-ink .source-cue { color: #e1dfd6; }
.source-cue:hover { text-decoration-thickness: 2px; }
.term-jump { background: var(--paper); clip-path: polygon(0 0,calc(100% - 17px) 0,100% 17px,100% 100%,17px 100%,0 calc(100% - 17px)); }
.idea-band-grey .term-jump { background: var(--pale); }
.idea-band-ink .term-jump { color: var(--ink); }
.term-jump:hover { background: #c1c1b9; }
.term-jump-note { color: var(--muted); }
.visit-questions li::marker { color: currentColor; }
.source-opener { border: 0; background: var(--ink); color: var(--pale); clip-path: polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px)); }
.source-opener:hover { background: #41423d; }
.evidence-file { background: var(--pale); clip-path: polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,0 100%); }
.evidence-file a { text-decoration-thickness: 1px; text-underline-offset: .2em; border-bottom: 1px solid #77786f; }
.evidence-file a:hover { text-decoration-thickness: 2px; }
.bulletin-footer { background: var(--grey); border-top: 3px solid var(--ink); }
.skip-reading { background: var(--ink); color: var(--pale); }
.source-shelf { background: var(--pale); color: var(--ink); border: 0; border-left: 6px solid var(--ink); box-shadow: -20px 0 60px #0003; }
.source-shelf::backdrop { background: #20211f70; }
.source-shelf .evidence-file { background: none; clip-path: none; }
.shelf-close { border: 0; background: var(--grey); clip-path: polygon(0 0,calc(100% - 13px) 0,100% 13px,100% 100%,0 100%); }
.misfiled-ticket { background: var(--pale); clip-path: polygon(0 0,calc(100% - 26px) 0,100% 26px,100% 100%,26px 100%,0 calc(100% - 26px)); }
@media (max-width: 680px) {
  .topic-fold + .topic-fold { border-left: 0; border-top: 2px solid var(--paper); }
}
@media print {
  body, .idea-band, .bulletin-footer { background: white; color: black; }
  .source-tools, .topic-folds, .reading-continuation, .skip-reading { display: none; }
  .opening-spread, .idea-band { display: block; padding: 20px; }
  .term-ticket { clip-path: none; border: 2px solid black; }
  a { color: black; }
}
