/* Skin: putty paper, petrol ink, and softly rounded writing surfaces. */
:root { color-scheme: light; --ground: #c9c2b3; --sheet: #e4dfd3; --ink: #272b27; --petrol: #155451; --rule: #74796f; --writing: #f4f0e6; }
body { color: var(--ink); background: var(--ground); }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, textarea { color: var(--ink); }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 4px; }
::selection { background: var(--petrol); color: var(--writing); }
.masthead__name { color: var(--ink); }
.masthead__description, .masthead__running, .chapter__running-head, .chapter__asof, .plate__caption, .turn__cue { color: #3d514b; }
.drawer { border-block: 1px solid var(--petrol); }
.drawer__handle { color: var(--petrol); }
.drawer__group + .drawer__group { border-left: 1px solid var(--rule); }
.drawer__link[aria-current='page'] { color: var(--ink); font-weight: 600; text-decoration-thickness: 2px; }
.chapter__opening { border-bottom: 1px solid var(--rule); }
.chapter__contents { border-left: 1px solid var(--rule); }
.plate__drawing { border-radius: 6px; }
.worksheet { border: 1px solid var(--rule); border-radius: 6px; background: var(--sheet); }
.worksheet__legend { color: var(--petrol); }
.worksheet__box { accent-color: var(--petrol); }
.worksheet__answer { border: 1px solid var(--rule); border-radius: 4px; background: var(--writing); caret-color: var(--petrol); }
.worksheet__answer:hover { border-color: var(--petrol); }
.chapter-routes__link { border-bottom: 1px solid var(--rule); }
.endnotes, .print-tools, .turn { border-top: 1px solid var(--rule); }
.endnotes__item::marker { color: var(--petrol); }
.print-tools__button { border: 1px solid var(--petrol); border-radius: 6px; color: var(--writing); background: var(--petrol); }
.print-tools__button:hover { background: #113f3d; }
.colophon { border-top: 1px solid var(--petrol); }
.folio__skip { border-radius: 6px; background: var(--writing); color: var(--petrol); }
@media (max-width: 640px) {
  .chapter__contents { border-left: 0; }
  .drawer__group + .drawer__group { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  body, .worksheet, .worksheet__answer { color: #000; background: #fff; }
  a, .worksheet__legend, .chapter__running-head, .chapter__asof, .masthead__description { color: #000; }
  .chapter__contents { border-left: 0; }
}
