.campaign-page {
  --current-surface: var(--selected-surface);
  --muted: var(--muted-ink);
  --line: var(--rule);
  --soft: var(--soft-rule);
  --accent: var(--brand);
  --control-line: var(--rule);
  --primary-hover: var(--link);
  --warning: var(--avoid);
  --scrollbar: var(--rule);
  --travel-ink: var(--help);
  --location-ink: var(--link);
  --npc-ink: var(--brand);
  --boss-ink: var(--avoid);
  --portal-ink: var(--guides);
  --reading-width: 50rem;
  --instruction-size: 1.0625rem;
  --guide-detail-size: .9375rem;
  --page-padding: var(--shell-gutter);
  --mono-font: var(--font-mono);
}
.sr-only,
.campaign-page .nav-group-title,
.campaign-page .chapter-counter {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.campaign-page {
  width: 100%;
  margin-inline: auto;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .875rem;
  line-height: 1.6;
  color-scheme: light;
}
:root[data-theme="dark"] .campaign-page {
  color-scheme: dark;
}
.campaign-page > #chapter-view,
.campaign-page > .campaign-search-view,
.campaign-page > .campaign-footer {
  width: min(100%, var(--reading-width));
  margin-inline: auto;
}
.campaign-heading {
  padding-block: 0 var(--space-3);
}
.campaign-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  align-items: center;
  gap: var(--space-3);
  padding-block-end: var(--space-3);
}
.campaign-heading-copy {
  min-width: 0;
}
.campaign-heading-copy .eyebrow {
  line-height: 1.45;
}
.campaign-heading-copy h1 {
  margin: 0 0 var(--space-2);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.04;
}
.campaign-search-box {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: var(--touch-target);
  padding-inline: var(--control-padding-inline);
  border: 1px solid var(--rule);
  background: var(--surface);
}
.campaign-search-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-right: var(--space-1);
  color: var(--muted);
}
.campaign-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: var(--control-padding-block) 0;
  background: transparent;
  color: var(--ink);
  font-size: .875rem;
  line-height: normal;
  caret-color: var(--ink);
}
.campaign-search-input:focus {
  outline: none;
}
.campaign-search-box:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.campaign-search-input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.campaign-search-clear {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  padding: .2rem .4rem;
  background: transparent;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.2;
}
.campaign-search-clear:hover {
  color: var(--ink);
}
.campaign-page .chapter-nav {
  width: min(100%, var(--reading-width));
  margin-inline: auto;
  padding-inline: 0;
  border-bottom: 1px solid var(--line);
  min-height: 3.75rem;
}
.campaign-page #steps {
  min-height: min(48rem, 100svh);
}
.campaign-page .chapter-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.625rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.03em;
}
.campaign-page .search-heading h2 {
  margin: .6rem 0 .7rem;
  overflow-wrap: anywhere;
}
.campaign-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 2.3rem 0 1rem;
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
}
.campaign-footer .button {
  font-size: .7rem;
  padding-block: .2rem;
  min-height: 28px;
  white-space: nowrap;
}
.campaign-page .button-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--muted-ink);
}
.campaign-page .button-quiet:hover:not(:disabled) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.chapter-nav { position: relative; scroll-padding-inline: var(--page-padding); display: flex; max-width: 80rem; margin-inline: auto; padding-inline: var(--page-padding); overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--scrollbar) transparent; }
.nav-group { display: contents; }
.chapter-link { flex: 1 0 0; min-width: 0; display: block; padding: .65rem .75rem .85rem; border-bottom: 2px solid transparent; text-decoration: none; line-height: 1.3; }
.chapter-link:hover { color: var(--ink); }
.chapter-link[aria-current] { color: var(--tools); }
.chapter-label { position: relative; display: inline-block; font-size: .75rem; font-weight: 600; margin-bottom: .2rem; white-space: nowrap; }
.chapter-label::before, .chapter-label::after { position: absolute; top: 0; visibility: hidden; }
.chapter-label::before { content: "["; right: 100%; margin-right: .25rem; }
.chapter-label::after { content: "]"; left: 100%; margin-left: .25rem; }
.chapter-link[aria-current] .chapter-label::before, .chapter-link[aria-current] .chapter-label::after { visibility: visible; }
.chapter-name { display: block; font-size: .76rem; color: var(--muted); }
.chapter-link[aria-current] .chapter-label, .chapter-link[aria-current] .chapter-name { color: var(--tools); }
.chapter-heading { padding-bottom: .75rem; }
.chapter-eyebrow { flex: 0 0 auto; margin: 0; font-size: .875rem; line-height: 1.45; }
.chapter-eyebrow::after { content: " -"; padding-inline-end: .25rem; }
.chapter-heading h1 { margin: .2rem 0 .6rem; }
.chapter-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.chapter-area { margin: 0 0 0 auto; padding-inline-start: .75rem; color: var(--muted); font-size: .78rem; text-align: right; }
.chapter-status { margin-top: .2rem; display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; font-size: .78rem; color: var(--muted); align-items: center; font-variant-numeric: tabular-nums; }
.chapter-rewards { border: 0; padding: .1rem 0; color: var(--accent); background: transparent; font-size: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.guide-controls { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; border-bottom: 1px solid var(--line); }
.view-tabs { display: flex; gap: var(--space-2); }
.view-tab { padding: .7rem .25rem; font-size: .875rem; }
.view-tab[aria-pressed="true"], .view-tab:hover { color: var(--tools); }
.view-tab[aria-pressed="true"]::before, .view-tab[aria-pressed="true"]::after { visibility: visible; }
.route-toolbar { position: relative; padding: .7rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .45rem 1rem; }
.expansion-controls { display: flex; gap: 1rem; }
.route-expansion { font-size: var(--font-size-control); min-height: 36px; padding-left: 0; }
.route-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .3rem .8rem; }
.route-options { font-size: var(--font-size-control); }
.route-options > summary { cursor: pointer; color: var(--muted); padding: .4rem .1rem; list-style: none; }
.route-options > summary::-webkit-details-marker { display: none; }
.route-options > summary::after { content: " +"; margin-left: .25rem; }
.route-options[open] > summary::after { content: " \2212"; }
.campaign-report-link { color: var(--muted); font-size: var(--font-size-control); text-underline-offset: .2em; }
.campaign-report-link:hover { color: var(--ink); }
.visual-key { display: flex; flex-wrap: wrap; gap: .35rem .9rem; padding: .2rem 0 .75rem; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.key-item { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.key-mark { flex: 0 0 .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; box-sizing: border-box; }
.key-location { color: var(--location-ink); border-radius: .12rem; }
.key-npc { color: var(--npc-ink); }
.key-boss { color: var(--boss-ink); }
.key-waypoint { color: var(--travel-ink); border-radius: .08rem; transform: rotate(45deg); }
.key-portal { color: var(--portal-ink); background: transparent; border: 2px solid currentColor; }
.options-panel { position: absolute; inset-inline-end: 0; top: 100%; z-index: 10; width: min(100%, 22rem); padding: .85rem 1rem; background: var(--surface); border: 1px solid var(--control-line); }
.filter-label { display: block; margin-bottom: .3rem; font-weight: 600; }
.route-filter { width: 100%; border: 1px solid var(--control-line); background: var(--surface); color: var(--ink); padding: .35rem .4rem; margin-bottom: .75rem; border-radius: 2px; font-size: .78rem; }
.toggle-label { display: flex; align-items: center; gap: .6rem; }
input[type="checkbox"] { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; cursor: pointer; flex-shrink: 0; }
.steps { display: flex; flex-direction: column; }
.steps.is-initialising {
  min-height: min(36rem, 70vh);
}
.campaign-loading {
  margin: 0;
  padding: 1rem .75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.step-card { position: relative; display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.step-card:last-child { border-bottom: 1px solid var(--line); }
.steps > .step-card { padding-inline: .75rem; }
.step-check { padding-top: 1.15rem; display: flex; align-items: start; }
.step-check-label { display: flex; align-items: center; justify-content: center; width: 24px; min-height: 32px; cursor: pointer; }
.step-check input { width: 21px; height: 21px; }
.step-summary { position: relative; padding: 1.2rem 1.65rem .75rem 0; cursor: pointer; list-style: none; }
.step-summary::-webkit-details-marker { display: none; }
.step-summary::after { content: "+"; position: absolute; top: 1.5rem; right: .1rem; color: var(--muted); font-size: 1rem; line-height: 1; font-weight: 400; }
.step-details[open] > .step-summary::after { content: "\2212"; position: absolute; top: 1.5rem; right: .1rem; color: var(--muted); font-size: 1rem; line-height: 1; font-weight: 400; }
.step-heading-copy { display: block; font-weight: 400; }
.step-zone { display: block; font-size: 1.35rem; line-height: 1.35; font-weight: 500; letter-spacing: -.03em; color: var(--location-ink); }
.step-number { display: inline-block; vertical-align: .15em; margin-right: .45rem; font-size: .72rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.step-title { display: block; font-size: var(--guide-detail-size); line-height: 1.5; color: var(--muted); margin-top: .15rem; }
.step-summary:hover .step-zone { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.step-tags { display: flex; flex-wrap: wrap; gap: .3rem .85rem; margin-top: .3rem; }
.step-tags:empty { display: none; }
.tag { font-size: .82rem; line-height: 1.4; color: var(--muted); }
.tag-reward, .tag-trial { color: var(--accent); }
.tag-choice { font-weight: 500; color: var(--warning); }
.objective-count { font-variant-numeric: tabular-nums; }
.is-done > .step-details > .step-summary .step-zone { color: var(--muted); }
.step-body { padding: 0 .1rem 1.45rem 0; font-size: var(--instruction-size); }
.step-actions { list-style: none; margin: 0 0 .85rem; padding-left: 0; }
.step-actions li { margin-bottom: .65rem; }
.action-label { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .25rem; padding-left: .35rem; cursor: pointer; }
.action-label input { width: 19px; height: 19px; margin-top: .22rem; }
.action-item { position: relative; }
.action-item.is-current-action .action-label { background: var(--current-surface); outline: 1px solid var(--focus); outline-offset: .2rem; border-radius: 2px; }
.action-item.is-current-action input { accent-color: var(--focus); }
.action-copy { min-width: 0; }
.action-line { display: block; }
.action-kind { color: var(--accent); font-family: var(--mono-font); font-weight: 500; }
.action-icon { display: inline-block; width: 1.05em; height: 1.05em; margin-right: .3em; vertical-align: -.18em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cue-waypoint .action-kind, .cue-walk .action-kind, .cue-travel .action-kind,
.cue-activate .action-kind, .cue-return .action-kind, .cue-sail .action-kind { color: var(--travel-ink); }
.cue-portal .action-kind { color: var(--portal-ink); }
.entity { font-weight: 500; }
.entity-location { color: var(--location-ink); }
.entity-npc { color: var(--npc-ink); }
.entity-boss { color: var(--boss-ink); }
.step-zone .entity-location { font-weight: 400; }
.action-sequence { border-left: 1px solid var(--line); padding-left: .75rem; }
.action-sequence .action-line + .action-line { margin-top: .45rem; }
.action-item.is-done .action-copy, .action-item.is-done .action-kind { color: var(--muted); }
.step-card.is-done .step-zone, .step-card.is-done .entity, .action-item.is-done .entity { color: var(--muted); }
.callout { margin: .8rem 0; font-size: var(--guide-detail-size); line-height: 1.6; }
.callout > strong { font-weight: 500; }
.callout > p { display: inline; }
.callout-reward > strong { color: var(--accent); }
.callout-warning > strong, .callout-choice > strong { color: var(--warning); }
.step-tip { margin-top: .9rem; font-size: .95rem; line-height: 1.6; color: var(--muted); }
.step-tip strong { font-weight: 500; }
.bonus-list { margin-top: .9rem; color: var(--muted); font-size: .95rem; }
.bonus-list p { font-weight: 500; }
.bonus-list ul { margin: .25rem 0 0; padding-left: 1.1rem; }
.bonus-list li { margin-top: .25rem; }
.location-card { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); }
.location-card > .search-result-meta { grid-column: 1 / -1; }
.location-card > .step-check { grid-column: 1; }
.location-card > .step-details { grid-column: 2; min-width: 0; }
.location-summary { padding-left: 0; }
.location-objectives > .objective-card { border: 0; }
.objective-card .step-check { padding-top: .4rem; }
.objective-heading { padding: .75rem 0 .7rem; font-size: 1.05rem; line-height: 1.5; font-weight: 500; }
.objective-heading-line { display: flex; align-items: baseline; gap: .45rem; min-width: 0; }
.objective-number { flex: 0 0 auto; font-size: .72rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.objective-title { display: block; }
.objective-heading .step-tags { font-weight: 400; }
.objective-card.is-done .objective-title { color: var(--muted); }
.objective-card .step-body { padding-bottom: 1.2rem; }
.location-search-result > .search-result-meta { padding-left: 0; }
.location-search-result .location-summary { padding-top: .5rem; }
.location-objectives > .button { margin: 0 0 1.5rem; }
.chapter-end { margin-top: 1.7rem; }
.chapter-end > p { font-size: .83rem; line-height: 1.6; color: var(--muted); margin-bottom: 1rem; }
.chapter-end .button { max-width: 100%; }
.empty-state { padding: 2rem 0; }
.empty-state p { margin: .6rem 0 1rem; color: var(--muted); font-size: .87rem; }
.ledger-view, .notes-view { padding-top: 1.5rem; scroll-margin-top: 1rem; }
.ledger-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ledger-heading h2 { font-size: 1.05rem; }
.ledger-intro { margin-top: .75rem; font-size: .95rem; color: var(--muted); }
.ledger-stats { margin-top: 1.1rem; display: flex; gap: 2rem; flex-wrap: wrap; padding-block: .9rem; border-block: 1px solid var(--line); }
.ledger-stat { display: flex; flex-direction: column; font-size: .75rem; color: var(--muted); }
.ledger-stat strong { color: var(--ink); font-size: 1rem; font-weight: 600; }
.ledger-group { margin-top: 1.7rem; }
.ledger-group h3 { margin-bottom: .65rem; font-size: .85rem; }
.ledger-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr) 1rem; align-items: start; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.ledger-check { display: flex; align-items: center; min-height: 28px; cursor: pointer; }
.ledger-copy { background: transparent; border: 0; padding: 0; text-align: left; color: var(--ink); font-size: var(--guide-detail-size); line-height: 1.5; cursor: pointer; }
.ledger-copy:hover > span { text-decoration: underline; text-underline-offset: .2em; }
.ledger-copy span, .ledger-copy small { display: block; }
.ledger-copy small { margin-top: .2rem; color: var(--muted); font-size: .8rem; }
.ledger-arrow { padding-top: .25rem; font-size: .8rem; color: var(--muted); }
.ledger-row.is-done .ledger-copy > span { color: var(--muted); }
.note-card { margin-bottom: 1.6rem; }
.note-card h3 { margin-bottom: .55rem; color: var(--ink); font-size: 1.35rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.04em; }
.note-card p, .note-card li { color: var(--muted-ink); font-size: var(--guide-detail-size); }
.note-card ul { margin: .5rem 0 0; padding-left: 1.25rem; }
.note-card li { margin-top: .4rem; }
.notes-heading { margin: 2.2rem 0 1.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.35rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.04em; }
.search-heading { padding: .7rem 0 1.6rem; }
.search-heading h1 { margin: .6rem 0 .7rem; overflow-wrap: anywhere; }
.search-heading > p:last-child { color: var(--muted); font-size: .85rem; }
.search-result { display: block; padding-left: 2rem; }
.search-result .step-check { position: absolute; left: 0; top: 1.5rem; }
.search-result-meta { padding-top: .8rem; font-size: .68rem; color: var(--accent); }
.search-result .step-summary { padding-top: .5rem; }
.search-result .step-body > .button { margin-top: 1rem; }
.page-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 2.3rem 0 2rem; margin-top: 1.8rem; border-top: 1px solid var(--line); font-size: .7rem; color: var(--muted); }
.page-footer .button { font-size: .7rem; padding-block: .2rem; min-height: 28px; white-space: nowrap; }
dialog { border: 1px solid var(--rule); color: var(--ink); background: var(--paper); width: min(640px, calc(100% - 2rem)); max-height: 85dvh; padding: 0; border-radius: 2px; }
dialog::backdrop { background: #17202375; }
.dialog-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--paper); padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--rule); }
.dialog-header h2 { font-size: 1.1rem; }
.dialog-content { padding: 1.3rem 1.5rem 1.7rem; font-size: .85rem; }
.dialog-content > p + p { margin-top: .8rem; }
.dialog-content h3 { margin: 1.6rem 0 .7rem; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.reset-dialog { max-width: 460px; font-family: var(--font-mono); line-height: 1.6; }
.noscript { padding: 2rem; }
.footer-progress { width: 15rem; max-width: 100%; }
.progress-caption { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.progress-track { height: 2px; background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--accent); }
.save-status { color: var(--muted); font-size: .75rem; line-height: 1.5; margin-top: .6rem; }
.storage-warning { color: var(--warning); }
.footer-tools { text-align: right; }
.search-result .step-check { top: .25rem; }
@media (max-width: 1000px) {
  .campaign-heading-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .campaign-search-box { max-width: 32rem; }
  .chapter-link { flex: 0 0 8rem; }
  .chapter-nav { scroll-snap-type: x proximity; }
  .chapter-link { scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .campaign-page { --instruction-size: 1rem; }
  .campaign-heading-row { display: block; padding-block-end: .75rem; }
  .campaign-heading-copy h1 { font-size: 1.7rem; }
  .campaign-search-box { width: 100%; min-width: 0; margin-top: .9rem; min-height: 44px; }
  .campaign-search-input { min-height: 40px; font-size: 1rem; }
  .campaign-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
  .campaign-search-clear { min-width: 44px; min-height: 44px; }
  .chapter-nav { padding-top: .15rem; scrollbar-width: none; touch-action: pan-x; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
  .chapter-nav::-webkit-scrollbar { display: none; }
  .chapter-link { flex: 0 0 7.5rem; min-height: 44px; padding: .6rem 1rem .7rem; white-space: normal; }
  .chapter-label { font-size: .75rem; margin-bottom: 0; }
  .chapter-name { width: 100%; overflow: visible; text-overflow: clip; white-space: normal; font-size: .68rem; }
  .campaign-page .chapter-heading h2 { font-size: 1.45rem; }
  .note-card h3, .notes-heading { font-size: 1.2rem; }
  .chapter-area, .chapter-status { font-size: .75rem; }
  .chapter-status { gap: .2rem .8rem; }
  .guide-controls { flex-wrap: wrap; gap: 0; }
  .view-tabs { gap: var(--space-2); width: 100%; }
  .view-tab { min-height: 44px; padding-block: .55rem; }
  .route-toolbar { gap: .6rem; padding-block: .5rem; }
  .expansion-controls { flex-wrap: wrap; gap: .3rem .6rem; }
  .route-expansion { min-height: 44px; }
  .route-toolbar-actions { width: 100%; justify-content: space-between; gap: .3rem .75rem; }
  .route-options, .route-expansion { font-size: var(--font-size-control); }
  .route-options > summary { display: flex; align-items: center; min-height: 44px; }
  .campaign-report-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--font-size-control); }
  .route-filter { min-height: 44px; }
  .toggle-label { min-height: 44px; }
  .steps > .step-card { padding-inline: .25rem; }
  .step-card { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .location-summary, .location-search-result > .search-result-meta { padding-left: 0; }
  /* Reuse the location checkbox gutter instead of indenting objectives twice. */
  .location-objectives { margin-inline-start: -2.5rem; }
  .location-objectives > .button { margin-left: 0; }
  .step-check-label { width: 40px; min-height: 44px; }
  .step-zone { font-size: 1.35rem; }
  .step-number { margin-right: .45rem; }
  .step-title { font-size: .95rem; }
  .step-summary { padding-right: 1.1rem; }
  .action-label { grid-template-columns: 1.25rem minmax(0, 1fr); gap: .25rem; padding-left: 0; min-height: 44px; }
  .step-body { font-size: var(--instruction-size); }
  .search-result { padding-left: 2.75rem; }
  .campaign-footer { display: block; }
  .footer-tools { text-align: left; margin-top: 1rem; }
  .ledger-heading { align-items: start; }
  .ledger-heading .button { font-size: .75rem; }
  .ledger-stats { gap: .8rem 1.5rem; }
  .ledger-row { grid-template-columns: 2.75rem minmax(0, 1fr) 1rem; }
  .ledger-check { width: 44px; min-height: 44px; }
  .dialog-header, .dialog-content { padding-inline: 1.1rem; }
}
