:root {
  --bg: #f7f3ec;
  --bg-deep: #efe8dc;
  --surface: #ffffff;
  --surface-tinted: #fbf6ee;
  --paper: #fcf9f3;
  --text: #1a1d2e;
  --text-2: #565b6e;
  --muted: #9298a8;
  --primary: #3d6a5c;
  --primary-soft: #dfeae3;
  --accent: #c85a4b;
  --accent-soft: #f4dcd4;
  --amber: #c88a3d;
  --border: rgba(26,29,46,0.07);
  --hairline: rgba(26,29,46,0.10);
  --danger: #b54a3d;
  --radius-lg: 26px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(26,29,46,0.04), 0 2px 6px rgba(26,29,46,0.03);
  --shadow: 0 4px 14px rgba(26,29,46,0.05), 0 12px 32px rgba(26,29,46,0.04);
  --shadow-lg: 0 10px 28px rgba(26,29,46,0.08), 0 24px 48px rgba(26,29,46,0.05);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; }

/* ---- Global safety net: force the [hidden] attribute to always win ----
   Multiple component CSS rules (lock-screen, demo-banner, welcome-card, banners)
   set explicit `display: flex` or `display: block`, which silently overrides
   the HTML `hidden` attribute's implicit display:none. This caused real
   production bugs (founders.kidzvault.com showed the PIN unlock screen
   on every fresh visit; demo banner couldn't be dismissed via the × button).
   This one rule fixes the entire class of bug in one place. */
[hidden] { display: none !important; }

/* ---- Backup-nudge body (one-time post-first-edit modal) ---- */
.nudge-body {
  background: var(--surface-tinted);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 10px 0 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}
.nudge-row { color: var(--text); }
.nudge-row strong { font-family: var(--font-serif); font-weight: 600; font-size: 14px; color: var(--text); }
.nudge-row em { font-family: var(--font-serif); font-style: italic; color: var(--primary); font-weight: 500; }
.nudge-list {
  margin: 6px 0 0 18px;
  padding: 0;
}
.nudge-list li {
  margin: 3px 0;
  color: var(--text-2);
  font-size: 13px;
}
.nudge-aside {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--hairline);
  font-size: 12px;
  color: var(--text-2);
  font-style: italic;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: #e2dbd0;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
  font-feature-settings: "ss01", "cv11";
}

/* Phone frame */
.phone-frame {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding-bottom: 96px;
  box-shadow: 0 0 60px rgba(0,0,0,0.12);
}
.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 500px) {
  .phone-frame {
    margin-top: 24px;
    margin-bottom: 24px;
    min-height: calc(100vh - 48px);
    border-radius: 38px;
  }
}

.screen { display: none; padding: 18px 20px 28px; position: relative; z-index: 1; }
.screen.active { display: block; animation: fadeUp .32s cubic-bezier(.2,.7,.2,1); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.app-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px 2px 22px;
}
.app-header.with-back {
  align-items: center;
}
.app-header.with-back .header-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.greeting .hello {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.greeting .name {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.05;
  margin-top: 4px;
  color: var(--text);
}

.icon-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-2);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.icon-btn:hover { border-color: var(--hairline); }
.icon-btn:active { transform: scale(0.92); }

/* Hero card — calm terracotta, serif numeral, subtle grain */
.hero-card {
  background:
    radial-gradient(140% 100% at 0% 0%, #e8b8a6 0%, transparent 55%),
    radial-gradient(120% 100% at 100% 100%, #d48976 0%, transparent 55%),
    linear-gradient(160deg, #d27360 0%, #b14f3f 100%);
  color: #fbf2ed;
  border-radius: var(--radius-lg);
  padding: 24px 24px 26px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: inherit;
}
.hero-text { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  opacity: 0.78;
  margin-bottom: 14px;
}
.hero-headline {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-numeral {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 120;
  font-size: 68px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -2px;
}
.hero-rule {
  display: block;
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,0.4);
}
.hero-kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.1px;
  opacity: 0.95;
}
.hero-sub {
  font-size: 13px;
  opacity: 0.82;
  font-weight: 500;
  margin-top: 14px;
  letter-spacing: 0.1px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 2px 14px;
}
.section-title span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-2);
  letter-spacing: -0.1px;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

/* Kid cards grid */
.kid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.kid-card {
  background: linear-gradient(180deg, var(--accent-soft) 0%, #ffffff 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  text-align: left;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease;
  overflow: hidden;
  font-family: inherit;
}
.kid-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  pointer-events: none;
}
.kid-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.kid-card:active { transform: translateY(0) scale(0.98); box-shadow: var(--shadow-sm); }

.avatar {
  width: 54px; height: 54px;
  border-radius: 18px;
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.25);
}
.avatar.lg { width: 68px; height: 68px; border-radius: 22px; }
.avatar svg { width: 78%; height: 78%; }

.kid-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--text);
  line-height: 1.1;
}
.kid-meta {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.next-up {
  margin-top: 14px;
  display: flex; align-items: center; gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255,255,255,0.85);
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.next-up .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
}

.add-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent;
  border: 1.5px dashed rgba(26,29,46,0.18);
  color: var(--muted);
  min-height: 164px;
  box-shadow: none;
}
.add-card:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.add-card .plus-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  border: 1px solid var(--primary-soft);
}
.add-card .plus { font-size: 24px; font-weight: 500; line-height: 1; font-family: var(--font-serif); }
.muted-text { color: var(--muted); font-weight: 600; font-size: 13px; }

/* Quick links */
.quick-links { display: flex; flex-direction: column; gap: 10px; }
.quick-link {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease;
}
.quick-link:hover { border-color: var(--hairline); }
.quick-link:active { transform: scale(0.98); }
.ql-icon {
  width: 42px; height: 42px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ql-text { flex: 1; }
.ql-title { font-weight: 600; font-size: 14px; letter-spacing: -0.1px; font-family: var(--font-serif); font-size: 15px; }
.ql-sub { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; letter-spacing: 0.1px; }
.ql-chev { color: var(--muted); flex-shrink: 0; }

/* Kid detail — themed hero */
.kid-hero {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, var(--kid-accent-soft, var(--accent-soft)) 0%, #ffffff 110%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.kid-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.3;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.kid-hero > * { position: relative; z-index: 1; }
.kid-hero-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.kid-hero-sub {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.1px;
}

/* Chips — wrap on narrow viewports so nothing escapes the phone frame */
.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 2px 0 16px;
}

.chip {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--hairline);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.1px;
  transition: transform .14s ease, background .2s ease, color .2s ease, border-color .2s ease;
  font-family: inherit;
}
.chip:hover { border-color: rgba(26,29,46,0.2); color: var(--text); }
.chip:active { transform: scale(0.96); }
.chip.active {
  background: var(--kid-accent, var(--primary));
  color: white;
  border-color: var(--kid-accent, var(--primary));
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Category cards */
.category-list { display: flex; flex-direction: column; gap: 14px; }

.category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.category-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px 12px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.2px;
}
.cat-icon {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}
.cat-count {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-2);
  font-weight: 700;
  background: var(--bg-deep);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  font-size: 13.5px;
  border-top: 1px solid var(--border);
}
.item .item-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  min-width: 72px;
}
.item .item-value { flex: 1; font-weight: 500; color: var(--text); letter-spacing: 0.1px; }
/* Inline tap targets inside items — extend hit area without changing line height */
.item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--primary-soft);
  display: inline-block;
  padding: 8px 2px;
  margin: -8px -2px;
}
.item a:hover { border-bottom-color: var(--primary); }
.item .reminder-pill {
  margin-left: auto;
  font-size: 10px;
  background: #fbeedb;
  color: #8a5a1f;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.item .reminder-pill + .item-edit { margin-left: 4px; }
.item-edit {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: var(--muted);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .14s ease, color .14s ease, transform .14s ease;
  padding: 0;
}
.item-edit:hover { background: var(--surface-tinted); color: var(--text-2); }
.item-edit:active { transform: scale(0.92); }

/* FAB */
.fab {
  position: fixed;
  bottom: 108px;
  right: calc(50% - 215px + 22px);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--kid-accent, var(--primary));
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(61,106,92,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  cursor: pointer;
  z-index: 10;
  transition: transform .18s ease;
}
.fab:hover { transform: translateY(-2px); }
.fab:active { transform: scale(0.92); }
@media (max-width: 500px) { .fab { right: 22px; } }

/* Settings */
.settings-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.setting-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}
.setting-row:first-child { border-top: none; }
.setting-row.danger { color: var(--danger); font-weight: 700; }
/* Section titles inside the settings list, group rows visually */
.settings-section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.1px;
  padding: 14px 18px 6px;
  border-top: 1px solid var(--border);
}
.settings-section-title:first-child { border-top: none; }
.settings-section-title + .setting-row { border-top: none; }
.settings-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-2);
  padding: 14px 18px 6px;
  border-top: 1px solid var(--border);
}

/* ---- v0.6 — App lock screen (optional PIN/password, AES-GCM encryption) ---- */
/* Critical: explicit display:none for the hidden attribute, because the
   .lock-screen rule below sets display:flex which would otherwise win over
   the HTML hidden attribute's implicit display:none. Without this, the
   lock overlay would render for every visitor, even fresh ones with no
   localStorage state. Caught 2026-05-24 in production at founders.kidzvault.com. */
.lock-screen[hidden] { display: none !important; }
.lock-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(61,106,92,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 100%, rgba(201,115,82,0.10) 0%, transparent 55%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}
body.locked .phone-frame { filter: blur(12px); pointer-events: none; }

.lock-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border);
}
.lock-mark {
  width: 56px; height: 56px;
  background: var(--primary);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 14px rgba(61,106,92,0.32);
}
.lock-mark span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 36px;
  color: var(--bg);
  line-height: 1;
  margin-top: -3px;
}
.lock-brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 0 0 18px;
}
.lock-sub {
  font-size: 13.5px;
  color: var(--text-2);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 18px;
}
.lock-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--surface-tinted);
  color: var(--text);
  margin-bottom: 10px;
  box-sizing: border-box;
}
.lock-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
}
.lock-action {
  display: block;
  width: 100%;
  background: var(--primary);
  color: var(--bg);
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15px;
  cursor: pointer;
  margin-top: 8px;
}
.lock-action:disabled { opacity: 0.45; cursor: not-allowed; }
.lock-action:hover:not(:disabled) { background: #2f5347; }
.lock-action.secondary {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.lock-action.secondary:hover:not(:disabled) { background: var(--surface-tinted); }
.lock-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.lock-actions .lock-action { margin-top: 0; }
.lock-error {
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 10px;
  min-height: 16px;
}
.lock-link {
  background: transparent;
  border: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 8px;
  margin-top: 6px;
}
.lock-hint {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
}

.lock-type-row {
  display: flex;
  gap: 6px;
  background: var(--surface-tinted);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 8px;
}
.lock-type-btn {
  flex: 1;
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  cursor: pointer;
  letter-spacing: 0.15px;
}
.lock-type-btn.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.lock-type-hint {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.15px;
  margin-bottom: 12px;
}
.lock-ack {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
  line-height: 1.4;
  margin: 8px 0;
  text-align: left;
  cursor: pointer;
}
.lock-ack input[type="checkbox"] {
  margin-top: 2px;
  width: 14px; height: 14px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

/* ---- v0.5 — Kid picker (Add Item modal, quick-add from home) ---- */
.form-section { margin-bottom: 4px; }
.kid-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.kid-picker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.kid-picker-chip:hover { border-color: var(--hairline); }
.kid-picker-chip:active { transform: scale(0.98); }
.kid-picker-chip.active {
  border-color: var(--accent-chip, var(--primary));
  background: var(--accent-chip-soft, var(--primary-soft));
  color: var(--accent-chip, var(--primary));
}
.kid-picker-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.kid-picker-avatar svg { width: 84%; height: 84%; }
.muted { color: var(--muted); font-size: 13px; font-weight: 500; }
.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 22px;
  font-weight: 500;
  font-family: var(--font-serif);
  font-style: italic;
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: rgba(247,243,236,0.85);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-around;
  padding: 10px 0 max(10px, env(safe-area-inset-bottom));
  z-index: 20;
}
.nav-btn {
  background: none;
  border: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 14px;
  border-radius: 12px;
  transition: color .2s ease;
  font-family: inherit;
}
.nav-btn.active { color: var(--primary); }

/* Toast */
.toast {
  position: fixed;
  bottom: 124px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: #fbf2ed;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.28s, transform 0.28s;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

/* ============== MODAL ============== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.modal.show { display: block; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,29,46,0.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  animation: fadeOverlay .24s ease forwards;
}
@keyframes fadeOverlay { to { opacity: 1; } }
.modal-sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 430px;
  background: var(--bg);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 12px 22px max(28px, env(safe-area-inset-bottom));
  box-shadow: 0 -10px 36px rgba(26,29,46,0.18);
  animation: slideUpSheet .32s cubic-bezier(.2,.7,.2,1) forwards;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes slideUpSheet {
  to { transform: translateX(-50%) translateY(0); }
}
.modal-handle {
  width: 38px; height: 4px;
  background: rgba(26,29,46,0.16);
  border-radius: 2px;
  margin: 4px auto 14px;
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  color: var(--text-2);
  cursor: pointer;
  font-family: var(--font-serif);
}
.modal-close:hover { color: var(--text); }
.modal-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 4px 0 6px;
  color: var(--text);
}
.modal-sub {
  font-size: 13px;
  color: var(--text-2);
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: 0.1px;
}
body.modal-open { overflow: hidden; }

/* Form fields */
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--muted);
  margin: 14px 0 6px;
}
.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.1px;
  transition: border-color .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow-sm);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23565b6e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* Swatch picker */
.swatch-grid {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.swatch {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  outline: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: transform .16s ease, outline-color .16s ease;
  box-shadow: var(--shadow-sm);
}
.swatch:hover { transform: scale(1.06); }
.swatch.active {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* Modal action row */
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.btn-primary, .btn-secondary {
  flex: 1;
  padding: 14px 18px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform .14s ease, background .18s ease, border-color .18s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fbf2ed;
  box-shadow: 0 6px 16px rgba(61,106,92,0.28);
}
.btn-primary:hover { background: #345d51; }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  background: var(--surface);
  color: var(--text-2);
  border-color: var(--border);
}
.btn-secondary:hover { color: var(--text); border-color: var(--hairline); }
.btn-secondary:active { transform: scale(0.98); }

/* Danger zone in modals (edit modes) */
.modal-danger-row {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--hairline);
}
.btn-danger {
  width: 100%;
  padding: 12px 18px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--danger);
  border: 1px solid rgba(181,74,61,0.3);
  transition: background .18s ease, border-color .18s ease, transform .14s ease;
}
.btn-danger:hover { background: rgba(181,74,61,0.06); border-color: var(--danger); }
.btn-danger:active { transform: scale(0.98); }

/* ============== REMINDERS SCREEN ============== */
.reminders-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.reminders-group { display: flex; flex-direction: column; gap: 8px; }
.reminders-group-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: -0.1px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 2px 4px;
}
.reminders-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.reminder-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, border-color .18s ease;
  width: 100%;
}
.reminder-card:hover { border-color: var(--hairline); transform: translateY(-1px); }
.reminder-card:active { transform: scale(0.99); }
.reminder-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.6);
}
.reminder-card-text { flex: 1; min-width: 0; }
.reminder-card-label {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.2px;
  color: var(--text);
  line-height: 1.2;
}
.reminder-card-meta {
  font-size: 11.5px;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-top: 3px;
}
.reminder-card .reminder-pill { margin-left: 0; flex-shrink: 0; }

/* Empty state */
.empty-hub {
  background: var(--surface-tinted);
  border: 1px dashed rgba(26,29,46,0.14);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
}
.empty-hub-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.2px;
  color: var(--text);
}
.empty-hub-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

/* Setting row (clickable) */
.setting-row[role="button"] { cursor: pointer; }
.setting-row[role="button"]:hover { background: var(--surface-tinted); }

/* Splash screen (v0.4 first-load intro — centered composition) */
.splash {
  /* position: fixed (not absolute) anchors the splash to the viewport so it's
     visually centered on the visible screen — on mobile, `position: absolute`
     anchored to .phone-frame's 100vh-min-height placed the K-mark + orbit
     below the iOS address bar fold and users had to scroll up. Caught on
     founders.kidzvault.com first install 2026-05-31. */
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.splash[hidden] { display: none; }
.splash.fade { opacity: 0; visibility: hidden; }
.splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.3;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.splash-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 40px 24px;
  max-width: 360px;
  width: 100%;
}

/* Orbit composition: 6 category tiles arranged around a central K-mark */
.splash-scene {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-tile {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 15px;
  background: var(--bg, #fee2e2);
  color: var(--c, #b91c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(26,29,46,0.10), inset 0 1px 0 rgba(255,255,255,0.6);
  opacity: 0;
  transform: translate(0, 0) scale(0.4);
  animation:
    orbitLandIn 0.55s cubic-bezier(.2,.7,.3,1.2) var(--d) forwards,
    orbitBob 3.6s ease-in-out calc(var(--d) + 0.6s) infinite;
}
.orbit-tile.small {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 13px;
}
@keyframes orbitLandIn {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.4); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translate(var(--ox), var(--oy)) scale(1); }
}
@keyframes orbitBob {
  0%, 100% { transform: translate(var(--ox), var(--oy)) scale(1); }
  50%      { transform: translate(var(--ox), calc(var(--oy) - 4px)) scale(1); }
}

.splash-mark {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  background: var(--primary);
  border-radius: 26px;
  color: #f7f3ec;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(61, 106, 92, 0.32), inset 0 1px 0 rgba(255,255,255,0.18);
  opacity: 0;
  transform: scale(0.6);
  animation: markIn 0.6s cubic-bezier(.2,.7,.3,1.2) 0.05s forwards;
}
@keyframes markIn {
  to { opacity: 1; transform: scale(1); }
}

.splash-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.splash-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.7px;
  color: var(--text);
  line-height: 1;
  opacity: 0;
  animation: splashTextIn 0.7s ease 1.1s forwards;
}
.splash-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text-2);
  letter-spacing: -0.1px;
  opacity: 0;
  animation: splashTextIn 0.7s ease 1.5s forwards;
}
@keyframes splashTextIn { to { opacity: 1; } }

.splash-dots {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  opacity: 0;
  animation: splashTextIn 0.5s ease 2.0s forwards;
}
.splash-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.35;
  animation: splashDotPulse 1.4s ease-in-out infinite;
}
.splash-dot:nth-child(2) { animation-delay: 0.2s; }
.splash-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes splashDotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

.splash-loading-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.02em;
  min-height: 18px;
  margin-top: 2px;
  opacity: 0;
  animation: splashTextIn 0.6s ease 2.2s forwards;
  transition: opacity 0.4s ease;
}

/* Install banner (v0.4 PWA prompt) */
.install-banner {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 398px;
  background: var(--text);
  color: #fbf2ed;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 30;
  animation: bannerSlideUp .28s cubic-bezier(.2,.7,.2,1);
}
.install-banner[hidden] { display: none; }
@keyframes bannerSlideUp {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
}
.install-banner-text { flex: 1; min-width: 0; }
.install-banner-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.1px;
  line-height: 1.2;
}
.install-banner-sub {
  font-size: 11.5px;
  opacity: 0.7;
  margin-top: 2px;
  font-weight: 500;
}
.install-banner-btn {
  background: var(--primary);
  color: #fbf2ed;
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  flex-shrink: 0;
}
.install-banner-btn:hover { background: #345d51; }
.install-banner-close {
  background: transparent;
  border: 0;
  color: rgba(251,242,237,0.5);
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.install-banner-close:hover { color: #fbf2ed; }

/* ---- v0.5 — "Up next" block on home ---- */
.up-next-title {
  margin-top: 4px;
}
.up-next-link {
  background: transparent;
  border: 0;
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 10px 10px;
  margin: -6px -6px;
  cursor: pointer;
  flex-shrink: 0;
}
.up-next-link:hover { color: #2f5347; }

.up-next-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 4px 6px;
  margin: 0 2px 22px;
  overflow: hidden;
}
.up-next-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  padding: 12px 10px;
  border-bottom: 1px solid var(--hairline);
  transition: background .14s ease;
}
.up-next-row:last-child { border-bottom: 0; }
.up-next-row:hover { background: var(--surface-tinted); }
.up-next-row:active { background: var(--bg-deep); }

.up-next-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.6);
}
.up-next-text {
  flex: 1;
  min-width: 0;
}
.up-next-label {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.2px;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.up-next-meta {
  font-size: 11.5px;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.up-next-bucket {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  font-family: var(--font-sans);
}
.up-next-bucket.bucket-today {
  background: var(--accent);
  color: #fff;
}
.up-next-bucket.bucket-tomorrow {
  background: #fbeedb;
  color: #8a5a1f;
}
.up-next-bucket.bucket-week {
  background: var(--primary-soft);
  color: var(--primary);
}
.up-next-bucket.bucket-later {
  background: rgba(26,29,46,0.06);
  color: var(--text-2);
}
.up-next-bucket.bucket-soon {
  background: rgba(26,29,46,0.06);
  color: var(--text-2);
}

/* ---- v0.5 — Demo banner (above hero on home, sage tint, low-key) ---- */
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  padding: 7px 8px 7px 14px;
  margin: 0 2px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.demo-banner-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-banner-action {
  background: transparent;
  border: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 10px 6px;
  margin: -10px -6px;
}
.demo-banner-action:hover { text-decoration-thickness: 2px; }
.demo-banner-close {
  background: transparent;
  border: 0;
  color: var(--primary);
  opacity: 0.55;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.demo-banner-close:hover { opacity: 1; background: rgba(61,106,92,0.08); }

/* ---- v0.5 — Welcome card (zero-kids state on home) ---- */
.welcome-card {
  background:
    radial-gradient(140% 100% at 100% 0%, #5a8a7c 0%, transparent 55%),
    linear-gradient(160deg, #3d6a5c 0%, #2f5347 100%);
  color: #f7ede2;
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.welcome-text { position: relative; z-index: 1; }
.welcome-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  opacity: 0.78;
  margin-bottom: 14px;
}
.welcome-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.welcome-sub {
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0.85;
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 320px;
}
.welcome-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fbf2ed;
  color: var(--primary);
  border: 0;
  border-radius: 999px;
  padding: 12px 22px 12px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: transform .16s ease, box-shadow .16s ease;
}
.welcome-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.welcome-cta:active { transform: translateY(0); }
.welcome-cta-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

/* ---- v0.5 — Empty kid-hub category chips (zero-items state) ---- */
.empty-hub-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.empty-hub-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: transform .14s ease, border-color .18s ease, box-shadow .14s ease;
  box-shadow: var(--shadow-sm);
}
.empty-hub-cat:hover {
  transform: translateY(-1px);
  border-color: var(--hairline);
  box-shadow: var(--shadow);
}
.empty-hub-cat:active { transform: translateY(0); }
.empty-hub-cat-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.empty-hub-cat-icon svg { width: 18px; height: 18px; }
.empty-hub-cat-label {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.15;
  letter-spacing: -0.1px;
  color: var(--text);
}
