@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:             #FFFBF0;
  --color-surface:        #ffffff;
  --color-surface2:       #F7F3EA;
  --color-border:         #F0E8D8;
  --color-primary:        #F5C513;
  --color-primary-h:      #DEB010;
  --color-primary-text:   #2D2D2D;
  --color-danger:         #E05252;
  --color-danger-h:       #C43E3E;
  --color-success:        #16a34a;
  --color-text:           #2D2D2D;
  --color-muted:          #7A6A54;
  --color-surface-inverse:#1f2937;
  --color-low-conf:       #fef3c7;
  --radius:               14px;
  --nav-h:                64px;

  /* Category tints */
  --cat-produce:  #D9F5EC;
  --cat-dairy:    #FFEAE3;
  --cat-grains:   #FFF3CC;
  --cat-meat:     #FFE8E8;
  --cat-spices:   #F0E8FF;
  --cat-staples:  #E8F0FF;
  --cat-other:    #F0F0F0;

  /* Type scale — 5 semantic steps */
  --text-xs:   0.75rem;    /* metadata, badges, legend */
  --text-sm:   0.875rem;   /* hints, nav, table cells, secondary content */
  --text-base: 1rem;       /* body, inputs, primary card content */
  --text-lg:   1.25rem;    /* section headings, modal titles */
  --text-xl:   1.5rem;     /* page headings */
}

html, body {
  height: 100%;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  background: var(--color-surface);
  border-top: 2px solid var(--color-border);
  z-index: 100;
}

.nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.15s;
  position: relative;
}

.nav-link.active {
  color: var(--color-text);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ── Main ─────────────────────────────────────────────────────────────────── */
#app {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 16px calc(var(--nav-h) + 16px);
}

.view { display: flex; flex-direction: column; gap: 12px; }
.hidden { display: none !important; }

/* ── View header ─────────────────────────────────────────────────────────── */
.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.view-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary   { background: var(--color-primary); color: var(--color-primary-text); border-radius: 12px; font-weight: 700; }
.btn-primary:hover:not(:disabled)  { background: var(--color-primary-h); }
.btn-secondary { background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); border-radius: 12px; font-weight: 700; }
.btn-secondary:hover:not(:disabled) { background: var(--color-surface2); }
.btn-danger    { background: var(--color-danger); color: #fff; }
.btn-danger:hover:not(:disabled)   { background: var(--color-danger-h); }
.btn-full      { width: 100%; }

/* ── Search ──────────────────────────────────────────────────────────────── */
.search-input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--color-surface);
}

.search-input:focus { border-color: var(--color-primary); outline: none; }

/* ── Item list ───────────────────────────────────────────────────────────── */
.item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.15s;
  min-height: 44px;
}

.item-card:hover { border-color: var(--color-primary); }

.item-emoji-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-produce { background: var(--cat-produce); }
.badge-dairy   { background: var(--cat-dairy); }
.badge-grains  { background: var(--cat-grains); }
.badge-meat    { background: var(--cat-meat); }
.badge-spices  { background: var(--cat-spices); }
.badge-staples { background: var(--cat-staples); }
.badge-other   { background: var(--cat-other); }

.item-card-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.item-name { font-weight: 600; font-size: 1rem; }
.item-meta { font-size: 0.8rem; color: var(--color-muted); }

.item-qty {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
}

/* Recipe card cook button */
.recipe-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.recipe-card-info { flex: 1; min-width: 0; }
.recipe-card-info .item-name { font-weight: 600; }
.recipe-card-info .item-meta { font-size: 0.8rem; color: var(--color-muted); }

.recipe-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 0.85rem; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 40px 20px;
  color: var(--color-muted);
  font-size: var(--text-base);
}

.empty-icon { font-size: 2.5rem; line-height: 1; }

.empty-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

/* ── Hint text ───────────────────────────────────────────────────────────── */
.hint {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ── Import textarea ─────────────────────────────────────────────────────── */
.import-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 160px;
  background: var(--color-surface);
}

.import-textarea:focus { outline: 2px solid var(--color-primary); }

/* ── Review table ────────────────────────────────────────────────────────── */
.review-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.review-table th, .review-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.review-table th {
  font-weight: 600;
  color: var(--color-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.review-table input {
  width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.9rem;
  min-height: 36px;
}

.review-table .btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-danger);
  font-size: 1.1rem;
  padding: 4px 6px;
  min-height: 36px;
  border-radius: 4px;
}

.row-low-conf { background: var(--color-low-conf); }

.action-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 8px;
}

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 200;
  padding: 0;
}

.modal {
  background: var(--color-surface);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 640px;
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-wide { max-height: 95vh; }

.modal h2 { font-size: var(--text-lg); font-weight: 700; }
.modal-subtitle { color: var(--color-muted); font-size: 0.9rem; margin-top: -8px; }

.modal-input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 1rem;
  margin-top: 4px;
  background: var(--color-surface);
}

.modal-input:focus { outline: 2px solid var(--color-primary); }

select.modal-input { cursor: pointer; }

label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  gap: 4px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ── Cook preview ────────────────────────────────────────────────────────── */
.cook-preview {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.cook-preview ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ── Toast ───────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface-inverse);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  z-index: 300;
  min-width: 240px;
  max-width: 90vw;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.toast-undo {
  background: none;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.toast-undo:hover { background: rgba(255,255,255,0.15); }

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.view-entering { animation: fadeIn 0.18s ease-out both; }

/* ── Category headers ────────────────────────────────────────────────────── */
.category-header {
  list-style: none;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 4px 3px;
  margin-top: 4px;
}

.category-header:first-child { margin-top: 0; }

/* ── Ingredient status (cook preview) ────────────────────────────────────── */
.ing-ok      { color: #16a34a; font-weight: 700; }
.ing-partial { color: #d97706; font-weight: 700; }
.ing-missing { color: var(--color-danger); font-weight: 700; }

.cook-preview-legend {
  font-size: 0.75rem;
  color: var(--color-muted);
  list-style: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2px;
}

/* ── Site tip (recipe URL panel) ─────────────────────────────────────────── */
.site-tip {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.site-tip summary {
  cursor: pointer;
  font-weight: 500;
  user-select: none;
}

.site-tip > div {
  padding: 8px 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.5;
}

/* ── Tab bar (recipe modal) ──────────────────────────────────────────────── */
.tab-bar {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 12px;
}

.tab-btn {
  flex: 1;
  min-height: 40px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s, border-color 0.15s;
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ── Cart quick-add ─────────────────────────────────────────────────────── */
.cart-quick-add { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.cart-quick-add .modal-input { flex: 1; }

/* ── Pantry filter chips ─────────────────────────────────────────────────── */
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 8px; }
.filter-chip {
  padding: 4px 12px; border-radius: 20px; font-size: var(--text-sm); font-weight: 700;
  border: 1px solid var(--color-border); background: var(--color-surface);
  cursor: pointer; white-space: nowrap; transition: background 0.1s, color 0.1s;
}
.filter-chip.active { background: var(--color-primary); color: var(--color-primary-text); border-color: var(--color-primary); }

/* ── Cart items ──────────────────────────────────────────────────────────── */
.cart-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.15s, opacity 0.15s;
  min-height: 44px;
  gap: 8px;
}

.cart-item:hover { border-color: var(--color-primary); }

.cart-item.checked {
  opacity: 0.5;
}

.cart-item.checked .cart-item-name {
  text-decoration: line-through;
}

.cart-item-name { font-size: 0.95rem; flex: 1; }

.cart-delete {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  font-size: 1rem;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cart-delete:hover { color: var(--color-danger); }

/* ── Checkbox label (always-stocked) ─────────────────────────────────────── */
.checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-primary);
}

/* ── Cart edit button ─────────────────────────────────────────────────────── */
.cart-edit {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  font-size: 1rem;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cart-edit:hover { color: var(--color-primary); }

/* ── Cart inline edit form ───────────────────────────────────────────────── */
.cart-edit-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.cart-edit-form input {
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.9rem;
  background: var(--color-surface);
}

.cart-edit-form input:focus { outline: 2px solid var(--color-primary); }

.cart-edit-name { flex: 1; }

.cart-save {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-success);
  font-size: 1.1rem;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cart-save:hover { background: rgba(22, 163, 74, 0.1); }

/* colour indicators for cart-save use success variable above */

.cart-cancel-edit {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-danger);
  font-size: 1rem;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cart-cancel-edit:hover { background: rgba(220, 38, 38, 0.1); }

/* ── Search row (search + select button) ────────────────────────────────── */
.search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-row .search-input { flex: 1; }

/* ── Bulk action bar ─────────────────────────────────────────────────────── */
.bulk-action-bar {
  position: fixed;
  bottom: var(--nav-h);
  left: 0; right: 0;
  background: var(--color-surface);
  border-top: 2px solid var(--color-primary);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 90;
  font-size: 0.9rem;
}

.bulk-cat-select {
  flex: 1;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--color-surface);
}

.item-select-cb {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.item-card-selectable { cursor: pointer; }

/* ── Responsive tweaks ───────────────────────────────────────────────────── */
@media (min-width: 480px) {
  .modal { border-radius: 20px; margin: auto; }
  .modal-overlay { align-items: center; padding: 16px; }
}

/* ── Auth screen ─────────────────────────────────────────────────────────── */
.auth-screen {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 16px;
}

.auth-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px 24px;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.auth-title {
  font-size: var(--text-lg);
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
}

.auth-tagline {
  font-size: var(--text-sm);
  color: var(--color-muted);
  text-align: center;
  line-height: 1.4;
}

.auth-error {
  font-size: 0.85rem;
  color: var(--color-danger);
  margin-top: -8px;
}

/* ── Household setup tabs ────────────────────────────────────────────────── */
.household-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
}

/* ── Settings view ───────────────────────────────────────────────────────── */
.settings-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.settings-subsection-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 4px 0 0;
}

.members-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.9rem;
}

.member-info {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.member-role {
  color: var(--text-muted, var(--color-muted));
  font-size: 0.8rem;
}

.settings-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.invite-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.invite-send-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.invite-send-row .modal-input {
  flex: 1;
}

.invite-code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 6px 10px;
  flex: 1;
  word-break: break-all;
}

/* ── Toast error variant ─────────────────────────────────────────────────── */
.toast-error { background: var(--color-danger); }

/* ── Quantity stepper ────────────────────────────────────────────────────── */
.item-stepper {
  display: flex;
  align-items: center;
  background: var(--color-surface2);
  border-radius: 12px;
  padding: 4px 6px;
  flex-shrink: 0;
}

.stepper-btn {
  min-width: 36px;
  min-height: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.1s, color 0.1s, border-color 0.1s;
}

.stepper-btn:hover { background: var(--color-primary); color: var(--color-primary-text); border-color: var(--color-primary); }
.stepper-btn:active { background: var(--color-primary-h); }

.stepper-qty {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  padding: 0 8px;
  min-width: 52px;
  text-align: center;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  line-height: 36px;
}

/* ── Cook success panel ──────────────────────────────────────────────────── */
.cook-success-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-success);
}

.cook-success-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* ── Recipe card cursor ───────────────────────────────────────────────────── */
.recipe-card { cursor: pointer; }

/* ── Recipe detail ingredient list ──────────────────────────────────────── */
.recipe-detail-ingredients {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 50vh;
  overflow-y: auto;
}

.recipe-detail-ingredients li { font-size: var(--text-base); }

.recipe-detail-qty {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

/* ── Admin analytics ─────────────────────────────────────────────────────── */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 4px;
}

.admin-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.admin-stat-value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.admin-stat-label {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-top: 2px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.admin-table th,
.admin-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.admin-table th {
  color: var(--color-muted);
  font-weight: 500;
}
