/* ============================================
   SOUKMARKET — CSS PRINCIPAL
   Thème africain chaud · Terra, Or, Sable
   ============================================ */

:root {
  --terra: #C4622D;
  --terra-dark: #8B3A14;
  --terra-light: #E8896A;
  --gold: #E8A020;
  --gold-light: #F5C842;
  --sand: #F5E6C8;
  --sand-light: #FDF6E8;
  --ink: #1A0F00;
  --ink-soft: #3D2A10;
  --muted: #8A6A40;
  --white: #FFFDF7;
  --green: #2D7A4F;
  --green-light: #E8F5EE;
  --blue: #1A5276;
  --border: rgba(196,98,45,0.15);
  --shadow: 0 4px 24px rgba(26,15,0,0.10);
  --shadow-lg: 0 16px 48px rgba(26,15,0,0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ============ UTILITIES ============ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 50px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .2s; border: none;
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--terra);
  color: var(--terra);
}
.btn-ghost:hover { background: var(--terra); color: var(--white); }
.btn-solid {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(196,98,45,0.35);
}
.btn-solid:hover { background: var(--terra-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(196,98,45,0.45); }
.btn-hero-main {
  background: var(--white); color: var(--terra);
  border: none; font-size: 15px; padding: 14px 28px;
  font-weight: 600; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-hero-main:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-hero-ghost {
  background: rgba(255,255,255,0.15); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5); font-size: 15px; padding: 14px 28px;
  backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-cta-main {
  background: var(--white); color: var(--terra);
  font-size: 16px; padding: 16px 36px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-cta-main:hover { transform: translateY(-2px); }
.btn-cta-ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  font-size: 16px; padding: 16px 36px;
}
.btn-cta-ghost:hover { background: rgba(255,255,255,0.15); }

/* ============ NAV ============ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,253,247,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(26,15,0,0.1);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; background: var(--terra);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; color: var(--white); font-size: 20px;
}
.logo-text {
  font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink);
}
.logo-text span { color: var(--terra); }
.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 14px; color: var(--ink-soft); font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--terra); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.burger {
  display: none; background: none; border: none; font-size: 20px;
  color: var(--ink); cursor: pointer;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 20px; border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 10px 0; font-size: 15px; color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--terra-dark) 0%, var(--terra) 50%, var(--gold) 100%);
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
  gap: 60px;
  flex-wrap: wrap;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: .07;
  background-image: radial-gradient(circle at 20% 50%, var(--white) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--white) 1px, transparent 1px),
    radial-gradient(circle at 50% 80%, var(--white) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 40px 40px;
}
.hero-content {
  flex: 1; min-width: 300px; max-width: 560px; color: var(--white);
  animation: fadeUp .8s ease both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
  padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 500;
  margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.3);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-light); box-shadow: 0 0 8px var(--gold-light);
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(40px, 6vw, 68px);
  font-weight: 900; line-height: 1.08; margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-title .highlight { color: var(--gold-light); }
.hero-sub {
  font-size: 17px; line-height: 1.7; opacity: .9; margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 24px; background: rgba(255,255,255,0.12);
  border-radius: var(--radius); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  width: fit-content;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 22px; font-weight: 700; color: var(--white); }
.stat-label { font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .05em; }
.stat-sep { width: 1px; height: 30px; background: rgba(255,255,255,0.3); }

/* ============ HERO VISUAL CARDS ============ */
.hero-visual {
  flex: 1; min-width: 280px; max-width: 420px;
  display: flex; flex-direction: column; gap: 14px;
  animation: fadeUp .8s .2s ease both;
}
.hero-card {
  background: var(--white); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-lg);
}
.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: var(--white); flex-shrink: 0;
}
.card-avatar.seller { background: var(--terra); }
.card-avatar.delivery { background: var(--green); }
.card-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.card-role { font-size: 12px; color: var(--muted); }
.card-badge-green {
  margin-left: auto; background: var(--green-light); color: var(--green);
  font-size: 11px; padding: 3px 10px; border-radius: 50px; font-weight: 500;
}
.card-products { display: flex; gap: 8px; margin-bottom: 12px; }
.product-thumb {
  width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.product-thumb.more {
  background: var(--sand); color: var(--muted); font-size: 12px; font-weight: 600;
}
.card-footer { border-top: 1px solid var(--border); padding-top: 10px; }
.card-stat { font-size: 12px; color: var(--muted); }

.delivery-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted); margin-bottom: 12px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0;
}
.status-dot.pulse { animation: pulse 1.5s infinite; }
.delivery-bar {
  background: var(--sand); border-radius: 50px; height: 6px; margin-bottom: 6px;
}
.delivery-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--green), #4CAF50);
  transition: width .5s;
}
.delivery-labels {
  display: flex; justify-content: space-between; font-size: 11px; color: var(--muted);
}

.card-payment { text-align: center; background: linear-gradient(135deg, #1A5276, #2471A3); }
.payment-icon { font-size: 28px; margin-bottom: 6px; }
.payment-label { font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.payment-amount { font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.payment-via { font-size: 11px; color: rgba(255,255,255,0.6); }

/* ============ SECTION COMMON ============ */
.section-tag {
  display: inline-block; background: var(--sand);
  color: var(--terra); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
  border: 1px solid rgba(196,98,45,0.2);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; line-height: 1.15; margin-bottom: 48px; color: var(--ink);
}
.section-title span { color: var(--terra); }

/* ============ ROLES SECTION ============ */
.roles-section {
  padding: 100px 0;
  background: var(--sand-light);
}
.roles-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;
}
.role-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 24px; border: 1px solid var(--border);
  transition: all .25s; position: relative; overflow: hidden;
}
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--terra); }
.role-card.featured { border: 2px solid var(--terra); box-shadow: var(--shadow); }
.role-badge-top {
  position: absolute; top: 16px; right: 16px;
  background: var(--gold-light); color: var(--ink-soft);
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 50px;
}
.role-icon { font-size: 36px; margin-bottom: 16px; }
.role-card h3 { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.role-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.role-features { list-style: none; margin-bottom: 24px; }
.role-features li {
  font-size: 13px; color: var(--ink-soft); padding: 5px 0;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.role-features li:last-child { border-bottom: none; }
.role-features li .fa { color: var(--terra); font-size: 11px; }
.role-btn {
  display: inline-block; color: var(--terra); font-size: 14px; font-weight: 600;
  transition: gap .2s;
}
.role-btn:hover { color: var(--terra-dark); }

/* ============ HOW IT WORKS ============ */
.how-section { padding: 100px 0; background: var(--white); }
.how-tabs {
  display: flex; gap: 8px; margin-bottom: 48px;
  border-bottom: 2px solid var(--border);
}
.how-tab {
  padding: 10px 28px; background: none; border: none;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--muted); cursor: pointer; transition: all .2s;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.how-tab.active { color: var(--terra); border-bottom-color: var(--terra); }
.how-tab:hover:not(.active) { color: var(--ink); }
.how-steps {
  display: flex; align-items: flex-start; gap: 0;
  flex-wrap: wrap; gap: 10px;
}
.step {
  flex: 1; min-width: 200px; background: var(--sand-light);
  border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); transition: all .2s;
}
.step:hover { border-color: var(--terra); background: var(--white); }
.step-num {
  font-family: var(--font-display); font-size: 40px; font-weight: 900;
  color: rgba(196,98,45,0.15); line-height: 1; margin-bottom: 8px;
}
.step-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.step-content p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.step-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--terra); font-size: 24px; padding: 0 4px; margin-top: 24px;
}

/* ============ FEATURES ============ */
.features-section { padding: 100px 0; background: var(--sand-light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}
.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border); transition: all .25s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-card.big { grid-column: span 1; background: var(--terra); color: var(--white); }
.feature-card.big.alt { background: var(--ink); }
.feature-icon-big { font-size: 40px; margin-bottom: 16px; }
.feature-card.big h3 { font-family: var(--font-display); font-size: 22px; color: var(--white); margin-bottom: 10px; }
.feature-card.big p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 16px; }
.feature-tag {
  display: inline-block; background: rgba(255,255,255,0.2);
  color: var(--white); font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.3);
}
.feature-tag.amber { background: rgba(232,160,32,0.25); border-color: rgba(232,160,32,0.4); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============ PRICING ============ */
.pricing-section { padding: 100px 0; background: var(--white); }
.pricing-sub { font-size: 16px; color: var(--muted); margin-top: -32px; margin-bottom: 48px; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
}
.price-card {
  background: var(--sand-light); border-radius: var(--radius);
  padding: 28px 24px; border: 1px solid var(--border); transition: all .25s;
  position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--terra); background: var(--white); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--terra); color: var(--white);
  font-size: 11px; font-weight: 600; padding: 4px 14px; border-radius: 50px;
  white-space: nowrap;
}
.price-icon { font-size: 28px; margin-bottom: 12px; }
.price-name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.price-amount { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--ink); margin-bottom: 10px; }
.price-amount span { font-size: 14px; font-weight: 400; color: var(--muted); }
.price-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 100px 5%;
  background: linear-gradient(135deg, var(--terra-dark) 0%, var(--terra) 60%, var(--gold) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-pattern {
  position: absolute; inset: 0; opacity: .05;
  background-image: repeating-linear-gradient(45deg, var(--white) 0, var(--white) 1px, transparent 1px, transparent 60px);
}
.cta-inner { position: relative; }
.cta-section h2 {
  font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px);
  font-weight: 900; color: var(--white); margin-bottom: 16px; line-height: 1.1;
}
.cta-section h2 span { color: var(--gold-light); }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
footer {
  background: var(--ink); color: rgba(255,255,255,0.8); padding-top: 60px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.55); margin: 12px 0 20px; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-logo .logo-mark { background: var(--terra); }
.footer-logo .logo-text { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.footer-logo .logo-text span { color: var(--terra-light); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  transition: all .2s;
}
.footer-socials a:hover { background: var(--terra); color: var(--white); }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--terra-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px; text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.4);
  max-width: 1180px; margin: 0 auto;
}
.footer-bottom strong { color: var(--gold); }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px transparent; }
}
.animate-in {
  animation: fadeUp .7s ease both;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .burger { display: block; }
  .hero { padding: 90px 5% 60px; flex-direction: column; gap: 40px; }
  .hero-content { max-width: 100%; }
  .hero-visual { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .how-steps { flex-direction: column; }
  .step-arrow { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-sep { width: 40px; height: 1px; }
  .roles-grid { grid-template-columns: 1fr; }
}

/* ============ AUTH FORMS ============ */
.auth-page {
  min-height: 100vh; background: var(--sand-light);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 20px 40px;
}
.auth-card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; max-width: 480px; width: 100%;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header .logo-mark { margin: 0 auto 12px; width: 48px; height: 48px; font-size: 24px; }
.auth-header h2 { font-family: var(--font-display); font-size: 26px; color: var(--ink); margin-bottom: 6px; }
.auth-header p { font-size: 14px; color: var(--muted); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; color: var(--ink);
  background: var(--white); transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--terra); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role-select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.role-option {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px; text-align: center; cursor: pointer; transition: all .2s;
}
.role-option:hover, .role-option.selected { border-color: var(--terra); background: rgba(196,98,45,0.05); }
.role-option .role-em { font-size: 24px; display: block; margin-bottom: 4px; }
.role-option span { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.btn-full { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); }
.auth-footer a { color: var(--terra); font-weight: 500; }

/* ============ DASHBOARD COMMON ============ */
.dashboard-layout {
  display: flex; min-height: 100vh; padding-top: 68px;
}
.sidebar {
  width: 250px; background: var(--ink); flex-shrink: 0;
  position: fixed; top: 68px; left: 0; bottom: 0; overflow-y: auto;
  display: flex; flex-direction: column;
}
.sidebar-brand { padding: 20px 20px 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-brand p { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.sidebar-nav { padding: 16px 12px; flex: 1; }
.sidebar-section-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.3); padding: 12px 8px 6px; }
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-xs);
  color: rgba(255,255,255,0.65); font-size: 14px; transition: all .2s;
  margin-bottom: 2px;
}
.sidebar-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.sidebar-link.active { background: var(--terra); color: var(--white); }
.sidebar-link i { width: 16px; text-align: center; font-size: 13px; }
.sidebar-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.dashboard-main { margin-left: 250px; flex: 1; padding: 32px; background: var(--sand-light); }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.dash-header h1 { font-family: var(--font-display); font-size: 28px; color: var(--ink); }
.dash-header p { font-size: 14px; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: var(--white); border-radius: var(--radius); padding: 20px 22px;
  border: 1px solid var(--border);
}
.stat-card .sc-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.stat-card .sc-value { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--ink); }
.stat-card .sc-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.stat-card .sc-icon { font-size: 24px; margin-bottom: 10px; }
.card-section {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 20px;
}
.card-section-header {
  padding: 16px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-section-header h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.card-section-body { padding: 20px 22px; }
table { width: 100%; border-collapse: collapse; }
th { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 8px 12px; text-align: left; }
td { font-size: 13px; color: var(--ink-soft); padding: 12px; border-top: 1px solid var(--border); }
tr:hover td { background: var(--sand-light); }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 600;
}
.badge-green { background: var(--green-light); color: var(--green); }
.badge-orange { background: rgba(232,160,32,0.15); color: #B8780E; }
.badge-red { background: rgba(196,62,30,0.1); color: #9B2B0A; }
.badge-gray { background: var(--sand); color: var(--muted); }
.badge-blue { background: rgba(26,82,118,0.1); color: var(--blue); }
