:root { color-scheme: light; --ink: #202b31; --muted: #586870; --accent: #137568; --line: #dce4e6; --soft: #f1f5f5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #f7f9fa; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; }
::selection { background: #cde9df; color: #154b40; }
input { caret-color: var(--accent); }
.table-scroll, .board-tabs { scrollbar-color: #9cacae transparent; scrollbar-width: thin; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: #0b4e45; }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, .button, input, select { transition: background .16s, border-color .16s; }
:focus-visible { outline: 3px solid #33a393; outline-offset: 4px; }
button { background: none; }
[hidden] { display: none !important; }
.visually-hidden, .skip { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { z-index: 5; top: 1rem; left: 1rem; width: auto; height: auto; padding: 1rem; clip-path: none; background: white; }
.site-header { padding: 1.15rem max(2rem, calc((100% - 1176px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); background: white; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.15rem; font-weight: 700; letter-spacing: -.035em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-label { font-size: .9rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.mark { display: inline-flex; align-items: flex-start; gap: 4px; padding: 7px; background: var(--accent); width: 29px; height: 29px; border-radius: 6px; }
.mark i { width: 3px; height: 10px; border-radius: 2px; background: white; }
.mark i:nth-child(2) { height: 16px; }.mark i:last-child { height: 7px; }
.site-header nav { display: flex; gap: 1.7rem; font-size: .85rem; }
.site-header nav a { color: #506067; text-decoration: none; }
main, footer { max-width: 1240px; margin: auto; padding: 0 2rem; }
.intro { padding: 2.1rem 0 1.7rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
h1 { font-size: clamp(1.9rem, 3.5vw, 2.65rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 .7rem; text-wrap: balance; }
.title-trophy { font-size: .9em; margin-right: .15rem; }
.lede { font-size: .95rem; line-height: 1.65; color: var(--muted); margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; color: var(--muted); font-size: .75rem; }
.facts > span { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 6px; background: white; }
.facts strong { font-weight: 600; color: var(--ink); margin-right: .2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .7rem; background: white; border: 1px solid #cfd9d8; border-radius: 8px; padding: .75rem 1rem; color: var(--ink); text-decoration: none; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.button:hover { background: var(--soft); border-color: #a7bbb7; color: var(--ink); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .5; cursor: default; }
.button.primary { background: #ffe49a; border-color: #e3bd58; color: #4c390e; }
.button.primary:hover { background: #ffdb79; border-color: #caa13c; }
.button.small { padding: .6rem .85rem; }
.intro-actions { display: flex; flex-direction: column; align-items: center; gap: .75rem; flex-shrink: 0; }
.board-tabs { display: flex; gap: .4rem; border-bottom: 1px solid var(--line); }
.board-tabs button { border: 1px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0; padding: .85rem 1rem; font-size: .9rem; color: var(--muted); white-space: nowrap; margin-bottom: -1px; }
.board-tabs button span { margin-right: .3rem; }
.board-tabs button[aria-pressed="true"] { color: var(--accent); border-color: var(--line); background: white; font-weight: 650; box-shadow: inset 0 3px var(--accent); }
.board-tabs button:hover { color: var(--accent); }
.board-content { padding: 1.25rem 1.5rem .25rem; background: white; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; }
.board-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.board-heading > a { margin-top: .6rem; }
h2 { font-size: 1.4rem; font-weight: 650; letter-spacing: -.035em; margin: 0; }
.board-heading h2 { margin-top: .8rem; }
.muted { color: var(--muted); font-size: .8rem; }
#cohort { margin: .35rem 0 0; }
.board-picker { display: flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; background: var(--soft); border-radius: 8px; width: fit-content; }
.board-picker button { border: 1px solid transparent; border-radius: 6px; padding: .4rem .65rem; font-size: .8rem; color: var(--muted); }
.board-picker button[aria-pressed="true"] { border-color: #c9d8d5; background: white; color: #176a5d; font-weight: 600; }
.text-link { font-size: .8rem; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.description { font-size: .85rem; line-height: 1.65; max-width: 80ch; margin: .8rem 0 1rem; color: var(--muted); }
.toolbar { display: flex; gap: .6rem; align-items: center; }
.search-label { position: relative; flex: 1; max-width: 26rem; margin-right: auto; }
.search-label svg { position: absolute; left: .75rem; top: .7rem; width: 17px; fill: none; stroke: #62756e; stroke-width: 1.4; }
input, select { border: 1px solid #cdd8d8; background: white; border-radius: 7px; padding: .62rem .7rem; font-size: .8rem; min-height: 39px; }
input { width: 100%; padding-left: 2.1rem; }
input::placeholder { color: #65756f; }
select { padding-right: 1.8rem; }
.table-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .73rem; color: var(--muted); margin: .65rem 0 .35rem; }
.table-meta p { margin: .3rem 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; }
table { border-collapse: collapse; width: 100%; font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
th, td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: right; }
thead th { color: #52645d; font-size: .75rem; font-weight: 600; background: #f1f5f4; }
thead th button { border: 0; padding: 0; color: inherit; font-weight: inherit; font-size: inherit; }
thead th[aria-sort] { color: #0f6257; background: #e4f1ed; }
tbody th { text-align: left; font-weight: 600; max-width: 28rem; }
.rank { width: 4.5rem; text-align: center; color: #63726c; font-size: .8rem; }
.medal { display: inline-block; font-size: 1.1rem; margin-right: .35rem; vertical-align: -.05em; }
.method-head { text-align: left; }
tbody tr:nth-child(even) { background: #fafcfb; }
td.best { color: #126d5e; font-weight: 700; background: #edf7f2; }
tbody tr:hover > * { background: #eaf3f0; }
tbody tr:last-child > * { border-bottom: 0; }
.method-details summary { list-style-position: outside; font-weight: 600; margin-left: .7rem; }
.method-details summary::marker { color: #a1afaa; font-size: .7rem; }
.method-details[open] { min-width: 17rem; }
.method-details .entry-detail { white-space: normal; font-size: .75rem; font-weight: 400; line-height: 1.6; color: var(--muted); padding-top: .5rem; max-width: 25rem; overflow-wrap: anywhere; }
.entry-detail p { margin: .3rem 0; }.entry-detail a { margin-right: .7rem; }
.source-tag { display: inline-block; font-size: .67rem; font-weight: 500; padding: .2rem .5rem; border-radius: 5px; background: #edf0f5; color: #586775; }
.source-tag.community { background: #eaf5f0; color: #1a725a; }
.table-footer { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; align-items: center; font-size: .7rem; color: var(--muted); padding: .95rem 0; }
.table-footer a { margin-left: auto; text-decoration: none; }.table-footer .source-tag { margin-right: .25rem; }
.protocol { border-top: 1px solid var(--line); padding: 1rem 0; font-size: .8rem; color: #66746f; line-height: 1.7; }
.protocol summary { color: #455a53; font-weight: 500; }.protocol p { max-width: 110ch; }
.version { font-family: ui-monospace, monospace; font-size: .72rem; overflow-wrap: anywhere; }
.empty { padding: 3rem 1rem; text-align: center; background: var(--soft); border-radius: 6px; }
.empty h3 { margin: 0; font-size: 1rem; }.empty p { color: var(--muted); font-size: .85rem; }.empty a { font-size: .85rem; }
.load-error { padding: 1.2rem; background: #fff7e8; color: #71531d; line-height: 1.6; font-size: .85rem; }
.contribute { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding: 3rem 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.section-lead h2, .downloads h2 { font-size: 1.9rem; }
.section-lead p { font-size: .9rem; color: var(--muted); line-height: 1.75; max-width: 47ch; }
.section-lead > a { margin: .7rem 1rem 0 0; }
.steps { list-style: none; margin: 0; padding: .25rem 0 0; }
.steps li { display: flex; gap: 1.2rem; padding: .3rem 0 1.1rem; }
.step-number { font-size: .75rem; color: #50665d; background: #e9efec; border-radius: 50%; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; flex-shrink: 0; }
h3 { font-size: .9rem; font-weight: 600; margin: 0 0 .4rem; }
.steps p { font-size: .82rem; line-height: 1.6; color: var(--muted); margin: 0; max-width: 52ch; }
.downloads { border-top: 1px solid var(--line); padding: 3rem 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; }
.download-feature { display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: #edf5f0; border: 1px solid #d4e3d9; border-radius: 12px; padding: 1.6rem; margin-bottom: .8rem; }
.release-state { display: block; font-size: .7rem; color: #596d60; margin-bottom: .7rem; }
.download-feature h3 { font-size: 1.1rem; }
.download-feature p { max-width: 80ch; font-size: .82rem; line-height: 1.65; margin: .5rem 0 0; color: #617169; }
.download-list > div { display: grid; grid-template-columns: 1.1fr 2fr 1fr; align-items: center; gap: 1rem; padding: 1.15rem .15rem; border-bottom: 1px solid var(--line); }
.download-list h3 { margin: 0; font-size: .85rem; }.download-list p { color: var(--muted); font-size: .8rem; margin: 0; }.download-list a { font-size: .8rem; text-decoration: none; white-space: nowrap; }
.download-list > div > :last-child { justify-self: end; }.download-list span a + a { margin-left: 1rem; }
.download-note { font-size: .78rem; line-height: 1.7; color: var(--muted); max-width: 105ch; margin-top: 1.3rem; }
footer { display: flex; align-items: center; gap: 2rem; padding-top: 1.5rem; padding-bottom: 1.8rem; border-top: 1px solid var(--line); }
footer p, footer > a:last-child { font-size: .75rem; color: var(--muted); }footer > a:last-child { margin-left: auto; text-decoration: none; }
@media (max-width: 760px) {
  main, footer { padding-left: 1.2rem; padding-right: 1.2rem; }.site-header { padding: 1rem 1.2rem; }.brand-label { display: none; }.site-header nav { gap: 1rem; font-size: .75rem; }.site-header nav a:first-child { display: none; }
  .intro { padding: 1.7rem 0 1.5rem; display: block; }.intro-actions { margin-top: 1.2rem; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 1rem; }.lede { font-size: .9rem; }.desktop-break { display: none; }.facts { font-size: .7rem; gap: .4rem; }
  .board-tabs { gap: .2rem; overflow-x: auto; }.board-tabs button { font-size: .8rem; padding: .8rem .65rem; }.board-content { padding: 1rem .8rem .1rem; }.board-heading { display: block; }.board-heading > a { display: inline-block; margin: .7rem 0 0; }
  .toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }.search-label { grid-column: 1 / -1; width: 100%; max-width: none; }.toolbar select { width: 100%; max-width: none; }.toolbar .button { grid-column: 2; justify-self: end; }.table-meta { font-size: .68rem; flex-wrap: wrap; gap: 0 .5rem; }
  th, td { padding: .8rem .7rem; }tbody th { position: sticky; left: 0; background: white; }tbody tr:nth-child(even) th { background: #fafcfb; }table { font-size: .8rem; }.rank { min-width: 3.6rem; }.table-footer { font-size: .65rem; }.table-footer a { margin-left: 0; }
  .contribute { grid-template-columns: 1fr; gap: 2rem; padding: 2.3rem 0; margin-top: 1rem; }.section-lead h2, .downloads h2 { font-size: 1.6rem; }.downloads { padding: 2.3rem 0; }.section-heading { display: block; }.section-heading > a { display: inline-block; margin-top: .8rem; }
  .download-feature { display: block; padding: 1.2rem; }.download-feature > a { margin-top: 1rem; }.download-list > div { grid-template-columns: 1fr auto; gap: .35rem 1rem; }.download-list p { grid-row: 2; grid-column: 1 / -1; font-size: .72rem; }.download-list > div > :last-child { grid-column: 2; grid-row: 1; }
  footer { flex-wrap: wrap; gap: .5rem 1rem; }footer p { flex-basis: 100%; order: 2; margin: .3rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
