@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format('woff2-variations'), url(/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --band: #1E1B9E;
  --ink: #0B0B14;
  --mute: #45455A;
  --tint: #ECEBFA;
  --rule: #C9C7E6;
  --on-band: #FFFFFF;
  --on-band-2: #D9D7FF;
  --gut: 3.25rem;
  --wrap: 78rem;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem;
  --f-sm: .875rem; --f-base: 1.0625rem; --f-md: 1.25rem; --f-lg: 1.5625rem; --f-xl: 1.953rem; --f-xxl: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  font-family: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #FFFFFF;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-size: var(--f-base); line-height: 1.6; font-weight: 400; overflow-wrap: break-word; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; margin: 0; }
p, ul, ol, dl, table, figure { margin: 0; }
a { color: var(--band); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .16em; }
:focus-visible { outline: 3px solid var(--band); outline-offset: 2px; }
.band :focus-visible, .masthead :focus-visible { outline-color: var(--on-band); }
.band .doc :focus-visible { outline-color: var(--band); }
.skip { position: absolute; left: var(--s4); top: -4rem; z-index: 10; background: #fff; color: var(--band); padding: var(--s3) var(--s4); font-weight: 700; }
.skip:focus { top: var(--s3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
[hidden] { display: none !important; }

/* the band: full width, deep ultramarine, white type */
.band { background: var(--band); color: var(--on-band); }
.band a { color: var(--on-band); }
.masthead { background: var(--band); color: var(--on-band); }
.masthead .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s6); padding-top: var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid rgba(255,255,255,.28); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--on-band); text-decoration: none; min-height: 44px; }
.brand svg { display: block; flex: none; }
.brand .wm { font-weight: 700; font-size: 1.125rem; letter-spacing: -.005em; line-height: 1.1; }
.nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s1); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); color: var(--on-band); text-decoration: none; font-weight: 700; font-size: .98rem; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--on-band-2); }
.nav a[aria-current] { border-bottom-color: var(--on-band); }

/* home: the builder is the first screen */
.hero .wrap { padding-top: var(--s5); padding-bottom: var(--s7); }
.hero h1 { font-size: clamp(1.85rem, 1.2rem + 2.1vw, 2.75rem); max-width: 30ch; letter-spacing: -.015em; }
.hero .answer { margin-top: var(--s4); max-width: 62ch; font-size: var(--f-md); line-height: 1.5; color: var(--on-band); }
.builder { margin-top: var(--s6); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: start; }
@media (min-width: 60em) { .builder { grid-template-columns: 19.5rem minmax(0, 1fr); gap: var(--s6); } .rail { position: sticky; top: var(--s4); max-height: calc(100vh - 2rem); overflow: auto; padding-right: var(--s2); } }
.rail fieldset { border: 0; margin: 0 0 var(--s5); padding: 0; min-width: 0; }
.rail legend { font-weight: 700; font-size: var(--f-md); padding: 0; margin-bottom: var(--s2); }
.rail .hint { font-size: var(--f-sm); color: var(--on-band-2); margin: calc(-1 * var(--s1)) 0 var(--s2); }
.opts { display: flex; flex-wrap: wrap; gap: var(--s2); }
.opt { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: var(--s1) var(--s3) var(--s1) var(--s2); border: 2px solid rgba(255,255,255,.55); border-radius: 0; cursor: pointer; font-size: .98rem; line-height: 1.25; }
.opt:hover { border-color: var(--on-band); }
.opt:has(input:checked) { background: var(--on-band); color: var(--band); border-color: var(--on-band); font-weight: 700; }
.opt:has(input:focus-visible) { outline: 3px solid var(--on-band); outline-offset: 2px; }
.opt input { appearance: none; -webkit-appearance: none; margin: 0; flex: none; width: 1.25rem; height: 1.25rem; border: 2px solid currentColor; border-radius: 0; display: grid; place-content: center; background: transparent; }
.opt input[type=radio] { border-radius: 50%; }
.opt input:focus-visible { outline: none; }
.opt input:checked { background: var(--band); border-color: var(--band); }
.opt input[type=checkbox]:checked::before { content: ''; width: .7rem; height: .4rem; border: solid #fff; border-width: 0 0 3px 3px; transform: translateY(-2px) rotate(-45deg); }
.opt input[type=radio]:checked::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: #fff; }
.actions { display: grid; gap: var(--s2); }
.btn { font: inherit; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--s2) var(--s4); border-radius: 0; border: 2px solid var(--on-band); background: var(--on-band); color: var(--band); cursor: pointer; text-decoration: none; }
.btn.alt { background: transparent; color: var(--on-band); }
.btn:hover { text-decoration: underline; }
.preset { font-size: var(--f-sm); margin-top: var(--s3); color: var(--on-band); }
.rail-static h2 { font-size: var(--f-md); margin-bottom: var(--s2); }
.rail-static ul { padding-left: 1.1rem; }
.rail-static li { margin-bottom: var(--s2); }

/* the document: a white sheet on the band */
.doc { background: #fff; color: var(--ink); padding: clamp(1.25rem, 4vw, 3.25rem) clamp(1rem, 4vw, 3.5rem); min-width: 0; }
.doc a { color: var(--band); }
.doc-title { font-size: var(--f-xl); letter-spacing: -.01em; margin-bottom: var(--s3); }
.doc .meta { color: var(--mute); font-size: var(--f-sm); margin-bottom: var(--s2); }
.doc-s { margin-top: var(--s5); }
.doc-h { font-size: var(--f-md); display: grid; grid-template-columns: minmax(var(--gut), max-content) minmax(0, 1fr); column-gap: var(--s3); padding-top: var(--s4); border-top: 2px solid var(--ink); margin-bottom: var(--s3); }
.doc-h .n, .cl .n, .clause-h .n { white-space: nowrap; color: var(--band); font-variant-numeric: tabular-nums; font-weight: 700; }
.cl { display: grid; grid-template-columns: minmax(var(--gut), max-content) minmax(0, 1fr); column-gap: var(--s3); margin-bottom: var(--s3); }
.cl0 { padding-left: calc(var(--gut) + var(--s3)); margin-bottom: var(--s3); }
.doc-l { margin: 0 0 var(--s3) var(--gut); padding-left: 1.25rem; }
.doc-l li { margin-bottom: var(--s1); }
.ph { background: var(--tint); border-bottom: 1px dotted var(--band); padding: 0 .12em; }
.doc .tablewrap { margin: 0 0 var(--s4) var(--gut); }

/* signature: the patch windows clause */
.clause-win { margin: var(--s4) 0 var(--s5); border-top: 4px solid var(--band); padding-top: var(--s3); }
.clause-h { font-weight: 700; line-height: 1.2; font-size: var(--f-lg); display: grid; grid-template-columns: minmax(var(--gut), max-content) minmax(0, 1fr); column-gap: var(--s3); margin-bottom: var(--s3); letter-spacing: -.01em; }
.clause-win .cap { padding-left: var(--gut); margin: var(--s2) 0; color: var(--mute); font-size: var(--f-sm); }
.clause-win .fwl { margin: 0 0 var(--s2) var(--gut); padding-left: 1.25rem; font-size: var(--f-sm); }
.clause-win .fwl li { margin-bottom: var(--s2); }
.clause-win .tablewrap { margin-left: 0; }
.win-c { width: 100%; border-collapse: collapse; font-size: .97rem; }
.win-c th, .win-c td { text-align: left; vertical-align: top; padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--rule); }
.win-c thead th { font-size: var(--f-sm); color: var(--mute); border-bottom: 2px solid var(--ink); }
.win-c tbody th { padding-left: var(--s2); width: 22%; }
.win-c .days { display: block; font-weight: 700; font-size: var(--f-lg); line-height: 1.25; }
.win-c .bar { display: block; margin-top: var(--s2); width: 100%; }
.win-c .also { display: block; color: var(--mute); font-size: var(--f-sm); margin-top: var(--s1); }
.win-c tr.k-fw th { box-shadow: inset 4px 0 0 var(--band); }
.win-t { width: 100%; }
.win-t td:nth-child(2) { font-weight: 700; }

/* tables */
.tablewrap { overflow-x: auto; margin: var(--s4) 0; }
.tablewrap:focus-visible { outline-offset: 4px; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
caption { text-align: left; caption-side: bottom; color: var(--mute); font-size: var(--f-sm); padding-top: var(--s2); }
th, td { text-align: left; vertical-align: top; padding: var(--s2) var(--s3) var(--s2) 0; border-bottom: 1px solid var(--rule); }
thead th { border-bottom: 2px solid var(--ink); font-size: var(--f-sm); }
@media (max-width: 40em) {
  .tablewrap table, .tablewrap thead, .tablewrap tbody, .tablewrap tr, .tablewrap th, .tablewrap td, table.win-c, .win-c tbody, .win-c tr, .win-c th, .win-c td { display: block; width: 100%; }
  .tablewrap caption { display: block; width: 100%; padding: 0 0 var(--s2); }
  .tablewrap thead, .win-c thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tablewrap tr, .win-c tr { border-bottom: 2px solid var(--ink); padding: var(--s2) 0; }
  .tablewrap td, .win-c td, .win-c tbody th { border: 0; padding: var(--s1) 0; }
  .tablewrap td[data-label]::before, .win-c [data-label]::before { content: attr(data-label); display: block; font-size: var(--f-sm); color: var(--mute); font-weight: 700; }
  .win-c tbody th { width: 100%; padding-left: var(--s2); }
  .win-c tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 var(--s3); }
  .win-c tbody th, .win-c td[data-label="Window"] { grid-row: 1; }
  .win-c td:nth-child(3), .win-c td:nth-child(4) { grid-column: 1 / -1; font-size: var(--f-sm); }
  .win-c tbody th::before, .win-c td[data-label="Window"]::before { display: none !important; }
  .win-c td:nth-child(3)::before, .win-c td:nth-child(4)::before { display: inline !important; content: attr(data-label) ': ' !important; }
  .win-c .days { font-size: 1.0625rem; }
  .doc .tablewrap { margin-left: 0; }
  :root { --gut: 2.6rem; }
}

/* inner pages */
.lede .wrap { padding-top: var(--s5); padding-bottom: var(--s6); }
.crumbs ol { list-style: none; margin: 0 0 var(--s4); padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s2); font-size: var(--f-sm); }
.crumbs li { white-space: nowrap; }
.crumbs li + li::before { content: '/'; margin-right: var(--s2); color: var(--on-band-2); }
.crumbs a { color: var(--on-band); display: inline-block; padding: var(--s2) 0; }
.lede h1 { font-size: var(--f-xxl); max-width: 26ch; letter-spacing: -.015em; }
.lede .answer { margin-top: var(--s4); max-width: 64ch; font-size: var(--f-md); line-height: 1.5; }
.lede .clause-ref { margin-top: var(--s4); font-size: var(--f-sm); color: var(--on-band-2); }
.body-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding-top: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 64em) { .body-grid { grid-template-columns: 15rem minmax(0, 1fr); } .toc { position: sticky; top: var(--s4); align-self: start; max-height: calc(100vh - 2rem); overflow: auto; } }
.toc { font-size: var(--f-sm); }
.toc h2 { font-size: var(--f-sm); color: var(--mute); margin-bottom: var(--s2); }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; border-left: 2px solid var(--rule); }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding: var(--s2) var(--s2) var(--s2) var(--s3); color: var(--ink); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(toc); color: var(--band); font-weight: 700; font-variant-numeric: tabular-nums; }
.toc a:hover { text-decoration: underline; }
.toc li.x { counter-increment: none; }
.toc li.x a::before { content: ''; }
@media (max-width: 63.99em) { .toc { display: none; } }
.prose { max-width: 48rem; min-width: 0; counter-reset: sec; }
.prose.wide { max-width: none; }
.prose > section { margin-bottom: var(--s6); }
.prose > section > h2 { font-size: var(--f-xl); letter-spacing: -.01em; display: grid; grid-template-columns: var(--gut) minmax(0, 1fr); padding-top: var(--s4); border-top: 2px solid var(--ink); margin-bottom: var(--s4); scroll-margin-top: var(--s4); }
.prose > section.num > h2 { counter-increment: sec; }
.prose > section.num > h2::before { content: counter(sec); color: var(--band); font-variant-numeric: tabular-nums; }
.prose > section:not(.num) > h2 { grid-template-columns: minmax(0, 1fr); }
.prose h3 { font-size: var(--f-md); margin: var(--s5) 0 var(--s2); }
.prose p, .prose ul, .prose ol { margin-bottom: var(--s4); max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: var(--s2); }
.prose .note { font-size: var(--f-sm); color: var(--mute); border-left: 3px solid var(--rule); padding-left: var(--s3); }
.prose .doc { border: 2px solid var(--ink); margin: var(--s4) 0; }
.dl-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0 var(--s5); }
.dl-row a { display: inline-flex; align-items: center; min-height: 44px; padding: var(--s2) var(--s4); border: 2px solid var(--band); border-radius: 6px; font-weight: 700; text-decoration: none; }
.dl-row a:hover { background: var(--tint); }
.faq h3 { font-size: var(--f-md); }
.sources ul { list-style: none; padding: 0; font-size: var(--f-sm); columns: 2 22rem; column-gap: var(--s6); }
.sources li { margin: 0 0 var(--s2); break-inside: avoid; }
.sources .reviewed { font-size: var(--f-sm); color: var(--mute); }
.related ul { list-style: none; padding: 0; display: grid; gap: 0; }
.related li { border-top: 1px solid var(--rule); margin: 0; }
.related a { display: block; padding: var(--s3) 0; font-weight: 700; min-height: 44px; }
.echo { margin: 0 0 var(--s6); }
.echo .clause-win { margin-top: 0; }
.echo .clause-h { font-weight: 700; line-height: 1.2; font-size: var(--f-lg); }

/* patch window table and filter */
.filter { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: end; margin: var(--s3) 0; padding: var(--s4); background: var(--tint); }
.filter label { min-width: 0; max-width: 100%; display: grid; gap: var(--s1); font-weight: 700; font-size: var(--f-sm); }
.filter select { width: 100%; max-width: 100%; }
.filter label { flex: 1 1 13rem; }
.filter select, .filter button { font: inherit; min-height: 44px; padding: var(--s2) var(--s3); border: 2px solid var(--ink); border-radius: 6px; background: #fff; color: var(--ink); }
.filter button { font-weight: 700; cursor: pointer; }
.filter output { font-size: var(--f-sm); align-self: center; }
table.pwt { font-size: .92rem; }
table.pwt td:first-child { font-weight: 700; }

/* dated list */
.dated { list-style: none; padding: 0; margin: 0 0 var(--s5); border-left: 3px solid var(--band); }
.dated li { position: relative; padding: 0 0 var(--s5) var(--s5); margin: 0; scroll-margin-top: var(--s4); }
.dated li::before { content: ''; position: absolute; left: -9px; top: .45rem; width: 15px; height: 15px; background: #fff; border: 3px solid var(--band); border-radius: 50%; }
.dated li.up::before { background: var(--band); }
.dated time { display: block; font-weight: 700; color: var(--band); font-variant-numeric: tabular-nums; }
.dated h3 { margin: var(--s1) 0 var(--s2); font-size: var(--f-md); }
.dated p { margin-bottom: var(--s2); }
.dated .src { font-size: var(--f-sm); }

/* tools directory */
.kinds { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); margin-bottom: var(--s6); }
@media (min-width: 48em) { .kinds { grid-template-columns: 1fr 1fr; } }
.kinds h2 { font-size: var(--f-md); border-top: 4px solid var(--band); padding-top: var(--s3); margin-bottom: var(--s2); }
.kinds ul { padding-left: 1.2rem; }
.kinds li { margin-bottom: var(--s1); }
.kinds a { display: inline-block; padding: var(--s1) 0; }

/* footer */
.foot { border-top: 8px solid var(--band); margin-top: var(--s7); }
.foot .wrap { padding-top: var(--s6); padding-bottom: var(--s6); display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) { .foot .wrap { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.foot h2 { font-size: var(--f-sm); margin-bottom: var(--s2); }
.foot ul { list-style: none; padding: 0; margin: 0; font-size: var(--f-sm); }
.foot a { display: inline-block; padding: .55rem 0; color: var(--ink); text-decoration: none; }
.foot a:hover, .foot a:focus-visible { text-decoration: underline; }
.foot .brand { color: var(--ink); }
.foot .ed { font-size: var(--f-sm); color: var(--mute); margin-top: var(--s2); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

@media print {
  .masthead, .foot, .skip, .rail, .rail-static, .toc, .related, .crumbs, .dl-row, .filter { display: none !important; }
  .band, .masthead { background: #fff !important; color: #000 !important; }
  .band a { color: #000; }
  body.home main > *:not(.hero), body.home .hero h1, body.home .hero .answer { display: none !important; }
  .hero .wrap, .builder { padding: 0; margin: 0; display: block; }
  .doc { padding: 0; border: 0 !important; }
  .doc-h, .clause-win { break-after: avoid; }
  .cl, tr { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  @page { margin: 18mm; }
}
.siblings { margin-top: var(--s6); }
.siblings h2, .related h2 { font-size: var(--f-md); margin-bottom: var(--s2); }
.siblings ul { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) { .siblings ul { grid-template-columns: 1fr 1fr; column-gap: var(--s5); } }
.siblings a { font-weight: 400; }

/* round 2: builder bar, folded groups, change marks */
.rail details.grp { margin: 0 0 var(--s5); }
.rail summary { font-weight: 700; font-size: var(--f-md); cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: var(--s2); list-style: none; }
.rail summary::-webkit-details-marker { display: none; }
.rail summary::before { content: ''; width: .55rem; height: .55rem; border: solid currentColor; border-width: 0 3px 3px 0; transform: rotate(-45deg); margin-right: var(--s1); }
.rail details[open] > summary::before { transform: rotate(45deg); }
.rail summary .cnt { font-weight: 400; color: var(--on-band-2); }
.rail .grp0 { margin-bottom: var(--s4); }
.rail details fieldset { margin: var(--s2) 0 0; }
.doccol { min-width: 0; }
.docbar { background: var(--band); color: var(--on-band); padding: 0 0 var(--s3); z-index: 5; }
.docbar-b { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.docbar .jump { color: var(--on-band); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s2); }
.docbar-s { display: flex; flex-wrap: wrap; gap: 0 var(--s3); align-items: baseline; font-size: var(--f-sm); margin-top: var(--s2); color: var(--on-band-2); min-height: 1.4em; }
.docbar .link { font: inherit; font-weight: 700; color: var(--on-band); background: none; border: 0; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0; }
@media (min-width: 60em) { .docbar { position: sticky; top: 0; padding-top: var(--s3); } }
@media (max-width: 59.99em) {
  body.home.js { padding-bottom: 12rem; }
  .docbar { position: fixed; left: 0; right: 0; bottom: 0; padding: var(--s2) var(--s4) var(--s2); border-top: 2px solid var(--on-band); }
  .docbar-b { flex-wrap: nowrap; }
  .docbar .btn { flex: 1 1 0; padding: var(--s2); font-size: .95rem; min-height: 44px; }
  .docbar .jump { min-height: 36px; font-size: var(--f-sm); padding: 0; }
  .docbar-b { flex-wrap: wrap; }
  .docbar-s { margin-top: var(--s1); }
  .docbar .status { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1 1 12rem; }
}
.doc .changed { background: #FFF2A8; transition: background-color 1.4s ease-out; }
.doc .changed.settled { background: transparent; box-shadow: inset 3px 0 0 #1E1B9E; }
@media (prefers-reduced-motion: reduce) { .doc .changed, .doc .changed.settled { background: transparent; box-shadow: inset 3px 0 0 #1E1B9E; } }

/* windows: one shared axis */

.axis-m { display: none; }
.win-c td.dim { color: var(--mute); font-size: var(--f-sm); }
.win-c .bar { margin-top: var(--s1); }
@media (max-width: 40em) {
  .axis-m { display: block; margin: 0 0 var(--s1) 0; }
  .win-c td.dim:empty { display: none; }
  .win-c:not(.x) tr { padding: var(--s1) 0; }
}
@media (min-width: 40.01em) { .clause-win:not(.has-fw) .win-c tbody th { width: 34%; } }
.win-c tbody th { overflow-wrap: normal; hyphens: manual; }

/* template pages: the sheet sits in the band */
.lede.tpl .sheet-grid, .lede.fw .fw-grid { margin-top: var(--s6); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: start; }
@media (min-width: 60em) { .lede.tpl .sheet-grid { grid-template-columns: minmax(0, 1fr) 16rem; gap: var(--s6); } .sheet-side .pin { position: sticky; top: var(--s4); } }
.sheet-side .pin { display: grid; gap: var(--s2); }
.sheet-side .jump { color: var(--on-band); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.sheet-toc { list-style: none; padding: 0; margin: var(--s3) 0 0; font-size: var(--f-sm); border-top: 1px solid rgba(255,255,255,.35); }
.sheet-toc a { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); padding: var(--s2) 0; color: var(--on-band); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); }
.sheet-toc a:hover { text-decoration: underline; }
.sheet-toc .n { font-weight: 700; color: var(--on-band-2); white-space: nowrap; }
.lede .doc { max-width: 52rem; }
.lede.tpl .doc .doc-h { scroll-margin-top: var(--s4); }

/* framework pages: the framework's 4.3 sheet in the band, notes keyed to clauses */
@media (min-width: 64em) { .lede.fw .fw-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s7); margin-top: 0; } }
.lede.fw .sheet { background: #fff; color: var(--ink); padding: clamp(1rem, 3vw, 2rem); }
.lede.fw .sheet .echo { margin: 0; }
.lede.fw .sheet a { color: var(--band); }
.lede.fw .build { margin-top: var(--s5); }
.lede.fw h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); }
.notes-body { padding-top: var(--s6); padding-bottom: var(--s6); }
.notes-body .prose { max-width: 60rem; }
.annot > section.an { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); margin-bottom: var(--s6); }
@media (min-width: 48em) { .annot > section.an { grid-template-columns: 10rem minmax(0, 1fr); gap: var(--s5); } }
.annot .key { margin: 0; display: flex; flex-wrap: wrap; gap: var(--s1); align-content: start; padding-top: .35rem; }
.annot .key:empty { display: none; }
.ck { font-weight: 700; color: var(--band); font-size: var(--f-sm); border: 2px solid var(--band); padding: 0 var(--s2); white-space: nowrap; }
.ck.to { border-color: var(--ink); color: var(--ink); }
.annot h2, .side h2, .prose > section.sh h2 { font-size: var(--f-lg); margin-bottom: var(--s3); }
.annot .sx > h2 { padding-bottom: var(--s2); border-bottom: 1px solid var(--rule); }

/* guides: side heads */
.side > section.sh { margin-bottom: var(--s6); }
@media (min-width: 60em) {
  .side > section.sh .sx { display: grid; grid-template-columns: 15rem minmax(0, 1fr); column-gap: var(--s6); }
  .side > section.sh .sx > * { grid-column: 2; }
  .side > section.sh .sx > h2 { grid-column: 1; grid-row: 1 / span 40; align-self: start; font-size: var(--f-md); line-height: 1.3; }
  .side .faq, .side .sources, .side .xref { margin-left: calc(15rem + var(--s6)); }
}
.prose > section.sh { margin-bottom: var(--s6); }

/* cross-references set like a document's */
.xref { margin-top: var(--s6); border-top: 4px solid var(--band); padding-top: var(--s3); display: grid; gap: var(--s3); }
.xref .xr { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s1); }
@media (min-width: 48em) { .xref .xr { grid-template-columns: 9rem minmax(0, 1fr); gap: var(--s4); } }
.xref .xl { font-size: var(--f-sm); color: var(--mute); margin: 0; padding-top: .55rem; }
.xref ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s4); font-size: var(--f-sm); }
.xref a { display: inline-block; padding: .55rem 0; }

/* tables: short headers stay on one line, first column keeps room */
thead th.nw { white-space: nowrap; }
.tablewrap td:first-child { min-width: 7rem; }
@media (max-width: 40em) { .tablewrap td:first-child { min-width: 0; } }
.foot .brand svg rect { display: block; }
@media print { .docbar, .sheet-side, .xref { display: none !important; } .lede.tpl .sheet-grid { display: block; } .t-asset-item .lede h1, .t-asset-item .lede .answer, .t-asset-item .notes-body { display: none; } }
.band a.btn { color: var(--band); text-decoration: none; }
.band a.btn.alt { color: var(--on-band); }

/* round 3: the windows lead */
.axis { position: relative; display: block; height: 1.6rem; margin-top: var(--s1); border-bottom: 1px solid var(--mute); font-size: 12px; font-weight: 700; color: var(--mute); }
.axis .tk { position: absolute; bottom: 0; transform: translateX(-50%); padding-bottom: 4px; white-space: nowrap; line-height: 1; }
.axis .tk::after { content: ''; position: absolute; left: 50%; bottom: 0; height: 4px; border-left: 1px solid var(--mute); }
.axis .tk.end { transform: translateX(-100%); }
.axis .tk.end::after { left: auto; right: 0; }
.win-c thead th:nth-child(2) { width: 46%; }
.mini-w { margin-top: var(--s3); }
.mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.mini li { display: grid; gap: 2px; border-top: 3px solid var(--on-band); padding-top: var(--s1); min-width: 0; }
.mini .ml { font-size: 12px; font-weight: 700; color: var(--on-band-2); }
.mini .md { font-size: var(--f-md); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.mini .bar { width: 100%; height: 8px; }
.mini .bar rect { fill: #FFFFFF; }
.mini .bar line:not(:last-child) { stroke: rgba(255,255,255,.35); }
.mini li { border-top-color: rgba(255,255,255,.45); } .mini li.k-fw { border-top-color: #FFFFFF; }
@media (max-width: 59.99em) { .mini { gap: var(--s2); } .mini .md { font-size: .9rem; } .mini-w { margin-top: var(--s1); } }
@media (min-width: 60em) { .rail .opts { display: grid; grid-template-columns: 1fr 1fr; } .rail .opt { justify-content: flex-start; } }
.gclauses > section.num { counter-increment: sec; margin-bottom: var(--s6); }
.gclauses > section.num .sx > h2 { font-size: var(--f-xl); letter-spacing: -.01em; display: grid; grid-template-columns: var(--gut) minmax(0, 1fr); padding-top: var(--s4); border-top: 2px solid var(--ink); margin-bottom: var(--s4); }
.gclauses > section.num .sx > h2::before { content: counter(sec); color: var(--band); font-variant-numeric: tabular-nums; }
.gclauses > section.num .sx > :not(h2) { margin-left: var(--gut); }
@media (max-width: 40em) { .gclauses > section.num .sx > :not(h2) { margin-left: 0; } }
.gclauses { max-width: 52rem; }
.echo.end { margin-top: var(--s6); }
.xref { gap: var(--s1); }
.xref a { padding: .4rem 0; }
.xref ul { gap: 0 var(--s4); }

.win-c td.dim::before { content: none !important; display: none !important; }
@media (min-width: 60em) { .rail details.grp:not(.fold) .opts { grid-template-columns: 1fr; } }
@media (max-width: 59.99em) {
  .docbar .btn { white-space: nowrap; font-size: .85rem; padding: var(--s1) var(--s2); }
  .docbar-b { flex-wrap: nowrap; }
  .docbar .jump { flex: none; }
  .mini .bar { display: none; }
  .mini li { padding-top: 2px; }
  .mini .md { font-size: .85rem; }
  .mini .ml { font-size: 11px; }
  body.home.js { padding-bottom: 10rem; }
}
@media (max-width: 26em) { .docbar .jump { display: none; } .docbar-s .jump-s { display: inline-flex; } }
.docbar-s .jump-s { display: none; color: var(--on-band); font-weight: 700; min-height: 36px; align-items: center; }
@media (max-width: 26em) { .docbar .docbar-s .jump-s { display: inline-flex; } }

/* round 3 defects */
@media (min-width: 48em) { .annot > section.an > .sx { grid-column: 2; } .annot > section.an > .key { grid-column: 1; } }
@media (max-width: 40em) {
  .axis-m { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 var(--s3); }
  .axis-m .axis { grid-column: 2; }
  .axis .tk.end { font-size: 0; } .axis .tk.end::before { content: '180'; font-size: 12px; }
  .masthead .wrap { padding-top: var(--s2); padding-bottom: var(--s2); gap: 0; }
  .nav { width: 100%; overflow-x: auto; }
  .nav ul { flex-wrap: nowrap; }
  .nav a { padding: 0 var(--s2); font-size: .92rem; white-space: nowrap; }
  .hero .wrap { padding-top: var(--s4); }
  .hero h1 { font-size: 1.6rem; }
  .hero .answer { font-size: 1rem; margin-top: var(--s2); }
  .builder { margin-top: var(--s4); }
}
