:root {
  color-scheme: light;
  --primary: #1554c4;
  --primary-hover: #1045a5;
  --blue-surface: #edf3ff;
  --ink: #17283f;
  --muted: #526478;
  --line: #dbe2eb;
  --input: #a1afc0;
  --paper: #fff;
  --ground: #f3f6fa;
  --radius: 7px;
  --font-ui: Inter, "Microsoft YaHei UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-body: 14px/22px var(--font-ui);
  --font-caption: 12px/18px var(--font-ui);
  font: var(--font-body);
  color: var(--ink);
  background: var(--ground);
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--primary); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: 16px; line-height: 24px; font-weight: 500; }
h3 { font-size: 16px; line-height: 24px; font-weight: 500; }
small, .muted { color: var(--muted); }
small { font: var(--font-caption); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3474d8; outline-offset: 3px; }
.num, .code, select, input { font-variant-numeric: tabular-nums; }
.num { text-align: right; white-space: nowrap; }
.code { color: #3e5572; white-space: nowrap; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px;
  border: 1px solid var(--input); border-radius: 5px; background: var(--paper);
  padding: 6px 13px; color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap;
}
.button:hover { background: var(--ground); border-color: #8294ab; }
.button.primary { background: var(--primary); border-color: var(--primary); color: white; }
.button.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.button:disabled { cursor: not-allowed; color: #536378; background: #e8edf3; border-color: #cdd7e3; }
.text-button { padding: 5px 0; border: none; background: transparent; color: var(--primary); }
.text-button:hover, .back-link:hover { text-decoration: underline; }
.back-link { color: var(--primary); text-decoration: none; }
label { display: grid; gap: 6px; font-weight: 500; min-width: 0; }
input:not([type="checkbox"]), select { min-width: 0; width: 100%; min-height: 36px; padding: 6px 9px; border: 1px solid var(--input); border-radius: 5px; background: var(--paper); }
input::placeholder { color: #607087; opacity: 1; }
input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stack { display: grid; gap: 16px; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: 4px; font: var(--font-caption); font-weight: 500; white-space: nowrap; }
.badge-neutral { background: #ecf0f5; color: #41556e; }
.badge-info { background: var(--blue-surface); color: #174f9e; }
.badge-success { background: #e7f5ed; color: #205e39; }
.badge-warning { background: #fff1d9; color: #79490c; }
.notice { padding: 10px 12px; border-radius: 5px; overflow-wrap: anywhere; }
.notice.error { background: #fff0f0; color: #9a2432; border: 1px solid #efc5cb; }
.notice.warning { background: #fff3df; color: #6d430f; border: 1px solid #ead3a9; }
.notice.success { background: #eaf6ee; color: #23603e; border: 1px solid #c7e4d2; }

.login-page { min-width: 0; background: var(--paper); }
.login-layout {
  --login-ink: #132943;
  --login-muted: #5d718a;
  --login-rule: #ccd5e4;
  --login-action: #0d5bd6;
  --login-center-inset: clamp(28px, 9.5vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  align-items: center;
  min-height: 100svh;
  padding: clamp(28px, 6vh, 56px) clamp(28px, 6vw, 116px);
  color: var(--login-ink);
  background: #f3f6fc url('/assets/login-background.webp') center / cover no-repeat;
}
.login-scene { display: grid; place-items: center; min-height: clamp(300px, 59svh, 540px); padding-top: var(--login-center-inset); }
.login-identity { display: grid; justify-items: center; gap: 20px; text-align: center; }
.login-identity img { width: clamp(144px, 16vw, 260px); max-width: 100%; height: auto; }
.login-identity h1 { font-size: clamp(26px, 2.22vw, 38px); line-height: 1.32; letter-spacing: normal; }
.login-side { display: grid; place-items: center; padding: var(--login-center-inset) clamp(8px, calc(13vw - 96px), 96px) 0 0; }
.login-content { width: min(100%, clamp(304px, 23vw, 368px)); }
.login-heading h2 { font-size: clamp(28px, 2.22vw, 36px); line-height: 1.31; font-weight: 600; }
.login-heading p { margin-top: 6px; font-size: clamp(16px, 1.14vw, 18px); line-height: 1.47; color: var(--login-muted); }
.login-fields { display: grid; gap: clamp(12px, .92vw, 15px); margin: clamp(21px, 1.58vw, 25px) 0 clamp(27px, 1.88vw, 30px); }
.login-field {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: clamp(52px, 3.61vw, 58px);
  border-bottom: 1px solid var(--login-rule);
}
.login-field input { height: 100%; min-height: 51px; padding: 16px 0 0; border: 0; border-radius: 0; background: transparent; font-size: 16px; line-height: 24px; }
.login-field label {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--login-muted);
  cursor: text;
}
.login-field input:is(:focus, :not(:placeholder-shown)) + label { top: 12px; font: var(--font-caption); }
.login-field:focus-within { border-color: var(--login-action); box-shadow: 0 1px 0 var(--login-action); }
.login-field:focus-within label { color: var(--primary-hover); }
.login-field input:focus-visible { outline: none; }
.login-field-icon { display: block; }
.login-content .notice { margin: -12px 0 14px; }
.button.login-submit { width: 100%; min-height: clamp(45px, 3.16vw, 50px); border-radius: 999px; background: var(--login-action); border-color: var(--login-action); font-size: 18px; line-height: 26px; font-weight: 600; }
.button.login-submit:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.login-note { margin-top: 14px; font: var(--font-body); color: var(--login-muted); }
.login-note strong { font-weight: 500; }

.site-header { min-height: 60px; position: sticky; top: 0; z-index: 2; padding: 9px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; white-space: nowrap; }
.header-user { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; }
.header-user span { white-space: nowrap; }
.header-user .header-name { max-width: min(48ch, 100%); overflow: hidden; text-overflow: ellipsis; }
.header-user a, .header-user form { white-space: nowrap; }
.module-page, .single-page { max-width: 1060px; margin: 0 auto; padding: 46px 22px; }
.module-page h1 { margin-bottom: 24px; }
.module-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; width: min(100%, 470px); min-height: 118px; padding: 20px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.module-card:hover { border-color: var(--primary); box-shadow: 0 3px 12px #15366a12; }
.module-icon { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 8px; background: var(--blue-surface); }
.module-icon::before { content: ""; width: 17px; height: 20px; border: 1.5px solid var(--primary); border-left-width: 3px; border-radius: 3px; }
.module-icon::after { content: ""; position: absolute; top: 22px; left: 25px; width: 6px; height: 1.5px; background: var(--primary); box-shadow: 0 4px 0 var(--primary); }
.module-card p { margin-top: 4px; color: var(--muted); }
.module-arrow { color: var(--primary); font-size: 20px; }
.single-page { max-width: 630px; }
.opening-page { max-width: 920px; }
.single-page h1 { margin: 14px 0 20px; }
.password-page .account-name { overflow-wrap: anywhere; }
.single-page .notice { margin-bottom: 14px; }
.form-panel { padding: 20px; }
.opening-table { min-width: 540px; }
.opening-table td:first-child { width: 44%; }
.opening-table select, .opening-table input { width: 100%; min-width: 0; }
.opening-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.opening-totals { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }
.opening-totals div { display: flex; gap: 8px; }
.opening-totals dd { margin: 0; }

.workspace { display: grid; grid-template-columns: 204px minmax(0, 1fr); min-height: calc(100svh - 60px); }
.sidebar { background: var(--paper); border-right: 1px solid var(--line); }
.sidebar nav { padding: 19px 10px 12px; position: sticky; top: 60px; }
.nav-module { padding: 1px 10px 15px; font-size: 16px; line-height: 24px; font-weight: 500; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.nav-group { display: grid; gap: 3px; margin-top: 14px; }
.nav-group > span { margin: 0 10px 2px; font: var(--font-caption); color: var(--muted); }
.nav-group a { min-height: 37px; padding: 7px 10px; border-radius: 5px; color: #30465f; text-decoration: none; }
.nav-group a:hover { background: var(--ground); }
.nav-group a[aria-current="page"] { background: var(--blue-surface); color: #114d9e; font-weight: 500; }
.nav-back { margin: 18px 10px 0; padding-top: 14px; border-top: 1px solid var(--line); }
.finance-main { min-width: 0; }
.context-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
.context-form label { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.context-form:first-child select { width: clamp(175px, 26vw, 328px); }
.context-form select { width: auto; }
.new-book { margin-left: auto; }
.finance-content { display: grid; gap: 16px; padding: 20px 22px 30px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.page-heading p { margin-top: 5px; color: var(--muted); overflow-wrap: anywhere; }
.panel { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-heading { padding: 14px 16px; }
.panel-heading p { margin-top: 3px; color: var(--muted); overflow-wrap: anywhere; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.summary-grid > div { padding: 13px 16px; border-right: 1px solid var(--line); }
.summary-grid > div:last-child { border-right: none; }
.summary-grid dt, .trial-summary dt { color: var(--muted); }
.summary-grid dd, .trial-summary dd { margin: 3px 0 0; font-size: 20px; line-height: 28px; font-weight: 600; overflow-wrap: anywhere; white-space: normal; text-align: left; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { border-top: 1px solid var(--line); padding: 9px 13px; vertical-align: top; }
th { font-weight: 500; color: #3d536e; background: #f5f7fa; white-space: nowrap; }
tbody tr:hover td { background: #f9fbfe; }
.target-number { display: inline-block; margin-left: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { padding: 17px; color: var(--muted); }
.empty .button { margin-top: 10px; }
.compact { padding: 0; }

.preview-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.trial-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; background: #f7f9fc; border-block: 1px solid var(--line); padding: 12px 16px; }
.sample-guide, .optional-codes { margin: 14px 16px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: #f8faff; }
.sample-guide p { margin-top: 6px; }
summary { cursor: pointer; color: var(--primary); font-weight: 500; }
.optional-codes legend { padding: 0 6px; }
.optional-codes label, .check-label { display: flex; align-items: center; gap: 8px; }
.optional-codes label { display: inline-flex; margin: 3px 13px 3px 0; }
.mapping-section { min-width: 0; padding: 16px; }
.mapping-section + .mapping-section { border-top: 1px solid var(--line); }
.mapping-section h3 { margin-bottom: 9px; }
.mapping-section .table-wrap { border: 1px solid var(--line); border-top: none; border-radius: 5px; }
.mapping-section table { min-width: 510px; }
.issue-list { color: #814317; margin: 10px 0 0; padding-left: 20px; }
.allocation { margin-top: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 5px; }
.allocation-body { display: grid; gap: 10px; padding-top: 10px; }
.allocation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 10px; }
.panel-actions { padding: 12px 16px; border-top: 1px solid var(--line); }
.form-body { padding: 0 16px 16px; max-width: 700px; }
.audit-basis { padding: 0 16px 12px; overflow-wrap: anywhere; }
.voucher-copy-note { background: var(--blue-surface); color: #1b477e; }
.voucher-meta { display: flex; flex-wrap: wrap; gap: 16px; padding: 16px; }
.voucher-meta label { width: 180px; max-width: 100%; }
.voucher-meta .voucher-correction-reason { width: min(100%, 560px); }
.voucher-entry table { min-width: 730px; }
.voucher-entry td { vertical-align: middle; }
.voucher-entry td:nth-child(2), .voucher-entry td:nth-child(3) { min-width: 174px; }
.voucher-account-cell { display: flex; align-items: center; gap: 6px; }
.voucher-account-cell select { min-width: 0; flex: 1; }
.voucher-account-cell .text-button { flex: none; padding-inline: 4px; }
.voucher-account-dialog { position: fixed; inset: 0; width: min(520px, calc(100% - 28px)); max-height: calc(100dvh - 28px);
  height: fit-content; margin: auto; padding: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 12px 32px #152b4c33; }
.voucher-account-dialog::backdrop { background: #17263e66; }
.voucher-account-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.voucher-account-dialog [data-account-empty] { margin-top: 12px; }
.voucher-account-results { max-height: min(280px, 45dvh); padding: 0; margin: 8px 0 0; list-style: none; overflow: auto; }
.voucher-account-results button { width: 100%; min-height: 36px; padding: 6px 8px; text-align: left; font: inherit;
  color: var(--ink); background: var(--paper); border: 0; border-radius: 4px; cursor: pointer; }
.voucher-account-results button:is(:hover, :focus-visible) { color: var(--primary); background: var(--blue-surface); outline-offset: -3px; }
.voucher-entry td:nth-child(4), .voucher-entry td:nth-child(5) { width: 126px; }
.voucher-entry td:nth-child(4) input, .voucher-entry td:nth-child(5) input { text-align: right; }
.voucher-entry .text-button:disabled { color: var(--muted); cursor: not-allowed; }
.voucher-totals { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; padding: 12px 16px; border-top: 1px solid var(--line); }
.voucher-totals output { font-variant-numeric: tabular-nums; font-weight: 600; }
.voucher-reason { margin-top: 10px; }
.voucher-correction { padding: 16px; }
.voucher-correction form { margin-top: 12px; max-width: 560px; }
.ledger-tabs { display: flex; flex-wrap: wrap; gap: 0 20px; padding-inline: 16px; border-bottom: 1px solid var(--line); }
.ledger-tabs a { display: flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.ledger-tabs a:hover, .ledger-tabs a[aria-current="page"] { color: var(--primary); }
.ledger-tabs a[aria-current="page"] { border-color: currentColor; font-weight: 500; }
.ledger-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 10px; }
.ledger-heading p { margin: 0; white-space: nowrap; }
.ledger-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 0 16px 12px; }
.ledger-filters label { display: flex; align-items: center; gap: 8px; max-width: 100%; }
.ledger-filters select { min-width: 0; width: auto; }
.ledger-filters span, .balance-side { color: var(--muted); }
.voucher-search { padding: 12px 16px; }
.voucher-search label { white-space: nowrap; }
.voucher-search input { width: min(230px, 100%); min-width: 0; }
.ledger-panel .ledger-note { margin: 0 16px 12px; background: var(--blue-surface); color: #1b477e; }
.ledger-panel table { min-width: 575px; }
.ledger-panel tbody th { background: var(--paper); color: inherit; white-space: normal; }
.ledger-panel tbody tr:hover th { background: #f9fbfe; }
.ledger-panel .ledger-child { padding-inline-start: 27px; }
.ledger-entries table { min-width: 665px; }
.ledger-date { white-space: nowrap; }
.ledger-summary { min-width: 160px; max-width: 360px; overflow-wrap: anywhere; }
.ledger-summary small { display: block; color: var(--muted); }
.ledger-day-end { display: block; color: var(--muted); }
.ledger-total td { background: #f5f7fa; font-weight: 500; }
.ledger-red { color: #a62828; }
.ledger-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); padding: 10px 16px; }
.closing-totals table { min-width: 350px; }
.closing-totals tbody th { color: inherit; background: var(--paper); }
.closing-issues { padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.closing-issues ul { margin: 0; padding-inline-start: 30px; }
.closing-counts dd a { display: inline-flex; align-items: center; min-width: 44px; text-decoration: underline; text-underline-offset: 3px; }
.closing-confirm { padding: 0 16px 16px; display: grid; justify-items: start; gap: 12px; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.year-plan { padding: 14px 16px; }
.year-plan-form { margin-top: 12px; }
.year-plan-form label, .year-close-note { width: min(100%, 520px); }
.year-plan-form .table-wrap { border: 1px solid var(--line); border-radius: 5px; }
.year-plan-form table, .year-plan-review table { min-width: 490px; }
.year-plan-form td input { min-width: 86px; max-width: 170px; text-align: right; }
.year-plan-form tbody th { color: inherit; background: var(--paper); }
.year-plan-form details .table-wrap { margin-top: 8px; }
.year-issues { margin: 0; padding-left: 20px; }
#year-plan-result { scroll-margin-block-start: 72px; }
.voucher-year-plan { padding: 14px 16px; }
.voucher-files-hint { align-self: end; margin-bottom: 7px; }
.voucher-files h2 .muted { font: var(--font-body); }
.voucher-files .empty { padding-top: 0; }
.voucher-file-upload { align-items: flex-end; }
.voucher-file-upload label { width: min(100%, 340px); }
.voucher-file-upload input[type="file"] { padding: 5px 8px; }
.archive-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.archive-check { padding: 12px 16px; }
.archive-check p { margin-top: 6px; white-space: normal; overflow-wrap: anywhere; }
.archive-filename { overflow-wrap: anywhere; }
.access-grant { align-items: flex-end; }
.access-grant label { width: min(100%, 340px); }
.report-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.report-toolbar .ledger-tabs { border-bottom: 0; }
.report-range { display: flex; gap: 2px; margin: 6px 16px; padding: 2px; background: var(--ground); border-radius: 5px; }
.report-range a { display: grid; place-items: center; min-width: 50px; min-height: 32px; padding: 4px 8px;
  color: var(--muted); text-decoration: none; border-radius: 3px; }
.report-range a[aria-current="page"] { color: var(--primary); background: var(--paper); font-weight: 500; }
.report-tables { display: grid; gap: 16px; align-items: start; }
.report-table table, .report-source table { min-width: 340px; }
.report-table thead th { border-top: 0; }
.report-table tbody th { background: var(--paper); color: inherit; white-space: normal; }
.report-table .report-sub th { padding-inline-start: 28px; }
.report-table .report-total > * { background: #f5f7fa; font-weight: 600; }
.report-table .report-row td { width: 22%; }
.report-notes p + p { margin-top: 4px; }
.report-source { scroll-margin-block-start: 72px; }
.report-source-column { border-top: 1px solid var(--line); }
.report-source-links a { display: inline-block; margin-right: 10px; }
.report-source-date { white-space: nowrap; }
.report-footnote { font: var(--font-caption); }
@media (min-width: 1120px) {
  .report-balance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 5; background: white; padding: 8px; top: 8px; left: 8px; }

@media (max-width: 810px) {
  .workspace { grid-template-columns: 160px minmax(0, 1fr); }
  .finance-content, .context-bar { padding-inline: 14px; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-grid > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .summary-grid > div:nth-child(even) { border-right: none; }
}

@media (max-width: 760px) {
  .login-layout { grid-template-columns: minmax(0, 1fr); align-content: start; padding: 32px clamp(20px, 6vw, 42px); background-position: 38% center; }
  .login-scene { min-height: clamp(155px, 25svh, 205px); padding: 0; }
  .login-identity { gap: 13px; }
  .login-identity img { width: clamp(96px, 28vw, 132px); }
  .login-identity h1 { font-size: 20px; line-height: 28px; }
  .login-side { padding: 24px 0 0; }
  .login-heading h2 { font-size: 24px; line-height: 32px; }
  .login-field input { font-size: 16px; line-height: 24px; }
}

@media (max-width: 650px) {
  .closing-counts dd, .closing-counts dd a { display: flex; align-items: center; min-height: 44px; }
  .voucher-account-results button { min-height: 44px; }
  .workspace { display: block; }
  .site-header { position: static; padding-inline: 12px; align-items: flex-start; }
  .header-user { gap: 3px 10px; }
  .header-user .badge { display: none; }
  .header-user .text-button { padding: 0; }
  .brand { font-size: 14px; }
  .sidebar { border-right: none; border-bottom: 1px solid var(--line); }
  .sidebar nav { display: flex; flex-wrap: wrap; align-items: center; padding: 8px 10px; gap: 4px 9px; }
  .nav-group { display: flex; align-items: center; gap: 3px; margin: 0; }
  .nav-group > span, .nav-module { display: none; }
  .nav-group a { min-height: 44px; display: flex; align-items: center; padding-inline: 7px; }
  .nav-back { margin: 0; border: none; padding: 4px; }
  .context-bar { align-items: stretch; padding-top: 10px; gap: 10px; }
  .context-form { width: 100%; }
  .context-form label { justify-content: space-between; }
  .context-form select, .context-form:first-child select { width: min(72%, 310px); min-height: 44px; }
  .button { min-height: 44px; }
  .module-page, .single-page { padding-top: 27px; }
  .finance-content { padding-inline: 12px; }
  .summary-grid > div, .trial-summary { padding-inline: 12px; }
  .summary-grid dd, .trial-summary dd { font-size: 17px; }
  .allocation-grid label input { min-height: 44px; }
  .ledger-filters select { min-height: 44px; max-width: 100%; flex: 1; }
  .report-range a { min-height: 44px; }
}
