/* ═══════════════════════════════════════════════════
   BAGRES FC — Design System
   Estilo: principal-clean-novo (Bebas Neue + Outfit)
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── TOKENS ── */
:root {
  --bg:          #080d1a;
  --bg-2:        #0c1425;
  --surface:     rgba(255, 255, 255, 0.045);
  --surface-h:   rgba(255, 255, 255, 0.09);
  --surface-2:   rgba(12, 22, 42, 0.96);
  --border:      rgba(255, 255, 255, 0.08);
  --border-h:    rgba(74, 222, 128, 0.28);
  --text:        #f0f4ff;
  --muted:       #7a90b0;
  --accent:      #4ade80;
  --accent-2:    #22d3ee;
  --accent-glow: rgba(74, 222, 128, 0.22);
  --danger:      #f87171;
  --warning:     #fbbf24;
  --success:     #4ade80;
  --radius:      18px;
  --radius-sm:   12px;
  --max:         1240px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --shadow:       0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-sm:    0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ── LIGHT MODE ── */
body[data-theme="light"] {
  --bg:        #f2f6fb;
  --bg-2:      #e8f0f9;
  --surface:   rgba(255, 255, 255, 0.80);
  --surface-h: rgba(255, 255, 255, 0.98);
  --surface-2: rgba(255, 255, 255, 0.98);
  --border:    rgba(71, 85, 105, 0.12);
  --border-h:  rgba(30, 167, 92, 0.35);
  --text:      #0f172a;
  --muted:     #5f7189;
  --accent:    #1ea75c;
  --accent-2:  #0f86c9;
  --accent-glow: rgba(30, 167, 92, 0.18);
  --danger:    #dc2626;
  --warning:   #d97706;
  --success:   #1ea75c;
  --shadow:    0 24px 50px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* ── PITCH BACKGROUND (dark) ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%,  rgba(74, 222, 128, .10) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 90%, rgba(34, 211, 238, .08) 0%, transparent 60%),
    linear-gradient(170deg, #080d1a 0%, #0c1627 50%, #060b17 100%);
  pointer-events: none;
  z-index: 0;
  transition: opacity .3s;
}

body[data-theme="light"]::before {
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%,  rgba(30, 167, 92, .08) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 90%, rgba(15, 134, 201, .06) 0%, transparent 60%),
    linear-gradient(170deg, #f4f8fc 0%, #e8f0f9 100%);
}

/* Grid overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(74, 222, 128, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, .025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
}

body[data-theme="light"]::after { display: none; }

/* All content above backgrounds */
nav, main, header, footer, section, .app-shell,
.login-screen, .page-shell, .toast {
  position: relative; z-index: 1;
}

/* ── LAYOUT ── */
.container,
.page-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 64px;
}

/* ── BUTTONS ── */
.btn, .primary-btn, .ghost-btn, .menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 700; font-size: .9rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
  white-space: nowrap; text-decoration: none;
}
.btn:hover, .primary-btn:hover, .ghost-btn:hover, .menu-btn:hover {
  transform: translateY(-2px);
}

.btn-primary, .primary-btn {
  background: var(--accent);
  color: #060d16;
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:hover, .primary-btn:hover {
  box-shadow: 0 14px 40px rgba(74, 222, 128, .38);
}

.btn-ghost, .ghost-btn, .menu-btn {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover, .ghost-btn:hover, .menu-btn:hover {
  background: var(--surface-h);
  border-color: var(--border-h);
}

.menu-btn.active {
  background: rgba(74, 222, 128, .14);
  border-color: rgba(74, 222, 128, .35);
  color: var(--accent);
}

.btn-whatsapp {
  background: #25d366; color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, .28);
}
.btn-whatsapp:hover {
  background: #1ebe58;
  box-shadow: 0 14px 36px rgba(37, 211, 102, .4);
}

.full-width { width: 100%; }
.full-line { grid-column: 1 / -1; }
.hidden { display: none !important; }
.align-end { align-self: end; }

/* ── GLASS CARD ── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  transition: border-color .22s, transform .22s;
}
.glass:hover { border-color: var(--border-h); }

/* ── NAV (landing) ── */
.top-nav {
  position: sticky; top: 16px; z-index: 100;
  margin: 16px 0;
  padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(8, 13, 26, 0.78);
  border: 1px solid var(--border);
  border-radius: 22px;
  backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: var(--shadow-sm);
}

body[data-theme="light"] .top-nav {
  background: rgba(242, 246, 251, 0.88);
}

.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .06em;
  color: var(--text);
}

.brand-logo {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center;
  box-shadow: 0 0 20px var(--accent-glow);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-logo-fallback { font-size: 1.4rem; line-height: 1; }

.brand-sub { color: var(--muted); font-family: var(--font-body); font-size: .78rem; font-weight: 500; letter-spacing: 0; display: block; }

.top-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.top-links a { transition: color .2s; }
.top-links a:hover { color: var(--accent); }

.top-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ── BADGE (status) ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 0 12px;
  border-radius: 999px; font-size: .78rem; font-weight: 700;
}
.badge.approved, .badge.active, .badge.confirmed,
.badge.income, .badge.success {
  background: rgba(74, 222, 128, .14); color: var(--success);
}
.badge.blocked, .badge.expense, .badge.absent, .badge.danger {
  background: rgba(248, 113, 113, .14); color: var(--danger);
}
.badge.pending, .badge.warning {
  background: rgba(251, 191, 36, .14); color: var(--warning);
}
.badge.info {
  background: rgba(34, 211, 238, .14); color: var(--accent-2);
}

/* ── PULSE DOT ── */
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .25);
  animation: pulseAnim 2s ease-in-out infinite;
}
@keyframes pulseAnim {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
  50%       { box-shadow: 0 0 0 8px rgba(74, 222, 128, .06); }
}

/* ── EYEBROW / LABEL ── */
.eyebrow, .section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--accent); margin-bottom: 12px;
}

/* ── HERO ── */
.hero { padding: 80px 0 64px; }
.hero-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px; align-items: center;
}

.hero-copy { padding: 40px; }
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: .92; letter-spacing: .02em; margin-bottom: 18px;
}
.hero-copy h1 .highlight {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(120deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 28px rgba(74, 222, 128, .35));
}
.hero-copy p { font-size: 1.05rem; color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-badges { list-style: none; margin-top: 28px; display: grid; gap: 10px; }
.hero-badges li {
  color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 10px;
}
.hero-badges li::before { content: '✓'; color: var(--accent); font-weight: 800; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px;
  font-size: .88rem; font-weight: 600; color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.check { color: var(--accent); }

/* ── HERO CARD (preview) ── */
.hero-card {
  padding: 28px;
}
.hero-card-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 20px;
}
.preview-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.preview-grid article {
  padding: 18px; border-radius: var(--radius-sm);
  background: var(--surface-h); border: 1px solid var(--border);
}
.preview-grid article strong { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em; margin-bottom: 4px; }
.preview-grid article span { color: var(--muted); font-size: .85rem; }

/* ── STATS ROW ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin: 56px 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--border);
}
.stat-item {
  background: var(--bg-2); padding: 32px 20px; text-align: center;
}
.stat-item:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stat-item:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: .04em;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .78rem; color: var(--muted); font-weight: 500; margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }

/* ── SECTION BLOCKS ── */
.section-block { padding: 72px 0; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: .04em; line-height: .95;
  margin-bottom: 8px;
}
.section-desc { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-top: 12px; max-width: 560px; }
.section-head { margin-bottom: 36px; }
.center-head { text-align: center; }
.center-head .section-desc { margin-left: auto; margin-right: auto; }

/* ── FEATURE CARDS ── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-card {
  padding: 32px; border-radius: var(--radius); position: relative; overflow: hidden;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .22s;
}
.feature-card:hover { transform: translateY(-6px); background: var(--surface-h); }
.feature-card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .18);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .04em; margin-bottom: 10px;
}
.feature-card p { color: var(--muted); line-height: 1.7; font-size: .95rem; }

/* ── TIMELINE (landing steps) ── */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px;
}
.timeline article {
  padding: 24px; border-radius: var(--radius); position: relative;
  transition: transform .22s;
}
.timeline article:hover { transform: translateY(-4px); }
.timeline article strong {
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .03em;
  display: block; margin-bottom: 10px;
}
.timeline article p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* ── STACK LIST ── */
.stack-card { padding: 28px; }
.stack-list { list-style: none; display: grid; gap: 12px; }
.stack-list li {
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--surface-h); border: 1px solid var(--border);
  font-size: .95rem;
}

/* ── CTA ── */
.cta-box {
  background: linear-gradient(135deg, rgba(74, 222, 128, .12) 0%, rgba(34, 211, 238, .08) 100%);
  border: 1px solid rgba(74, 222, 128, .22);
  border-radius: 28px; padding: 80px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '⚽'; font-size: 18rem; position: absolute;
  right: -60px; top: 50%; transform: translateY(-50%) rotate(-15deg);
  opacity: .04; pointer-events: none;
}
.cta-box h2 { font-size: clamp(2.8rem, 6vw, 5rem); }
.cta-box p { color: var(--muted); max-width: 600px; margin: 16px auto 32px; font-size: 1.05rem; line-height: 1.8; }

/* ── FOOTER ── */
footer { padding: 40px 0 56px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { color: var(--muted); font-size: .88rem; }

/* ── FADE UP ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════
   DASHBOARD / PAINEL
   ══════════════════════════════════════════════════ */

/* ── LOGIN SCREEN ── */
.login-screen {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
}
.login-card {
  width: min(500px, 100%); padding: 36px;
}
.login-card h1 {
  font-family: var(--font-display); font-size: 2.4rem; letter-spacing: .04em;
  margin: 20px 0 6px;
}
.login-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }

.hint-card {
  margin-top: 20px; padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .22);
}
.hint-card strong { display: block; font-size: .9rem; color: var(--accent-2); margin-bottom: 4px; }
.hint-card span { color: var(--muted); font-size: .85rem; }

/* ── APP SHELL ── */
.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px; min-height: 100vh; padding: 16px;
}

/* ── SIDEBAR ── */
.sidebar {
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: 16px; height: calc(100vh - 32px);
  border-radius: var(--radius); overflow-y: auto;
}

.side-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .05em;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.side-brand-sub { color: var(--muted); font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: 0; display: block; }

.side-user {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: var(--radius-sm);
  background: var(--surface-h); border: 1px solid var(--border);
}

.avatar {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .05em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #060d16; flex-shrink: 0;
}

.side-user-info strong { display: block; font-size: .92rem; font-weight: 700; }
.side-user-info span { color: var(--muted); font-size: .78rem; }

.sidebar-actions { display: flex; gap: 8px; }
.sidebar-actions .ghost-btn { flex: 1; min-height: 38px; font-size: .82rem; padding: 0 12px; }

.menu-nav { display: grid; gap: 6px; }
.menu-btn {
  justify-content: flex-start; min-height: 42px;
  padding: 0 16px; text-align: left; font-size: .9rem; font-weight: 600;
  border-radius: var(--radius-sm);
}

/* ── MAIN PANEL ── */
.main-panel { display: flex; flex-direction: column; gap: 16px; }

.main-header {
  padding: 22px 28px;
  display: flex; justify-content: space-between; gap: 18px; align-items: flex-end;
  border-radius: var(--radius);
}
.main-header h1 {
  font-family: var(--font-display); font-size: 2rem; letter-spacing: .04em;
  margin-top: 4px;
}

.header-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.compact-field { display: grid; gap: 6px; min-width: 200px; }
.compact-field span { color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.compact-field select { min-height: 40px; font-size: .9rem; }

/* ── SECTIONS ── */
.section-panel { display: none; gap: 16px; }
.section-panel.active { display: grid; }

/* ── PANEL CARD ── */
.panel-card { padding: 24px; border-radius: var(--radius); }

.card-head {
  display: flex; justify-content: space-between; gap: 16px;
  align-items: flex-start; margin-bottom: 20px;
}
.card-head h2 {
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .04em;
  margin: 0 0 4px;
}
.card-head p { color: var(--muted); font-size: .85rem; }

/* ── CONTENT GRIDS ── */
.content-grid { display: grid; gap: 16px; }
.content-grid.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats-grid article {
  padding: 20px; border-radius: var(--radius-sm);
  background: var(--surface-h); border: 1px solid var(--border);
}
.stats-grid article strong {
  display: block; font-family: var(--font-display);
  font-size: 1.9rem; letter-spacing: .04em; margin-bottom: 4px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-grid article div { font-size: .88rem; font-weight: 600; }
.stats-grid article small { color: var(--muted); font-size: .78rem; }

.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.summary-grid article {
  padding: 18px; border-radius: var(--radius-sm);
  background: var(--surface-h); border: 1px solid var(--border); text-align: center;
}
.summary-grid article strong {
  display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em;
  margin-bottom: 4px;
}
.summary-grid article span { color: var(--muted); font-size: .82rem; }

/* ── FORMS ── */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.single-grid { grid-template-columns: 1fr; }

label {
  display: grid; gap: 7px;
  font-size: .85rem; font-weight: 600; color: var(--text);
}
label span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }

input, select, textarea {
  width: 100%; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-h);
  color: var(--text); min-height: 44px;
  padding: 10px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 100px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  border-color: rgba(74, 222, 128, .5);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .10);
}

body[data-theme="light"] input,
body[data-theme="light"] select,
body[data-theme="light"] textarea {
  background: rgba(255, 255, 255, .85);
}

.toggle-field {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 10px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface-h); cursor: pointer;
}
.toggle-field input { width: 18px; min-height: auto; padding: 0; flex-shrink: 0; }
.toggle-field span { color: var(--text) !important; text-transform: none; letter-spacing: 0; font-size: .9rem; }

.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.spaced-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ── LIST ITEMS ── */
.stack-list-ui { display: grid; gap: 10px; }

.list-item {
  padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface-h);
  display: grid; gap: 8px;
  transition: border-color .2s;
}
.list-item:hover { border-color: var(--border-h); }

.item-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; flex-wrap: wrap;
}
.item-head strong { font-size: .95rem; font-weight: 700; }

.item-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.item-actions .ghost-btn { min-height: 34px; padding: 0 14px; font-size: .82rem; }

.muted-text { color: var(--muted); font-size: .85rem; }

/* ── STATUS BOARD ── */
.status-board { display: flex; gap: 12px; flex-wrap: wrap; }
.status-column {
  flex: 1; min-width: 160px; padding: 16px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-h);
}
.status-column h3 {
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em;
  margin-bottom: 12px;
}

/* ── CHARTS ── */
.chart-list { display: grid; gap: 10px; }
.chart-row { display: grid; gap: 8px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface-h); border: 1px solid var(--border); }
.chart-bar { width: 100%; height: 12px; border-radius: 999px; background: rgba(148, 163, 184, .12); overflow: hidden; }
.chart-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; }

/* ── PERMISSIONS ── */
.permission-grid { display: grid; gap: 10px; }
.permission-module { padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-h); display: grid; gap: 10px; }
.permission-module strong { font-size: .88rem; }
.permission-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.permission-actions .toggle-field { min-height: auto; padding: 8px 12px; font-size: .82rem; }

/* ── LIVE MATCH ── */
.live-match-box { display: grid; gap: 10px; margin: 16px 0; }
.live-score {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 22px; border-radius: var(--radius-sm);
  background: rgba(74, 222, 128, .06); border: 1px solid rgba(74, 222, 128, .22);
}
.live-score strong { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em; }
.live-score .muted-text { display: block; text-align: center; }

/* ── EMPTY STATE ── */
.empty-state {
  padding: 20px; border-radius: var(--radius-sm);
  border: 1px dashed var(--border); color: var(--muted);
  text-align: center; font-size: .9rem;
}

/* ── CHECK GRID ── */
.check-grid { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── TOAST ── */
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  opacity: 0; transform: translateY(12px);
  transition: .25s ease;
  padding: 14px 20px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border);
  box-shadow: var(--shadow); font-size: .92rem; font-weight: 600;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); }

code {
  padding: 2px 8px; border-radius: 8px;
  background: rgba(148, 163, 184, .12);
  font-size: .88em;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-wrap,
  .content-grid.two-columns,
  .feature-grid,
  .timeline,
  .stats-grid,
  .summary-grid,
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; height: auto; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .page-shell, .container { width: calc(100% - 24px); }
  .top-links { display: none; }
  .top-nav { padding: 12px 16px; }
  .hero-copy, .panel-card, .login-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 3.2rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 48px 24px; }
  .app-shell { padding: 10px; }
  .main-header { flex-direction: column; align-items: flex-start; }
}
