:root {
  color-scheme: light;
  --canvas: #f4f2ed;
  --surface: #fffefa;
  --surface-soft: #f8f6f1;
  --line: #e6e1d7;
  --ink: #202b35;
  --muted: #7d8588;
  --accent: #173d56;
  --accent-dark: #102f44;
  --accent-soft: #e8eff2;
  --brand-red: #b83c31;
  --income: #19866e;
  --income-soft: #e8f5f0;
  --expense: #d66a57;
  --expense-soft: #fff0ed;
  --warning: #a56b18;
  --radius: 16px;
  --shadow: 0 8px 26px rgb(30 50 58 / 4%);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #141b20;
  --surface: #1d282f;
  --surface-soft: #25323a;
  --line: #34424a;
  --ink: #f0eee9;
  --muted: #a6b0b2;
  --accent: #91b7cd;
  --accent-dark: #bad7e5;
  --accent-soft: #293c47;
  --brand-red: #e27b6c;
  --income: #78d4aa;
  --income-soft: #20382f;
  --expense: #f39885;
  --expense-soft: #3c2926;
  --warning: #e9bc6c;
  --shadow: 0 8px 26px rgb(0 0 0 / 12%);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.55; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 3; inset: 0 auto 0 0; display: flex; width: 252px; flex-direction: column; padding: 28px 17px 18px; background: var(--surface); border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 0 48px 5px; color: var(--ink); font-size: 19px; font-weight: 780; letter-spacing: -0.7px; text-decoration: none; }
.brand-mark { position: relative; display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; gap: 1px; overflow: hidden; border-radius: 11px; background: var(--accent); box-shadow: inset 0 -5px 0 rgb(0 0 0 / 12%); color: white; font-size: 14px; font-weight: 850; letter-spacing: -1px; }
.brand-mark::before { position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand-red); content: ""; }
.brand-name { display: block; }
.brand-light { color: var(--brand-red); }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: 1.2px; }
.nav-label { padding: 0 12px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: 1.15px; }
.side-nav { display: grid; gap: 6px; margin-top: 13px; }
.nav-link { display: flex; min-height: 44px; align-items: center; gap: 12px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #67757d; cursor: pointer; font-size: 13px; font-weight: 620; text-align: left; text-decoration: none; transition: background .16s ease, color .16s ease; }
html[data-theme="dark"] .nav-link { color: var(--muted); }
.nav-link:hover, .nav-link.active { background: var(--accent-soft); color: var(--accent-dark); }
.nav-icon { display: grid; width: 22px; place-items: center; color: inherit; font-size: 19px; }
.sidebar-bottom { display: grid; gap: 14px; margin-top: auto; }
.sidebar-bottom form { margin: 0; }
.secure-note { display: flex; align-items: flex-start; gap: 10px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.secure-note strong, .secure-note small { display: block; }
.secure-note strong { font-size: 11px; }
.secure-note small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.secure-dot { width: 8px; height: 8px; flex: none; margin: 5px 0 0 3px; border-radius: 50%; background: var(--income); box-shadow: 0 0 0 4px var(--income-soft); }
.logout-link { width: 100%; }
.mobile-logout { display: none; }

.app-main { min-height: 100vh; margin-left: 252px; }
.topbar { position: sticky; z-index: 2; top: 0; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 42px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); }
.breadcrumb { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: 1px; }
.breadcrumb span { padding: 0 8px; color: #c1cacc; }
.trade-indicator { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--brand-red); vertical-align: 1px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.user-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 750; }
.user-name { max-width: 140px; overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 650; text-overflow: ellipsis; }
.icon-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 18px; }
.icon-button:hover { background: var(--surface-soft); }
.container { width: min(1300px, 100%); margin: 0 auto; padding: 35px 42px 24px; }
.app-footer { padding: 0 42px 22px; color: var(--muted); font-size: 11px; }
.app-footer span { padding: 0 5px; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.eyebrow { margin: 0 0 5px; color: var(--accent); font-size: 10px; font-weight: 780; letter-spacing: 1.1px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 4px; font-size: clamp(24px, 3vw, 31px); font-weight: 740; letter-spacing: -1.1px; line-height: 1.2; }
h2 { margin-bottom: 3px; font-size: 16px; font-weight: 720; letter-spacing: -.25px; }
h3 { margin-bottom: 0; }
.subtitle { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.heading-actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }

.btn { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border: 1px solid transparent; border-radius: 9px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700; line-height: 1.25; text-decoration: none; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-danger { background: var(--expense); color: #fff; }
.btn-sm { min-height: 30px; padding: 5px 9px; font-size: 11px; }
.top-add { min-height: 36px; }

.messages { display: grid; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.messages li { padding: 12px 15px; border: 1px solid #b6dfd1; border-radius: 10px; background: var(--income-soft); color: var(--income); font-size: 12px; }
.messages li.error { border-color: #edc5bd; background: var(--expense-soft); color: var(--expense); }

.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.summary-card { position: relative; overflow: hidden; min-height: 137px; padding: 18px 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.summary-card::after { position: absolute; right: -24px; bottom: -41px; width: 112px; height: 112px; border: 17px solid var(--accent-soft); border-radius: 50%; content: ""; opacity: .68; }
.summary-card.income::after { border-color: var(--income-soft); }
.summary-card.expense::after { border-color: var(--expense-soft); }
.summary-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.summary-card .label { color: var(--muted); font-size: 11px; font-weight: 650; }
.stat-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 16px; }
.income .stat-icon { background: var(--income-soft); color: var(--income); }
.expense .stat-icon { background: var(--expense-soft); color: var(--expense); }
.summary-card strong { display: block; position: relative; z-index: 1; margin-top: 12px; font-size: clamp(21px, 2vw, 27px); font-weight: 750; letter-spacing: -.8px; line-height: 1.15; }
.summary-card .usd { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.income-total { color: var(--income); }
.expense-total { color: var(--expense); }
.balance-total { color: var(--accent); }
.balance-total.negative { color: var(--expense); }

.panel { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.records-panel { padding: 0; overflow: hidden; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 20px 15px; }
.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.record-count { padding: 4px 9px; border-radius: 20px; background: var(--surface-soft); color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.toolbar { display: grid; grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(120px, .8fr)) auto; align-items: end; gap: 10px; margin: 0 20px 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.toolbar .field, .form-card .field { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.toolbar label, .form-card label { color: var(--muted); font-size: 10px; font-weight: 720; letter-spacing: .25px; }
.toolbar-actions { display: flex; gap: 7px; }
input, select, textarea { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 12px; }
input::placeholder, textarea::placeholder { color: #a6b1b5; }
textarea { min-height: 110px; resize: vertical; }
.quick-ranges { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 20px 14px; }
.quick-ranges > span { margin-right: 2px; color: var(--muted); font-size: 10px; font-weight: 650; }
.range-button { min-height: 28px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--muted); cursor: pointer; font-size: 10px; }
.range-button:hover, .range-button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.filter-hint { margin-left: auto; color: var(--muted); font-size: 10px; }

.table-wrap { overflow-x: auto; }
.mobile-record-list { display: none; }
.mobile-audit-list { display: none; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: var(--surface-soft); color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; white-space: nowrap; }
td { color: var(--ink); }
tbody tr { transition: background .14s ease; }
tbody tr:hover { background: var(--surface-soft); }
.date-cell { color: var(--muted); font-size: 11px; white-space: nowrap; }
.operation-cell { max-width: 320px; font-weight: 650; overflow-wrap: anywhere; }
.operation-cell small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; }
.amount-cell { font-variant-numeric: tabular-nums; font-weight: 720; white-space: nowrap; }
.amount-cell.income-text { color: var(--income); }
.amount-cell.expense-text { color: var(--expense); }
.type-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 20px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.type-pill.income { background: var(--income-soft); color: var(--income); }
.type-pill.expense { background: var(--expense-soft); color: var(--expense); }
.type-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.action-cell { text-align: right; white-space: nowrap; }
.table-actions { display: inline-flex; gap: 5px; }
.icon-action { display: inline-grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); text-decoration: none; }
.icon-action:hover { border-color: var(--accent); color: var(--accent); }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pagination a { display: inline-flex; min-height: 29px; align-items: center; padding: 4px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-weight: 650; text-decoration: none; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.empty-state { padding: 48px 20px; text-align: center; }
.empty-icon { display: grid; width: 50px; height: 50px; place-items: center; margin: 0 auto 12px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); font-size: 23px; }
.empty-state h3 { margin-bottom: 4px; font-size: 14px; }
.empty-state p { margin-bottom: 15px; color: var(--muted); font-size: 12px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.form-panel { max-width: 820px; }
.form-card { display: grid; gap: 15px; }
.record-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-card .field-wide { grid-column: 1 / -1; }
.help { color: var(--muted); font-size: 10px; }
.errorlist { margin: 3px 0 0; padding: 0; color: var(--expense); font-size: 11px; list-style: none; }
.form-actions { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.drop-zone { padding: 23px; border: 1px dashed #b6c7c6; border-radius: 12px; background: var(--surface-soft); text-align: center; }
.drop-zone .field { max-width: 480px; margin: 0 auto; text-align: left; }
.file-guidance { margin: 17px 0 0; padding: 13px 15px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font-size: 11px; }
.file-guidance strong { display: block; margin-bottom: 3px; }
.changes { margin: 0; padding-left: 16px; }
.mobile-audit-card { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.mobile-audit-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--muted); font-size: 11px; }
.mobile-audit-card h2 { margin: 9px 0 3px; font-size: 13px; }
.mobile-audit-card p { margin-bottom: 8px; font-size: 12px; font-weight: 650; }
.mobile-audit-card .changes { padding-top: 8px; border-top: 1px solid var(--line); font-size: 11px; }
.danger-panel { max-width: 600px; border-top: 3px solid var(--expense); }
.danger-record { margin: 20px 0; padding: 14px; border-radius: 10px; background: var(--surface-soft); }

.auth-page { display: grid; min-height: 100vh; place-items: center; background: radial-gradient(ellipse at 90% 10%, rgb(184 60 49 / 8%), transparent 31%), radial-gradient(ellipse at top left, #e7edf0, transparent 48%), var(--canvas); }
.auth-page .app-shell { display: grid; min-height: 100vh; place-items: center; }
.auth-container { display: grid; min-height: 100vh; place-items: center; }
.auth-card { width: min(420px, 100%); padding: 30px; }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: var(--ink); font-size: 17px; font-weight: 750; text-decoration: none; }
.auth-brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: 1.3px; }
.auth-card .form-card { margin-top: 20px; }

@media (min-width: 1500px) { .container { padding-right: 56px; padding-left: 56px; } }
@media (max-width: 1150px) {
  .sidebar { width: 220px; }
  .app-main { margin-left: 220px; }
  .topbar { padding: 0 26px; }
  .container { padding: 28px 26px 22px; }
  .app-footer { padding-right: 26px; padding-left: 26px; }
  .toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .sidebar { position: static; width: auto; padding: 10px 14px 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { margin: 0; font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .sidebar > .nav-label, .sidebar-bottom { display: none; }
  .side-nav { position: fixed; z-index: 10; inset: auto 0 0; display: flex; justify-content: space-around; gap: 0; margin: 0; padding: 6px 4px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); box-shadow: 0 -5px 18px rgb(28 43 48 / 7%); }
  .nav-link { min-width: 0; min-height: 52px; flex-direction: column; justify-content: center; gap: 2px; padding: 4px 2px; font-size: 10px; line-height: 1.2; text-align: center; white-space: normal; }
  .side-nav > .nav-link, .mobile-logout { width: 20%; flex: 1 1 20%; }
  .nav-icon { width: auto; height: 21px; font-size: 17px; }
  .mobile-logout { display: block; min-width: 0; }
  .mobile-logout .nav-link { width: 100%; }
  .app-main { margin-left: 0; }
  .topbar { position: static; min-height: 50px; padding: 0 14px; }
  .breadcrumb { overflow: hidden; font-size: 9px; letter-spacing: .45px; text-overflow: ellipsis; white-space: nowrap; }
  .breadcrumb span { padding: 0 3px; }
  .topbar-actions { flex: none; gap: 7px; }
  .user-name { display: none; }
  .topbar-actions .user-avatar { display: none; }
  .top-add { min-height: 38px; padding: 6px 10px; font-size: 11px; }
  .container { padding: 18px 12px 96px; }
  .app-footer { padding: 0 14px 90px; }
  .page-heading { align-items: stretch; flex-direction: column; gap: 13px; margin-bottom: 17px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading .subtitle { max-width: 38ch; font-size: 12px; }
  .heading-actions { width: 100%; }
  .heading-actions .btn { min-height: 42px; flex: 1 1 auto; padding: 8px 9px; font-size: 11px; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 15px; }
  .summary-card { min-width: 0; min-height: 106px; padding: 12px; }
  .summary-card:first-child { grid-column: 1 / -1; min-height: 110px; }
  .summary-card .label { font-size: 11px; }
  .summary-card .stat-icon { width: 25px; height: 25px; }
  .summary-card strong { margin-top: 7px; font-size: clamp(18px, 6vw, 23px); overflow-wrap: anywhere; }
  .summary-card .usd { font-size: 9px; }
  .toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 0 10px 11px; padding: 9px; }
  .toolbar .field:first-child { grid-column: 1 / -1; }
  .toolbar .field { min-width: 0; }
  .toolbar input, .toolbar select { min-width: 0; padding: 7px; font-size: 11px; }
  .toolbar label, .form-card label { font-size: 11px; }
  .toolbar-actions { grid-column: 1 / -1; }
  .toolbar-actions .btn { min-width: 0; flex: 1; }
  .quick-ranges { flex-wrap: nowrap; margin: 0 10px 12px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .quick-ranges::-webkit-scrollbar { display: none; }
  .quick-ranges > span { flex: none; }
  .range-button { flex: none; }
  .filter-hint { display: none; }
  .section-heading { align-items: flex-start; padding: 13px 12px 11px; }
  .section-heading h2 { font-size: 14px; }
  .section-heading p { max-width: 27ch; font-size: 10px; }
  .record-count { padding: 4px 6px; font-size: 9px; }
  .records-panel { overflow: hidden; }
  .table-wrap { display: none; }
  .mobile-record-list { display: grid; gap: 9px; padding: 0 10px 10px; }
  .mobile-audit-list { display: grid; gap: 9px; padding: 10px; }
  .mobile-record-card { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
  .mobile-record-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .mobile-record-date { color: var(--muted); font-size: 10px; font-weight: 600; }
  .mobile-record-title { margin: 8px 0 0; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
  .mobile-record-notes { margin: 4px 0 0; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
  .mobile-record-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
  .mobile-record-amounts > div { display: grid; min-width: 0; gap: 3px; }
  .mobile-record-amounts span { color: var(--muted); font-size: 10px; }
  .mobile-record-amounts strong { font-size: 12px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .income-text { color: var(--income); }
  .expense-text, .mobile-delete-action { color: var(--expense); }
  .mobile-record-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); }
  .table-footer { align-items: center; flex-direction: column; padding: 11px; text-align: center; }
  .pagination { width: 100%; justify-content: space-between; }
  .pagination a { font-size: 10px; }
  .empty-state { padding: 32px 16px; }
  .empty-state p { font-size: 11px; }
  .drop-zone { padding: 16px 12px; }
  .drop-zone input[type="file"] { max-width: 100%; }
  .record-form-grid { grid-template-columns: 1fr; }
  .form-card .field-wide { grid-column: auto; }
  .panel { padding: 16px; }
  .records-panel { padding: 0; }
  .auth-page .app-shell, .auth-page .app-main { width: 100%; }
  .auth-page .app-shell { min-height: 100svh; }
  .auth-page .app-main { min-height: 0; }
  .auth-container { min-height: 100svh; padding: 16px; }
  .auth-card { padding: 23px; }
}
@media (max-width: 360px) {
  .container { padding-right: 9px; padding-left: 9px; }
  .heading-actions { display: grid; grid-template-columns: 1fr; }
  .heading-actions .btn { min-height: 42px; font-size: 11px; }
  .summary { grid-template-columns: 1fr; }
  .summary-card, .summary-card:first-child { min-height: 96px; padding: 13px; }
  .summary-card strong { font-size: 22px; }
  .side-nav .nav-link { font-size: 10px; }
  .toolbar { grid-template-columns: 1fr; }
  .toolbar .field:first-child, .toolbar-actions { grid-column: auto; }
  .quick-ranges { margin-right: 8px; margin-left: 8px; }
  .range-button { min-height: 36px; }
  .mobile-record-card { padding: 14px; }
  .mobile-record-amounts strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.check-field label { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 12px; cursor: pointer; }
.check-field input[type="checkbox"] { width: 16px; min-height: 16px; height: 16px; padding: 0; flex: none; }
