/* ── v2.0 Tree Node Cards ── */
.tn-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 6px 6px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
  overflow: visible;
  box-sizing: border-box;
  text-align: center;
}

/* Inline detail drawer — expands inside the card */
.tn-detail-drawer {
  display: none;
  width: 100%;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.73rem;
  line-height: 1.5;
  text-align: left;
  cursor: default;
  z-index: 200;
}
.tn-detail-drawer.open { display: block; }
.tn-btn-info {
  font-size: 0.65rem; padding: 2px 5px; border-radius: 4px; cursor: pointer;
  text-decoration: none; border: 1px solid #e2e8f0; background: #f8fafc;
  color: #64748b; display: inline-flex; align-items: center;
}
.tn-btn-info:hover  { background: #ede9fe; color: #7c3aed; border-color: #c4b5fd; }
.tn-btn-info.active { background: #ede9fe; color: #7c3aed; border-color: #c4b5fd; }
.tn-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.13); border-color: #93c5fd; }
.tn-card.root  { border-color: #3b82f6; border-width: 2px; box-shadow: 0 0 0 3px #dbeafe; }
.tn-card.male   { border-top: 3px solid #3b82f6; }
.tn-card.female { border-top: 3px solid #ec4899; }
.tn-card.unknown { border-top: 3px solid #9ca3af; }
.tn-card.deceased { opacity: 0.6; }

.tn-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.tn-avatar.male-av   { background: #dbeafe; color: #2563eb; }
.tn-avatar.female-av { background: #fce7f3; color: #db2777; }
.tn-avatar:not(.male-av):not(.female-av) { background: #f1f5f9; color: #94a3b8; }

.tn-name { font-size: 0.72rem; font-weight: 600; line-height: 1.2; color: #1e293b; }
.tn-fn   { display: block; }
.tn-ln   { display: block; color: #64748b; font-weight: 400; }
.tn-years { font-size: 0.63rem; color: #94a3b8; }

.tn-actions {
  display: none;
  gap: 4px;
  margin-top: 2px;
}
.tn-card:hover .tn-actions { display: flex; }

.tn-btn-view, .tn-btn-root {
  font-size: 0.65rem;
  padding: 2px 5px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: inline-flex; align-items: center;
}
.tn-btn-view:hover { background: #dbeafe; color: #1d4ed8; border-color: #93c5fd; }
.tn-btn-root:hover { background: #dcfce7; color: #16a34a; border-color: #86efac; }

/* ── Ancestors wrapper ── */
.tn-ancestors-wrap {
  overflow: auto;
  padding: 20px 60px 20px 80px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  min-height: 400px;
  cursor: grab;
}
.tn-ancestors-wrap:active { cursor: grabbing; }

.tn-gen-label {
  position: absolute;
  left: -72px;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  white-space: nowrap;
  width: 68px;
  text-align: right;
}

/* ── Descendants wrapper ── */
.tn-desc-wrap {
  overflow: auto;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  min-height: 400px;
  cursor: grab;
}
.tn-desc-wrap:active { cursor: grabbing; }

.tn-expand-btn {
  position: absolute;
  background: #fff;
  border: 1px dashed #94a3b8;
  border-radius: 14px;
  padding: 3px 8px;
  font-size: 0.68rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.tn-expand-btn:hover { border-color: #3b82f6; color: #3b82f6; background: #eff6ff; }

/* ── Variables ── */
:root {
  --sidebar-width: 240px;
  --sidebar-collapsed-width: 64px;
  --topbar-height: 52px;
  --color-male: #3b82f6;
  --color-female: #ec4899;
  --color-unknown: #6b7280;
  --color-deceased: #9ca3af;
  --color-living: #10b981;
  --sidebar-bg: #1e293b;
  --sidebar-text: #cbd5e1;
  --sidebar-active: #3b82f6;
  --sidebar-hover: #334155;
}

/* ── Base ── */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f1f5f9;
  color: #1e293b;
}

/* ── Sidebar ── */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: width 0.25s ease;
  overflow: hidden;
}

.sidebar.collapsed { width: var(--sidebar-collapsed-width); }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px;
  border-bottom: 1px solid #334155;
  min-height: 60px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-logo i { font-size: 1.3rem; color: #10b981; flex-shrink: 0; }
.sidebar.collapsed .sidebar-logo span { display: none; }

.sidebar-toggle {
  background: none;
  border: none;
  color: var(--sidebar-text);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.sidebar-toggle:hover { background: var(--sidebar-hover); color: #fff; }

.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  color: var(--sidebar-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  font-size: 0.82rem;
}

.sidebar-nav li a:hover { background: var(--sidebar-hover); color: #f8fafc; }
.sidebar-nav li a.active { background: var(--sidebar-active); color: #fff; font-weight: 600; }
.sidebar-nav li a i { width: 16px; text-align: center; flex-shrink: 0; font-size: 0.8rem; }
.sidebar.collapsed .sidebar-nav li a span { display: none; }

.nav-section-label {
  padding: 8px 14px 2px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  white-space: nowrap;
}
.sidebar.collapsed .nav-section-label { display: none; }

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #334155;
  font-size: 0.85rem;
  min-height: 52px;
}

.sidebar-user  { color: var(--sidebar-text); white-space: nowrap; overflow: hidden; font-size:0.85rem; }
.sidebar-version { font-size:0.65rem; color:#475569; }
.sidebar.collapsed .sidebar-user  { display: none; }
.sidebar.collapsed .sidebar-version { display: none; }

.btn-logout {
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  text-decoration: none;
}
.btn-logout:hover { color: #ef4444; background: rgba(239,68,68,0.1); }

/* ── Main Content ── */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.25s ease;
}
.main-content.sidebar-collapsed { margin-left: var(--sidebar-collapsed-width); }

.topbar {
  height: var(--topbar-height);
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.page-body { padding: 24px; flex: 1; }

/* ── Cards ── */
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-label { font-size: 0.8rem; color: #64748b; font-weight: 500; }
.stat-value { font-size: 1.8rem; font-weight: 700; color: #1e293b; line-height: 1; }

/* ── Person Card ── */
.person-card {
  background: #fff;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.person-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59,130,246,0.15);
  color: inherit;
  text-decoration: none;
}

.person-card.male { border-left: 4px solid var(--color-male); }
.person-card.female { border-left: 4px solid var(--color-female); }
.person-card.unknown { border-left: 4px solid var(--color-unknown); }
.person-card.deceased { opacity: 0.7; }

.person-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #94a3b8;
  overflow: hidden;
}

.person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-avatar.male-av { background: #dbeafe; color: var(--color-male); }
.person-avatar.female-av { background: #fce7f3; color: var(--color-female); }

.person-name { font-weight: 600; font-size: 0.95rem; }
.person-dates { font-size: 0.78rem; color: #64748b; }
.person-place { font-size: 0.78rem; color: #94a3b8; }

/* ── Status badges ── */
.badge-living { background: #dcfce7; color: #16a34a; }
.badge-deceased { background: #f3f4f6; color: #6b7280; }
.badge-unknown { background: #fef3c7; color: #d97706; }
.badge-male { background: #dbeafe; color: #1d4ed8; }
.badge-female { background: #fce7f3; color: #be185d; }

/* ── Tree View ── */
.tree-container {
  overflow: auto;
  min-height: 400px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.tree-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 100%;
}

.tree-generation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 8px 0;
  position: relative;
}

.tree-family-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.tree-couple {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.tree-couple:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.tree-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 14px;
  gap: 6px;
  min-width: 110px;
  max-width: 140px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}

.tree-person:hover { background: #f0f9ff; }
.tree-person.male { border-top: 3px solid var(--color-male); }
.tree-person.female { border-top: 3px solid var(--color-female); }
.tree-person.unknown { border-top: 3px solid var(--color-unknown); }
.tree-person.deceased { opacity: 0.65; }

.tree-person-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.tree-person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tree-person.male .tree-person-avatar { background: #dbeafe; color: var(--color-male); }
.tree-person.female .tree-person-avatar { background: #fce7f3; color: var(--color-female); }

.tree-person-name {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: #1e293b;
}

.tree-person-year {
  font-size: 0.7rem;
  color: #94a3b8;
  text-align: center;
}

.tree-marriage-connector {
  display: flex;
  align-items: center;
  padding: 0 6px;
  background: #fff5f5;
  border-left: 1px solid #fecdd3;
  border-right: 1px solid #fecdd3;
  color: #f43f5e;
  font-size: 0.8rem;
  cursor: default;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 28px;
}

.tree-marriage-year { font-size: 0.6rem; color: #fb7185; writing-mode: vertical-rl; }

.tree-children-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.tree-vert-line {
  width: 2px;
  height: 20px;
  background: #cbd5e1;
}

.tree-horiz-bar {
  height: 2px;
  background: #cbd5e1;
  align-self: stretch;
  min-width: 60px;
}

.tree-expand-btn {
  background: #fff;
  border: 1px dashed #94a3b8;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
  white-space: nowrap;
}

.tree-expand-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background: #eff6ff;
}

.tree-children-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 0 8px;
}

.tree-child-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tree-child-vert {
  width: 2px;
  height: 16px;
  background: #cbd5e1;
}

/* Solo person (no spouse) */
.tree-solo {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

/* ── Loading ── */
.tree-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: #94a3b8;
  font-size: 1rem;
  gap: 10px;
}

/* ── Tables ── */
.table-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  overflow: hidden;
}

.table-card .table { margin: 0; }
.table-card .table th { background: #f8fafc; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; border-bottom: 2px solid #e2e8f0; }
.table-card .table td { vertical-align: middle; font-size: 0.9rem; }

/* ── Section headers ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Forms ── */
.form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 28px;
}

.form-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Detail page ── */
.detail-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 0;
  overflow: hidden;
}

.detail-header {
  padding: 24px;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #fff;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.detail-header.male { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.detail-header.female { background: linear-gradient(135deg, #be185d, #ec4899); }
.detail-header.deceased { filter: grayscale(0.4); }

.detail-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.detail-avatar img { width: 100%; height: 100%; object-fit: cover; }

.detail-name { font-size: 1.6rem; font-weight: 700; margin-bottom: 4px; }
.detail-subtitle { opacity: 0.85; font-size: 0.9rem; }
.detail-body { padding: 24px; }

.detail-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.detail-item { flex: 1; min-width: 180px; }
.detail-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; font-weight: 600; margin-bottom: 2px; }
.detail-value { font-size: 0.95rem; color: #1e293b; }

/* ── Family unit on detail page ── */
.family-unit-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}

.family-unit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* ── Upcoming events ── */
.event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.event-item:last-child { border-bottom: none; }

.event-badge {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.1;
}

.event-badge.today { background: #fef3c7; color: #d97706; }
.event-badge.soon { background: #dcfce7; color: #16a34a; }
.event-badge.upcoming { background: #eff6ff; color: #2563eb; }

/* ── Statistics clickable cards ── */
.stat-card-link { transition: transform 0.12s, box-shadow 0.12s; cursor: pointer; }
.stat-card-link:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.10); }

.surname-row { border-radius: 6px; padding: 3px 6px; transition: background 0.12s; }
.surname-row:hover { background: #f1f5f9; }

.sidebar-person-row { transition: background 0.12s; }
.sidebar-person-row:hover { background: #f1f5f9; }

/* ── Login ── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
}

.login-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-logo {
  text-align: center;
  margin-bottom: 28px;
}

.login-logo i {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 8px;
  display: block;
}

.login-logo h2 { font-weight: 700; color: #1e293b; margin: 0; }
.login-logo p { color: #64748b; font-size: 0.9rem; margin: 4px 0 0; }

/* ── Birthday/anniversary list ── */
.month-section { margin-bottom: 24px; }
.month-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  padding: 8px 0;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 8px;
}

/* ── Tree controls ── */
.tree-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 16px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-content { margin-left: 0 !important; }
}

@media (max-width: 576px) {
  .page-body { padding: 16px; }
  .detail-header { flex-direction: column; }
}

/* ── Misc utilities ── */
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #94a3b8;
}

.empty-state i { font-size: 3rem; margin-bottom: 12px; display: block; }
.empty-state p { font-size: 1rem; margin: 0; }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Timeline ── */
.timeline-wrap { position: relative; padding-left: 24px; }
.timeline-wrap::before { content:''; position:absolute; left:7px; top:0; bottom:0; width:2px; background:#e2e8f0; }

.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin: 20px 0 8px -24px;
  padding-left: 24px;
}

.timeline-event {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
}

.timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  margin-left: -20px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #e2e8f0;
}

.timeline-content {
  flex: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

/* ── Print styles ── */
@media print {
  .sidebar, .topbar, .btn, form, .actions-card, details, #deleteForm { display: none !important; }
  .main-content { margin-left: 0 !important; }
  .detail-header { background: #1e293b !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .table-card, .detail-card, .form-card { box-shadow: none; border: 1px solid #e2e8f0; }
  body { background: #fff; }
}

/* ── Tiny button variant ── */
.btn-xs { padding: 2px 7px !important; font-size: 0.72rem !important; }

/* ── Clickable stat cards ── */
.stat-link {
  display: flex;
  color: inherit;
  transition: transform 0.12s, box-shadow 0.12s;
}
.stat-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  color: inherit;
}
.stat-link:hover .stat-value { color: #6366f1; }
