:root {
  --sidebar-width: 228px;
  --chart-income: var(--plore-accent);
  --chart-expense: var(--plore-category-digest);
  --tone-violet: var(--plore-category-digest);
  --tone-azure: var(--plore-category-media);
  --tone-teal: var(--plore-category-sync);
  --tone-amber: var(--plore-warning);
  --tone-raspberry: var(--plore-category-notify);
  --tone-cobalt: var(--plore-accent);
  font-family: var(--plore-font-body);
  color: var(--plore-foreground);
  background: var(--plore-background);
  font-size: 16px;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--plore-focus); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand strong, .metric-value, .account-total, .donut-core strong {
  font-family: var(--plore-font-display);
  line-height: 1.18;
}
h1 { font-size: clamp(2rem, 3.2vw, 2.85rem); font-weight: 850; letter-spacing: -.042em; }
h2 { font-size: 1.19rem; font-weight: 800; letter-spacing: -.018em; }
h3 { font-size: .94rem; font-weight: 750; }
small { font-size: .79rem; }
.icon { flex: 0 0 auto; display: inline-block; vertical-align: middle; width: 1.16rem; height: 1.16rem; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  position: fixed; z-index: 20; left: 16px; top: 16px; padding: 12px 16px;
  background: var(--plore-surface); border: 1px solid var(--plore-border); border-radius: var(--plore-radius-control);
}
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: var(--plore-z-sticky); width: var(--sidebar-width);
  display: flex; flex-direction: column; padding: 26px 15px 20px;
  background: var(--plore-navigation); border-right: 1px solid var(--plore-border);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 9px; margin-bottom: 38px; width: max-content; }
.brand img { flex: 0 0 auto; border-radius: 12px; }
.brand strong { display: block; font-size: 1.21rem; font-weight: 850; letter-spacing: -.033em; }
.brand-finance { color: var(--plore-accent); }
.brand small { display: block; color: var(--plore-muted-foreground); margin-top: 4px; }
#navigation { display: grid; gap: 5px; }
.nav-link {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 13px;
  color: var(--plore-muted-foreground); font-size: .875rem; font-weight: 650;
  border: 1px solid transparent; border-radius: var(--plore-radius-control);
}
.nav-link:hover { background: var(--plore-control-hover); color: var(--plore-foreground); }
.nav-link[aria-current] {
  background: var(--plore-accent-muted); color: var(--plore-accent);
  border-color: color-mix(in srgb, var(--plore-accent) 20%, transparent);
}
.sidebar-foot { margin-top: auto; }
.privacy {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--plore-border);
  padding: 10px; border-radius: var(--plore-radius-control); background: var(--plore-surface-translucent);
}
.privacy-icon { display: grid; place-items: center; width: 30px; height: 34px; color: var(--plore-accent); }
.privacy strong, .privacy small { display: block; }
.privacy strong { font-size: .75rem; margin-bottom: 3px; }
.privacy small { color: var(--plore-muted-foreground); font-size: .69rem; }
.workspace { margin-left: var(--sidebar-width); }
.topbar {
  height: 70px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--plore-border); background: var(--plore-surface-translucent);
}
.breadcrumb, .top-actions { display: flex; align-items: center; gap: 12px; }
.breadcrumb { font-size: .85rem; color: var(--plore-muted-foreground); }
.breadcrumb strong { color: var(--plore-foreground); font-weight: 650; }
.slash { opacity: .65; }
.mode-button, .icon-button, .button, .period-month {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px;
  padding: 0 12px; border: 1px solid transparent; border-radius: var(--plore-radius-control);
  background: transparent; font-size: .835rem; font-weight: 680; white-space: nowrap;
}
.icon-button { padding: 0; min-width: 39px; }
.icon-button:hover:not(:disabled), .period-month:hover { background: var(--plore-control-hover); }
.mode-button {
  background: var(--plore-accent-muted); color: var(--plore-accent); min-height: 34px;
  border-color: color-mix(in srgb, var(--plore-accent) 20%, transparent); border-radius: var(--plore-radius-pill);
}
.mode-button:hover { border-color: var(--plore-accent); }
.mode-dot { width: .43rem; height: .43rem; border-radius: 100%; background: currentColor; }
.theme-button { border-color: var(--plore-border); color: var(--plore-muted-foreground); }
.button { min-height: 42px; padding: 0 14px; }
.button.primary { color: var(--plore-on-accent); background: var(--plore-accent); }
.button.primary:hover { background: color-mix(in srgb, var(--plore-accent) 86%, var(--plore-on-accent)); }
.button.secondary { border-color: var(--plore-border); background: var(--plore-surface); }
.button.secondary:hover { background: var(--plore-surface-muted); }
.button.danger { color: var(--plore-danger); }
.button.danger:hover { background: var(--plore-danger-muted); }
main { padding: 32px 34px 40px; outline: none; }
#view { width: 100%; max-width: 1220px; margin-inline: auto; }
.page-heading, .section-bar, .panel-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 16px;
}
.page-heading { margin-bottom: 30px; }
.page-heading p {
  margin-top: 8px; font-size: .94rem; color: var(--plore-muted-foreground); line-height: 1.5;
}
.heading-actions { display: flex; gap: 8px; }
.heading-actions:empty { display: none; }
.heading-actions .button { min-height: 44px; padding-inline: 16px; }
.section-bar { margin-bottom: 12px; }
.period {
  display: flex; align-items: center; border: 1px solid var(--plore-border);
  background: var(--plore-surface); border-radius: var(--plore-radius-control);
  padding: 2px; min-width: 0; gap: 1px;
}
.period :is(.icon-button, .period-month) { min-height: 34px; border-radius: 8px; }
.period .icon-button { min-width: 34px; color: var(--plore-muted-foreground); }
.period-month { min-width: 144px; }
.period-month .icon { width: 16px; height: 16px; color: var(--plore-muted-foreground); }
.metrics { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.panel, .metric {
  border-radius: var(--plore-radius-card); min-width: 0;
  background: var(--plore-surface); border: 1px solid var(--plore-border); box-shadow: var(--plore-shadow-card);
}
.metric { padding: 17px 19px 19px; }
.metric-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.metric-top h3 { color: var(--plore-muted-foreground); }
.metric-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; }
.metric.income .metric-icon { color: var(--plore-success); background: var(--plore-success-muted); }
.metric.expense .metric-icon { color: var(--plore-warning); background: var(--plore-warning-muted); }
.metric-value { margin-top: 6px; font-size: clamp(1.45rem, 2.8vw, 2.55rem); font-weight: 850; letter-spacing: -.05em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric-detail { display: flex; align-items: center; gap: 6px; min-height: 19px; flex-wrap: wrap; font-size: .775rem; margin-top: 8px; color: var(--plore-muted-foreground); }
.metric-change { color: var(--plore-foreground); font-weight: 750; }
.balance { position: relative; overflow: hidden; background: var(--plore-highlight); border-color: transparent; color: var(--plore-on-highlight); isolation: isolate; }
.balance::after {
  content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; right: -79px; top: 1px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 27%); box-shadow: 0 0 0 25px rgb(255 255 255 / 7%), 0 0 0 54px rgb(255 255 255 / 5%);
}
.balance h3, .balance .metric-detail { color: var(--plore-highlight-detail); }
.balance .metric-icon { color: var(--plore-on-highlight); background: rgb(255 255 255 / 15%); }
.analytics { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); gap: 16px; margin-bottom: 18px; align-items: stretch; }
.panel-heading { align-items: flex-start; padding: 18px 20px 0; }
.panel-heading p { margin-top: 5px; font-size: .835rem; color: var(--plore-muted-foreground); line-height: 1.52; }
.chart-panel { min-height: 314px; padding-bottom: 17px; }
.chart-info { min-height: 41px; margin: 7px 20px 0; display: flex; align-items: center; gap: 10px; }
.chart-legend { flex: 0 0 auto; display: flex; gap: 11px; }
.chart-legend span, .chart-detail { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--plore-muted-foreground); }
.chart-legend i, .category-label i { width: .52rem; height: .52rem; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.income-key { background: var(--chart-income); }
.expense-key { background: var(--chart-expense); }
.chart-detail {
  font-size: .69rem; line-height: 1.4; padding: 4px 8px; border-radius: 6px;
  background: var(--plore-surface-muted); color: var(--plore-foreground); font-variant-numeric: tabular-nums;
}
.chart-grid { display: grid; grid-template-columns: 43px 1fr; gap: 6px; margin: 0 18px 0 17px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; text-align: right; height: 183px; margin-top: -6px; }
.chart-y span, .chart-cells button span { color: var(--plore-muted-foreground); font-family: var(--plore-font-mono); font-size: .67rem; white-space: nowrap; }
.chart-plot { position: relative; min-width: 0; }
.chart-plot svg { width: 100%; height: 170px; overflow: visible; display: block; }
.grid-line { stroke: var(--plore-border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.income-line, .expense-line { stroke-width: 2.4; fill: none; vector-effect: non-scaling-stroke; }
.income-line { stroke: var(--chart-income); }
.expense-line { stroke: var(--chart-expense); }
.income-dot, .expense-dot { stroke: var(--plore-surface); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.income-dot { fill: var(--chart-income); }
.expense-dot { fill: var(--chart-expense); }
.chart-cells { position: absolute; inset: 0 0 auto; height: 201px; display: grid; grid-template-columns: repeat(var(--cells), minmax(0, 1fr)); }
.chart-cells button { display: flex; align-items: flex-end; justify-content: center; padding: 0 0 9px; border: 0; border-radius: 0; background: transparent; }
.chart-cells button:is(:hover, .selected, :focus-visible) { background: color-mix(in srgb, var(--plore-accent) 10%, transparent); }
.breakdown { padding-bottom: 13px; }
.donut { width: 124px; height: 124px; border-radius: 50%; background: conic-gradient(var(--segments)); padding: 11px; margin: 14px auto 10px; }
.donut-core { width: 100%; height: 100%; border-radius: 50%; display: grid; place-content: center; gap: 2px; text-align: center; background: var(--plore-surface); }
.donut-core span { color: var(--plore-muted-foreground); font-size: .69rem; }
.donut-core strong { font-size: .9rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; max-width: 90px; }
.category-list, .budget-list, .account-list { list-style: none; padding: 0; margin: 0; }
.category-list { margin: 0 17px; display: grid; gap: 1px; }
.category-row {
  border: 0; background: transparent; width: 100%; text-align: left; min-height: 27px; padding: 4px 3px;
  display: flex; align-items: center; justify-content: space-between; gap: 5px 10px; font-size: .775rem; border-radius: 5px;
}
.category-row:hover { background: var(--plore-control-hover); }
.category-row strong { text-align: right; font-variant-numeric: tabular-nums; font-weight: 680; }
.category-label { display: inline-flex; align-items: center; gap: 7px; color: var(--plore-muted-foreground); min-width: 0; }
.category-label i { background: var(--tone); }
.tone-violet { --tone: var(--tone-violet); }
.tone-azure { --tone: var(--tone-azure); }
.tone-teal { --tone: var(--tone-teal); }
.tone-amber { --tone: var(--tone-amber); }
.tone-raspberry { --tone: var(--tone-raspberry); }
.tone-cobalt { --tone: var(--tone-cobalt); }
.activity .panel-heading { padding-bottom: 13px; align-items: center; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .85rem; }
th, td { padding: 9px 13px; border-top: 1px solid var(--plore-border); }
th { background: color-mix(in srgb, var(--plore-surface) 70%, var(--plore-surface-muted)); color: var(--plore-muted-foreground); font-weight: 650; font-size: .75rem; }
th:first-child, td:first-child { padding-left: 20px; }
th:last-child, td:last-child { padding-right: 15px; }
tr:hover td { background: var(--plore-control-hover); }
.transaction-cell { display: flex; align-items: center; gap: 9px; }
.transaction-name { min-width: 0; }
.transaction-name small { display: block; color: var(--plore-muted-foreground); }
.tile {
  width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 9px; color: var(--tone); background: color-mix(in srgb, var(--tone) 15%, var(--plore-surface));
}
.tile .icon { width: 17px; height: 17px; }
.row-title {
  color: var(--plore-foreground); text-align: left; font-weight: 700; border: 0; padding: 0;
  background: none; border-radius: 3px; overflow-wrap: anywhere;
}
.row-title:hover { text-decoration: underline; }
.table-date, .table-account { color: var(--plore-muted-foreground); overflow-wrap: anywhere; }
.table-date { white-space: nowrap; }
.table-amount, th:nth-last-child(2) { text-align: right; font-variant-numeric: tabular-nums; }
.table-amount { white-space: nowrap; font-weight: 750; }
.table-amount.income { color: var(--plore-success); }
.table-edit { width: 48px; }
.table-edit .icon-button { color: var(--plore-muted-foreground); min-width: 32px; min-height: 32px; }
.table-edit .icon { width: 16px; height: 16px; }
.mobile-date { display: none; }
.empty { padding: 34px 18px; min-height: 150px; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; }
.empty strong { font-size: 1rem; }
.empty p { color: var(--plore-muted-foreground); font-size: .86rem; line-height: 1.55; }
.empty .button { margin-top: 5px; }
.empty-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--plore-accent); background: var(--plore-accent-muted); }
.analytics .empty { min-height: 220px; }
.filters { padding: 16px; display: grid; grid-template-columns: minmax(130px, 1.4fr) repeat(3, minmax(94px, .75fr)) auto; gap: 8px; }
.filters > button { min-height: 40px; }
input:not([type=radio]), select, textarea {
  width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; font-size: .875rem; color: var(--plore-foreground);
  border: 1px solid var(--plore-input-border); border-radius: var(--plore-radius-control); background: var(--plore-surface-muted);
}
input::placeholder, textarea::placeholder { color: var(--plore-muted-foreground); }
textarea { resize: vertical; }
.select, .search { display: block; min-width: 0; position: relative; }
.select select { appearance: none; padding-right: 30px; }
.select .icon, .search .icon { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 16px; height: 16px; color: var(--plore-muted-foreground); }
.search .icon { right: auto; left: 10px; }
.search input { padding-left: 33px; }
.result-count { margin: 11px 20px 15px; color: var(--plore-muted-foreground); font-size: .79rem; }
.budget-panel, .account-panel { margin-top: 12px; }
.budget-list, .account-list { margin: 15px 20px 0; }
.budget-list li, .account-list li { padding: 13px 0; border-top: 1px solid var(--plore-border); }
.budget-row, .account-list li { display: flex; align-items: center; gap: 10px; }
.budget-name, .account-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.budget-name strong, .account-name strong, .budget-name small, .account-name small { display: block; }
.budget-name small, .account-name small { color: var(--plore-muted-foreground); margin-top: 4px; }
.budget-status { color: var(--plore-muted-foreground); font-size: .85rem; }
.budget-status.over { color: var(--plore-danger); }
progress { appearance: none; width: 100%; border: none; height: 8px; border-radius: 999px; overflow: hidden; margin-top: 11px; background: var(--plore-surface-muted); accent-color: var(--plore-accent); }
progress::-webkit-progress-bar { background: var(--plore-surface-muted); }
progress::-webkit-progress-value { background: var(--plore-accent); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--plore-accent); border-radius: 999px; }
progress.over { accent-color: var(--plore-danger); }
progress.over::-webkit-progress-value { background: var(--plore-danger); }
progress.over::-moz-progress-bar { background: var(--plore-danger); }
.light-text { color: var(--plore-muted-foreground); font-weight: 600; }
.account-total { font-size: clamp(1.35rem, 4vw, 2rem); color: var(--plore-accent); font-weight: 850; }
.account-value { text-align: right; font-variant-numeric: tabular-nums; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.settings { padding-bottom: 17px; }
.settings-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 20px 0; }
.custom-categories { grid-column: 1 / -1; }
.problem { padding: 12px; margin-bottom: 16px; background: var(--plore-danger-muted); color: var(--plore-danger); border-radius: var(--plore-radius-control); }

dialog {
  width: min(94vw, 490px); max-height: min(90vh, 780px); padding: 0; overflow: auto;
  color: var(--plore-foreground); background: var(--plore-surface); border: 1px solid var(--plore-border);
  border-radius: var(--plore-radius-card); box-shadow: var(--plore-shadow-overlay);
}
dialog::backdrop { background: var(--plore-overlay); backdrop-filter: blur(3px); }
#dialog-content { padding: 17px 21px 20px; }
.dialog-heading, .dialog-footer { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.dialog-heading h2 { font-size: 1.35rem; }
.dialog-heading .icon-button { color: var(--plore-muted-foreground); }
.dialog-copy { color: var(--plore-muted-foreground); font-size: .9rem; line-height: 1.6; margin-bottom: 5px; }
.dialog-footer { flex-wrap: wrap; margin-top: 5px; }
.spacer { flex: 1; }
.editor { display: grid; gap: 13px; margin-top: 9px; }
.editor label { display: grid; gap: 5px; min-width: 0; font-size: .85rem; font-weight: 640; }
.editor label small, .help { color: var(--plore-muted-foreground); font-weight: 400; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kind-label { align-self: center; color: var(--plore-muted-foreground); font-size: .85rem; }
.type-switch {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--plore-surface-muted);
  border: 1px solid var(--plore-border); border-radius: var(--plore-radius-control); padding: 3px; margin: 0;
}
.type-choice { cursor: pointer; position: relative; }
.type-choice input { position: absolute; opacity: 0; }
.type-choice span { border: 1px solid transparent; display: flex; gap: 5px; align-items: center; justify-content: center; min-height: 40px; padding: 0 4px; border-radius: 8px; }
.type-choice input:checked + span { background: var(--plore-accent-muted); border-color: var(--plore-accent); color: var(--plore-accent); }
.type-choice input:focus-visible + span { outline: 2px solid var(--plore-focus); outline-offset: 1px; }
.type-choice input:disabled + span { opacity: .55; cursor: default; }
.type-choice .icon { width: 15px; height: 15px; }
.theme-options { display: grid; gap: 4px; margin: 0; padding: 0; border: 0; }
.theme-options label { display: grid; grid-template-columns: 20px 1fr auto; min-height: 44px; align-items: center; padding-inline: 10px; border: 1px solid var(--plore-border); border-radius: 9px; cursor: pointer; }
.theme-options input { accent-color: var(--plore-accent); }
.help, .form-error { font-size: .82rem; line-height: 1.5; }
.form-error { color: var(--plore-danger); }
.notice {
  position: fixed; z-index: var(--plore-z-toast); right: 20px; bottom: 20px; width: max-content; max-width: calc(100vw - 40px);
  padding: 12px 15px; border: 1px solid var(--plore-border); border-radius: 10px;
  color: var(--plore-success); background: var(--plore-surface); box-shadow: var(--plore-shadow-overlay); font-size: .86rem;
}
.notice.error { color: var(--plore-danger); }

@media (max-width: 1190px) {
  :root { --sidebar-width: 195px; }
  .topbar, main { padding-inline: 24px; }
  .brand { padding-inline: 3px; }
  .metric { padding-inline: 15px; }
}
@media (max-width: 950px) {
  :root { --sidebar-width: 65px; }
  .sidebar { padding: 18px 9px 14px; }
  .brand { margin: 0 auto 34px; padding: 0; }
  .brand > span { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
  .nav-link { justify-content: center; padding: 0; min-height: 45px; }
  .nav-link span { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .privacy { justify-content: center; padding: 5px; }
  .privacy span + span { display: none; }
  .topbar { height: 61px; }
  main { padding-top: 24px; }
}
@media (max-width: 700px) {
  .sidebar { inset: auto 0 0; width: 100%; padding: 4px 4px max(4px, env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--plore-border); background: var(--plore-navigation); }
  .brand, .sidebar-foot { display: none; }
  #navigation { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
  .nav-link { flex-direction: column; gap: 3px; min-height: 49px; font-size: .68rem; padding: 4px 0; }
  .nav-link span { position: static; clip-path: none; width: auto; height: auto; }
  .workspace { margin-left: 0; }
  .topbar { height: 55px; padding-inline: 15px; }
  main { padding: 22px 15px calc(88px + env(safe-area-inset-bottom)); }
  .top-actions, .breadcrumb { gap: 7px; }
  .breadcrumb .icon { margin-left: 2px; }
  .page-heading { flex-wrap: wrap; margin-bottom: 19px; }
  .page-heading p { margin-top: 4px; font-size: .875rem; }
  .heading-actions .button { min-height: 44px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
  .metric { padding: 10px 12px 12px; }
  .metric-icon { width: 30px; height: 30px; }
  .balance { grid-column: 1 / -1; }
  .balance .metric-value { font-size: 2.3rem; }
  .metric-top h3 { font-size: .88rem; }
  .metric-detail { margin-top: 5px; }
  .analytics, .settings-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
  .chart-panel { min-height: 304px; }
  .category-row { min-height: 41px; }
  .section-bar h2 { font-size: 1.05rem; }
  .period .icon-button, .period-month { min-height: 40px; }
  .period .icon-button { min-width: 30px; }
  .period-month { min-width: 109px; padding-inline: 5px; font-size: .75rem; }
  .period-month .icon { display: none; }
  .panel-heading { padding: 15px 14px 0; }
  .panel-heading .button { min-height: 40px; font-size: .76rem; padding-inline: 8px; }
  th:first-child, td:first-child { padding-left: 12px; }
  th:last-child, td:last-child { padding-right: 12px; }
  th, td { padding-inline: 7px; }
  .table-account, .table-date, .table-edit, th:nth-child(2), th:nth-child(3), th:nth-child(5) { display: none; }
  th:nth-last-child(2) { padding-right: 12px; }
  .mobile-date { display: inline; }
  .table-amount { font-size: .8rem; }
  .filters { padding: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters .search { grid-column: 1 / -1; }
  .budget-list, .account-list { margin-inline: 14px; }
  .budget-status { max-width: 94px; text-align: right; font-size: .76rem; }
  .settings-actions { margin-inline: 14px; }
  .custom-categories { grid-column: auto; }
  .notice { bottom: calc(65px + env(safe-area-inset-bottom)); right: 13px; }
}
@media (max-width: 370px) {
  main { padding-inline: 10px; }
  .breadcrumb-brand, .slash { display: none; }
  .chart-grid { margin-inline: 9px; grid-template-columns: 36px 1fr; }
  .chart-y span, .chart-cells button span { font-size: .58rem; }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar, .privacy { background: var(--plore-surface); }
  dialog::backdrop { backdrop-filter: none; }
}
