/* Public URL: /site.css (root-absolute). Do not add site/metrics. */
html {
  color: #000;
  background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.5;
}
body {
  max-width: 52rem;
  margin: 1.5rem auto;
  padding: 0 1rem;
  text-align: left;
}
.skip {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: 0;
  padding: 0.35rem 0.5rem;
  color: #000;
  background: #fff;
  transform: translateY(-120%);
}
.skip:focus {
  transform: none;
  outline: 2px solid currentColor;
  outline-offset: 2px;
  z-index: 1;
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid currentColor;
}
.wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.wordmark a { color: inherit; text-decoration: none; }
header nav ul,
.jump ul,
.roots ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
header nav a, .jump a, .roots a, .more a, footer a {
  color: inherit;
  text-decoration: underline;
  min-height: 24px;
  padding: 0.15rem 0;
}
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
h1 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem; }
h2 { font-size: 1.25rem; font-weight: 700; margin: 1.25rem 0 0.5rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.25rem; }
.how { max-width: 70ch; }
.how p, .how li { margin: 0 0 0.5rem; }
.how ul { margin: 0 0 0.75rem; padding-left: 1.25rem; }
.jump, .roots { margin: 0 0 1.5rem; }
.jump p { margin: 0 0 0.35rem; font-weight: 700; }
.roots h2 { margin: 0 0 0.35rem; }
.chords {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 1.25rem 0;
}
article { min-width: 0; }
article p { margin: 0 0 0.35rem; }
article ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.95rem;
}
article li { margin: 0; }
.more { max-width: 70ch; margin: 1.25rem 0 0; }
.extra p { max-width: 70ch; margin: 0 0 0.5rem; }
.extra h3 { margin: 1.25rem 0 0.35rem; }
.extra cite { font-style: italic; font-weight: inherit; }
footer {
  margin: 2.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
  font-size: 0.85rem;
}
footer p,
footer nav {
  display: inline;
  margin: 0;
  max-width: none;
}
footer nav a[aria-current="page"] { font-weight: 700; }
#consent-banner {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  box-sizing: border-box;
  width: 500px;
  max-width: calc(100vw - 2rem);
  margin: 0 auto;
  padding: 0.65rem 0.75rem;
  color: #000;
  background: #fff;
  border: 1px solid currentColor;
  font-size: 0.85rem;
  line-height: 1.3;
}
#consent-banner[hidden] { display: none !important; }
#consent-banner p { margin: 0; flex: 1 1 12rem; }
#consent-banner a { color: inherit; text-decoration: underline; }
.consent-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}
#consent-banner button {
  margin: 0;
  padding: 0.35rem 0.65rem;
  min-height: 32px;
  min-width: 32px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  background: #fff;
  border: 1px solid currentColor;
  cursor: pointer;
}
#consent-banner button[data-consent="accept"] {
  color: #fff;
  background: #000;
}
#consent-banner button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
html.consent-open { padding-bottom: 7rem; }
@media (max-width: 600px) {
  #consent-banner {
    bottom: 0;
    width: 100%;
    max-width: none;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  }
}
pre {
  margin: 0 0 0.5rem;
  white-space: pre;
  font-family: ui-monospace, Menlo, Consolas, "Courier New", monospace;
  font-size: 1rem;
  line-height: 1.25;
  overflow-x: auto;
}
pre.chart-neck { display: none; }
@media (max-width: 40rem) {
  pre.chart-lap { display: none; }
  pre.chart-neck {
    display: block;
    /* 31ch at 1rem is ~299px; 320px content is 288px after padding. */
    font-size: min(1rem, max(0.85rem, calc((100vw - 2.1rem) / 18.7)));
  }
}
@media print {
  .skip, .jump, header nav, .more, #consent-banner { display: none; }
  html.consent-open { padding-bottom: 0; }
  header { border-bottom: 0; margin: 0 0 1rem; padding: 0; }
  footer { border-top: 1px solid currentColor; font-size: 12pt; }
  body { margin: 0; max-width: none; font-size: 12pt; }
  article ol { font-size: 12pt; }
  article { page-break-inside: avoid; break-inside: avoid; }
  html pre.chart-neck { display: none; }
  html pre.chart-lap { display: block; }
}
@media (forced-colors: active) {
  html { color: CanvasText; background: Canvas; }
  #consent-banner,
  #consent-banner button {
    color: CanvasText;
    background: Canvas;
    border-color: CanvasText;
  }
  #consent-banner button[data-consent="accept"] {
    color: Canvas;
    background: CanvasText;
  }
}
@media (prefers-contrast: more) {
  h1, h2, h3, .wordmark { font-weight: 800; }
  pre { font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
