:root {
  --canvas: #f4f1ea;
  --canvas-deep: #e7e2d7;
  --surface: #fffefb;
  --line: #ece6da;
  --line-strong: #ded6c6;
  --ink: #221e1a;
  --ink-soft: #332e29;
  --muted: #7c7367;
  --muted-light: #9a8c79;
  --mint: #bfe3c9;
  --mint-strong: #7fc394;
  --mint-ink: #1f3a28;
  --mint-mid: #3f6b4c;
  --yellow: #f4d35e;
  --red: #b5503a;
  --red-soft: #fbeae3;
  --red-mid: #f3b7a0;
  --blue: #3e7799;
  --blue-soft: #e8f0f5;
  --radius-sm: 11px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --brand-color: #1f3a28;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro", system-ui, sans-serif;
  --text-xs: 11px;
  --text-sm: 12px;
  --text-caption: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 18px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 36px;
  --text-display: 44px;
  --leading-tight: 1.12;
  --leading-normal: 1.45;
  --leading-relaxed: 1.6;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  color-scheme: light;
  font-family: var(--font-ui);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  background: var(--canvas);
  color: var(--ink-soft);
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

.auth-page {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: 24px;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(51, 46, 41, 0.14);
  margin: 0 auto;
  max-width: min(430px, calc(100vw - 48px));
  padding: 28px;
  width: 100%;
}

.brand {
  align-items: center;
  display: flex;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--brand-color);
  border-radius: var(--radius-sm);
  color: var(--yellow);
  display: flex;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: var(--weight-bold);
  height: 32px;
  justify-content: center;
  width: 32px;
}

.brand-name,
.display,
.metric,
.page-title,
.amount {
  font-family: var(--font-ui);
}

.brand-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: var(--weight-bold);
}

.auth-title {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin: 28px 0 8px;
}

.muted {
  color: var(--muted);
  font-size: var(--text-caption);
  line-height: var(--leading-relaxed);
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.form.compact-form {
  margin-top: 16px;
}

.form[hidden] {
  display: none;
}

.demo-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 15px;
}

.demo-panel .muted {
  margin: 0;
}

.demo-actions {
  display: grid;
  gap: 10px;
}

.demo-login-form {
  margin: 0;
}

.demo-button {
  width: 100%;
}

.auth-mode {
  color: var(--ink-soft);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0;
  text-transform: uppercase;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field span {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  min-width: 0;
  min-height: 44px;
  padding: 0 13px;
  width: 100%;
}

.input.compact-input {
  min-height: 36px;
  padding: 0 10px;
}

.input:disabled {
  background: var(--canvas);
  color: var(--muted);
  cursor: default;
}

.button {
  align-items: center;
  background: var(--ink-soft);
  border: 0;
  border-radius: var(--radius-sm);
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  min-width: 0;
  padding: 0 16px;
  text-decoration: none;
}

.button.secondary {
  background: var(--blue-soft);
  color: var(--blue);
}

.button.danger {
  background: var(--red-soft);
  color: var(--red);
}

.button.is-disabled {
  cursor: default;
  opacity: 0.62;
  pointer-events: none;
}

.button.small {
  font-size: var(--text-sm);
  min-height: 34px;
  padding: 0 11px;
}

.message {
  color: var(--red);
  font-size: var(--text-caption);
  min-height: 20px;
}

.message.success {
  color: var(--mint-mid);
}

.shell {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
}

.topbar {
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px 14px;
  grid-template-areas:
    "brand brand user logout"
    "nav nav nav nav";
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  padding: 16px 20px;
}

.topbar .brand {
  grid-area: brand;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  grid-area: nav;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.mobile-nav {
  display: none;
}

.mobile-more-panel {
  display: none;
}

.nav a {
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  padding: 8px 9px;
  text-decoration: none;
  white-space: nowrap;
}

.nav a.active {
  background: var(--ink-soft);
  color: #fff;
}

.user-pill {
  background: var(--blue-soft);
  border-radius: 999px;
  color: var(--blue);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  grid-area: user;
  max-width: 280px;
  overflow: hidden;
  padding: 7px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#logoutButton {
  grid-area: logout;
}

.main {
  margin: 0 auto;
  max-width: 1240px;
  min-width: 0;
  padding: 26px 28px 40px;
  width: 100%;
}

.page-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.page-title {
  color: var(--ink);
  font-size: 26px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin: 0;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-width: 0;
  padding: 22px;
}

.metric-card {
  color: inherit;
  display: block;
  text-decoration: none;
}

.metric-card:hover,
.metric-card:focus-visible {
  border-color: var(--brand-color);
  outline: none;
}

.panel.hero {
  background: var(--mint);
  border-color: transparent;
  grid-column: span 2;
}

.panel.wide {
  grid-column: span 2;
}

.quick-panel {
  grid-column: span 3;
}

.source-panel {
  grid-column: 1 / -1;
}

.label {
  color: var(--mint-mid);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
}

.metric {
  color: var(--mint-ink);
  font-size: var(--text-display);
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-bold);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 6px 0 2px;
}

.count {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-3xl);
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-bold);
  letter-spacing: 0;
  line-height: 1.08;
  margin-top: 8px;
}

.section-title {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: 1.2;
}

.progress-track {
  background: rgba(31, 58, 40, 0.16);
  border-radius: 999px;
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
}

.progress-bar {
  background: var(--mint-ink);
  border-radius: inherit;
  height: 100%;
  width: 0%;
}

.empty-metric {
  color: var(--muted);
  font-size: var(--text-caption);
  line-height: var(--leading-relaxed);
  margin-top: 12px;
}

.action-list,
.row-list {
  display: grid;
  gap: 10px;
}

.action,
.row {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  gap: 12px;
  min-height: 56px;
  padding: 12px 15px;
}

.action {
  color: inherit;
  text-decoration: none;
}

.action.is-disabled {
  opacity: 0.68;
}

.action-icon {
  align-items: center;
  background: var(--red-soft);
  border-radius: var(--radius-sm);
  color: var(--red);
  display: flex;
  font-family: var(--font-ui);
  font-weight: var(--weight-bold);
  height: 34px;
  justify-content: center;
  width: 34px;
}

.row strong,
.action strong {
  color: var(--ink);
  display: block;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
}

.row span,
.action span {
  color: var(--muted-light);
  display: block;
  font-size: var(--text-sm);
  margin-top: 2px;
}

.widget-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.mini-widget {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-width: 0;
  padding: 14px;
}

.widget-rows {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.widget-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: inherit;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 52px;
  padding: 10px;
  text-decoration: none;
}

.widget-row strong,
.widget-row span {
  display: block;
}

.widget-row strong {
  color: var(--ink);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
}

.widget-row span,
.widget-empty {
  color: var(--muted-light);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.widget-row em {
  color: var(--ink);
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

.widget-empty {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-top: 10px;
  padding: 10px;
}

.amount {
  color: var(--ink);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-bold);
  margin-left: auto;
}

.status-pill {
  background: var(--red-soft);
  border-radius: 999px;
  color: var(--red);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  padding: 6px 11px;
}

.status-pill.done {
  background: var(--mint);
  color: var(--mint-ink);
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-2 {
  grid-column: 1 / -1;
}

.form-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  grid-column: 1 / -1;
}

.invoice-lines-editor {
  display: grid;
  gap: 10px;
}

.invoice-line-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 1fr) 90px 140px;
}

.checklist {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.check-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  gap: 10px;
  grid-template-columns: 34px 1fr auto;
  min-height: 64px;
  padding: 12px;
}

.check-dot {
  align-items: center;
  background: var(--red-soft);
  border-radius: var(--radius-sm);
  color: var(--red);
  display: flex;
  font-family: var(--font-ui);
  font-weight: var(--weight-bold);
  height: 34px;
  justify-content: center;
  width: 34px;
}

.check-dot.done {
  background: var(--mint);
  color: var(--mint-ink);
}

.check-row strong {
  color: var(--ink);
  display: block;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
}

.check-row span {
  color: var(--muted-light);
  display: block;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  margin-top: 2px;
}

.table {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-top: 14px;
  overflow: auto;
}

#sourceRows .table-row,
#cashAccountsTable .table-row,
#customersTable .table-row,
#invoicesTable .table-row,
#invoiceLinesTable .table-row,
#ledgerTable .table-row,
#paymentsTable .table-row,
#incomeRowsTable .table-row,
#paymentRowsTable .table-row,
#reportExpensesTable .table-row,
#exportsTable .table-row,
#auditTable .table-row,
#statementTable .table-row,
#agingTable .table-row,
#vendorsTable .table-row,
#expensesTable .table-row,
#usersTable .table-row {
  min-width: 560px;
}

#ledgerTable .table-row,
#invoicesTable .table-row,
#paymentsTable .table-row,
#incomeRowsTable .table-row,
#paymentRowsTable .table-row,
#reportExpensesTable .table-row,
#exportsTable .table-row,
#auditTable .table-row,
#expensesTable .table-row {
  min-width: 900px;
}

#usersTable .table-row {
  min-width: 780px;
}

#customersTable .table-row {
  min-width: 790px;
}

#statementTable .table-row {
  min-width: 0;
}

.table-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: var(--table-columns, 1fr 1fr 140px);
  min-height: 52px;
  padding: 12px 14px;
}

.table-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hash-value {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  font-size: var(--text-sm);
  line-height: 1.35;
  max-width: 100%;
  padding: 8px;
  user-select: all;
}

.hash-stack {
  display: grid;
  gap: 8px;
  max-width: 100%;
}

.hash-copy {
  justify-self: start;
}

.audit-filter-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-top: 14px;
  padding: 14px;
}

.table-row small {
  color: var(--muted-light);
  display: block;
  font-size: var(--text-xs);
  line-height: 1.35;
  margin-top: 4px;
}

.table-row + .table-row {
  border-top: 1px solid var(--line);
}

.table-head {
  background: var(--canvas);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
}

.view-empty {
  color: var(--muted);
  font-size: var(--text-caption);
  line-height: var(--leading-normal);
  padding: 14px;
}

.inline-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-note {
  font-size: var(--text-sm);
}

.invoice-summary-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.invoice-total-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.invoice-total-row > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
}

.invoice-total-row strong {
  color: var(--ink);
  display: block;
  font-size: var(--text-xl);
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-bold);
  margin-top: 5px;
}

.statement-total {
  grid-template-columns: 1fr;
}

.aging-buckets {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 16px;
}

.compact-buckets {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aging-bucket {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: inherit;
  padding: 14px;
  text-decoration: none;
}

.aging-bucket span,
.aging-bucket small {
  color: var(--muted);
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.aging-bucket strong {
  color: var(--ink);
  display: block;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-bold);
  margin: 6px 0 2px;
}

.compact-buckets .aging-bucket {
  padding: 10px;
}

.compact-buckets .aging-bucket strong {
  font-size: 16px;
}

@media (max-width: 880px) {
  .topbar {
    align-items: flex-start;
    grid-template-areas:
      "brand"
      "nav"
      "user"
      "logout";
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
  }

  .user-pill {
    margin-left: 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .panel.hero,
  .panel.wide,
  .quick-panel,
  .source-panel {
    grid-column: span 1;
  }

  .form-grid,
  .invoice-line-row,
  #usersTable .table-row {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  #usersTable .table-head {
    display: none;
  }

  .page-head,
  .form-actions,
  .invoice-summary-head {
    align-items: stretch;
    flex-direction: column;
  }

  .page-head > .button {
    width: 100%;
  }

  .invoice-total-row {
    grid-template-columns: 1fr;
  }

  .aging-buckets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .widget-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topbar {
    align-items: center;
    gap: 10px 12px;
    grid-template-areas:
      "brand logout"
      "user user";
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 16px 10px;
  }

  .topbar .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: var(--text-lg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    border-radius: 10px;
    height: 30px;
    width: 30px;
  }

  .user-pill {
    justify-self: start;
    max-width: 100%;
    padding: 6px 10px;
    width: auto;
  }

  #logoutButton {
    border-radius: 999px;
    font-size: var(--text-sm);
    justify-self: end;
    min-height: 34px;
    padding: 0 12px;
    width: auto;
  }

  .nav {
    display: none;
  }

  .mobile-nav {
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 40px rgba(51, 46, 41, 0.1);
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 0;
    margin: 0;
    max-width: none;
    overflow: hidden;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100vw;
    z-index: 20;
  }

  .mobile-nav a,
  .mobile-more-button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--muted);
    display: flex;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    justify-content: center;
    line-height: 1;
    min-height: 44px;
    min-width: 0;
    overflow: hidden;
    padding: 0 6px;
    text-align: center;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-nav a.active,
  .mobile-more-button.active {
    background: var(--ink-soft);
    color: #fff;
  }

  .mobile-more-button {
    cursor: pointer;
  }

  .mobile-more-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    bottom: calc(62px + env(safe-area-inset-bottom));
    box-shadow: 0 -18px 48px rgba(51, 46, 41, 0.14);
    display: block;
    left: 0;
    padding: 14px 16px 18px;
    position: fixed;
    right: 0;
    z-index: 19;
  }

  .mobile-more-panel[hidden] {
    display: none;
  }

  .mobile-more-head {
    color: var(--ink);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: 12px;
  }

  .mobile-more-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-more-grid a {
    align-items: center;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink-soft);
    display: flex;
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    min-height: 44px;
    min-width: 0;
    padding: 0 12px;
    text-decoration: none;
  }

  .mobile-more-grid a.active {
    background: var(--ink-soft);
    border-color: var(--ink-soft);
    color: #fff;
  }

  .main {
    padding: 20px 16px calc(96px + env(safe-area-inset-bottom));
  }

  .page-head {
    gap: 8px;
    margin-bottom: 16px;
  }

  .page-title {
    font-size: 24px;
    line-height: 1.14;
  }

  .page-head .muted {
    margin: 8px 0 0;
  }

  .panel {
    border-radius: var(--radius-md);
    padding: 18px;
  }

  .table {
    overflow: visible;
  }

  .table .table-head {
    display: none;
  }

  .table .table-row {
    align-items: start;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    gap: 9px;
    grid-template-columns: 1fr;
    min-width: 0;
    padding: 14px;
  }

  #sourceRows .table-row,
  #cashAccountsTable .table-row,
  #customersTable .table-row,
  #invoicesTable .table-row,
  #invoiceLinesTable .table-row,
  #ledgerTable .table-row,
  #paymentsTable .table-row,
  #incomeRowsTable .table-row,
  #paymentRowsTable .table-row,
  #reportExpensesTable .table-row,
  #exportsTable .table-row,
  #auditTable .table-row,
  #statementTable .table-row,
  #agingTable .table-row,
  #vendorsTable .table-row,
  #expensesTable .table-row,
  #usersTable .table-row {
    min-width: 0;
    width: 100%;
  }

  .table .table-row + .table-row {
    margin-top: 10px;
  }

  .table-row > div:first-child {
    color: var(--ink);
    font-weight: var(--weight-semibold);
  }

  .table-row > div {
    color: var(--muted);
    max-width: 100%;
    min-width: 0;
  }

  .table-row > div::before {
    color: var(--muted-light);
    content: attr(data-label);
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    margin-bottom: 2px;
    text-transform: uppercase;
  }

  .table-row > div:first-child::before {
    display: none;
  }

  .table-row > div .button {
    justify-self: stretch;
    margin-top: 4px;
    width: 100%;
  }

  .form {
    gap: 12px;
    margin-top: 18px;
  }

  .input {
    min-height: 42px;
  }

  .button {
    min-height: 42px;
  }

  .auth-page {
    padding: 16px;
  }

  .auth-card {
    margin-left: 0;
    margin-right: auto;
    max-width: 342px;
    padding: 28px;
  }

  .auth-title {
    font-size: 28px;
  }

  .demo-actions {
    grid-template-columns: 1fr;
  }

  .aging-buckets {
    grid-template-columns: 1fr;
  }
}
