header nav a[aria-current="page"] { color: var(--clay); text-decoration: underline; text-underline-offset: 6px; }
.title { padding: clamp(38px, 5vw, 70px) 0 32px; max-width: 800px; }
.title h1 { font: 500 clamp(46px, 6vw, 78px)/1.05 Georgia, serif; letter-spacing: -.055em; }
.title p { margin: 18px 0 0; max-width: 64ch; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; }
.field-index { margin-top: 16px; }
.field-index summary { width: fit-content; color: var(--clay); font-size: 14px; font-weight: 600; cursor: pointer; }
.field-index > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 15px; margin-top: 12px; }
.field-index strong { min-width: 100px; font-size: 13px; }
.field-index nav { flex-wrap: wrap; gap: 6px 12px; }
.field-index a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.specimen { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fcf8f1; }
pre, code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
pre { margin: 16px 0; padding: 18px; background: #ede6da; border-radius: 5px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
pre code, h3 code { font-size: 1em; }
:focus-visible { outline: 3px solid #a9522e; outline-offset: 3px; }
.source { min-width: 0; color: #faefe0; background: #332821; padding: clamp(17px, 2.7vw, 38px); }
.file { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid #6d5b4d; }
.file h2 { font: 500 14px ui-monospace, monospace; letter-spacing: 0; }
.file a { color: #f0ceb0; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.source pre { margin: 20px 0 0; padding: 0; font-size: clamp(12px, 1.1vw, 15px); background: transparent; }
.source pre span { color: #e8d9bc; }
.source pre a { color: #f5b995; text-decoration: underline dotted #96765f; text-underline-offset: 4px; }
.source a:focus-visible { outline-color: #ffc390; }
.reading { padding: clamp(20px, 2.7vw, 38px); }
.reading h2, .reference-group h2 { font: 500 clamp(26px, 3vw, 40px)/1.1 Georgia, serif; letter-spacing: -.04em; }
.reading h2 { font-size: clamp(25px, 2.4vw, 35px); margin-bottom: 12px; }
.reading p { font-size: 15px; line-height: 1.55; }
.evidence { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 5px; }
.evidence legend { font-size: 17px; font-weight: 700; padding: 0; margin-bottom: 9px; }
.evidence input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.evidence label, .jump a { font-size: 13px; display: inline-block; border: 1px solid #bcab99; border-radius: 5px; padding: 6px 9px; }
.evidence label { cursor: pointer; margin-bottom: 5px; }
.evidence input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.evidence input:focus-visible + label { outline: 3px solid var(--clay); outline-offset: 2px; }
.result { order: 1; width: 100%; display: none; margin-top: 9px; border-top: 1px solid var(--line); padding-top: 12px; }
.evidence input:checked + label + .result { display: block; }
.result .verdict { font: 600 13px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; color: #8a3a26; margin-bottom: 7px; }
.result .pass { color: #2f6347; }
.result .unknown { color: #73561b; }
.result p { margin-bottom: 10px; }
.payload pre, .payload p { padding: 8px 10px; margin: 8px 0; border-radius: 4px; background: #eee7da; font-size: 12px; }
.result dl { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin: 0; font-size: 13px; }
.result dd { margin: 0; font-weight: 700; }
.manual { display: grid; grid-template-columns: minmax(155px, 1fr) minmax(0, 4fr); gap: clamp(18px, 5vw, 70px); margin: 42px 0 70px; align-items: start; }
.contents { position: sticky; top: 24px; }
.contents nav { display: grid; align-items: start; gap: 0; border-top: 1px solid var(--line); }
.contents strong { padding: 16px 0 7px; }
.contents a { padding: 7px 0; color: var(--muted); white-space: normal; }
.body-copy { min-width: 0; max-width: 850px; }
.reference-group { border-top: 1px solid var(--line); padding: 24px 0 8px; }
.reference-group + .reference-group { margin-top: 32px; }
.reference-group h2 { margin-bottom: 18px; }
.reference-group p, .subfields dd { max-width: 74ch; line-height: 1.65; }
.reference-group details { border-left: 2px solid #c3a58a; padding-left: 16px; margin: 18px 0; }
.reference-group summary { font-weight: 600; cursor: pointer; }
.reference-group details p { margin-top: 10px; }
.reference-group p a { color: var(--clay); text-decoration: underline; }
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 24px; }
.jump a { color: #693e2a; background: #f9f4ec; }
.entry { border-top: 1px solid var(--line); padding: 24px 0 6px; margin-top: 16px; }
.entry:target { border-top: 3px solid var(--clay); padding-top: 22px; }
.entry-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.entry-head span { color: #69564b; font-size: 13px; }
.entry h3 { font-size: 20px; color: var(--clay); }
.entry-head + p { margin-top: 10px; }
.subfields { margin: 18px 0; }
.subfields dt { font: 600 14px ui-monospace, monospace; margin-top: 14px; }
.subfields dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.command pre { margin: 10px 0; }
@media (max-width: 850px) {
  .specimen { grid-template-columns: 1fr; }
  .source pre { font-size: 14px; }
  .manual { gap: 22px; }
}
@media (max-width: 650px) {
  header { flex-wrap: wrap; padding: 16px 0; min-height: 0; }
  header nav { gap: 11px; flex-wrap: wrap; }
  header nav a { display: inline-block; }
  .manual { display: block; margin-top: 28px; }
  .contents { position: static; margin-bottom: 20px; }
  .contents nav { display: flex; flex-wrap: wrap; gap: 0 14px; }
  .contents strong { width: 100%; }
  .source pre { font-size: 12px; }
  .entry-head { display: grid; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
