/* Shared Gameday brand layer. Keep chart and financial status colors semantic.
   Logo and neutral palette reference: https://gamedaymenshealth.com/ (2026-11-09). */
:root {
  --bg: #f2f1ef;
  --panel: #fff;
  --ink: #202020;
  --muted: #64625f;
  --line: #dddad8;
  --line-strong: #c8c5c1;
  --black: #171717;
  --charcoal: #2d2d2d;
  --brand: #202020;
  --brand-soft: #ebeae8;
  --red: #d92927;
  --red-dark: #a92322;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body, .staff-intake, .brand-auth {
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; }
.sidebar { background: #171717; padding: 30px 18px 22px; gap: 30px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 0 12px 24px; border-bottom: 1px solid #3b3b3b; }
.brand-logo { display: block; width: 169px; max-width: 100%; height: auto; flex-shrink: 0; }
.brand-logo-dark { filter: brightness(0); }
.brand .brand-workspace { color: #c4c2be; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; margin: 0; }
.nav { gap: 6px; }
.nav-section-title { color: #a6a39e; font-size: 10px; letter-spacing: .15em; font-weight: 600; }
.nav-separator { background: #383838; margin: 13px 12px; }
.nav a, .logout-form button { border-radius: 24px; padding: 12px 15px; font-size: 14px; font-weight: 500; color: #dcdad6; transition: background .15s ease, color .15s ease; }
.nav a:hover, .logout-form button:hover { background: #303030; color: #fff; }
.nav a.active { background: #f2f1ef; color: #171717; font-weight: 700; }
.main { padding: 30px; }
.topbar { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px; }
.topbar h1 { font-size: 32px; font-weight: 700; letter-spacing: -.8px; }
h2, h3 { letter-spacing: -.3px; }
.breadcrumbs { color: var(--muted); }
.breadcrumbs a, .text-link, .back-nav-button { color: var(--brand); }
.panel, .metric-card, .decision-band, .empty-state { border-radius: 14px; box-shadow: 0 3px 15px #20202004; }
.panel, .metric-card { border-color: var(--line); }
.panel.issue-panel.positive, .metric-card.positive { border-color: var(--green-line); }
.panel.issue-panel.warning, .panel.model-status-panel.warning, .metric-card.warning { border-color: #efd39d; }
.panel.issue-panel.danger, .metric-card.danger { border-color: #efbbb4; }
.metric-card.info { border-color: var(--info-line); }
.table-wrap { border-radius: 10px; }
table thead th { background: #f5f4f2; color: #565552; }
.primary-button, .secondary-button, .back-nav-button, .intake-primary, .intake-secondary { border-radius: 999px; font-weight: 600; }
.primary-button, .guide-actions .primary-button, .intake-primary { background: var(--brand); color: #fff; }
.primary-button:hover, .guide-actions .primary-button:hover, .intake-primary:hover { background: #404040; }
.secondary-button:hover, .back-nav-button:hover { border-color: #9b9893; background: #f2f1ef; }
.back-nav-button span { background: #e9e7e4; color: var(--brand); }
.segmented-control { border-color: var(--line); background: #eeedea; border-radius: 12px; }
.segmented-control button, .metric-toggle a { border-radius: 9px; font-weight: 600; }
.segmented-control button.active, .metric-toggle a.active, .products-page .segmented-control a.active { background: var(--brand); color: #fff; }
.info-button { color: #64625f; }
.eyebrow, .guide-eyebrow { color: #565552; }
.start-guide { --guide-ink: #202020; --guide-muted: #64625f; --guide-line: #dddad8; }
.start-guide .panel { border-radius: 14px; }
.start-guide .guide-hero { border-top: 4px solid #202020; background: #fff; }
.roas-page { --roas-ink: #202020; --roas-muted: #64625f; }
.roas-payback-objective { background: #f5f4f2; border-radius: 12px; }
.campaigns-page, .products-page, .receivables-page { color: var(--ink); }
.campaigns-page .panel { border-color: var(--line); border-radius: 14px; }
.campaigns-page select, .campaigns-filters button { color: var(--ink); }
.campaigns-intro, .campaigns-heading p, .campaigns-period-note { color: var(--muted); }
.campaigns-tracking { background: #f5f4f2; border-color: var(--line); }
.receivables-page table thead th, .receivables-history table thead th:first-child { background: #f5f4f2; color: #565552; }
.intake-staff-header { background: #171717; border-color: #303030; }
.intake-staff-header .intake-link-button { color: #efede9; }
.intake-card { border-color: var(--line); border-radius: 14px; }
.intake-card h2, .intake-card h3, .intake-clinic-name { color: var(--ink); }
.intake-heading p, .intake-date, .intake-column-label { color: var(--muted); }
.brand-auth .login, .brand-auth main { border-color: var(--line); border-radius: 18px; box-shadow: 0 18px 60px #2020200c; }
.brand-auth .brand-logo { margin-bottom: 30px; width: 190px; }
.brand-auth p, .brand-auth label, .brand-auth .cancel { color: var(--muted); }
.brand-auth input { border-color: var(--line-strong); border-radius: 8px; }
.brand-auth button, .brand-auth .button { background: var(--brand); color: #fff; border-radius: 999px; font-family: inherit; }
:is(a, button, input, select, textarea, summary):focus-visible { outline-color: #5d716c; outline-offset: 3px; }
@media (max-width: 760px) {
  .main { padding: 18px; }
  .sidebar { padding: 22px 18px; gap: 20px; }
  .brand { flex-direction: row; align-items: center; flex-wrap: wrap; padding: 0 8px 18px; gap: 16px; }
  .brand-logo { width: 151px; }
  .topbar h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav a, .logout-form button { transition: none; }
}
