:root {
  color-scheme: light;
  --ink: #252422;
  --muted: #403d39;
  --page: #fffcf2;
  --surface: #ffffff;
  --line: #ccc5b9;
  --primary: #a8441f;
  --primary-hover: #803319;
  --accent: #a8441f;
  --chart-secondary: #403d39;
  --tint: #f1ebe0;
  --pressed: #e4d9c9;
  --control-border: #81796d;
}
* { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
a[href], button, summary, select, label[for] { cursor: pointer; }
a { color: var(--primary); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:active { color: var(--accent); }
.skip-link { position: absolute; top: -80px; left: 1rem; background: var(--surface); padding: .8rem; z-index: 2; }
.skip-link:focus { top: .5rem; }
.native-select { position: relative; display: block; min-width: 0; }
.native-select select { appearance: none; padding-inline-end: 3rem; }
.native-select::after, summary::after {
  content: '';
  position: absolute;
  right: .85rem;
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: -.75rem;
  background: var(--ink);
  mask: url('/assets/chevron-down.svg') center / contain no-repeat;
  pointer-events: none;
}
.native-select:has(select:disabled)::after { background: var(--muted); }
summary { position: relative; list-style: none; padding-inline-end: 3rem; }
summary::-webkit-details-marker { display: none; }
summary::after { transform: rotate(-90deg); }
details[open] > summary::after { transform: none; }
@media (forced-colors: active) {
  .native-select select { appearance: auto; }
  .native-select::after { display: none; }
  summary::after { background: CanvasText; }
}
