/* useme4 — ledger-paper design system. */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/public-sans-latin-wght-normal.woff2') format('woff2-variations'), url('/assets/fonts/public-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f6faf7;
  --paper-2: #ffffff;
  --ink: #14213d;
  --ink-2: #44546a;
  --rule: #cfe2d5;
  --rule-strong: #9fc6ad;
  --green: #1d6a46;
  --green-ink: #ffffff;
  --green-soft: #e3f1e8;
  --red: #b42318;
  --amber-soft: #fff4d6;
  --amber: #8a5a00;
  --focus: #2457c5;
  --radius-s: 4px;
  --radius-m: 10px;
  --measure: 68ch;
  --wrap: 1120px;
  --font: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1a2c;
    --paper-2: #14223a;
    --ink: #e7efe9;
    --ink-2: #a9b8c9;
    --rule: #233654;
    --rule-strong: #34507a;
    --green: #5cc18e;
    --green-ink: #0b1a12;
    --green-soft: #173528;
    --red: #f2978f;
    --amber-soft: #3a2f12;
    --amber: #f3c969;
    --focus: #8fb2ff;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  font-feature-settings: 'tnum' 0;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.dr { color: var(--red); }
.cr { color: var(--green); }
.muted { color: var(--ink-2); }
.nowrap { white-space: nowrap; }

/* Type scale (1.25 ratio) */
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem); font-weight: 760; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2rem); font-weight: 700; margin-top: 2.2em; }
h3 { font-size: 1.25rem; font-weight: 680; margin-top: 1.8em; }
p, ul, ol { margin: 0 0 1em; }
.lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 58ch; }
.prose { max-width: var(--measure); }
.prose li { margin-bottom: 0.4em; }
.prose code, code { font-size: 0.92em; background: var(--green-soft); padding: 0.1em 0.35em; border-radius: var(--radius-s); }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; font-weight: 760; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand small { font-weight: 450; color: var(--ink-2); font-size: 0.85rem; letter-spacing: 0; }
.nav { display: flex; gap: 0.25rem 1.25rem; flex-wrap: wrap; font-size: 0.97rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current='page'] { border-bottom-color: var(--green); }
@media (max-width: 720px) {
  .brand small { display: none; }
  .nav { width: 100%; padding-bottom: 0.6rem; gap: 0.25rem 1rem; font-size: 0.93rem; }
}

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 2rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 16ch; }
.trust { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; padding: 0; margin: 1.25rem 0 0; list-style: none; color: var(--ink-2); font-size: 0.95rem; }
.trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust li::before { content: ''; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--green); flex: none; }

/* Before/after ledger illustration */
.transform { background: var(--paper-2); border: 1px solid var(--rule-strong); border-radius: var(--radius-m); overflow: hidden; font-size: 0.86rem; }
.transform__label { display: flex; justify-content: space-between; padding: 0.55rem 0.9rem; background: var(--green-soft); color: var(--ink); font-weight: 650; }
.transform__label span:last-child { font-weight: 450; color: var(--ink-2); }
.transform table { width: 100%; border-collapse: collapse; }
.transform td, .transform th { padding: 0.4rem 0.9rem; border-top: 1px solid var(--rule); text-align: left; }
.transform th { font-weight: 600; color: var(--ink-2); }
.transform .raw td { color: var(--ink-2); font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.8rem; }
.transform__arrow { display: block; text-align: center; padding: 0.35rem; color: var(--green); font-weight: 700; border-top: 1px solid var(--rule); }

/* Tool shell */
.tool { background: var(--paper-2); border: 1px solid var(--rule-strong); border-radius: var(--radius-m); padding: clamp(1rem, 3vw, 1.75rem); margin: 1.5rem 0 1rem;
  background-image: linear-gradient(var(--paper-2), var(--paper-2)); }
.tool__step { border-top: 1px solid var(--rule); padding-top: 1.25rem; margin-top: 1.25rem; }
.tool__step:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.tool__step > h2, .tool__step > h3 { margin-top: 0; font-size: 1.15rem; display: flex; gap: 0.6rem; align-items: baseline; }
.step-n { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--green); color: var(--green-ink); font-size: 0.85rem; font-weight: 700; flex: none; transform: translateY(-1px); }

.drop { display: grid; place-items: center; text-align: center; gap: 0.35rem; min-height: 190px; padding: 1.5rem; border: 2px dashed var(--rule-strong); border-radius: var(--radius-m); cursor: pointer;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, var(--rule) 27px, var(--rule) 28px); transition: border-color 0.15s, background-color 0.15s; }
.drop:hover, .drop.is-over { border-color: var(--green); background-color: var(--green-soft); }
.drop:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.drop strong { font-size: 1.15rem; }
.drop span { color: var(--ink-2); font-size: 0.95rem; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tool__row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: end; margin-top: 1rem; }
.privacy-note { color: var(--ink-2); font-size: 0.92rem; margin: 0.75rem 0 0; }

.field { display: grid; gap: 0.3rem; font-size: 0.93rem; min-width: 0; }
.field__label { font-weight: 600; }
select, input[type='text'], input[type='password'] {
  font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius-s);
  padding: 0.5rem 0.6rem; min-height: 42px; width: 100%; max-width: 100%;
}
select { padding-right: 1.8rem; }
.mapping { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.85rem 1rem; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.85rem 1rem; margin-bottom: 1rem; }
.check { display: flex; gap: 0.5rem; align-items: center; font-size: 0.95rem; min-height: 42px; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--green); }
details.advanced { margin: 0.5rem 0 1rem; }
details.advanced summary { cursor: pointer; font-weight: 600; color: var(--green); padding: 0.35rem 0; }
details.advanced[open] summary { margin-bottom: 0.75rem; }

.btn { font: inherit; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0.6rem 1.25rem; border-radius: var(--radius-s);
  border: 1px solid var(--green); background: var(--green); color: var(--green-ink); cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--green); }
.btn--small { min-height: 38px; padding: 0.35rem 0.85rem; font-size: 0.93rem; }
.btn-icon { font: inherit; font-size: 1.2rem; line-height: 1; width: 34px; height: 34px; border: 1px solid var(--rule-strong); background: transparent; color: var(--ink-2); border-radius: var(--radius-s); cursor: pointer; }
.btn-icon:hover { color: var(--red); border-color: var(--red); }

.status { padding: 0.75rem 1rem; border-radius: var(--radius-s); margin-top: 1rem; border-left: 4px solid; background: var(--green-soft); }
.status--ok { border-color: var(--green); }
.status--info { border-color: var(--focus); }
.status--warn { border-color: var(--amber); background: var(--amber-soft); }
.status--error { border-color: var(--red); background: color-mix(in srgb, var(--red) 10%, var(--paper-2)); }
progress { width: 100%; height: 8px; margin-top: 0.75rem; accent-color: var(--green); }
.row-errors { background: var(--amber-soft); border-radius: var(--radius-s); padding: 0.75rem 1rem; font-size: 0.93rem; margin: 1rem 0; }
.row-errors p:last-child, .row-errors ul:last-child { margin-bottom: 0; }

.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border: 1px solid var(--rule); border-radius: var(--radius-s); margin: 1rem 0; }
.sum { padding: 0.6rem 0.85rem; border-right: 1px solid var(--rule); display: grid; }
.sum:last-child { border-right: 0; }
.sum__k { font-size: 0.82rem; color: var(--ink-2); }
.sum__v { font-weight: 680; font-size: 1.05rem; text-align: left; }
@media (max-width: 560px) { .sum { border-right: 0; border-bottom: 1px solid var(--rule); } .sum:last-child { border-bottom: 0; } }

/* Ledger tables */
.preview { max-height: 460px; overflow: auto; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--paper-2); -webkit-overflow-scrolling: touch; }
table.ledger { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ledger caption { text-align: left; padding: 0.55rem 0.75rem; color: var(--ink-2); font-size: 0.85rem; caption-side: top; }
.ledger th { position: sticky; top: 0; background: var(--green-soft); text-align: left; font-weight: 650; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--rule-strong); z-index: 1; }
.ledger td { padding: 0.42rem 0.75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger th.num { text-align: right; }
.ledger tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--green-soft) 35%, transparent); }
.ledger--edit td { padding: 0.25rem 0.35rem; }
.ledger--edit input { min-height: 36px; padding: 0.3rem 0.45rem; background: transparent; border-color: transparent; }
.ledger--edit input:hover, .ledger--edit input:focus { border-color: var(--rule-strong); background: var(--paper); }
.ledger--edit td:nth-child(1) input { width: 8.2rem; }
.ledger--edit td:nth-child(2) { min-width: 14rem; }
.ledger--edit td:nth-child(3) input, .ledger--edit td:nth-child(4) input { width: 7.5rem; text-align: right; }
.ledger--edit tr.is-guess td { background: var(--amber-soft) !important; }
input.is-invalid { border-color: var(--red) !important; background: color-mix(in srgb, var(--red) 10%, transparent) !important; }
.output-note { color: var(--ink-2); font-size: 0.93rem; max-width: 70ch; }
.download-done { color: var(--green); font-weight: 600; margin-top: 0.75rem; }
.pdf-password { margin-top: 1rem; }
.pdf-password form { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: end; }
.pdf-password .field { flex: 1 1 220px; }

/* Content sections */
.section { padding: 1rem 0 2rem; }
.tools-list { list-style: none; padding: 0; margin: 1.5rem 0; border-top: 2px solid var(--ink); }
.tools-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 1.5rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--rule-strong); }
.tools-list h3 { margin: 0 0 0.2rem; font-size: 1.2rem; }
.tools-list h3 a { color: var(--ink); text-decoration: none; }
.tools-list h3 a:hover { color: var(--green); text-decoration: underline; }
.tools-list p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.formats { font-size: 0.85rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .tools-list li { grid-template-columns: 1fr; } }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: s; border-top: 2px solid var(--green); padding-top: 0.75rem; }
.steps li::before { content: counter(s); font-weight: 760; color: var(--green); font-size: 1.4rem; display: block; margin-bottom: 0.25rem; }
.steps strong { display: block; margin-bottom: 0.25rem; }

.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 1rem; } }
.aside { font-size: 0.95rem; }
.aside h2 { font-size: 1.1rem; margin-top: 2.4em; }
.aside ul { padding-left: 1.1rem; }

table.data { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 1rem 0 1.5rem; }
.data th, .data td { border-bottom: 1px solid var(--rule); padding: 0.5rem 0.6rem; text-align: left; vertical-align: top; }
.data th { background: var(--green-soft); font-weight: 650; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.faq details { border-bottom: 1px solid var(--rule); padding: 0.85rem 0; }
.faq summary { cursor: pointer; font-weight: 650; list-style-position: outside; }
.faq details > div { padding-top: 0.6rem; color: var(--ink); }
.faq details > div p:last-child { margin-bottom: 0; }

.callout { border-left: 4px solid var(--green); background: var(--green-soft); padding: 0.85rem 1rem; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 1.25rem 0; }
.callout--warn { border-color: var(--amber); background: var(--amber-soft); }
.breadcrumb { font-size: 0.9rem; color: var(--ink-2); margin: 1.25rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.35rem; color: var(--rule-strong); }
.byline { color: var(--ink-2); font-size: 0.93rem; }
.guide-list { list-style: none; padding: 0; }
.guide-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.guide-list a { font-weight: 650; font-size: 1.08rem; }
.guide-list p { margin: 0.2rem 0 0; color: var(--ink-2); }

/* Ads: reserved space only when ads are enabled, to avoid layout shift */
.ad { margin: 2rem 0; min-height: 280px; display: block; text-align: center; }
.ad__label { display: block; font-size: 0.75rem; color: var(--ink-2); margin-bottom: 0.25rem; }

/* Footer */
.site-footer { margin-top: 4rem; border-top: 2px solid var(--ink); background: var(--paper-2); font-size: 0.93rem; }
.site-footer .wrap { padding-top: 2rem; padding-bottom: 2.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 1.25rem; } }
.site-footer h2 { font-size: 1rem; margin: 0 0 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer a { color: var(--ink); }
.fine { color: var(--ink-2); font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .ad, .tool { display: none; }
}
.mapping--spaced { margin-top: 0.85rem; }
ins.adsbygoogle { display: block; }
.field--wide { grid-column: span 2; }
@media (max-width: 520px) { .field--wide { grid-column: auto; } }
.formats { min-width: 15rem; }
@media (max-width: 640px) { .formats { min-width: 0; } }
@media (max-width: 520px) {
  .ledger td, .ledger th { padding: 0.4rem 0.5rem; }
  table.ledger { font-size: 0.88rem; }
}
.ledger--edit td { vertical-align: middle; }
.ledger--edit input[data-f='out'] { color: var(--red); }
.ledger--edit input[data-f='in'] { color: var(--green); }

/* Keep the converter clearly separate from page content, so auto-placed ads never sit against its controls. */
.tool { margin: 2.5rem 0; box-shadow: 0 0 0 6px var(--green-soft); }
.tool__after { color: var(--ink-2); font-size: 0.9rem; margin: 1rem 0 0; padding-top: 0.85rem; border-top: 1px solid var(--rule); }
.about-photo { float: right; width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin: 0 0 1rem 1.5rem; }
@media (max-width: 520px) { .about-photo { float: none; display: block; margin: 0 0 1rem; } }
.bank-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.6rem 1.5rem; }
.bank-list li { display: flex; flex-direction: column; padding: 0.7rem 0.9rem; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--paper-2); }
.bank-list a { font-weight: 650; }
.bank-list span { font-size: 0.85rem; color: var(--ink-2); }
.diagram { margin: 1.5rem 0 1.75rem; }
.diagram img { display: block; width: 100%; height: auto; border-radius: var(--radius-m); border: 1px solid var(--rule); }
.diagram figcaption { font-size: 0.88rem; color: var(--ink-2); margin-top: 0.5rem; }
.toc { border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--paper-2); padding: 0.9rem 1.1rem 0.4rem; margin: 0 0 1.5rem; font-size: 0.95rem; }
.toc .toc__title { font-size: 1rem; margin: 0 0 0.5rem; }
.toc ol { margin: 0 0 0.5rem; padding-left: 1.25rem; }
.toc li { margin-bottom: 0.25rem; }
.start-here h2 { margin-top: 0; font-size: 1.25rem; }
.start-here ol { margin-bottom: 0.25rem; }

/* Main menu with dropdown categories (plain <details>, enhanced by nav.js) */
.site-header { position: relative; z-index: 20; }
.nav { align-items: center; }
.nav__menu { position: relative; }
.nav__menu > summary { list-style: none; cursor: pointer; color: var(--ink); padding: 0.35rem 0; border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 0.35rem; user-select: none; }
.nav__menu > summary::-webkit-details-marker { display: none; }
.nav__menu > summary::after { content: ''; width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.nav__menu[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.nav__menu > summary:hover, .nav__menu--active > summary, .nav__menu[open] > summary { border-bottom-color: var(--green); }
.nav__panel { position: absolute; top: calc(100% + 0.6rem); left: 0; min-width: 34rem; max-width: min(40rem, calc(100vw - 2rem)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1.5rem;
  background: var(--paper-2); border: 1px solid var(--rule-strong); border-radius: var(--radius-m); box-shadow: 0 12px 32px rgba(20, 33, 61, 0.14); padding: 1rem 1.1rem; }
.nav__panel { left: auto; right: 0; }
.nav__group-title { margin: 0 0 0.35rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.nav__group ul { list-style: none; margin: 0 0 0.6rem; padding: 0; }
.nav__panel a { display: block; color: var(--ink); text-decoration: none; padding: 0.4rem 0.5rem; margin: 0 -0.5rem; border-radius: var(--radius-s); border-bottom: 0; font-size: 0.95rem; }
.nav__panel a span { display: block; color: var(--ink-2); font-size: 0.82rem; }
.nav__panel a:hover, .nav__panel a:focus-visible { background: var(--green-soft); }
.nav__panel a[aria-current='page'] { background: var(--green-soft); font-weight: 650; }
.nav__all { grid-column: 1 / -1; border-top: 1px solid var(--rule) !important; border-radius: 0 !important; margin: 0.25rem 0 0 !important; padding: 0.65rem 0 0 !important; color: var(--green) !important; font-weight: 650; background: none !important; }
@media (max-width: 720px) {
  .nav { gap: 0.25rem 1.1rem; }
  .nav__menu { position: static; }
  .nav__panel { position: absolute; left: clamp(1rem, 4vw, 2rem); right: clamp(1rem, 4vw, 2rem); top: 100%; min-width: 0; max-width: none; grid-template-columns: 1fr; max-height: 70vh; overflow-y: auto; }
  .nav__menu:last-child .nav__panel { left: clamp(1rem, 4vw, 2rem); right: clamp(1rem, 4vw, 2rem); }
}
@media print { .nav__panel { display: none; } }

/* PDF table to Excel */
.table-pick { margin-bottom: 1rem; }
.table-pick__note { margin: 0 0 0.5rem; font-weight: 600; }
.table-pick .field { max-width: 32rem; }
.table-columns__title { font-size: 1.05rem; margin: 1.25rem 0 0.25rem; }
.table-columns__help { margin: 0 0 0.75rem; font-size: 0.93rem; }
.table-columns { display: grid; gap: 0.5rem; margin-bottom: 1.25rem; }
.table-col { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 9rem; grid-template-areas: 'inc name type'; gap: 0.5rem 0.75rem; align-items: center;
  padding: 0.45rem 0.65rem; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--paper); }
.table-col .check { grid-area: inc; min-height: 0; }
.table-col input[type='text'] { grid-area: name; }
.table-col select { grid-area: type; }
@media (max-width: 560px) { .table-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'inc type' 'name name'; } }
.ledger td.is-bad { background: var(--amber-soft) !important; box-shadow: inset 0 0 0 1px var(--amber); }
.table-downloads { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
