@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; box-sizing: border-box; }

/* Design tokens — the ~17 colors that repeat 3+ times across both pages AND
   are genuine UI chrome, plus the 8 border-radius values in use. Colors used
   only 1-2 times, or that only ever appear as a per-creator `color:` data
   field (each creator's individual brand color — #0891B2, #16A34A [uppercase
   only], #7C3AED, #9333EA, #C9960A, #DC2626 — read dynamically via
   `${item.color}`), are intentionally left as literals: tokenizing a
   one-off adds indirection with no payoff, and tokenizing a data value would
   collapse distinct creators' colors into one shared token — a visual
   regression, not a cleanup. A spacing scale is defined here too, but (unlike
   colors and radii) NOT retrofitted across every existing padding/margin/gap
   in the two page files — that would be a much larger, higher-risk mechanical
   change for lower payoff than the colors, since spacing values here are
   per-component judgment calls, not a single value that needs one source of
   truth the way a brand color does. New/refactored code should use these. */
:root {
  /* Neutrals */
  --color-text-primary: #0f172a;
  --color-text-secondary: #64748b;
  --color-text-secondary-dark: #475569;
  --color-text-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-bg-subtle: #f8fafc;
  --color-bg-subtle-alt: #f1f5f9;

  /* Brand accent */
  --color-accent-gold: #C9960A;

  /* Status: success (confirmed / approved) */
  --color-success-text: #166534;
  --color-success-accent: #16a34a;
  --color-success-bg: #f0fdf4;
  --color-success-bg-strong: #dcfce7;
  --color-success-border: #bbf7d0;

  /* Status: warning (pending / awaiting) */
  --color-warning-text: #92400e;
  --color-warning-bg: #fffbeb;
  --color-warning-bg-strong: #fef3c7;
  --color-warning-border: #fde68a;

  /* Spacing scale (px) — matches values already in use; see note above */
  --space-1: 4px;
  --space-2: 6px;
  --space-3: 8px;
  --space-4: 10px;
  --space-5: 12px;
  --space-6: 14px;
  --space-7: 16px;

  /* Border-radius scale — all 8 distinct values in use today */
  --radius-xs: 4px;
  --radius-sm: 5px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-2xl: 12px;
  --radius-3xl: 14px;
  --radius-full: 9999px;
}

.nav-link { padding: 0 14px; height: 56px; display: inline-flex; align-items: center; font-size: 14px; color: var(--color-text-secondary); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color 0.1s; }
.nav-link:hover { color: var(--color-text-primary); }
.nav-link.active { color: var(--color-text-primary); font-weight: 600; border-bottom-color: var(--color-accent-gold); }

.panel-wrap { width: 0; flex-shrink: 0; transition: width 0.3s cubic-bezier(0.4,0,0.2,1); overflow: hidden; }
.panel-wrap.open { width: 460px; border-left: 1px solid var(--color-border); }

.tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--radius-full); font-size: 11px; font-weight: 500; line-height: 1.6; }
.badge-strong { background: var(--color-warning-bg-strong); color: var(--color-warning-text); }
.badge-good { background: var(--color-bg-subtle-alt); color: var(--color-text-secondary-dark); }

.filter-pill { padding: 6px 14px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500; cursor: pointer; border: none; background: var(--color-bg-subtle-alt); color: var(--color-text-secondary-dark); transition: background 0.1s; }
.filter-pill.active { background: var(--color-text-primary); color: white; }
.filter-pill:hover:not(.active) { background: var(--color-border); }

.subtab { padding: 10px 0; margin-right: 28px; font-size: 14px; font-weight: 500; border-bottom: 2px solid transparent; color: var(--color-text-secondary); cursor: pointer; white-space: nowrap; }
.subtab.active { color: var(--color-text-primary); border-bottom-color: var(--color-accent-gold); }
.subtab:hover:not(.active) { color: #334155; }

.imsg-btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 14px; border-radius: 10px; background: #007AFF; color: white; font-size: 13px; font-weight: 500; cursor: pointer; border: none; text-align: left; text-decoration: none; transition: background 0.1s; }
.imsg-btn:hover { background: #0062cc; }

.slot-circle { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; transition: all 0.2s; overflow: hidden; }
.slot-circle.empty { border: 2px dashed #cbd5e1; background: white; color: var(--color-text-muted); }

.panel-scroll { width: 100%; height: 100%; overflow-y: auto; }
.panel-scroll::-webkit-scrollbar { width: 4px; }
.panel-scroll::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: var(--radius-xs); }

/* Mobile: the detail panel becomes a full-screen overlay instead of a
   460px sidebar squeezed next to the card grid, and non-functional nav
   decoration (search box, "Reports" tab) gives way to space the real
   nav items need to stay on one line without horizontal scroll. */
@media (max-width: 768px) {
  .panel-wrap.open {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-left: none;
    z-index: 60;
    background: white;
  }
  .hide-mobile { display: none !important; }
  .nav-link { padding: 0 8px; }
  .identity-text { font-size: 12px !important; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
}
