@font-face { font-family: Poppins; src: url(/static/poppins-400.woff2) format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Poppins; src: url(/static/poppins-500.woff2) format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Poppins; src: url(/static/poppins-600.woff2) format('woff2');
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Poppins; src: url(/static/poppins-700.woff2) format('woff2');
  font-weight: 700; font-style: normal; font-display: swap; }
:root { --paper: #f8f8f6; --ink: #14161f; --muted: #61636b; --line: #e1e1dc;
  --well: #eeeeea; --field: #fff; --control: #8a8c93; --brand: #1e3bbd;
  --brand-deep: #172f99; --brand-wash: #e8ecfa; --danger: #c4281c; --radius: 4px;
  color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI',
  system-ui, sans-serif; font-size: 0.9375rem; line-height: 1.5; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.6rem 1rem;
  background: var(--brand); color: #fff; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.failed { color: var(--danger); }
.num, .meter, td.n { font-variant-numeric: tabular-nums; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8125rem;
  overflow-wrap: anywhere; white-space: pre-wrap; }

.shell { display: grid; grid-template-columns: 13rem minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  padding: 2rem 1rem 1.25rem; }
.brand { display: block; width: max-content; margin: 0 0 3.25rem 0.75rem; }
.brand .logo { display: block; width: 6.75rem; height: auto; }
.sidebar nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.sidebar nav a { display: block; padding: 0.55rem 0.75rem; border-radius: var(--radius);
  text-decoration: none; }
.sidebar nav a:hover { background: var(--well); }
.sidebar nav a[aria-current] { background: var(--brand-wash); color: var(--brand);
  font-weight: 600; }
.sidebar .account { margin-top: auto; }
main { width: 100%; max-width: 76rem; padding: 2.75rem 3.5rem 5rem; }

h1 { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3rem); line-height: 1.05; font-weight: 700;
  letter-spacing: -0.03em; margin: 0; }
h1.doc { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); letter-spacing: -0.02em;
  overflow-wrap: anywhere; }
h2 { font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; margin: 0 0 1rem; }
.sub { margin: 0.4rem 0 0; color: var(--muted); }
.back { margin: 0 0 1.75rem; font-size: 0.8125rem; }
.back a { text-decoration: none; color: var(--muted); }
.back a:hover { color: var(--ink); text-decoration: underline; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem 1.5rem; flex-wrap: wrap; margin: 0 0 2.5rem; }
.page-head.doc-head { margin-bottom: 0; }
section + section, .gap { margin-top: 3.5rem; }

button, .button { display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; font: inherit; font-size: 0.8125rem; font-weight: 600; line-height: 1.2;
  min-height: 2.75rem; padding: 0.7rem 1.25rem; border: 1px solid var(--control);
  border-radius: var(--radius); background: transparent; color: var(--ink);
  text-align: center; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: var(--well); }
.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.primary:hover { background: var(--brand-deep); }
.danger { border-color: var(--danger); color: var(--danger); }
.danger:hover { background: var(--danger); color: #fff; }

label { display: block; margin: 0 0 0.4rem; font-size: 0.8125rem; font-weight: 500; }
input, select { font: inherit; font-size: 0.9375rem; color: var(--ink); width: 100%;
  min-height: 2.75rem; padding: 0.55rem 0.8rem; background: var(--field);
  border: 1px solid var(--control); border-radius: var(--radius); }
select { appearance: none; padding-right: 2.75rem;
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2314161f' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.field { margin-bottom: 1.25rem; }

details.menu { position: relative; }
details.menu > summary { display: flex; align-items: center; gap: 0.55rem; min-height: 2.25rem;
  padding: 0.4rem 0.75rem; border-radius: var(--radius); font-size: 0.8125rem; cursor: pointer;
  list-style: none; white-space: nowrap; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu > summary:hover, details.menu[open] > summary { background: var(--well); }
details.menu > summary::after { content: ''; flex: none; width: 0.38rem; height: 0.38rem;
  margin-left: 0.1rem; border-right: 1.5px solid; border-bottom: 1.5px solid;
  transform: translateY(-0.12rem) rotate(45deg); }
details.menu[open] > summary::after { transform: translateY(0.12rem) rotate(-135deg); }
details.menu .who { max-width: 8rem; overflow: hidden; text-overflow: ellipsis; }
.avatar { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem;
  border-radius: 50%; background: var(--brand-wash); color: var(--brand); font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; }
.menu-panel { position: absolute; left: 0; bottom: calc(100% + 0.4rem); z-index: 5;
  min-width: 15rem; padding: 0.35rem; background: var(--field); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 30px rgb(20 22 31 / 0.08); }
.menu.end .menu-panel { left: auto; right: 0; }
.menu-panel form { margin: 0; }
.menu-panel p { margin: 0.45rem 0.65rem 0.55rem; font-size: 0.75rem; color: var(--muted);
  overflow-wrap: anywhere; }
.menu-panel button { width: 100%; min-height: 2.5rem; justify-content: space-between;
  padding: 0.5rem 0.65rem; border: 0; font-weight: 400; text-align: left; }
.menu-panel hr { margin: 0.35rem 0; border: 0; border-top: 1px solid var(--line); }
.menu-panel .lang { display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.35rem 0.35rem 0.35rem 0.65rem; }
.menu-panel .lang span { font-size: 0.8125rem; }
.segmented { display: flex; padding: 2px; border-radius: var(--radius); background: var(--well); }
.segmented button { width: auto; min-height: 2rem; padding: 0.3rem 0.6rem; border: 0;
  font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.segmented button:hover { background: var(--field); color: var(--ink); }
.segmented button[aria-current] { background: var(--field); color: var(--brand); font-weight: 700;
  box-shadow: 0 1px 2px rgb(20 22 31 / 0.12); }

.notice, .error { margin: 0 0 2rem; padding: 0.15rem 0 0.15rem 1rem; font-size: 0.9375rem;
  border-left: 3px solid var(--ink); }
.error { border-left-color: var(--danger); color: var(--danger); font-weight: 600; }

.upload { display: flex; align-items: center; gap: 1.5rem; padding: 0.5rem 2rem 0.5rem 0.5rem;
  border-radius: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' rx='6' fill='none' stroke='%231e3bbd' stroke-width='4' stroke-dasharray='6 5'/%3E%3C/svg%3E"); }
.upload:has(.drop:hover), .upload:has(.drop.over) { background-color: var(--brand-wash); }
.upload:focus-within { outline: 2px solid var(--brand); outline-offset: 4px; }
.drop { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center;
  min-height: 9rem; padding: 1.5rem 1.75rem; }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0;
  opacity: 0; cursor: pointer; }
.drop label { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.2; color: var(--brand); }
.drop .hint { margin-top: 0.3rem; font-size: 0.875rem; color: var(--muted); }
.drop .chosen { display: none; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; }
.drop .chosen::before { content: '✓ '; color: var(--brand); }
.drop:has(input:valid) .chosen { display: block; }
.drop:has(input:valid) .hint { display: none; }
.upload button { background: var(--brand); border-color: var(--brand); color: #fff;
  padding-inline: 1.75rem; }
.upload button:hover { background: var(--brand-deep); }

nav.tabs { border-bottom: 1px solid var(--line); margin: 1.75rem 0 2.5rem; }
nav.tabs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0;
  padding: 0; }
nav.tabs a { display: block; padding: 0.8rem 0; margin-bottom: -1px; font-size: 0.8125rem;
  font-weight: 600; color: var(--muted); text-decoration: none;
  border-bottom: 2px solid transparent; }
nav.tabs a:hover { color: var(--ink); }
nav.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--brand); }
nav.tabs .count { font-weight: 400; color: var(--muted); }

.table-wrap { overflow-x: auto; }
table.rows { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
table.rows th { padding: 0 1.25rem 0.75rem 0; text-align: left; font-size: 0.75rem;
  font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.rows td { padding: 1.3rem 1.25rem 1.3rem 0; border-bottom: 1px solid var(--line);
  white-space: nowrap; }
table.rows td.name { width: 42%; min-width: 14rem; white-space: normal; font-weight: 600;
  overflow-wrap: anywhere; }
table.rows td.name a { text-decoration: none; }
table.rows td.name a:hover { text-decoration: underline; }
td .meter { margin-left: 0.75rem; }

.meter { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.75rem; }
.meter progress { --track: #e2e2dd; --fill: var(--brand); appearance: none; width: 5rem;
  height: 0.3rem; border: 0; border-radius: 1rem; overflow: hidden; background: var(--track); }
.meter progress::-webkit-progress-bar { background: var(--track); }
.meter progress::-webkit-progress-value { background: var(--fill); border-radius: 1rem; }
.meter progress::-moz-progress-bar { background: var(--fill); border-radius: 1rem; }
.meter.failed progress { --fill: var(--danger); }

.overview { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 3rem;
  align-items: start; }
.block { display: flex; flex-direction: column; gap: 0.6rem; min-height: 19rem;
  padding: 1.75rem; border-radius: var(--radius); background: var(--brand); color: #fff; }
.block .state { margin: auto 0 0; font-size: 1.875rem; font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; }
.block p { margin: 0; font-size: 0.875rem; color: rgb(255 255 255 / 0.88); }
.block .actions { margin-top: auto; padding-top: 1rem; display: grid; gap: 0.5rem; }
.block .actions form { margin: 0; }
.block .actions .button, .block .actions button { width: 100%; background: #fff;
  border-color: #fff; color: var(--brand); }
.block .actions .button:hover, .block .actions button:hover { background: var(--brand-wash); }
.block :focus-visible { outline-color: #fff; }
.block .meter progress { --track: rgb(255 255 255 / 0.25); --fill: #fff; }
dl.facts { display: grid; grid-template-columns: 11rem minmax(0, 1fr); margin: 0;
  font-size: 0.875rem; border-top: 1px solid var(--line); }
dl.facts dt, dl.facts dd { padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

ol.stepper { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 1.75rem 0 0; padding: 0; }
ol.stepper li { position: relative; padding: 2.3rem 1rem 0 0; font-size: 0.8125rem;
  color: var(--muted); }
ol.stepper li::before { content: ''; position: absolute; top: 0; left: 0; z-index: 1;
  width: 1.375rem; height: 1.375rem; border-radius: 50%; border: 1.5px solid #c8c8c3;
  background: var(--paper); box-sizing: border-box; }
ol.stepper li::after { content: ''; position: absolute; top: 0.6875rem; left: 1.375rem; right: 0;
  height: 1.5px; background: var(--line); }
ol.stepper li:last-child::after { display: none; }
ol.stepper li.done, ol.stepper li.active { color: var(--ink); font-weight: 600; }
ol.stepper li.done::before { background: var(--brand); border-color: var(--brand); }
ol.stepper li.done::after { background: var(--brand); }
ol.stepper li.active::before { border-color: var(--brand);
  box-shadow: inset 0 0 0 3.5px var(--paper), inset 0 0 0 10px var(--brand); }
ol.stepper li.stopped { color: var(--danger); font-weight: 600; }
ol.stepper li.stopped::before { border-color: var(--danger);
  box-shadow: inset 0 0 0 3.5px var(--paper), inset 0 0 0 10px var(--danger); }
ol.stepper .n { margin-right: 0.35rem; font-variant-numeric: tabular-nums; }

details.confirm { margin-top: 5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: 0.875rem; }
details.confirm > summary { display: inline-block; cursor: pointer; color: var(--muted);
  text-decoration: underline; text-underline-offset: 0.18em; }
details.confirm > summary:hover { color: var(--danger); }
details.confirm p { max-width: 36rem; margin: 1rem 0; }

.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem; margin: 0; padding: 0; }
.stat { padding: 1.4rem 1.25rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); }
.stat .num { display: block; margin-bottom: 0.65rem; font-size: 1.75rem; font-weight: 700;
  line-height: 1.05; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.stat .label { display: block; font-size: 0.875rem; font-weight: 600; }
.stat .note { display: block; margin-top: 0.5rem; font-size: 0.75rem; color: var(--muted); }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2.5rem 3.5rem; }
.columns > section { margin: 0; }
ul.lines { list-style: none; margin: 0; padding: 0; font-size: 0.875rem;
  border-top: 1px solid var(--line); }
ul.lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
ul.lines li > :first-child { min-width: 0; overflow-wrap: anywhere; }
ul.lines a { text-decoration: none; }
ul.lines a:hover { text-decoration: underline; }
ul.lines .value { flex: none; font-size: 0.8125rem; color: var(--muted); white-space: nowrap;
  font-variant-numeric: tabular-nums; }
ul.lines .value.failed { flex: 0 1 auto; color: var(--danger); font-weight: 600;
  white-space: normal; text-align: right; }
.empty { margin: 0; padding: 0.95rem 0; font-size: 0.875rem; color: var(--muted);
  border-top: 1px solid var(--line); }

.pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 0.75rem 1.5rem; margin: 0 0 1.5rem; }
.pager h2 { margin: 0; }
.pager nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  font-size: 0.8125rem; font-weight: 600; }
.pager nav > a { text-decoration: none; }
.pager nav > a:hover { text-decoration: underline; }
details.pages { position: relative; }
details.pages > summary { cursor: pointer; color: var(--muted); }
details.pages ul { position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 5;
  display: grid; grid-template-columns: repeat(8, 2.5rem); gap: 0.15rem; max-height: 60vh;
  overflow: auto; margin: 0; padding: 0.35rem; list-style: none; background: var(--field);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(20 22 31 / 0.08); }
details.pages ul a { display: block; padding: 0.4rem 0; border-radius: var(--radius);
  text-align: center; font-weight: 400; font-variant-numeric: tabular-nums; text-decoration: none; }
details.pages ul a:hover { background: var(--well); }
details.pages ul a[aria-current] { background: var(--brand-wash); color: var(--brand);
  font-weight: 700; }

.role-heading { --role: #b7107f; }
.role-paragraph { --role: #1e3bbd; }
.role-list { --role: #0b7542; }
.role-table { --role: #a84a00; }
.role-figure { --role: #6d28d9; }
.role-artifact { --role: #5b5d66; }
.role-other { --role: #14161f; }
.viewer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem); gap: 2.5rem;
  align-items: start; }
.sheet { position: sticky; top: 1rem; justify-self: center; max-width: 100%; margin: 0;
  background: #fff; box-shadow: 0 1px 4px rgb(20 22 31 / 0.18); }
.sheet img { display: block; width: auto; height: auto; max-width: 100%;
  max-height: calc(100vh - 2rem); }
.sheet .overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.overlay rect, .swatch rect { fill: none; stroke: var(--role); stroke-width: 1.5px;
  vector-effect: non-scaling-stroke; }
.overlay text { fill: var(--role); font-family: inherit; font-weight: 700; paint-order: stroke;
  stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.overlay .box { cursor: pointer; }
.role-heading rect, rect.role-heading { stroke-width: 2.5px; }
.role-paragraph rect, rect.role-paragraph { stroke-width: 1.25px; }
.role-list rect, rect.role-list { stroke-dasharray: 7 3; }
.role-table rect, rect.role-table { stroke-dasharray: 2 2; }
.role-figure rect, rect.role-figure { stroke-width: 2px; stroke-dasharray: 12 3 3 3; }
.role-artifact rect, rect.role-artifact { stroke-dasharray: 1 3; }
.role-other rect, rect.role-other { stroke-width: 1px; stroke-dasharray: 4 6; }
.overlay .box:target rect, .overlay .box.hover rect { fill: var(--role); fill-opacity: 0.16;
  stroke-width: 3px; }
.tag-tree { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto;
  padding-right: 0.25rem; }
.tag-tree .hint { margin: -0.5rem 0 1rem; font-size: 0.8125rem; color: var(--muted); }
ul.legend { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 1rem; margin: 0 0 1.25rem; padding: 0 0 1.25rem; font-size: 0.75rem;
  border-bottom: 1px solid var(--line); }
ul.legend li { display: flex; align-items: center; gap: 0.5rem; }
.swatch { flex: none; width: 2.25rem; height: 0.875rem; }
ul.tree { list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; }
ul.tree ul { list-style: none; margin: 0; padding: 0 0 0 0.9rem;
  border-left: 1px solid var(--line); }
ul.tree a.tag { display: block; padding: 0.3rem 0.5rem; border-left: 3px solid var(--role);
  border-radius: 0 var(--radius) var(--radius) 0; text-decoration: none; overflow-wrap: anywhere; }
ul.tree a.tag:hover, ul.tree a.tag.hover, ul.tree a.tag:target { background: var(--brand-wash); }
ul.tree a.tag:target { outline: 2px solid var(--brand); outline-offset: -2px; }
ul.tree .order { display: inline-block; min-width: 1.5rem; font-weight: 700; color: var(--role);
  font-variant-numeric: tabular-nums; }
ul.tree .type { font-weight: 600; }
ul.tree .raw { color: var(--muted); }
ul.tree .raw::before { content: '← '; }
ul.tree .text { color: var(--muted); }
ul.tree .alt { font-style: italic; }

.mark-same { --role: #0b7542; }
.mark-retyped { --role: #a84a00; }
.mark-only { --role: #b42318; }
.mark-same rect, rect.mark-same { stroke-width: 1px; }
.mark-retyped rect, rect.mark-retyped { stroke-width: 2.5px; stroke-dasharray: 8 4; }
.mark-only rect, rect.mark-only { stroke-width: 3px; stroke-dasharray: 2 3; }
.columns-named { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0 0 1rem;
  font-size: 0.875rem; color: var(--muted); }
.columns-named strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.compare-summary { margin: 0 0 2rem; }
.compare-summary .score { margin: 0 0 0.25rem; font-size: 1.25rem; font-weight: 600; }
.compare-summary .hint, section.differences .hint { margin: 0 0 1rem; font-size: 0.8125rem;
  color: var(--muted); }
ul.legend.counts { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 0;
  padding: 0; border-bottom: 0; font-size: 0.8125rem; }
.compare-summary .swap { margin: 1rem 0 0; font-size: 0.8125rem; font-weight: 600; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem;
  align-items: start; }
.column-name { margin: 0 0 0.5rem; font-size: 0.875rem; font-weight: 600; overflow-wrap: anywhere; }
.column-name .side { color: var(--muted); font-weight: 400; }
.compare .sheet { position: relative; top: auto; justify-self: stretch; }
.compare .sheet img { width: 100%; max-height: none; }
section.differences { margin-top: 3rem; }
.reference-current { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem;
  margin: 0 0 2rem; font-weight: 600; }
.reference-current form { margin: 0; }
form.reference { display: grid; justify-items: start; gap: 0.6rem; }
form.reference label { font-size: 0.875rem; font-weight: 600; }
form.reference input[type=file] { max-width: 100%; }
ol.differences { list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; }
ol.differences li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.75rem;
  padding: 0.45rem 0.5rem; border-top: 1px solid var(--line); border-left: 3px solid var(--role); }
ol.differences li:target, ol.differences li.hover { background: var(--brand-wash); }
ol.differences li:target { outline: 2px solid var(--brand); outline-offset: -2px; }
ol.differences .number { min-width: 1.5rem; font-weight: 700; color: var(--role);
  font-variant-numeric: tabular-nums; }
ol.differences .kind { font-weight: 600; }
ol.differences a { text-decoration: none; overflow-wrap: anywhere; }
ol.differences a:hover, ol.differences a.hover { text-decoration: underline; }
ol.differences .side, ol.differences .text { color: var(--muted); }
ol.differences .type { font-weight: 600; }

.bare { min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2.5rem; padding: 2rem 1rem; }
.bare .brand { margin: 0; }
.bare .brand .logo { width: 9rem; }
.bare main { max-width: 22rem; padding: 0; }
.bare h1 { font-size: 2rem; margin-bottom: 1.75rem; }
.bare .primary { width: 100%; margin-top: 0.5rem; }
form.languages { display: flex; justify-content: center; gap: 0.25rem; margin: 0; }
form.languages button { min-height: 2.25rem; padding: 0.35rem 0.6rem; border: 0;
  font-size: 0.8125rem; font-weight: 400; color: var(--muted); }
form.languages button:hover { background: none; color: var(--ink); text-decoration: underline; }
form.languages button[aria-current] { color: var(--ink); font-weight: 600; }

@media (max-width: 52rem) {
  .shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap;
    align-items: center; gap: 0.75rem 1rem; padding: 1rem; border-bottom: 1px solid var(--line); }
  .brand { margin: 0 0.5rem 0 0; }
  .brand .logo { width: 5.5rem; }
  .sidebar nav { flex: 1 1 auto; }
  .sidebar nav ul { display: flex; }
  .sidebar .account { margin: 0 0 0 auto; }
  .menu-panel { bottom: auto; top: calc(100% + 0.4rem); left: auto; right: 0; }
  main { padding: 1.75rem 1rem 3rem; }
  .upload { flex-direction: column; align-items: stretch; padding: 0.5rem 0.5rem 1.25rem; }
  .drop { min-height: 7rem; }
  .upload button { margin: 0 0.75rem; }
  .overview { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .block { min-height: 0; }
  .block .state { margin-top: 0; }
  dl.facts { grid-template-columns: 10.5rem minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .stat .num { font-size: 1.5rem; }
  ol.stepper { grid-template-columns: minmax(0, 1fr); }
  ol.stepper li { padding: 0.1rem 0 1.4rem 2.25rem; }
  .viewer { grid-template-columns: minmax(0, 1fr); }
  .sheet { position: relative; top: auto; justify-self: stretch; }
  .sheet img { width: 100%; max-height: none; }
  .tag-tree { position: static; max-height: none; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  ol.stepper li::after { top: 1.375rem; bottom: 0; left: 0.6875rem; right: auto; width: 1.5px;
    height: auto; }
}
