/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:           #07060A;
  --surface:      rgba(18, 15, 24, 0.80);
  --surface2:     rgba(28, 22, 38, 0.90);
  --surface-solid: #120F18;
  --border:       rgba(90, 55, 110, 0.30);
  --accent:       #E8792E;
  --accent-dim:   #B55B1E;
  --accent-glow:  rgba(232, 121, 46, 0.35);
  --accent-glow2: rgba(232, 121, 46, 0.12);
  --text:         #F0F0F0;
  --text-muted:   #888;
  --text-dim:     #555;
  --success:      #22C55E;
  --danger:       #EF4444;
  --gradient:     linear-gradient(135deg, #F4A340 0%, #E85C6B 50%, #D6448C 100%);
  --radius:       8px;
  --radius-lg:    14px;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 55% at 15% 10%, rgba(220,38,68,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 65% 45% at 85% 80%, rgba(232,100,30,0.11) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 55% 45%, rgba(180,35,90,0.07) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--wide { max-width: 1000px; }

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes titleShimmer {
  0%, 100% { background-position: 0% center; }
  50%       { background-position: 200% center; }
}
@keyframes eq-pulse {
  from { height: 4px; }
  to   { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .eq-bar { animation: none; height: 40%; }
  .card, .auth-card, .stat-card, .workshop-card, .hub-card { animation: none !important; }
  .site-logo-text { animation: none; }
}

/* ── EQ bars animation ──────────────────────────────────────────────────── */
.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  vertical-align: bottom;
}
.eq-bar {
  width: 4px;
  border-radius: 2px 2px 0 0;
  background: var(--gradient);
  animation: eq-pulse 0.65s ease-in-out infinite alternate;
  min-height: 4px;
}
.eq-bar:nth-child(1) { animation-delay: 0.00s; }
.eq-bar:nth-child(2) { animation-delay: 0.10s; }
.eq-bar:nth-child(3) { animation-delay: 0.22s; }
.eq-bar:nth-child(4) { animation-delay: 0.35s; }
.eq-bar:nth-child(5) { animation-delay: 0.18s; }
.eq-bar:nth-child(6) { animation-delay: 0.08s; }
.eq-bar:nth-child(7) { animation-delay: 0.28s; }

/* ── Site header ─────────────────────────────────────────────────────────── */
.site-header {
  background: rgba(7, 6, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-logo-text {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff 0%, #F4A340 30%, #E85C6B 65%, #D6448C 85%, #fff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 5s ease-in-out infinite;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.15s;
}
.site-nav a:hover, .site-nav a.active { color: var(--accent); text-decoration: none; }
.nav-welcome {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.nav-welcome strong { color: var(--text); font-weight: 700; }

/* ── Gradient separator bar ──────────────────────────────────────────────── */
.gradient-bar {
  height: 3px;
  background: var(--gradient);
}

/* ── Glow titles ─────────────────────────────────────────────────────────── */
.glow {
  text-shadow: 0 0 18px var(--accent-glow), 0 0 40px var(--accent-glow2);
}
.title-xl {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
}
.title-lg {
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.title-sm {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Hero title gradient animation ──────────────────────────────────────── */
.hero-title-animated {
  background: linear-gradient(90deg, #F4A340, #E85C6B, #D6448C, #F4A340);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 3.5s linear infinite;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232,121,46,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eq {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.hero-eq .eq-bars { height: 40px; gap: 5px; }
.hero-eq .eq-bar  { width: 6px; }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  animation: slideInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.card + .card { margin-top: 1rem; }
.card--accent {
  border-color: rgba(232,121,46,0.35);
  background: rgba(232,121,46,0.06);
}

/* Card stagger delays */
.card:nth-child(1), .stat-card:nth-child(1), .hub-card:nth-child(1), .workshop-card:nth-child(1) { animation-delay: 0.04s; }
.card:nth-child(2), .stat-card:nth-child(2), .hub-card:nth-child(2), .workshop-card:nth-child(2) { animation-delay: 0.10s; }
.card:nth-child(3), .stat-card:nth-child(3), .hub-card:nth-child(3), .workshop-card:nth-child(3) { animation-delay: 0.16s; }
.card:nth-child(4), .stat-card:nth-child(4), .hub-card:nth-child(4), .workshop-card:nth-child(4) { animation-delay: 0.22s; }
.card:nth-child(5), .stat-card:nth-child(5), .hub-card:nth-child(5), .workshop-card:nth-child(5) { animation-delay: 0.28s; }
.card:nth-child(6), .hub-card:nth-child(6), .workshop-card:nth-child(6)                          { animation-delay: 0.34s; }

/* ── Agenda ──────────────────────────────────────────────────────────────── */
.day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.day-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}
.day-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.day-section:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.session-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.session-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.session-item:last-child { border-bottom: none; }
.session-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.time-chip {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  background: rgba(232,121,46,0.1);
  border: 1px solid rgba(232,121,46,0.2);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  white-space: nowrap;
}
.session-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.5;
}
.other-info {
  white-space: pre-line;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Logistics section ───────────────────────────────────────────────────── */
.logistics-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(232,121,46,0.22);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  animation: slideInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}
.logistics-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(232,121,46,0.15);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #07060A;
}
.btn-primary:hover { background: #F08040; text-decoration: none; color: #07060A; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: rgba(232,121,46,0.1); text-decoration: none; }
.btn-ghost {
  background: rgba(28, 22, 38, 0.7);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); background: rgba(40, 30, 55, 0.85); text-decoration: none; }
.btn-danger {
  background: rgba(239,68,68,0.15);
  color: var(--danger);
  border: 1px solid rgba(239,68,68,0.3);
}
.btn-danger:hover { background: rgba(239,68,68,0.25); text-decoration: none; }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.75rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(28, 22, 38, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow2);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-select { cursor: pointer; }
.form-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

/* Radio / checkbox custom ── */
.radio-group, .check-group { display: flex; flex-direction: column; gap: 0.5rem; }
.radio-item, .check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.radio-item input[type="radio"],
.check-item input[type="checkbox"] {
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ── Alert / banner ──────────────────────────────────────────────────────── */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.alert-error   { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #FCA5A5; }
.alert-success { background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.3); color: #86EFAC; }
.alert-info    { background: rgba(232,121,46,0.10); border: 1px solid rgba(232,121,46,0.25); color: var(--accent); }
.alert-warn {
  background: rgba(232,121,46,0.10);
  border: 1px solid rgba(232,121,46,0.35);
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

/* ── Progress pill ───────────────────────────────────────────────────────── */
.progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  background: rgba(28, 22, 38, 0.9);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.progress-pill.done    { border-color: rgba(34,197,94,0.4); color: var(--success); background: rgba(34,197,94,0.08); }
.progress-pill.partial { border-color: rgba(232,121,46,0.4); color: var(--accent); background: rgba(232,121,46,0.08); }

/* ── Workshop cards ──────────────────────────────────────────────────────── */
.workshop-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  scroll-margin-top: 5rem;
  animation: slideInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.workshop-card.has-content { border-color: rgba(34,197,94,0.25); }
.workshop-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.workshop-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.workshop-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }
.workshop-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }

/* ── Rich text editor ────────────────────────────────────────────────────── */
.rich-editor-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(28, 22, 38, 0.85);
  transition: border-color 0.15s;
}
.rich-editor-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow2);
}
.rich-toolbar {
  display: flex;
  gap: 0.25rem;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 8, 15, 0.8);
}
.rich-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  min-width: 1.8rem;
  transition: all 0.1s;
}
.rich-btn:hover { background: rgba(28, 22, 38, 0.9); border-color: var(--border); color: var(--text); }
.rich-btn.active { background: rgba(232,121,46,0.15); border-color: rgba(232,121,46,0.3); color: var(--accent); }
.rich-editor {
  min-height: 140px;
  padding: 0.75rem;
  outline: none;
  line-height: 1.6;
  font-size: 0.92rem;
  color: var(--text);
}
.rich-editor ul, .rich-editor ol { padding-left: 1.5rem; margin: 0.25rem 0; }
.rich-editor li { margin: 0.15rem 0; }
.rich-editor b, .rich-editor strong { font-weight: 700; }
.rich-editor i, .rich-editor em { font-style: italic; }
.rich-editor p { margin-bottom: 0.4rem; }

/* ── Space / participant hub ─────────────────────────────────────────────── */
.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.hub-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: slideInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hub-card:hover {
  border-color: var(--accent);
  background: rgba(232,121,46,0.06);
  text-decoration: none;
  color: var(--text);
  transform: translateY(-2px);
}
.hub-card-icon { font-size: 1.5rem; }
.hub-card-title { font-weight: 700; font-size: 1rem; }
.hub-card-subtitle { font-size: 0.82rem; color: var(--text-muted); }

/* ── Table ───────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th {
  background: rgba(28, 22, 38, 0.9);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Stat cards ──────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  animation: slideInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stat-value {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ── Gate / auth pages ───────────────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.auth-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(220,38,68,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(232,100,30,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  animation: fadeInScale 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Gate-specific styles */
.gate-card {
  max-width: 480px;
  text-align: center;
}
.gate-event-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.gate-title {
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.05;
  background: linear-gradient(135deg, #F4A340, #E85C6B, #D6448C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}
.gate-edition {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.gate-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.gate-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 1.5rem 0;
}
.gate-headline {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.gate-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ── Manager layout ──────────────────────────────────────────────────────── */
.manager-layout {
  display: flex;
  min-height: 100vh;
}
.manager-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: rgba(7, 6, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-logo {
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.sidebar-logo-text {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sidebar-nav { padding: 0 0.75rem; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s;
  margin-bottom: 0.15rem;
}
.sidebar-link:hover { color: var(--text); background: rgba(40, 30, 55, 0.8); text-decoration: none; }
.sidebar-link.active { color: var(--accent); background: rgba(232,121,46,0.10); }
.sidebar-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.75rem 0.75rem 0.3rem;
}
.manager-main {
  flex: 1;
  padding: 2rem;
  overflow-x: auto;
  min-width: 0;
}
.page-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

/* ── Misc utilities ──────────────────────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .manager-layout { flex-direction: column; }
  .manager-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1rem 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .sidebar-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0 0.75rem; }
  .manager-main { padding: 1.25rem; }
  .card { padding: 1rem; }
  .workshop-card { padding: 1rem; }
  .auth-card { padding: 1.5rem; }
  .title-xl { font-size: 1.6rem; }
}
