:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    sans-serif;
  color: #19322f;
  background: #f3f5f1;
  font-synthesis: none;
  font-size: 14px;
  --green: #164d43;
  --line: #dde5df;
  --muted: #6c7c76;
  --lime: #d8ed88;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  padding: 9px 13px;
  color: inherit;
}
button:hover {
  background: #edf2eb;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: #226756;
}
.danger {
  color: #a43d30;
}
.small {
  font-size: 12px;
  padding: 5px 8px;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
}
.positive {
  color: #247353;
}
.negative {
  color: #aa4d3e;
}
a {
  color: #1c6c5b;
  text-underline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 27px;
  font-weight: 620;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}
h2 {
  font-size: 17px;
}
h3 {
  font-size: 14px;
}
.layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #123e36;
  color: #eff7ef;
  padding: 30px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 32px;
  letter-spacing: 5px;
  font-weight: 800;
  color: #e1f0b1;
  padding: 0 16px;
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 1px;
  padding: 7px 16px 32px;
  color: #a8c2b7;
}
.nav {
  display: grid;
  gap: 6px;
}
.nav button {
  border: 0;
  background: transparent;
  color: #bdcfc7;
  text-align: left;
  padding: 13px 15px;
  border-radius: 8px;
}
.nav button.active {
  background: #dbeaa9;
  color: #1b3a2f;
  font-weight: 650;
}
.nav button:hover {
  background: #255346;
  color: #fff;
}
.nav .num {
  display: inline-block;
  min-width: 25px;
  opacity: 0.65;
  font-size: 11px;
}
.sidebar-foot {
  margin-top: auto;
  padding: 18px 16px;
  font-size: 12px;
  line-height: 1.8;
  color: #a9c0b6;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 74px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: #fafbf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.topbar strong {
  font-weight: 550;
}
.top-actions,
.actions,
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.user-dot {
  background: #e3ead9;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
}
.content {
  max-width: 1600px;
  padding: 34px 36px;
  margin: 0 auto;
}
.pagehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #718478;
  margin-bottom: 10px;
}
.pagehead p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.7;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 22px;
  margin-bottom: 19px;
}
.card.flat {
  padding: 0;
  overflow: hidden;
}
.cardtitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.cardtitle h2 {
  margin: 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 22px;
}
.metric {
  padding: 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.metric .value {
  font-size: 33px;
  letter-spacing: -1px;
  margin: 14px 0 10px;
}
.metric .label {
  color: var(--muted);
  font-size: 12px;
}
.metric .foot {
  font-size: 12px;
  color: var(--muted);
}
.metric.accent {
  background: #e8efd8;
}
.columns {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}
.empty {
  padding: 45px 24px;
  text-align: center;
  color: var(--muted);
  line-height: 1.9;
}
.empty strong {
  color: #294d3e;
  font-size: 17px;
  display: block;
  margin-bottom: 6px;
}
.step {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #edf0eb;
  padding: 16px 0;
}
.step:first-of-type {
  border-top: 0;
}
.step .circle {
  width: 30px;
  height: 30px;
  flex: none;
  background: #edf3df;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.step small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.step button {
  margin-left: auto;
}
.filters {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filters label {
  margin: 0;
  min-width: 130px;
  flex: 1;
}
.filters input,
.filters select {
  padding: 8px;
}
.filters .transaction-search {
  flex-basis: 100%;
}
.transaction-search input {
  max-width: 540px;
}
.search-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: normal;
}
.transaction-category {
  min-width: 190px;
  max-width: 260px;
  white-space: normal;
}
.category-select {
  width: 100%;
  min-width: 170px;
  max-width: 240px;
  padding: 7px 9px;
  font-size: inherit;
}
.inline-category small {
  display: block;
  margin-top: 5px;
}
.table-scroll {
  overflow: auto;
  max-height: 65vh;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
}
th {
  position: sticky;
  top: 0;
  background: #f6f8f3;
  color: #687d71;
  text-align: left;
  font-size: 11px;
  font-weight: 550;
  padding: 14px 13px;
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
td {
  padding: 14px 13px;
  border-bottom: 1px solid #edf0eb;
  vertical-align: top;
}
td.wrap {
  white-space: normal;
  min-width: 200px;
  max-width: 320px;
  line-height: 1.5;
}
.transaction-evidence {
  white-space: normal;
  min-width: 140px;
  max-width: 240px;
  overflow-wrap: anywhere;
}
.transaction-receipt + .transaction-receipt {
  margin-top: 8px;
}
.receipt-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}
.amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pill {
  font-size: 11px;
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 5px;
  background: #edf1e8;
  color: #58705a;
}
.pill.warn {
  background: #fbefd9;
  color: #9a6d23;
}
.pill.good {
  background: #e0efe6;
  color: #286249;
}
.pill.bad {
  background: #fbe7e0;
  color: #a24636;
}
.toolbar {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar .right {
  margin-left: auto;
}
.notice {
  background: #f4f5e6;
  border: 1px solid #e2e6c7;
  color: #646d39;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.error {
  background: #fcebe5;
  border: 1px solid #eccabf;
  color: #923e2b;
  padding: 12px;
  border-radius: 7px;
  white-space: pre-wrap;
}
.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-story {
  background: #123e36;
  color: #fff;
  padding: 9vw 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-story .brand {
  padding: 0;
  margin-bottom: 50px;
  font-size: 42px;
}
.auth-story h1 {
  font-size: 42px;
  line-height: 1.4;
  font-weight: 500;
}
.auth-story p {
  color: #b3cabb;
  line-height: 1.9;
}
.auth-story .auth-line {
  margin-top: 55px;
  padding-top: 24px;
  border-top: 1px solid #426457;
  font-size: 12px;
  color: #adc5b7;
}
.auth-form {
  display: grid;
  place-items: center;
  padding: 40px;
}
.auth-form form {
  max-width: 380px;
  width: 100%;
}
.auth-form h2 {
  font-size: 25px;
  margin-bottom: 12px;
}
.auth-form button.primary {
  width: 100%;
  padding: 13px;
  margin-top: 12px;
}
label {
  display: block;
  font-size: 12px;
  color: #52695b;
  margin-bottom: 14px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd9cf;
  border-radius: 6px;
  padding: 10px;
  background: white;
  color: #223c30;
  margin-top: 7px;
}
input[type="checkbox"] {
  width: auto;
  margin: 0 6px 0 0;
  accent-color: var(--green);
}
input[type="file"] {
  background: #f6f8f2;
  border: 1px dashed #a9bca4;
  padding: 22px;
}
textarea {
  resize: vertical;
  min-height: 85px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 90px #0c2b2933;
  width: min(1040px, calc(100vw - 30px));
  max-height: 90vh;
  padding: 0;
  color: inherit;
}
dialog::backdrop {
  background: #102f2855;
  backdrop-filter: blur(3px);
}
.dialoghead {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fbf6;
  position: sticky;
  top: 0;
  z-index: 4;
}
.dialoghead h2 {
  margin: 0;
}
.dialogbody {
  padding: 24px 26px;
}
.dialogfoot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.formgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.formgrid .wide {
  grid-column: 1/-1;
}
.list-item {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.list-item:first-child {
  border-top: 0;
}
.list-item p {
  margin: 8px 0;
  line-height: 1.7;
}
.list-item .meta {
  font-size: 11px;
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tabs .active {
  background: #dfeace;
  border-color: #bfd29f;
}
.loading {
  display: grid;
  place-items: center;
  height: 70vh;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #163f35;
  color: white;
  box-shadow: 0 8px 30px #183b2933;
  border-radius: 8px;
  padding: 13px 22px;
  z-index: 30;
  display: none;
  max-width: 90vw;
}
.preview-cell {
  min-width: 125px;
  margin: 0;
  padding: 7px;
}
.preview-desc {
  min-width: 240px;
}
.source-text {
  white-space: pre-wrap;
  max-height: 250px;
  overflow: auto;
  background: #f5f7f1;
  padding: 15px;
  line-height: 1.7;
  font-size: 12px;
}
.statusline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.checkline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.7;
}
.detailsgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.export-tile {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.export-tile p {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 0;
}
.export-tile:last-child {
  border: 0;
}
.longid {
  word-break: break-all;
  font-family: monospace;
  font-size: 10px;
  color: #789083;
}
.balance {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.mobile-only {
  display: none;
}
@media (max-width: 1050px) {
  .layout {
    grid-template-columns: 190px 1fr;
  }
  .content {
    padding: 25px 22px;
  }
  .topbar {
    padding: 0 22px;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .sidebar {
    padding: 24px 10px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
}
.local-review-notice { margin-bottom: 24px; }
.batch-history-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.batch-history-head h2 { margin-bottom: 8px; }
.batch-history-head p { font-size: 12px; }
.batch-history-head button { white-space: nowrap; }
.batch-counts { display: flex; gap: 32px; padding: 22px 0; }
.batch-counts span { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 12px; }
.batch-counts strong { font-size: 28px; color: var(--ink); font-weight: 600; }
.batch-totals { background: #f3f4ef; border: 1px solid var(--line); border-radius: 8px; padding: 13px 17px; margin-bottom: 20px; }
.batch-totals > div { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; padding: 6px 0; }
.batch-preview-table { max-height: 42vh; }
.batch-issue { font-size: 11px; line-height: 1.6; margin: 8px 0 0; }
.batch-ack { margin-top: 22px; padding: 18px; background: #f3f4ef; border-radius: 8px; }
.batch-footer { flex-wrap: wrap; }
.statement-account { display: flex; align-items: end; gap: 16px; margin: 24px 0 18px; flex-wrap: wrap; }
.statement-account > label { flex: 1; min-width: 240px; }
.statement-dropzone { display: flex; position: relative; align-items: center; justify-content: center; flex-direction: column; gap: 9px; padding: 25px; border: 2px dashed #c8ccc3; border-radius: 12px; background: #f5f5f1; cursor: pointer; text-align: center; }
.statement-dropzone:hover, .statement-dropzone.drag-active, .statement-dropzone:focus-within { border-color: #606858; background: #e9ece3; }
.statement-dropzone strong { color: var(--ink); font-size: 18px; }
.statement-dropzone > span:not(.dropzone-icon) { font-size: 12px; }
.statement-dropzone input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.dropzone-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e2e5db; color: #3c4437; font-size: 26px; }
.queue-summary { padding: 18px 0 12px; font-size: 12px; color: var(--muted); }
#statement-queue-panel .dialogfoot { flex-wrap: wrap; }
.statement-queue { list-style: none; padding: 0; margin: 0; max-height: 40vh; overflow: auto; }
.statement-queue-item { display: grid; grid-template-columns: minmax(150px, 1.3fr) minmax(140px, 1fr) minmax(125px, 1fr) auto; gap: 15px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.queue-file { min-width: 0; }
.queue-file strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.queue-file small { display: block; margin-top: 7px; color: var(--muted); }
.queue-account label { font-size: 11px; }
.queue-account select { font-size: 12px; padding: 9px; }
.queue-status .negative { font-size: 12px; overflow-wrap: anywhere; margin: 8px 0 0; }
.queue-status progress { display: block; width: 100%; height: 5px; margin-top: 10px; accent-color: #606858; }
.queue-actions { display: flex; align-items: stretch; flex-direction: column; gap: 6px; }
.queue-empty { text-align: center; padding: 25px; color: var(--muted); font-size: 13px; }
.receipt-dropzone { margin: 0; }
.receipt-paste-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.receipt-paste-actions .muted { font-size: 12px; }
.receipt-file-list { max-height: 26vh; }
.statement-queue-item.receipt-file-item { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 720px) {
  .batch-history-head { flex-direction: column; }
  .statement-queue-item { grid-template-columns: 1fr 1fr; gap: 12px; }
  .statement-dropzone { padding: 24px 14px; }
  .statement-account > label { min-width: 100%; }
  .layout {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 15px;
  }
  .brand {
    font-size: 24px;
  }
  .brand-sub,
  .sidebar-foot {
    display: none;
  }
  .nav {
    display: flex;
    overflow-x: auto;
    margin-top: 13px;
    gap: 5px;
  }
  .nav button {
    white-space: nowrap;
    padding: 10px;
    font-size: 12px;
  }
  .nav .num {
    display: none;
  }
  .topbar {
    height: auto;
    min-height: 60px;
    padding: 12px 18px;
    font-size: 11px;
  }
  .topbar strong {
    max-width: 120px;
  }
  .top-actions {
    gap: 7px;
  }
  .content {
    padding: 24px 16px;
  }
  .pagehead {
    align-items: start;
    flex-direction: column;
    gap: 13px;
  }
  h1 {
    font-size: 23px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric .value {
    font-size: 28px;
  }
  .formgrid,
  .detailsgrid {
    grid-template-columns: 1fr;
  }
  .formgrid .wide {
    grid-column: auto;
  }
  .dialogbody {
    padding: 18px;
  }
  .dialoghead {
    padding: 17px;
  }
  .auth {
    display: block;
  }
  .auth-story {
    padding: 30px;
  }
  .auth-story h1 {
    font-size: 25px;
  }
  .auth-story .brand {
    margin-bottom: 20px;
  }
  .auth-story .auth-line {
    display: none;
  }
  .auth-form {
    padding: 30px;
  }
  .auth-story p {
    margin-bottom: 0;
  }
  .table-scroll {
    max-height: 60vh;
  }
  .filters label {
    min-width: 42%;
  }
  .card {
    padding: 18px;
  }
  .export-tile {
    align-items: start;
  }
  .mobile-only {
    display: block;
  }
}

.statement-history { margin: 0 0 18px; }
.statement-history > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 9px 13px;
}
.statement-history > summary::-webkit-details-marker { display: none; }
.statement-history > summary::before { content: "▸"; }
.statement-history[open] > summary::before { content: "▾"; }
.statement-history > summary:hover { background: #f5f5f3; }
.statement-history > summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.statement-history > .card { margin-top: 12px; }
.receipt-batch-item { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.receipt-batch-item legend { padding: 0 6px; font-weight: 600; overflow-wrap: anywhere; }
.receipt-batch-head { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.receipt-batch-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.receipt-batch-tax { margin-top: 12px; }
.receipt-batch-tax summary { cursor: pointer; margin-bottom: 12px; }
.receipt-recognition { margin: 14px 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #f6f7f2; }
.receipt-recognition-head, .receipt-recognition-suggestion { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.receipt-recognition p { margin: 10px 0; }
.receipt-recognition .muted, .receipt-recognition-suggestion small { font-size: 13px; line-height: 1.6; }
.receipt-recognition-warning, .receipt-recognition-warnings { color: #8a561a; font-size: 13px; line-height: 1.6; }
.receipt-recognition-warnings { padding-left: 20px; }
.receipt-recognition-suggestion { justify-content: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.receipt-recognition details { margin-top: 10px; }
.receipt-recognition summary { cursor: pointer; font-size: 13px; }
.receipt-recognition-sources { list-style: none; padding: 0; margin: 10px 0 0; }
.receipt-recognition-sources li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; overflow-wrap: anywhere; }
.receipt-recognition-sources li > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.receipt-recognition-sources blockquote { white-space: pre-wrap; margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid #a5ad99; background: #fff; }
.receipt-recognition-sources small { color: var(--muted); }
.receipt-recognition-feedback { font-size: 13px; color: var(--green); }
.receipt-recognition-feedback:empty { display: none; }
@media (max-width: 680px) { .receipt-batch-fields { grid-template-columns: 1fr; } }

.receipt-category-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px;background:var(--paper,#f4f5ef);border-radius:12px}
.receipt-category-toolbar p{flex-basis:100%;margin:0}
.receipt-category-toolbar label{min-width:220px}
.expense-filters{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px}
.expense-totals{display:flex;gap:24px;flex-wrap:wrap;margin:24px 0}
.expense-totals>div{display:grid;gap:5px;padding:16px 24px;background:#f3f4ef;border-radius:12px}
.expense-totals strong{font-size:26px}
.expense-totals small{color:#6f796c}
@media(max-width:680px){.expense-filters{grid-template-columns:1fr}.receipt-category-toolbar{align-items:stretch}.receipt-category-toolbar label{width:100%}}

.receipt-tax-help { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.receipt-tax-help small { flex: 1; min-width: 220px; }

.tax-presets { display:flex; gap:12px; align-items:end; flex-wrap:wrap; margin:20px 0; padding-bottom:20px; border-bottom:1px solid var(--line); }
.tax-presets label { flex:1 1 170px; }
.tax-presets small { flex-basis:100%; }
.tax-totals { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr)); gap:16px; margin-top:20px; }
.tax-totals .expense-totals { margin:12px 0; }

.amount-filters { display:flex; flex-wrap:wrap; align-items:end; gap:12px; flex:1 0 100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:#f3f4ef; }
.amount-filters [hidden] { display:none; }
.receipt-batch-item [hidden], #dialog [hidden] { display: none !important; }
.amount-filters .search-hint { flex-basis:100%; margin:0; }
.filters .filter-error { flex-basis:100%; }
.filters .filter-error:empty { display:none; }
.receipt-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid var(--line, #e2e5df);
}
.receipt-detail-row > div { min-width: 0; overflow-wrap: anywhere; flex: 1 1 260px; }
.receipt-detail-row > button { flex: 0 0 auto; }
