:root {
  color-scheme: dark;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.7;
  color: #eee6d9;
  background: #141311;
  --accent: #f0bd73;
  --edge: #74634c;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
main { width: min(100% - 2rem, 52rem); margin: 3.5rem auto 5rem; overflow-wrap: anywhere; }
main[data-view="listening"] { --accent: #88dedb; --edge: #537d7b; }
h1 { color: var(--accent); font-size: clamp(1.7rem, 5vw, 2.7rem); line-height: 1.2; font-weight: normal; }
p { white-space: pre-wrap; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: -6rem; left: 1rem; padding: .5rem 1rem; background: #26221c; z-index: 1; }
.skip-link:focus { top: .5rem; }
.notice { border-left: 3px solid var(--accent); padding: .75rem 1rem; background: #24211c; }
.table-wrap { margin: 2rem 0; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; }
th, td { border: 1px solid var(--edge); padding: .75rem; text-align: left; vertical-align: top; white-space: pre-wrap; }
th { color: var(--accent); background: #24211c; }
fieldset { min-width: 0; margin: 2rem 0; padding: 1.25rem; border: 1px solid var(--edge); }
legend { max-width: 100%; padding: 0 .5rem; color: var(--accent); }
.field { margin-bottom: 1.25rem; }
label, small { display: block; }
small { margin-top: .35rem; color: #bfb6a8; font-size: .85rem; }
input, textarea, select, button { font: inherit; max-width: 100%; border-radius: .2rem; }
input:not([type="checkbox"]):not([type="hidden"]), select, button { min-height: 2.75rem; }
input, textarea, select { width: 100%; color: #f8f2e8; background: #1b1a17; border: 1px solid var(--edge); padding: .55rem .65rem; }
textarea { resize: vertical; }
input[type="checkbox"] { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); }
button { background: var(--accent); color: #1b1712; border: 1px solid transparent; padding: .6rem 1rem; cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
nav ul { padding-left: 1.3rem; }
nav li { margin-block: .6rem; }
@media (max-width: 36rem) {
  main { margin-top: 2rem; }
  fieldset { padding: .85rem; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  tr { margin-bottom: 1rem; border: 1px solid var(--edge); }
  td { border: 0; border-bottom: 1px solid #39342d; }
  td:last-child { border-bottom: 0; }
  td::before { content: attr(data-label); display: block; color: var(--accent); font-weight: bold; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
