/* ==========================================================================
   Astro Reveal — Warm, Simple, High-Contrast Theme (AstroTalk-Inspired)
   Core Palette:
     Brand Yellow (Ripe Lemon): #F0DF20 (hover: #E5D114, soft tint: #FFFBEB)
     Deep Charcoal (Karaka):    #1A1208 (primary text, dark accents, footer)
     Pure White Cards:          #FFFFFF
     Warm Off-White Canvas:     #F8F7F4
   ========================================================================== */

:root,
html.light {
  --brand-yellow: #f0df20;
  --brand-yellow-hover: #e5d114;
  --brand-yellow-soft: #fffbe6;
  --brand-yellow-border: #ebda38;
  --brand-amber: #a16207;

  --bg: #f8f7f4;
  --surface: #ffffff;
  --surface-lowest: #f3f1ec;
  --surface-low: #ffffff;
  --surface-card: #ffffff;
  --surface-high: #fffbe6;
  --surface-highest: #fef3c7;

  --border: #ddd8cc;
  --border-subtle: #eae6dd;

  --text: #1a1208;
  --text-muted: #524b42;
  --text-dim: #7d756a;

  --gold: #a16207;
  --gold-container: #f0df20;
  --on-gold: #1a1208;
  --on-gold-container: #1a1208;
  --lime: #c49b00;
  --mint: #854d0e;
  --mint-white: #1a1208;
  --lavender: #9a6b00;
  --lavender-dim: #fffbe6;

  --success: #00875a;
  --success-bg: #ecfdf5;
  --danger: #dc2626;
  --danger-bg: #fef2f2;

  --shadow-sm: 0 1px 3px rgba(26, 18, 8, 0.05);
  --shadow-md: 0 2px 10px rgba(26, 18, 8, 0.06);
  --shadow-xl: 0 6px 20px rgba(26, 18, 8, 0.07);
  --gold-glow: 0 2px 10px rgba(240, 223, 32, 0.35);

  --radius-sm: 0.6rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.1rem;
  --font-serif: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Optional Clean Dark Mode (Charcoal + Signature Yellow) */
html.dark {
  --brand-yellow: #f0df20;
  --brand-yellow-hover: #f5e642;
  --brand-yellow-soft: rgba(240, 223, 32, 0.14);
  --brand-yellow-border: rgba(240, 223, 32, 0.42);
  --brand-amber: #f0df20;

  --bg: #141210;
  --surface: #1e1b18;
  --surface-lowest: #191613;
  --surface-low: #1e1b18;
  --surface-card: #24201c;
  --surface-high: #2d2820;
  --surface-highest: rgba(240, 223, 32, 0.22);

  --border: #3a342c;
  --border-subtle: #2b2620;

  --text: #faf8f4;
  --text-muted: #c8c1b6;
  --text-dim: #968e82;

  --gold: #f0df20;
  --gold-container: #f0df20;
  --on-gold: #1a1208;
  --on-gold-container: #1a1208;
  --lime: #f0df20;
  --mint: #f7eb72;
  --mint-white: #faf8f4;
  --lavender: #e5d13b;
  --lavender-dim: rgba(240, 223, 32, 0.14);

  --success: #34d399;
  --success-bg: rgba(16, 185, 129, 0.14);
  --danger: #f87171;
  --danger-bg: rgba(239, 68, 68, 0.14);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 10px 26px rgba(0, 0, 0, 0.38);
  --gold-glow: 0 4px 14px rgba(240, 223, 32, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg);
}

a {
  color: var(--brand-amber);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--text);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }

.serif { font-family: var(--font-serif); letter-spacing: -0.02em; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.gold { color: var(--gold); }
.lavender { color: var(--lavender); }

/* ==================== HEADER ==================== */
.topbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.topbar-inner {
  height: 68px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1208;
  box-shadow: var(--shadow-sm);
}

.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}
.brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-link:hover {
  color: var(--text);
  background: var(--surface-lowest);
}
.nav-link.active {
  background: var(--brand-yellow);
  color: #1a1208;
  font-weight: 700;
}

.topbar-actions { display: flex; align-items: center; gap: 0.75rem; }

.profile-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0.75rem 0.28rem 0.3rem;
  border-radius: 999px;
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.profile-pill:hover {
  border-color: var(--border);
  background: var(--brand-yellow-soft);
}

.profile-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: #1a1208;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.profile-pill-meta { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.profile-pill-name { font-size: 12px; font-weight: 600; color: var(--text); }
.profile-pill-sign { font-size: 11px; color: var(--text-dim); }
.icon-sm { font-size: 18px !important; }

.mobile-nav { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .profile-pill-meta { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--surface);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -2px 12px rgba(26, 18, 8, 0.06);
    padding: 0.45rem 0.25rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 500;
    padding: 0.35rem 0;
    cursor: pointer;
  }
  .mobile-nav-item.active {
    color: var(--text);
    font-weight: 700;
  }
  .mobile-nav-item.active .material-symbols-outlined {
    background: var(--brand-yellow);
    color: #1a1208;
    border-radius: 999px;
    padding: 0.12rem 0.65rem;
  }
}

/* ==================== MAIN CONTAINER ==================== */
.main-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 3.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .topbar-inner { padding: 0 1rem; }
  .main-container { padding: 1.25rem 1rem 3rem; }
}

/* ==================== HERO STRIP ==================== */
.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-left { max-width: 680px; }

.status-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-yellow-soft);
  border: 1px solid var(--brand-yellow-border);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.status-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin: 0.2rem 0 0.35rem;
  color: var(--text);
}

.hero-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}

/* Streak Widget */
.streak-widget {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}
.streak-item { display: flex; align-items: center; gap: 0.7rem; }
.streak-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-yellow-soft);
  border: 1px solid var(--brand-yellow-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-amber);
}
.streak-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
}
.streak-val {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.streak-divider { width: 1px; height: 34px; background: var(--border-subtle); }

/* ==================== MILESTONE PROGRESSION ==================== */
.milestone-box {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.milestone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.milestone-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.progress-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 900px) { .progress-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .progress-strip { grid-template-columns: 1fr; } }

.progress-step {
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.progress-step:hover:not(.locked) {
  background: var(--surface);
  border-color: var(--brand-yellow-border);
  transform: translateY(-1px);
}
.progress-step.active {
  background: var(--brand-yellow-soft);
  border-color: var(--brand-yellow-border);
}
.progress-step.locked { opacity: 0.55; cursor: not-allowed; }

.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-step.done .step-num,
.progress-step.active .step-num {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #1a1208;
}
.step-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.step-label {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-top: 0.2rem;
}
.step-status {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section Heading Row */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-amber);
  display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin: 0.15rem 0 0;
  color: var(--text);
}

/* ==================== TODAY SPLIT LAYOUT ==================== */
.today-split {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 1.25rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}
.today-split > *,
.two-col > * {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .today-split { grid-template-columns: 1fr; }
}

.pillar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
}

.pillar-item {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}
.pillar-item:hover:not(.locked) {
  border-color: var(--brand-yellow-border);
  box-shadow: var(--shadow-md);
}
.pillar-item.active {
  background: var(--brand-yellow-soft);
  border-color: var(--brand-yellow);
  box-shadow: var(--shadow-md);
}
.pillar-item.locked {
  opacity: 0.58;
  cursor: not-allowed;
}

.pillar-detail-panel {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  min-height: 400px;
  animation: fadeIn 0.18s ease;
}

.pillar-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  gap: 0.75rem;
  padding: 2rem;
}

.stack { display: flex; flex-direction: column; gap: 1rem; }

.expand-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s ease;
}
.expand-card:hover:not(.locked) { border-color: var(--border); }
.expand-card.open { border-color: var(--brand-yellow-border); }
.expand-card.locked { opacity: 0.6; }

.expand-header {
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.expand-card.locked .expand-header { cursor: not-allowed; }

.expand-left { display: flex; align-items: center; gap: 0.85rem; flex: 1; min-width: 0; overflow: hidden; }

.expand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-yellow-soft);
  border: 1px solid var(--brand-yellow-border);
  color: var(--brand-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-item.active .expand-icon {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #1a1208;
}
.expand-icon .material-symbols-outlined { font-size: 22px; }

.expand-eyebrow-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.expand-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.expand-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0.1rem 0 0;
  color: var(--text);
}
.expand-preview {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.expand-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-lowest);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.expand-header:hover .expand-toggle-pill {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #1a1208;
}
.chevron { transition: transform 0.2s ease; }
.expand-card.open .chevron { transform: rotate(180deg); }

@media (max-width: 640px) {
  .expand-header { padding: 1rem; flex-direction: column; align-items: flex-start; }
  .expand-toggle-pill { align-self: flex-end; }
}

.expand-body {
  display: none;
  padding: 0 1.4rem 1.4rem;
  border-top: 1px solid var(--border-subtle);
  animation: fadeIn 0.18s ease;
}
.expand-card.open .expand-body { display: block; padding-top: 1.2rem; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== CONSOLIDATED BANNER & MATRIX ==================== */
.insight-banner {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--brand-yellow-soft);
  border: 1px solid var(--brand-yellow-border);
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}
.insight-banner-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: #1a1208;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.matrix-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 1rem; }
@media (max-width: 900px) { .matrix-grid { grid-template-columns: 1fr; } }

.matrix-panel {
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

/* ==================== BADGES ==================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.badge-gold {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #1a1208;
}
.badge-lavender {
  background: var(--brand-yellow-soft);
  border-color: var(--brand-yellow-border);
  color: var(--brand-amber);
}
.badge-success {
  background: var(--success-bg);
  border-color: transparent;
  color: var(--success);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary {
  background: var(--brand-yellow);
  color: #1a1208;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover:not(:disabled) {
  background: var(--brand-yellow-hover);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--brand-yellow-soft);
  border-color: var(--brand-yellow-border);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-muted);
}
.btn-ghost:hover:not(:disabled) {
  color: var(--text);
  background: var(--surface-lowest);
  border-color: var(--border);
}
.btn-sm { padding: 0.42rem 0.9rem; font-size: 12px; }

.icon-btn {
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.icon-btn:hover { color: var(--text); border-color: var(--border); }
.icon-btn.active {
  color: #1a1208;
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
}

.text-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--brand-amber); }

.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.action-group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

/* ==================== RATINGS ACCORDION ==================== */
.ratings-list { display: flex; flex-direction: column; gap: 0.55rem; }
.rating-item {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.rating-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  font-family: inherit;
}
.rating-left { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 13px; }
.rating-bar-wrap { display: flex; align-items: center; gap: 0.6rem; }
.rating-bar {
  width: 84px;
  height: 7px;
  border-radius: 999px;
  background: var(--border-subtle);
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #e5a910, #f0df20);
  border-radius: 999px;
}
.rating-score { font-size: 12px; font-weight: 700; color: var(--text); min-width: 32px; text-align: right; }
.rating-detail { display: none; padding: 0 0.85rem 0.75rem; font-size: 13px; color: var(--text-muted); }
.rating-item.open .rating-detail { display: block; }

.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }

.sub-box {
  background: var(--surface-lowest);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--border-subtle);
}
.sub-box h4 {
  margin: 0 0 0.45rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-amber);
}
.sub-box ul { margin: 0; padding-left: 1.1rem; font-size: 13px; color: var(--text-muted); }
.sub-box li { margin-bottom: 0.3rem; }

.lucky-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }
.lucky-chip {
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
}

/* ==================== TAROT ==================== */
.tarot-slots { display: flex; justify-content: center; gap: 0.9rem; margin: 1rem 0 1.2rem; flex-wrap: wrap; }
.tarot-slot {
  width: 94px;
  height: 130px;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--border);
  background: var(--surface-lowest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}
.tarot-slot.filled {
  border-style: solid;
  border-color: var(--brand-yellow);
  background: linear-gradient(155deg, #2b2316, #1a1208);
  color: #f0df20;
  box-shadow: var(--shadow-md);
}
.tarot-deck { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.65rem; margin: 1rem 0; }
.tarot-back {
  width: 74px;
  height: 108px;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, #2b2316, #1a1208);
  border: 1.5px solid #d4bc00;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0df20;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tarot-back:hover:not(:disabled) {
  transform: translateY(-5px);
  box-shadow: var(--gold-glow);
}
.tarot-back.picked { opacity: 0.22; pointer-events: none; }

.tarot-reveal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin: 1rem 0; }
@media (max-width: 700px) { .tarot-reveal-grid { grid-template-columns: 1fr; } }

.tarot-card {
  background: var(--surface-lowest);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tarot-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tarot-card.face-down {
  background: linear-gradient(155deg, #2b2316, #1a1208);
  border-color: #d4bc00;
  color: #faf8f4;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.tarot-card.face-down .muted { color: #d6cfc2; }
.tarot-glyph { font-size: 1.9rem; color: var(--brand-amber); margin-bottom: 0.3rem; }
.tarot-card.face-down .tarot-glyph { color: #f0df20; }
.tarot-card h4 { font-family: var(--font-serif); margin: 0.2rem 0; font-size: 17px; }
.tarot-meaning-full {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}

.reversed-art { display: inline-block; transform: rotate(180deg); }
.tarot-gentle-note {
  background: var(--brand-yellow-soft);
  border: 1px solid var(--brand-yellow-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-top: 0.85rem;
  font-size: 13px;
  color: var(--text);
}
.tarot-astro-link {
  margin-top: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--surface-lowest);
  border-left: 3px solid var(--brand-yellow);
  font-size: 13px;
  color: var(--text-muted);
}
.tarot-do-line {
  margin-top: 0.45rem;
  font-size: 12.5px;
  color: var(--brand-amber);
  font-weight: 600;
}
.tarot-orientation-note {
  margin-top: 0.4rem;
  font-size: 12px;
  font-style: italic;
  color: var(--text-dim);
}

/* ==================== GITA ==================== */
.gita-box {
  background: var(--brand-yellow-soft);
  border-left: 4px solid var(--brand-yellow);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin: 0.75rem 0 1rem;
}
.sanskrit-text {
  font-family: 'Noto Sans Devanagari', var(--font-serif), sans-serif;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.7;
}
.gita-translit {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.65;
}
.gita-speaker {
  display: block;
  margin-top: 0.4rem;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 700;
  color: var(--brand-amber);
}
.gita-review-note {
  margin-top: 0.55rem;
  font-size: 11.5px;
  color: var(--text-dim);
}
.gita-why-box {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

/* ==================== CHIPS ==================== */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.18s ease;
}
.chip:hover { border-color: var(--brand-amber); background: var(--brand-yellow-soft); }
.chip.active {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #1a1208;
  font-weight: 700;
}

/* ==================== CARDS & GRIDS ==================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.horoscope-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.horoscope-card:hover {
  border-color: var(--brand-yellow-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.horoscope-card-top { display: flex; align-items: flex-start; justify-content: space-between; }

/* ==================== CHAT ==================== */
.persona-switcher {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.persona-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-lowest);
  font-size: 12px;
}

.chat-split { display: grid; grid-template-columns: 300px 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 960px) { .chat-split { grid-template-columns: 1fr; } }

.chat-sidebar {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.chat-session-card {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.chat-session-card:hover { border-color: var(--border); }
.chat-session-card.active {
  background: var(--brand-yellow-soft);
  border-color: var(--brand-yellow-border);
}

.chat-shell {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  min-height: 520px;
  max-height: 72vh;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.chat-header {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: var(--surface-lowest);
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.msg {
  max-width: 82%;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.55;
}
.msg-ai { align-self: flex-start; background: var(--surface-lowest); border: 1px solid var(--border-subtle); }
.msg-user { align-self: flex-end; background: var(--brand-yellow); color: #1a1208; font-weight: 600; }
.msg-actions { display: flex; gap: 0.45rem; margin-top: 0.5rem; }
.msg-text { white-space: pre-wrap; word-break: break-word; }
.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12.5px;
  color: var(--text-dim);
  font-style: italic;
}
.helpline-box {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.helpline-btn { text-decoration: none; }
.chat-composer {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-lowest);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.chat-input-row { display: flex; gap: 0.55rem; }
.chat-disclaimer {
  padding: 0.5rem 1rem;
  font-size: 11.5px;
  color: var(--text-dim);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-lowest);
}
.chat-limit-banner {
  background: var(--danger-bg);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 12.5px;
}

/* ==================== INPUTS & FORMS ==================== */
.input, select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-amber);
  box-shadow: 0 0 0 3px rgba(240, 223, 32, 0.35);
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text-muted); }

.field-error { color: var(--danger); font-size: 12px; margin-top: 0.25rem; display: block; }
.form-error-banner {
  background: var(--danger-bg);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 13px;
  margin-bottom: 0.9rem;
}
.astro-note-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: var(--brand-yellow-soft);
  border: 1px solid var(--brand-yellow-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.95rem;
  margin-bottom: 1rem;
  font-size: 13px;
  color: var(--text);
}

.why-expander {
  margin-top: 1rem;
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.why-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
}
.why-body { padding: 0 1rem 0.85rem; font-size: 13px; color: var(--text-muted); }
.why-body ul { margin: 0; padding-left: 1.15rem; }
.why-body li { margin-bottom: 0.35rem; }

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.35rem;
}
.checkbox-inline input { width: auto; accent-color: #1a1208; }

/* ==================== CALENDAR & SETTINGS ==================== */
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.45rem; margin-top: 0.9rem; }
.cal-weekday { text-align: center; font-size: 11px; font-weight: 700; color: var(--text-dim); padding-bottom: 0.3rem; }
.cal-day {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.cal-day.has-reveal { cursor: pointer; border-color: var(--brand-yellow-border); background: var(--brand-yellow-soft); }
.cal-day.has-reveal:hover { border-color: var(--brand-yellow); }
.cal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-amber); margin-top: 3px; }

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.switch-row:last-child { border-bottom: none; }

/* ==================== FOOTER (AstroTalk-Style Dark Charcoal) ==================== */
.site-footer {
  background: #1a1208;
  color: #d6d1c7;
  padding: 1.35rem 1.5rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.footer-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 12.5px;
  color: #c8c1b6;
}
.footer-links { display: flex; gap: 1.15rem; }
.site-footer .text-link { color: #f0df20; font-weight: 500; }
.site-footer .text-link:hover { color: #ffffff; }

/* ==================== MODAL & TOAST ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(26, 18, 8, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop.hidden { display: none; }
.modal-card {
  width: 100%;
  max-width: 520px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  box-shadow: var(--shadow-xl);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.modal-title { font-family: var(--font-serif); margin: 0; font-size: 20px; font-weight: 700; }

.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  background: #1a1208;
  color: #f0df20;
  border: 1px solid rgba(240, 223, 32, 0.35);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
}
.toast.hidden { display: none; }

/* ==================== SIGN-IN SCREEN ==================== */
.auth-screen {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--brand-yellow);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.auth-actions { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.4rem; }
.auth-btn-google { width: 100%; padding: 0.78rem 1.2rem; font-size: 14px; }
.auth-btn-guest { width: 100%; padding: 0.72rem 1.2rem; font-size: 14px; }
.auth-legal { margin-top: 1.25rem; font-size: 12px; color: var(--text-dim); }
.hidden-auth { display: none !important; }

/* ==================== PLACE SEARCH AUTOCOMPLETE ==================== */
.place-search-wrap { position: relative; }
.place-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 80;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-height: 220px;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.place-results.hidden { display: none; }
.place-option {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text);
  padding: 0.65rem 0.85rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.place-option:last-child { border-bottom: none; }
.place-option:hover { background: var(--brand-yellow-soft); }
.place-option-meta { font-size: 11px; color: var(--text-dim); }
.place-selected-pill {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}
.place-attribution { display: block; margin-top: 0.35rem; font-size: 11px; color: var(--text-dim); }

/* ==================== COMING SOON & DISCLAIMER ==================== */
.coming-soon-card {
  max-width: 520px;
  margin: 1.5rem auto;
  text-align: center;
  padding: 2.25rem 1.65rem;
}
.today-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  padding: 0.4rem 0 0;
}
.nav-soon-dot { font-size: 9px; opacity: 0.7; margin-left: 3px; }

/* ==================== PHONE RESPONSIVE (360px - 414px) ==================== */
@media (max-width: 600px) {
  .topbar-inner { height: 60px; padding: 0 0.9rem; gap: 0.6rem; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 9px; }
  .main-container { padding: 1.1rem 0.9rem 2.5rem; gap: 1.15rem; }
  .hero-title { font-size: 24px; }
  .hero-subtitle { font-size: 13.5px; }
  .streak-widget { width: 100%; justify-content: flex-start; padding: 0.75rem 1rem; }
  .pillar-item { padding: 0.9rem 1rem; }
  .pillar-detail-panel { padding: 1.1rem; min-height: 280px; }
  .card { padding: 1.1rem; }
  .auth-card { padding: 1.65rem 1.25rem; }
  .modal-card { padding: 1.15rem; }
  .tarot-slots { gap: 0.55rem; }
  .tarot-slot { width: 90px; height: 118px; font-size: 11px; padding: 0.35rem; }
  .tarot-deck { gap: 0.5rem; }
  .tarot-back { width: 64px; height: 92px; }
  .action-bar { flex-direction: column; align-items: stretch; }
  .action-bar .btn-primary { width: 100%; }
}

/* ==================== OWNER ADMIN STATS (/admin) ==================== */
body.admin-mode {
  padding-bottom: 1.5rem !important;
}
.admin-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.admin-wrap > * {
  min-width: 0;
  max-width: 100%;
}
.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
@media (max-width: 900px) {
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
.admin-kpi {
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.admin-kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.admin-kpi-val {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
.admin-kpi-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.admin-funnel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.admin-funnel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 0.25rem;
}
.admin-funnel-label { font-weight: 600; color: var(--text); }
.admin-funnel-nums { font-size: 13px; color: var(--text); }
.admin-funnel-bar-bg {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.admin-funnel-bar {
  height: 100%;
  border-radius: 999px;
  background: var(--brand-yellow);
  transition: width 0.25s ease;
}

.admin-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
.admin-table th,
.admin-table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}
.admin-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.admin-table th.num,
.admin-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-feedback-item {
  background: var(--surface-lowest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}
.admin-feedback-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
