:root {
  color-scheme: light;
  --bg: #f3f8fb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-soft: #e9f3f7;
  --surface-tint: #e1f1ec;
  --ink: #0e2636;
  --muted: #5a7280;
  --line: #bad0db;
  --line-strong: #8eb2c1;
  --blue: #3f9fca;
  --cyan: #75d4df;
  --green: #8ed8c2;
  --yellow: #f0d38d;
  --rose: #e9a2ad;
  --shadow: 0 18px 48px rgba(9, 31, 45, 0.09);
  --glow: 0 0 0 1px rgba(63, 159, 202, 0.08), 0 12px 34px rgba(63, 159, 202, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background:
    linear-gradient(rgba(63, 159, 202, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 159, 202, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 12%, rgba(117, 212, 223, 0.18), transparent 28%),
    var(--bg);
  background-size: 28px 28px, 28px 28px, auto, auto;
  color: var(--ink);
  font-family: "Segoe UI Variable", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

body {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: linear-gradient(180deg, rgba(244, 250, 251, 0.98), rgba(242, 248, 251, 0.94));
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 56px 24px 40px;
  background:
    linear-gradient(rgba(63, 159, 202, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 159, 202, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 18%, rgba(117, 212, 223, 0.12), transparent 20%),
    radial-gradient(circle at 14% 80%, rgba(142, 216, 194, 0.12), transparent 16%),
    radial-gradient(circle at 86% 80%, rgba(141, 189, 234, 0.12), transparent 16%),
    var(--bg);
  background-size: 64px 64px, 64px 64px, auto, auto, auto, auto;
}

.auth-shell {
  width: min(520px, 100%);
  display: grid;
  justify-items: center;
  gap: 20px;
}

.auth-brand {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.auth-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(13, 48, 66, 0.12), inset 0 1px 0 rgba(255,255,255,0.85);
  border: 1px solid rgba(176, 199, 207, 0.9);
}

.auth-logo span {
  font-size: 30px;
  font-weight: 800;
  color: #0b1324;
  line-height: 1;
}

.auth-brand h1 {
  margin: 0;
  font-size: 32px;
  color: #17a8a1;
  letter-spacing: 0;
}

.auth-brand p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.auth-card {
  width: 100%;
  padding: 34px 34px 26px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(10, 31, 45, 0.10), 0 2px 0 rgba(255,255,255,0.6) inset;
}

.auth-panels {
  margin-top: 0;
}

.login-card {
  width: min(100%, 460px);
}

.auth-panel {
  display: none;
  gap: 12px;
}

.auth-panel.active {
  display: grid;
}

.auth-panel h2 {
  margin: 0;
  font-size: 28px;
  text-align: center;
  color: #1b2430;
}

.auth-subtitle {
  margin: 0;
  text-align: center;
  color: #677386;
  font-size: 14px;
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.login-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #334155;
}

.login-form input {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #d7e1ee;
  background: #e9f1ff;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.login-form input:focus {
  border-color: #1bb5ac;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(27, 181, 172, 0.12);
}

.field-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -4px;
}

.link-btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: #11a7a0;
  font-weight: 600;
}

.auth-footer-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 22px;
  color: #6d7788;
  font-size: 14px;
}

.auth-panel[hidden] {
  display: none !important;
}

.login-error {
  min-height: 20px;
  color: #b04b57;
  font-size: 13px;
  margin-top: 14px;
  text-align: center;
}

.login-foot {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.auth-copy {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}

html[data-auth="out"] .app-shell {
  display: none;
}

html[data-auth="in"] .login-screen {
  display: none;
}

.sidebar {
  min-height: 100vh;
  padding: 18px 16px 20px;
  background:
    linear-gradient(180deg, rgba(249, 252, 253, 0.98), rgba(245, 250, 252, 0.96));
  border-right: 1px solid rgba(202, 219, 228, 0.9);
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px 10px;
  border-bottom: 1px solid rgba(214, 226, 233, 0.95);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffffff, #e4f2f6);
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-weight: 700;
  font-size: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--glow);
}

.brand h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand p,
.filter-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.brand .brand-subtitle {
  margin-top: 2px;
}

.profile-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(202, 219, 228, 0.9);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240, 248, 251, 0.95));
  box-shadow: 0 8px 20px rgba(12, 36, 52, 0.05);
}

.profile-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}

.profile-card strong {
  font-size: 18px;
  color: var(--ink);
}

.profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.nav-list {
  display: grid;
  gap: 6px;
}

.nav-item {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: #4f5f6d;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, color 160ms ease;
}

.nav-item.active,
.nav-item:hover {
  color: var(--ink);
  background: linear-gradient(90deg, rgba(234, 250, 249, 0.98), rgba(222, 245, 242, 0.96));
  border-color: rgba(161, 220, 214, 0.8);
  box-shadow: inset 3px 0 0 #1bb5ac;
  transform: translateX(2px);
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #dffbff, var(--blue));
  box-shadow: 0 0 12px rgba(63, 159, 202, 0.5);
  flex: 0 0 auto;
}

.sidebar-note {
  margin-top: auto;
  padding: 16px 8px 0;
  border-top: 1px solid rgba(214, 226, 233, 0.95);
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.sidebar-note strong {
  color: var(--ink);
  font-weight: 600;
}

.workspace {
  min-width: 0;
  display: grid;
  grid-template-rows: 64px 1fr;
}

.topbar {
  padding: 12px 28px 12px 24px;
  border-bottom: 1px solid rgba(214, 226, 233, 0.9);
  background: rgba(250, 252, 253, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(16px);
}

.topbar-title {
  display: grid;
  gap: 2px;
}

.topbar-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1d2a3a;
}

.topbar-title p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.search-box {
  width: min(280px, 100%);
}

.compact-search input {
  height: 34px;
  border-radius: 999px;
  background: rgba(238, 244, 249, 0.95);
}

.search-box input,
.filter-panel input,
.filter-panel select,
.dialog-fields input,
.dialog-fields select,
.dialog-fields textarea {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.dialog-fields textarea {
  height: 92px;
  padding: 10px 12px;
  resize: vertical;
}

.search-box input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.dialog-fields input:focus,
.dialog-fields select:focus,
.dialog-fields textarea:focus {
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(63, 159, 202, 0.18), 0 0 20px rgba(63, 159, 202, 0.12);
}

.topbar-actions,
.panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-actions {
  justify-content: flex-end;
}

.date-pill,
.soft-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(202, 219, 228, 0.9);
  border-radius: 999px;
  background: rgba(236, 249, 247, 0.95);
  padding: 0 10px;
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}

.primary-btn,
.ghost-btn,
.text-btn,
.icon-btn {
  border-radius: 10px;
  border: 1px solid var(--line);
  min-height: 34px;
  padding: 0 12px;
  background: var(--surface-solid);
  color: var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background 150ms ease;
}

.user-btn {
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-link {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
}

.status-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(228, 248, 244, 0.95);
  border: 1px solid rgba(27, 181, 172, 0.18);
  color: #0c8f86;
  font-size: 13px;
  font-weight: 600;
}

.topbar-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.topbar-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 10px 6px 6px;
  border: 1px solid rgba(214, 226, 233, 0.95);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(11, 34, 48, 0.05);
}

.user-chip-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #19b7ae, #0f8f87);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.user-chip-body {
  display: grid;
  line-height: 1.1;
}

.user-chip-body strong {
  font-size: 13px;
}

.user-chip-body small {
  color: var(--muted);
  font-size: 11px;
}

.primary-btn {
  background: linear-gradient(135deg, #18b8af, #14978f);
  border-color: #14978f;
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 151, 143, 0.22);
}

.ghost-btn,
.text-btn {
  background: rgba(233, 243, 247, 0.9);
}

.primary-btn:hover,
.ghost-btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.text-btn {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
}

.icon-btn {
  width: 34px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  background: rgba(237, 246, 249, 0.95);
}

.block {
  width: 100%;
}

.view {
  display: none;
  padding: 24px 28px 28px;
  min-width: 0;
}

.view.active {
  display: block;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 18px;
}

.main-column,
.side-column {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
}

.hero-panel,
.panel,
.filter-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(214, 226, 233, 0.95);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(11, 34, 48, 0.06);
  backdrop-filter: blur(14px);
}

.hero-panel {
  min-height: 126px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(27, 181, 172, 0.42);
  background: linear-gradient(110deg, rgba(27, 181, 172, 0.10), transparent 38%);
  pointer-events: none;
}

.hero-panel > * {
  position: relative;
}

.eyebrow {
  margin: 0 0 8px;
  color: #1bb5ac;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero-panel h2,
.filter-panel h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-panel p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.metric-card {
  min-height: 98px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 251, 0.95));
  border: 1px solid rgba(214, 226, 233, 0.95);
  border-radius: 18px;
  display: grid;
  align-content: center;
  gap: 4px;
  box-shadow: 0 8px 20px rgba(11, 34, 48, 0.05);
}

.metric-card:hover,
.task-row:hover,
.event-row:hover,
.ledger-row:hover,
.habit-row:hover,
.trip-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.metric-card strong {
  font-size: 30px;
  font-weight: 700;
}

.metric-card span,
.muted-line {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.panel {
  padding: 18px;
  min-width: 0;
  border-top-color: rgba(27, 181, 172, 0.42);
}

.panel.compact {
  box-shadow: none;
}

.panel-head {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.item-list,
.timeline,
.ledger-list,
.habit-list,
.summary-lines {
  display: grid;
  gap: 10px;
}

.item-list.large,
.timeline.large {
  gap: 12px;
}

.task-row,
.event-row,
.ledger-row,
.habit-row {
  border: 1px solid rgba(214, 226, 233, 0.95);
  border-radius: 12px;
  background: rgba(250, 252, 253, 0.95);
  padding: 12px;
  display: grid;
  gap: 8px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.task-main,
.ledger-main,
.habit-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.task-title {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.task-title input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.task-row.done .task-name {
  color: var(--muted);
  text-decoration: line-through;
}

.meta-line {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.priority,
.mini-tag {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(225, 241, 236, 0.9);
  color: var(--ink);
}

.priority.high {
  background: #f7dddd;
}

.priority.medium {
  background: #f6eac6;
}

.priority.low {
  background: #dff0ea;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.row-actions button {
  min-height: 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  padding: 0 9px;
  font-size: 12px;
}

.row-actions button:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(63, 159, 202, 0.12);
}

.timeline {
  position: relative;
}

.event-row {
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
}

.event-time {
  color: var(--blue);
  font-weight: 600;
}

.trip-strip,
.trip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trip-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 251, 252, 0.9);
  overflow: hidden;
  min-width: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.trip-card:hover {
  transform: translateY(-2px);
}

.trip-cover {
  height: 92px;
  background:
    linear-gradient(135deg, rgba(127,178,200,0.88), rgba(169,215,201,0.9)),
    var(--surface-soft);
}

.trip-card:nth-child(2n) .trip-cover {
  background: linear-gradient(135deg, rgba(240,211,141,0.85), rgba(169,215,201,0.92));
}

.trip-card:nth-child(3n) .trip-cover {
  background: linear-gradient(135deg, rgba(231,174,178,0.85), rgba(127,178,200,0.86));
}

.trip-body {
  padding: 12px;
  display: grid;
  gap: 7px;
}

.trip-body strong {
  font-size: 16px;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 12px 0;
}

.heat-cell {
  aspect-ratio: 1;
  border-radius: 5px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.heat-cell.on {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 14px rgba(117, 212, 223, 0.35);
}

.summary-line {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.summary-line strong {
  color: var(--ink);
}

.module-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 20px;
}

.filter-panel {
  padding: 18px;
  display: grid;
  gap: 16px;
  align-content: start;
  box-shadow: none;
  border-radius: 16px;
}

.filter-panel label,
.dialog-fields label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.module-panel {
  min-height: calc(100vh - 116px);
  border-radius: 16px;
}

.ledger-row {
  grid-template-columns: minmax(0, 1fr) 132px auto;
  align-items: center;
}

.money {
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}

.money.income {
  color: #4f8c75;
}

.money.expense {
  color: #b45c65;
}

.habit-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.habit-streak {
  font-size: 24px;
  font-weight: 600;
}

dialog {
  width: min(520px, calc(100vw - 32px));
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(14, 39, 52, 0.18), 0 0 34px rgba(63, 159, 202, 0.16);
}

dialog::backdrop {
  background: rgba(14, 39, 52, 0.26);
  backdrop-filter: blur(4px);
}

.dialog-head {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.dialog-head h2 {
  margin: 0;
  font-size: 20px;
}

.dialog-fields {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dialog-actions {
  padding: 14px 18px 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.empty-state {
  min-height: 110px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
  padding: 18px;
}

@media (max-width: 1180px) {
  .page-grid,
  .content-split {
    grid-template-columns: 1fr;
  }

  .side-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .app-shell,
  .module-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
  }

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

  .topbar,
  .hero-panel,
  .task-main,
  .ledger-main,
  .habit-main {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid,
  .side-column,
  .trip-strip,
  .trip-grid {
    grid-template-columns: 1fr;
  }

  .ledger-row,
  .event-row,
  .habit-row,
  .field-pair {
    grid-template-columns: 1fr;
  }

  .money {
    text-align: left;
  }
}
