@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/**
 * modern-theme.css
 * Clean Porcelain Light Design System for BandsAgent & ShowABand
 * Centralized Design System Stylesheet (v3.0)
 */

:root {
  /* 1. Design Tokens */
  --bg-canvas: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-subtle: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --accent-primary: #d97706;
  --accent-hover: #b45309;
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Studio & Ecosystem Compatibility Aliases */
  --bg-base: #f8fafc;
  --bg-obsidian: #f8fafc;
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-hover: #f8fafc;
  --bg-input: #ffffff;
  --bg-input-focus: #ffffff;
  --bg-paper: #f1f5f9;
  --card-bg: #ffffff;
  --card-carbon: #ffffff;
  --card-carbon-elevated: #ffffff;
  --panel-bg: #ffffff;

  --border-carbon: #e2e8f0;
  --border-carbon-light: #cbd5e1;
  --border-neutral-800: #e2e8f0;
  --border-active: #cbd5e1;
  --card-border: #e2e8f0;
  --border-color: #e2e8f0;
  --border-dark: #e2e8f0;
  --border-light: #f1f5f9;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-dim: #94a3b8;
  --text-subtle: #64748b;
  --text-white: #0f172a;

  --accent-amber: #d97706;
  --amber-primary: #d97706;
  --amber-hover: #b45309;
  --amber-active: #92400e;
  --amber-glow: rgba(217, 119, 6, 0.12);
  --amber-border: #fde68a;

  --accent-cyan: #0284c7;
  --cyan-active: #d97706;
  --accent-red: #dc2626;
  --urgent-red: #dc2626;
  --tour-red: #ef4444;
  --accent-green: #059669;
  --hire-green: #059669;
  --status-emerald: #10b981;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-card: 16px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

/* 2. Global Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, button, input, select, textarea, h1, h2, h3, h4, p, span, a, label {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, html {
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Global Card Reset */
.card, .panel, .box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Global Form Inputs */
.form-input, .composer-textarea, .search-input, input[type="text"], input[type="url"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: 12px;
  padding: 10px 14px;
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input::placeholder, .composer-textarea::placeholder, .search-input::placeholder, input::placeholder, textarea::placeholder {
  color: #94a3b8;
}

.form-input:focus, .composer-textarea:focus, .search-input:focus, input[type="text"]:focus, input[type="url"]:focus, select:focus, textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

/* Global Buttons */
.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary, .btn-outline {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover, .btn-outline:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
  color: var(--text-main);
}

/* Global Status Pills - Clean Porcelain Light System */
.badge-pill,
.status-pill {
  border-radius: 9999px !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border: 1px solid #e2e8f0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.status-pill-active,
.status-pill.pill-active,
.status-pill.pill-live,
.badge-live,
.badge-active {
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
  border-radius: 9999px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.status-pill-warning,
.status-pill-danger,
.status-pill.pill-warning,
.badge-warning,
.badge-danger {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
  border-radius: 9999px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.status-pill-neutral,
.badge-neutral {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9999px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

/* Tailwind Compatibility Bridge */
.bg-purple-50 { background-color: #f5f3ff !important; }
.text-purple-700 { color: #6d28d9 !important; }
.bg-emerald-50 { background-color: #ecfdf5 !important; }
.text-emerald-700 { color: #047857 !important; }
.bg-amber-50 { background-color: #fffbeb !important; }
.text-amber-800 { color: #92400e !important; }
.bg-blue-50 { background-color: #eff6ff !important; }
.text-blue-700 { color: #1d4ed8 !important; }
.bg-slate-50 { background-color: #f8fafc !important; }
.bg-slate-100 { background-color: #f1f5f9 !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-900 { color: #0f172a !important; }
.border-slate-200 { border-color: #e2e8f0 !important; }
.rounded-full { border-radius: 9999px !important; }

/* Clean Porcelain badge pill utilities (square-bracket purge badges) */
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }

/* Top Header & User Avatar Normalization */
#nav-user-avatar-btn,
.nav-user-avatar-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

#nav-user-avatar-fallback,
.nav-user-avatar-fallback {
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#nav-user-avatar-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block;
}

.user-status-avatar,
.admin-avatar {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 50% !important;
  background: #1e293b !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  overflow: hidden !important;
}

/* Dashboard Component Normalizations: Livestream Manager, Repertoire Vault, Contracts, Merch Desk */
#livestream-broadcast-manager-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
#livestream-broadcast-manager-card * {
  color: #0f172a;
}
#livestream-broadcast-manager-card h2,
#livestream-broadcast-manager-card h3 {
  color: #0f172a !important;
}
#livestream-broadcast-manager-card .btn-primary {
  background: #d97706 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}
#livestream-broadcast-manager-card .btn-secondary {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}

/* Merch POS Items Container Normalization */
#merch-pos-items-container > div {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  color: #0f172a !important;
}
#merch-pos-items-container button {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  transition: all 0.15s ease !important;
}
#merch-pos-items-container button:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}
#merch-pos-items-container input[type="number"] {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 8px !important;
}

/* Contracts Container Normalization */
#contracts-container .card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}
#contracts-container button[onclick*="openSplitSheetModal"] {
  background: #d97706 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}
#contracts-container button[onclick*="openSplitSheetModal"]:hover {
  background: #b45309 !important;
}
#contracts-container button[onclick*="openSettleModal"] {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}
#contracts-container button[onclick*="openSettleModal"]:hover {
  background: #f1f5f9 !important;
}
/* Studio Fader & VU Accent Bar */
.studio-fader-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 60%, #d97706 100%);
  opacity: 0.85;
}

/* Top Navigation Bar */
.greenroom-topbar,
.stagewire-topbar {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  min-height: 68px;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-neutral-800);
}

.brand-title,
.sidebar-brand-title,
.greenroom-heading,
.card-title-text,
.widget-title {
  overflow: visible;
  word-break: break-word;
  overflow-wrap: break-word;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  font-weight: 800;
  font-size: 13px;
  box-shadow: var(--shadow-subtle);
}

.brand-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.brand-subtitle {
  font-size: 11px;
  color: #d97706;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
}

/* Topbar Backstage Return Button */
.btn-backstage-return {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-backstage-return:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.user-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  max-width: 200px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  flex-shrink: 0;
}

.user-status-avatar {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  font-size: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  vertical-align: middle;
}

.user-status-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.user-status-name {
  color: #0f172a;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  line-height: 1.2;
}

.badge-verified-tick {
  color: #d97706;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}

.btn-auth-action {
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-auth-action:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* Page Layout */
.greenroom-layout,
.stagewire-layout {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

/* Feed Main Column */
.greenroom-feed-col,
.stagewire-feed-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Hero / Header Intro */
.greenroom-header-intro {
  margin-bottom: 4px;
}

.greenroom-heading {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.greenroom-desc {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
}

/* Category Filter Pills Bar */
.filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-pills-bar::-webkit-scrollbar {
  display: none;
}

.category-pill {
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}

.category-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.category-pill.active {
  background: #fffbeb;
  border-color: #d97706;
  color: #b45309;
  font-weight: 700;
}

/* Composer Card */
.composer-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease;
}

.composer-card:focus-within {
  border-color: #cbd5e1;
}

.composer-top-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.composer-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.composer-pill-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.composer-pill-btn.active[data-type="MUSICIAN_WANTED"] {
  background: #fffbeb;
  border-color: #d97706;
  color: #b45309;
  font-weight: 700;
}

.composer-pill-btn.active[data-type="AVAILABLE_FOR_HIRE"] {
  background: #ecfdf5;
  border-color: #059669;
  color: #047857;
  font-weight: 700;
}

.composer-pill-btn.active[data-type="GIG_OPPORTUNITY"] {
  background: #fff7ed;
  border-color: #ea580c;
  color: #c2410c;
  font-weight: 700;
}

.composer-pill-btn.active[data-type="GENERAL"] {
  background: #f1f5f9;
  border-color: #64748b;
  color: #334155;
  font-weight: 700;
}

.composer-textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 14px 16px;
  color: #0f172a;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  min-height: 96px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.composer-textarea::placeholder {
  color: #94a3b8;
}

.composer-textarea:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

.composer-meta-inputs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) auto;
  gap: 12px;
  align-items: end;
}

.composer-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.composer-label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.composer-header-prompt {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.composer-select {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 8px 12px;
  color: #0f172a;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.composer-select:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

.composer-input {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 8px 12px;
  color: #0f172a;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.composer-input::placeholder {
  color: #94a3b8;
}

.composer-input:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

.urgency-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-top: 0;
  padding: 0 14px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  align-self: end;
}

.urgency-toggle-wrap input {
  accent-color: #dc2626;
  cursor: pointer;
}

.urgency-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.composer-note {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-publish-post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: #d97706;
  border: 1px solid #b45309;
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(217, 119, 6, 0.2);
  transition: all 0.15s ease;
}

.btn-publish-post:hover {
  background: #b45309;
}

.btn-publish-post:active {
  transform: translateY(1px);
}

.btn-publish-post:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Feed Search / Sort Bar */
.feed-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-search-input-wrap {
  flex: 1;
  position: relative;
}

.feed-search-input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 10px 16px;
  color: #0f172a;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feed-search-input::placeholder {
  color: #94a3b8;
}

.feed-search-input:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

.feed-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 14px;
}

/* Feed Stream Cards */
.feed-cards-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.greenroom-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.greenroom-card:hover {
  border-color: #cbd5e1;
}

.card-header-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-meta-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-name-text {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.verified-icon {
  color: #d97706;
  font-size: 14px;
}

.post-timestamp {
  font-size: 12px;
  color: #64748b;
}

.category-indicator,
.author-name-row .category-pill {
  color: #b45309;
  font-weight: 600;
}

/* Role & Category Badges */
.card-badges-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.role-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.role-tag-badge.badge-musician-wanted {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.role-tag-badge.badge-available-for-hire {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.role-tag-badge.badge-gig-opportunity {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.role-tag-badge.badge-general {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.urgent-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
}

.card-title-text {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a !important;
  margin-top: 2px;
}

.card-content-body,
.post-body {
  font-size: 14px;
  color: #0f172a !important;
  line-height: 1.65;
  white-space: pre-line;
  word-break: break-word;
}

/* Card Action Bar */
.card-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.action-buttons-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.75rem;
  color: #1e293b !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-card-action:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.btn-audition-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #d97706;
  border: 1px solid #b45309;
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(217, 119, 6, 0.2);
  transition: all 0.15s ease;
}

.btn-audition-contact:hover {
  background: #b45309;
  color: #ffffff;
}

.btn-audition-contact:active {
  transform: translateY(1px);
}

/* Expandable Comment Drawer */
.comment-drawer {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}

.comment-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.comment-author-name {
  font-weight: 700;
  color: #0f172a;
}

.comment-time {
  color: #94a3b8;
}

.comment-text {
  font-size: 13px;
  color: #334155;
}

.comment-form-wrap {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.comment-input-field {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 8px 12px;
  color: #0f172a;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.comment-input-field::placeholder {
  color: #94a3b8;
}

.comment-input-field:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

.btn-comment-submit {
  padding: 8px 16px;
  background: #d97706;
  border: 1px solid #b45309;
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-comment-submit:hover {
  background: #b45309;
}

/* Right Sidebar */
.greenroom-sidebar,
.stagewire-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* Feed Scope Stream Tabs (Clean Porcelain Light) */
.feed-tabs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.feed-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: #ffffff;
  color: #64748b;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.feed-tab-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.feed-tab-btn.active {
  background: #d97706;
  color: #ffffff;
  border-color: #b45309;
  box-shadow: 0 1px 3px 0 rgba(217, 119, 6, 0.2);
}

/* Suggested Connections Widget Item */
.suggested-connection-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  gap: 10px;
}

.suggested-connection-item:last-child {
  border-bottom: none;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.widget-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-badge {
  font-size: 10px;
  font-family: var(--font-sans);
  padding: 2px 8px;
  border-radius: 9999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 600;
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.widget-item-card {
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease;
}

.widget-item-card:hover {
  border-color: #cbd5e1;
}

.widget-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.widget-item-subtitle {
  font-size: 12px;
  color: #64748b;
}

/* Empty State */
.feed-empty-state {
  padding: 48px 24px;
  text-align: center;
  background: var(--bg-surface);
  border: 1px dashed var(--border-neutral-800);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 32px;
  color: var(--amber-primary);
  margin-bottom: 4px;
}

/* Modal / Dialog */
.greenroom-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.greenroom-modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-neutral-800);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  padding: 24px;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 18px;
  cursor: pointer;
}

.btn-modal-close:hover {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .greenroom-layout {
    grid-template-columns: 1fr;
  }
  .composer-meta-inputs {
    grid-template-columns: 1fr;
  }
  .urgency-toggle-wrap {
    margin-top: 0;
  }
}

/* ==========================================================================
   Band & Artist Profile 3-Column Studio Layout (Reference Layout - PlayCloud)
   Clean Porcelain Slate (#f8fafc, #ffffff), Crisp Slate Borders (#e2e8f0),
   Deep Charcoal Typography (#0f172a), Coral Fader (#d97706) Accents
   ========================================================================== */

/* Layout Shell */
.artist-profile-shell {
  display: flex;
  min-height: 100vh;
  background-color: #f8fafc;
  color: #0f172a;
  padding-bottom: 96px; /* space for bottom persistent dock player */
  position: relative;
  overflow-x: hidden;
}

/* 1. Left Sticky Navigation Rail */
.profile-left-rail {
  width: 260px;
  min-width: 260px;
  height: 100vh;
  position: sticky;
  top: 0;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  overflow-y: auto;
  z-index: 40;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.profile-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  text-decoration: none;
}

.profile-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #7a1215;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(122, 18, 21, 0.25);
}

.profile-brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
  text-transform: uppercase;
}

/* Artist Identity in Sidebar */
.rail-artist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.rail-artist-avatar-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  margin-bottom: 12px;
}

.rail-artist-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
}

.rail-artist-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.2;
}

.rail-artist-location {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 14px;
}

.rail-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.rail-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rail-stat-num {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.rail-stat-label {
  font-size: 11px;
  color: #64748b;
}

/* Sidebar Nav Menu */
.rail-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail-nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.rail-nav-item a:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.rail-nav-item.active a {
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-weight: 700;
}

.rail-nav-item.active a .nav-icon {
  color: #d97706;
}

/* 2. Center Stage (Main Content) */
.profile-center-stage {
  flex: 1;
  min-width: 0;
  padding: 24px 32px 48px;
  overflow-y: auto;
  background-color: #f8fafc;
}

/* Top Header Bar */
.center-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.filter-pill-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-pill-list::-webkit-scrollbar { display: none; }

.filter-pill-btn {
  background: #ffffff;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.filter-pill-btn:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}

.filter-pill-btn.active {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.top-search-container {
  position: relative;
  min-width: 240px;
}

.top-search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 9px 16px 9px 38px;
  color: #0f172a;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease;
}

.top-search-input:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

.top-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

/* Giant Artist Hero Banner */
.giant-hero-banner {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  min-height: 380px;
  padding: 44px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hero-backdrop-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
  pointer-events: none;
}

.hero-left-content {
  position: relative;
  z-index: 2;
  max-width: 58%;
}

.hero-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-index-indicator {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
}

.hero-artist-name-stacked {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 20px;
  word-break: break-word;
}

.hero-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-cutout-container {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 48%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.hero-cutout-img {
  max-height: 96%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.hero-floating-amber-play-btn {
  position: absolute;
  right: 38%;
  bottom: 40px;
  padding: 12px 24px;
  border-radius: 9999px;
  background: #d97706;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: normal;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease;
  z-index: 10;
  pointer-events: auto;
}

.hero-floating-amber-play-btn:hover {
  transform: scale(1.05);
  background: #b45309;
}

/* Horizontal Artist Carousel ("Featured Collaborators / Similar Bands") */
.section-horizontal-carousel {
  margin-bottom: 36px;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.carousel-btn:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.carousel-scroll-track {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.carousel-scroll-track::-webkit-scrollbar { display: none; }

.collaborator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  width: 104px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.collaborator-item:hover {
  transform: translateY(-4px);
}

.collaborator-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  margin-bottom: 8px;
  background: #ffffff;
  transition: border-color 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.collaborator-item:hover .collaborator-avatar {
  border-color: #d97706;
}

.collaborator-name {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* 6-Column Media Grid ("Top Releases & Merch / Suggestions") */
.section-media-grid {
  margin-bottom: 36px;
}

.media-grid-6col {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.media-grid-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.media-grid-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.media-card-art-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

.media-card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.media-grid-card:hover .media-card-art {
  transform: scale(1.05);
}

.media-card-hover-play {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.media-grid-card:hover .media-card-hover-play {
  opacity: 1;
}

.media-hover-play-circle {
  width: auto;
  min-width: 48px;
  height: 28px;
  padding: 0 12px;
  border-radius: 9999px;
  background: #d97706;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.media-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.media-card-artist {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-card-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #ffffff;
  color: #0284c7;
  border: 1px solid #e2e8f0;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 3. Right-Hand Utility Rail */
.profile-right-rail {
  width: 330px;
  min-width: 330px;
  padding: 24px 20px;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* VIP / Fan Pass Membership Card */
.vip-pass-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.vip-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.vip-badge-tag.cyan {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
}

.vip-price-tier {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.vip-price-val {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
}

.vip-price-period {
  font-size: 13px;
  color: #64748b;
}

.vip-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}

.vip-cta-btn {
  width: 100%;
  background: #d97706;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.15s ease;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.vip-cta-btn:hover {
  background: #b45309;
}

/* Segmented Toggle: Tracklist vs Popular Shows */
.segmented-control-bar {
  display: flex;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 3px;
}

.segmented-toggle-tab {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.segmented-toggle-tab.active {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Vertical Media List */
.vertical-track-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.mini-track-row:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.mini-track-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mini-track-thumbnail {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}

.mini-track-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mini-track-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-track-plays {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mini-track-play-btn {
  width: auto;
  min-width: 44px;
  height: 26px;
  padding: 0 10px;
  border-radius: 9999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.mini-track-play-btn:hover {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
}

/* 4. Bottom Persistent Dock Player */
.persistent-dock-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 84px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}

.dock-meta-col {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 280px;
  min-width: 240px;
}

.dock-thumb-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.dock-title-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dock-song-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-artist-name {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-fav-icon {
  color: #94a3b8;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 16px;
  padding: 4px;
  transition: color 0.15s ease;
}

.dock-fav-icon:hover {
  color: #ef4444;
}

.dock-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 600px;
}

.dock-transport-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dock-btn-subtle {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  font-size: 15px;
  transition: color 0.15s ease;
}

.dock-btn-subtle:hover {
  color: #0f172a;
}

.dock-btn-amber-play {
  padding: 6px 16px;
  border-radius: 9999px;
  background: #d97706;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: normal;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.dock-btn-amber-play:hover {
  transform: scale(1.04);
  background: #b45309;
}

.dock-scrubber-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.dock-timestamp {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #64748b;
  min-width: 32px;
}

.dock-scrubber-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
}

.dock-scrubber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d97706;
  cursor: pointer;
}

.dock-right-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: 280px;
  min-width: 240px;
}

.dock-volume-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-volume-slider {
  width: 90px;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
}

.dock-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748b;
  cursor: pointer;
}

.dock-cyan-spec-badge {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: normal;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .media-grid-6col {
    grid-template-columns: repeat(4, 1fr);
  }
  .profile-right-rail {
    width: 280px;
    min-width: 280px;
  }
}

@media (max-width: 1024px) {
  .artist-profile-shell {
    flex-direction: column;
  }
  .profile-left-rail,
  .profile-right-rail {
    width: 100%;
    min-width: 100%;
    height: auto;
    position: static;
  }
  .media-grid-6col {
    grid-template-columns: repeat(3, 1fr);
  }
  .giant-hero-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-left-content {
    max-width: 100%;
  }
  .hero-cutout-container {
    display: none;
  }
}

@media (max-width: 640px) {
  .media-grid-6col {
    grid-template-columns: repeat(2, 1fr);
  }
  .center-top-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .media-grid-6col {
    grid-template-columns: repeat(2, 1fr);
  }
  .center-top-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .dock-meta-col {
    width: auto;
    min-width: 0;
  }
  .dock-right-col {
    display: none;
  }
}

/* ========================================================================= */
/* SHOWABAND 3-COLUMN LIVE ENTERTAINMENT MEDIA HUB & LIVE RADAR (FilScreen)   */
/* ========================================================================= */

.hub-shell {
  display: flex;
  min-height: 100vh;
  background-color: #f8fafc;
  color: #0f172a;
  position: relative;
  overflow-x: hidden;
  font-family: var(--font-sans);
}

/* 1. Left Sidebar Navigation */
.hub-left-sidebar {
  width: 260px;
  min-width: 260px;
  height: 100vh;
  position: sticky;
  top: 0;
  background-color: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 18px;
  overflow-y: auto;
  z-index: 50;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.hub-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 28px;
}

.hub-brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #7a1215;
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.hub-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hub-brand-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  color: #d97706;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.hub-menu-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.hub-menu-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.hub-menu-pill:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.hub-menu-pill.active {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #e2e8f0;
  font-weight: 700;
}

.hub-menu-pill.active .hub-pill-icon {
  color: #d97706;
}

.hub-pill-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #64748b;
  transition: color 0.15s ease;
}

.hub-sidebar-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hub-bottom-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.hub-bottom-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.hub-bottom-link.logout-link:hover {
  color: #ef4444;
}

/* 2. Center Stage Area */
.hub-center-stage {
  flex: 1;
  min-width: 0;
  padding: 24px 32px 56px;
  overflow-y: auto;
  background-color: #f8fafc;
}

/* Top Header Bar */
.hub-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hub-filters-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hub-filters-row::-webkit-scrollbar { display: none; }

.hub-filter-pill {
  background: #ffffff;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  user-select: none;
}

.hub-filter-pill:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}

.hub-filter-pill.active {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.hub-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hub-search-box {
  position: relative;
  min-width: 270px;
}

.hub-search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 9px 42px 9px 38px;
  color: #0f172a;
  font-size: 13px;
  outline: none;
  transition: all 0.15s ease;
}

.hub-search-input:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.15);
}

.hub-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
  font-size: 14px;
}

.hub-search-shortcut {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 6px;
  pointer-events: none;
}

.hub-user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hub-notif-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hub-notif-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.hub-notif-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d97706;
}

.hub-profile-avatar-wrap {
  position: relative;
  cursor: pointer;
}

.hub-profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  transition: border-color 0.15s ease;
}

.hub-profile-avatar-wrap:hover .hub-profile-avatar {
  border-color: #d97706;
}

.hub-profile-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}

/* 3. Featured Hero Card */
.hub-featured-hero {
  position: relative;
  min-height: 380px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.88) 100%),
              linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.5) 55%, rgba(15, 23, 42, 0.15) 100%);
  pointer-events: none;
}

.hub-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hub-hero-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.hub-hero-genre-pill {
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.45);
  color: #0284c7;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hub-hero-live-pill {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #ef4444;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hub-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseLiveDot 1.5s infinite;
}

@keyframes pulseLiveDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hub-hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #f59e0b;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 11px;
}

.hub-hero-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hub-hero-description {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 22px;
}

.hub-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hub-btn-primary {
  background: #d97706;
  color: #ffffff;
  font-weight: 800;
  border: none;
  padding: 12px 26px;
  border-radius: 9999px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
  text-decoration: none;
}

.hub-btn-primary:hover {
  background: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.hub-btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 9999px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.hub-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.hub-hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hub-avatar-stack {
  display: flex;
  align-items: center;
}

.hub-avatar-stack img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #0f172a;
  margin-left: -8px;
  object-fit: cover;
}

.hub-avatar-stack img:first-child {
  margin-left: 0;
}

.hub-social-proof-text {
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
}

/* 4. Section Headers & Controls */
.hub-section {
  margin-bottom: 44px;
}

.hub-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hub-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hub-section-title-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
  text-transform: uppercase;
}

.hub-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-carousel-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hub-carousel-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* 5. Trending Shows Carousel Grid */
.hub-trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.hub-trending-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hub-trending-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.hub-card-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.hub-card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hub-trending-card:hover .hub-card-poster {
  transform: scale(1.04);
}

.hub-card-rating-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  color: #f59e0b;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hub-card-heart-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.15s ease;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hub-card-heart-btn:hover {
  background: #ffffff;
  color: #ef4444;
  border-color: #fecaca;
}

.hub-card-heart-btn.liked {
  color: #ef4444;
  border-color: #fecaca;
  background: #ffffff;
}

.hub-card-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
  cursor: pointer;
}

.hub-trending-card:hover .hub-card-play-overlay {
  opacity: 1;
}

.hub-card-play-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #d97706;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
  transform: scale(0.9);
  transition: transform 0.2s ease;
}

.hub-trending-card:hover .hub-card-play-icon {
  transform: scale(1);
}

.hub-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hub-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.hub-card-genre {
  font-size: 12px;
  color: #64748b;
}

.hub-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.hub-card-venue {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hub-card-badge {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 4px;
}

/* 6. Upcoming Shows Row */
.hub-upcoming-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hub-upcoming-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.hub-upcoming-card:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.hub-date-badge {
  width: 54px;
  height: 54px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
}

.hub-date-month {
  font-size: 10px;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hub-date-day {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.hub-upcoming-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.hub-upcoming-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hub-upcoming-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-upcoming-location {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-upcoming-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hub-badge-selling-fast {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #ea580c;
}

.hub-badge-vip {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
}

.hub-badge-on-sale {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
}

/* 7. Right Utility Column (Activity & Live Feeds) */
.hub-right-sidebar {
  width: 340px;
  min-width: 340px;
  height: 100vh;
  position: sticky;
  top: 0;
  background-color: #ffffff;
  border-left: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 20px;
  overflow-y: auto;
  z-index: 40;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.hub-feed-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hub-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hub-feed-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-feed-pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseLiveDot 2s infinite;
}

.hub-feed-link {
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hub-feed-link:hover {
  color: #ea580c;
}

/* Continue Watching / Replays List */
.hub-replays-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-replay-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}

.hub-replay-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(3px);
}

.hub-replay-thumb-wrap {
  position: relative;
  width: 84px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.hub-replay-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-replay-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  opacity: 0.9;
  transition: transform 0.15s ease;
}

.hub-replay-card:hover .hub-replay-play-overlay {
  transform: scale(1.1);
  color: #d97706;
}

.hub-replay-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hub-replay-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-replay-genre {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-replay-duration {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: #0284c7;
  margin-top: 2px;
}

/* Friends Activity / Fan Pulse */
.hub-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.15s ease;
}

.hub-activity-item:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.hub-activity-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.hub-activity-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.hub-activity-presence {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}

.hub-activity-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hub-activity-text {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}

.hub-activity-handle {
  font-weight: 700;
  color: #0f172a;
}

.hub-activity-stage-tag {
  color: #d97706;
  font-weight: 600;
}

.hub-activity-time {
  font-size: 10px;
  color: #94a3b8;
  font-family: var(--font-sans);
  margin-top: 2px;
}

/* Video Player Modal */
.hub-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hub-modal-backdrop.open {
  display: flex;
}

.hub-modal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  width: 100%;
  max-width: 820px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  animation: modalSlideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hub-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.hub-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-modal-close-btn {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  font-size: 16px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.hub-modal-close-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.hub-modal-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-modal-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hub-modal-play-indicator {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d97706;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.6);
}

.hub-modal-body {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
}

.hub-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
}

.hub-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile & Tablet Responsive */
@media (max-width: 1200px) {
  .hub-upcoming-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .hub-right-sidebar {
    width: 300px;
    min-width: 300px;
  }
}

@media (max-width: 1024px) {
  .hub-shell {
    flex-direction: column;
  }
  .hub-left-sidebar,
  .hub-right-sidebar {
    width: 100%;
    min-width: 100%;
    height: auto;
    position: static;
  }
  .hub-trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hub-upcoming-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hub-center-stage {
    padding: 16px;
  }
  .hub-trending-grid {
    grid-template-columns: 1fr;
  }
  .hub-topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .hub-topbar-right {
    flex-direction: column;
    align-items: stretch;
  }
  .hub-search-box {
    min-width: 100%;
  }
}

/* ========================================================================= */
/* BAND MERCH STOREFRONT & ROCK-BAND CATALOG (MERCH.HTML - Clean Rock Store) */
/* ========================================================================= */

.merch-body {
  background-color: #ffffff;
  color: #0f172a;
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* 1. Merch Top Header & Sticky Navigation */
.merch-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e2e8f0;
}

.merch-navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.merch-nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.merch-store-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.merch-store-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #d97706;
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.merch-store-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.merch-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.merch-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.merch-breadcrumbs a:hover {
  color: #d97706;
}

.merch-breadcrumb-sep {
  color: #cbd5e1;
  font-size: 11px;
}

.merch-breadcrumb-current {
  color: #0f172a;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 340px;
}

.merch-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.merch-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.merch-cart-btn:hover {
  background: #f8fafc;
  border-color: #d97706;
  transform: translateY(-1px);
}

.merch-cart-icon {
  font-size: 16px;
}

.merch-cart-badge {
  background: #d97706;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 2. Hero Header Banner */
.merch-hero-banner {
  position: relative;
  min-height: 440px;
  background-image: url('https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4?w=1800&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 24px 80px;
  overflow: hidden;
}

.merch-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.85) 100%),
              linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.9) 100%);
  pointer-events: none;
}

.merch-hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
}

.merch-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.25);
  border: 1px solid rgba(249, 115, 22, 0.45);
  padding: 5px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.merch-hero-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 0.95;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.merch-hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: #e2e8f0;
  max-width: 650px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.merch-hero-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.merch-hero-pill-tag {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
}

/* Stylized Torn-Paper Divider Graphic */
.merch-torn-paper-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 52px;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}

.merch-torn-paper-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 3. Catalog Header & Meta Section */
.merch-catalog-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  width: 100%;
  flex: 1;
}

.merch-catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 20px;
}

.merch-catalog-headings {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.merch-catalog-title {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.merch-catalog-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.merch-stock-counter {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}

.merch-catalog-submeta {
  font-size: 13px;
  color: #64748b;
}

/* Filter and Sort Bar */
.merch-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.merch-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.merch-filter-pills::-webkit-scrollbar { display: none; }

.merch-filter-pill {
  background: #ffffff;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.merch-filter-pill:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}

.merch-filter-pill.active {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.merch-sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.merch-sort-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
}

.merch-sort-select {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.merch-sort-select:focus {
  border-color: #d97706;
}

/* 4. 4-Column Responsive Catalog Grid */
.merch-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.merch-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
}

.merch-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.merch-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merch-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.merch-card:hover .merch-card-img {
  transform: scale(1.05);
}

.merch-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #d97706;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.merch-badge-limited {
  border-color: #bae6fd;
  color: #0284c7;
  background: #f0f9ff;
}

.merch-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 14px;
}

.merch-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.merch-card-category {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.merch-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease;
}

.merch-card-title:hover {
  color: #d97706;
}

.merch-card-sizes {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.merch-size-chip {
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
}

.merch-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.merch-price-tag {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.merch-add-cart-btn {
  background: #d97706;
  border: none;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.merch-add-cart-btn:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

/* Card 1 Highlighted Active Button */
.merch-add-cart-btn.btn-active-highlight {
  background: #d97706;
  border: none;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.merch-add-cart-btn.btn-active-highlight:hover {
  background: #ea580c;
}

/* 5. Cart Slide-Out Drawer */
.merch-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  justify-content: flex-end;
}

.merch-drawer-backdrop.open {
  display: flex;
}

.merch-drawer {
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  animation: drawerSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.merch-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.merch-drawer-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.merch-drawer-close {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.merch-drawer-close:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.merch-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.merch-drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.merch-drawer-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.merch-drawer-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.merch-drawer-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.merch-drawer-item-price {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.merch-drawer-item-qty {
  font-size: 11px;
  color: #64748b;
}

.merch-drawer-item-remove {
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #64748b;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  transition: all 0.15s ease;
}

.merch-drawer-item-remove:hover {
  color: #ef4444;
  border-color: #fecaca;
  background: #fef2f2;
}

.merch-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.merch-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.merch-subtotal-label {
  color: #64748b;
}

.merch-subtotal-val {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
}

.merch-checkout-btn {
  background: #d97706;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  border: none;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.merch-checkout-btn:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

/* 6. E-Commerce Footer */
.merch-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 60px 24px 30px;
  color: #64748b;
  font-size: 13px;
}

.merch-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.merch-footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.merch-footer-heading {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.merch-footer-desc {
  line-height: 1.6;
  color: #64748b;
}

.merch-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.merch-footer-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.merch-footer-links a:hover {
  color: #d97706;
}

.merch-payment-methods {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.merch-pay-icon {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-sans);
}

.merch-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .merch-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .merch-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .merch-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .merch-hero-banner {
    min-height: 380px;
    padding: 40px 16px 60px;
  }
}

@media (max-width: 580px) {
  .merch-catalog-grid {
    grid-template-columns: 1fr;
  }
  .merch-navbar-inner {
    padding: 12px 16px;
  }
  .merch-breadcrumbs {
    display: none;
  }
  .merch-catalog-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .merch-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================= */
/* PRODUCT DETAIL PAGE (PDP) & E-COMMERCE DUAL-COLUMN LAYOUT                 */
/* ========================================================================= */

.pdp-page {
  background-color: #f8fafc;
  color: #0f172a;
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 1. Top Promo Bar */
.pdp-promo-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pdp-promo-code {
  font-family: var(--font-sans);
  background: #fff7ed;
  border: 1px dashed #d97706;
  color: #ea580c;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Breadcrumbs Bar */
.pdp-breadcrumb-bar {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 24px 0;
  width: 100%;
}

.pdp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
}

.pdp-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.pdp-breadcrumbs a:hover {
  color: #d97706;
}

.pdp-breadcrumb-sep {
  color: #cbd5e1;
}

.pdp-breadcrumb-active {
  color: #0f172a;
  font-weight: 600;
}

/* 2. Dual-Column Product Layout */
.pdp-main-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  width: 100%;
}

.pdp-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

/* Left Gallery Column */
.pdp-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdp-main-view {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.pdp-main-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #d97706;
  color: #ea580c;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pdp-thumb-reel-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.pdp-thumb-reel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.pdp-thumb-reel::-webkit-scrollbar { display: none; }

.pdp-thumb-btn {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  padding: 2px;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.15s ease;
}

.pdp-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.pdp-thumb-btn:hover {
  border-color: #cbd5e1;
}

.pdp-thumb-btn.active {
  border-color: #d97706;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

.pdp-thumb-nav-btn {
  padding: 6px 12px;
  height: 32px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  flex-shrink: 0;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pdp-thumb-nav-btn:hover {
  background: #f8fafc;
  border-color: #d97706;
  color: #d97706;
}

/* Right Purchasing Column */
.pdp-info-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pdp-header-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-product-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdp-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}

.pdp-reviews-link {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.pdp-reviews-link:hover {
  color: #d97706;
  text-decoration: underline;
}

.pdp-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.pdp-price-main {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -1px;
}

.pdp-price-original {
  font-family: var(--font-sans);
  font-size: 20px;
  color: #94a3b8;
  text-decoration: line-through;
}

.pdp-stock-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.pdp-description-excerpt {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  padding: 16px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

/* Sizing Options */
.pdp-option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-option-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.pdp-size-guide-link {
  color: #0284c7;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
  font-size: 12px;
}

.pdp-size-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pdp-size-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pdp-size-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.pdp-size-btn.active {
  border-color: #d97706;
  background: #fff7ed;
  color: #ea580c;
}

/* Purchasing Action Row */
.pdp-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pdp-qty-selector {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 4px;
}

.pdp-qty-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: #475569;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.pdp-qty-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.pdp-qty-input {
  width: 44px;
  text-align: center;
  background: transparent;
  border: none;
  color: #0f172a;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  outline: none;
}

.pdp-add-cart-btn {
  flex: 1;
  min-width: 200px;
  background: #d97706;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.pdp-add-cart-btn:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}

.pdp-secondary-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pdp-secondary-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
  padding: 0;
}

.pdp-secondary-btn:hover {
  color: #0f172a;
}

/* Metadata Chips & Social */
.pdp-meta-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.pdp-meta-item {
  color: #64748b;
}

.pdp-meta-item strong {
  color: #0f172a;
}

.pdp-social-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid #e2e8f0;
}

.pdp-social-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.pdp-social-icon-btn,
.pdp-social-text-btn {
  padding: 4px 10px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: all 0.15s ease;
}

.pdp-social-icon-btn:hover,
.pdp-social-text-btn:hover {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
}

/* 3. Tabbed Details Section */
.pdp-tabs-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 64px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pdp-tab-headers {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.pdp-tab-btn {
  padding: 18px 32px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
}

.pdp-tab-btn:hover {
  color: #0f172a;
}

.pdp-tab-btn.active {
  color: #0f172a;
}

.pdp-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: #d97706;
}

.pdp-tab-pane {
  padding: 36px 40px;
  display: none;
  color: #334155;
  line-height: 1.7;
}

.pdp-tab-pane.active {
  display: block;
}

.pdp-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.pdp-spec-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
}

.pdp-spec-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-itinerary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
}

.pdp-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 14px;
}

.pdp-size-table th,
.pdp-size-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.pdp-size-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
}

/* Reviews List */
.pdp-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pdp-review-item {
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-review-item:last-child {
  border-bottom: none;
}

.pdp-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pdp-reviewer-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 14px;
}

.pdp-review-date {
  font-size: 12px;
  color: #94a3b8;
}

/* 4. Related Products Grid */
.pdp-related-section {
  margin-bottom: 64px;
}

.pdp-related-header {
  margin-bottom: 28px;
}

.pdp-related-title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.pdp-accent-wave {
  width: 72px;
  height: 8px;
  display: block;
}

.pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pdp-related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.pdp-related-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.pdp-related-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
  overflow: hidden;
}

.pdp-related-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pdp-related-card:hover .pdp-related-thumb {
  transform: scale(1.05);
}

.pdp-sale-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.pdp-related-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  justify-content: space-between;
}

.pdp-related-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.pdp-related-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.pdp-related-price {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

/* Size Guide Modal */
.pdp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pdp-modal-backdrop.open {
  display: flex;
}

.pdp-modal-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

.pdp-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0f172a;
}

.pdp-modal-body {
  padding: 24px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .pdp-dual-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pdp-specs-grid {
    grid-template-columns: 1fr;
  }
  .pdp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pdp-main-container {
    padding: 20px 16px;
  }
  .pdp-related-grid {
    grid-template-columns: 1fr;
  }
  .pdp-tab-btn {
    padding: 14px 18px;
    font-size: 13px;
  }
  .pdp-tab-pane {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   OPTION B: CLEAN PORCELAIN STUDIO WARM LIGHT THEME
   ========================================================================== */
:root[data-theme="porcelain"],
body.theme-porcelain,
.theme-porcelain {
  /* App Canvas / Body: #f8fafc (Soft Porcelain Slate) */
  --bg-obsidian: #f8fafc;
  --bg-base: #f8fafc;
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-hover: #f8fafc;
  --bg-input: #ffffff;
  --bg-input-focus: #ffffff;

  /* Card & Modal Surfaces: #ffffff with border: 1px solid #e2e8f0 and box-shadow */
  --card-border: #e2e8f0;
  --border-neutral-800: #e2e8f0;
  --border-subtle: #e2e8f0;
  --border-active: #cbd5e1;
  --border-color: #e2e8f0;
  --border-dark: #e2e8f0;

  /* Sub-cards, Nested Panels & Table Headers: #f1f5f9 */
  --subcard-bg: #f1f5f9;
  --table-header-bg: #f1f5f9;
  --table-row-divider: #e2e8f0;
  --table-row-hover: #f8fafc;

  /* Primary Text: Deep Slate #0f172a, Secondary / Muted Labels: #64748b */
  --text-main: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* Primary Accent: Warm Muted Amber #d97706 (hover: #b45309, text: #ffffff) */
  --amber-primary: #d97706;
  --amber-hover: #b45309;
  --amber-active: #92400e;
  --amber-glow: rgba(217, 119, 6, 0.08);
  --amber-border: rgba(217, 119, 6, 0.2);

  /* Soft Badge Pills */
  --badge-amber-bg: rgba(217, 119, 6, 0.08);
  --badge-amber-color: #b45309;
  --badge-amber-border: rgba(217, 119, 6, 0.2);

  /* Neutral Badges */
  --badge-neutral-bg: #f1f5f9;
  --badge-neutral-color: #475569;
  --badge-neutral-border: #e2e8f0;

  /* Geometry & Radii */
  --radius-card: 16px;
  --radius-control: 12px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-elevated: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

body.theme-porcelain,
.theme-porcelain body {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

.theme-porcelain .card,
.theme-porcelain .panel-card,
.theme-porcelain .kpi-metric-card,
.theme-porcelain .stat-card {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
  border-radius: 16px !important;
}

.theme-porcelain .btn-accent {
  background-color: #d97706 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
}

.theme-porcelain .btn-accent:hover {
  background-color: #b45309 !important;
}

.theme-porcelain .badge-soft-pill {
  background: rgba(217, 119, 6, 0.08) !important;
  color: #b45309 !important;
  border: 1px solid rgba(217, 119, 6, 0.2) !important;
  border-radius: 9999px !important;
}

.theme-porcelain .badge-neutral-pill {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9999px !important;
}

/* ==========================================================================
   CLEAN PORCELAIN LIGHT THEME - BACKSTAGE DASHBOARD & ARTISTS ROSTER
   ========================================================================== */

/* 1. Canvas / Body */
body,
.theme-porcelain body,
.app-main-layout {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* 2. Sidebar: Pure white with #e2e8f0 border */
.app-sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
}

.sidebar-brand-box {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.sidebar-brand-title {
  color: #0f172a !important;
  font-family: var(--font-heading, var(--font-sans)) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}

.sidebar-group,
.sidebar-nav-group,
.sidebar-nav-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin-bottom: 6px !important;
}

.sidebar-group-label,
.sidebar-section-title,
.rail-group-label {
  padding: 6px 10px 4px 10px !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  user-select: none !important;
}

.sidebar-nav-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 6px 10px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #0f172a !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.sidebar-nav-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: transparent !important;
}

/* Active tab pill: Soft amber wash #fef3c7 background with #92400e text and warm amber #d97706 indicator pill */
.sidebar-nav-item.active {
  background: #fef3c7 !important;
  color: #92400e !important;
  border-color: #fde68a !important;
  font-weight: 600 !important;
}

.sidebar-nav-item.active .nav-indicator-pill {
  background: #d97706 !important;
  box-shadow: 0 0 6px rgba(217, 119, 6, 0.35) !important;
  width: 3px !important;
  height: 14px !important;
}

.sidebar-nav-item.active .nav-label {
  color: #92400e !important;
  font-weight: 600 !important;
}

.sidebar-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

.sidebar-user-status {
  color: #64748b !important;
}

.sidebar-logout-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #dc2626 !important;
}

.sidebar-logout-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #b91c1c !important;
}

/* 3. Top Header & Controls */
.app-topbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Search & Filter Inputs: Pure white #ffffff, border #e2e8f0, text #0f172a */
.topbar-search-input,
.toolbar-inputs input,
.toolbar-inputs select,
#band-search-input,
#genre-filter-select,
.flat-input,
.flat-select {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 8px !important;
  outline: none !important;
}

.topbar-search-input:focus,
.toolbar-inputs input:focus,
.toolbar-inputs select:focus,
#band-search-input:focus,
#genre-filter-select:focus,
.flat-input:focus,
.flat-select:focus {
  border-color: #d97706 !important;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15) !important;
}

.topbar-search-input::placeholder,
#band-search-input::placeholder,
.flat-input::placeholder {
  color: #94a3b8 !important;
}

.band-switcher-wrap {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

.band-switcher-label {
  color: #d97706 !important;
}

.topbar-select {
  color: #0f172a !important;
}

.topbar-select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

.topbar-profile-chip {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

.topbar-band-name {
  color: #0f172a !important;
}

.topbar-tier-pill {
  background: rgba(217, 119, 6, 0.08) !important;
  border: 1px solid rgba(217, 119, 6, 0.25) !important;
  color: #d97706 !important;
}

.btn-drawer-trigger {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

.btn-drawer-trigger:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

/* 4. Action Buttons (Host Virtual Livestream, Create New Vault) */
.btn-secondary,
button.btn-secondary {
  background: #ffffff !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-subtle) !important;
}

.btn-secondary:hover,
button.btn-secondary:hover {
  background: var(--bg-subtle) !important;
  border-color: #cbd5e1 !important;
  color: var(--text-main) !important;
}

.btn-primary,
button.btn-primary {
  background: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid #d97706 !important;
}

.btn-primary:hover,
button.btn-primary:hover {
  background: #b45309 !important;
  border-color: #b45309 !important;
}

/* 5. Toolbar Layout */
.toolbar {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.section-title {
  color: #0f172a !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.section-count {
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* 6. Prominent Artists Roster Cards Container */
.band-grid,
#bands-grid-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
  gap: 1.5rem !important;
  align-items: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.roster-card,
.band-card,
#tab-bands-section .band-card,
#roster-members-container > div {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  border-radius: 1.25rem !important; /* rounded-2xl */
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  box-sizing: border-box !important;
  position: relative !important;
  min-width: 0 !important;
  max-width: 100% !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
}

.roster-card:hover,
.band-card:hover,
#tab-bands-section .band-card:hover,
#roster-members-container > div:hover {
  transform: translateY(-2px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}

.band-card.active,
.band-card.selected-band-card {
  border: 2px solid #d97706 !important;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2), 0 10px 25px -5px rgba(0, 0, 0, 0.08) !important;
  background: #ffffff !important;
}

.band-card.active .band-name,
.band-card.selected-band-card .band-name {
  color: #d97706 !important;
}

/* Avatar/Photo Section: Fixed aspect ratio with object-fit: cover; background: #f1f5f9; */
.band-image-box,
.roster-card .avatar-box,
.band-card .band-image-box {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: 180px !important;
  position: relative !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.band-image-box img,
.band-image,
.roster-card .avatar-box img,
.band-card .band-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background: #f1f5f9 !important;
  display: block !important;
}

/* Card Body / Info: Strictly inside body padding: 1.25rem */
.band-info,
.roster-card .card-body {
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  overflow: hidden !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.band-name {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
}

.band-bio {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  margin-bottom: 12px !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

.external-ids-box {
  border-top: 1px solid #f1f5f9 !important;
  padding: 8px 0 !important;
  margin-bottom: 12px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.id-chip {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  font-size: 10px !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Genre Badges: Soft neutral pills */
.band-genre-tag,
.genre-badge,
.genre-pill,
.genre-tag {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border: 1px solid #e2e8f0 !important;
  padding: 3px 10px !important;
  text-transform: capitalize !important;
}

.active-band-pill {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: #d97706 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  text-transform: capitalize !important;
  z-index: 2 !important;
}

.verified-badge-pill {
  background: #059669 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  padding: 2px 8px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  margin-left: 6px !important;
}

/* Card Action Bar: Anchored inside card footprints without spilling past borders */
.band-actions,
.card-actions,
.roster-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 0.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-top: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.band-actions button,
.band-actions .btn,
.card-actions button,
.card-actions .btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.5rem 0.25rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  border-radius: 0.5rem !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.band-actions .btn-primary,
.band-actions button.btn-primary {
  background: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid #d97706 !important;
}

.band-actions .btn-primary:hover,
.band-actions button.btn-primary:hover {
  background: #b45309 !important;
  border-color: #b45309 !important;
}

.band-actions .btn-secondary,
.band-actions button.btn-secondary {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
}

.band-actions .btn-secondary:hover,
.band-actions button.btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.band-actions button:nth-child(4),
.band-actions .btn:nth-child(4) {
  flex: 1 1 100% !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
}

@media (max-width: 480px) {
  .band-actions {
    flex-wrap: wrap !important;
  }
  .band-actions button,
  .band-actions .btn {
    flex: 1 1 100% !important;
  }
}

/* 7. Modular Cards across Dashboard */
.modular-card,
.metric-card,
.audience-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.metric-value {
  color: #0f172a !important;
}

.metric-label {
  color: #64748b !important;
}

.metric-card-teal {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, #ffffff 85%) !important;
  border-color: #e2e8f0 !important;
}

.metric-card-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, #ffffff 85%) !important;
  border-color: #e2e8f0 !important;
}

.metric-card-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, #ffffff 85%) !important;
  border-color: #e2e8f0 !important;
}

.metric-card-rose {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, #ffffff 85%) !important;
  border-color: #e2e8f0 !important;
}

.status-card-title,
.audience-title {
  color: #0f172a !important;
}

.status-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

.status-item-primary {
  color: #0f172a !important;
}

.audience-tab-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

.audience-tab-btn.active {
  background: #ffffff !important;
  border-color: #d97706 !important;
  color: #d97706 !important;
}

.audience-table th {
  color: #64748b !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.audience-table td {
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.audience-table tr:hover td {
  background: #f8fafc !important;
}

.table-btn-action {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

.epk-drawer {
  background: #ffffff !important;
  border-left: 1px solid #e2e8f0 !important;
}

.drawer-title {
  color: #0f172a !important;
}

.drawer-input,
.drawer-textarea {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

.btn-drawer-cancel {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

.btn-drawer-save {
  background: #d97706 !important;
  border: 1px solid #d97706 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Stage Plot Builder - Clean Porcelain Light Theme Subsystem
   ========================================================================== */

.stageplot-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.stageplot-modal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #0f172a;
  animation: stageplotModalIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stageplotModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stageplot-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.stageplot-modal-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stageplot-modal-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.stageplot-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.stageplot-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(85vh - 130px);
  overflow-y: auto;
}

.stageplot-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  gap: 12px;
}

/* Onboarding Step Cards */
.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.onboarding-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.onboarding-step-card:hover {
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.step-num-badge {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #d97706;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.step-content-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* Resize Handles */
.stage-element .resize-handle {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #ffffff;
  border: 2px solid #d97706;
  border-radius: 2px;
  z-index: 55;
  display: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.stage-element.selected .resize-handle {
  display: block;
}

.stage-element .resize-handle.handle-nw {
  top: -5px;
  left: -5px;
  cursor: nwse-resize;
}

.stage-element .resize-handle.handle-ne {
  top: -5px;
  right: -5px;
  cursor: nesw-resize;
}

.stage-element .resize-handle.handle-se {
  bottom: -5px;
  right: -5px;
  cursor: nwse-resize;
}

.stage-element .resize-handle.handle-sw {
  bottom: -5px;
  left: -5px;
  cursor: nesw-resize;
}

/* Contextual Quick-Action Floating Strip */
.stage-element .element-action-strip {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 3px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 3px 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  z-index: 60;
  white-space: nowrap;
}

.stage-element.selected .element-action-strip {
  display: flex;
}

.stage-element .element-action-strip.flip-down {
  top: auto;
  bottom: -38px;
}

.btn-elem-action {
  background: transparent;
  border: 1px solid transparent;
  color: #334155;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  line-height: 1;
}

.btn-elem-action:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.btn-elem-action.delete:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

/* 24-Channel Quick Picker Popover */
.channel-picker-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 70;
  width: 240px;
  display: none;
}

.channel-grid-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
  text-align: center;
}

.channel-grid-24 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.channel-pill-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #0f172a;
  padding: 5px 0;
  text-align: center;
  cursor: pointer;
  transition: all 0.12s ease;
}

.channel-pill-btn:hover {
  background: #d97706;
  color: #ffffff;
  border-color: #b45309;
}

.channel-pill-btn.active {
  background: #d97706;
  color: #ffffff;
  border-color: #b45309;
}

.channel-quick-extras {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e2e8f0;
}

.channel-extra-btn {
  flex: 1;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: #475569;
  padding: 4px 2px;
  text-align: center;
  cursor: pointer;
}

.channel-extra-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Template Trace Overlay */
#stage-template-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#stage-template-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.template-hud-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #334155;
}

.template-hud-controls input[type="range"] {
  width: 70px;
  accent-color: #d97706;
  cursor: pointer;
}

/* Multiple Plot Switcher in Header */
.plot-manager-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px 6px;
}

.plot-ctrl-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}

.select-plot-ctrl {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  max-width: 180px;
}

.btn-plot-action {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1.2;
}

.btn-plot-action:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.btn-plot-action.danger:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.btn-plot-action.active {
  background: #d97706;
  color: #ffffff;
  border-color: #b45309;
}

/* Stage Legend & Telemetry Styles */
.legend-tally-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  page-break-inside: avoid;
  break-inside: avoid;
}

.stage-inventory-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 12px;
}

.legend-item-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 4px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.legend-item-chip .chip-count {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #d97706;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
}

.legend-item-chip .chip-label {
  color: #0f172a;
}

.legend-item-chip .chip-ch {
  font-size: 9px;
  font-weight: 800;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  padding: 1px 4px;
  border-radius: 3px;
}

.tally-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 700px) {
  .tally-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tally-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tally-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tally-stat-value.accent {
  color: #d97706;
}

.tally-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   ADMIN MULTI-PERSONA PREVIEW SWITCHER BAR & STAGE PLOT BUILDER ADVANCED SUITE
   ========================================================================== */

/* Persistent Preview Switcher Bar (Deprecated - Consolidated into Builder Header) */
.admin-persona-preview-bar {
  display: none !important;
}

.preview-bar-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.preview-brand-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.preview-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #d97706;
  border-radius: 9999px;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
  display: inline-block;
}

.preview-tag-title {
  color: #0f172a;
  text-transform: uppercase;
  font-weight: 900;
}

.preview-band-badge {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
}

.preview-band-badge strong {
  font-weight: 800;
  color: #b45309;
}

.preview-nav-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-switcher-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.preview-switcher-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  outline: none;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 230px;
}

.preview-switcher-select:hover,
.preview-switcher-select:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

@media print {
  .admin-persona-preview-bar {
    display: none !important;
  }
}

/* Palette Item Selection & Placement Tooltips */
.palette-item.palette-item-selected {
  border-color: #d97706 !important;
  background: #fffbeb !important;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.25) !important;
}

.palette-instruction-bubble {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInInstruction 0.15s ease-out;
}

.palette-instruction-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

@keyframes fadeInInstruction {
  from { opacity: 0; transform: translate(-50%, 4px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Full Screen Canvas Mode */
body.fullscreen-mode {
  overflow: hidden !important;
}

body.fullscreen-mode .builder-header {
  display: none !important;
}

body.fullscreen-mode .admin-persona-preview-bar {
  display: none !important;
}

body.fullscreen-mode .builder-workspace {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9990 !important;
  background: var(--bg-slate) !important;
  grid-template-columns: 1fr !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.fullscreen-mode .canvas-viewport-container {
  width: 100vw !important;
  height: 100vh !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

body.fullscreen-mode .stage-wrapper {
  width: 100vw !important;
  height: calc(100vh - 48px) !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  border: none !important;
  border-radius: 0 !important;
}

body.fullscreen-mode .stage-canvas {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  border-radius: 0 !important;
}

/* Floating semi-transparent porcelain tool trays */
body.fullscreen-mode .palette-sidebar {
  position: fixed !important;
  top: 60px !important;
  left: 20px !important;
  bottom: 24px !important;
  width: 280px !important;
  z-index: 10000 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 1rem !important; /* rounded-2xl */
  max-height: calc(100vh - 84px) !important;
  overflow-y: auto !important;
}

body.fullscreen-mode .properties-sidebar {
  display: flex !important;
  position: fixed !important;
  top: 60px !important;
  right: 20px !important;
  bottom: 24px !important;
  width: 310px !important;
  z-index: 10000 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 1rem !important; /* rounded-2xl */
  max-height: calc(100vh - 84px) !important;
  overflow-y: auto !important;
}

/* Never show redundant exit strip in normal view */
.fullscreen-exit-floating-btn,
.fullscreen-corner-exit-btn {
  display: none !important;
}

/* Minimal floating corner toggle button in full-screen mode */
body.fullscreen-mode .fullscreen-corner-exit-btn {
  display: inline-flex !important;
  position: fixed !important;
  top: 14px !important;
  right: 18px !important;
  z-index: 10020 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  color: #0f172a !important;
  padding: 6px 12px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.15s ease !important;
}

body.fullscreen-mode .fullscreen-corner-exit-btn:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #d97706 !important;
}

/* Blueprint Tracing Floating Controls Pill */
.blueprint-controls-pill {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 6px 14px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

.blueprint-pill-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #0f172a;
}

.blueprint-pill-slider-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blueprint-pill-slider-wrap input[type="range"] {
  width: 75px;
  accent-color: #d97706;
  cursor: pointer;
}

.blueprint-pill-percent {
  font-weight: 700;
  color: #64748b;
  min-width: 32px;
}

.blueprint-pill-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #334155;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.blueprint-pill-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.blueprint-pill-btn.active {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.blueprint-pill-btn.danger {
  color: #dc2626;
  background: #fef2f2;
  border-color: #fecaca;
}

.blueprint-pill-btn.danger:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* Top Header Persona Switcher Pill */
.persona-switcher-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #1e293b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  outline: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.persona-switcher-pill:hover,
.persona-switcher-pill:focus {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

/* Active Inspection Band Pill */
.inspection-band-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  user-select: none;
}

.inspection-band-prefix {
  color: #64748b;
  font-weight: 500;
}

.inspection-band-name {
  color: #0f172a;
  font-weight: 700;
}

/* Stage Grid Overlay */
.stage-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

/* Stage Photo Setup Reference Cards & Badges */
.stage-photo-meta-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage-photo-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stage-photo-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stage-photo-thumb-container {
  position: relative;
  width: 100%;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-photo-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-photo-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.stage-photo-dropzone {
  border: 1.5px dashed #cbd5e1;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.15s ease;
}

.stage-photo-dropzone:hover {
  border-color: #d97706;
  background: #fffbeb;
}

/* Technical Dossier Setup Photo Card */
.dossier-photo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px;
  page-break-inside: avoid;
  break-inside: avoid;
}

.dossier-photo-thumb {
  width: 120px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
}

.dossier-photo-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dossier-photo-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
}

.dossier-photo-sub {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

.print-elem-icon-box {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.print-elem-icon-box svg {
  width: 100%;
  height: 100%;
  max-width: 22px;
  max-height: 22px;
}






/* ==========================================================================
   Audition Alerts Component (Feed & Community Wall)
   ========================================================================== */
.audition-alerts-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 16px 20px;
      margin-bottom: 20px;
      box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    }
    .audition-alerts-content {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    @media (min-width: 768px) {
      .audition-alerts-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
    }
    .audition-alerts-header {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .audition-alerts-title {
      font-size: 15px;
      font-weight: 700;
      color: #0f172a;
      letter-spacing: -0.01em;
    }
    .audition-alerts-sub {
      font-size: 13px;
      color: #64748b;
      margin-top: 1px;
    }
    .audition-alerts-controls {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
    }
    .audition-alerts-select-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .audition-alerts-label {
      font-size: 13px;
      font-weight: 500;
      color: #0f172a;
      white-space: nowrap;
    }
    .audition-alerts-select {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 7px 12px;
      font-size: 13px;
      font-weight: 500;
      color: #0f172a;
      cursor: pointer;
      outline: none;
      transition: border-color 0.15s ease;
    }
    .audition-alerts-select:focus {
      border-color: #d97706;
    }
    .audition-alerts-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .btn-enable-alerts {
      background: #d97706;
      color: #ffffff;
      border: none;
      border-radius: 10px;
      padding: 8px 16px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s ease, transform 0.1s ease;
      white-space: nowrap;
    }
    .btn-enable-alerts:hover {
      background: #b45309;
    }
    .btn-enable-alerts:active {
      transform: scale(0.98);
    }
    .btn-enable-alerts:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }
    .alerts-active-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #ecfdf5;
      color: #047857;
      border: 1px solid #a7f3d0;
      border-radius: 10px;
      padding: 6px 12px;
      font-size: 12px;
      font-weight: 600;
      white-space: nowrap;
    }
    .badge-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #10b981;
      display: inline-block;
    }
    .btn-disable-alerts {
      background: transparent;
      color: #64748b;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 6px 12px;
      font-size: 12px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .btn-disable-alerts:hover {
      background: #f1f5f9;
      color: #0f172a;
    }
/* ==========================================================================
   ShowABand Media Hub Layout Utilities & Media Badges
   ========================================================================== */
.hub-page-body {
  background-color: var(--bg-canvas) !important;
  color: var(--text-main) !important;
}
.hub-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hub-hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}
.hub-hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hub-hero-media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}
.hub-hero-media-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hub-hero-media-play:hover {
  background: rgba(0, 0, 0, 0.35);
  transform: scale(1.05);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}
.collapsed-mobile {
  display: none !important;
}
.bg-amber-500 { background-color: var(--accent-primary) !important; color: #ffffff !important; }
.hover\:bg-amber-600:hover { background-color: var(--accent-hover) !important; }
.bg-amber-50 { background-color: #fffbeb !important; }
.text-amber-700 { color: #b45309 !important; }
.border-amber-200 { border-color: #fde68a !important; }
.bg-slate-100 { background-color: var(--bg-subtle) !important; }
.hover\:bg-slate-200:hover { background-color: #e2e8f0 !important; }
.text-slate-700 { color: #334155 !important; }
.border-slate-200 { border-color: var(--border-subtle) !important; }
.rounded-3xl { border-radius: 24px !important; }

/* ==========================================================================
   Merch Storefront & PDP Interactive Helpers
   ========================================================================== */
.merch-card {
  cursor: pointer;
}
.merch-card-img-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
@keyframes flyoutBadge {
  0% { transform: scale(1); }
  40% { transform: scale(1.15) translateY(-4px); }
  100% { transform: scale(1); }
}
.flyout-active {
  animation: flyoutBadge 0.4s ease;
}

/* ==========================================================================
   Band & Artist EPK Profile Dossier Subsystem (Clean Porcelain Light)
   ========================================================================== */
/* Fixed Navigation Bar */
    .stage-navbar {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-subtle);
    }

    .nav-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 12px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .brand-group {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      transition: opacity 0.15s ease;
    }

    .brand-group:hover {
      opacity: 0.9;
    }

    .showaband-header-logo {
      height: 40px;
      width: auto;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-link-btn {
      color: var(--text-muted);
      text-decoration: none;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding: 8px 14px;
      border-radius: var(--radius-btn);
      transition: all 0.15s ease;
    }

    .nav-link-btn:hover {
      color: var(--text-main);
      background: #f1f5f9;
    }

    .btn-portal-agent {
      background: #ffffff;
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
      padding: 8px 16px;
      border-radius: var(--radius-btn);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      text-decoration: none;
      transition: all 0.15s ease;
    }

    .btn-portal-agent:hover {
      background: #f1f5f9;
      border-color: #cbd5e1;
      color: var(--text-main);
    }

    .btn-google-sso {
      background: var(--color-white);
      color: #0f172a;
      border: 1px solid var(--border-subtle);
      padding: 8px 16px;
      border-radius: var(--radius-btn);
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 800;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.15s ease;
    }

    .btn-google-sso:hover {
      background: #f1f5f9;
      transform: translateY(-1px);
    }

    /* Main Container */
    .profile-main {
      flex: 1;
      max-width: 1280px;
      width: 100%;
      margin: 0 auto;
      padding: 24px;
    }

    /* Breadcrumbs */
    .breadcrumbs-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      color: var(--text-subtle);
      margin-bottom: 20px;
    }

    .breadcrumbs-bar a {
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.15s ease;
    }

    .breadcrumbs-bar a:hover {
      color: var(--color-blue);
    }

    .breadcrumbs-bar span.separator {
      color: var(--text-subtle);
    }

    /* Hero Artist Banner Card */
    .artist-hero-card {
      position: relative;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-card);
      overflow: hidden;
      margin-bottom: 28px;
      box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    }

    .hero-banner-image-wrap {
      position: relative;
      width: 100%;
      height: 280px;
      background-color: #0f172a;
      overflow: hidden;
    }

    .hero-banner-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 30%;
      filter: brightness(0.75);
      transition: transform 0.5s ease;
    }

    .hero-banner-gradient-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.75) 100%);
    }

    .hero-content-row {
      position: relative;
      padding: 20px 28px 28px 28px;
      background: #ffffff;
      border-top: 1px solid #e2e8f0;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: 20px;
    }

    .hero-left-group {
      display: flex;
      align-items: flex-end;
      gap: 24px;
      flex-wrap: wrap;
    }

    .artist-avatar-wrap {
      width: 120px;
      height: 120px;
      margin-top: -64px;
      border-radius: var(--radius-card);
      border: 4px solid #ffffff;
      background: #f8fafc;
      overflow: hidden;
      flex-shrink: 0;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    }

    .artist-avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .artist-titles-block {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .verified-beacon-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #fef2f2;
      border: 1px solid #fecaca;
      color: #7a1215;
      padding: 4px 10px;
      border-radius: var(--radius-badge);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      width: fit-content;
    }

    .artist-title-h1 {
      font-size: 36px;
      font-weight: 900;
      letter-spacing: -0.5px;
      color: #0f172a;
      line-height: 1.1;
    }

    .artist-meta-chips {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 4px;
    }

    .meta-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      color: #334155;
      padding: 5px 12px;
      border-radius: var(--radius-badge);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 700;
    }

    .meta-chip.genre {
      background: #fffbeb;
      border-color: #fde68a;
      color: #b45309;
    }

    .meta-chip.act-type {
      background: #fef2f2;
      border-color: #fecaca;
      color: #7a1215;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .meta-chip.followers {
      background: #f1f5f9;
      border-color: #cbd5e1;
      color: #475569;
    }

    .hero-actions-group {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-follow-hero {
      background: #7a1215;
      color: #ffffff;
      border: 1px solid #7a1215;
      padding: 11px 22px;
      border-radius: var(--radius-btn);
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.15s ease;
    }

    .btn-follow-hero:hover {
      background: #5f0d10;
      border-color: #5f0d10;
      transform: translateY(-1px);
    }

    .btn-follow-hero.following,
    .btn-follow-hero.is-following {
      background: #d97706 !important;
      border: 1px solid #b45309 !important;
      color: #ffffff !important;
      font-weight: 600 !important;
      box-shadow: none !important;
    }

    .btn-follow-hero.following:hover,
    .btn-follow-hero.is-following:hover {
      background: #b45309 !important;
      border-color: #92400e !important;
      color: #ffffff !important;
    }

    .btn-share-hero {
      background: #ffffff;
      border: 1px solid #cbd5e1;
      color: #0f172a;
      padding: 11px 18px;
      border-radius: var(--radius-btn);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .btn-share-hero:hover {
      background: #f1f5f9;
      color: #0f172a;
    }

    /* Dual-Pane Grid Layout */
    .profile-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 28px;
      align-items: start;
    }

    @media (max-width: 960px) {
      .profile-grid {
        grid-template-columns: 1fr;
      }
    }

    /* Content Cards */
    .content-panel {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-card);
      padding: 24px;
      margin-bottom: 24px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    }

    .panel-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
      padding-bottom: 12px;
      border-bottom: 1px solid #e2e8f0;
    }

    .panel-title {
      font-size: 13px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-weight: 800;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      color: #0f172a;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .panel-title-highlight {
      color: #7a1215;
    }

    /* Audio Preview Player */
    .compact-audio-player {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-card);
      padding: 18px;
      margin-bottom: 20px;
    }

    .player-track-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .player-now-playing-title {
      font-size: 16px;
      font-weight: 800;
      color: #0f172a;
    }

    .player-genre-badge {
      background: #fffbeb;
      border: 1px solid #fde68a;
      color: #b45309;
      padding: 3px 8px;
      border-radius: var(--radius-badge);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .player-controls-row {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .btn-play-toggle {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #7a1215;
      border: none;
      color: #ffffff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: all 0.15s ease;
    }

    .btn-play-toggle:hover {
      background: #5f0d10;
      transform: scale(1.04);
    }

    .btn-play-toggle svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    .scrubber-wrap {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .audio-slider {
      width: 100%;
      height: 6px;
      border-radius: 8px;
      background: #cbd5e1;
      outline: none;
      cursor: pointer;
      accent-color: #7a1215;
    }

    .time-tracker-row {
      display: flex;
      justify-content: space-between;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 700;
      color: #64748b;
    }

    /* Playlist items */
    .playlist-wrap {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .playlist-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-btn);
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .playlist-item:hover {
      background: #f1f5f9;
      border-color: #cbd5e1;
    }

    .playlist-item.active {
      background: #fef2f2;
      border-color: #fecaca;
    }

    .playlist-item-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .playlist-track-num {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 800;
      color: #64748b;
      width: 18px;
    }

    .playlist-track-name {
      font-size: 14px;
      font-weight: 700;
      color: #0f172a;
    }

    .playlist-item-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .playlist-duration {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 700;
      color: #64748b;
    }

    /* Video Frame */
    .video-preview-wrapper {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: #0f172a;
      border-radius: var(--radius-card);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
    }

    .video-preview-iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    /* Active Members Grid & Headshot Cards */
    .members-roster-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 14px;
    }

    .member-roster-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 14px;
      display: flex;
      align-items: center;
      gap: 14px;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }

    .member-roster-card:hover {
      transform: translateY(-2px);
      border-color: #cbd5e1;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    }

    .member-avatar-wrap {
      position: relative;
      width: 52px;
      height: 52px;
      flex-shrink: 0;
    }

    .member-avatar {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: #f1f5f9;
      object-fit: cover;
      border: 2px solid #e2e8f0;
      display: block;
    }

    .member-details {
      display: flex;
      flex-direction: column;
      gap: 4px;
      overflow: hidden;
      flex: 1;
    }

    .member-name {
      font-size: 14px;
      font-weight: 800;
      color: #0f172a;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.2;
    }

    .instrument-badge {
      display: inline-block;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      padding: 2px 7px;
      border-radius: 4px;
      background: rgba(217, 119, 6, 0.08);
      border: 1px solid rgba(217, 119, 6, 0.25);
      color: #b45309;
      letter-spacing: 0.3px;
      width: fit-content;
      max-width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Responsive Photo Gallery Grid */
    .gallery-photo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 16px;
    }

    .gallery-photo-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      overflow: hidden;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      flex-direction: column;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }

    .gallery-photo-card:hover {
      transform: translateY(-3px);
      border-color: #cbd5e1;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

    .gallery-photo-img-wrap {
      width: 100%;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      background: #f8fafc;
      position: relative;
      border-bottom: 1px solid #e2e8f0;
    }

    .gallery-photo-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.35s ease;
    }

    .gallery-photo-card:hover .gallery-photo-img {
      transform: scale(1.04);
    }

    .gallery-photo-caption {
      padding: 10px 12px;
      font-size: 12px;
      color: #64748b;
      line-height: 1.4;
      background: #ffffff;
      border-top: 1px solid #e2e8f0;
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    /* Upcoming Shows Cards */
    .upcoming-shows-stack {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .show-tour-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      transition: all 0.2s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    }

    .show-tour-card:hover {
      border-color: #cbd5e1;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    }

    .show-card-top {
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }

    .show-date-badge {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 58px;
      height: 58px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      flex-shrink: 0;
    }

    .badge-month {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 800;
      color: #d97706;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .badge-day {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 20px;
      font-weight: 900;
      color: #0f172a;
      line-height: 1;
    }

    .badge-doors {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 8px;
      color: #64748b;
    }

    .show-meta-column {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .show-event-title {
      font-size: 15px;
      font-weight: 800;
      color: #0f172a;
    }

    .show-venue-line {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      color: #64748b;
    }

    .show-venue-line strong {
      color: #0f172a;
    }

    .show-price-pill {
      display: inline-block;
      width: fit-content;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 800;
      color: #0369a1;
      background: #f0f9ff;
      border: 1px solid #bae6fd;
      padding: 2px 8px;
      border-radius: var(--radius-badge);
      margin-top: 4px;
    }

    .show-actions-row {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .btn-show-ticket {
      flex: 1;
      background: #d97706;
      color: #ffffff;
      text-decoration: none;
      padding: 9px 16px;
      border-radius: var(--radius-btn);
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      text-align: center;
      transition: all 0.15s ease;
    }

    .btn-show-ticket:hover {
      background: #b45309;
    }

    .btn-show-details {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      color: #475569;
      text-decoration: none;
      padding: 9px 14px;
      border-radius: var(--radius-btn);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      transition: all 0.15s ease;
    }

    .btn-show-details:hover {
      background: #f1f5f9;
      color: #0f172a;
    }

    /* Empty Shows State */
    .empty-dates-card {
      background: #f8fafc;
      border: 1px dashed #cbd5e1;
      border-radius: 16px;
      padding: 32px 20px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .empty-state-icon {
      font-size: 32px;
      line-height: 1;
    }

    .empty-state-headline {
      font-size: 16px;
      font-weight: 800;
      color: #0f172a;
    }

    .empty-state-text {
      font-size: 13px;
      color: #64748b;
      max-width: 380px;
      line-height: 1.5;
    }

    .btn-empty-follow {
      background: #d97706;
      color: #ffffff;
      border: none;
      padding: 10px 20px;
      border-radius: var(--radius-btn);
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
      cursor: pointer;
      margin-top: 4px;
      transition: all 0.15s ease;
    }

    .btn-empty-follow:hover {
      background: #b45309;
    }

    .btn-empty-follow:hover {
      background: #1d4ed8;
    }

    /* Artist Bio Card */
    .artist-bio-text {
      font-size: 14px;
      color: var(--text-main);
      line-height: 1.7;
    }

    /* Ticketing Guarantee Box */
    .ticket-guarantee-box {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-card);
      padding: 16px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .guarantee-icon {
      font-size: 20px;
      line-height: 1;
    }

    .guarantee-content {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .guarantee-title {
      font-size: 13px;
      font-weight: 800;
      color: #0f172a;
    }

    .guarantee-text {
      font-size: 11px;
      color: #475569;
      line-height: 1.4;
    }

    /* Toast Notification */
    .toast-notification {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: #0f172a;
      border: 1px solid #334155;
      color: #ffffff;
      padding: 12px 20px;
      border-radius: var(--radius-btn);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 700;
      box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
      transform: translateY(100px);
      opacity: 0;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 9999;
      pointer-events: none;
    }

    .toast-notification.active {
      transform: translateY(0);
      opacity: 1;
    }

    /* Footer */
    .stage-footer {
      background: #ffffff;
      border-top: 1px solid #e2e8f0;
      padding: 40px 24px 28px;
      margin-top: 48px;
    }

    .footer-container {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .footer-top-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-links {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-link {
      color: #475569;
      text-decoration: none;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: color 0.15s ease;
    }

    .footer-link:hover {
      color: #7a1215;
    }

    .footer-bottom-text {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      color: #64748b;
      line-height: 1.6;
      border-top: 1px solid #e2e8f0;
      padding-top: 16px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    /* Multi-Link Hub (Objective 2) - Clean Porcelain Light (Fixes Black-on-Black) */
    .multi-link-hub {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 14px;
    }
    .multi-link-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #ffffff;
      border: 1px solid #cbd5e1;
      color: #0f172a;
      padding: 8px 14px;
      border-radius: var(--radius-btn);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 800;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
      transition: all 0.15s ease;
    }
    .multi-link-btn:hover {
      background: #f8fafc;
      border-color: #64748b;
      color: #0f172a;
      transform: translateY(-1px);
    }
    .multi-link-btn.link-spotify { border-left: 3px solid #15803d; }
    .multi-link-btn.link-spotify:hover { border-color: #15803d; color: #15803d; background: #f0fdf4; }
    .multi-link-btn.link-apple { border-left: 3px solid #be123c; }
    .multi-link-btn.link-apple:hover { border-color: #be123c; color: #be123c; background: #fff1f2; }
    .multi-link-btn.link-instagram { border-left: 3px solid #9d174d; }
    .multi-link-btn.link-instagram:hover { border-color: #9d174d; color: #9d174d; background: #fdf2f8; }
    .multi-link-btn.link-youtube { border-left: 3px solid #b91c1c; }
    .multi-link-btn.link-youtube:hover { border-color: #b91c1c; color: #b91c1c; background: #fef2f2; }
    .multi-link-btn.link-bandcamp { border-left: 3px solid #0369a1; }
    .multi-link-btn.link-bandcamp:hover { border-color: #0369a1; color: #0369a1; background: #f0f9ff; }
    .multi-link-btn.link-site { border-left: 3px solid #d97706; }
    .multi-link-btn.link-site:hover { border-color: #d97706; color: #b45309; background: #fffbeb; }
    .multi-link-btn svg { width: 14px; height: 14px; fill: currentColor; }

    /* Booking Details & Availability (Objective 2) */
    .price-range-chip {
      background: #ecfdf5;
      border: 1px solid #a7f3d0;
      color: #047857;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 900;
      padding: 4px 10px;
      border-radius: 6px;
      letter-spacing: 0.5px;
      display: inline-flex;
      align-items: center;
    }
    .booking-meta-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      padding-bottom: 10px;
      border-bottom: 1px solid #e2e8f0;
    }
    .booking-status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 800;
      color: #047857;
    }
    .status-indicator-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #10b981;
      display: inline-block;
    }

    /* Mini-Calendar (Objective 2) - Clean Porcelain Light */
    .mini-calendar-container {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 14px;
    }
    .calendar-header-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }
    .calendar-month-title {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 800;
      color: #0f172a;
      letter-spacing: 0.8px;
    }
    .btn-cal-nav {
      background: #ffffff;
      border: 1px solid #cbd5e1;
      color: #0f172a;
      padding: 4px 10px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 800;
      font-size: 12px;
    }
    .btn-cal-nav:hover { background: #f1f5f9; }
    .calendar-weekdays-row {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      text-align: center;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 800;
      color: #64748b;
      margin-bottom: 6px;
    }
    .calendar-days-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 4px;
    }
    .cal-day-cell {
      aspect-ratio: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 700;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      color: #334155;
      cursor: default;
      position: relative;
    }
    .cal-day-cell.empty { background: transparent; border-color: transparent; }
    .cal-day-cell.open {
      color: #0f172a;
      border-color: #a7f3d0;
      background: #ffffff;
      cursor: pointer;
    }
    .cal-day-cell.open:hover {
      background: #ecfdf5;
      border-color: #10b981;
      color: #047857;
    }
    .cal-day-cell.booked {
      background: #fef2f2;
      border-color: #fecaca;
      color: #7a1215;
      font-weight: 900;
      cursor: pointer;
    }
    .cal-day-cell.booked::after {
      content: '';
      position: absolute;
      bottom: 2px;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: #7a1215;
    }
    .calendar-legend-row {
      display: flex;
      gap: 16px;
      margin-top: 12px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      color: #475569;
    }
    .legend-item { display: inline-flex; align-items: center; gap: 6px; }
    .legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
    .legend-dot.booked { background: #7a1215; }
    .legend-dot.open { background: #10b981; }

    /* Upcoming Live Setlist Preview (Objective 2) - Clean Porcelain Light */
    .setlist-preview-stack {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .setlist-preview-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 14px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      transition: all 0.15s ease;
    }
    .setlist-preview-row:hover {
      background: #ffffff;
      border-color: #cbd5e1;
    }
    .setlist-track-left {
      display: flex;
      align-items: center;
      gap: 12px;
      overflow: hidden;
    }
    .setlist-num {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 800;
      color: #7a1215;
      width: 20px;
      flex-shrink: 0;
    }
    .setlist-title {
      font-size: 13px;
      font-weight: 700;
      color: #0f172a;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }
    .setlist-tags {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      color: #64748b;
      margin-left: 6px;
      flex-shrink: 0;
    }
    .btn-preview-audio-clip {
      background: #ffffff;
      border: 1px solid #cbd5e1;
      color: #0f172a;
      padding: 5px 10px;
      border-radius: 6px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
      transition: all 0.15s ease;
    }
    .btn-preview-audio-clip:hover {
      background: #7a1215;
      border-color: #7a1215;
      color: #ffffff;
    }

    /* Official Fan Merch Storefront Grid (Objective 1) */
    .merch-storefront-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: 16px;
    }
    .merch-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
      min-width: 0;
    }
    .merch-card:hover {
      transform: translateY(-2px);
      border-color: #cbd5e1;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }
    .merch-thumb-wrap {
      width: 100%;
      height: 160px;
      background: #f8fafc;
      overflow: hidden;
      position: relative;
      border-bottom: 1px solid #e2e8f0;
    }
    .merch-thumb-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .merch-card:hover .merch-thumb-img {
      transform: scale(1.05);
    }
    .merch-badge-stock {
      position: absolute;
      top: 8px;
      right: 8px;
      background: #ecfdf5;
      border: 1px solid #a7f3d0;
      color: #047857;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 800;
      padding: 2px 6px;
      border-radius: 4px;
    }
    .merch-details {
      padding: 14px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }
    .merch-title {
      font-size: 13px;
      font-weight: 700;
      color: #0f172a;
      line-height: 1.3;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .merch-price-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .merch-price {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 15px;
      font-weight: 900;
      color: #d97706;
    }
    .merch-size-select {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      color: #0f172a;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      padding: 4px 8px;
      border-radius: 6px;
      outline: none;
    }
    .btn-merch-buy {
      background: #d97706;
      border: 1px solid #d97706;
      color: #ffffff;
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      padding: 9px 12px;
      border-radius: var(--radius-btn);
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 6px;
      transition: background 0.15s ease;
    }
    .btn-merch-buy:hover {
      background: #b45309;
      border-color: #b45309;
    }
    .btn-merch-buy:disabled {
      background: #94a3b8;
      border-color: #94a3b8;
      cursor: not-allowed;
    }

    /* ====================================================
       ECSTASY BAND SHOWCASE LAYOUT STYLES
       ==================================================== */
    .ecstasy-hero-section {
      position: relative;
      min-height: 440px;
      border-radius: var(--radius-card);
      overflow: hidden;
      margin-bottom: 24px;
      background: var(--bg-card);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      box-shadow: 0 20px 40px -15px rgba(0,0,0,0.7);
    }
    .ecstasy-hero-backdrop {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 30%;
      filter: brightness(0.6) contrast(1.1);
      z-index: 1;
    }
    .ecstasy-hero-scrim {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(11,13,19,0.2) 0%, rgba(11,13,19,0.85) 70%, rgba(11,13,19,0.98) 100%);
      z-index: 2;
    }
    .ecstasy-hero-content {
      position: relative;
      z-index: 3;
      padding: 36px 36px 40px;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 24px;
      flex-wrap: wrap;
    }
    .ecstasy-artist-title {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: clamp(40px, 6vw, 76px);
      font-weight: 900;
      letter-spacing: -1px;
      text-transform: uppercase;
      color: #ffffff;
      line-height: 1.05;
      margin: 8px 0;
      text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    }
    .ecstasy-tagline {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 14px;
      font-weight: 700;
      color: #fca5a5;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .ecstasy-hero-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .ecstasy-btn-anchor {
      background: #7a1215;
      color: #ffffff;
      text-decoration: none;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 13px;
      font-weight: 900;
      text-transform: uppercase;
      padding: 12px 22px;
      border-radius: var(--radius-btn);
      letter-spacing: 0.5px;
      transition: all 0.15s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .ecstasy-btn-anchor:hover {
      background: #5f0d10;
      transform: translateY(-2px);
    }

    /* 3. Featured Single Accent Ribbon */
    .ecstasy-accent-bar {
      width: 100%;
      background: #7a1215;
      color: #ffffff;
      border-radius: var(--radius-card);
      padding: 16px 24px;
      margin-bottom: 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
      border: 1px solid #5f0d10;
    }
    .ecstasy-accent-left {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .ecstasy-album-art {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      border: 2px solid #ffffff;
      object-fit: cover;
      flex-shrink: 0;
    }
    .ecstasy-release-titles {
      display: flex;
      flex-direction: column;
    }
    .ecstasy-release-label {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      font-weight: 900;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.85);
    }
    .ecstasy-release-name {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 18px;
      font-weight: 900;
      color: #ffffff;
      letter-spacing: -0.3px;
    }
    .ecstasy-player-controls {
      display: flex;
      align-items: center;
      gap: 14px;
      flex: 1;
      max-width: 480px;
    }
    .ecstasy-play-btn {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: #ffffff;
      color: #7a1215;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: transform 0.15s ease;
    }
    .ecstasy-play-btn:hover {
      transform: scale(1.06);
    }
    .ecstasy-progress-wrap {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .ecstasy-slider {
      width: 100%;
      accent-color: #ffffff;
      cursor: pointer;
      height: 4px;
    }
    .ecstasy-time-row {
      display: flex;
      justify-content: space-between;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 10px;
      color: rgba(255, 255, 255, 0.85);
    }
    .ecstasy-stream-badges {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .release-stat-badge {
      background: rgba(15, 23, 42, 0.35);
      padding: 6px 12px;
      border-radius: 6px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.5px;
      color: #ffffff;
    }

    /* 4. About the Band Narrative */
    .ecstasy-about-section {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius-card);
      padding: 36px 32px;
      margin-bottom: 32px;
    }
    .ecstasy-about-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 36px;
      align-items: center;
    }
    @media (max-width: 860px) {
      .ecstasy-about-grid {
        grid-template-columns: 1fr;
      }
    }
    .ecstasy-narrative-col {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .ecstasy-about-heading {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 28px;
      font-weight: 900;
      color: #0f172a;
      letter-spacing: -0.5px;
    }
    .ecstasy-about-text {
      font-size: 15px;
      line-height: 1.7;
      color: #334155;
    }
    .ecstasy-social-bar {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
      margin-top: 6px;
    }
    .ecstasy-social-icon {
      background: #ffffff;
      border: 1px solid #cbd5e1;
      color: #0f172a;
      padding: 7px 14px;
      border-radius: 8px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 800;
      text-decoration: none;
      transition: all 0.15s ease;
    }
    .ecstasy-social-icon:hover {
      background: #7a1215;
      border-color: #7a1215;
      color: #ffffff;
    }
    .ecstasy-toggle-bio-btn {
      background: #f8fafc;
      border: 1px solid #cbd5e1;
      color: #0f172a;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 800;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      width: fit-content;
      transition: all 0.15s ease;
    }
    .ecstasy-toggle-bio-btn:hover {
      background: #f1f5f9;
    }
    .ecstasy-photo-cutout-col {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .ecstasy-photo-wrapper {
      position: relative;
      width: 260px;
      height: 260px;
    }
    .ecstasy-photo-circle {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid #7a1215;
    }
    .floating-note {
      position: absolute;
      font-size: 26px;
      color: #7a1215;
    }
    .note-1 { top: -10px; right: 20px; }
    .note-2 { bottom: 10px; left: -10px; color: #57534e; }
    .note-3 { top: 40px; left: -15px; font-size: 20px; }

    /* 5. Event List: 3-Column Photo Grid */
    .ecstasy-shows-section {
      margin-bottom: 36px;
    }
    .ecstasy-section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }
    .ecstasy-section-title {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 24px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: -0.5px;
      color: #0f172a;
    }
    .ecstasy-shows-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    @media (max-width: 960px) {
      .ecstasy-shows-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 600px) {
      .ecstasy-shows-grid {
        grid-template-columns: 1fr;
      }
    }
    .ecstasy-show-card {
      position: relative;
      height: 280px;
      border-radius: var(--radius-card);
      overflow: hidden;
      border: 1px solid #e2e8f0;
      background: #0f172a;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.2s ease, border-color 0.2s ease;
    }
    .ecstasy-show-card:hover {
      transform: translateY(-3px);
      border-color: #7a1215;
    }
    .ecstasy-show-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.65);
      z-index: 1;
    }
    .ecstasy-show-scrim {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15,23,42,0.2) 0%, rgba(15,23,42,0.88) 75%, rgba(15,23,42,0.98) 100%);
      z-index: 2;
    }
    .ecstasy-date-badge {
      position: absolute;
      top: 14px;
      right: 14px;
      z-index: 3;
      background: #7a1215;
      color: #ffffff;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 900;
      padding: 5px 10px;
      border-radius: 6px;
      letter-spacing: 0.5px;
    }
    .ecstasy-show-bottom {
      position: relative;
      z-index: 3;
      padding: 20px;
      margin-top: auto;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .ecstasy-show-title {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 17px;
      font-weight: 900;
      color: #ffffff;
      text-transform: uppercase;
      line-height: 1.2;
    }
    .ecstasy-show-venue {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      color: #cbd5e1;
    }
    .ecstasy-show-btn {
      margin-top: 6px;
      background: #7a1215;
      color: #ffffff;
      border: none;
      padding: 8px 14px;
      border-radius: 6px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      cursor: pointer;
      text-decoration: none;
      text-align: center;
      transition: background 0.15s ease;
    }
    .ecstasy-show-btn:hover {
      background: #5f0d10;
    }

    /* 6. Music Discography Section: 3 Circular Photo Cards */
    .ecstasy-music-section {
      margin-bottom: 36px;
    }
    .ecstasy-music-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    @media (max-width: 860px) {
      .ecstasy-music-grid {
        grid-template-columns: 1fr;
      }
    }
    .ecstasy-music-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 24px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 14px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.03);
      transition: transform 0.2s ease, border-color 0.2s ease;
    }
    .ecstasy-music-card:hover {
      transform: translateY(-4px);
      border-color: #d97706;
    }
    .ecstasy-music-circle-photo {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #d97706;
      background: #f8fafc;
    }
    .ecstasy-music-card-title {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 18px;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 2px;
    }
    .ecstasy-music-card-desc {
      font-size: 13px;
      color: #64748b;
      line-height: 1.5;
    }
    .ecstasy-music-card-btn {
      background: #fffbeb;
      border: 1px solid #fde68a;
      color: #b45309;
      padding: 8px 18px;
      border-radius: 8px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.15s ease;
      margin-top: auto;
    }
    .ecstasy-music-card-btn:hover {
      background: #d97706;
      border-color: #d97706;
      color: #ffffff;
    }

    /* 7. Inline Owner Edit Bio Drawer - Clean Porcelain Light */
    .btn-edit-bio-drawer {
      background: #7a1215;
      color: #ffffff;
      border: 1px solid #7a1215;
      padding: 8px 16px;
      border-radius: 8px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 900;
      text-transform: uppercase;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.15s ease;
    }
    .btn-edit-bio-drawer:hover {
      background: #5f0d10;
      transform: translateY(-1px);
    }
    .drawer-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.55);
      backdrop-filter: blur(6px);
      z-index: 100000;
      display: none;
      align-items: center;
      justify-content: flex-end;
    }
    .drawer-backdrop.open {
      display: flex;
    }
    .drawer-panel {
      width: 100%;
      max-width: 520px;
      height: 100vh;
      background: #ffffff;
      border-left: 1px solid #e2e8f0;
      padding: 32px 28px;
      overflow-y: auto;
      box-shadow: -10px 0 30px rgba(15, 23, 42, 0.12);
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .drawer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #e2e8f0;
      padding-bottom: 16px;
    }
    .drawer-title {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 20px;
      font-weight: 900;
      color: #0f172a;
      text-transform: uppercase;
    }
    .drawer-close-btn {
      background: none;
      border: none;
      color: #64748b;
      font-size: 24px;
      cursor: pointer;
    }
    .drawer-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .drawer-label {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      color: #475569;
    }
    .drawer-input, .drawer-textarea {
      background: #f8fafc;
      border: 1px solid #cbd5e1;
      color: #0f172a;
      padding: 10px 14px;
      border-radius: 8px;
      font-family: inherit;
      font-size: 13px;
      outline: none;
      transition: border-color 0.15s ease;
    }
    .drawer-input:focus, .drawer-textarea:focus {
      border-color: #d97706;
      background: #ffffff;
    }
    .drawer-actions {
      display: flex;
      gap: 12px;
      margin-top: 10px;
    }
    .drawer-btn-save {
      background: #7a1215;
      border: none;
      color: #ffffff;
      padding: 12px 24px;
      border-radius: 8px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 900;
      text-transform: uppercase;
      cursor: pointer;
      flex: 1;
    }
    .drawer-btn-save:hover {
      background: #5f0d10;
    }
    .drawer-btn-cancel {
      background: #f1f5f9;
      border: 1px solid #cbd5e1;
      color: #334155;
      padding: 12px 20px;
      border-radius: 8px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      cursor: pointer;
    }
  
/* ==========================================================================
   OBS Studio Broadcast Guide & Multi-Scene Streaming Subsystem
   ========================================================================== */
/* Top Sticky Navigation Bar */
    .top-nav {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-prominent);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
      padding: 12px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .nav-brand-group {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-badge {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.5px;
      background: #f1f5f9;
      color: var(--accent-amber);
      border: 1px solid #fde68a;
      border-radius: 4px;
      padding: 4px 10px;
      text-transform: uppercase;
    }

    .nav-title {
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 0.5px;
      color: var(--text-main);
      text-transform: uppercase;
      display: none;
    }

    @media (min-width: 768px) {
      .nav-title {
        display: inline;
      }
    }

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

    .nav-btn {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.5px;
      padding: 8px 14px;
      text-decoration: none;
      text-transform: uppercase;
      border: 1px solid var(--border-prominent);
      border-radius: 6px;
      color: var(--text-sub);
      background: var(--card-bg);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
      transition: all 0.15s ease;
      display: inline-block;
    }

    .nav-btn:hover {
      background: #f8fafc;
      color: var(--text-main);
      border-color: #cbd5e1;
    }

    .nav-btn-cyan {
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
      background: #f0f9ff;
    }

    .nav-btn-cyan:hover {
      background: var(--accent-cyan);
      color: #ffffff;
      border-color: var(--accent-cyan);
    }

    /* Quick jump navigation pill bar */
    .quick-jump-bar {
      background: #f1f5f9;
      border-bottom: 1px solid var(--border-subtle);
      padding: 8px 24px;
      display: flex;
      gap: 8px;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
    }

    .quick-jump-bar::-webkit-scrollbar {
      display: none;
    }

    .quick-jump-tag {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-decoration: none;
      padding: 4px 10px;
      border: 1px solid transparent;
      border-radius: 4px;
      text-transform: uppercase;
      transition: all 0.15s ease;
    }

    .quick-jump-tag:hover {
      color: var(--text-main);
      border-color: var(--border-prominent);
      background: #ffffff;
    }

    /* Main Container */
    .container {
      max-width: 1120px;
      margin: 0 auto;
      padding: 36px 20px 0;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    /* Main Header Card */
    .hero-header {
      background: var(--card-bg);
      border: 1px solid var(--border-prominent);
      border-radius: 8px;
      box-shadow: var(--shadow-elevation);
      padding: 32px 28px;
      position: relative;
    }

    .hero-meta-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }

    .tag-amber {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.5px;
      background: #fef3c7;
      color: #92400e;
      border: 1px solid #fde68a;
      border-radius: 4px;
      padding: 3px 8px;
      text-transform: uppercase;
    }

    .tag-cyan {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.5px;
      background: #e0f2fe;
      color: #0369a1;
      border: 1px solid #bae6fd;
      border-radius: 4px;
      padding: 3px 8px;
      text-transform: uppercase;
    }

    .tag-mono {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.5px;
      background: #f1f5f9;
      color: #475569;
      border: 1px solid var(--border-prominent);
      border-radius: 4px;
      padding: 3px 8px;
      text-transform: uppercase;
    }

    .hero-title {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 900;
      letter-spacing: -0.5px;
      line-height: 1.15;
      color: #0f172a;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .hero-subtitle {
      font-size: clamp(14px, 2vw, 17px);
      color: var(--text-sub);
      font-weight: 500;
      max-width: 860px;
      line-height: 1.5;
    }

    /* Pre-Flight Notice Card */
    .notice-card {
      background: #fffbeb;
      border: 1px solid #fde68a;
      border-radius: 8px;
      box-shadow: var(--shadow-elevation);
      padding: 24px;
      position: relative;
    }

    .notice-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 14px;
      border-bottom: 1px solid #fef3c7;
      padding-bottom: 12px;
    }

    .notice-title {
      font-size: 15px;
      font-weight: 900;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: #92400e;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .notice-body {
      font-size: 14px;
      color: #78350f;
      line-height: 1.6;
    }

    .notice-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
      margin-top: 16px;
    }

    .notice-step-box {
      background: #ffffff;
      border: 1px solid #fde68a;
      border-radius: 6px;
      padding: 12px 14px;
    }

    .notice-step-label {
      font-family: var(--font-mono);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 1px;
      color: #b45309;
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .notice-step-text {
      font-size: 12px;
      color: #1e293b;
      line-height: 1.4;
    }

    /* Standard Section Modules */
    .section-module {
      background: var(--card-bg);
      border: 1px solid var(--border-prominent);
      border-radius: 8px;
      box-shadow: var(--shadow-elevation);
      padding: 28px;
    }

    .section-header-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--border-subtle);
      padding-bottom: 14px;
    }

    .section-title-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .section-title {
      font-size: 18px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #0f172a;
    }

    .section-lead {
      font-size: 14px;
      color: var(--text-sub);
      margin-bottom: 24px;
      line-height: 1.6;
    }

    /* Pipeline / Flow Grid */
    .pipeline-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
    }

    .pipeline-card {
      background: #f8fafc;
      border: 1px solid var(--border-prominent);
      border-radius: 6px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .pipeline-badge-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .pipeline-title {
      font-size: 14px;
      font-weight: 900;
      letter-spacing: 0.5px;
      color: #0f172a;
      text-transform: uppercase;
    }

    .flow-chain {
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-family: var(--font-mono);
      font-size: 12px;
    }

    .flow-step {
      background: #ffffff;
      border: 1px solid var(--border-subtle);
      border-radius: 4px;
      padding: 8px 10px;
      color: var(--text-sub);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .flow-step-name {
      color: #0f172a;
      font-weight: 700;
    }

    .flow-step-detail {
      font-size: 11px;
      color: var(--accent-cyan);
    }

    .flow-arrow-down {
      text-align: center;
      color: var(--text-dim);
      font-size: 10px;
      line-height: 1;
      font-weight: 900;
    }

    .pipeline-note {
      font-size: 12px;
      color: #0c4a6e;
      line-height: 1.5;
      border-left: 3px solid var(--accent-cyan);
      padding-left: 10px;
      background: #f0f9ff;
      border-radius: 0 4px 4px 0;
      padding-top: 6px;
      padding-bottom: 6px;
    }

    /* Two-Column Deep Dive */
    .standards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 20px;
    }

    .standard-item-card {
      background: #f8fafc;
      border: 1px solid var(--border-prominent);
      border-radius: 6px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .standard-item-header {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .standard-item-title {
      font-size: 14px;
      font-weight: 900;
      color: #0f172a;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .standard-item-desc {
      font-size: 13px;
      color: var(--text-sub);
      line-height: 1.55;
    }

    .standard-param-table {
      width: 100%;
      border-collapse: collapse;
      font-family: var(--font-mono);
      font-size: 12px;
      margin-top: 6px;
    }

    .standard-param-table td {
      padding: 6px 8px;
      border-bottom: 1px solid var(--border-subtle);
    }

    .standard-param-table td:first-child {
      color: var(--text-muted);
      width: 45%;
      text-transform: uppercase;
      font-size: 11px;
    }

    .standard-param-table td:last-child {
      color: #0f172a;
      font-weight: 700;
      text-align: right;
    }

    /* Master Table Styling */
    .table-container {
      width: 100%;
      overflow-x: auto;
      border: 1px solid var(--border-prominent);
      border-radius: 6px;
      margin-top: 14px;
      background: #ffffff;
    }

    .spec-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-family: var(--font-mono);
      font-size: 12px;
      min-width: 720px;
    }

    .spec-table th {
      background: #f1f5f9;
      color: var(--text-main);
      padding: 12px 14px;
      font-weight: 900;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      border-bottom: 1px solid var(--border-prominent);
      border-right: 1px solid var(--border-subtle);
    }

    .spec-table th:last-child {
      border-right: none;
    }

    .spec-table td {
      padding: 12px 14px;
      border-bottom: 1px solid var(--border-subtle);
      border-right: 1px solid var(--border-subtle);
      color: var(--text-sub);
      vertical-align: top;
      line-height: 1.45;
    }

    .spec-table td:last-child {
      border-right: none;
    }

    .spec-table tr:hover td {
      background: #f8fafc;
    }

    .table-badge-col {
      color: #0f172a;
      font-weight: 800;
    }

    /* Clap Test Step-by-Step Box */
    .clap-test-container {
      background: #f8fafc;
      border: 1px solid var(--border-prominent);
      border-radius: 6px;
      padding: 24px;
    }

    .step-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 16px;
    }

    .step-item {
      display: flex;
      gap: 16px;
      background: #ffffff;
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 16px;
    }

    .step-indicator {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 900;
      color: #92400e;
      background: #fef3c7;
      border: 1px solid #fde68a;
      border-radius: 4px;
      padding: 6px 10px;
      height: fit-content;
      white-space: nowrap;
      text-transform: uppercase;
    }

    .step-content {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .step-heading {
      font-size: 14px;
      font-weight: 800;
      color: #0f172a;
      text-transform: uppercase;
    }

    .step-detail {
      font-size: 13px;
      color: var(--text-sub);
      line-height: 1.5;
    }

    .step-code-hint {
      font-family: var(--font-mono);
      font-size: 12px;
      color: #0369a1;
      background: #f1f5f9;
      padding: 6px 10px;
      border: 1px solid var(--border-subtle);
      border-radius: 4px;
      margin-top: 6px;
      width: fit-content;
    }

    /* 4-Scene Cards Grid */
    .scenes-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 16px;
      margin-top: 16px;
    }

    .scene-card {
      background: #f8fafc;
      border: 1px solid var(--border-prominent);
      border-radius: 6px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .scene-header {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .scene-number-tag {
      font-family: var(--font-mono);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 1px;
      color: var(--accent-cyan);
      text-transform: uppercase;
    }

    .scene-name {
      font-size: 15px;
      font-weight: 900;
      color: #0f172a;
      text-transform: uppercase;
    }

    .scene-breakdown {
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 12px;
      color: var(--text-sub);
      border-top: 1px solid var(--border-subtle);
      padding-top: 10px;
    }

    .scene-param-row {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .scene-param-label {
      font-family: var(--font-mono);
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .scene-param-val {
      font-size: 12px;
      color: #0f172a;
      line-height: 1.4;
    }

    /* Footer */
    .guide-footer {
      border-top: 1px solid var(--border-prominent);
      margin-top: 48px;
      padding-top: 28px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .footer-left {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .footer-links {
      display: flex;
      gap: 12px;
    }

    /* Responsive adjustments */
    @media (max-width: 640px) {
      .top-nav {
        padding: 10px 14px;
      }
      .container {
        padding: 20px 12px 0;
        gap: 24px;
      }
      .hero-header {
        padding: 20px 16px;
      }
      .section-module {
        padding: 18px 14px;
      }
      .step-item {
        flex-direction: column;
      }
    }
  
/* ==========================================================================
   Admin Command Center, KPIs & Global Directory Subsystem
   ========================================================================== */
/* Zero-Icon Date Inputs */
    .admin-date-input {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      color: #0f172a;
      padding: 6px 10px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      outline: none;
      border-radius: 12px !important;
      color-scheme: light;
      transition: all 0.15s ease;
    }
    .admin-date-input:focus {
      border-color: #d97706;
      box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
    }
    .admin-date-input::-webkit-calendar-picker-indicator {
      display: none;
      -webkit-appearance: none;
    }

    /* ==========================================================================
       UNIFIED ADMIN NAVIGATION COMPONENT (Clean Porcelain Light)
       ========================================================================== */
    .unified-admin-nav {
      background-color: #ffffff;
      border-bottom: 1px solid #e2e8f0;
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }

    .unified-admin-nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 56px;
      padding: 0 24px;
      gap: 16px;
      max-width: 100%;
    }

    .unified-admin-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      flex-shrink: 0;
    }

    .unified-admin-logo {
      width: 28px;
      height: 28px;
      background: rgba(217, 119, 6, 0.08);
      border: 1px solid rgba(217, 119, 6, 0.2);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #d97706;
    }

    .unified-admin-title {
      font-family: 'JetBrains Mono', 'Inter', monospace;
      font-size: 13px;
      font-weight: 800;
      color: #0f172a;
      letter-spacing: 0.3px;
    }

    .unified-admin-badge {
      font-family: 'JetBrains Mono', monospace;
      font-size: 9px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding: 2px 7px;
      background: rgba(217, 119, 6, 0.08);
      color: #b45309;
      border: 1px solid rgba(217, 119, 6, 0.2);
      border-radius: 9999px;
    }

    .unified-admin-links {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-wrap: nowrap;
    }

    .unified-admin-pill {
      font-size: 12px;
      font-weight: 600;
      color: #475569;
      text-decoration: none;
      padding: 6px 12px;
      border-radius: 9999px;
      border: 1px solid transparent;
      transition: all 0.15s ease;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .unified-admin-pill:hover {
      background-color: #f1f5f9;
      color: #0f172a;
      border-color: #e2e8f0;
    }

    .unified-admin-pill.active {
      background-color: #fffbeb;
      color: #92400e;
      border-color: rgba(217, 119, 6, 0.3);
      font-weight: 700;
    }

    .unified-admin-utilities {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .unified-admin-btn-backstage {
      font-size: 12px;
      font-weight: 600;
      color: #334155;
      background-color: #f1f5f9;
      border: 1px solid #e2e8f0;
      border-radius: 9999px;
      padding: 6px 14px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      transition: all 0.15s ease;
    }

    .unified-admin-btn-backstage:hover {
      background-color: #e2e8f0;
      color: #0f172a;
    }

    .unified-admin-btn-logout {
      font-size: 12px;
      font-weight: 700;
      color: #dc2626;
      background-color: transparent;
      border: 1px solid rgba(220, 38, 38, 0.2);
      border-radius: 9999px;
      padding: 6px 14px;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.15s ease;
      font-family: inherit;
    }

    .unified-admin-btn-logout:hover {
      background-color: rgba(220, 38, 38, 0.08);
      border-color: #dc2626;
    }

    .unified-admin-mobile-toggle {
      display: none;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      color: #475569;
      border-radius: 8px;
      padding: 6px 10px;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
    }

    .unified-admin-mobile-toggle:hover {
      background: #e2e8f0;
      color: #0f172a;
    }

    .unified-admin-drawer {
      display: none;
    }

    @media (max-width: 1024px) {
      .unified-admin-links,
      .unified-admin-utilities {
        display: none;
      }
      .unified-admin-mobile-toggle {
        display: flex;
        gap: 6px;
      }
      .unified-admin-drawer {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease-out;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
      }
      .unified-admin-drawer.open {
        max-height: 480px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
      }
      .unified-admin-drawer-content {
        padding: 16px 24px;
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
      .unified-admin-drawer-content .unified-admin-pill {
        padding: 10px 14px;
        border-radius: 8px;
      }
      .unified-admin-drawer-divider {
        height: 1px;
        background: #e2e8f0;
        margin: 8px 0;
      }
      .unified-admin-drawer-content .unified-admin-btn-backstage,
      .unified-admin-drawer-content .unified-admin-btn-logout {
        justify-content: center;
        padding: 10px 14px;
        border-radius: 8px;
      }
    }

    /* Fixed Left Sidebar Navigation - Clean Light Porcelain */
    #admin-sidebar {
      width: var(--sidebar-width, 232px);
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      height: 100vh;
      background: #ffffff;
      border-right: 1px solid var(--border-dark, #e2e8f0);
      z-index: 999;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.03);
      transition: width 0.2s ease, transform 0.2s ease;
    }

    #admin-sidebar.collapsed {
      width: 68px !important;
    }
    #admin-sidebar.collapsed .sidebar-logo-text,
    #admin-sidebar.collapsed .sidebar-logo-sub,
    #admin-sidebar.collapsed .sidebar-section-title,
    #admin-sidebar.collapsed .sidebar-footer,
    #admin-sidebar.collapsed .nav-badge,
    #admin-sidebar.collapsed .sidebar-nav-label,
    #admin-sidebar.collapsed .sidebar-nav-item span:not(.nav-icon) {
      display: none !important;
    }
    #admin-sidebar.collapsed .sidebar-nav-item {
      justify-content: center !important;
      padding: 8px 0 !important;
    }
    #admin-sidebar.collapsed .sidebar-header {
      padding: 12px 8px !important;
      justify-content: center !important;
    }

    @media (max-width: 1024px) {
      #admin-sidebar {
        transform: translateX(-100%);
        width: 260px !important;
        z-index: 1005;
      }
      #admin-sidebar.open {
        transform: translateX(0) !important;
      }
      #admin-sidebar.collapsed {
        transform: translateX(-100%) !important;
        width: 260px !important;
      }
      #admin-main-wrapper,
      #admin-main-wrapper.sidebar-collapsed {
        margin-left: 0 !important;
      }
    }

    .sidebar-header {
      padding: 10px 14px;
      height: 54px;
      box-sizing: border-box;
      border-bottom: 1px solid var(--border-dark);
      display: flex;
      align-items: center;
      gap: 10px;
      background: #ffffff;
      flex-shrink: 0;
    }
    .sidebar-logo-icon {
      width: 30px;
      height: 30px;
      background: rgba(217, 119, 6, 0.08);
      border: 1px solid rgba(217, 119, 6, 0.2);
      color: var(--accent-orange);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 900;
      border-radius: 10px;
      flex-shrink: 0;
    }
    .sidebar-logo-text {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12.5px;
      font-weight: 800;
      letter-spacing: 0.4px;
      color: #0f172a;
      line-height: 1.15;
    }
    .sidebar-logo-sub {
      font-size: 9px;
      color: var(--accent-orange);
      font-weight: 700;
      letter-spacing: 0.8px;
      text-transform: uppercase;
    }

    .sidebar-nav-section {
      padding: 6px 0 4px 0;
      border-bottom: 1px solid var(--border-dark);
    }
    .sidebar-section-title {
      padding: 0 14px 4px 14px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 9.5px;
      font-weight: 800;
      color: var(--text-subtle);
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .sidebar-nav-item {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 9px;
      padding: 5.5px 14px;
      color: #475569;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.25;
      text-decoration: none;
      cursor: pointer;
      border-left: 3px solid transparent;
      transition: all 0.15s ease;
    }
    .sidebar-nav-item .nav-icon {
      width: 18px;
      text-align: center;
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .sidebar-nav-item .sidebar-nav-label {
      flex: 1;
      text-align: left;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .sidebar-nav-item:hover {
      background: #f8fafc;
      color: #0f172a;
      border-left-color: #cbd5e1;
    }
    .sidebar-nav-item.active {
      background: #f1f5f9;
      color: var(--accent-orange);
      border-left-color: var(--accent-orange);
      font-weight: 700;
    }
    .sidebar-nav-item .nav-badge {
      margin-left: auto;
      flex-shrink: 0;
      font-family: 'JetBrains Mono', monospace;
      font-size: 9px;
      font-weight: 800;
      padding: 1px 6px;
      background: rgba(217, 119, 6, 0.08);
      border: 1px solid rgba(217, 119, 6, 0.2);
      color: #b45309;
      border-radius: 9999px;
    }

    .sidebar-footer {
      margin-top: auto;
      padding: 8px 14px;
      background: #f1f5f9;
      border-top: 1px solid var(--border-dark);
      font-family: 'JetBrains Mono', monospace;
      font-size: 9.5px;
      color: var(--text-subtle);
      flex-shrink: 0;
    }

    /* Main Container layout */
    #admin-main-wrapper {
      margin-left: var(--sidebar-width, 232px);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background: #f8fafc;
      flex: 1;
      min-width: 0;
      transition: margin-left 0.2s ease;
    }
    #admin-main-wrapper.sidebar-collapsed {
      margin-left: 68px !important;
    }

    /* Top Header Bar */
    #admin-topbar {
      height: 54px;
      min-height: 54px;
      background: #ffffff;
      border-bottom: 1px solid var(--border-dark);
      position: sticky;
      top: 0;
      z-index: 900;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 0 16px;
      flex-wrap: nowrap;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    }
    .topbar-left {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
      min-width: 0;
      max-width: none;
      flex-wrap: nowrap;
    }
    .sidebar-toggle-btn {
      background: #f1f5f9;
      border: 1px solid var(--border-dark);
      color: var(--text-muted);
      width: 32px;
      height: 32px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: all 0.15s ease;
    }
    .sidebar-toggle-btn:hover {
      background: #e2e8f0;
      color: #0f172a;
    }
    .search-input-wrapper {
      position: relative;
      width: 220px;
      max-width: 240px;
      flex-shrink: 1;
    }
    .search-input-wrapper input {
      width: 100%;
      box-sizing: border-box;
      background: #f8fafc;
      border: 1px solid var(--border-dark);
      color: #0f172a;
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      padding: 6px 10px 6px 30px;
      border-radius: 10px;
      outline: none;
      transition: all 0.2s ease;
    }
    .search-input-wrapper input:focus {
      border-color: var(--accent-orange);
      box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
      background: #ffffff;
    }
    .search-icon {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 12px;
      color: var(--text-subtle);
      pointer-events: none;
    }

    .topbar-right {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
      flex-wrap: nowrap;
    }
    .status-pill {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 700;
      padding: 4px 9px;
      background: #f1f5f9;
      border: 1px solid var(--border-dark);
      border-radius: 9999px;
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      color: #475569;
    }
    .pill-live {
      color: var(--accent-green);
      background: rgba(16, 185, 129, 0.08);
      border-color: rgba(16, 185, 129, 0.2);
    }
    .pill-test {
      color: #b45309;
      background: rgba(217, 119, 6, 0.08);
      border-color: rgba(217, 119, 6, 0.2);
    }
    .pill-brevo {
      color: #0284c7;
      background: rgba(2, 132, 199, 0.08);
      border-color: rgba(2, 132, 199, 0.2);
    }

    .admin-profile-pill {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 4px 12px 4px 4px;
      background: #f1f5f9;
      border: 1px solid var(--border-dark);
      border-radius: 9999px;
      font-size: 12px;
      color: #0f172a;
      font-weight: 600;
    }
    .admin-avatar {
      width: 26px;
      height: 26px;
      background: var(--accent-orange);
      color: #fff;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 11px;
    }
    .btn-logout {
      background: #ffffff;
      border: 1px solid var(--border-dark);
      color: var(--text-muted);
      padding: 7px 14px;
      border-radius: 12px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      text-transform: uppercase;
      transition: all 0.15s ease;
    }
    .btn-logout:hover {
      background: #fee2e2;
      color: var(--accent-red);
      border-color: #fca5a5;
    }

    /* Content Area */
    .admin-content-body {
      padding: 32px 36px 64px 36px;
      max-width: 1720px;
      width: 100%;
      margin: 0 auto;
    }

    /* Diagnostics Banner */
    #system-diagnostics-bar {
      background: #ffffff;
      border: 1px solid var(--border-dark);
      border-radius: 12px;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      margin-bottom: 24px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    }
    .diag-item {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-muted);
    }
    .diag-badge {
      font-weight: 800;
      padding: 2px 8px;
      font-size: 10px;
      background: rgba(16, 185, 129, 0.08);
      color: var(--accent-green);
      border: 1px solid rgba(16, 185, 129, 0.2);
      border-radius: 9999px;
    }

    /* KPI Grids */
    .kpi-grid-5 {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 18px;
      margin-bottom: 24px;
    }
    @media (max-width: 1400px) {
      .kpi-grid-5 { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 900px) {
      .kpi-grid-5 { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
      .kpi-grid-5 { grid-template-columns: 1fr; }
    }

    .kpi-grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      margin-bottom: 24px;
    }
    @media (max-width: 1280px) {
      .kpi-grid-4 { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .kpi-grid-4 { grid-template-columns: 1fr; }
    }

    .kpi-metric-card {
      background: #ffffff;
      border: 1px solid var(--border-dark);
      border-radius: 16px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
      padding: 22px 24px;
      position: relative;
      transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .kpi-metric-card:hover {
      transform: translateY(-2px);
      border-color: #cbd5e1;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }
    .kpi-metric-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 16px;
      right: 16px;
      height: 3px;
      border-radius: 9999px;
    }
    .card-blue::before { background: var(--accent-blue); }
    .card-green::before { background: var(--accent-green); }
    .card-red::before { background: var(--accent-red); }
    .card-orange::before { background: var(--accent-orange); }
    .card-purple::before { background: var(--accent-purple); }
    .card-cyan::before { background: var(--accent-cyan); }

    .kpi-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    .kpi-card-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    .kpi-card-pill {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 700;
      padding: 3px 8px;
      background: rgba(217, 119, 6, 0.08);
      border: 1px solid rgba(217, 119, 6, 0.2);
      color: #b45309;
      border-radius: 9999px;
      text-transform: uppercase;
    }
    .kpi-card-body {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 12px;
    }
    .kpi-main-val {
      font-family: 'JetBrains Mono', monospace;
      font-size: 30px;
      font-weight: 900;
      line-height: 1.15;
      color: #0f172a;
    }
    .kpi-sparkline {
      width: 100px;
      height: 28px;
      flex-shrink: 0;
    }
    .kpi-sub-text {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--text-subtle);
      margin-top: 10px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      border-top: 1px solid var(--border-dark);
      padding-top: 8px;
    }

    /* Row 2: Analytics & Activities Grid */
    .grid-2-1 {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 24px;
      margin-bottom: 24px;
    }
    @media (max-width: 1100px) {
      .grid-2-1 { grid-template-columns: 1fr; }
    }

    .dark-panel {
      background: #ffffff;
      border: 1px solid var(--border-dark);
      border-radius: 16px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .panel-header {
      padding: 16px 22px;
      border-bottom: 1px solid var(--border-dark);
      background: #f1f5f9;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }
    .panel-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: #0f172a;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .panel-body {
      padding: 22px;
      flex: 1;
    }

    /* Activities Stream */
    .activities-feed {
      max-height: 330px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .activity-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding-bottom: 12px;
      border-bottom: 1px solid #f1f5f9;
    }
    .activity-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    .activity-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      margin-top: 4px;
      flex-shrink: 0;
    }
    .activity-content {
      flex: 1;
      min-width: 0;
    }
    .activity-title {
      font-size: 12px;
      font-weight: 700;
      color: #0f172a;
      line-height: 1.3;
    }
    .activity-detail {
      font-size: 11px;
      color: var(--text-subtle);
      margin-top: 2px;
      font-family: 'JetBrains Mono', monospace;
    }
    .activity-time {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      color: var(--text-subtle);
      white-space: nowrap;
    }

    /* Row 3: Operational 3-Column Center */
    .grid-3-col {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 24px;
    }
    @media (max-width: 1200px) {
      .grid-3-col { grid-template-columns: 1fr; }
    }

    .inquiry-row, .chat-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid #f1f5f9;
    }
    .inquiry-row:last-child, .chat-row:last-child {
      border-bottom: none;
    }
    .avatar-circle {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 11px;
      flex-shrink: 0;
    }
    .inquiry-info, .chat-info {
      flex: 1;
      min-width: 0;
    }
    .inquiry-title, .chat-title {
      font-size: 12px;
      font-weight: 700;
      color: #0f172a;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .inquiry-sub, .chat-snippet {
      font-size: 11px;
      color: var(--text-subtle);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .chat-time {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      color: var(--text-subtle);
      white-space: nowrap;
    }

    /* Launch Calendar Card */
    .launch-target-banner {
      background: #f1f5f9;
      border: 1px solid var(--border-dark);
      border-radius: 12px;
      padding: 12px 16px;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .launch-target-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 800;
      color: var(--accent-orange);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .tour-show-pill {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      background: #f8fafc;
      border: 1px solid var(--border-dark);
      border-radius: 12px;
      margin-bottom: 8px;
      font-size: 12px;
    }
    .tour-show-date {
      font-family: 'JetBrains Mono', monospace;
      font-weight: 800;
      color: var(--accent-orange);
    }
    .tour-show-name {
      color: #0f172a;
      font-weight: 600;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      max-width: 170px;
    }

    /* Row 4: Geo-Radar & Global User Directory */
    .grid-row-4-top {
      display: grid;
      grid-template-columns: 320px 1fr 280px;
      gap: 24px;
      margin-bottom: 24px;
    }
    @media (max-width: 1300px) {
      .grid-row-4-top { grid-template-columns: 1fr; }
    }

    #admin-leaflet-map {
      min-height: 520px;
      height: 560px;
      width: 100%;
      background: #f8fafc;
      border-radius: 16px;
      border: 1px solid var(--border-dark);
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    }

    /* 4-Square Counters */
    .counters-grid-4 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      height: 100%;
    }
    .square-counter-card {
      background: #ffffff;
      border: 1px solid var(--border-dark);
      border-radius: 16px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
      padding: 18px 16px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .counter-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 800;
      color: var(--text-muted);
      text-transform: uppercase;
    }
    .counter-val {
      font-family: 'JetBrains Mono', monospace;
      font-size: 26px;
      font-weight: 900;
      color: #0f172a;
      margin: 8px 0;
    }
    .counter-sub {
      font-size: 10px;
      color: var(--text-subtle);
    }

    /* Table Styles */
    .custom-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
      text-align: left;
    }
    .custom-table th {
      padding: 12px 16px;
      background: #f1f5f9;
      border-bottom: 1px solid var(--border-dark);
      color: #475569;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .custom-table td {
      padding: 12px 16px;
      border-bottom: 1px solid var(--border-dark);
      color: #0f172a;
      background: #ffffff;
      vertical-align: middle;
    }
    .custom-table tbody tr:hover td {
      background: #f8fafc;
    }

    .badge {
      display: inline-block;
      padding: 3px 8px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      border-radius: 9999px;
    }
    .badge-green { background: rgba(16, 185, 129, 0.08); color: #059669; border: 1px solid rgba(16, 185, 129, 0.2); }
    .badge-blue { background: #f1f5f9; color: #475569; border: 1px solid var(--border-dark); }
    .badge-amber { background: rgba(217, 119, 6, 0.08); color: #b45309; border: 1px solid rgba(217, 119, 6, 0.2); }
    .badge-purple { background: #f1f5f9; color: #475569; border: 1px solid var(--border-dark); }
    .badge-pink { background: #f1f5f9; color: #475569; border: 1px solid var(--border-dark); }
    .badge-danger { background: rgba(220, 38, 38, 0.08); color: #dc2626; border: 1px solid rgba(220, 38, 38, 0.2); }

    .btn-table-action {
      background: #ffffff;
      border: 1px solid var(--border-dark);
      color: #475569;
      padding: 5px 10px;
      border-radius: 8px;
      font-size: 11px;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .btn-table-action:hover {
      background: #f1f5f9;
      border-color: #cbd5e1;
      color: #0f172a;
    }

    /* Access Lock Screen */
    #access-lock-view {
      display: none;
      min-height: 100vh;
      background: #f8fafc;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }
    .lock-card {
      max-width: 480px;
      width: 100%;
      background: #ffffff;
      border: 1px solid var(--border-dark);
      border-radius: 16px;
      padding: 36px;
      text-align: center;
      box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
      color: #0f172a;
    }

    /* Toast */
    .admin-toast {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: #ffffff;
      border: 1px solid var(--border-dark);
      border-radius: 12px;
      color: #0f172a;
      padding: 12px 20px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 700;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
      z-index: 9999;
      transform: translateY(100px);
      opacity: 0;
      transition: all 0.25s ease;
      pointer-events: none;
    }
    .admin-toast.visible {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
    .admin-toast.toast-success { border-color: var(--accent-green); color: #059669; }
    .admin-toast.toast-error { border-color: var(--accent-red); color: #dc2626; }

    /* Keyframes */
    @keyframes pinPulse {
      0% { transform: scale(1); opacity: 0.8; }
      100% { transform: scale(1.7); opacity: 0; }
    }
    @keyframes liveBeaconPulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.9); }
    }
    .beacon-pulse {
      animation: liveBeaconPulse 2s infinite ease-in-out;
    }
  
/* ==========================================================================
   Unified Admin Navigation, Financials & Tax Reporting Subsystems
   ========================================================================== */
/* ==========================================================================
       UNIFIED ADMIN NAVIGATION COMPONENT (Clean Porcelain Light)
       ========================================================================== */
    .unified-admin-nav {
      background-color: #ffffff;
      border-bottom: 1px solid #e2e8f0;
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }

    .unified-admin-nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 56px;
      padding: 0 24px;
      gap: 16px;
      max-width: 100%;
    }

    .unified-admin-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      flex-shrink: 0;
    }

    .unified-admin-logo {
      width: 28px;
      height: 28px;
      background: rgba(217, 119, 6, 0.08);
      border: 1px solid rgba(217, 119, 6, 0.2);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #d97706;
    }

    .unified-admin-title {
      font-family: 'JetBrains Mono', 'Inter', monospace;
      font-size: 13px;
      font-weight: 800;
      color: #0f172a;
      letter-spacing: 0.3px;
    }

    .unified-admin-badge {
      font-family: 'JetBrains Mono', monospace;
      font-size: 9px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding: 2px 7px;
      background: rgba(217, 119, 6, 0.08);
      color: #b45309;
      border: 1px solid rgba(217, 119, 6, 0.2);
      border-radius: 9999px;
    }

    .unified-admin-links {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-wrap: nowrap;
    }

    .unified-admin-pill {
      font-size: 12px;
      font-weight: 600;
      color: #475569;
      text-decoration: none;
      padding: 6px 12px;
      border-radius: 9999px;
      border: 1px solid transparent;
      transition: all 0.15s ease;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .unified-admin-pill:hover {
      background-color: #f1f5f9;
      color: #0f172a;
      border-color: #e2e8f0;
    }

    .unified-admin-pill.active {
      background-color: #fffbeb;
      color: #92400e;
      border-color: rgba(217, 119, 6, 0.3);
      font-weight: 700;
    }

    .unified-admin-utilities {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .unified-admin-btn-backstage {
      font-size: 12px;
      font-weight: 600;
      color: #334155;
      background-color: #f1f5f9;
      border: 1px solid #e2e8f0;
      border-radius: 9999px;
      padding: 6px 14px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      transition: all 0.15s ease;
    }

    .unified-admin-btn-backstage:hover {
      background-color: #e2e8f0;
      color: #0f172a;
    }

    .unified-admin-btn-logout {
      font-size: 12px;
      font-weight: 700;
      color: #dc2626;
      background-color: transparent;
      border: 1px solid rgba(220, 38, 38, 0.2);
      border-radius: 9999px;
      padding: 6px 14px;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.15s ease;
      font-family: inherit;
    }

    .unified-admin-btn-logout:hover {
      background-color: rgba(220, 38, 38, 0.08);
      border-color: #dc2626;
    }

    .unified-admin-mobile-toggle {
      display: none;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      color: #475569;
      border-radius: 8px;
      padding: 6px 10px;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
    }

    .unified-admin-mobile-toggle:hover {
      background: #e2e8f0;
      color: #0f172a;
    }

    .unified-admin-drawer {
      display: none;
    }

    @media (max-width: 1024px) {
      .unified-admin-links,
      .unified-admin-utilities {
        display: none;
      }
      .unified-admin-mobile-toggle {
        display: flex;
        gap: 6px;
      }
      .unified-admin-drawer {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease-out;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
      }
      .unified-admin-drawer.open {
        max-height: 480px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
      }
      .unified-admin-drawer-content {
        padding: 16px 24px;
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
      .unified-admin-drawer-content .unified-admin-pill {
        padding: 10px 14px;
        border-radius: 8px;
      }
      .unified-admin-drawer-divider {
        height: 1px;
        background: #e2e8f0;
        margin: 8px 0;
      }
      .unified-admin-drawer-content .unified-admin-btn-backstage,
      .unified-admin-drawer-content .unified-admin-btn-logout {
        justify-content: center;
        padding: 10px 14px;
        border-radius: 8px;
      }
    }

    /* Top Command Header */
    header.admin-header {
      background-color: #ffffff;
      border-bottom: 1px solid #e2e8f0;
      padding: 18px 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    }

    .brand-group {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .brand-badge {
      background: rgba(217, 119, 6, 0.08);
      color: #b45309;
      border: 1px solid rgba(217, 119, 6, 0.2);
      font-family: 'JetBrains Mono', monospace;
      font-weight: 800;
      font-size: 11px;
      padding: 5px 12px;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      border-radius: 9999px;
    }

    .brand-title {
      font-size: 16px;
      font-weight: 800;
      letter-spacing: 0.3px;
      color: #0f172a;
      text-transform: uppercase;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    /* Month Selector & Controls - Segmented Pill */
    .period-control-group {
      display: flex;
      align-items: center;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      padding: 4px 8px;
      border-radius: 9999px;
      gap: 8px;
    }

    .period-label {
      font-size: 11px;
      font-weight: 700;
      color: #64748b;
      font-family: 'JetBrains Mono', monospace;
      text-transform: uppercase;
      padding-left: 6px;
    }

    input[type="month"] {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      color: #0f172a;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 700;
      padding: 5px 10px;
      border-radius: 9999px;
      outline: none;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    }

    input[type="month"]:focus {
      border-color: #d97706;
    }

    /* Action Buttons */
    .btn {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      padding: 9px 18px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      border: 1px solid transparent;
      border-radius: 12px;
      transition: all 0.15s ease;
    }

    .btn-gold {
      background-color: #d97706;
      color: #ffffff;
      border: 1px solid #d97706;
      box-shadow: 0 1px 2px 0 rgba(217, 119, 6, 0.2);
    }
    .btn-gold:hover {
      background-color: #b45309;
      border-color: #b45309;
      color: #ffffff;
    }

    .btn-dark {
      background-color: #ffffff;
      color: #475569;
      border: 1px solid #e2e8f0;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    }
    .btn-dark:hover {
      background-color: #f1f5f9;
      color: #0f172a;
      border-color: #cbd5e1;
    }

    /* Quick Time-Range Range Buttons */
    .time-range-group {
      display: flex;
      align-items: center;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      border-radius: 9999px;
      padding: 3px;
      gap: 2px;
    }
    .time-range-pill {
      background: transparent;
      border: 1px solid transparent;
      color: #64748b;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 9999px;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .time-range-pill:hover {
      color: #0f172a;
    }
    .time-range-pill.active {
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #e2e8f0;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      font-weight: 800;
    }

    /* Country Toggle Bar - Segmented Pill */
    .country-nav-bar {
      background-color: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 12px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    }

    .country-toggle-group {
      display: flex;
      align-items: center;
      gap: 4px;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      padding: 3px;
      border-radius: 9999px;
      flex-wrap: wrap;
    }

    .country-toggle-label {
      font-size: 11px;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      color: #64748b;
      text-transform: uppercase;
      padding: 0 8px;
    }

    .btn-country-tab {
      background: transparent;
      border: 1px solid transparent;
      color: #64748b;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 700;
      padding: 6px 14px;
      border-radius: 9999px;
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      transition: all 0.15s ease;
    }

    .btn-country-tab:hover {
      color: #0f172a;
      background: rgba(255, 255, 255, 0.6);
    }

    .btn-country-tab.active {
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #e2e8f0;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      font-weight: 800;
    }

    .country-rule-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: #64748b;
    }
    .country-rule-tag strong {
      color: #d97706;
    }

    /* Main Container */
    main.container {
      max-width: 1440px;
      margin: 0 auto;
      padding: 32px 36px;
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    /* 4 Primary Stat Cards */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }

    .stat-card {
      background-color: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
      padding: 24px 26px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 150px;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .stat-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    }

    .stat-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .stat-title {
      font-size: 11px;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .stat-badge {
      font-size: 10px;
      font-weight: 700;
      font-family: 'JetBrains Mono', monospace;
      padding: 3px 8px;
      border-radius: 9999px;
      text-transform: uppercase;
    }
    .badge-gold {
      background: rgba(217, 119, 6, 0.08);
      color: #b45309;
      border: 1px solid rgba(217, 119, 6, 0.2);
    }
    .badge-green {
      background: rgba(16, 185, 129, 0.08);
      color: #059669;
      border: 1px solid rgba(16, 185, 129, 0.2);
    }
    .badge-cyan {
      background: rgba(2, 132, 199, 0.08);
      color: #0284c7;
      border: 1px solid rgba(2, 132, 199, 0.2);
    }
    .badge-red {
      background: rgba(220, 38, 38, 0.08);
      color: #dc2626;
      border: 1px solid rgba(220, 38, 38, 0.2);
    }

    .stat-value {
      font-size: 30px;
      font-weight: 900;
      font-family: 'JetBrains Mono', monospace;
      color: #0f172a;
      margin-bottom: 8px;
      letter-spacing: -0.5px;
    }

    .stat-subtitle {
      font-size: 12px;
      color: #64748b;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid #e2e8f0;
      padding-top: 10px;
    }

    /* Comparison Section */
    .comparison-section {
      background-color: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
      padding: 26px 28px;
    }

    .section-title-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      border-bottom: 1px solid #e2e8f0;
      padding-bottom: 14px;
    }

    .section-title {
      font-size: 13px;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      text-transform: uppercase;
      color: #0f172a;
      letter-spacing: 0.5px;
    }

    /* Visual High-Contrast Bar Comparison */
    .visual-comparison-container {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .bar-row {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .bar-labels {
      display: flex;
      justify-content: space-between;
      font-size: 11px;
      font-weight: 700;
      font-family: 'JetBrains Mono', monospace;
      color: #64748b;
    }

    .bar-track {
      background: #f1f5f9;
      height: 24px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      position: relative;
      overflow: hidden;
      display: flex;
    }

    .bar-segment {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      color: #ffffff;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    /* Country Mini Cards Grid */
    .country-breakdown-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 16px;
      margin-bottom: 8px;
    }

    .country-mini-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
      padding: 18px 20px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .country-mini-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 11px;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      color: #0f172a;
    }

    .country-mini-value {
      font-size: 22px;
      font-weight: 900;
      font-family: 'JetBrains Mono', monospace;
      color: #0f172a;
    }

    .country-mini-footer {
      font-size: 11px;
      font-family: 'JetBrains Mono', monospace;
      color: #64748b;
      display: flex;
      justify-content: space-between;
      border-top: 1px solid #e2e8f0;
      padding-top: 8px;
    }

    /* Two-Column Telemetry & Expense Ledger */
    .two-col-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    @media (max-width: 1024px) {
      .two-col-grid {
        grid-template-columns: 1fr;
      }
    }

    .panel-card {
      background-color: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
      padding: 26px 28px;
      display: flex;
      flex-direction: column;
    }

    /* Metric Key-Value List */
    .metric-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 22px;
    }

    .metric-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 11px 16px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
    }

    .metric-item span:first-child {
      color: #64748b;
    }
    .metric-item span:last-child {
      font-weight: 700;
      color: #0f172a;
    }

    /* Manual Expense Form */
    .expense-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 20px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .form-group label {
      font-size: 10px;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      color: #64748b;
      text-transform: uppercase;
    }

    .form-group input,
    .form-group select {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      color: #0f172a;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      padding: 9px 12px;
      border-radius: 12px;
      outline: none;
      transition: all 0.15s ease;
    }
    .form-group input:focus,
    .form-group select:focus {
      border-color: #d97706;
      box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
    }

    /* Ledger Table */
    .table-container {
      overflow-x: auto;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      background: #ffffff;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    }

    table.data-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
      font-family: 'JetBrains Mono', monospace;
      text-align: left;
    }

    table.data-table th {
      background: #f1f5f9;
      color: #475569;
      font-weight: 800;
      padding: 12px 16px;
      border-bottom: 1px solid #e2e8f0;
      text-transform: uppercase;
      font-size: 10px;
      letter-spacing: 0.5px;
    }

    table.data-table td {
      padding: 12px 16px;
      border-bottom: 1px solid #e2e8f0;
      color: #0f172a;
      background: #ffffff;
    }

    table.data-table tbody tr:hover td {
      background: #f8fafc;
    }

    .text-right {
      text-align: right;
    }

    .status-pill {
      display: inline-block;
      padding: 3px 8px;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      border-radius: 9999px;
    }

    /* Notification / Toast Banner */
    #status-banner {
      display: none;
      padding: 12px 18px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 16px;
      border-radius: 12px;
      border: 1px solid transparent;
      border-radius: 10px;
    }
    #status-banner.success {
      display: block;
      background: rgba(16, 185, 129, 0.08);
      color: #059669;
      border-color: rgba(16, 185, 129, 0.2);
    }
    #status-banner.error {
      display: block;
      background: rgba(220, 38, 38, 0.08);
      color: #dc2626;
      border-color: rgba(220, 38, 38, 0.2);
    }
  
/* ==========================================================================
   CRA Tax Report Screen Layout & Form GST34 Cards
   ========================================================================== */
/* Screen-Only Control Toolbar - Clean Porcelain Studio Card */
    .no-print-toolbar {
      max-width: 960px;
      margin: 0 auto 24px auto;
      background: #ffffff;
      color: #0f172a;
      padding: 18px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    }

    .no-print-toolbar h2 {
      font-size: 15px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      color: #0f172a;
      font-weight: 700;
      letter-spacing: -0.01em;
    }

    .toolbar-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .toolbar-actions input[type="month"] {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      color: #0f172a;
      font-family: 'JetBrains Mono', monospace;
      padding: 7px 12px;
      font-weight: 700;
      border-radius: 9999px;
      outline: none;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    }
    .toolbar-actions input[type="month"]:focus {
      border-color: #d97706;
    }

    .btn-print {
      background: #d97706;
      color: #ffffff;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      font-size: 13px;
      padding: 8px 18px;
      border: none;
      border-radius: 9999px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 1px 2px 0 rgba(217, 119, 6, 0.2);
      transition: all 0.15s ease;
    }
    .btn-print:hover {
      background: #b45309;
    }

    .btn-back {
      background: #ffffff;
      color: #475569;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      padding: 8px 16px;
      text-decoration: none;
      border: 1px solid #e2e8f0;
      border-radius: 9999px;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      transition: all 0.15s ease;
    }
    .btn-back:hover {
      background: #f1f5f9;
      color: #0f172a;
      border-color: #cbd5e1;
    }

    /* CRA Form GST34 Quick-Fill Card (Clean Porcelain Studio Card) */
    .cra-quickfill-box {
      max-width: 960px;
      margin: 0 auto 24px auto;
      background-color: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 24px;
      box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    }

    .quickfill-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      flex-wrap: wrap;
      gap: 12px;
    }

    .quickfill-title {
      font-size: 13px;
      font-weight: 800;
      color: #d97706;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .quickfill-sub {
      font-size: 12px;
      color: #64748b;
      margin-top: 2px;
    }

    .btn-copy-gst34 {
      background-color: #ffffff;
      color: #0f172a;
      border: 1px solid #e2e8f0;
      border-radius: 9999px;
      padding: 8px 16px;
      font-size: 12px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      transition: all 0.15s ease;
    }

    .btn-copy-gst34:hover {
      background-color: #f8fafc;
      border-color: #cbd5e1;
      color: #0f172a;
    }

    .quickfill-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
    }

    .quickfill-cell {
      background-color: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .quickfill-cell-title {
      font-size: 11px;
      font-weight: 700;
      color: #475569;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .quickfill-cell-val {
      font-size: 18px;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      color: #0f172a;
    }

    .quickfill-cell-sub {
      font-size: 11px;
      color: #64748b;
    }

    /* Printable Tax Document Page (Screen View: Print Preview Container) */
    .report-sheet {
      max-width: 960px;
      margin: 0 auto;
      background: #ffffff;
      color: #000000;
      padding: 48px;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    }

    /* CRA Official Header Banner */
    .cra-header {
      border-bottom: 2px solid var(--border-black);
      padding-bottom: 16px;
      margin-bottom: 20px;
    }

    .cra-top-bar {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 12px;
    }

    .cra-dept-title {
      font-size: 10pt;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .cra-form-id {
      font-size: 12pt;
      font-weight: 900;
      font-family: monospace;
      text-align: right;
    }

    .report-main-title {
      font-size: 16pt;
      font-weight: 800;
      text-transform: uppercase;
      margin-top: 4px;
      letter-spacing: -0.5px;
    }

    .report-sub-title {
      font-size: 9pt;
      font-style: italic;
      color: #333333;
    }

    /* Tax Identification Box */
    .meta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border: 1px solid var(--border-black);
      margin-bottom: 24px;
      background: #fafafa;
    }

    .meta-cell {
      padding: 10px 14px;
      border-bottom: 1px solid #cccccc;
    }
    .meta-cell:nth-child(odd) {
      border-right: 1px solid #cccccc;
    }
    .meta-cell:nth-last-child(-n+2) {
      border-bottom: none;
    }

    .meta-label {
      font-size: 8pt;
      font-weight: 700;
      text-transform: uppercase;
      color: #444444;
      display: block;
      margin-bottom: 2px;
    }

    .meta-value {
      font-size: 11pt;
      font-weight: 700;
      font-family: monospace;
    }

    /* Tax Document Section Headers */
    .cra-report-document .section-header,
    .tax-audit-report .section-header {
      background: #000000;
      color: #ffffff;
      padding: 6px 12px;
      font-size: 10pt;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 24px;
      margin-bottom: 12px;
    }

    /* CRA Boxed Return Summary */
    .cra-box-table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 16px;
    }

    .cra-box-table th,
    .cra-box-table td {
      border: 1px solid var(--border-black);
      padding: 10px 14px;
      vertical-align: middle;
    }

    .cra-box-table th {
      background: var(--bg-box);
      font-size: 9pt;
      text-transform: uppercase;
      font-weight: 800;
      text-align: left;
    }

    .box-number {
      font-family: monospace;
      font-size: 14pt;
      font-weight: 900;
      width: 80px;
      text-align: center;
      background: #000000;
      color: #ffffff;
    }

    .box-desc-title {
      font-weight: 800;
      font-size: 11pt;
      display: block;
    }

    .box-desc-subtitle {
      font-size: 8.5pt;
      color: #444444;
    }

    .box-amount {
      font-family: monospace;
      font-size: 13pt;
      font-weight: 900;
      text-align: right;
      width: 180px;
      white-space: nowrap;
    }

    .remittance-row {
      background: #eeeeee;
    }
    .remittance-row .box-number {
      background: #222222;
    }

    /* Worldwide Supplies Breakdown Sub-Table */
    .breakdown-subtable {
      width: 100%;
      border-collapse: collapse;
      font-size: 8.5pt;
      margin-bottom: 24px;
      background: #fafafa;
    }

    .breakdown-subtable th,
    .breakdown-subtable td {
      border: 1px solid #cccccc;
      padding: 6px 10px;
    }

    .breakdown-subtable th {
      background: #eeeeee;
      font-weight: 800;
      text-transform: uppercase;
      font-size: 8pt;
    }

    /* Itemized Schedule of Digital Platform Seller Payouts */
    .seller-schedule-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 9pt;
      margin-bottom: 24px;
    }

    .seller-schedule-table th,
    .seller-schedule-table td {
      border: 1px solid var(--border-black);
      padding: 8px 10px;
      vertical-align: middle;
    }

    .seller-schedule-table th {
      background: var(--bg-box);
      font-weight: 800;
      text-transform: uppercase;
      font-size: 8pt;
      text-align: left;
    }

    .seller-schedule-table td.numeric,
    .seller-schedule-table th.numeric {
      text-align: right;
      font-family: monospace;
    }

    .seller-schedule-table tr.total-row td {
      font-weight: 900;
      background: #eeeeee;
      font-size: 9.5pt;
      border-top: 2px solid var(--border-black);
    }

    /* Certification Block */
    .attestation-block {
      border: 1px solid var(--border-black);
      padding: 16px 20px;
      margin-top: 30px;
      background: #fafafa;
      page-break-inside: avoid;
    }

    .attestation-text {
      font-size: 9pt;
      margin-bottom: 24px;
      line-height: 1.5;
    }

    .signature-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 20px;
    }

    .signature-line-group {
      display: flex;
      flex-direction: column;
    }

    .sig-line {
      border-bottom: 1px solid var(--border-black);
      height: 28px;
      margin-bottom: 4px;
    }

    .sig-label {
      font-size: 8pt;
      text-transform: uppercase;
      font-weight: 700;
      color: #333333;
    }

    
/* ==========================================================================
   Technical Stage Rider Screen Dossier & Patch Table Layout
   ========================================================================== */
/* Screen Action Bar */
    .screen-toolbar {
      width: 100%;
      max-width: 920px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #e2e8f0;
      padding: 12px 20px;
      border-radius: 8px;
      margin-bottom: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
      flex-wrap: wrap;
    }

    .toolbar-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 13px;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 10px;
      color: #0f172a;
    }

    .btn {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: 1px solid transparent;
      text-decoration: none;
      transition: all 0.15s ease;
      line-height: 1.2;
    }

    .btn-print {
      background: #d97706;
      color: #ffffff;
      border-color: #b45309;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    .btn-print:hover {
      background: #b45309;
      border-color: #92400e;
    }

    .btn-edit {
      background: #ffffff;
      color: #334155;
      border: 1px solid #e2e8f0;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    .btn-edit:hover {
      background: #f8fafc;
      color: #0f172a;
      border-color: #cbd5e1;
    }

    /* Printable Dossier Sheet (Letter / A4 Optimized) */
    .dossier-sheet {
      width: 100%;
      max-width: 920px;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 32px 36px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    /* Header Section */
    .dossier-header {
      border-bottom: 2px solid #0f172a;
      padding-bottom: 16px;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      flex-wrap: wrap;
    }

    .dossier-headline-group {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .dossier-headline {
      font-size: 26px;
      font-weight: 900;
      letter-spacing: -0.5px;
      text-transform: uppercase;
      line-height: 1.1;
      color: #0f172a;
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .plot-name-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 800;
      color: #d97706;
      background: #fffbeb;
      border: 1px solid #fde68a;
      padding: 3px 8px;
      border-radius: 5px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .dossier-subhead {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.5px;
      color: #64748b;
    }

    .meta-box {
      text-align: right;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      line-height: 1.6;
      color: #475569;
    }

    @media (max-width: 600px) {
      .meta-box {
        text-align: left;
      }
    }

    /* Section Headers */
    .section-banner {
      background: #f1f5f9;
      color: #0f172a;
      border: 1px solid #e2e8f0;
      border-radius: 5px;
      padding: 8px 12px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      break-after: avoid;
    }

    /* Visual Stage Plot Viewport */
    .stage-plot-box {
      border: 1.5px solid #cbd5e1;
      border-radius: 6px;
      height: 380px;
      position: relative;
      background: #f8fafc;
      background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
      background-size: 20px 20px;
      overflow: hidden;
      page-break-inside: avoid;
      break-inside: avoid;
    }

    .stage-marker {
      position: absolute;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #475569;
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: center;
      user-select: none;
    }

    .marker-upstage {
      top: 0;
      left: 0;
      right: 0;
      height: 24px;
      border-bottom: 1px dashed #cbd5e1;
      background: #f1f5f9;
    }

    .marker-downstage {
      bottom: 0;
      left: 0;
      right: 0;
      height: 28px;
      border-top: 2px solid #ef4444;
      background: #fee2e2;
      color: #dc2626;
      font-weight: 900;
      font-size: 10px;
    }

    .marker-stage-left {
      top: 24px;
      bottom: 28px;
      left: 0;
      width: 24px;
      border-right: 1px dashed #cbd5e1;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      background: #f1f5f9;
    }

    .marker-stage-right {
      top: 24px;
      bottom: 28px;
      right: 0;
      width: 24px;
      border-left: 1px dashed #cbd5e1;
      writing-mode: vertical-rl;
      background: #f1f5f9;
    }

    .marker-center-line {
      position: absolute;
      top: 24px;
      bottom: 28px;
      left: 50%;
      width: 1px;
      border-left: 1px dashed #cbd5e1;
    }

    /* Elements rendered on the print plot */
    .print-stage-element {
      position: absolute;
      border: 1.5px solid #0f172a;
      background: #ffffff;
      border-radius: 5px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 4px;
      font-family: 'JetBrains Mono', monospace;
      text-align: center;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
      transform-origin: center center;
    }

    .print-elem-ch {
      font-size: 8px;
      font-weight: 900;
      border: 1px solid #cbd5e1;
      padding: 1px 4px;
      background: #f1f5f9;
      color: #0369a1;
      border-radius: 3px;
      margin-bottom: 2px;
    }

    .print-elem-icon-box {
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 2px;
    }

    .print-elem-icon-box svg {
      width: 100%;
      height: 100%;
      max-width: 22px;
      max-height: 22px;
    }

    .print-elem-name {
      font-size: 9px;
      font-weight: 800;
      line-height: 1.15;
      max-width: 90px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: #0f172a;
    }

    /* Stage Legend & Inventory Section */
    .legend-tally-container {
      display: flex;
      flex-direction: column;
      gap: 12px;
      page-break-inside: avoid;
      break-inside: avoid;
    }

    .stage-inventory-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      padding: 10px 12px;
    }

    .legend-item-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 5px;
      padding: 4px 8px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 700;
      color: #0f172a;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }

    .legend-item-chip .chip-count {
      background: #f1f5f9;
      border: 1px solid #cbd5e1;
      color: #d97706;
      font-size: 10px;
      font-weight: 800;
      padding: 1px 5px;
      border-radius: 3px;
    }

    .legend-item-chip .chip-label {
      color: #0f172a;
    }

    .legend-item-chip .chip-ch {
      font-size: 9px;
      font-weight: 800;
      background: #e0f2fe;
      color: #0369a1;
      border: 1px solid #bae6fd;
      padding: 1px 4px;
      border-radius: 3px;
    }

    .tally-stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }

    @media (max-width: 700px) {
      .tally-stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .tally-stat-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      padding: 10px 12px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }

    .tally-stat-value {
      font-family: 'JetBrains Mono', monospace;
      font-size: 15px;
      font-weight: 900;
      color: #0f172a;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .tally-stat-value.accent {
      color: #d97706;
    }

    .tally-stat-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      color: #64748b;
      letter-spacing: 0.5px;
    }

    /* Numbered Patch List Table */
    .patch-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 11px;
      margin-top: 4px;
      page-break-inside: auto;
    }

    .patch-table th {
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      color: #0f172a;
      padding: 6px 8px;
      text-align: left;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .patch-table td {
      border: 1px solid #e2e8f0;
      padding: 6px 8px;
      color: #334155;
      font-family: 'Inter', sans-serif;
    }

    .patch-table tr:nth-child(even) td {
      background: #f8fafc;
    }

    /* Grids: Monitor Mixes & Production Constraints */
    .spec-grid-2col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      page-break-inside: avoid;
      break-inside: avoid;
    }

    @media (max-width: 700px) {
      .spec-grid-2col {
        grid-template-columns: 1fr;
      }
    }

    .spec-card {
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      padding: 12px 14px;
      background: #ffffff;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
      break-inside: avoid;
    }

    .spec-card-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      border-bottom: 1px solid #e2e8f0;
      padding-bottom: 4px;
      margin-bottom: 8px;
      color: #0f172a;
    }

    .spec-content {
      font-size: 11px;
      line-height: 1.5;
      white-space: pre-line;
      font-family: 'JetBrains Mono', monospace;
      color: #334155;
    }

    /* Footer Signoff */
    .dossier-footer {
      border-top: 1px solid #e2e8f0;
      padding-top: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      color: #64748b;
      margin-top: 4px;
    }

    /* Print Specific Media Styles: Clean, Consolidated Letter/A4 Output */
    
/* ==========================================================================
   Backstage Dashboard Modular Classes & Layout
   ========================================================================== */
/* Fixed Left Sidebar (240px) */
  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 240px;
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
    box-sizing: border-box;
  }

  /* Off-Canvas Navigation Drawer for Community Feed (Desktop & Mobile) */
  #feed-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 9999 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
    background: #ffffff !important;
  }

  #feed-mobile-drawer.open {
    transform: translateX(0) !important;
  }

  #feed-mobile-drawer .sidebar-close-btn {
    display: inline-flex !important;
  }

  .sidebar-brand-box {
    padding: 13px 16px;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    flex-shrink: 0;
  }

  .sidebar-brand-title {
    font-family: var(--font-sans) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    color: #0f172a !important;
    text-transform: none !important;
    line-height: 1.2 !important;
  }

  .sidebar-nav {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }

  .sidebar-nav::-webkit-scrollbar {
    width: 4px;
  }

  .sidebar-nav::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }

  .sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Backstage Navigation Groups & Labels */
  .sidebar-group,
  .sidebar-nav-group,
  .sidebar-nav-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
  }

  /* Category Subheaders: Clean Porcelain Light 11px font, slate-500 */
  .sidebar-group-label,
  .sidebar-section-title {
    padding: 6px 10px 4px 10px;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    line-height: 1.2 !important;
    user-select: none;
  }

  .sidebar-nav-group:first-child .sidebar-group-label,
  .sidebar-nav-section:first-child .sidebar-section-title {
    padding-top: 2px;
  }

  .sidebar-nav-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .sidebar-nav-item:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: transparent;
  }

  .sidebar-nav-item .nav-indicator-pill {
    width: 3px;
    height: 12px;
    border-radius: 1.5px;
    background: transparent;
    transition: all 0.15s ease;
    flex-shrink: 0;
  }

  /* Active tab pill: Soft amber wash #fef3c7 background with #92400e text and warm amber #d97706 indicator pill */
  .sidebar-nav-item.active {
    background: #fef3c7 !important;
    color: #92400e !important;
    border-color: #fde68a !important;
    font-weight: 600 !important;
  }

  .sidebar-nav-item.active .nav-indicator-pill {
    background: #d97706 !important;
    box-shadow: 0 0 6px rgba(217, 119, 6, 0.35) !important;
    width: 3px !important;
    height: 14px !important;
  }

  .sidebar-nav-item .nav-label {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: inherit;
  }

  .sidebar-nav-item.active .nav-label {
    color: #92400e !important;
    font-weight: 600 !important;
  }

  .sidebar-footer {
    padding: 10px 14px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
  }

  .sidebar-user-status {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    line-height: 1.2;
  }

  .sidebar-logout-btn {
    width: 100%;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #dc2626;
    font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.2;
  }

  .sidebar-logout-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
  }

  /* Main Layout & Topbar */
  .app-main-layout {
    margin-left: 240px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
  }

  .app-topbar {
    position: sticky;
    top: 0;
    height: 68px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 900;
    box-sizing: border-box;
  }

  .topbar-search-wrapper {
    flex: 1;
    max-width: 440px;
  }

  .topbar-search-input {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    color: #0f172a;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .topbar-search-input:focus {
    border-color: #d97706;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
  }

  .topbar-search-input::placeholder {
    color: #94a3b8;
  }

  .topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .band-switcher-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px 10px;
  }

  .band-switcher-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 900;
    color: #d97706;
    letter-spacing: 0.05em;
  }

  .topbar-select {
    background: transparent;
    border: none;
    color: #0f172a;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    padding: 4px 6px;
    max-width: 180px;
  }

  .topbar-select option {
    background: #ffffff;
    color: #0f172a;
  }

  .btn-drawer-trigger {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 16px;
    color: #0f172a;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .btn-drawer-trigger:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
  }

  .topbar-profile-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 14px;
  }

  .topbar-band-name {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar-tier-pill {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid rgba(217, 119, 6, 0.25);
    background: rgba(217, 119, 6, 0.08);
    color: #d97706;
    text-transform: uppercase;
  }

  /* App Main Content */
  .app-main-content {
    padding: 32px;
    flex: 1;
    box-sizing: border-box;
  }

  .modular-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 24px;
    box-sizing: border-box;
  }

  /* Row 1: The 4 High-Impact Metric Cards */
  .metrics-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
  }

  @media (max-width: 1200px) {
    .metrics-grid-4 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 640px) {
    .metrics-grid-4 {
      grid-template-columns: 1fr;
    }
  }

  .metric-card {
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 125px;
  }

  .metric-card-teal {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, #ffffff 85%);
    border-color: #e2e8f0;
  }

  .metric-card-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, #ffffff 85%);
    border-color: #e2e8f0;
  }

  .metric-card-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, #ffffff 85%);
    border-color: #e2e8f0;
  }

  .metric-card-rose {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, #ffffff 85%);
    border-color: #e2e8f0;
  }

  .metric-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
  }

  .metric-value {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 6px 0;
    line-height: 1.1;
  }

  .metric-subtext {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
  }

  /* Row 2: The 3-Column Status Grid */
  .status-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
  }

  @media (max-width: 1100px) {
    .status-grid-3 {
      grid-template-columns: 1fr;
    }
  }

  .status-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
  }

  .status-card-title {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #0f172a;
    text-transform: uppercase;
  }

  .status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
  }

  .status-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .status-item-primary {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
  }

  .status-item-secondary {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
  }

  .status-pill {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
  }

  .pill-active, .pill-confirmed {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
  }

  .pill-livestream {
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: #d97706;
  }

  .pill-validated {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #7c3aed;
  }

  .pill-exported {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #ea580c;
  }

  /* Row 3: Audience & Fan Followers Table */
  .audience-card {
    padding: 24px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .audience-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
  }

  .audience-title {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #0f172a;
    text-transform: uppercase;
  }

  .audience-tabs {
    display: flex;
    gap: 8px;
  }

  .audience-tab-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .audience-tab-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
  }

  .audience-tab-btn.active {
    background: #ffffff;
    border-color: #d97706;
    color: #d97706;
  }

  .audience-table-wrapper {
    overflow-x: auto;
  }

  .audience-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
  }

  .audience-table th {
    padding: 12px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #e2e8f0;
  }

  .audience-table td {
    padding: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
  }

  .audience-table tr:hover td {
    background: #f8fafc;
  }

  .table-btn-action {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #0f172a;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    cursor: pointer;
    margin-right: 6px;
    transition: all 0.15s ease;
  }

  .table-btn-action:hover {
    border-color: #d97706;
    color: #d97706;
  }

  /* Slide-Over Drawer "Edit Band Info & EPK" */
  .drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
  }

  .epk-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 460px;
    max-width: 100vw;
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    box-shadow: -10px 0 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
  }

  .epk-drawer.open {
    transform: translateX(0);
  }

  .drawer-header {
    padding: 22px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .drawer-title {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
  }

  .drawer-close-btn {
    background: transparent;
    border: none;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
  }

  .drawer-close-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
  }

  .drawer-toast {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #059669;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    padding: 10px 16px;
    margin: 16px 24px 0 24px;
    border-radius: 8px;
  }

  .drawer-form {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
  }

  .drawer-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .drawer-form .form-label {
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--font-mono);
  }

  .drawer-input, .drawer-textarea {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    color: #0f172a;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    outline: none;
    transition: border-color 0.15s ease;
  }

  .drawer-input:focus, .drawer-textarea:focus {
    border-color: #d97706;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
  }

  .drawer-actions {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    margin-top: auto;
  }

  .btn-drawer-save {
    flex: 1;
    padding: 12px;
    background: #d97706;
    border: 1px solid #d97706;
    border-radius: 10px;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .btn-drawer-save:hover {
    background: #b45309;
    border-color: #b45309;
  }

  .btn-drawer-cancel {
    padding: 12px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #475569;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .btn-drawer-cancel:hover {
    color: #0f172a;
    background: #f1f5f9;
  }

  /* ==========================================================================
     Clean Porcelain Light: Stage Plot Studio, Musician Profiles & Directory
     ========================================================================== */

  .builder-workspace {
    display: flex;
    height: calc(100vh - 60px);
    overflow: hidden;
    background: var(--bg-canvas, #f8fafc);
    position: relative;
  }

  .palette-sidebar {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    border-right: 1px solid var(--border-subtle, #e2e8f0);
    overflow-y: auto;
    background: #ffffff;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
  }

  .palette-icon-box {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 6px;
    flex-shrink: 0;
  }

  .palette-item-channel-badge {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 10px;
    font-weight: 800;
    background: #f1f5f9;
    color: #0284c7;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 2px 6px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
  }

  .canvas-docked-footer {
    flex-shrink: 0;
    height: 42px;
    background: #ffffff;
    border-top: 1px solid var(--border-subtle, #e2e8f0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: var(--text-muted, #64748b);
    z-index: 20;
  }

  .talent-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .talent-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }

  .talent-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
  }

  .talent-status-pill.available {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
  }

  .talent-status-pill.booked {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
  }

/* ==========================================================================
   Mobile Responsiveness & Viewport Scaling (v3.1)
   - Adaptive Grid Collapse (3-col -> 1-col on < 768px)
   - Off-canvas Slide-over Drawer Navigation
   - Stage Plot Builder Collapsible Bottom Sheet Tray
   - Viewport Root Horizontal Overflow Prevention
   ========================================================================== */

/* 1. Prevent Horizontal Root Container Overflow */
html,
body,
.app-main-layout,
.builder-workspace,
.greenroom-layout,
.stagewire-layout {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* 2. Responsive Hamburger Toggle & Drawer Overlay */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px;
  color: #0f172a;
  cursor: pointer;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.mobile-nav-toggle:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.sidebar-close-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0 4px;
}

.sidebar-close-btn:hover {
  color: #0f172a;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer-overlay.open {
  display: block;
  opacity: 1;
}

/* 3. Stage Plot Equipment Bottom Sheet Handle */
.palette-bottom-sheet-handle {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
  cursor: pointer;
  user-select: none;
  border-radius: 14px 14px 0 0;
}

/* 4. Mobile Breakpoints (< 768px) */
@media (max-width: 768px) {
  /* Navigation Drawer */
  .mobile-nav-toggle {
    display: inline-flex !important;
  }

  .sidebar-close-btn {
    display: inline-flex !important;
  }

  .app-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 9999 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
    background: #ffffff !important;
  }

  .app-sidebar.open {
    transform: translateX(0) !important;
  }

  .app-main-layout {
    margin-left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .app-topbar {
    padding: 10px 16px !important;
    height: auto !important;
    min-height: 56px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .topbar-actions {
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .topbar-search-wrapper {
    max-width: 100% !important;
    order: 3 !important;
    width: 100% !important;
  }

  /* 3-Column to 1-Column Layout Collapse */
  .grid-cols-3,
  .grid-3-col,
  .status-grid-3,
  .desktop-3-col,
  .col-3-grid,
  .band-actions,
  .card-actions,
  .roster-actions,
  .kpi-grid-5,
  .kpi-grid-4,
  .grid-2-1,
  .grid-row-4-top {
    grid-template-columns: 1fr !important;
  }

  /* Feed Layout Collapse */
  .greenroom-layout,
  .stagewire-layout {
    grid-template-columns: 1fr !important;
    padding: 0 16px 40px !important;
    margin: 16px auto !important;
    gap: 20px !important;
  }

  .greenroom-topbar,
  .stagewire-topbar {
    padding: 12px 16px !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  /* Stage Plot Studio Mobile Bottom Sheet */
  .builder-header {
    padding: 8px 12px !important;
    height: auto !important;
    min-height: 52px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .builder-workspace {
    flex-direction: column !important;
    height: calc(100vh - 52px) !important;
    position: relative !important;
  }

  .stage-wrapper {
    padding: 6px !important;
    flex: 1 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .canvas-viewport-container {
    width: 100% !important;
    height: 100% !important;
  }

  .palette-sidebar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 54vh !important;
    max-height: 75vh !important;
    background: #ffffff !important;
    border-top: 2px solid var(--accent-primary, #d97706) !important;
    border-right: none !important;
    border-radius: 16px 16px 0 0 !important;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.2) !important;
    z-index: 200 !important;
    padding: 0 16px 16px 16px !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: translateY(calc(100% - 44px)) !important;
  }

  .palette-sidebar.expanded {
    transform: translateY(0) !important;
  }

  .palette-bottom-sheet-handle {
    display: flex !important;
  }

  .canvas-hud-toolbar {
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 6px 10px !important;
  }

  .plot-ctrl-wrapper {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }
}

/* ==========================================================================
   DASHBOARD & ADMIN COLLAPSIBLE SIDEBAR, TOPBAR & CLEAN PORCELAIN PILL BADGES
   ========================================================================== */

/* Utility Classes for Streamlined Headers and Controls */
.p-2 { padding: 0.5rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.w-64 { width: 16rem !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.font-semibold { font-weight: 600 !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-full { border-radius: 9999px !important; }
.border { border-width: 1px !important; border-style: solid !important; }
.border-slate-200 { border-color: #e2e8f0 !important; }
.bg-white { background-color: #ffffff !important; }
.bg-slate-50 { background-color: #f8fafc !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-900 { color: #0f172a !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-400 { color: #94a3b8 !important; }

/* Purged Clean Status Badges */
.badge-superfan,
.bg-purple-50 { background-color: #faf5ff !important; }
.text-purple-700 { color: #7e22ce !important; }

.badge-confirmed,
.bg-emerald-50 { background-color: #ecfdf5 !important; }
.text-emerald-700 { color: #047857 !important; }

.badge-livestream,
.bg-amber-50 { background-color: #fffbeb !important; }
.text-amber-800 { color: #92400e !important; }

.badge-validated,
.bg-blue-50 { background-color: #eff6ff !important; }
.text-blue-700 { color: #1d4ed8 !important; }

/* Rounded Porcelain Button */
#sidebar-toggle,
.sidebar-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0.75rem !important;
  border: 1px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  color: #334155 !important;
  cursor: pointer !important;
  padding: 0.5rem !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  transition: all 0.15s ease !important;
}

#sidebar-toggle:hover,
.sidebar-toggle-btn:hover {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

/* Dashboard Sidebar & Main Content Collapse */
#sidebar,
.app-sidebar {
  width: 240px;
  transition: width 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

#sidebar.collapsed,
.app-sidebar.collapsed {
  width: 68px !important;
}

#sidebar.collapsed .nav-label,
#sidebar.collapsed .sidebar-brand-title,
#sidebar.collapsed .sidebar-user-status,
#sidebar.collapsed .sidebar-group-label,
#sidebar.collapsed .sidebar-section-title {
  display: none !important;
}

#sidebar.collapsed .sidebar-nav-item {
  justify-content: center !important;
  padding: 10px 0 !important;
}

#sidebar.collapsed .sidebar-brand-box {
  padding: 20px 8px !important;
  justify-content: center !important;
}

#sidebar.collapsed .sidebar-footer {
  padding: 12px 6px !important;
}

#sidebar.collapsed .sidebar-logout-btn {
  font-size: 9px !important;
  padding: 6px 2px !important;
  letter-spacing: 0 !important;
}

#main-content,
.app-main-layout {
  margin-left: 240px;
  transition: margin-left 0.2s ease;
  box-sizing: border-box;
  min-height: 100vh;
}

#main-content.collapsed,
.app-main-layout.collapsed {
  margin-left: 68px !important;
}

@media (max-width: 768px) {
  #sidebar,
  .app-sidebar {
    width: 280px !important;
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
  }
  #sidebar.open,
  .app-sidebar.open {
    transform: translateX(0) !important;
  }
  #sidebar.collapsed,
  .app-sidebar.collapsed {
    transform: translateX(-100%) !important;
    width: 280px !important;
  }
  #main-content,
  #main-content.collapsed,
  .app-main-layout,
  .app-main-layout.collapsed {
    margin-left: 0 !important;
  }
}

/* Streamlined Topbar Layout - Single Unified Porcelain Top Navigation Bar */
.app-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 12px 24px !important;
  height: 64px !important;
  box-sizing: border-box;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-center {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 380px;
  justify-content: center;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 768px) {
  .app-topbar {
    height: auto !important;
    flex-wrap: wrap !important;
    padding: 10px 16px !important;
  }
  .topbar-center {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .topbar-center input {
    width: 100% !important;
  }
}

/* ==========================================================================
   Confidential Beta Auditor & Protective NDA Onboarding Gateway (Porcelain)
   ========================================================================== */
.auditor-signup-wrapper {
  min-height: 100vh;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  font-family: var(--font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  color: #0f172a;
}

.auditor-signup-card {
  width: 100%;
  max-width: 680px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.06);
  padding: 36px 40px;
  box-sizing: border-box;
}

.auditor-vip-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.legal-text-scrollbox {
  max-height: 280px;
  overflow-y: auto;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 13px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.legal-text-scrollbox::-webkit-scrollbar {
  width: 6px;
}

.legal-text-scrollbox::-webkit-scrollbar-track {
  background: #f8fafc;
}

.legal-text-scrollbox::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

.legal-section-title {
  font-weight: 700;
  color: #0f172a;
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.locked-email-container {
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.hash-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  background-color: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  word-break: break-all;
}

/* ==========================================================================
   Page Loader Curtain, Spinner & Skeleton (Clean Porcelain Design)
   ========================================================================== */
.loading-curtain,
#page-loader,
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: auto;
}

.loading-curtain.loaded,
.loading-curtain.hidden,
#page-loader.loaded,
#page-loader.hidden,
.loading-overlay.loaded,
.loading-overlay.hidden,
[id*="loader"].loaded,
[id*="loader"].hidden,
[id*="spinner"].loaded,
[id*="spinner"].hidden,
.loading-curtain[style*="display: none"],
#page-loader[style*="display: none"],
.loading-overlay[style*="display: none"],
.loading-curtain[style*="opacity: 0"],
#page-loader[style*="opacity: 0"],
.loading-overlay[style*="opacity: 0"] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.loading-spinner,
#loading-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid #f1f5f9;
  border-top: 3px solid #d97706;
  border-radius: 50%;
  animation: pageLoaderSpin 0.8s linear infinite;
}

@keyframes pageLoaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner.loaded,
.loading-spinner.hidden,
#loading-spinner.loaded,
#loading-spinner.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#overview-skeleton,
.overview-skeleton {
  width: 100%;
  height: 240px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 12px;
}

#overview-skeleton.loaded,
#overview-skeleton.hidden,
.overview-skeleton.loaded,
.overview-skeleton.hidden {
  display: none !important;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   Universal Top Navigation Standardization & Theater Layout Additions
   ========================================================================== */
.aspect-video {
  aspect-ratio: 16 / 9 !important;
}

.app-topbar {
  height: 64px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

.app-topbar .topbar-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.app-topbar .topbar-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
}

.app-topbar .topbar-right {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* Rebranded The Soundboard Aliases */
.soundboard-topbar,
.greenroom-topbar,
.stagewire-topbar {
  height: 64px;
}

.soundboard-heading,
.greenroom-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0f172a;
}

.soundboard-desc,
.greenroom-desc {
  color: #64748b;
}

.soundboard-layout,
.greenroom-layout,
.stagewire-layout {
  min-height: calc(100vh - 64px);
}

/* =============================================================================
   Facebook-Style Personal Musician Profile Layout (Clean Porcelain Light)
   ============================================================================= */

.fb-profile-hero-banner {
  height: 220px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 640px) {
  .fb-profile-hero-banner {
    height: 160px;
  }
}

.fb-profile-anchor-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 20px 16px;
  position: relative;
}

.fb-avatar-container {
  width: 120px;
  height: 120px;
  margin-top: -60px;
  border: 4px solid #ffffff;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  background: #f8fafc;
  flex-shrink: 0;
}

.fb-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  object-fit: cover;
}

.fb-avatar-edit-overlay {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 36px;
  height: 36px;
  background: #0f172a;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background-color 0.15s ease;
}

.fb-avatar-edit-overlay:hover {
  background: #d97706;
}

.fb-profile-nav-tabs {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 64px;
  z-index: 30;
}

.fb-tab-btn {
  padding: 14px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.fb-tab-btn:hover {
  color: #0f172a;
  border-bottom-color: #cbd5e1;
}

.fb-tab-btn.active,
.tab-nav-btn.active {
  color: #0f172a !important;
  border-bottom-color: #d97706 !important;
  font-weight: 700;
}

.porcelain-card-shell {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.porcelain-header-block {
  margin-bottom: 16px;
}

.porcelain-h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.porcelain-subtext {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* ==========================================================================
   Clean Porcelain Light Standards & Navigation Harmonization
   Canvas: #f8fafc | Containers: #ffffff | Borders: #e2e8f0 | Text: #0f172a | Amber: #d97706
   ========================================================================== */

/* 1. Global Canvas & Container Standardization */
body, html, .app-root, .dashboard-container, .main-layout {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

.card,
.surface-card,
.porcelain-card,
.dashboard-card,
.panel-card,
.profile-card,
.modal-card,
.drawer-panel {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

/* 2. Warm Amber Action Buttons & Controls */
.btn-amber,
.btn-primary,
button.btn-amber,
button.btn-primary,
.hero-actions-bar .btn-follow-band,
.hero-actions-bar #btn-update-epk-assets,
#lineup-manage-members-btn,
#btn-add-extra-seat,
#report-modal-submit-btn {
  background: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid #b45309 !important;
  font-weight: 700;
  transition: all 0.15s ease;
}

.btn-amber:hover,
.btn-primary:hover,
button.btn-amber:hover,
button.btn-primary:hover,
.hero-actions-bar .btn-follow-band:hover,
.hero-actions-bar #btn-update-epk-assets:hover,
#lineup-manage-members-btn:hover,
#btn-add-extra-seat:hover,
#report-modal-submit-btn:hover {
  background: #b45309 !important;
  border-color: #92400e !important;
  color: #ffffff !important;
}

/* 3. User Account Dropdown & Navigation Links */
#nav-user-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}

#dropdown-edit-profile-link {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}

#dropdown-edit-profile-link:hover {
  background: #fef3c7 !important;
  border-color: #fcd34d !important;
}

/* 4. Bracket-Free Navigation Tabs & Status Pills */
.sidebar-nav-item,
.tab-nav-btn,
.fb-tab-btn,
.filter-pill-btn,
.nav-tab {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.status-pill,
.badge,
.meta-chip,
.instrument-badge,
.verified-beacon-tag {
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.status-pill.pill-active,
.badge-active {
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
}

.status-pill.pill-superfan {
  background: #faf5ff !important;
  color: #7e22ce !important;
  border: 1px solid #e9d5ff !important;
}

.status-pill.pill-confirmed,
.badge-confirmed {
  background: #f0fdf4 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}

.status-pill.pill-livestream {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.status-pill.pill-validated {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

/* ==========================================================================
   Global Following Button Contrast & Pure Crisp White Typography
   ========================================================================== */
.btn-follow-hero.following,
.btn-follow-hero.is-following,
.btn-card-follow.is-following,
.btn-card-follow.following,
.btn-follow-band.following,
.btn-follow-band.is-following,
.btn-follow.is-following,
.btn-follow.following,
#hero-follow-btn.following,
#hero-follow-btn.is-following,
button.is-following,
button.following {
  background: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid #b45309 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.btn-follow-hero.following:hover,
.btn-follow-hero.is-following:hover,
.btn-card-follow.is-following:hover,
.btn-card-follow.following:hover,
.btn-follow-band.following:hover,
.btn-follow-band.is-following:hover,
.btn-follow.is-following:hover,
.btn-follow.following:hover,
#hero-follow-btn.following:hover,
#hero-follow-btn.is-following:hover,
button.is-following:hover,
button.following:hover {
  background: #b45309 !important;
  border-color: #92400e !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Global Floating Issue Reporter / Feedback Trigger Pill (Universal Rounded Pill)
   ========================================================================== */
#issue-reporter-trigger,
#btn-auditor-feedback,
.btn-report-feedback,
#report-issue-btn,
.report-issue-pill {
  position: fixed !important;
  bottom: 20px !important;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
  right: 20px !important;
  right: calc(20px + env(safe-area-inset-right, 0px)) !important;
  z-index: 99999 !important;
  padding: 10px 22px !important;
  background-color: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  outline: none !important;
  user-select: none !important;
}

#issue-reporter-trigger:hover,
#btn-auditor-feedback:hover,
.btn-report-feedback:hover,
#report-issue-btn:hover,
.report-issue-pill:hover {
  background-color: #b45309 !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12) !important;
}

/* ==========================================================================
   Admin 3D Geolocation Radar & Globe Mount Container
   ========================================================================== */
#admin-radar-globe,
#globe-canvas-container,
#radar-globe-mount,
#admin-globe-container {
  position: relative !important;
  width: 100% !important;
  min-height: 480px !important;
  height: 520px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
}







/* ==========================================================================
   Free-Tier Sponsor & Affiliate Banner System (public/js/ad-banner.js)
   Clean Porcelain Light: canvas #f8fafc, cards #ffffff, borders #e2e8f0,
   text #0f172a, slate Sponsored tag #64748b, amber accent #d97706.
   Flat, quiet placements only. No neon, no popups, no square brackets.
   ========================================================================== */

.sponsor-slot {
  display: block;
}

/* Empty slot containers never occupy layout space (pre-render state). */
.sponsor-slot:empty {
  display: none !important;
}

/* Paid-tier subscribers and admins: placements removed completely. */
.sponsor-slot[data-sponsor-state="hidden-paid"],
.sb-ad-hidden {
  display: none !important;
}

.sponsor-slot--footer {
  margin-bottom: 18px;
}

.sb-ad-unit {
  box-sizing: border-box;
  display: flex;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  box-shadow: none;
  overflow: hidden;
}

/* Leaderboard: 728x90 desktop / 320x50 mobile via media query below. */
.sb-ad-unit--leaderboard {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  margin-left: auto;
  margin-right: auto;
}

/* Sidebar card: 300x250 contextual rail unit. */
.sb-ad-unit--sidebar {
  flex-direction: column;
  align-items: stretch;
  width: 300px;
  max-width: 100%;
  min-height: 250px;
  padding: 12px;
  gap: 10px;
}

.sb-ad-inline-slot {
  display: block;
  margin: 8px 0;
}

.sb-ad-image {
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  object-fit: cover;
  background: #f8fafc;
}

.sb-ad-unit--leaderboard .sb-ad-image {
  width: 70px;
  height: 70px;
}

.sb-ad-unit--sidebar .sb-ad-image {
  width: 100%;
  height: 118px;
}

.sb-ad-image.sb-ad-image-hidden {
  display: none;
}

.sb-ad-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sb-ad-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Subtle Sponsored tag: #64748b slate on porcelain. */
.sb-ad-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 2px 8px;
}

.sb-ad-network {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #64748b;
}

.sb-ad-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  text-decoration: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sb-ad-title:hover {
  color: #b45309;
  text-decoration: underline;
}

.sb-ad-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sb-ad-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.sb-ad-cta {
  background: #d97706;
  color: #ffffff;
  border: 1px solid #b45309;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.sb-ad-cta:hover {
  background: #b45309;
  color: #ffffff;
}

.sb-ad-remove {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  text-decoration: underline;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.sb-ad-remove:hover {
  color: #d97706;
}

/* Mobile: leaderboard compresses to a 320x50 flat strip. */
@media (max-width: 767px) {
  .sb-ad-unit--leaderboard {
    max-width: 320px;
    min-height: 50px;
    padding: 6px 10px;
    gap: 10px;
  }

  .sb-ad-unit--leaderboard .sb-ad-image,
  .sb-ad-unit--leaderboard .sb-ad-desc {
    display: none;
  }

  .sb-ad-unit--leaderboard .sb-ad-title {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .sb-ad-unit--leaderboard .sb-ad-actions {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .sb-ad-unit--leaderboard .sb-ad-cta {
    padding: 5px 10px;
    font-size: 11px;
  }

  .sb-ad-unit--sidebar {
    width: 100%;
  }
}

/* ==========================================================================
   Live Stage Theater, Telemetry & In-Stream Micro-Tipping (Clean Porcelain)
   ========================================================================== */
@keyframes pulse-emerald {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.25); }
}

.pulse-emerald-dot {
  animation: pulse-emerald 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

.floating-amber-tip-button {
  background: #d97706;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.4), 0 8px 10px -6px rgba(217, 119, 6, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.floating-amber-tip-button:hover {
  background: #b45309;
}

.tip-sheet-chip {
  padding: 10px 4px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.tip-sheet-chip:hover,
.tip-sheet-chip.active-chip {
  border-color: #d97706;
  background: #fffbeb;
  color: #b45309;
}

.chat-verified-tip-badge {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.08);
}

.stage-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #0f172a;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  z-index: 2100;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  display: none;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Navigation Redundancy Elimination — Global Top Bar & Left Rail Hierarchy
   --------------------------------------------------------------------------
   Contract: the top bar carries utilities, universal search, and the profile
   dropdown ONLY. Section navigation (Live Stages, The Stage Wire, Talent
   Directory, Merch Store, Backstage Console) lives exclusively in the left
   sidebar / rail. Tokens: #f8fafc / #ffffff / #e2e8f0 / #0f172a / #d97706.
   ========================================================================== */

/* 1. Top-bar drawer icon buttons (Messenger / Cart toggles) */
.topbar-drawer-icon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  flex-shrink: 0;
  padding: 0 !important;
  background: #ffffff !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.topbar-drawer-icon-btn:hover {
  background: #fffbeb !important;
  border-color: rgba(217, 119, 6, 0.4) !important;
  color: #d97706 !important;
}

.topbar-drawer-icon-btn:focus-visible {
  outline: none !important;
  border-color: #d97706 !important;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15) !important;
}

/* 2. Avatar caret for the profile dropdown trigger */
.nav-caret {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1;
  color: #94a3b8;
  pointer-events: none;
  user-select: none;
}

/* 3. Defensive de-duplication guard: strip redundant page links from ANY top
      bar that still renders them (templates not running global-nav.js).
      Avatar containers, drawer icon links, and data-nav-keep marked elements
      are exempt. Pages already cleaned in markup are unaffected. */
.app-topbar .topbar-right > a[href="/feed.html"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/feed"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/wall.html"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/showaband.html"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/showaband"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/showband.html"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/shows.html"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/shows"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/directory.html"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/directory"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/merch.html"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/merch"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/dashboard.html"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/dashboard"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/stage.html"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]),
.app-topbar .topbar-right > a[href="/index.html"]:not(:has(img)):not(:has(svg)):not([class*="drawer-icon"]):not([data-nav-keep]) {
  display: none !important;
}

/* 4. Universal search input (Clean Porcelain) — #global-search */
.topbar-center #global-search {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

.topbar-center #global-search:focus {
  border-color: #d97706 !important;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15) !important;
}

/* 5. Standardized rail groups (Discovery Hub / Backstage) */
.rail-group-label {
  padding: 6px 10px 4px 10px;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  user-select: none;
}

.rail-divider {
  height: 1px;
  border: 0;
  background: #e2e8f0;
  margin: 8px 4px;
}

/* Discovery left-rail links (standardized Discovery Hub + Backstage rail) */
.rail-nav-link,
.left-rail .rail-nav-link {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 12px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #0f172a !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.rail-nav-link:hover,
.left-rail .rail-nav-link:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: transparent !important;
}

.rail-nav-link.active,
.left-rail .rail-nav-link.active {
  background: #fef3c7 !important;
  border-color: #fde68a !important;
  color: #92400e !important;
  font-weight: 600 !important;
}

.rail-nav-link.active .rail-icon,
.left-rail .rail-nav-link.active .rail-icon,
.rail-nav-link.active svg,
.left-rail .rail-nav-link.active svg {
  color: #d97706 !important;
  stroke: #d97706 !important;
}

.rail-nav-link .rail-icon,
.left-rail .rail-nav-link .rail-icon,
.rail-nav-link svg,
.left-rail .rail-nav-link svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.15s ease, stroke 0.15s ease;
}

/* 6. In-page view tab chips (Directory: Talent vs Classifieds; Feed: Classifieds) */
.view-tab-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.view-tab-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.view-tab-chip:hover {
  background: #f8fafc;
  color: #0f172a;
}

.view-tab-chip.active {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.35);
  color: #d97706;
  font-weight: 800;
}

.view-tab-chip:focus-visible {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
}

/* 7. Discovery filter chips (ShowABand stream controls — filters, not nav) */
.discovery-filter-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.discovery-filter-chip-row .rail-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 7px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #475569;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease;
}

.discovery-filter-chip-row .rail-nav-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}

.discovery-filter-chip-row .rail-nav-btn.active {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.2);
  color: #d97706;
  font-weight: 700;
}

/* 8. Backstage sidebar guarantee: 4-group menu fits without any vertical
      scrollbar on 1080p (and taller) desktop displays. Shorter viewports keep
      the graceful thin internal scroll fallback. */
@media (min-width: 1024px) and (min-height: 940px) {
  .app-sidebar .sidebar-nav {
    gap: 4px !important;
    padding: 8px 10px !important;
    scrollbar-width: none !important;
  }

  .app-sidebar .sidebar-nav::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  .app-sidebar .sidebar-nav::-webkit-scrollbar-thumb {
    background: transparent !important;
  }

  .app-sidebar .sidebar-nav-item {
    padding: 6px 10px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .app-sidebar .sidebar-group-label {
    padding: 4px 8px 2px 8px !important;
  }

  .app-sidebar .sidebar-brand-box {
    padding: 11px 16px !important;
  }

  .app-sidebar .sidebar-footer {
    padding: 9px 14px !important;
  }
}

/* ==========================================================================
   Universal Guardrails: Top-Bar Avatar & User-Menu Interactivity
   (2026-11-09 regression hardening — Clean Porcelain Light)
   Ensures the top-right avatar button and its dropdown menu are always
   fully clickable, interactive, and layered above page wrappers, canvas
   elements, and modal backdrops. Covers canonical ids (#nav-user-avatar-btn,
   #nav-user-dropdown-menu), legacy ids (#user-menu-button, #user-avatar-btn,
   #user-dropdown-menu), data-attribute hooks, and the admin command center
   menu (#admin-user-menu-btn / #admin-user-dropdown-menu).
   Canvas #f8fafc - Card #ffffff - Border #e2e8f0 - Text #0f172a - Amber #d97706.
   ========================================================================== */
.app-topbar,
#admin-topbar {
  z-index: 1000 !important;
  pointer-events: auto !important;
}

.app-topbar .topbar-right,
#admin-topbar .topbar-right {
  pointer-events: auto !important;
}

#nav-user-avatar-btn,
.nav-user-avatar-btn,
#user-menu-button,
#user-avatar-btn,
[data-user-menu-button],
#admin-user-menu-btn {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 60 !important;
}

#nav-user-dropdown-menu,
#user-dropdown-menu,
#admin-user-dropdown-menu,
[data-user-dropdown-menu] {
  pointer-events: auto !important;
  z-index: 100000 !important;
}

#nav-user-dropdown-menu a,
#user-dropdown-menu a,
#admin-user-dropdown-menu a,
#nav-user-dropdown-menu button,
#user-dropdown-menu button,
#admin-user-dropdown-menu button {
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none;
}

.nav-caret,
.admin-user-caret {
  pointer-events: none !important;
  color: #64748b;
  font-size: 10px;
  line-height: 1;
}

/* Admin Command Center top-right profile menu (Clean Porcelain Light) */
.admin-user-menu-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  pointer-events: auto !important;
}

#admin-user-menu-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 9999px !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  padding: 2px 4px 2px 2px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  font-family: inherit !important;
}

#admin-user-menu-btn:hover {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

#admin-user-dropdown-menu {
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 8px) !important;
  width: 250px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05) !important;
  padding: 12px !important;
  color: #0f172a !important;
  text-align: left !important;
  box-sizing: border-box !important;
  cursor: default !important;
}

#admin-user-dropdown-menu .admin-user-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#admin-user-dropdown-menu .admin-user-menu-link:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}

#admin-user-dropdown-menu .admin-user-menu-logout {
  color: #dc2626;
  font-weight: 700;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

#admin-user-dropdown-menu .admin-user-menu-logout:hover {
  background: #fef2f2;
}

/* ==========================================================================
   Avatar Dropdown Deduplication Guardrail (top-right account menu)
   global-nav.js collapses exactly ONE Clean Porcelain account dropdown per
   surface. Conflicting duplicates neutralized at runtime carry the
   data-user-menu-deduped marker and stay permanently collapsed no matter
   how any page-local script tries to re-toggle them. Canvas #f8fafc,
   card #ffffff, border #e2e8f0, text #0f172a, amber #d97706.
   ========================================================================== */
[data-user-menu-deduped] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Sole-admin identity emphasis: the Admin Console entry is the single amber
   destination inside the deduplicated account dropdown (admins only). */
#admin-user-dropdown-menu #admin-user-menu-admin-link {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-weight: 700;
}

/* Exactly one Log Out trigger lives in the account dropdown */
#admin-user-dropdown-menu .logout-item,
#admin-user-dropdown-menu .admin-user-menu-logout.logout-item {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

/* Unauthenticated Sign In pill (amber, replaces the inert guest avatar) */
.nav-guest-signin-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid #d97706 !important;
  border-radius: 9999px !important;
  padding: 7px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  background-clip: padding-box !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-guest-signin-btn:hover {
  background: #b45309 !important;
  border-color: #b45309 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Cookie Compliance Consent Banner (Clean Porcelain Light)
   Canonical stylesheet mirror of the injected styles in
   /js/cookie-consent.js — identical values, single design contract.
   Auto-mounted on every surface by global-nav.js until the visitor records
   a consent decision in localStorage (bandsagent_cookie_consent).
   ========================================================================== */
#cookie-consent-banner {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 99999;
  width: calc(100% - 32px);
  max-width: 920px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.14);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#cookie-consent-banner.cookie-consent-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}

#cookie-consent-banner .cookie-consent-copy {
  margin: 0;
  padding: 0;
  flex: 1 1 420px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  color: #0f172a;
}

#cookie-consent-banner .cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

#cookie-consent-banner .cookie-consent-accept {
  appearance: none;
  background: #d97706;
  color: #ffffff;
  border: 1px solid #d97706;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#cookie-consent-banner .cookie-consent-accept:hover {
  background: #b45309;
  border-color: #b45309;
}

#cookie-consent-banner .cookie-consent-learn-more {
  color: #d97706;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.3px;
}

#cookie-consent-banner .cookie-consent-learn-more:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  #cookie-consent-banner .cookie-consent-actions {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cookie-consent-banner {
    transition: none;
  }
}
