/* ============================================================
   BRANDZONE DESIGN SYSTEM
   File: brandzone.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --cream:        #F6F0E4;
  --cream-dark:   #EDE5D0;
  --cream-mid:    #F0E8D5;
  --ink:          #1A1814;
  --ink-60:       rgba(26,24,20,.6);
  --ink-30:       rgba(26,24,20,.3);
  --ink-10:       rgba(26,24,20,.08);
  --vermillion:   #C84B31;
  --verm-dark:    #A63A24;
  --verm-light:   #F5EDE9;
  --teal:         #2B7A6E;
  --teal-dark:    #1E5F55;
  --teal-light:   #E6F2F0;
  --white:        #FFFFFF;
  --border:       #DDD6C4;
  --border-dark:  #C8BFA8;
  --success:      #2E7D52;
  --success-bg:   #E8F5EE;
  --warning:      #B45309;
  --warning-bg:   #FEF3C7;
  --danger:       #B91C1C;
  --danger-bg:    #FEE2E2;
  --info:         #1D4ED8;
  --info-bg:      #EFF6FF;
  --shadow-sm:    0 1px 4px rgba(26,24,20,.08);
  --shadow-md:    0 4px 16px rgba(26,24,20,.10);
  --shadow-lg:    0 12px 40px rgba(26,24,20,.14);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --font-display: 'DM Serif Display', serif;
  --font-body:    'Manrope', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  --sidebar-w:    260px;
  --topbar-h:     64px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.t-display   { font-family: var(--font-display); font-size: clamp(2.2rem,5vw,4rem); line-height:1.1; }
.t-h1        { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.8rem); line-height:1.2; }
.t-h2        { font-family: var(--font-display); font-size: clamp(1.4rem,3vw,2rem); line-height:1.25; }
.t-h3        { font-family: var(--font-body); font-weight:700; font-size:1.15rem; }
.t-label     { font-family: var(--font-mono); font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; }
.t-mono      { font-family: var(--font-mono); }
.t-muted     { color: var(--ink-60); }
.t-small     { font-size:.85rem; }

/* ── LAYOUT HELPERS ─────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.flex         { display:flex; }
.flex-center  { display:flex; align-items:center; justify-content:center; }
.gap-8        { gap:8px; }
.gap-12       { gap:12px; }
.gap-16       { gap:16px; }
.gap-24       { gap:24px; }
.grid-2       { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.grid-3       { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-4       { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items:center; gap:8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size:.9rem; font-weight:600; line-height:1;
  transition: all .2s ease; white-space:nowrap;
}
.btn-primary {
  background: var(--vermillion); color: var(--white);
}
.btn-primary:hover { background: var(--verm-dark); transform:translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border-dark);
}
.btn-secondary:hover { border-color:var(--ink); background:var(--ink-10); }
.btn-teal {
  background: var(--teal); color: var(--white);
}
.btn-teal:hover { background: var(--teal-dark); transform:translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink-60);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background:var(--ink-10); color:var(--ink); }
.btn-sm { padding: 8px 16px; font-size:.8rem; }
.btn-lg { padding: 16px 36px; font-size:1rem; }
.btn-full { width:100%; justify-content:center; }
.btn:disabled { opacity:.45; pointer-events:none; }
.btn-icon { width:36px; height:36px; padding:0; border-radius:var(--radius-sm); justify-content:center; }

/* ── FORM ELEMENTS ───────────────────────────────────────── */
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-label { font-size:.85rem; font-weight:600; color:var(--ink); }
.form-label span { color:var(--vermillion); }
.form-control {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size:.9rem;
  transition: border-color .2s;
  width:100%;
}
.form-control:focus { outline:none; border-color:var(--teal); }
.form-control::placeholder { color:var(--ink-30); }
.form-control.error { border-color:var(--danger); }
.form-hint { font-size:.78rem; color:var(--ink-60); }
.form-error { font-size:.78rem; color:var(--danger); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
select.form-control { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A1814' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:36px; }
textarea.form-control { resize:vertical; min-height:100px; }
.checkbox-label { display:flex; align-items:flex-start; gap:10px; cursor:pointer; font-size:.88rem; }
.checkbox-label input[type=checkbox] { width:16px; height:16px; margin-top:2px; accent-color:var(--teal); flex-shrink:0; }

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display:inline-flex; align-items:center; gap:4px;
  padding:3px 10px; border-radius:20px;
  font-family:var(--font-mono); font-size:.7rem; font-weight:500;
  letter-spacing:.04em;
}
.badge-success { background:var(--success-bg); color:var(--success); }
.badge-warning { background:var(--warning-bg); color:var(--warning); }
.badge-danger  { background:var(--danger-bg);  color:var(--danger);  }
.badge-info    { background:var(--info-bg);    color:var(--info);    }
.badge-neutral { background:var(--ink-10);     color:var(--ink-60);  }
.badge-teal    { background:var(--teal-light); color:var(--teal);    }
.badge-verm    { background:var(--verm-light); color:var(--vermillion); }
.badge-dot::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; display:inline-block; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.card-title { font-family:var(--font-body); font-weight:700; font-size:1rem; }

/* ── STAT CARDS ──────────────────────────────────────────── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 20px 24px;
  display:flex; flex-direction:column; gap:8px;
}
.stat-card .stat-label { font-size:.78rem; font-weight:600; color:var(--ink-60); text-transform:uppercase; letter-spacing:.06em; }
.stat-card .stat-value { font-family:var(--font-display); font-size:1.9rem; line-height:1; }
.stat-card .stat-sub   { font-size:.8rem; color:var(--ink-60); }
.stat-card .stat-icon  {
  width:40px; height:40px; border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom:4px;
}
.stat-card.accent-verm { border-left:3px solid var(--vermillion); }
.stat-card.accent-teal { border-left:3px solid var(--teal); }
.stat-card.accent-ink  { border-left:3px solid var(--ink); }

/* ── TABLES ──────────────────────────────────────────────── */
.table-wrap { overflow-x:auto; border-radius:var(--radius-md); border:1px solid var(--border); }
table { width:100%; border-collapse:collapse; background:var(--white); }
thead { background:var(--cream); }
th {
  padding:12px 16px; text-align:left;
  font-size:.75rem; font-weight:700; color:var(--ink-60);
  text-transform:uppercase; letter-spacing:.06em;
  border-bottom:1px solid var(--border);
}
td { padding:13px 16px; border-bottom:1px solid var(--border); font-size:.88rem; }
tr:last-child td { border-bottom:none; }
tbody tr:hover { background:var(--cream); transition:background .15s; }

/* ── SIDEBAR LAYOUT ──────────────────────────────────────── */
.app-layout { display:flex; min-height:100vh; }

.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
  display: flex; flex-direction:column;
  position: fixed; top:0; left:0; z-index:100;
  transition: transform .3s;
}
.sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display:flex; align-items:center; gap:10px;
}
.sidebar-logo .logo-mark {
  width:36px; height:36px; background:var(--vermillion);
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:1rem; color:white; font-weight:400;
}
.sidebar-logo .logo-text {
  font-family:var(--font-display); font-size:1.2rem; color:white;
}
.sidebar-logo .logo-text span { color:var(--vermillion); }

.sidebar-nav { flex:1; padding:16px 0; overflow-y:auto; }
.nav-section-label {
  padding: 12px 20px 4px;
  font-size:.68rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:rgba(255,255,255,.3);
}
.nav-divider { height:1px; background:rgba(255,255,255,.08); margin:8px 16px; }
.nav-item {
  display:flex; align-items:center; gap:10px;
  padding: 10px 20px; margin: 1px 8px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.65);
  font-size:.88rem; font-weight:500;
  transition: all .2s;
  cursor: pointer;
}
.nav-item:hover { background:rgba(255,255,255,.08); color:white; }
.nav-item.active { background:var(--vermillion); color:white; }
.nav-item .nav-icon { font-size:1rem; width:20px; text-align:center; flex-shrink:0; }
.nav-item .nav-badge {
  margin-left:auto; background:var(--vermillion); color:white;
  font-size:.65rem; font-family:var(--font-mono); padding:2px 7px; border-radius:10px;
}
.nav-item.active .nav-badge { background:rgba(255,255,255,.3); }

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user {
  display:flex; align-items:center; gap:10px;
  padding:10px; border-radius:var(--radius-sm);
}
.sidebar-user .user-avatar {
  width:36px; height:36px; border-radius:50%;
  background:var(--vermillion); color:white;
  display:flex; align-items:center; justify-content:center;
  font-size:.85rem; font-weight:700; flex-shrink:0;
}
.sidebar-user .user-info { flex:1; min-width:0; }
.sidebar-user .user-name { font-size:.85rem; font-weight:600; color:white; }
.sidebar-user .user-role { font-size:.72rem; color:rgba(255,255,255,.45); font-family:var(--font-mono); }

/* ── MAIN CONTENT AREA ───────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex; flex-direction:column;
  min-height: 100vh;
}

.topbar {
  height: var(--topbar-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  display: flex; align-items:center; justify-content:space-between;
  position: sticky; top:0; z-index:50;
}
.topbar-title { font-family:var(--font-display); font-size:1.1rem; }
.topbar-actions { display:flex; align-items:center; gap:12px; }
.topbar-notif {
  width:36px; height:36px; border-radius:var(--radius-sm);
  background:var(--cream); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  position:relative; cursor:pointer;
}
.notif-dot {
  width:8px; height:8px; background:var(--vermillion); border-radius:50%;
  position:absolute; top:6px; right:6px; border:1.5px solid white;
}
.topbar-balance {
  background:var(--teal-light); color:var(--teal-dark);
  padding:6px 14px; border-radius:20px;
  font-family:var(--font-mono); font-size:.8rem; font-weight:500;
}

.page-body { padding: 28px; flex:1; }
.page-header { margin-bottom:24px; }
.page-header h1 { font-family:var(--font-display); font-size:1.6rem; }
.page-header p  { font-size:.9rem; color:var(--ink-60); margin-top:4px; }

.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; margin-bottom:24px; }

/* ── ALERTS & NOTIFICATIONS ──────────────────────────────── */
.alert {
  display:flex; align-items:flex-start; gap:12px;
  padding:14px 16px; border-radius:var(--radius-sm);
  font-size:.88rem; margin-bottom:16px;
}
.alert-success { background:var(--success-bg); color:var(--success); border-left:3px solid var(--success); }
.alert-warning { background:var(--warning-bg); color:var(--warning); border-left:3px solid var(--warning); }
.alert-danger  { background:var(--danger-bg);  color:var(--danger);  border-left:3px solid var(--danger);  }
.alert-info    { background:var(--info-bg);    color:var(--info);    border-left:3px solid var(--info);    }
.alert-icon { font-size:1rem; flex-shrink:0; margin-top:1px; }

/* ── TABS ────────────────────────────────────────────────── */
.tabs { display:flex; gap:4px; border-bottom:2px solid var(--border); margin-bottom:20px; }
.tab-btn {
  padding:10px 18px; font-size:.88rem; font-weight:600;
  color:var(--ink-60); border-bottom:2px solid transparent;
  margin-bottom:-2px; transition:all .2s; cursor:pointer;
}
.tab-btn.active { color:var(--vermillion); border-bottom-color:var(--vermillion); }
.tab-btn:hover:not(.active) { color:var(--ink); }
.tab-pane { display:none; }
.tab-pane.active { display:block; }

/* ── MODALS ──────────────────────────────────────────────── */
.modal-overlay {
  position:fixed; inset:0; background:rgba(26,24,20,.5);
  display:flex; align-items:center; justify-content:center;
  z-index:1000; padding:20px; opacity:0; pointer-events:none;
  transition:opacity .25s;
}
.modal-overlay.open { opacity:1; pointer-events:auto; }
.modal {
  background:var(--white); border-radius:var(--radius-lg);
  padding:32px; max-width:520px; width:100%;
  transform:translateY(20px); transition:transform .25s;
  max-height:90vh; overflow-y:auto;
}
.modal-overlay.open .modal { transform:none; }
.modal-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.modal-title  { font-family:var(--font-display); font-size:1.3rem; }
.modal-close  { width:32px; height:32px; border-radius:var(--radius-sm); background:var(--cream); border:none; cursor:pointer; font-size:1rem; }

/* ── PROGRESS BAR ────────────────────────────────────────── */
.progress-bar { height:6px; background:var(--border); border-radius:3px; overflow:hidden; }
.progress-fill { height:100%; background:var(--teal); border-radius:3px; transition:width .4s; }
.progress-fill.red { background:var(--vermillion); }

/* ── TOGGLE ──────────────────────────────────────────────── */
.toggle { position:relative; width:40px; height:22px; }
.toggle input { opacity:0; width:0; height:0; }
.toggle-slider {
  position:absolute; inset:0; background:var(--border-dark);
  border-radius:11px; cursor:pointer; transition:background .2s;
}
.toggle-slider::before {
  content:''; position:absolute; width:16px; height:16px;
  left:3px; top:3px; background:white; border-radius:50%; transition:.2s;
}
.toggle input:checked ~ .toggle-slider { background:var(--teal); }
.toggle input:checked ~ .toggle-slider::before { transform:translateX(18px); }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:.82rem; color:var(--ink-60); margin-bottom:16px; }
.breadcrumb a:hover { color:var(--ink); }
.breadcrumb-sep { opacity:.4; }

/* ── SEARCH BAR ──────────────────────────────────────────── */
.search-bar {
  display:flex; align-items:center; gap:8px;
  background:var(--white); border:1.5px solid var(--border);
  border-radius:var(--radius-sm); padding:8px 14px;
  transition:border-color .2s;
}
.search-bar:focus-within { border-color:var(--teal); }
.search-bar input { border:none; outline:none; background:transparent; font-size:.9rem; width:100%; }
.search-bar .search-icon { color:var(--ink-60); font-size:.9rem; flex-shrink:0; }

/* ── FILTER BAR ──────────────────────────────────────────── */
.filter-bar { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:20px; }
.filter-bar select.form-control { width:auto; min-width:140px; }

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state { padding:48px 24px; text-align:center; }
.empty-state .empty-icon { font-size:2.5rem; margin-bottom:12px; }
.empty-state h3 { font-family:var(--font-display); font-size:1.2rem; margin-bottom:6px; }
.empty-state p { font-size:.88rem; color:var(--ink-60); }

/* ── CHART PLACEHOLDER ───────────────────────────────────── */
.chart-area {
  background:var(--cream); border-radius:var(--radius-sm);
  height:200px; display:flex; align-items:flex-end; gap:6px;
  padding:16px; overflow:hidden;
}
.chart-bar {
  flex:1; background:var(--teal); border-radius:3px 3px 0 0;
  opacity:.7; transition:opacity .2s; min-width:8px;
}
.chart-bar:hover { opacity:1; }
.chart-bar.verm { background:var(--vermillion); }

/* ── TOAST ───────────────────────────────────────────────── */
.toast-container { position:fixed; bottom:24px; right:24px; z-index:2000; display:flex; flex-direction:column; gap:10px; }
.toast {
  background:var(--ink); color:white;
  padding:14px 20px; border-radius:var(--radius-sm);
  font-size:.88rem; box-shadow:var(--shadow-lg);
  display:flex; align-items:center; gap:10px; min-width:280px;
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
.toast.success { background:var(--success); }
.toast.warning { background:var(--warning); }
.toast.danger  { background:var(--danger);  }

/* ── PUBLIC NAV ──────────────────────────────────────────── */
.pub-nav {
  position:sticky; top:0; z-index:100;
  background:rgba(246,240,228,.92); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  height:68px; display:flex; align-items:center;
}
.pub-nav .container { display:flex; align-items:center; justify-content:space-between; width:100%; }
.pub-nav-logo { display:flex; align-items:center; gap:10px; }
.pub-nav-logo .logo-mark {
  width:32px; height:32px; background:var(--vermillion);
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:.9rem; color:white;
}
.pub-nav-logo .logo-name { font-family:var(--font-display); font-size:1.15rem; }
.pub-nav-links { display:flex; align-items:center; gap:28px; }
.pub-nav-links a { font-size:.88rem; font-weight:500; color:var(--ink-60); }
.pub-nav-links a:hover { color:var(--ink); }
.pub-nav-actions { display:flex; align-items:center; gap:12px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.pub-footer {
  background:var(--ink); color:var(--white);
  padding:60px 0 32px;
}
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1.5fr; gap:40px; margin-bottom:48px; }
.footer-brand .logo-mark { width:36px; height:36px; background:var(--vermillion); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); color:white; margin-bottom:12px; }
.footer-title { font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.45); margin-bottom:14px; }
.footer-links { display:flex; flex-direction:column; gap:8px; }
.footer-links a { font-size:.88rem; color:rgba(255,255,255,.65); }
.footer-links a:hover { color:white; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:24px; display:flex; align-items:center; justify-content:space-between; }
.footer-copy { font-size:.8rem; color:rgba(255,255,255,.4); font-family:var(--font-mono); }
.footer-social { display:flex; gap:10px; }
.footer-social a {
  width:34px; height:34px; border-radius:var(--radius-sm);
  background:rgba(255,255,255,.1); color:rgba(255,255,255,.7);
  display:flex; align-items:center; justify-content:center; font-size:.9rem;
}
.footer-social a:hover { background:var(--vermillion); color:white; }

/* ── UTILITIES ───────────────────────────────────────────── */
.text-center { text-align:center; }
.text-right  { text-align:right; }
.mt-4  { margin-top:4px;  }
.mt-8  { margin-top:8px;  }
.mt-12 { margin-top:12px; }
.mt-16 { margin-top:16px; }
.mt-20 { margin-top:20px; }
.mt-24 { margin-top:24px; }
.mt-32 { margin-top:32px; }
.mt-40 { margin-top:40px; }
.mb-8  { margin-bottom:8px; }
.mb-12 { margin-bottom:12px; }
.mb-16 { margin-bottom:16px; }
.mb-20 { margin-bottom:20px; }
.mb-24 { margin-bottom:24px; }
.mb-32 { margin-bottom:32px; }
.mb-40 { margin-bottom:40px; }
.p-0   { padding:0; }
.w-full { width:100%; }
.hidden { display:none; }
.flex-1 { flex:1; }
.justify-between { justify-content:space-between; }
.items-center    { align-items:center; }
.items-start     { align-items:flex-start; }
.gap-4  { gap:4px; }
.gap-6  { gap:6px; }
.flex-col { flex-direction:column; }
.flex-wrap { flex-wrap:wrap; }
.truncate { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rounded-full { border-radius:9999px; }
.font-bold { font-weight:700; }
.font-600  { font-weight:600; }
.text-verm { color:var(--vermillion); }
.text-teal { color:var(--teal); }
.text-success { color:var(--success); }
.text-danger  { color:var(--danger); }
.text-warning { color:var(--warning); }
.bg-cream  { background:var(--cream); }
.bg-white  { background:var(--white); }
.section-pad { padding:80px 0; }
.section-pad-sm { padding:48px 0; }
.divider { height:1px; background:var(--border); margin:20px 0; }

/* ── STEPPER ─────────────────────────────────────────────── */
.stepper { display:flex; align-items:center; gap:0; margin-bottom:32px; }
.step {
  display:flex; align-items:center; gap:10px;
  flex:1;
}
.step-num {
  width:32px; height:32px; border-radius:50%;
  background:var(--border); color:var(--ink-60);
  display:flex; align-items:center; justify-content:center;
  font-size:.82rem; font-weight:700; flex-shrink:0;
  font-family:var(--font-mono); transition:all .3s;
}
.step-label { font-size:.82rem; font-weight:600; color:var(--ink-60); }
.step-line { flex:1; height:1px; background:var(--border); margin:0 8px; }
.step.active .step-num { background:var(--teal); color:white; }
.step.active .step-label { color:var(--ink); }
.step.done .step-num { background:var(--success); color:white; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width:768px) {
  .sidebar { transform:translateX(-100%); }
  .sidebar.open { transform:none; }
  .main-content { margin-left:0; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .form-row { grid-template-columns:1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .pub-nav-links { display:none; }
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
.fade-in { animation:fadeIn .4s ease forwards; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.pulse { animation:pulse 1.5s infinite; }
@keyframes countUp { from{opacity:0} to{opacity:1} }
