:root {
  --background: #f7f8fa;
  --card: #ffffff;
  --primary: #2d7ff9;
  --primary-strong: #195ec4;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Assistant", "Heebo", system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--text);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 8px;
  height: 100vh;
  background: var(--primary-strong);
  z-index: 2;
  pointer-events: none;
}

.muted-text { color: var(--muted); }

a { color: inherit; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.user-meta {
  display: grid;
  gap: 2px;
}

.user-name {
  margin: 0;
  font-weight: 700;
}

.user-email {
  color: var(--muted);
  font-size: 14px;
}

.brand h1 { margin: 0 0 4px; }

.brand p {
  margin: 0;
  color: var(--muted);
}

.env-pill {
  background: #e0e7ff;
  color: #312e81;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.sidebar {
  background: var(--card);
  padding: 20px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 24px;
  height: fit-content;
}

.sidebar h2 {
  margin-top: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.nav-link {
  width: 100%;
  text-align: right;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-link.active, .nav-link:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1d4ed8;
}

.content {
  display: grid;
  gap: 24px;
}

.section {
  background: var(--card);
  padding: 20px;
  box-shadow: var(--shadow);
  display: none;
}

.section.active { display: block; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.section-header-title {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.section-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.section-header h2 {
  margin: 0 0 6px 0;
}

.section-header p { margin: 0; color: var(--muted); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.donation-subnav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
}

.subnav-btn {
  border: none;
  background: transparent;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s ease;
}

.subnav-btn.active {
  background: #e0e7ff;
  color: #1d4ed8;
  box-shadow: inset 0 0 0 1px #c7d2fe;
}

.donation-view {
  display: none;
  margin-top: 12px;
}

.donation-view.active {
  display: block;
}

.view-intro {
  margin-bottom: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.directory-toggle-row {
  align-items: flex-start;
}

.category-filter-row .inline-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 12px;
}

.category-filter-row select {
  min-width: 200px;
}

.inline-label span {
  font-weight: 700;
}

.toggle-chip-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-chip input {
  accent-color: #4f46e5;
}

.toggle-chip.active {
  border-color: #c7d2fe;
  background: #eef2ff;
}

.category-dropdown {
  position: relative;
  min-width: 240px;
  width: 100%;
  max-width: 320px;
}

.category-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.category-dropdown-toggle .dropdown-icon {
  color: var(--muted);
  font-size: 12px;
}

.category-dropdown-toggle:hover,
.category-dropdown-toggle:focus-visible {
  background: #eef2ff;
  border-color: #c7d2fe;
  outline: none;
}

.category-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 5;
  padding: 6px 0;
  max-height: 320px;
  overflow-y: auto;
}

.category-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: none;
  border: none;
  text-align: right;
  cursor: pointer;
  transition: background 0.15s ease;
}

.category-dropdown-item:hover,
.category-dropdown-item:focus-visible {
  background: #f8fafc;
  outline: none;
}

.category-dropdown-item.active {
  background: #eef2ff;
}

.category-check {
  color: #16a34a;
  visibility: hidden;
  font-weight: 900;
}

.category-dropdown-item.active .category-check {
  visibility: visible;
}

.donation-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  margin: 3px;
  background: #eef2ff;
  border-radius: 12px;
  border: 1px solid #c7d2fe;
  font-weight: 700;
}

.donation-category-chip .chip-value {
  color: #1f2937;
}

.donation-summary {
  color: var(--muted);
  margin: 0;
}

.target-input {
  width: 120px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fafc;
}

.donation-amount-cell {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.donation-amount-value {
  font-weight: 700;
}

.donation-amount-value.muted {
  color: var(--muted);
  font-weight: 500;
}

.donation-amount-target {
  color: var(--muted);
  font-size: 14px;
}

.card.wide { grid-column: 1 / -1; }

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.card-header-start {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.card-label {
  margin: 0 0 8px;
  color: var(--muted);
}

.card-value {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
}

.card-subvalue {
  margin: 6px 0 0;
  color: var(--muted);
}

.balance-card {
  display: grid;
  gap: 12px;
}

.fund-balance-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fund-balance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fund-period-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 10px;
  background: #f8fafc;
}

.fund-period-display {
  border: none;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 10px;
}

.fund-period-display:focus {
  outline: 2px solid var(--primary);
  border-radius: 8px;
}

.fund-period-selector .icon-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.fund-period-selector .icon-button span {
  font-size: 18px;
  line-height: 1;
}

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

.fund-balance-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.fund-column {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
  padding: 12px;
}

.column-title {
  margin: 0 0 10px;
  font-weight: 800;
}

.fund-balance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.fund-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.fund-balance-category {
  font-weight: 700;
}

.fund-balance-amount {
  font-weight: 800;
}

.fund-balance-amount.positive {
  color: #166534;
}

.fund-balance-amount.negative {
  color: #b91c1c;
}

.balance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.category-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  align-items: start;
}

.category-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-column-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.category-timeline {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.category-meta { margin: 4px 0 0; }

.period-list {
  display: grid;
  gap: 8px;
}

.period-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.period-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}

.balance-category {
  margin: 0;
  font-weight: 800;
}

.period-label {
  margin: 0;
  font-weight: 800;
}

.frequency-tag {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.balance-values {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.balance-values .income { color: #15803d; }
.balance-values .expense { color: #b91c1c; }

.balance-values .net {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5e7eb;
}

.balance-values .net.positive {
  background: #dcfce7;
  color: #166534;
}

.balance-values .net.negative {
  background: #fee2e2;
  color: #b91c1c;
}

.balance-totals {
  text-align: right;
}

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

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.import-preview {
  max-height: 360px;
  margin-top: 12px;
}

.import-preview table {
  min-width: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th, td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: right;
  white-space: nowrap;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.column-actions {
  display: inline-flex;
  gap: 6px;
  margin-right: 6px;
  vertical-align: middle;
}

.column-title {
  vertical-align: middle;
}

.icon-button {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  line-height: 1;
}

.icon-button:hover {
  color: var(--primary);
  background: #eef2ff;
}

th { color: var(--muted); font-weight: 700; }

tbody tr:hover { background: #f8fafc; }

#directorySearch,
#donationSearch,
#supportSearch {
  min-width: 240px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.actions #directorySearch,
.actions #donationSearch,
.actions #supportSearch {
  flex: 1 1 240px;
}

.actions { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }

.bulk-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: #f8fafc;
  border-radius: 12px;
}

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

.bulk-title {
  margin: 0;
  font-weight: 700;
}

.selection-cell {
  width: 1%;
  white-space: nowrap;
  text-align: center;
}

.modal-layer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  z-index: 20;
  overflow-y: auto;
}

.modal-card {
  width: min(780px, 100%);
  border-top: 6px solid var(--primary);
  animation: drop-in 0.2s ease;
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

button,
.button-link {
  border: none;
  font-size: 15px;
  cursor: pointer;
  padding: 10px 14px;
  transition: all 0.2s ease;
  text-decoration: none;
  border-radius: 10px;
}

.small {
  padding: 8px 10px;
  font-size: 14px;
}

.full {
  width: 100%;
  justify-content: center;
}

button.primary,
.button-link.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

button.secondary,
.button-link.secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

button.danger,
.button-link.danger {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecdd3;
}

button.ghost,
.button-link.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--border);
}

button:hover,
.button-link:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
button:active,
.button-link:active { transform: translateY(0); box-shadow: none; }
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 16px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label { color: var(--muted); font-weight: 700; }

.form-row input, .form-row select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-size: 15px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.hidden { display: none !important; }

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.chip-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list li {
  background: #eef2ff;
  color: #1d4ed8;
  padding: 8px 12px;
  font-weight: 700;
}

.chip-list.stacked {
  display: grid;
  gap: 10px;
}

.stacked-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text);
}

.chip-title {
  margin: 0;
  font-weight: 800;
}

.chip-meta {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.inline-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.inline-form input {
  flex: 1;
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.tab-link {
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: #f8fafc;
  cursor: pointer;
  font-weight: 700;
}

.tab-link.active {
  background: #eef2ff;
  color: #1d4ed8;
  border-color: #c7d2fe;
}

.tab-panel {
  display: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: #f8fafc;
}

.tab-panel.active {
  display: block;
}

.status-pill {
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.status-pill.success {
  color: #166534;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.status-pill.error {
  color: #991b1b;
  border-color: #fecdd3;
  background: #fef2f2;
}

.status-pill.pending {
  color: #92400e;
  border-color: #fcd34d;
  background: #fffbeb;
}

.status-pill.muted {
  color: var(--muted);
}

.auto-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}

.auto-actions p {
  margin: 0;
}

.nedarim-summary {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.nedarim-summary li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fafc;
}

.nedarim-summary strong {
  font-size: 16px;
}

.summary-actions {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.summary-actions .ghost {
  margin-inline-start: auto;
}

.nedarim-mapping-panel {
  margin: 12px 0 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}

.nedarim-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

.nedarim-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nedarim-sticky {
  position: sticky;
  top: 10px;
}

.nedarim-category-mapping {
  display: grid;
  gap: 8px;
}

.nedarim-map-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.nedarim-map-row select {
  min-width: 180px;
}

.nedarim-mapping-card .inline-form {
  margin-top: 12px;
  flex-wrap: wrap;
}

.nedarim-mapping-card input,
.nedarim-mapping-card select {
  flex: 1 1 180px;
}

.nedarim-unmatched-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.nedarim-unmatched-list li {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #fff;
}

.nedarim-unmatched-empty {
  color: var(--muted);
}

.webhook-log {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.webhook-log li {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}

.webhook-log .log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.webhook-log .log-title {
  margin: 0;
  font-weight: 700;
}

.webhook-log .log-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.webhook-log .log-note {
  margin: 8px 0 0;
  color: var(--muted);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.status-chip.success {
  color: #166534;
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.status-chip.warning {
  color: #92400e;
  background: #fffbeb;
  border-color: #fcd34d;
}

.status-chip.error {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecdd3;
}

.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.auth-card {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 14px;
}

.pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #eef2ff;
  color: #1d4ed8;
  font-weight: 700;
  width: fit-content;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form label {
  font-weight: 700;
  color: var(--muted);
}

.auth-form input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-size: 15px;
}

.auth-screen {
  position: relative;
  z-index: 1;
}

.square-elements,
.card,
.sidebar,
.section,
.auth-card,
.nav-link,
button,
input,
select,
textarea,
.env-pill,
.pill,
.chip-list li,
.user-area,
.inline-form input,
#directorySearch,
.form-row input,
.form-row select {
  border-radius: 0;
}

.custom-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 16px;
}

.card .chip-list li.muted-text {
  background: transparent;
  color: var(--muted);
}

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  table { min-width: 480px; }
}
