/* Index Methodology Hub: one stylesheet, no framework. Light and dark follow the system.
   Minimal by design: structure comes from tables (one style everywhere), no shadows, colour
   only for materiality. Breakpoints: < 720 phone, 720-1199 tablet, 1200-1599 desktop (profile
   in two columns), >= 1600 wide (three columns, What changed summary rail). Fluid to 1760px. */

:root {
  --bg: #ffffff;
  --bg-2: #f6f8fa;
  --bg-3: #eaeef2;
  --fg: #1f2328;
  --fg-2: #59636e;
  --line: #d1d9e0;
  --link: #0969da;
  --accent: #0969da;
  --ok: #1a7f37;
  --warn: #9a6700;
  --patch: #6e7781;
  --patch-bg: #eff1f3;
  --minor: #9a6700;
  --minor-bg: #fff8c5;
  --major: #cf222e;
  --major-bg: #ffebe9;
  --ins-bg: #dafbe1;
  --del-bg: #ffebe9;
  --shadow: none;
  --latest-fg: #1a7f37;
  --radius: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", "Microsoft JhengHei",
    "Noto Sans CJK SC", "Noto Sans CJK TC", sans-serif;
  --shell-max: 2400px;
  --table-max: 1600px;
  --topbar-h: 48px;
  --bar-h: 0px; /* the sticky page bar, measured by app.js */
  --sticky-top: var(--topbar-h);
  --reading: 75ch;
  --fit-h: calc(100dvh - var(--sticky-top) - var(--bar-h) - 16px); /* Files and What changed; app.js measures it */
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "PingFang SC", "Microsoft YaHei", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --bg-2: #161b22;
    --bg-3: #21262d;
    --fg: #e6edf3;
    --fg-2: #9198a1;
    --line: #30363d;
    --link: #4493f8;
    --accent: #4493f8;
    --ok: #3fb950;
    --warn: #d29922;
    --patch: #9198a1;
    --patch-bg: #21262d;
    --minor: #d29922;
    --minor-bg: #3a2d00;
    --major: #f85149;
    --major-bg: #4a1414;
    --ins-bg: #12351c;
    --del-bg: #4a1414;
    --shadow: none;
    --latest-fg: #3fb950;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* layout rules never override the hidden attribute */
html { font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--fg); background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 600; margin: 1.5em 0 .5em; }
/* one type scale: 12 badges and tags, 14 tables and meta, 16 body, 20 the item bar's name, 24 page titles */
h1 { font-size: 24px; margin-top: .5em; }
h2 { font-size: 20px; border-bottom: 1px solid var(--line); padding-bottom: .25em; }
h3 { font-size: 16px; }
h4 { font-size: 1rem; margin: .5em 0 .25em; }
p { margin: .5em 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .4em .6em; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--fg-2); font-size: .85rem; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
ul.plain { list-style: none; padding: 0; margin: 0; }
del { background: var(--del-bg); text-decoration: line-through; color: var(--major); }
ins { background: var(--ins-bg); text-decoration: none; color: var(--ok); }
q { quotes: "“" "”"; }
[lang="zh-TW"], [lang="zh-HK"] { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC", sans-serif; }

.nowrap, .edition-name { white-space: nowrap; }
.phone-only { display: none; }
.reading { max-width: var(--reading); }
/* About: intro full width, then Disclaimer | Contact side by side on wide screens so the
   whole page (form, check and Send included) fits one 1280x800 screen. */
.about { max-width: 1120px; }
.about h2 { margin-top: 1em; }
.about-cols { display: grid; gap: 0 2.5rem; }
@media (min-width: 960px) { .about-cols { grid-template-columns: 1fr 1fr; } }
.contact-form { display: grid; gap: .6rem; }
.contact-form .field { display: grid; gap: .15rem; align-content: start; }
.contact-form .field-pair { display: grid; gap: .6rem; }
@media (min-width: 560px) { .contact-form .field-pair { grid-template-columns: 1fr 1fr; column-gap: .75rem; align-items: start; } }
.contact-form label { font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; padding: .35em .55em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--fg); }
.contact-form textarea { resize: vertical; min-height: 5.5rem; max-height: 60vh; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-form [aria-invalid="true"] { border-color: var(--major); }
.contact-form .field-foot { display: flex; gap: .5rem; justify-content: space-between; min-height: 1.1rem; }
.contact-form .counter { margin-left: auto; color: var(--fg-2); font-size: .75rem; font-variant-numeric: tabular-nums; }
.field-error { color: var(--major); font-size: .8rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.form-actions .cf-turnstile { min-height: 65px; max-width: 100%; overflow: hidden; } /* 300px widget on a 320px phone */
.contact-form .btn { font-size: .9rem; padding: .35em 1.2em; }
.contact-form .btn:disabled { opacity: .6; cursor: progress; }
.form-status { margin: 0; flex-basis: 100%; }
.form-status.is-error { color: var(--major); }
.contact-sent { padding: .75rem 1rem; border: 1px solid var(--ok); border-radius: var(--radius); }
.contact-sent:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-sent p { margin: 0 0 .25rem; color: var(--ok); font-weight: 600; }
.contact-sent a { font-size: .85rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--bg); padding: .5em; z-index: 10; }
.muted { color: var(--fg-2); }
.small { font-size: 14px; }
.warn { color: var(--warn); }
.empty { color: var(--fg-2); font-style: italic; }
.local { color: var(--fg-2); font-weight: 400; }
.arrow { color: var(--fg-2); padding: 0 .25em; }
.lede { font-size: 16px; color: var(--fg-2); max-width: var(--reading); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* app shell: top bar and main column */
.topbar { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.topbar-in { max-width: var(--shell-max); margin: 0 auto; padding: 0 16px; height: calc(var(--topbar-h) - 1px); display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: center; gap: 1rem; }
.brand { font-weight: 600; font-size: .9rem; color: var(--fg); white-space: nowrap; justify-self: start; }
.topsearch { position: relative; margin: 0; width: 100%; }
.topsearch input { width: 100%; font: inherit; font-size: .9rem; padding: .3em .7em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--fg); }
.slash-hint { position: absolute; right: .55em; top: 50%; transform: translateY(-50%); font: inherit; font-size: .72rem; color: var(--fg-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 .35em; pointer-events: none; }
.topsearch input:focus ~ .slash-hint, .topsearch input:not(:placeholder-shown) ~ .slash-hint { display: none; }
.home-search .slash-hint { display: none; }
.topsearch input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.topsearch-results { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; list-style: none; margin: 0; padding: .25rem 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.18); max-height: 70vh; overflow: auto; }
.topsearch-results li a { display: block; padding: .4em .75em; color: var(--fg); }
.topsearch-results li a:hover, .topsearch-results li[aria-selected="true"] a { background: var(--bg-3); text-decoration: none; }
.topsearch-results .hit-name { font-weight: 600; color: var(--link); }
.topsearch-results .hit-meta { display: block; font-size: .8rem; color: var(--fg-2); }
.topsearch-results .hit-empty { padding: .4em .75em; color: var(--fg-2); font-style: italic; }
.topnav ul { display: flex; gap: 1rem; align-items: center; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.topnav { justify-self: end; font-size: .9rem; grid-column: 3; }
.topnav a[aria-current] { font-weight: 600; color: var(--fg); }

.shell { max-width: var(--shell-max); margin: 0 auto; }
.main-col { min-width: 0; padding: 0 16px; }
.main { min-width: 0; }
.site-footer { margin-top: 2rem; padding: .75rem 0 1rem; border: 0; background: none; color: var(--fg-2); font-size: 12px; }
.site-footer p { margin: 0; }
:root.fit-view .site-footer { display: none; }
.site-footer p a { color: inherit; text-decoration: underline; }
.crumbs { font-size: .9rem; color: var(--fg-2); margin: 1rem 0 0; }


/* sticky page bar on index and rulebook pages: title, codes and tabs */
/* the item bar (second layer): tabs, identity, latest / last change in one 40px row */
.page-bar { position: sticky; top: var(--sticky-top); z-index: 15; background: var(--bg); border-bottom: 1px solid var(--line); margin: 0 -16px; padding: 0 16px; }
.ib-row { display: flex; align-items: center; gap: .25rem 1.25rem; min-height: 56px; flex-wrap: nowrap; }
.page-bar .index-head { display: flex; align-items: baseline; gap: .1rem .6rem; min-width: 0; flex: 0 1 auto; flex-wrap: nowrap; }
.page-bar .index-head h1 { font-size: 20px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.page-bar .index-head h1 a { color: inherit; }
.page-bar .index-head p { margin: 0; }
.ib-vendor { font-weight: 400; font-size: 15px; color: var(--fg-2); white-space: nowrap; }
.ib-sep { color: var(--fg-2); }
.page-bar .codes-line, .page-bar .general-rules-line, .page-bar .applies-to { white-space: nowrap; margin: 0; }
.page-bar .applies-to { overflow: hidden; text-overflow: ellipsis; max-width: 28em; }
.page-bar .tablist { margin: 0; border-bottom: 0; flex: none; align-self: stretch; align-items: stretch; }
.page-bar .tablist [role="tab"] { display: flex; align-items: center; margin-bottom: -1px; }
.page-bar .status-line { margin: 0 0 0 auto; white-space: nowrap; flex: none; }
.page-bar-plain { margin-bottom: .75rem; }
.profile-notice { margin-top: .25rem; }

.mat-dot { font-size: .8rem; font-weight: 600; white-space: nowrap; }
.mat-dot-major { color: var(--major); }
.mat-dot-minor { color: var(--minor); }
.mat-dot-patch { color: var(--patch); }
.home { max-width: 640px; margin: 18vh auto 0; text-align: center; }
.home-search { max-width: none; margin: 0; text-align: left; }
.home-search input { font-size: 1.15rem; padding: .65em .9em; }
.home-counts { margin: 1rem 0 .25rem; }

[id] { scroll-margin-top: calc(var(--sticky-top) + var(--bar-h) + 12px); }

/* badges, chips */
.badge { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.4; padding: 0 .5em; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; vertical-align: middle; }
.badge-patch { color: var(--patch); background: var(--patch-bg); border-color: var(--patch); }
.badge-minor { color: var(--minor); background: var(--minor-bg); border-color: var(--minor); }
.badge-major { color: var(--major); background: var(--major-bg); border-color: var(--major); }
.item { display: inline-block; font-family: var(--mono); font-size: 12px; background: var(--bg-3); padding: 0 .4em; border-radius: 4px; color: var(--fg-2); cursor: help; }
.kind { font-size: .75rem; color: var(--fg-2); text-transform: lowercase; }
.kind-added, .kind-removed, .kind-moved { color: var(--fg-2); }
/* codes (vendor code, Bloomberg ticker): the text font, tabular figures, muted; no chip */
.code { font-family: inherit; font-size: 14px; font-weight: 500; color: var(--fg-2); background: none; border: 0; padding: 0; border-radius: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chip { display: inline-block; font-size: .8rem; background: var(--bg-3); border-radius: 999px; padding: 0 .55em; margin: 1px 2px 1px 0; }
.btn:focus-visible, .tablist [role="tab"]:focus-visible, .cw-view button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.btn { display: inline-block; font: inherit; font-size: .85rem; padding: .25em .75em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); color: var(--fg); cursor: pointer; }
.btn:hover { background: var(--bg-3); text-decoration: none; }
button.link { font: inherit; background: none; border: 0; padding: 0; color: var(--link); cursor: pointer; }
.banner { background: none; border: 0; border-left: 2px solid var(--line); color: var(--fg-2); font-size: 14px; padding: .25em .75em; margin: .75rem 0; }
.banner-info { background: var(--bg-2); border-color: var(--line); }

/* home: index selector */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.index-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 5em; gap: .5em 1.25em; align-items: center; padding: .6em .9em; color: var(--fg); }
.index-row:hover { background: var(--bg-2); text-decoration: none; }
.index-row .index-name { font-weight: 600; color: var(--link); }
.index-row .index-version { font-size: .9rem; white-space: nowrap; }
.index-row .index-change { text-align: right; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); padding: .75rem 1rem; }
.card h3 { margin: 0 0 .25em; }
.card p { margin: .15em 0; }

/* index page */
.index-head h1 { margin-bottom: .1em; }
.btn-small { font-size: .8rem; padding: .15em .6em; white-space: nowrap; }
.stats { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.stats > li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: .5em .75em; display: flex; flex-direction: column; }
.stat-label { font-size: .75rem; color: var(--fg-2); text-transform: uppercase; letter-spacing: .04em; }
.stat-value { font-size: 1.2rem; font-weight: 600; }
.glance { padding: .6rem .75rem; margin: 1rem 0; }
.glance .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.next-dates .dates li { padding: 0; cursor: help; }
.next-dates .more-dates summary { cursor: pointer; color: var(--link); }
.glance .stats { margin: 0; }
.dates li { padding: .15em 0; }
.profile > p { margin-top: 0; }
.open-points ul { margin: 0; padding-left: 1.2em; }

/* evidence tooltip */
.tip { position: relative; display: inline-block; cursor: help; outline: none; }
.tip-mark { color: var(--accent); font-size: .9rem; opacity: .8; }
.tip-body { display: none; position: absolute; z-index: 5; right: 0; top: 1.5em; min-width: 240px; max-width: 420px; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0,0,0,.15); padding: .5em .75em; font-size: .9rem; font-weight: 400; white-space: normal; }
.tip:hover .tip-body, .tip:focus .tip-body, .tip:focus-within .tip-body { display: block; }
.row-head .tip-body { left: 0; right: auto; }

/* index page: current card, tabs, profile layout, versions table */
.index-head .meta { margin: .25em 0 .75em; }
.card-actions { display: flex; flex-wrap: wrap; gap: .5em; margin-top: .5em; }
.tablist a[role="tab"] { color: var(--fg-2); text-decoration: none; }
.tablist a[role="tab"][aria-selected="true"] { color: var(--fg); }
.not-found { margin-top: .5rem; }
.bottom-links { margin-top: 2rem; }

/* Original PDFs tab */
/* fit-to-screen views (Files, What changed): the page does not scroll, only the document */
:root.fit-view { overflow: hidden; }
.pdf-layout { display: grid; grid-template-columns: minmax(200px, var(--files-w, 260px)) 12px minmax(0, 1fr); gap: 0 .5rem; align-items: stretch; margin-top: 12px; height: var(--fit-h); min-height: 360px; }
.pdf-layout > .files-col { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.files-col .editions { flex: 1; min-height: 0; overflow: hidden; container-type: inline-size; font-size: .86rem; }
.list-pager { flex: none; display: flex; gap: .4em; align-items: center; justify-content: center; padding: .3rem 0; }
.list-pager[hidden], .pg-off { display: none !important; }
.files-collapse { align-self: flex-end; width: 24px; height: 22px; font-size: 1rem; margin-bottom: 2px; }
.files-collapse[hidden] { display: none; }
:root.files-folded .pdf-layout { grid-template-columns: 28px minmax(0, 1fr); gap: 0 .5rem; }
:root.files-folded .files-col .editions, :root.files-folded .split-divider { display: none; }
:root.files-folded .files-collapse { align-self: center; }
.fr-line { display: flex; gap: .4em; align-items: center; min-width: 0; line-height: 1.35; }
.fr-sub { padding: .1em 0 0; }
.split-divider { align-self: stretch; min-height: 200px; cursor: col-resize; border-radius: 4px; position: relative; touch-action: none; }
.split-divider[hidden] { display: none; }
.split-divider::before { content: ""; position: absolute; top: 0; bottom: 0; left: 5px; width: 2px; background: var(--line); border-radius: 1px; }
.split-divider:hover::before, .split-divider:focus-visible::before, .split-divider.dragging::before { background: var(--accent); width: 3px; }
.split-divider:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.pdf-layout:not(.has-split) { grid-template-columns: minmax(200px, var(--files-w, 260px)) minmax(0, 1fr); gap: 0 1.25rem; }
.edition { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); margin-bottom: .4em; padding: .2em .25em; }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-row { display: block; white-space: nowrap; padding: .25em .45em; border-radius: 4px; min-width: 0; }
.file-row.selected { background: var(--bg-2); }
.file-list.single .file-row { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .4em; padding: .3em .5em; background: var(--bg); }
.file-list.single .file-row.selected { background: var(--bg-2); border-color: var(--accent); }
.file-lang { min-width: 2em; color: var(--fg-2); }
.file-lang.primary { font-weight: 700; color: var(--fg); cursor: help; }
.file-pages { color: var(--fg-2); font-size: .85rem; margin-left: auto; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.file-missing .file-pages { margin-left: 0; font-style: italic; }
.file-row .file-actions { display: inline-flex; flex: none; }
.btn-group .btn { border-radius: 0; margin-left: -1px; }
.btn-group .btn:first-child { border-radius: var(--radius) 0 0 var(--radius); margin-left: 0; }
.btn-group .btn:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; padding: .25em .45em; line-height: 0; }
.change-chip, .change-chip-first { flex: none; font-size: .78rem; border-radius: 999px; padding: .05em .55em; white-space: nowrap; }
.change-chip { text-decoration: none; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg-2); }
.change-chip:hover { text-decoration: none; filter: brightness(.96); }
.change-chip-major { color: var(--major); background: var(--major-bg); border-color: var(--major); }
.change-chip-minor { color: var(--minor); background: var(--minor-bg); border-color: var(--minor); }
.change-chip-first { color: var(--fg-2); }
.pair-head { margin: .75rem 0 .25rem; }
.edition-name { font-weight: 400; flex: none; }
.lang-switch { font-size: .9rem; }
.lang-btn[aria-pressed="true"] { font-weight: 700; color: var(--fg); text-decoration: none; }
.text-head { display: flex; justify-content: space-between; gap: 1em; flex-wrap: wrap; align-items: center; }
.text-actions { display: flex; gap: .4em; flex-wrap: wrap; }
.paired { margin: .35em 0 .25em; }
.paired summary { cursor: pointer; color: var(--link); font-size: .9rem; }
.paired-body { border-left: 3px solid var(--line); padding: .25em 0 .25em .9em; margin-top: .35em; }
.paired-body h4 { margin: .25em 0; }
.pdf-layout.paired .viewers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.evidence { margin: 0; padding: .6em .9em; border-top: 1px solid var(--line); background: var(--bg); font-size: .95rem; }
.evidence p { margin: .25em 0; }
.ev-label { display: inline-block; min-width: 9.5em; color: var(--fg-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.evidence q { font-weight: 600; }
.quote-link { color: inherit; }
.quote-link:hover { text-decoration: underline; }
.quotes { margin-top: .2em; }
.viewer[hidden] { display: none; }
.viewer { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); height: 100%; min-height: 0; display: flex; flex-direction: column; }
.viewers { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
.viewer-bar { display: flex; flex-wrap: nowrap; gap: .5em .75em; align-items: center; padding: .35em .6em; border-bottom: 1px solid var(--line); background: var(--bg); border-radius: var(--radius) var(--radius) 0 0; overflow-x: auto; white-space: nowrap; font-size: .88rem; }
.viewer-bar[hidden] { display: none; }
.pv-group { display: inline-flex; align-items: center; gap: .25em; }
.pv-page { width: 3.2em; font: inherit; font-size: .85rem; text-align: right; padding: .1em .3em; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--fg); }
.pv-scale { min-width: 3em; text-align: center; }
.pv-find { width: 9em; font: inherit; font-size: .85rem; padding: .15em .45em; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--fg); }
.viewer-title { font-weight: 600; margin-right: auto; overflow: hidden; text-overflow: ellipsis; min-width: 4em; }
.viewer select { font: inherit; font-size: .85rem; max-width: 16em; }
.viewer-fallback { padding: 1rem; }
.viewer-frame { display: block; width: 100%; flex: 1 1 auto; min-height: 320px; border: 0; background: var(--bg-2); }
.viewer-frame[hidden] { display: none; }
.viewer-links { display: inline-flex; flex-wrap: wrap; gap: .4em; }

/* What changed tab */
.pair-line { margin: .5em 0; }
/* original text view */
.text-view { margin-top: 1rem; }
.text-paired { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 2rem; }
.text-col-head h2 { margin: .5em 0 0; border: 0; font-size: 1.1rem; }
.contents { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem 1rem; margin: 1rem 0; }
.contents h2 { margin: .25em 0 .35em; border: 0; font-size: 1rem; }
.contents-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; font-size: .9rem; }
.contents-list li { break-inside: avoid; padding: .1em 0; }
.contents-list .lvl-2 { padding-left: 1.2em; } .contents-list .lvl-3 { padding-left: 2.4em; }
.text-sec { border-top: 1px solid var(--line); padding: .5em 0 .75em; }
.text-sec.lvl-2 { border-top: 0; padding-left: 1.2em; } .text-sec.lvl-3 { border-top: 0; padding-left: 2.4em; }
.text-sec h4, .text-sec h5 { margin: .25em 0 .35em; font-size: .95rem; }
.text-sec h3 { margin: .25em 0 .35em; font-size: 1rem; }
.text-sec p { margin: .35em 0; line-height: 1.75; }


details.small summary { cursor: pointer; color: var(--fg-2); }

/* compare page */
.compare-range { font-size: 1.05rem; }
.compare-range time { font-family: var(--mono); }
.diff-stats .stat { font-family: var(--mono); font-size: .85rem; }
.stat-added { color: var(--ok); } .stat-removed { color: var(--major); } .stat-modified { color: var(--minor); } .stat-moved { color: var(--warn); }
.tablist { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin: 1rem 0; }
.tablist [role="tab"] { font: inherit; background: none; border: 0; border-bottom: 2px solid transparent; padding: .5em 1em; color: var(--fg-2); cursor: pointer; margin-bottom: -1px; }
.tablist [role="tab"][aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); font-weight: 600; }
.tablist .count { font-size: .75rem; background: var(--bg-3); border-radius: 999px; padding: 0 .5em; }
.redline-nav { display: flex; align-items: center; gap: .5em; }
.collapsed-run { border: 1px dashed var(--line); border-radius: var(--radius); padding: .4em .75em; margin: .75rem 0; color: var(--fg-2); font-size: .9rem; }
.collapsed-run summary { cursor: pointer; }
.collapsed-run ul { margin: .25em 0 0; padding-left: 1.2em; }
.section-diff { margin: 1rem 0 1.5rem; }
.section-diff h3 { margin: 0 0 .5em; display: flex; flex-wrap: wrap; gap: .4em; align-items: center; }
.section-diff .udiff { display: block; font-family: var(--mono); font-size: .85rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: .75em; overflow-x: auto; white-space: pre-wrap; }
.section-diff .diff-target:not(:empty) + .udiff { display: none; }
.section-diff.diff-active { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.d2h-wrapper { font-family: var(--mono); }
.d2h-file-wrapper { border-color: var(--line); border-radius: var(--radius); margin-bottom: 0; }
.d2h-file-header { display: none; }
.d2h-code-side-line, .d2h-code-line { font-size: .85rem; white-space: normal; }
/* diff2html reserves 8em / 4.5em of padding on both sides for its gutter; with border-box sizing that leaves phones no room */
.d2h-code-line { display: block; width: auto; padding: 0 1em 0 .5em; }
.d2h-code-side-line { display: block; width: auto; padding: 0 1em 0 .5em; }
.d2h-code-linenumber .line-num1, .d2h-code-linenumber .line-num2 { width: 50%; padding: 0 .25em; }
/* a line number reads on its code line's first line: the same font size, line height and
   top padding as the code cell (the page's td padding would otherwise apply to one only) */
.d2h-diff-table td { padding-top: .3rem; padding-bottom: .3rem; vertical-align: top; }
.d2h-code-side-linenumber, .d2h-code-linenumber { font-size: .85rem; line-height: 1.5; }
.d2h-code-linenumber .line-num1, .d2h-code-linenumber .line-num2 { font-size: inherit; line-height: inherit; }
.d2h-code-side-line, .d2h-code-line { line-height: 1.5; }
.d2h-code-line-prefix { white-space: pre; }
.d2h-code-side-line-ctn, .d2h-code-line-ctn { display: inline; width: auto; white-space: pre-wrap; word-break: break-all; vertical-align: baseline; }
.inline-diff { font-size: 1rem; line-height: 1.8; }
.original-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5em 1.5rem; }
.original-col h3 { margin-top: 0; }
.original-row { border-top: 1px solid var(--line); padding-top: .5em; }
.original-row h4 { color: var(--fg-2); font-weight: 600; }
@container (max-width: 220px) {
  .fr-line { flex-wrap: wrap; white-space: normal; }
  .file-list.single .file-row .file-pages { margin-left: 0; }
}

/* cross-index table */
.picker { display: flex; flex-wrap: wrap; gap: .5em 1em; align-items: center; margin: 0 0 .5rem; }
.picker label { font-size: .9rem; font-weight: 600; display: inline-flex; gap: .4em; align-items: center; min-width: 0; }
.picker label.small { font-weight: 400; color: var(--fg-2); }
.picker select { font: inherit; font-size: .9rem; font-weight: 400; max-width: min(28rem, 70vw); padding: .25em .4em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--fg); }
.tabulator.cross-host .tabulator-header .tabulator-col .tabulator-col-title { text-transform: none; letter-spacing: 0; font-size: .85rem; white-space: normal; }
.tabulator.cross-host .tabulator-header .tabulator-col[tabulator-field="concept"] .tabulator-col-title { text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; }
.cross th.row-head { position: sticky; left: 0; background: var(--bg); z-index: 1; min-width: 12em; max-width: 16em; color: var(--fg); font-weight: 500; }
.cross thead th { position: sticky; top: 0; background: var(--bg-2); z-index: 2; }
.cross thead th.row-head { z-index: 3; }
.cross .group-row th { background: var(--bg-3); color: var(--fg); font-size: .9rem; position: static; }
.cross td.cell { min-width: 11em; }
.cross .cell-num { text-align: right; font-variant-numeric: tabular-nums; }
.cross .vendor-term { margin-top: .15em; }
.cross .cell-rule .cell-btn { font-size: .9rem; }
.cross .cell-unverified .cell-btn { color: var(--warn); }
.cross tr.row-extra th, .cross tr.row-extra td { color: var(--fg-2); }
.cross .row-label { border-bottom: 1px dotted var(--fg-2); }
.cell-btn { font: inherit; background: none; border: 0; padding: 0; text-align: inherit; color: inherit; cursor: pointer; }
.cell-btn:hover { background: var(--bg-3); }
.cross tr[hidden], .cross th[hidden], .cross td[hidden] { display: none; }
.quote-pop { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: min(90vw, 560px); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.2); padding: .75em 1em; z-index: 20; }

/* the change table of an index's compare page */
.changes-table td.prev-next { font-size: .9rem; min-width: 14em; }
.changes-table td.summary { min-width: 16em; }
.changes-table .section-ref { white-space: nowrap; }

/* Profile: Sections beside one table of fields grouped by outline item */
.profile-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.25rem; align-items: start; margin-top: .5rem; }
.sections { position: sticky; top: calc(var(--sticky-top) + var(--bar-h) + 12px); font-size: .86rem; }
@media (max-height: 599.98px) { .sections { position: static; } }
.sections-box > summary { list-style: none; cursor: default; margin: .25rem 0 .4rem; }
.sections-box > summary::-webkit-details-marker { display: none; }
.sections-list { list-style: none; margin: 0; padding: 0; }
.sections-list a, .sections-list .sec-empty { display: flex; gap: .4em; align-items: baseline; padding: .2em .45em; border-radius: 4px; color: var(--fg); }
.sections-list a:hover { background: var(--bg-2); text-decoration: none; }
.sections-list a[aria-current] { background: var(--bg-2); box-shadow: inset 2px 0 0 var(--accent); font-weight: 600; }
.sections-list .sec-empty { color: var(--fg-2); cursor: default; }
.sections-list .sec-title { flex: 1; min-width: 0; }
.sections-list .count { font-size: .75rem; color: var(--fg-2); }
.profile-table { font-size: 14px; border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; }
.profile-table thead th { position: sticky; top: calc(var(--sticky-top) + var(--bar-h)); z-index: 2; background: var(--bg); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); }
.profile-table th, .profile-table td { border-bottom: 1px solid var(--line); padding: .35em .6em; }
/* each outline item is a full-width section: a heading line with a thin rule, then its rows */
.profile-table .group-row th { background: var(--bg); color: var(--fg); font-size: .95rem; font-weight: 600; padding-top: 1.1em; border-bottom: 1px solid var(--fg-2); }
.profile-table tbody.collapsed tr.field-row { display: none; }
.profile-table tbody[id] { scroll-margin-top: calc(var(--sticky-top) + var(--bar-h) + 40px); } /* under the sticky header row */
.profile-table tr[hidden], .profile-table tbody[hidden] { display: none; }
.profile-table .f-field { width: 20%; color: var(--fg-2); }
.profile-table .f-value { width: 18%; color: var(--fg-2); }
.profile-table .f-source { width: 9.5em; white-space: nowrap; }
.profile-table .row-unverified td { background: var(--minor-bg); }
.group-toggle { font: inherit; background: none; border: 0; padding: 0 .25em 0 0; color: var(--fg-2); cursor: pointer; }
.group-toggle[hidden] { display: none; }
.tip-page { font-size: .8rem; }
.open-points { margin-top: .5rem; }

/* What changed: one edition step, reviewed like a pull request; fitted to the screen, only
   the redline box scrolls */
.pair { display: flex; flex-direction: column; height: var(--fit-h); min-height: 360px; margin-top: 12px; }
.cw-top { flex: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.25rem; margin: 0 0 .5rem; }
.cw-top .pair-head { margin: 0; }
.cw-mode { margin-left: auto; }
.cw-mode[hidden] { display: none; }
.diff-mode[hidden] { display: none; }
.diff-mode button, .cw-view button, .cw-mode button { font: inherit; font-size: .85rem; padding: .15em .7em; border: 1px solid var(--line); background: var(--bg); color: var(--fg-2); cursor: pointer; margin-left: -1px; }
.diff-mode button:first-of-type, .cw-view button:first-of-type, .cw-mode button:first-of-type { border-radius: var(--radius) 0 0 var(--radius); }
.diff-mode button:last-of-type, .cw-view button:last-of-type, .cw-mode button:last-of-type { border-radius: 0 var(--radius) var(--radius) 0; }
.diff-mode button[aria-checked="true"], .cw-view button[aria-checked="true"], .cw-mode button[aria-checked="true"] { background: var(--bg-2); color: var(--fg); font-weight: 600; }
.cw-view button:disabled { opacity: .5; cursor: not-allowed; }
.cw { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); }
.cw-tree { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); padding: .4rem; font-size: .88rem; }
.cw-tools { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: .35em .6em; margin-bottom: .35rem; }
.cw-tools[hidden], .cw-nav[hidden] { display: none; }
.cw-filter { width: 100%; font: inherit; font-size: .85rem; padding: .2em .5em; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--fg); }
.cw-folder-filter { margin: 0; }
.cw-folder-filter[hidden] { display: none; }
.cw-overview-link { flex: none; display: block; padding: .3em .45em; border-radius: 4px; color: var(--fg); font-weight: 600; }
.cw-overview-link[aria-current] { background: var(--bg-2); box-shadow: inset 2px 0 0 var(--accent); }
.cw-items { flex: 1; min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: 0; }
.cw-items li[hidden] { display: none; }
.folder-toggle { font: inherit; display: flex; gap: .35em; align-items: center; width: 100%; text-align: left; background: none; border: 0; padding: .3em .3em; color: var(--fg); cursor: pointer; border-radius: 4px; }
.folder-toggle:hover { background: var(--bg-2); }
.folder-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.folder-counts { font-size: .78rem; color: var(--fg-2); white-space: nowrap; }
.tw { color: var(--fg-2); width: 1em; }
.tree-item { display: flex; align-items: center; padding-left: 1.2em; }
.cw-item { flex: 1; min-width: 0; display: flex; gap: .4em; align-items: baseline; padding: .25em .45em; border-radius: 4px; color: var(--fg); }
.cw-item:hover { background: var(--bg-2); text-decoration: none; }
.cw-item[aria-current] { background: var(--bg-2); box-shadow: inset 2px 0 0 var(--accent); font-weight: 600; }
.cw-sec { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewed { font: inherit; font-size: .8rem; background: none; border: 1px solid transparent; border-radius: 4px; color: var(--line); cursor: pointer; padding: 0 .3em; }
.viewed[hidden] { display: none; }
.viewed[aria-pressed="true"] { color: var(--ok); }
.tree-item.is-viewed .cw-item { color: var(--fg-2); }
.cw-pane { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.cw-overview { padding: .6rem .9rem; overflow: hidden; }
.cw-overview .sec-head { margin-top: 0; }
.by-section { max-width: 44rem; font-size: .9rem; }
.by-section tbody tr { cursor: pointer; }
.by-section tbody tr:hover, .by-section tbody tr:focus { background: var(--bg-2); outline: none; }
.cw-detail { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.cw-pane-head { flex: none; padding: .45rem .9rem .35rem; border-bottom: 1px solid var(--line); }
.cw-nav { display: flex; gap: .5em 1em; align-items: center; flex-wrap: wrap; }
.cw-crumbs { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-2); }
.cw-crumbs button.link { font-size: inherit; }
.cw-step { white-space: nowrap; }
.cw-change-head { margin: .3rem 0 .1rem; display: flex; flex-wrap: wrap; gap: .35em; align-items: baseline; }
.cw-summary { margin: .1rem 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* one line; the whole text on hover */
.cw-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.cw-redline { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .25rem .9rem 1rem; }
.cw-pdf { min-height: 0; padding: .5rem; }
.cw-pdf .viewer { height: 100%; }
.cw-redline[hidden], .cw-pdf[hidden] { display: none; }
.cw-pdf .viewer-bar .viewer-title, .cw-pdf .viewer-bar .lang-switch { display: none; }
.cw-js .cw-change:not(.current), .cw-js .cw-redline .section-diff:not(.current), .cw-js .cw-redline .collapsed-run, .cw-js .cw-redline > p { display: none; }
.section-diff.current { margin-top: .5rem; }

/* change log and index tables (plain tables; app.js turns them into Tabulator tables) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: .75rem 0; }
.log-table .step-row th { font-weight: 600; }
.log-table .record-row td { font-size: .88rem; color: var(--fg-2); }
.log-table .record-row td:first-child { padding-left: 1.5em; }
.tree-toggle { cursor: pointer; color: var(--fg-2); padding-right: .35em; }
.tab-changelog .tabulator-row:not(.tabulator-tree-level-1), .tab-changes .tabulator-row:not(.tabulator-tree-level-1) { cursor: pointer; }
.tabulator-row.tabulator-tree-level-1 .tabulator-cell { color: var(--fg-2); font-size: .88rem; }
.log-table td.summary { min-width: 16em; }
.log-table .section-ref { min-width: 8em; }
.index-table .index-name { font-weight: 600; }
.table-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5em 1em; margin: .5rem 0; }
.table-tools[hidden] { display: none; }
.table-tools input[type="search"] { flex: 0 1 360px; min-width: 0; font: inherit; font-size: .95rem; padding: .35em .7em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--fg); }
.table-tools input[type="search"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tab-host { margin: .75rem 0; }
.table-wrap.enhanced { display: none; }

/* table sections: a small capitals heading with the count, a filter bar, the table */
.tsec { margin: 1.75rem 0 0; }
.sec-head { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); border: 0; margin: 1.75rem 0 .5rem; padding: 0; }
.sec-head .count { font-weight: 400; }
.tsec > .sec-head { margin-top: 0; }
.table-wrap.bounded { border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap.bounded table thead th { position: sticky; top: calc(var(--sticky-top) + var(--bar-h)); background: var(--bg); z-index: 1; }
.summary-cut { max-width: 48ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.last-change { white-space: nowrap; }
.last-change:hover { text-decoration: none; }
.last-change:hover .nowrap { text-decoration: underline; }

/* Tabulator, one style everywhere, themed with the site's colours (light and dark) */
.tabulator { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--fg); overflow: visible; }
.tabulator .tabulator-header { position: sticky; top: calc(var(--sticky-top) + var(--bar-h)); z-index: 5; background: var(--bg); color: var(--fg-2); border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; font-weight: 600; }
.tab-host .tabulator-footer { display: none; } /* our pager replaces Tabulator's */
.tab-vendor-changes .tabulator-row { cursor: pointer; }
.tab-vendor-changes .tabulator-cell[tabulator-field="summary"] { white-space: nowrap; text-overflow: ellipsis; }
.tabulator .tabulator-header .tabulator-col { background: var(--bg); border-right: 0; }
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover { background: var(--bg-2); }
.tabulator .tabulator-header .tabulator-col .tabulator-col-content { padding: .45em .6em; }
.tabulator .tabulator-header .tabulator-col .tabulator-col-title { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-content .tabulator-col-sorter .tabulator-arrow { border-bottom-color: var(--line); }
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="ascending"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow { border-bottom-color: var(--accent); }
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="descending"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow { border-top-color: var(--accent); border-bottom: none; }
.tabulator .tabulator-header .tabulator-header-filter input, .tabulator .tabulator-header .tabulator-header-filter select { font: inherit; font-size: .8rem; font-weight: 400; padding: .15em .35em; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--fg); }
.tabulator .tabulator-tableholder { background: var(--bg); }
.tabulator .tabulator-tableholder .tabulator-table { background: var(--bg); color: var(--fg); }
.tabulator-row { background: var(--bg); border-bottom: 1px solid var(--line); min-height: 0; }
.tabulator-row.tabulator-row-even { background: var(--bg); }
.tabulator-row.tabulator-selectable:hover, .tabulator-row:hover { background: var(--bg-2); cursor: default; }
.tabulator-row .tabulator-cell { padding: .4em .6em; border-right: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.45; }
.tabulator-row .tabulator-cell.num { text-align: right; font-variant-numeric: tabular-nums; }
.tabulator-row.row-target { box-shadow: inset 3px 0 0 var(--accent); background: var(--bg-2); }
.tabulator-row.tabulator-group { background: var(--bg-2); color: var(--fg); border-bottom: 1px solid var(--line); border-top: 0; padding: .35em .6em; font-weight: 600; font-size: .88rem; }
.tabulator-row.tabulator-group:hover { background: var(--bg-2); cursor: pointer; }
.tabulator-row.tabulator-group span { color: var(--fg-2); margin-left: .5em; font-weight: 400; }
.tabulator-row.tabulator-group .tabulator-arrow { border-left-color: var(--fg-2); }
.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow { border-top-color: var(--fg-2); border-left-color: transparent; }
.tabulator-row .tabulator-responsive-collapse { border: 0; padding: .25em .6em .5em; }
.tabulator-row .tabulator-responsive-collapse table { font-size: .88rem; width: 100%; table-layout: fixed; }
.tabulator-row .tabulator-responsive-collapse table td { border: 0; padding: .1em .6em .1em 0; white-space: normal; overflow-wrap: anywhere; }
.tabulator-row .tabulator-responsive-collapse table td:first-of-type { width: 7.5em; }
.tabulator-row .tabulator-responsive-collapse table td:first-of-type { color: var(--fg-2); font-weight: 600; padding-right: 1em; }
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle { background: var(--bg-3); color: var(--fg); }
.tabulator .tabulator-footer { background: var(--bg); border-top: 1px solid var(--line); color: var(--fg-2); font-weight: 400; border-radius: 0 0 var(--radius) var(--radius); }
.tabulator .tabulator-footer .tabulator-page { background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 4px; }
.tabulator .tabulator-footer .tabulator-page.active { color: var(--accent); font-weight: 600; border-color: var(--accent); }
.tabulator .tabulator-footer .tabulator-page:not(:disabled):hover { background: var(--bg-3); color: var(--fg); }
.tabulator .tabulator-placeholder .tabulator-placeholder-contents { color: var(--fg-2); font-weight: 400; font-style: italic; font-size: .95rem; }
.tabulator-tooltip { background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0,0,0,.15); font-size: .85rem; max-width: 420px; }
.tabulator .tabulator-frozen.tabulator-frozen-left { border-right: 1px solid var(--line); background: inherit; }
.tabulator-row .tabulator-cell.tabulator-frozen { background: var(--bg); }
.tabulator-row.row-extra .tabulator-cell { color: var(--fg-2); }
.tabulator-edit-list { background: var(--bg); color: var(--fg); border-color: var(--line); }
.tabulator-edit-list .tabulator-edit-list-item { color: var(--fg); }
.tabulator-edit-list .tabulator-edit-list-item.active, .tabulator-edit-list .tabulator-edit-list-item:hover { background: var(--accent); color: #fff; }

/* wide screens: more room for the lists beside the Profile table and the change pane */
@media (min-width: 1600px) {
  .profile-layout { grid-template-columns: 280px minmax(0, 1fr); }
  .cw { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); }
}
/* phone: one column */
@media (max-width: 719.98px) {
  html { font-size: 15px; }
  :root { --sticky-top: 0px; }
  .topbar { position: static; }
  /* phone: brand and nav on the first row, the search on its own row below */
  .topbar-in { height: auto; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem .75rem; padding: .4rem 12px .5rem; }
  .brand { display: block; justify-self: stretch; font-size: .95rem; grid-row: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .topnav { grid-column: 2; grid-row: 1; }
  .topsearch { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .topnav ul { gap: .6rem; font-size: .9rem; }
  @media (max-width: 374.98px) { .brand, .topnav ul { font-size: .85rem; } .topnav ul { gap: .5rem; } }
  .page-bar .index-head h1 { font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .page-bar .index-head { gap: 0 .75rem; }
  .home { margin-top: 10vh; }
  .page-bar-tabs { gap: .4rem; }
  .tablist { overflow-x: auto; white-space: nowrap; flex-wrap: nowrap; }
  .tablist [role="tab"] { padding: .5em .7em; }
  .d2h-code-side-line-ctn, .d2h-code-line-ctn { word-break: normal; overflow-wrap: anywhere; }
  .text-paired { grid-template-columns: 1fr; }
  .pdf-layout, .pdf-layout:not(.has-split) { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .pdf-layout > .files-col { position: static; height: auto; }
  :root.files-folded .pdf-layout { grid-template-columns: minmax(0, 1fr); }
  :root.files-folded .files-col .editions { display: block; }
  .profile-layout { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .sections { position: static; max-height: none; }
  .sections-box > summary { cursor: pointer; border: 1px solid var(--line); border-radius: var(--radius); padding: .3em .7em; display: inline-block; }
  .sections-box > summary::after { content: " ▾"; }
  .profile-table .f-field { width: auto; }
  .profile-table thead { display: none; }
  .profile-table tr.field-row { display: grid; grid-template-columns: 1fr auto; }
  .profile-table tr.field-row td { border: 0; padding: .1em .5em; }
  .profile-table tr.field-row .f-field { grid-column: 1 / -1; padding-top: .45em; }
  .profile-table tr.field-row { border-bottom: 1px solid var(--line); }
  .profile-table tr.field-row[hidden], .profile-table tbody.collapsed tr.field-row { display: none; }
  .pair { height: auto; }
  .cw { grid-template-columns: minmax(0, 1fr); }
  .cw-js .cw-select { display: block; width: 100%; font: inherit; font-size: .9rem; }
  .cw-pane { overflow: visible; }
  .cw-pdf .viewer { height: 75vh; }
  .files-collapse { display: none !important; }
  .split-divider { display: none; }
  .viewer { height: auto; }
  .viewer-frame { height: 75vh; flex: none; }
  .contents-list { columns: 1; }
  .ev-label { display: block; min-width: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .original-grid { grid-template-columns: 1fr; }
  .tip-body { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; max-width: none; }
  .cross th.row-head { min-width: 9em; }
  .table-tools input[type="search"] { flex: 1 1 100%; }
  .phone-only { display: block; }
  .index-vendor { font-size: .85rem; }
  .changes-table thead { display: none; }
  .changes-table tr { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: .5em .75em; margin-bottom: .75em; }
  .changes-table td { display: block; border: 0; padding: .15em 0; }
  .changes-table td.summary { order: -2; font-weight: 500; }
  .changes-table td.mat { order: -1; }
  .changes-table td.section-ref { white-space: normal; }
  .changes-table td.prev-next { min-width: 0; }
}

/* general rulebooks: the vendor page block, the rulebook page's change log, inherited fields */
.item-title { font-weight: 600; }
.quote-cell { white-space: nowrap; }
.general-label { font-size: .75rem; color: var(--fg-2); white-space: nowrap; margin-left: .25em; text-decoration: none; }
.general-label:hover, .general-label:focus { color: var(--accent); text-decoration: underline; }

.text-view, .contents { max-width: var(--reading); }
.text-paired { max-width: none; }
.tabulator .tabulator-footer .tabulator-page-size { font: inherit; font-size: .85rem; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 4px; }

/* tables: at most 1600px wide, centred */
.table-wrap, .tab-host, .table-tools, .table-pager { max-width: var(--table-max); margin-left: auto; margin-right: auto; }
.tsec > .sec-head { max-width: var(--table-max); margin-left: auto; margin-right: auto; }

/* the pager under every table */
.table-pager { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: .5rem; margin-bottom: .75rem; color: var(--fg-2); }
.table-pager[hidden] { display: none; }
.pg-pages { display: inline-flex; align-items: center; gap: .2rem; }
.pg-pages button { font: inherit; min-width: 2em; padding: .1em .45em; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--fg); cursor: pointer; }
.pg-pages button[aria-current] { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.pg-pages button:disabled { opacity: .45; cursor: default; }
.pg-rows select { font: inherit; }

/* small laptops: the item bar takes two rows, the change list narrows */
@media (max-width: 1199.98px) {
  .cw { grid-template-columns: 240px minmax(0, 1fr); }
}
.profile-table .f-reading { max-width: 80ch; }

/* very large screens (2400px and up) */
.page-text[hidden], .source-preview[hidden] { display: none; }
.pv-text[hidden] { display: none; }
@media (min-width: 2400px) {
  .cw-body.both { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cw-body.both .cw-pdf { border-left: 1px solid var(--line); }
  .cw-view { display: none; }  /* redline and PDF are both shown */
  .viewers.with-text { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .75rem; }
  .page-text { overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .9rem; font-size: .95rem; line-height: 1.7; }
  .page-text h4 { margin: .5em 0 .25em; }
  .profile-layout.with-preview { grid-template-columns: 280px minmax(0, 1fr) minmax(0, 40%); }
  .source-preview { position: sticky; top: calc(var(--sticky-top) + var(--bar-h) + 12px); height: calc(100vh - var(--sticky-top) - var(--bar-h) - 24px); display: flex; flex-direction: column; }
  .source-preview .viewer { flex: 1; min-height: 0; }
  .source-preview .viewer-title, .source-preview .lang-switch, .source-preview .viewer-links { display: none; }
}

/* whole-page tables (All indices, the change pages): fill the screen, only the body scrolls */
:root.screener-view { overflow: hidden; }
:root.screener-view .site-footer { display: none; }
.screener-status { max-width: var(--table-max); margin: .35rem auto 0; }
:root.screener-view .tab-host .tabulator-header { position: relative; top: auto; }
:root.screener-view .tab-host .tabulator { overflow: hidden; }

/* profile: Field | Value | Source text (the vendor's words) | Reading (the model's, muted) */
.profile-table .f-field { width: 16%; }
.profile-table .f-value { width: 16%; color: var(--fg); }
.profile-table .f-source { width: auto; white-space: normal; }
.profile-table .f-reading { width: 26%; color: var(--fg-2); font-size: 14px; max-width: 80ch; }
.profile-table .row-unverified td { background: none; }
.profile-table .row-unverified .f-source { background: var(--minor-bg); }
.src-quote { quotes: none; }
.src-open { white-space: nowrap; font-size: 14px; }

/* the filter bar */
.fbar { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: 0 0 .5rem; font-size: 14px; }
.fb-chip { font: inherit; font-size: 13px; padding: .1em .6em; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--fg-2); cursor: pointer; }
.fb-chip[aria-pressed="true"] { color: var(--fg); border-color: var(--fg-2); background: var(--bg-2); }
.fb-chip .count { color: var(--fg-2); font-size: 12px; }
.fb-mats { display: inline-flex; gap: .3rem; }
.fb-drop { position: relative; }
.fb-drop > summary { list-style: none; cursor: pointer; padding: .1em .6em; border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg-2); font-size: 13px; }
.fb-drop > summary::-webkit-details-marker { display: none; }
.fb-menu { position: absolute; z-index: 40; top: calc(100% + 4px); left: 0; min-width: 16rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: .35rem .6rem; display: flex; flex-direction: column; gap: .15rem; }
.fb-search { position: relative; flex: 1 1 18rem; max-width: 34rem; }
.fb-search input { width: 100%; font: inherit; font-size: 14px; padding: .2em .55em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--fg); }
.fb-suggest { position: absolute; z-index: 40; top: calc(100% + 3px); left: 0; list-style: none; margin: 0; padding: .2rem 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.18); min-width: 12rem; }
.fb-suggest li { padding: .15em .7em; cursor: pointer; font-family: var(--mono); font-size: 13px; }
.fb-suggest li[aria-selected="true"], .fb-suggest li:hover { background: var(--bg-2); }
.fb-active { display: inline-flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.fb-on { font-size: 12px; padding: 0 .45em; border: 1px solid var(--line); border-radius: 999px; }
.fb-count { margin-left: auto; font-size: 14px; }
mark.fb-hit { background: var(--minor-bg); color: inherit; padding: 0; }
.fb-help { position: relative; }
.fb-help > summary { list-style: none; cursor: pointer; width: 1.5em; height: 1.5em; line-height: 1.4em; text-align: center; border: 1px solid var(--line); border-radius: 999px; color: var(--fg-2); font-size: 12px; }
.fb-help > summary::-webkit-details-marker { display: none; }
.fb-help[open] > summary { color: var(--fg); border-color: var(--fg-2); }
.fb-help-body { position: absolute; z-index: 45; top: calc(100% + 4px); right: 0; width: min(26rem, calc(100vw - 32px)); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: .5rem .75rem; font-size: 13px; }
.fb-help-body ul { margin: .15rem 0 .5rem; }
.fb-help-body li { margin: .15rem 0; }
.fb-help-body code { font-size: 12px; }
.fb-help-h { margin: 0; font-weight: 600; }

/* What changed: one change's header line and its summary dialog */
.cw-line { margin: .1rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4em .6em; font-size: 14px; }
.cw-summary-wrap { position: relative; }
.cw-popover { position: absolute; z-index: 45; top: calc(100% + 6px); left: 0; width: min(32rem, 70vw); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: .7rem 1.6rem .7rem .9rem; font-size: 14px; display: flex; flex-direction: column; gap: .45rem; }
.pop-close { position: absolute; top: .25rem; right: .45rem; font-size: 18px; color: var(--fg-2); }
.cw-pane-head { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.cw-pane-head .cw-change { flex: 1 1 auto; padding: 0; }
.cw-pane-head .cw-nav { margin-left: auto; }
.cw-page { font-size: 12px; white-space: nowrap; }
.cw-where { font-size: 12px; white-space: nowrap; }
.cw-item .item { flex: none; }

/* the item bar: tabs | name (centred whatever its length) | latest and last change */
.ib-row { display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, max-content) minmax(max-content, 1fr); align-items: center; gap: 0 1.25rem; min-height: 56px; }
.page-bar .tablist { justify-self: start; grid-column: 1; grid-row: 1; }
.page-bar .index-head { grid-column: 2; grid-row: 1; justify-content: center; min-width: 0; overflow: hidden; }
.page-bar .status-line { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }
.page-bar .index-head .codes-line { font-size: 14px; flex: none; order: 0; }
.page-bar .index-head h1 { flex: 0 1 auto; }

.page-bar .ib-local { font-weight: 400; }
.page-bar .applies-to { display: none; } /* the rule page's scope is on the Profile and in the title */

/* the vendor page fits one screen: the vendor's line, then General rules, Indices and Recent
   changes stacked; app.js pages each table to the height it has. Rows stay one line. */
.vendor-head { margin: .75rem 0 0; }
.vendor-head h1 { font-size: 24px; font-weight: 600; margin: 0; }
.vendor-line { font-size: 14px; margin: .15rem 0 0; }
.vendor-page .tsec { margin-top: 1rem; }
.tsec-head { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; max-width: var(--table-max); margin: 0 auto .35rem; }
.tsec-head .sec-head { margin: 0; }
.tsec-head .table-tools, .tsec-head .fbar { margin: 0; max-width: none; flex-wrap: nowrap; }
.tsec-head .fbar { flex: 1 1 auto; min-width: 0; }
.tsec-head .fb-count { margin-left: 0; }
.vendor-page .table-pager { margin-top: .25rem; }
.vendor-page .tabulator-row .tabulator-cell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.vendor-page + .site-footer, .main-col .site-footer { background: none; border: 0; }

/* profile and rule tables: fixed columns, every row one line high; cut text shows whole in a
   tooltip. Source text: the vendor's sentence (grey bar; amber when not found verbatim), then
   "Open p.N ↗", which never wraps or truncates. */
.profile-table { table-layout: fixed; width: 100%; }
.profile-table col.c-field { width: 18ch; }
.profile-table col.c-value { width: 22ch; }
.profile-table col.c-source { width: clamp(320px, 40vw, 720px); }
.profile-table col.c-reading { width: auto; }
.profile-table .f-field, .profile-table .f-value, .profile-table .f-source, .profile-table .f-reading { width: auto; max-width: none; white-space: nowrap; overflow: hidden; }
.cell-line { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src-line { display: flex; align-items: baseline; gap: .5em; min-width: 0; white-space: nowrap; border-left: 2px solid var(--line); padding-left: .5em; }
.src-line.src-unverified { border-left-color: var(--minor); }
.src-quote { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src-quote:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.src-open, .src-line .general-label { flex: none; }
.profile-table .row-unverified .f-source { background: none; }
.tipbox { position: fixed; z-index: 90; max-width: 60ch; padding: .45em .7em; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.18); font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; pointer-events: none; }
.tipbox .tip-note { display: block; color: var(--minor); font-size: 12px; margin-bottom: .25em; }
.page-bar .tablist, .page-bar .tablist [role="tab"], .page-bar .status-line { white-space: nowrap; }
.page-bar .index-head h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* one size only: a 40px row on every page and tab. The code and the status stay whole;
   only the name truncates. */
.ib-row, .page-bar .ib-row { min-height: 40px; height: 40px; }
.page-bar .tablist [role="tab"] { font-size: 14px; padding: 0 .85em; }
.page-bar .ib-vendor { font-size: 14px; }
.page-bar .index-head .codes-line, .page-bar .index-head .codes-line .code { font-size: 14px; font-weight: 500; }
.page-bar .index-head h1 { font-size: 16px; font-weight: 600; }
.page-bar .index-head .ib-where { font-size: 13px; }
.page-bar .status-line { font-size: 13px; }
.page-bar .general-rules-line { display: none; } /* on the Profile instead */
@media (max-width: 719.98px) {
  .tsec-head .table-tools, .tsec-head .fbar { flex-wrap: wrap; }
  .tsec-head .fbar { flex-basis: 100%; }
}
@media (max-width: 719.98px) {  /* phones: the item bar wraps, the profile rows stack */
  .ib-row, .page-bar .ib-row { display: flex; flex-wrap: wrap; height: auto; gap: 0 .75rem; }
  .page-bar .index-head { order: -1; flex: 1 1 100%; justify-content: flex-start; padding-top: .35rem; }
  .page-bar .tablist { max-width: 100%; overflow-x: auto; }
  .page-bar .status-line { display: none; }
  .profile-table { table-layout: auto; }
  .profile-table col { width: auto !important; }
  .profile-table .f-field, .profile-table .f-value, .profile-table .f-source, .profile-table .f-reading { white-space: normal; }
  .cell-line, .src-quote { white-space: normal; }
  .src-line { flex-wrap: wrap; white-space: normal; }
}

/* home: the logo, the search and the counts a little above the middle of the window; the
   footer's one grey line at the very bottom */
.main-col:has(> .main-home) { display: flex; flex-direction: column; min-height: calc(100dvh - var(--sticky-top)); }
.main-home { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; padding-bottom: 10vh; }
.main-col:has(> .main-home) .site-footer { margin-top: auto; }
.home, .main-home .home { margin: 0 auto; width: 100%; }
.logo-slot { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.logo-slot > img, .logo-slot > svg { max-height: 120px; }
.logo-ascii { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.2; color: var(--fg-2); text-align: left; background: none; border: 0; padding: 0; }
.tsec-head .table-tools input[type="search"] { flex: 0 0 300px; }
.tsec-head [data-table-count] { white-space: nowrap; }
/* beside the source page (2400px and up) the table is narrower: Source text takes a share of it */
.with-preview .profile-table col.c-source { width: 40%; }
.with-preview .profile-table col.c-field { width: 14ch; }
.with-preview .profile-table col.c-value { width: 18ch; }
.page-bar .index-head { align-items: baseline; } /* the code on the name's baseline */

/* an inherited row: the vendor's sentence, then "From <rulebook> ↗" (only the title is cut) */
.src-from { flex: 0 1 auto; min-width: 8em; max-width: 60%; display: inline-flex; white-space: nowrap; }
.src-from-title { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.src-from-pre, .src-from-arrow { flex: none; white-space: pre; }
.src-line .src-quote { flex: 1 1 auto; }
/* a rule page row opened from an index (#field=key): a soft amber flash, then an accent bar */
.profile-table tr.field-current > td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
@keyframes field-flash { from { background-color: var(--minor-bg); } to { background-color: transparent; } }
.profile-table tr.field-flash > td { animation: field-flash 2s ease-out; }
@media (prefers-reduced-motion: reduce) { .profile-table tr.field-flash > td { animation: none; } }
.tnum { font-variant-numeric: tabular-nums; }

/* Open points: the profile's last section, a plain numbered list paged at 10 */
.open-points { margin-top: 1.25rem; }
.op-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .95rem; font-weight: 600; margin: 0; padding: .5em .6em .35em; border-bottom: 1px solid var(--fg-2); }
.op-note { font-size: 12px; font-weight: 400; }
.op-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.op-row { display: flex; align-items: baseline; gap: .75em; padding: .35em .6em; border-bottom: 1px solid var(--line); min-width: 0; }
.op-row[hidden] { display: none; }
.op-n { flex: none; width: 2.2em; text-align: right; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.op-tag { flex: none; font-size: 12px; color: var(--fg-2); border: 1px solid var(--line); border-radius: 999px; padding: 0 .5em; }
.op-tag-none { visibility: hidden; padding: 0; border: 0; width: 0; }
.op-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.open-points .table-pager { margin-top: .35rem; }

/* redline line numbers: real table cells in the flow (diff2html makes them position:absolute,
   which detaches them from their lines inside our scrolling redline box), kept in view when
   a side scrolls sideways */
.d2h-code-side-linenumber, .d2h-code-linenumber { position: sticky; left: 0; z-index: 1; display: table-cell; vertical-align: top; }
.d2h-code-side-linenumber { width: 4em; min-width: 4em; }
.d2h-code-linenumber { width: 7.5em; min-width: 7.5em; }

/* What changed, All changes: one scrolling pane of the filtered changes, each a header (sticky
   while its redline scrolls past) and its full-height redline; no scroll box inside a change */
.cw-js.cw-all-on .cw-pane-head, .cw-js.cw-all-on .cw-body { display: none; }
.cw-all { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 .9rem 1rem; }
.cw-all[hidden], .cw-all-item[hidden] { display: none; }
.cw-all-tools { margin: .4rem 0; color: var(--fg-2); }
.cw-all-item { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 .6rem; }
.cw-all-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: .4rem; padding: .3rem .6rem; background: var(--bg-2); border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.cw-all-item.folded .cw-all-head { border-bottom: 0; border-radius: var(--radius); }
.cw-all-head .cw-line { flex: 1; margin: 0; }
.cw-all-title { font-weight: 600; color: var(--fg); }
.cw-fold { font: inherit; background: none; border: 0; padding: 0 .2em; color: var(--fg-2); cursor: pointer; }
.cw-all-body { padding: .35rem .6rem .5rem; }
.cw-all-item.folded .cw-all-body { display: none; }
.cw-all-diff:empty { min-height: 6rem; }

/* the latest edition: its name in green (regular weight; bold is the language tag's), with a
   tooltip and a screen-reader word; older editions in the text colour */
.edition-name.is-latest, a.edition-name.is-latest { color: var(--latest-fg); font-weight: 400; }
a.edition-name:not(.is-latest) { color: var(--fg); }
.aliases { margin: .35rem 0 .5rem; font-variant-numeric: tabular-nums; }

/* an edition step's own page: a heading, one line of counts, the changes table */
.step-page { max-width: var(--table-max); margin: 0 auto; padding: 1rem 0 0; }
.step-h1 { font-size: 24px; font-weight: 600; margin: 0 0 .25rem; }
.step-line { margin: 0 0 1rem; font-size: 14px; }
.step-table { width: 100%; font-size: 14px; }
.step-table tr[hidden] { display: none; }
.step-others { margin-top: 1rem; }
.step-page-link { font-weight: 400; margin-left: .35em; }
.tablinks a.tab { display: flex; align-items: center; padding: 0 .85em; font-size: 14px; color: var(--fg-2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tablinks a.tab[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); font-weight: 600; }
.tablinks { display: flex; align-self: stretch; }
