:root {
  --ink: #1d2630;
  --muted: #667085;
  --line: #d9e1e8;
  --paper: #fbf8f3;
  --surface: #ffffff;
  --navy: #1f2b38;
  --wine: #7c2f3d;
  --rose: #f6e7e2;
  --gold: #e8c36a;
  --sage: #748f76;
  --teal: #176b7d;
  --red: #b3263b;
  --green: #26734d;
  --yellow: #9a6a00;
  --shadow: 0 18px 50px rgba(31, 43, 56, 0.12);
}

/* Concept G: pop-art production cockpit for Content Creation. */
body[data-route="contentCreationDashboard"] {
  --pop-bg: #07090d;
  --pop-panel: #10131a;
  --pop-ink: #fff7e8;
  --pop-muted: #aab3bd;
  --pop-yellow: #ffd447;
  --pop-coral: #ff5d5d;
  --pop-teal: #23d7c3;
  --pop-cream: #fff2cf;
  --pop-line: rgba(255, 255, 255, 0.14);
  background: var(--pop-bg);
}

body[data-route="contentCreationDashboard"] .shell {
  grid-template-columns: 238px minmax(0, 1fr);
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 212, 71, 0.24) 0 1px, transparent 2px) 0 0 / 34px 34px,
    radial-gradient(circle at 82% 8%, rgba(35, 215, 195, 0.18), transparent 28%),
    radial-gradient(circle at 10% 30%, rgba(255, 93, 93, 0.18), transparent 24%),
    linear-gradient(135deg, #07090d, #0d1118 55%, #080a0f);
  color: var(--pop-ink);
}

body[data-route="contentCreationDashboard"] .shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    repeating-linear-gradient(-12deg, transparent 0 15px, rgba(255, 255, 255, 0.05) 15px 16px),
    radial-gradient(circle at 88% 88%, rgba(255, 212, 71, 0.12), transparent 24%);
}

body[data-route="contentCreationDashboard"] .sidebar,
body[data-route="contentCreationDashboard"] main {
  position: relative;
  z-index: 1;
}

body[data-route="contentCreationDashboard"] .sidebar {
  padding: 18px 14px;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 212, 71, 0.18) 0 2px, transparent 3px) 0 0 / 30px 30px,
    linear-gradient(180deg, rgba(16, 19, 26, 0.98), rgba(7, 9, 13, 0.98));
  border-right: 3px solid #111;
  box-shadow: 10px 0 0 rgba(255, 212, 71, 0.9), 26px 0 70px rgba(0, 0, 0, 0.32);
}

body[data-route="contentCreationDashboard"] .brand {
  align-items: flex-start;
}

body[data-route="contentCreationDashboard"] .brand-mark {
  width: 54px;
  height: 54px;
  border: 3px solid #090a0d;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--pop-yellow), #fff0a3);
  color: #08090d;
  box-shadow: 5px 5px 0 var(--pop-coral);
  transform: rotate(-3deg);
}

body[data-route="contentCreationDashboard"] .brand h1 {
  color: var(--pop-cream);
  font-size: 24px;
  line-height: 1;
}

body[data-route="contentCreationDashboard"] .sidebar .eyebrow,
body[data-route="contentCreationDashboard"] .eyebrow {
  color: var(--pop-yellow);
  font-size: 11px;
  letter-spacing: 0.8px;
}

body[data-route="contentCreationDashboard"] .nav {
  gap: 9px;
}

body[data-route="contentCreationDashboard"] .nav a {
  border: 2px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.035);
  color: #e8edf2;
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.05);
}

body[data-route="contentCreationDashboard"] .nav a:hover,
body[data-route="contentCreationDashboard"] .nav a.active {
  border-color: #0b0d12;
  background: var(--pop-coral);
  color: #fff;
  box-shadow: 4px 4px 0 var(--pop-yellow);
  transform: translate(-1px, -1px);
}

body[data-route="contentCreationDashboard"] .side-panel {
  border: 2px solid #0b0d12;
  border-radius: 14px;
  background:
    radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px) 0 0 / 18px 18px,
    var(--pop-teal);
  color: #071014;
  box-shadow: 5px 5px 0 var(--pop-yellow);
}

body[data-route="contentCreationDashboard"] .side-panel .eyebrow,
body[data-route="contentCreationDashboard"] .side-panel span,
body[data-route="contentCreationDashboard"] .side-panel strong {
  color: #071014;
}

body[data-route="contentCreationDashboard"] main {
  padding: 18px 18px 96px;
  background: transparent;
}

body[data-route="contentCreationDashboard"] .topbar {
  align-items: center;
  margin-bottom: 14px;
  border: 2px solid #0b0d12;
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(13, 16, 23, 0.92);
  box-shadow: 7px 7px 0 rgba(255, 212, 71, 0.88);
}

body[data-route="contentCreationDashboard"] .topbar h2 {
  max-width: 860px;
  color: var(--pop-cream);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05;
}

body[data-route="contentCreationDashboard"] .actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

body[data-route="contentCreationDashboard"] .hero-strip {
  min-height: 118px;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  margin-bottom: 14px;
  border: 2px solid #0b0d12;
  border-radius: 18px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at 9px 9px, rgba(7, 9, 13, 0.16) 0 2px, transparent 3px) 0 0 / 18px 18px,
    linear-gradient(120deg, var(--pop-coral), #ff8a4d 52%, var(--pop-yellow));
  box-shadow: 7px 7px 0 var(--pop-teal);
  color: #07090d;
}

body[data-route="contentCreationDashboard"] .hero-strip .eyebrow,
body[data-route="contentCreationDashboard"] .hero-strip h3 {
  color: #07090d;
}

body[data-route="contentCreationDashboard"] .hero-strip h3 {
  max-width: 820px;
  font-size: clamp(22px, 2vw, 31px);
}

body[data-route="contentCreationDashboard"] .lens-art {
  width: 96px;
  border: 4px solid #07090d;
  background:
    radial-gradient(circle at 35% 30%, #fff7d7 0 10%, transparent 11%),
    radial-gradient(circle, #07090d 0 24%, var(--pop-teal) 25% 45%, var(--pop-yellow) 46% 50%, #10131a 51% 100%);
  box-shadow: 5px 5px 0 #07090d;
}

body[data-route="contentCreationDashboard"] .kpi-grid {
  grid-template-columns: repeat(7, minmax(116px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

body[data-route="contentCreationDashboard"] .kpi-grid article {
  min-height: 88px;
  border: 2px solid #0b0d12;
  border-radius: 14px;
  padding: 12px;
  background:
    radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px) 0 0 / 15px 15px,
    var(--pop-panel);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.08);
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(3n + 1) {
  box-shadow: 4px 4px 0 var(--pop-yellow);
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(3n + 2) {
  box-shadow: 4px 4px 0 var(--pop-coral);
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(3n) {
  box-shadow: 4px 4px 0 var(--pop-teal);
}

body[data-route="contentCreationDashboard"] .kpi-grid span {
  color: #c5ccd5;
  font-size: 11px;
  line-height: 1.2;
}

body[data-route="contentCreationDashboard"] .kpi-grid strong {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(18px, 1.6vw, 27px);
}

body[data-route="contentCreationDashboard"] .panel,
body[data-route="contentCreationDashboard"] .stack-item,
body[data-route="contentCreationDashboard"] .summary-item {
  border: 2px solid #0b0d12;
  border-radius: 18px;
  background:
    radial-gradient(circle at 9px 9px, rgba(255, 255, 255, 0.06) 0 1px, transparent 2px) 0 0 / 18px 18px,
    rgba(16, 19, 26, 0.94);
  box-shadow: 7px 7px 0 rgba(35, 215, 195, 0.55);
}

body[data-route="contentCreationDashboard"] .panel {
  padding: 14px;
}

body[data-route="contentCreationDashboard"] .panel-head {
  margin-bottom: 12px;
}

body[data-route="contentCreationDashboard"] .panel h3 {
  color: var(--pop-cream);
  font-size: 20px;
}

body[data-route="contentCreationDashboard"] .filters {
  flex-wrap: wrap;
}

body[data-route="contentCreationDashboard"] input,
body[data-route="contentCreationDashboard"] select,
body[data-route="contentCreationDashboard"] textarea {
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
}

body[data-route="contentCreationDashboard"] .primary,
body[data-route="contentCreationDashboard"] .secondary,
body[data-route="contentCreationDashboard"] .icon-button,
body[data-route="contentCreationDashboard"] .dark-mini {
  border: 2px solid #0b0d12;
  border-radius: 12px;
  box-shadow: 4px 4px 0 #0b0d12;
}

body[data-route="contentCreationDashboard"] .primary {
  background: var(--pop-yellow);
  color: #07090d;
}

body[data-route="contentCreationDashboard"] .secondary,
body[data-route="contentCreationDashboard"] .icon-button {
  background: var(--pop-teal);
  color: #071014;
}

body[data-route="contentCreationDashboard"] .event-card-list {
  gap: 10px;
}

body[data-route="contentCreationDashboard"] .event-summary-card {
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.75fr) minmax(320px, 1.35fr) minmax(112px, 0.5fr);
  gap: 12px;
  border: 2px solid #0b0d12;
  border-radius: 16px;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(255, 93, 93, 0.13), transparent 30%),
    rgba(12, 15, 21, 0.96);
  box-shadow: 5px 5px 0 rgba(255, 212, 71, 0.62);
}

body[data-route="contentCreationDashboard"] .event-summary-card:hover,
body[data-route="contentCreationDashboard"] .event-summary-card:focus-visible {
  border-color: #0b0d12;
  background:
    linear-gradient(90deg, rgba(35, 215, 195, 0.18), transparent 34%),
    rgba(15, 18, 25, 0.98);
  box-shadow: 6px 6px 0 var(--pop-coral);
}

body[data-route="contentCreationDashboard"] .event-summary-id span,
body[data-route="contentCreationDashboard"] .event-summary-team small,
body[data-route="contentCreationDashboard"] .event-summary-money span {
  color: var(--pop-yellow);
}

body[data-route="contentCreationDashboard"] .event-summary-meta span,
body[data-route="contentCreationDashboard"] .event-summary-team div span,
body[data-route="contentCreationDashboard"] .compact-manpower-chips span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
}

body[data-route="contentCreationDashboard"] .event-summary-money strong {
  color: #fff;
  font-size: 16px;
}

body[data-route="contentCreationDashboard"] .table-wrap {
  border: 2px solid #0b0d12;
  border-radius: 14px;
  box-shadow: 5px 5px 0 rgba(255, 93, 93, 0.54);
}

body[data-route="contentCreationDashboard"] th {
  background: var(--pop-yellow);
  color: #07090d;
}

body[data-route="contentCreationDashboard"] td {
  background: rgba(10, 13, 18, 0.75);
  color: #f1f5f9;
}

body[data-route="contentCreationDashboard"] dialog {
  border: 3px solid #0b0d12;
  border-radius: 18px;
  background:
    radial-gradient(circle at 9px 9px, rgba(255, 212, 71, 0.12) 0 2px, transparent 3px) 0 0 / 22px 22px,
    #10131a;
  box-shadow: 10px 10px 0 var(--pop-coral), 0 32px 90px rgba(0, 0, 0, 0.52);
}

@media (max-width: 1260px) {
  body[data-route="contentCreationDashboard"] .kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-route="contentCreationDashboard"] .event-summary-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .shoot-calendar-head,
  .shoot-calendar-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .shoot-calendar-layout {
    grid-template-columns: 1fr;
  }

  .shoot-calendar-form {
    grid-template-columns: 1fr;
  }

  .shoot-detail-card dl {
    grid-template-columns: 1fr;
  }

  .shoot-calendar-grid {
    gap: 5px;
  }

  .shoot-cal-head {
    padding: 6px 2px;
    font-size: 10px;
  }

  .shoot-cal-cell {
    min-height: 72px;
    padding: 7px;
  }

  .shoot-cal-cell strong {
    font-size: 14px;
  }

  .shoot-cal-cell span {
    font-size: 10px;
  }

  body[data-route="contentCreationDashboard"] .shell {
    grid-template-columns: 1fr;
  }

  body[data-route="contentCreationDashboard"] .sidebar {
    position: relative;
    height: auto;
    box-shadow: 0 8px 0 rgba(255, 212, 71, 0.9);
  }

  body[data-route="contentCreationDashboard"] .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-route="contentCreationDashboard"] .hero-strip,
  body[data-route="contentCreationDashboard"] .event-summary-card {
    grid-template-columns: 1fr;
  }
}

/* Same-to-same comic cockpit requested for Content Creation. */
html body[data-route="contentCreationDashboard"] {
  --comic-black: #050606;
  --comic-panel: #071111;
  --comic-ink: #f8f0d4;
  --comic-yellow: #ffd22d;
  --comic-red: #ef4646;
  --comic-teal: #10bfc2;
  --comic-cream: #fff5d7;
  --comic-line: #f0cb40;
  background: #050606 !important;
  font-family: "Comic Sans MS", "Trebuchet MS", system-ui, sans-serif !important;
}

html body[data-route="contentCreationDashboard"] .shell {
  grid-template-columns: 176px minmax(0, 1fr) !important;
  max-width: 980px !important;
  min-height: 1460px !important;
  margin: 8px auto !important;
  border: 3px solid rgba(255, 245, 215, 0.8) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 9px 9px, rgba(255, 255, 255, 0.14) 0 1px, transparent 2px) 0 0 / 14px 14px,
    radial-gradient(circle at 5% 94%, rgba(239, 35, 60, 0.9) 0 1.5px, transparent 2.5px) 0 0 / 13px 13px,
    linear-gradient(135deg, #070808 0%, #071113 58%, #030404 100%) !important;
  color: var(--comic-ink) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75) !important;
}

html body[data-route="contentCreationDashboard"] .shell::before {
  content: "" !important;
  position: fixed !important;
  inset: auto auto 0 0 !important;
  width: 320px !important;
  height: 320px !important;
  opacity: 0.9 !important;
  pointer-events: none !important;
  background: radial-gradient(circle at 7px 7px, rgba(255, 27, 48, 0.9) 0 2px, transparent 3px) 0 0 / 16px 16px !important;
  mask-image: radial-gradient(circle at 0 100%, #000 0 58%, transparent 72%) !important;
  z-index: 0 !important;
}

html body[data-route="contentCreationDashboard"] .dock-outer,
html body[data-route="contentCreationDashboard"] .floating-dock,
html body[data-route="contentCreationDashboard"] .panel-section {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .sidebar {
  position: relative !important;
  z-index: 1 !important;
  padding: 28px 14px 18px !important;
  background:
    linear-gradient(90deg, rgba(255, 210, 45, 0.16) 0 2px, transparent 2px) 0 0 / 100% 100%,
    rgba(3, 5, 5, 0.92) !important;
  border-right: 2px solid rgba(255, 245, 215, 0.7) !important;
  box-shadow: none !important;
}

html body[data-route="contentCreationDashboard"] .brand {
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 28px !important;
}

html body[data-route="contentCreationDashboard"] .brand-mark {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  border: 4px solid var(--comic-yellow) !important;
  background: #070808 !important;
  color: var(--comic-yellow) !important;
  box-shadow: 0 0 0 2px #050606, 0 0 0 4px rgba(255, 210, 45, 0.28) !important;
  transform: none !important;
  font-size: 21px !important;
}

html body[data-route="contentCreationDashboard"] .brand .eyebrow {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .brand h1 {
  color: #fff7d8 !important;
  font-size: 24px !important;
  line-height: 0.95 !important;
  text-transform: uppercase !important;
  transform: rotate(-2deg) !important;
  text-shadow: 2px 2px 0 #000 !important;
}

html body[data-route="contentCreationDashboard"] .nav {
  gap: 10px !important;
}

html body[data-route="contentCreationDashboard"] .nav a {
  min-height: 36px !important;
  padding: 8px 8px 8px 42px !important;
  border: 2px solid rgba(255, 245, 215, 0.6) !important;
  border-radius: 3px !important;
  background: #071111 !important;
  color: #fff5d7 !important;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.95) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  position: relative !important;
  text-transform: capitalize !important;
}

html body[data-route="contentCreationDashboard"] .nav a::before {
  content: "▣" !important;
  position: absolute !important;
  left: 13px !important;
  top: 9px !important;
  color: #fff5d7 !important;
  font-size: 18px !important;
}

html body[data-route="contentCreationDashboard"] .nav a.active,
html body[data-route="contentCreationDashboard"] .nav a:hover {
  background: var(--comic-yellow) !important;
  color: #10100a !important;
  border-color: #050606 !important;
  box-shadow: 4px 4px 0 #050606 !important;
}

html body[data-route="contentCreationDashboard"] .nav a.active::before,
html body[data-route="contentCreationDashboard"] .nav a:hover::before {
  color: #10100a !important;
}

html body[data-route="contentCreationDashboard"] .side-panel {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] main {
  position: relative !important;
  z-index: 1 !important;
  max-width: none !important;
  padding: 24px 18px 28px !important;
  background: transparent !important;
}

html body[data-route="contentCreationDashboard"] .topbar {
  display: grid !important;
  grid-template-columns: 1fr 260px !important;
  align-items: start !important;
  min-height: 128px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body[data-route="contentCreationDashboard"] .topbar::after {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .topbar > div:first-child {
  width: 360px !important;
  min-height: 126px !important;
  margin: 18px 0 0 62px !important;
  padding: 25px 44px 22px 52px !important;
  background: var(--comic-yellow) !important;
  color: #050606 !important;
  clip-path: polygon(0 30%, 20% 27%, 16% 4%, 36% 23%, 48% 0, 56% 24%, 82% 11%, 72% 34%, 100% 36%, 78% 51%, 95% 74%, 66% 65%, 60% 100%, 46% 70%, 25% 94%, 31% 65%, 4% 79%, 18% 54%) !important;
  filter: drop-shadow(5px 5px 0 #050606) !important;
  transform: rotate(-7deg) !important;
}

html body[data-route="contentCreationDashboard"] .topbar .eyebrow {
  color: #050606 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  transform: rotate(-2deg) !important;
}

html body[data-route="contentCreationDashboard"] .topbar h2 {
  max-width: none !important;
  color: #050606 !important;
  font-size: 48px !important;
  line-height: 0.78 !important;
  letter-spacing: -1px !important;
  text-transform: uppercase !important;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.75) !important;
}

html body[data-route="contentCreationDashboard"] .actions {
  justify-self: end !important;
  min-width: 238px !important;
  margin-top: 10px !important;
  padding: 9px 12px !important;
  border: 2px solid rgba(255, 245, 215, 0.65) !important;
  border-radius: 8px !important;
  background: rgba(7, 17, 17, 0.95) !important;
  box-shadow: 3px 3px 0 #050606 !important;
}

html body[data-route="contentCreationDashboard"] .actions::before {
  content: "● LIVE SYNC\\A All Systems Operational" !important;
  white-space: pre !important;
  color: #eaffee !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  margin-right: auto !important;
}

html body[data-route="contentCreationDashboard"] .actions .secondary,
html body[data-route="contentCreationDashboard"] .actions .icon-button {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .actions .primary {
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 0 !important;
  background: var(--comic-yellow) !important;
  border: 2px solid #050606 !important;
  box-shadow: 3px 3px 0 #050606 !important;
}

html body[data-route="contentCreationDashboard"] .actions .primary::before {
  content: "H" !important;
  font-size: 22px !important;
}

html body[data-route="contentCreationDashboard"] .hero-strip {
  position: absolute !important;
  top: 90px !important;
  right: 18px !important;
  left: 490px !important;
  display: block !important;
  min-height: 86px !important;
  padding: 17px 28px !important;
  border: 4px solid #050606 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 7px 7px, rgba(5, 6, 6, 0.32) 0 2px, transparent 3px) 0 0 / 14px 14px,
    var(--comic-teal) !important;
  box-shadow: 0 0 0 3px var(--comic-yellow), 4px 4px 0 #050606 !important;
  color: #fff5d7 !important;
  text-align: right !important;
}

html body[data-route="contentCreationDashboard"] .hero-strip::after {
  content: "☼" !important;
  right: 28px !important;
  bottom: 5px !important;
  color: var(--comic-yellow) !important;
  font-size: 30px !important;
}

html body[data-route="contentCreationDashboard"] .lens-art {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .hero-strip .eyebrow,
html body[data-route="contentCreationDashboard"] .hero-strip h3 {
  color: #fff5d7 !important;
  text-shadow: 2px 2px 0 #050606 !important;
}

html body[data-route="contentCreationDashboard"] .hero-strip .eyebrow {
  font-size: 13px !important;
}

html body[data-route="contentCreationDashboard"] .hero-strip h3 {
  font-size: 20px !important;
  line-height: 1 !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
  margin: 12px 0 16px !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid article {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(-n + 4) {
  display: block !important;
  min-height: 118px !important;
  padding: 12px 12px 10px !important;
  border: 3px solid #050606 !important;
  border-radius: 6px !important;
  background: var(--comic-cream) !important;
  box-shadow: 4px 4px 0 #050606 !important;
  color: #050606 !important;
  transform: rotate(-1deg) !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(1) {
  background: var(--comic-teal) !important;
  color: #fff5d7 !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(2) {
  background: var(--comic-red) !important;
  color: #fff5d7 !important;
  transform: rotate(1deg) !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(4) {
  background: var(--comic-yellow) !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid span {
  display: block !important;
  color: inherit !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid strong {
  display: block !important;
  margin: 10px 0 5px !important;
  color: inherit !important;
  font-size: 35px !important;
  line-height: 1 !important;
  text-align: center !important;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.22) !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid em {
  display: block !important;
  color: inherit !important;
  font-size: 12px !important;
  font-style: normal !important;
  text-align: center !important;
}

html body[data-route="contentCreationDashboard"] .panel {
  margin-top: 0 !important;
  padding: 12px !important;
  border: 3px solid rgba(255, 245, 215, 0.78) !important;
  border-radius: 6px !important;
  background: rgba(3, 13, 13, 0.96) !important;
  box-shadow: 4px 4px 0 #050606 !important;
}

html body[data-route="contentCreationDashboard"] #events {
  margin-top: 14px !important;
}

html body[data-route="contentCreationDashboard"] .panel-head {
  align-items: center !important;
  margin-bottom: 10px !important;
  border-bottom: 2px dashed rgba(255, 245, 215, 0.38) !important;
  padding-bottom: 8px !important;
}

html body[data-route="contentCreationDashboard"] .panel-head .eyebrow {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .panel h3 {
  display: inline-block !important;
  padding: 4px 10px !important;
  background: #fff5d7 !important;
  color: #050606 !important;
  font-size: 25px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  transform: rotate(-2deg) !important;
}

html body[data-route="contentCreationDashboard"] #events .panel h3,
html body[data-route="contentCreationDashboard"] #events h3 {
  background: #fff5d7 !important;
}

html body[data-route="contentCreationDashboard"] .filters {
  gap: 7px !important;
}

html body[data-route="contentCreationDashboard"] input,
html body[data-route="contentCreationDashboard"] select {
  min-height: 34px !important;
  border: 2px solid rgba(255, 245, 215, 0.55) !important;
  border-radius: 4px !important;
  background: #071111 !important;
  color: #fff5d7 !important;
}

html body[data-route="contentCreationDashboard"] .event-card-list {
  display: table !important;
  width: 100% !important;
  border-collapse: collapse !important;
}

html body[data-route="contentCreationDashboard"] .event-card-list::before {
  content: "DATE        CLIENT              PACKAGE        VENUE              STATUS          NEXT STEP" !important;
  display: block !important;
  padding: 8px 10px !important;
  border-bottom: 2px solid rgba(255, 245, 215, 0.42) !important;
  color: #fff5d7 !important;
  font-size: 11px !important;
  letter-spacing: 0.02em !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-card {
  display: grid !important;
  grid-template-columns: 72px 1.15fr 0.9fr 1.1fr 90px 96px !important;
  gap: 8px !important;
  align-items: center !important;
  padding: 9px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 245, 215, 0.28) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff5d7 !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-main,
html body[data-route="contentCreationDashboard"] .event-summary-team,
html body[data-route="contentCreationDashboard"] .event-summary-money,
html body[data-route="contentCreationDashboard"] .event-summary-status {
  display: contents !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-id {
  display: contents !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-id span {
  grid-column: 1 !important;
  color: #fff5d7 !important;
  font-size: 12px !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-id strong {
  grid-column: 2 !important;
  color: #fff5d7 !important;
  font-size: 13px !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-meta {
  display: contents !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-meta span {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-meta span:nth-child(2) {
  display: block !important;
  grid-column: 4 !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-meta span:nth-child(4) {
  display: block !important;
  grid-column: 3 !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-team,
html body[data-route="contentCreationDashboard"] .event-summary-money,
html body[data-route="contentCreationDashboard"] .event-summary-status .badge:nth-child(2),
html body[data-route="contentCreationDashboard"] .event-summary-status .dark-mini {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-status .badge {
  grid-column: 5 !important;
  justify-self: start !important;
  min-width: 66px !important;
  border: 2px solid #050606 !important;
  border-radius: 3px !important;
  padding: 4px 7px !important;
  background: var(--comic-yellow) !important;
  color: #050606 !important;
  box-shadow: 2px 2px 0 #050606 !important;
  text-align: center !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-status .badge:nth-child(3) {
  display: block !important;
  grid-column: 6 !important;
  background: var(--comic-teal) !important;
}

html body[data-route="contentCreationDashboard"] .comic-snapshot-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 16px !important;
  margin: 18px 0 !important;
}

html body[data-route="contentCreationDashboard"] .comic-snapshot-card {
  min-height: 260px !important;
  position: relative !important;
  padding: 18px !important;
  border: 3px solid rgba(255, 245, 215, 0.78) !important;
  border-radius: 6px !important;
  background: rgba(3, 13, 13, 0.96) !important;
  color: #fff5d7 !important;
  box-shadow: 4px 4px 0 #050606 !important;
}

html body[data-route="contentCreationDashboard"] .comic-card-label {
  display: inline-block !important;
  margin: -8px 0 14px !important;
  padding: 7px 12px !important;
  background: var(--comic-yellow) !important;
  color: #050606 !important;
  border: 2px solid #050606 !important;
  box-shadow: 2px 2px 0 #050606 !important;
  text-transform: uppercase !important;
  transform: rotate(-4deg) !important;
}

html body[data-route="contentCreationDashboard"] .mini-calendar {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 6px !important;
  text-align: center !important;
  font-size: 13px !important;
}

html body[data-route="contentCreationDashboard"] .mini-calendar span {
  color: #fff5d7 !important;
}

html body[data-route="contentCreationDashboard"] .mini-calendar i {
  font-style: normal !important;
}

html body[data-route="contentCreationDashboard"] .mini-calendar .today {
  border: 2px solid var(--comic-yellow) !important;
  border-radius: 50% !important;
  color: var(--comic-yellow) !important;
}

html body[data-route="contentCreationDashboard"] .today-line {
  display: grid !important;
  grid-template-columns: 76px 1fr !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  font-size: 13px !important;
}

html body[data-route="contentCreationDashboard"] .today-line em {
  grid-column: 2 !important;
  color: #c7d1d4 !important;
  font-style: normal !important;
}

html body[data-route="contentCreationDashboard"] .finance-card span {
  display: block !important;
  color: #c7d1d4 !important;
  margin-top: 10px !important;
}

html body[data-route="contentCreationDashboard"] .finance-card strong {
  display: block !important;
  color: #fff5d7 !important;
  font-size: 24px !important;
}

html body[data-route="contentCreationDashboard"] .boom-sticker {
  position: absolute !important;
  right: 8px !important;
  bottom: 10px !important;
  color: var(--comic-red) !important;
  font-size: 42px !important;
  text-transform: uppercase !important;
  transform: rotate(-16deg) !important;
  text-shadow: 2px 2px 0 #fff5d7, 4px 4px 0 #050606 !important;
}

html body[data-route="contentCreationDashboard"] #finance {
  margin-top: 16px !important;
}

@media (max-width: 900px) {
  html body[data-route="contentCreationDashboard"] .shell {
    grid-template-columns: 1fr !important;
    max-width: none !important;
  }

  html body[data-route="contentCreationDashboard"] .topbar,
  html body[data-route="contentCreationDashboard"] .kpi-grid,
  html body[data-route="contentCreationDashboard"] .comic-snapshot-grid {
    grid-template-columns: 1fr !important;
  }

  html body[data-route="contentCreationDashboard"] .hero-strip {
    position: relative !important;
    inset: auto !important;
    margin-bottom: 12px !important;
  }

  html body[data-route="contentCreationDashboard"] .topbar > div:first-child {
    margin-left: 0 !important;
    width: min(100%, 360px) !important;
  }
}

/* Concept G hard correction: final route skin, kept at true file end. */
html body[data-route="contentCreationDashboard"] {
  --g-bg: #080a0f;
  --g-ink: #f8f4ea;
  --g-muted: #aeb7c3;
  --g-line: rgba(255, 255, 255, 0.12);
  --g-panel: rgba(15, 18, 24, 0.92);
  --g-yellow: #ffd76a;
  --g-pink: #ff4f7b;
  --g-cyan: #22d6c9;
  background: var(--g-bg) !important;
}

html body[data-route="contentCreationDashboard"] .shell {
  grid-template-columns: 250px minmax(0, 1fr) !important;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 215, 106, 0.13), transparent 24%),
    radial-gradient(circle at 84% 8%, rgba(34, 214, 201, 0.12), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 64px 64px,
    #080a0f !important;
}

html body[data-route="contentCreationDashboard"] .shell::before {
  opacity: 0.14 !important;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 215, 106, 0.45) 0 1px, transparent 2px) 0 0 / 42px 42px,
    repeating-linear-gradient(-8deg, transparent 0 28px, rgba(255, 255, 255, 0.05) 28px 29px) !important;
  mask-image: linear-gradient(90deg, #000 0 20%, transparent 58%) !important;
}

html body[data-route="contentCreationDashboard"] .floating-dock {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .dock-outer {
  display: none !important;
}

html body[data-route="contentCreationDashboard"] .sidebar {
  padding: 22px 16px !important;
  background: rgba(7, 9, 13, 0.88) !important;
  border-right: 1px solid rgba(255, 215, 106, 0.2) !important;
  box-shadow: 14px 0 50px rgba(0, 0, 0, 0.42) !important;
}

html body[data-route="contentCreationDashboard"] .brand-mark {
  width: 54px !important;
  height: 54px !important;
  border: 2px solid #090a0d !important;
  border-radius: 18px !important;
  background: #ffe48f !important;
  color: #080a0f !important;
  box-shadow: 6px 6px 0 rgba(255, 79, 123, 0.9) !important;
  transform: rotate(-4deg) !important;
}

html body[data-route="contentCreationDashboard"] .nav a {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  box-shadow: none !important;
}

html body[data-route="contentCreationDashboard"] .nav a:hover,
html body[data-route="contentCreationDashboard"] .nav a.active {
  border-color: rgba(255, 215, 106, 0.86) !important;
  background: linear-gradient(135deg, rgba(255, 215, 106, 0.24), rgba(255, 79, 123, 0.12)), rgba(255, 255, 255, 0.08) !important;
  color: #fff8dd !important;
  box-shadow: inset 4px 0 0 var(--g-yellow) !important;
  transform: none !important;
}

html body[data-route="contentCreationDashboard"] main {
  max-width: 1380px !important;
  padding: 24px 24px 72px !important;
  background: transparent !important;
}

html body[data-route="contentCreationDashboard"] .topbar {
  border: 1px solid rgba(255, 215, 106, 0.42) !important;
  border-radius: 24px !important;
  padding: 26px 28px !important;
  background: radial-gradient(circle at 78% 28%, rgba(255, 215, 106, 0.14), transparent 22%), linear-gradient(145deg, rgba(24, 28, 36, 0.96), rgba(10, 12, 17, 0.96)) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34) !important;
}

html body[data-route="contentCreationDashboard"] .topbar h2 {
  max-width: 900px !important;
  font-size: clamp(36px, 5vw, 68px) !important;
  line-height: 0.94 !important;
  letter-spacing: 0 !important;
}

html body[data-route="contentCreationDashboard"] .hero-strip {
  min-height: 150px !important;
  grid-template-columns: 118px minmax(0, 1fr) !important;
  gap: 24px !important;
  border: 1px solid rgba(255, 215, 106, 0.4) !important;
  border-radius: 24px !important;
  padding: 22px 28px !important;
  background: radial-gradient(circle at 12px 12px, rgba(8, 10, 15, 0.16) 0 2px, transparent 3px) 0 0 / 20px 20px, linear-gradient(115deg, #fff1a8 0%, #ffcc5c 42%, #ff6f91 100%) !important;
  box-shadow: none !important;
  color: #090a0d !important;
}

html body[data-route="contentCreationDashboard"] .hero-strip .eyebrow,
html body[data-route="contentCreationDashboard"] .hero-strip h3 {
  color: #090a0d !important;
}

html body[data-route="contentCreationDashboard"] .hero-strip h3 {
  font-size: clamp(28px, 3vw, 44px) !important;
  line-height: 1.02 !important;
}

html body[data-route="contentCreationDashboard"] .lens-art {
  width: 104px !important;
  height: 104px !important;
  border: 5px solid #090a0d !important;
  background:
    radial-gradient(circle at 34% 27%, #fff7cf 0 9%, transparent 10%),
    radial-gradient(circle at 62% 64%, rgba(255, 255, 255, 0.28) 0 10%, transparent 11%),
    radial-gradient(circle, #071017 0 26%, var(--g-cyan) 27% 45%, var(--g-yellow) 46% 52%, #10131a 53% 100%) !important;
  box-shadow: 8px 8px 0 rgba(9, 10, 13, 0.72) !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr)) !important;
  gap: 14px !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid article,
html body[data-route="contentCreationDashboard"] .panel,
html body[data-route="contentCreationDashboard"] .stack-item,
html body[data-route="contentCreationDashboard"] .summary-item {
  border: 1px solid var(--g-line) !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)), var(--g-panel) !important;
  box-shadow: none !important;
}

html body[data-route="contentCreationDashboard"] .kpi-grid article {
  min-height: 112px !important;
  padding: 18px !important;
}

html body[data-route="contentCreationDashboard"] .event-summary-card {
  grid-template-columns: minmax(250px, 1.2fr) minmax(160px, 0.75fr) minmax(340px, 1.35fr) minmax(120px, 0.5fr) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  border-radius: 22px !important;
  padding: 18px !important;
  background: linear-gradient(90deg, rgba(255, 79, 123, 0.12), transparent 26%), rgba(8, 10, 15, 0.7) !important;
  box-shadow: inset 4px 0 0 rgba(255, 215, 106, 0.62) !important;
}

html body[data-route="contentCreationDashboard"] th {
  background: rgba(255, 215, 106, 0.94) !important;
  color: #080a0f !important;
}

body[data-route="contentCreationDashboard"] {
  --g-bg: #080a0f;
  --g-ink: #f8f4ea;
  --g-muted: #aeb7c3;
  --g-line: rgba(255, 255, 255, 0.12);
  --g-panel: rgba(15, 18, 24, 0.92);
  --g-yellow: #ffd76a;
  --g-pink: #ff4f7b;
  --g-cyan: #22d6c9;
  background: var(--g-bg);
}

body[data-route="contentCreationDashboard"] .shell {
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 215, 106, 0.13), transparent 24%),
    radial-gradient(circle at 84% 8%, rgba(34, 214, 201, 0.12), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 64px 64px,
    #080a0f;
  color: var(--g-ink);
}

body[data-route="contentCreationDashboard"] .shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 215, 106, 0.45) 0 1px, transparent 2px) 0 0 / 42px 42px,
    repeating-linear-gradient(-8deg, transparent 0 28px, rgba(255, 255, 255, 0.05) 28px 29px);
  mask-image: linear-gradient(90deg, #000 0 20%, transparent 58%);
}

body[data-route="contentCreationDashboard"] .floating-dock {
  display: none;
}

body[data-route="contentCreationDashboard"] .sidebar,
body[data-route="contentCreationDashboard"] main {
  position: relative;
  z-index: 1;
}

body[data-route="contentCreationDashboard"] .sidebar {
  padding: 22px 16px;
  background: rgba(7, 9, 13, 0.88);
  border-right: 1px solid rgba(255, 215, 106, 0.2);
  box-shadow: 14px 0 50px rgba(0, 0, 0, 0.42);
}

body[data-route="contentCreationDashboard"] .brand {
  gap: 12px;
  margin-bottom: 26px;
}

body[data-route="contentCreationDashboard"] .brand-mark {
  width: 54px;
  height: 54px;
  border: 2px solid #090a0d;
  border-radius: 18px;
  background: #ffe48f;
  color: #080a0f;
  box-shadow: 6px 6px 0 rgba(255, 79, 123, 0.9);
  transform: rotate(-4deg);
}

body[data-route="contentCreationDashboard"] .brand h1 {
  color: var(--g-ink);
  font-size: 23px;
  letter-spacing: 0;
}

body[data-route="contentCreationDashboard"] .eyebrow,
body[data-route="contentCreationDashboard"] .sidebar .eyebrow {
  color: var(--g-yellow);
  letter-spacing: 0.08em;
}

body[data-route="contentCreationDashboard"] .nav {
  gap: 10px;
}

body[data-route="contentCreationDashboard"] .nav a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.045);
  color: #eef2f6;
  box-shadow: none;
}

body[data-route="contentCreationDashboard"] .nav a:hover,
body[data-route="contentCreationDashboard"] .nav a.active {
  border-color: rgba(255, 215, 106, 0.86);
  background:
    linear-gradient(135deg, rgba(255, 215, 106, 0.24), rgba(255, 79, 123, 0.12)),
    rgba(255, 255, 255, 0.08);
  color: #fff8dd;
  box-shadow: inset 4px 0 0 var(--g-yellow);
  transform: none;
}

body[data-route="contentCreationDashboard"] .side-panel {
  border: 1px solid rgba(34, 214, 201, 0.35);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px) 0 0 / 18px 18px,
    linear-gradient(145deg, rgba(34, 214, 201, 0.92), rgba(255, 215, 106, 0.9));
  color: #081015;
  box-shadow: none;
}

body[data-route="contentCreationDashboard"] .side-panel .eyebrow,
body[data-route="contentCreationDashboard"] .side-panel span,
body[data-route="contentCreationDashboard"] .side-panel strong {
  color: #081015;
}

body[data-route="contentCreationDashboard"] main {
  max-width: 1380px;
  padding: 24px 24px 72px;
  background: transparent;
}

body[data-route="contentCreationDashboard"] .topbar {
  position: relative;
  align-items: start;
  gap: 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 215, 106, 0.42);
  border-radius: 24px;
  padding: 26px 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 215, 106, 0.14), transparent 22%),
    linear-gradient(145deg, rgba(24, 28, 36, 0.96), rgba(10, 12, 17, 0.96));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

body[data-route="contentCreationDashboard"] .topbar::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 0;
  width: 160px;
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--g-yellow), var(--g-pink));
}

body[data-route="contentCreationDashboard"] .topbar h2 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.94;
  letter-spacing: 0;
}

body[data-route="contentCreationDashboard"] .hero-strip {
  position: relative;
  min-height: 150px;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 215, 106, 0.4);
  border-radius: 24px;
  padding: 22px 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12px 12px, rgba(8, 10, 15, 0.16) 0 2px, transparent 3px) 0 0 / 20px 20px,
    linear-gradient(115deg, #fff1a8 0%, #ffcc5c 42%, #ff6f91 100%);
  box-shadow: none;
  color: #090a0d;
}

body[data-route="contentCreationDashboard"] .hero-strip::after {
  content: "POP OPS";
  position: absolute;
  right: 26px;
  bottom: 18px;
  color: rgba(9, 10, 13, 0.12);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-route="contentCreationDashboard"] .hero-strip .eyebrow,
body[data-route="contentCreationDashboard"] .hero-strip h3 {
  color: #090a0d;
}

body[data-route="contentCreationDashboard"] .hero-strip h3 {
  max-width: 880px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
}

body[data-route="contentCreationDashboard"] .lens-art {
  width: 104px;
  height: 104px;
  border: 5px solid #090a0d;
  background:
    radial-gradient(circle at 34% 27%, #fff7cf 0 9%, transparent 10%),
    radial-gradient(circle at 62% 64%, rgba(255, 255, 255, 0.28) 0 10%, transparent 11%),
    radial-gradient(circle, #071017 0 26%, var(--g-cyan) 27% 45%, var(--g-yellow) 46% 52%, #10131a 53% 100%);
  box-shadow: 8px 8px 0 rgba(9, 10, 13, 0.72);
  transform: rotate(-5deg);
}

body[data-route="contentCreationDashboard"] .kpi-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

body[data-route="contentCreationDashboard"] .kpi-grid article {
  min-height: 112px;
  border: 1px solid var(--g-line);
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--g-panel);
  box-shadow: none;
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(4n + 1) {
  border-color: rgba(255, 215, 106, 0.42);
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(4n + 2) {
  border-color: rgba(255, 79, 123, 0.4);
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(4n + 3) {
  border-color: rgba(34, 214, 201, 0.4);
}

body[data-route="contentCreationDashboard"] .kpi-grid span {
  color: var(--g-muted);
  font-size: 12px;
  line-height: 1.25;
}

body[data-route="contentCreationDashboard"] .kpi-grid strong {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0;
}

body[data-route="contentCreationDashboard"] .panel,
body[data-route="contentCreationDashboard"] .stack-item,
body[data-route="contentCreationDashboard"] .summary-item {
  border: 1px solid var(--g-line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    var(--g-panel);
  box-shadow: none;
}

body[data-route="contentCreationDashboard"] .panel {
  padding: 20px;
  margin-top: 18px;
}

body[data-route="contentCreationDashboard"] .panel-head {
  margin-bottom: 18px;
}

body[data-route="contentCreationDashboard"] .panel h3 {
  color: #fff;
  font-size: clamp(22px, 2.1vw, 34px);
  letter-spacing: 0;
}

body[data-route="contentCreationDashboard"] input,
body[data-route="contentCreationDashboard"] select,
body[data-route="contentCreationDashboard"] textarea {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  color: #f7f4ec;
}

body[data-route="contentCreationDashboard"] .primary,
body[data-route="contentCreationDashboard"] .secondary,
body[data-route="contentCreationDashboard"] .icon-button,
body[data-route="contentCreationDashboard"] .dark-mini {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: none;
}

body[data-route="contentCreationDashboard"] .primary {
  background: linear-gradient(135deg, #ffe59b, #ffb739);
  color: #080a0f;
}

body[data-route="contentCreationDashboard"] .secondary,
body[data-route="contentCreationDashboard"] .icon-button {
  background: rgba(34, 214, 201, 0.16);
  color: #ebfffc;
}

body[data-route="contentCreationDashboard"] .event-card-list {
  gap: 14px;
}

body[data-route="contentCreationDashboard"] .event-summary-card {
  grid-template-columns: minmax(250px, 1.2fr) minmax(160px, 0.75fr) minmax(340px, 1.35fr) minmax(120px, 0.5fr);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(255, 79, 123, 0.12), transparent 26%),
    rgba(8, 10, 15, 0.7);
  box-shadow: inset 4px 0 0 rgba(255, 215, 106, 0.62);
}

body[data-route="contentCreationDashboard"] .event-summary-card:hover,
body[data-route="contentCreationDashboard"] .event-summary-card:focus-visible {
  border-color: rgba(255, 215, 106, 0.55);
  background:
    linear-gradient(90deg, rgba(34, 214, 201, 0.13), transparent 32%),
    rgba(13, 16, 23, 0.9);
  box-shadow: inset 4px 0 0 var(--g-cyan);
}

body[data-route="contentCreationDashboard"] .event-summary-id span,
body[data-route="contentCreationDashboard"] .event-summary-team small,
body[data-route="contentCreationDashboard"] .event-summary-money span {
  color: var(--g-yellow);
}

body[data-route="contentCreationDashboard"] .event-summary-money strong {
  color: #fff;
  font-size: 17px;
}

body[data-route="contentCreationDashboard"] th {
  background: rgba(255, 215, 106, 0.94);
  color: #080a0f;
}

body[data-route="contentCreationDashboard"] td {
  background: rgba(9, 11, 16, 0.78);
  color: #f1f5f9;
}

@media (max-width: 1260px) {
  body[data-route="contentCreationDashboard"] .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-route="contentCreationDashboard"] .event-summary-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body[data-route="contentCreationDashboard"] .shell {
    grid-template-columns: 1fr;
  }

  body[data-route="contentCreationDashboard"] .sidebar {
    position: relative;
    height: auto;
  }

  body[data-route="contentCreationDashboard"] main {
    padding: 16px 14px 48px;
  }

  body[data-route="contentCreationDashboard"] .topbar h2 {
    font-size: clamp(32px, 12vw, 46px);
  }

  body[data-route="contentCreationDashboard"] .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-route="contentCreationDashboard"] .hero-strip,
  body[data-route="contentCreationDashboard"] .event-summary-card {
    grid-template-columns: 1fr;
  }
}

/* Concept G correction: cleaner pop-sketch cockpit, closer to the approved mockup. */
body[data-route="contentCreationDashboard"] {
  --g-bg: #080a0f;
  --g-ink: #f8f4ea;
  --g-muted: #aeb7c3;
  --g-line: rgba(255, 255, 255, 0.12);
  --g-panel: rgba(15, 18, 24, 0.92);
  --g-panel-2: rgba(21, 24, 31, 0.95);
  --g-yellow: #ffd76a;
  --g-pink: #ff4f7b;
  --g-cyan: #22d6c9;
  --g-blue: #5b8cff;
  background: var(--g-bg);
}

body[data-route="contentCreationDashboard"] .shell {
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 215, 106, 0.13), transparent 24%),
    radial-gradient(circle at 84% 8%, rgba(34, 214, 201, 0.12), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 64px 64px,
    #080a0f;
  color: var(--g-ink);
}

body[data-route="contentCreationDashboard"] .shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 215, 106, 0.5) 0 1px, transparent 2px) 0 0 / 42px 42px,
    repeating-linear-gradient(-8deg, transparent 0 28px, rgba(255, 255, 255, 0.05) 28px 29px);
  mask-image: linear-gradient(90deg, #000 0 20%, transparent 58%);
}

body[data-route="contentCreationDashboard"] .floating-dock {
  display: none;
}

body[data-route="contentCreationDashboard"] .sidebar,
body[data-route="contentCreationDashboard"] main {
  position: relative;
  z-index: 1;
}

body[data-route="contentCreationDashboard"] .sidebar {
  padding: 22px 16px;
  background: rgba(7, 9, 13, 0.88);
  border-right: 1px solid rgba(255, 215, 106, 0.2);
  box-shadow: 14px 0 50px rgba(0, 0, 0, 0.42);
}

body[data-route="contentCreationDashboard"] .brand {
  gap: 12px;
  margin-bottom: 26px;
}

body[data-route="contentCreationDashboard"] .brand-mark {
  width: 54px;
  height: 54px;
  border: 2px solid #090a0d;
  border-radius: 18px;
  background: #ffe48f;
  color: #080a0f;
  box-shadow: 6px 6px 0 rgba(255, 79, 123, 0.9);
  transform: rotate(-4deg);
}

body[data-route="contentCreationDashboard"] .brand h1 {
  color: var(--g-ink);
  font-size: 23px;
  letter-spacing: 0;
}

body[data-route="contentCreationDashboard"] .eyebrow,
body[data-route="contentCreationDashboard"] .sidebar .eyebrow {
  color: var(--g-yellow);
  letter-spacing: 0.08em;
}

body[data-route="contentCreationDashboard"] .nav {
  gap: 10px;
}

body[data-route="contentCreationDashboard"] .nav a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.045);
  color: #eef2f6;
  box-shadow: none;
}

body[data-route="contentCreationDashboard"] .nav a:hover,
body[data-route="contentCreationDashboard"] .nav a.active {
  border-color: rgba(255, 215, 106, 0.86);
  background:
    linear-gradient(135deg, rgba(255, 215, 106, 0.24), rgba(255, 79, 123, 0.12)),
    rgba(255, 255, 255, 0.08);
  color: #fff8dd;
  box-shadow: inset 4px 0 0 var(--g-yellow);
  transform: none;
}

body[data-route="contentCreationDashboard"] .side-panel {
  border: 1px solid rgba(34, 214, 201, 0.35);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px) 0 0 / 18px 18px,
    linear-gradient(145deg, rgba(34, 214, 201, 0.92), rgba(255, 215, 106, 0.9));
  color: #081015;
  box-shadow: none;
}

body[data-route="contentCreationDashboard"] .side-panel .eyebrow,
body[data-route="contentCreationDashboard"] .side-panel span,
body[data-route="contentCreationDashboard"] .side-panel strong {
  color: #081015;
}

body[data-route="contentCreationDashboard"] main {
  max-width: 1380px;
  padding: 24px 24px 72px;
  background: transparent;
}

body[data-route="contentCreationDashboard"] .topbar {
  position: relative;
  align-items: start;
  gap: 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 215, 106, 0.42);
  border-radius: 24px;
  padding: 26px 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 215, 106, 0.14), transparent 22%),
    linear-gradient(145deg, rgba(24, 28, 36, 0.96), rgba(10, 12, 17, 0.96));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

body[data-route="contentCreationDashboard"] .topbar::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 0;
  width: 160px;
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--g-yellow), var(--g-pink));
}

body[data-route="contentCreationDashboard"] .topbar h2 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.94;
  letter-spacing: 0;
}

body[data-route="contentCreationDashboard"] .actions {
  gap: 10px;
}

body[data-route="contentCreationDashboard"] .hero-strip {
  position: relative;
  min-height: 150px;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 215, 106, 0.4);
  border-radius: 24px;
  padding: 22px 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12px 12px, rgba(8, 10, 15, 0.16) 0 2px, transparent 3px) 0 0 / 20px 20px,
    linear-gradient(115deg, #fff1a8 0%, #ffcc5c 42%, #ff6f91 100%);
  box-shadow: none;
  color: #090a0d;
}

body[data-route="contentCreationDashboard"] .hero-strip::after {
  content: "POP OPS";
  position: absolute;
  right: 26px;
  bottom: 18px;
  color: rgba(9, 10, 13, 0.12);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-route="contentCreationDashboard"] .hero-strip .eyebrow,
body[data-route="contentCreationDashboard"] .hero-strip h3 {
  color: #090a0d;
}

body[data-route="contentCreationDashboard"] .hero-strip h3 {
  max-width: 880px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
}

body[data-route="contentCreationDashboard"] .lens-art {
  width: 104px;
  height: 104px;
  border: 5px solid #090a0d;
  background:
    radial-gradient(circle at 34% 27%, #fff7cf 0 9%, transparent 10%),
    radial-gradient(circle at 62% 64%, rgba(255, 255, 255, 0.28) 0 10%, transparent 11%),
    radial-gradient(circle, #071017 0 26%, var(--g-cyan) 27% 45%, var(--g-yellow) 46% 52%, #10131a 53% 100%);
  box-shadow: 8px 8px 0 rgba(9, 10, 13, 0.72);
  transform: rotate(-5deg);
}

body[data-route="contentCreationDashboard"] .kpi-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

body[data-route="contentCreationDashboard"] .kpi-grid article {
  min-height: 112px;
  border: 1px solid var(--g-line);
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--g-panel);
  box-shadow: none;
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(4n + 1) {
  border-color: rgba(255, 215, 106, 0.42);
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(4n + 2) {
  border-color: rgba(255, 79, 123, 0.4);
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(4n + 3) {
  border-color: rgba(34, 214, 201, 0.4);
}

body[data-route="contentCreationDashboard"] .kpi-grid span {
  color: var(--g-muted);
  font-size: 12px;
  line-height: 1.25;
}

body[data-route="contentCreationDashboard"] .kpi-grid strong {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0;
}

body[data-route="contentCreationDashboard"] .panel,
body[data-route="contentCreationDashboard"] .stack-item,
body[data-route="contentCreationDashboard"] .summary-item {
  border: 1px solid var(--g-line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    var(--g-panel);
  box-shadow: none;
}

body[data-route="contentCreationDashboard"] .panel {
  padding: 20px;
  margin-top: 18px;
}

body[data-route="contentCreationDashboard"] .panel-head {
  margin-bottom: 18px;
}

body[data-route="contentCreationDashboard"] .panel h3 {
  color: #fff;
  font-size: clamp(22px, 2.1vw, 34px);
  letter-spacing: 0;
}

body[data-route="contentCreationDashboard"] input,
body[data-route="contentCreationDashboard"] select,
body[data-route="contentCreationDashboard"] textarea {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  color: #f7f4ec;
}

body[data-route="contentCreationDashboard"] .primary,
body[data-route="contentCreationDashboard"] .secondary,
body[data-route="contentCreationDashboard"] .icon-button,
body[data-route="contentCreationDashboard"] .dark-mini {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: none;
}

body[data-route="contentCreationDashboard"] .primary {
  background: linear-gradient(135deg, #ffe59b, #ffb739);
  color: #080a0f;
}

body[data-route="contentCreationDashboard"] .secondary,
body[data-route="contentCreationDashboard"] .icon-button {
  background: rgba(34, 214, 201, 0.16);
  color: #ebfffc;
}

body[data-route="contentCreationDashboard"] .event-card-list {
  gap: 14px;
}

body[data-route="contentCreationDashboard"] .event-summary-card {
  grid-template-columns: minmax(250px, 1.2fr) minmax(160px, 0.75fr) minmax(340px, 1.35fr) minmax(120px, 0.5fr);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(255, 79, 123, 0.12), transparent 26%),
    rgba(8, 10, 15, 0.7);
  box-shadow: inset 4px 0 0 rgba(255, 215, 106, 0.62);
}

body[data-route="contentCreationDashboard"] .event-summary-card:hover,
body[data-route="contentCreationDashboard"] .event-summary-card:focus-visible {
  border-color: rgba(255, 215, 106, 0.55);
  background:
    linear-gradient(90deg, rgba(34, 214, 201, 0.13), transparent 32%),
    rgba(13, 16, 23, 0.9);
  box-shadow: inset 4px 0 0 var(--g-cyan);
}

body[data-route="contentCreationDashboard"] .event-summary-id span,
body[data-route="contentCreationDashboard"] .event-summary-team small,
body[data-route="contentCreationDashboard"] .event-summary-money span {
  color: var(--g-yellow);
}

body[data-route="contentCreationDashboard"] .event-summary-money strong {
  color: #fff;
  font-size: 17px;
}

body[data-route="contentCreationDashboard"] th {
  background: rgba(255, 215, 106, 0.94);
  color: #080a0f;
}

body[data-route="contentCreationDashboard"] td {
  background: rgba(9, 11, 16, 0.78);
  color: #f1f5f9;
}

@media (max-width: 1260px) {
  body[data-route="contentCreationDashboard"] .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-route="contentCreationDashboard"] .event-summary-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body[data-route="contentCreationDashboard"] .shell {
    grid-template-columns: 1fr;
  }

  body[data-route="contentCreationDashboard"] .sidebar {
    position: relative;
    height: auto;
  }

  body[data-route="contentCreationDashboard"] main {
    padding: 16px 14px 48px;
  }

  body[data-route="contentCreationDashboard"] .topbar h2 {
    font-size: clamp(32px, 12vw, 46px);
  }

  body[data-route="contentCreationDashboard"] .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-route="contentCreationDashboard"] .hero-strip,
  body[data-route="contentCreationDashboard"] .event-summary-card {
    grid-template-columns: 1fr;
  }
}

.cloud-sync-status {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 13, 18, 0.88);
  color: #f7ead2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.cloud-sync-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f2c66d;
  box-shadow: 0 0 0 4px rgba(242, 198, 109, 0.12);
}

.cloud-sync-status[data-status="synced"]::before {
  background: #3ddc97;
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.14);
}

.cloud-sync-status[data-status="saving"]::before,
.cloud-sync-status[data-status="loading"]::before {
  background: #f2c66d;
  animation: syncPulse 0.9s ease-in-out infinite alternate;
}

.cloud-sync-status[data-status="error"]::before {
  background: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.14);
}

@keyframes syncPulse {
  from {
    opacity: 0.45;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body[data-route="blackMarlinHome"],
body[data-route="contentCreationDashboard"],
body[data-route="stationeriesDashboard"],
body[data-route="craftsDashboard"],
body[data-route="teamDashboard"],
body[data-route="companyAccountDashboard"] {
  background: #090b0e;
  color: #f7f4ec;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.agency-home,
.vertical-dashboard {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(9, 11, 14, 0.96), rgba(19, 22, 27, 0.96)),
    radial-gradient(circle at 78% 8%, rgba(232, 195, 106, 0.18), transparent 26%);
}

.agency-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.aurora-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 42vh;
  min-height: 360px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: screen;
  filter: blur(18px) saturate(0.85);
}

.aurora-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.agency-header,
.vertical-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  max-width: 1280px;
  min-width: 0;
  margin: 0 auto;
}

.agency-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.agency-header h1,
.vertical-top h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

.vertical-top h1 {
  font-size: clamp(38px, 5.2vw, 72px);
}

.agency-header p,
.vertical-top p {
  max-width: 720px;
  color: #aeb6bf;
  font-size: 18px;
  line-height: 1.55;
}

.agency-status {
  min-width: 210px;
  border: 1px solid rgba(232, 195, 106, 0.28);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.agency-status span,
.agency-metrics span,
.vertical-kpis span,
.vertical-card p {
  display: block;
  color: #8d97a3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.agency-status strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 26px;
}

.agency-metrics {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 34px auto 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.agency-metrics article,
.vertical-kpis article,
.vertical-panels article,
.vertical-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.agency-metrics article,
.vertical-kpis article {
  padding: 18px;
}

.agency-metrics strong,
.vertical-kpis strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 24px;
}

.admin-access-panel {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  max-width: 1280px;
  min-height: 300px;
  margin: 28px auto 88px;
}

.admin-login-card,
.admin-welcome-card {
  width: min(460px, 100%);
  border: 1px solid rgba(232, 195, 106, 0.28);
  border-radius: 14px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.035));
  background-size: 72px 72px, 72px 72px, auto;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.admin-login-card h2,
.admin-welcome-card h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.admin-login-card p:not(.agency-kicker),
.admin-welcome-card p:not(.agency-kicker) {
  margin: 12px 0 20px;
  color: #aeb6bf;
  font-size: 15px;
  line-height: 1.55;
}

.admin-login-card label {
  margin-top: 12px;
  color: #aeb6bf;
}

.admin-login-card input {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 12px;
  color: #f7f4ec;
  background: rgba(255, 255, 255, 0.07);
}

.admin-submit,
.admin-logout {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border-radius: 8px;
  border: 1px solid rgba(232, 195, 106, 0.42);
  font-weight: 900;
}

.admin-submit {
  color: #090b0e;
  background: linear-gradient(135deg, var(--gold), #fff1bf);
}

.admin-logout {
  color: var(--gold);
  background: rgba(232, 195, 106, 0.08);
}

.admin-auth-error {
  min-height: 22px;
  margin-top: 12px;
  color: #ffb5c0;
  font-size: 13px;
  font-weight: 900;
}

.admin-auth-error[data-tone="success"] {
  color: #b8e3cc;
}

.command-shell {
  position: relative;
  z-index: 1;
  width: min(1680px, calc(100vw - 68px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.command-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.command-topbar h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 0.92;
}

.command-session {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d8dde2;
  font-size: 13px;
  font-weight: 900;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(124, 224, 166, 0.25);
  border-radius: 999px;
  background: rgba(124, 224, 166, 0.1);
  color: #bdf5ce;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ce0a6;
  box-shadow: 0 0 12px rgba(124, 224, 166, 0.85);
}

body.admin-locked .command-session .admin-logout {
  display: none;
}

@font-face {
  font-family: "Compressa BM";
  src: url("https://res.cloudinary.com/dr6lvwubh/raw/upload/v1529908256/CompressaPRO-GX.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}

.public-welcome {
  display: none;
}

.text-pressure {
  position: relative;
  width: 100%;
  min-height: 132px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.text-pressure-title {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-family: "Compressa BM", Impact, "Arial Black", sans-serif;
  font-weight: 100;
  line-height: 0.86;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.text-pressure-title span {
  display: inline-block;
  color: #fff;
  transition: color 160ms ease;
}

.command-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) 1.28fr;
  gap: 14px;
  align-items: stretch;
}

.command-intro,
.command-kpis article,
.module-card,
.activity-panel,
.quick-actions {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(12, 15, 18, 0.82);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.command-intro {
  padding: 22px;
}

.command-intro h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.04;
}

.command-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.command-kpis article {
  min-height: 124px;
  padding: 18px;
}

.command-kpis span,
.module-meta,
.activity-list span {
  display: block;
  color: #8d97a3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.command-kpis strong {
  display: block;
  margin-top: 20px;
  color: #fff;
  font-size: 24px;
  line-height: 1.05;
}

.command-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.module-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
}

.module-card {
  position: relative;
  min-height: 214px;
  padding: 18px;
  color: #f7f4ec;
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.module-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 56px;
  height: 1px;
  background: rgba(232, 195, 106, 0.55);
}

.module-card:hover,
.module-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(232, 195, 106, 0.42);
  background:
    linear-gradient(135deg, rgba(232, 195, 106, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(12, 15, 18, 0.92);
}

.module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(232, 195, 106, 0.24);
  border-radius: 8px;
  background: rgba(232, 195, 106, 0.08);
  color: var(--gold);
}

.module-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 26px;
  line-height: 1.02;
}

.module-card small {
  display: block;
  max-width: 230px;
  margin-top: 12px;
  color: #aeb6bf;
  font-size: 14px;
  line-height: 1.45;
}

.module-card em {
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.command-side {
  display: grid;
  gap: 14px;
}

.command-side .admin-access-panel {
  display: block;
  min-height: 0;
  margin: 0;
}

.command-side .admin-login-card,
.command-side .admin-welcome-card {
  width: 100%;
  padding: 20px;
}

.command-side .admin-login-card h2,
.command-side .admin-welcome-card h2 {
  font-size: 30px;
}

.activity-panel {
  padding: 18px;
}

.activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: #fff;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-list article {
  border-left: 2px solid rgba(232, 195, 106, 0.48);
  padding: 4px 0 4px 12px;
}

.activity-list strong,
.activity-list small {
  display: block;
}

.activity-list strong {
  margin-top: 6px;
  color: #fff;
  font-size: 15px;
}

.activity-list small {
  margin-top: 4px;
  color: #8d97a3;
  font-size: 12px;
  font-weight: 800;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.quick-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 195, 106, 0.22);
  border-radius: 7px;
  background: rgba(232, 195, 106, 0.08);
  color: #f7f4ec;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.quick-actions a:hover,
.quick-actions a:focus-visible {
  border-color: rgba(232, 195, 106, 0.5);
  color: var(--gold);
}

/* Black Marlin cockpit v2: matched to the approved visual mockup. */
.command-shell {
  width: min(1840px, calc(100vw - 64px));
  gap: 28px;
}

.command-topbar {
  min-height: 92px;
  margin: -18px -28px 0;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px 8px 0 0;
  background: rgba(8, 12, 15, 0.86);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.command-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.command-menu {
  width: 28px;
  height: 28px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 0;
  padding: 0;
  background: transparent;
}

.command-menu span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #f7f4ec;
}

.brand-fin {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 195, 106, 0.42);
  border-radius: 50%;
  color: var(--gold);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0;
}

.command-topbar h1 {
  font-size: 34px;
  line-height: 1;
}

.command-brand p {
  margin: 7px 0 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.command-session {
  gap: 18px;
}

.command-session .live-pill {
  display: grid;
  grid-template-columns: 9px 1fr;
  column-gap: 10px;
  min-width: 210px;
  min-height: 54px;
  border: 0;
  border-radius: 0;
  padding: 0 24px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  text-transform: none;
}

.command-session .live-pill i {
  grid-row: span 2;
  align-self: start;
  margin-top: 8px;
}

.command-session .live-pill strong {
  color: #fff;
  font-size: 14px;
}

.command-session .live-pill small,
.session-user small {
  display: block;
  margin-top: 5px;
  color: #8d97a3;
  font-size: 12px;
  font-weight: 800;
}

.session-avatar {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 195, 106, 0.35);
  border-radius: 50%;
  background: rgba(232, 195, 106, 0.08);
  color: var(--gold);
  font-size: 22px;
  font-weight: 950;
}

.session-user strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.command-session .admin-logout {
  width: auto;
  min-height: 48px;
  margin: 0;
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.command-hero {
  grid-template-columns: minmax(280px, 0.82fr) 1.55fr;
  gap: 26px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 0%, rgba(232, 195, 106, 0.09), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 12, 15, 0.9);
}

.command-intro,
.command-kpis article,
.module-card,
.activity-panel,
.quick-actions {
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.command-intro {
  padding: 0 28px 0 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
}

.command-intro h2 {
  font-size: 26px;
  line-height: 1.16;
}

.command-intro p {
  max-width: 290px;
  margin: 14px 0 26px;
  color: #c4cbd2;
  font-size: 15px;
  line-height: 1.45;
}

.command-intro small {
  color: #aeb6bf;
  font-size: 13px;
  font-weight: 800;
}

.command-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.command-kpis article {
  min-height: 112px;
  padding: 0 24px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: transparent;
}

.command-kpis article:last-child {
  border-right: 0;
}

.command-kpis i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid rgba(232, 195, 106, 0.3);
  border-radius: 50%;
  color: var(--gold);
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
}

.command-kpis span {
  display: inline-block;
  margin-left: 10px;
  vertical-align: top;
  padding-top: 14px;
}

.command-kpis strong {
  margin-top: 0;
  color: #fff;
  font-size: 30px;
}

.command-kpis small {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 900;
}

.command-kpis small.good {
  color: #62e27e;
}

.command-kpis small.warn {
  color: #ffae32;
}

.command-layout {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
}

.module-board {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 24px;
}

.module-card {
  min-height: 250px;
  display: grid;
  grid-template-columns: 84px 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: 24px;
  padding: 28px;
  background:
    radial-gradient(circle at 15% 10%, rgba(232, 195, 106, 0.075), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(8, 12, 15, 0.9);
}

.module-card::after {
  display: none;
}

.module-icon {
  grid-row: 1 / 4;
  width: 72px;
  height: 72px;
  margin: 0;
}

.module-icon svg {
  width: 36px;
  height: 36px;
}

.module-meta {
  display: none;
}

.module-card strong {
  margin: 12px 0 0;
  font-size: 20px;
}

.module-card b {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.module-card small {
  max-width: none;
  margin-top: 8px;
  font-size: 14px;
}

.module-card time {
  grid-column: 1 / 3;
  align-self: end;
  color: #8d97a3;
  font-size: 12px;
  font-weight: 800;
}

.module-card em {
  top: auto;
  bottom: 22px;
  right: 22px;
  min-width: 94px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(232, 195, 106, 0.36);
  border-radius: 7px;
  background: rgba(232, 195, 106, 0.06);
  color: var(--gold);
  text-transform: none;
  font-size: 14px;
}

body:not(.admin-locked) .command-side .admin-access-panel {
  display: none;
}

.activity-panel {
  min-height: 615px;
  padding: 24px;
  background:
    radial-gradient(circle at 12% 16%, rgba(124, 224, 166, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(8, 12, 15, 0.92);
}

.activity-head {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.activity-head h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

.activity-head button {
  width: auto;
  min-height: 36px;
  border: 1px solid rgba(232, 195, 106, 0.3);
  border-radius: 7px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #f7f4ec;
  font-size: 12px;
}

.activity-list {
  gap: 0;
}

.activity-list article {
  position: relative;
  min-height: 96px;
  padding: 18px 0 18px 68px;
  border-left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.activity-list i {
  position: absolute;
  left: 0;
  top: 20px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(124, 224, 166, 0.14);
  color: #62e27e;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
}

.activity-list article:nth-child(2) i {
  background: rgba(173, 105, 255, 0.15);
  color: #d49cff;
}

.activity-list article:nth-child(3) i {
  background: rgba(98, 226, 126, 0.15);
  color: #62e27e;
}

.activity-list article:nth-child(4) i {
  background: rgba(255, 174, 50, 0.14);
  color: #ffae32;
}

.activity-list span {
  color: #62e27e;
}

.activity-list article:nth-child(2) span {
  color: #d49cff;
}

.activity-list article:nth-child(4) span {
  color: #ffae32;
}

.activity-list time {
  float: right;
  color: #8d97a3;
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.activity-list strong {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 900;
}

.activity-list .activity-empty {
  min-height: 90px;
  padding-left: 0;
}

.activity-list .activity-empty strong {
  margin-top: 0;
}

.activity-log-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  padding: 0 14px;
  color: #f7f4ec;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.quick-actions {
  grid-template-columns: 220px repeat(4, 1fr);
  align-items: center;
  gap: 18px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(8, 12, 15, 0.92);
}

.quick-actions div strong,
.quick-actions div small,
.quick-actions a span,
.quick-actions a span small {
  display: block;
}

.quick-actions div strong {
  color: #fff;
  font-size: 18px;
}

.quick-actions div small,
.quick-actions a span small {
  margin-top: 8px;
  color: #8d97a3;
  font-size: 12px;
  font-weight: 800;
}

.quick-actions a {
  min-height: 76px;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.035);
}

.quick-actions a b {
  width: 42px;
  color: var(--gold);
  font-size: 18px;
}

.quick-actions a span {
  color: #fff;
  font-size: 14px;
}

.quick-actions a em {
  margin-left: auto;
  color: #d8dde2;
  font-style: normal;
}

body[data-route="blackMarlinHome"] .dock-outer,
body[data-route="blackMarlinHome"] .cloud-sync-status {
  display: none;
}

body.admin-locked[data-route="blackMarlinHome"] .command-session,
body.admin-locked[data-route="blackMarlinHome"] .command-hero,
body.admin-locked[data-route="blackMarlinHome"] .module-board,
body.admin-locked[data-route="blackMarlinHome"] .activity-panel,
body.admin-locked[data-route="blackMarlinHome"] .quick-actions {
  display: none;
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome {
  min-height: clamp(310px, 46vh, 520px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  align-items: end;
  gap: 18px;
  padding: clamp(54px, 8vw, 120px) 0 clamp(20px, 4vw, 46px);
  position: relative;
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome::before {
  content: "";
  position: absolute;
  left: -6vw;
  bottom: 30px;
  width: min(760px, 58vw);
  height: min(420px, 38vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 195, 106, 0.16), rgba(94, 179, 159, 0.08) 42%, transparent 70%);
  filter: blur(12px);
  opacity: 0.72;
  pointer-events: none;
}

body.admin-locked[data-route="blackMarlinHome"] .welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome .agency-kicker {
  margin: 0 0 18px;
  color: var(--gold);
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome h2 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 8vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: none;
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome h2::after {
  content: "";
  display: block;
  width: min(420px, 46vw);
  height: 1px;
  margin-top: 28px;
  background: linear-gradient(90deg, rgba(232, 195, 106, 0.78), rgba(232, 195, 106, 0));
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome p:not(.agency-kicker) {
  max-width: 540px;
  margin: 26px 0 0;
  color: #aeb6bf;
  font-size: 18px;
  line-height: 1.55;
}

.welcome-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.welcome-chips button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(232, 195, 106, 0.24);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(232, 195, 106, 0.065);
  color: #f5df9b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

body.admin-locked[data-route="blackMarlinHome"] .command-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.46fr);
  align-items: start;
  min-height: 0;
  margin-top: clamp(-360px, -22vw, -180px);
  padding: 0 0 72px;
}

body.admin-locked[data-route="blackMarlinHome"] .command-side {
  grid-column: 2;
  width: 100%;
}

body.admin-locked[data-route="blackMarlinHome"] .command-side .admin-access-panel {
  display: block;
}

body.admin-locked[data-route="blackMarlinHome"] .admin-login-card {
  width: 100%;
  padding: 30px;
  border-color: rgba(232, 195, 106, 0.34);
  background:
    radial-gradient(circle at 16% 8%, rgba(232, 195, 106, 0.12), transparent 36%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(145deg, rgba(30, 34, 38, 0.94), rgba(11, 14, 17, 0.9));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(232, 195, 106, 0.05) inset;
}

body.admin-locked[data-route="blackMarlinHome"] .admin-login-card h2 {
  font-size: 38px;
}

body.admin-locked[data-route="blackMarlinHome"] .admin-login-card input {
  min-height: 54px;
  background: rgba(255, 255, 255, 0.075);
}

body.admin-locked[data-route="blackMarlinHome"] .admin-submit {
  min-height: 54px;
  color: #080a0c;
  background: linear-gradient(135deg, #e8c36a, #fff0b7 58%, #c99f3f);
}

body.social-only .dock-item[data-route="/black-marlin/content-creation"],
body.social-only .dock-item[data-route="/black-marlin/wedding-stationeries"],
body.social-only .dock-item[data-route="/black-marlin/graphic-crafts"],
body.social-only .dock-item[data-route="/black-marlin/team-management"],
body.social-only .dock-item[data-route="/black-marlin/company-account"] {
  display: none;
}

/* Public Black Marlin portal matched to the approved mockup. */
body.admin-locked[data-route="blackMarlinHome"] .agency-home {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

body.admin-locked[data-route="blackMarlinHome"] .agency-home::before {
  opacity: 0.58;
}

body.admin-locked[data-route="blackMarlinHome"] .agency-home::after {
  content: "";
  position: fixed;
  inset: auto auto -120px -90px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(232, 195, 106, 0.16) 0 1px, transparent 1px 32px);
  opacity: 0.18;
  pointer-events: none;
}

body.admin-locked[data-route="blackMarlinHome"] .command-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 112px minmax(620px, auto) auto 64px;
  gap: 0;
}

body.admin-locked[data-route="blackMarlinHome"] .command-topbar {
  width: 100%;
  min-height: 112px;
  margin: 0;
  padding: 0 46px;
  border: 0;
  border-bottom: 1px solid rgba(232, 195, 106, 0.74);
  border-radius: 0;
  background: rgba(5, 9, 12, 0.92);
}

body.admin-locked[data-route="blackMarlinHome"] .command-menu,
body.admin-locked[data-route="blackMarlinHome"] .session-avatar,
body.admin-locked[data-route="blackMarlinHome"] .session-user {
  display: none;
}

body.admin-locked[data-route="blackMarlinHome"] .command-brand {
  gap: 22px;
}

body.admin-locked[data-route="blackMarlinHome"] .brand-fin {
  width: 68px;
  height: 68px;
  border-color: rgba(248, 218, 139, 0.9);
  color: #ffd36b;
  font-size: 24px;
  background: rgba(232, 195, 106, 0.035);
}

body.admin-locked[data-route="blackMarlinHome"] .command-topbar h1 {
  font-size: 43px;
  letter-spacing: 0;
}

body.admin-locked[data-route="blackMarlinHome"] .command-brand p {
  margin-top: 8px;
  color: #ffc764;
  font-size: 15px;
  letter-spacing: 8px;
}

body.admin-locked[data-route="blackMarlinHome"] .command-session {
  display: flex;
}

body.admin-locked[data-route="blackMarlinHome"] .command-session .live-pill {
  min-width: 210px;
  min-height: 60px;
  grid-template-columns: 10px 1fr;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

body.admin-locked[data-route="blackMarlinHome"] .command-session .live-pill strong {
  font-size: 14px;
}

body.admin-locked[data-route="blackMarlinHome"] .command-session .live-pill small {
  font-size: 12px;
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome {
  grid-row: 2;
  grid-column: 1;
  width: min(1460px, calc(100vw - 96px));
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  align-items: center;
  gap: 72px;
  padding: 40px 0 88px;
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome::before {
  left: 70px;
  top: 24px;
  bottom: auto;
  width: 640px;
  height: 520px;
  background: radial-gradient(circle, rgba(232, 195, 106, 0.22), rgba(232, 195, 106, 0.08) 38%, transparent 68%);
  filter: blur(10px);
  opacity: 0.66;
}

body.admin-locked[data-route="blackMarlinHome"] .welcome-copy {
  max-width: 760px;
  padding-top: 6px;
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome .agency-kicker {
  margin-bottom: 26px;
  color: #ffd36b;
  font-size: 17px;
  letter-spacing: 0;
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome h2 {
  max-width: 720px;
  font-size: clamp(72px, 6.6vw, 96px);
  line-height: 1.04;
  text-shadow: 0 18px 55px rgba(255, 255, 255, 0.09);
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome h2::after {
  width: 68px;
  height: 3px;
  margin-top: 32px;
  background: #ffc764;
}

body.admin-locked[data-route="blackMarlinHome"] .public-welcome p:not(.agency-kicker) {
  max-width: 440px;
  margin-top: 28px;
  color: #d4d8de;
  font-size: 21px;
}

body.admin-locked[data-route="blackMarlinHome"] .welcome-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

body.admin-locked[data-route="blackMarlinHome"] .welcome-chips button {
  min-height: 92px;
  display: grid;
  grid-template-columns: 48px 1fr 14px;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  border-radius: 12px;
  padding: 16px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(7, 11, 14, 0.82);
  cursor: pointer;
  text-align: left;
}

body.admin-locked[data-route="blackMarlinHome"] .welcome-chips button::after {
  content: ">";
  grid-column: 3;
  grid-row: 1 / 3;
  color: #ffc764;
  font-size: 28px;
  font-weight: 300;
}

body.admin-locked[data-route="blackMarlinHome"] .welcome-chips button:hover,
body.admin-locked[data-route="blackMarlinHome"] .welcome-chips button:focus-visible {
  border-color: rgba(255, 199, 100, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 199, 100, 0.11), rgba(255, 255, 255, 0.028)),
    rgba(7, 11, 14, 0.9);
}

body.admin-locked[data-route="blackMarlinHome"] .welcome-chips b {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 199, 100, 0.6);
  border-radius: 12px;
  color: #ffc764;
  font-size: 13px;
}

body.admin-locked[data-route="blackMarlinHome"] .welcome-chips strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
  text-transform: none;
}

body.admin-locked[data-route="blackMarlinHome"] .welcome-chips small {
  margin-top: 6px;
  color: #bcc3ca;
  font-size: 12px;
  line-height: 1.35;
  text-transform: none;
}

body.admin-locked[data-route="blackMarlinHome"] .command-layout {
  grid-row: 2;
  grid-column: 1;
  width: min(1460px, calc(100vw - 96px));
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 72px;
  align-self: center;
  pointer-events: none;
}

body.admin-locked[data-route="blackMarlinHome"] .command-side {
  grid-column: 2;
  pointer-events: auto;
}

body.admin-locked[data-route="blackMarlinHome"] .command-side .admin-access-panel {
  display: block;
}

body.admin-locked[data-route="blackMarlinHome"] .admin-login-card {
  min-height: 520px;
  padding: 36px;
  border-radius: 18px;
  border-color: rgba(255, 218, 139, 0.82);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 218, 139, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(27, 31, 35, 0.93), rgba(6, 10, 13, 0.92));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.58), 0 0 38px rgba(232, 195, 106, 0.14);
}

.login-role-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 34px;
}

.login-role-tabs button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #b8bec6;
  font-size: 18px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.login-role-tabs button.active {
  border-color: rgba(255, 199, 100, 0.42);
  box-shadow: inset 0 -2px 0 #ffc764;
  color: #ffd36b;
}

body.admin-locked[data-route="blackMarlinHome"] .admin-login-card label {
  margin-top: 22px;
  color: #d5dae0;
  font-size: 16px;
  font-weight: 850;
}

body.admin-locked[data-route="blackMarlinHome"] .admin-login-card input[type="text"],
body.admin-locked[data-route="blackMarlinHome"] .admin-login-card input[type="password"],
body.admin-locked[data-route="blackMarlinHome"] .admin-login-card input:not([type]) {
  min-height: 58px;
  margin-top: 10px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.052);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.login-options label {
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cbd0d6 !important;
  font-size: 14px !important;
}

.login-options input {
  width: 18px;
  height: 18px;
  min-height: 0 !important;
  margin: 0 !important;
  accent-color: #ffc764;
}

.login-options a {
  color: #ffc764;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

body.admin-locked[data-route="blackMarlinHome"] .admin-auth-error {
  margin-top: 14px;
}

body.admin-locked[data-route="blackMarlinHome"] .admin-submit {
  min-height: 68px;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border: 0;
  border-radius: 8px;
  color: #090a0d;
  font-size: 18px;
  background: linear-gradient(135deg, #ffe69a, #ffc764 58%, #d59d36);
}

body.admin-locked[data-route="blackMarlinHome"] .admin-submit span {
  font-size: 30px;
  font-weight: 400;
}

body.admin-locked[data-route="blackMarlinHome"] .command-shell::after {
  content: "BLACK MARLIN     COMMAND EXCELLENCE";
  grid-row: 4;
  align-self: center;
  justify-self: center;
  color: rgba(255, 199, 100, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 9px;
}

.spline-bot-strip {
  display: none;
}

body.admin-locked[data-route="blackMarlinHome"] .spline-bot-strip {
  grid-row: 3;
  width: min(1460px, calc(100vw - 96px));
  margin: 0 auto;
  padding: 0 0 76px;
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

body.admin-locked[data-route="blackMarlinHome"] .spline-bot-copy {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border: 1px solid rgba(232, 195, 106, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 12%, rgba(232, 195, 106, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
}

body.admin-locked[data-route="blackMarlinHome"] .spline-bot-copy .agency-kicker {
  margin: 0 0 16px;
  color: #ffd36b;
}

body.admin-locked[data-route="blackMarlinHome"] .spline-bot-copy h2 {
  margin: 0;
  max-width: 360px;
  color: #fff;
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1.02;
}

body.admin-locked[data-route="blackMarlinHome"] .spline-bot-copy p:not(.agency-kicker) {
  max-width: 330px;
  margin: 18px 0 0;
  color: #b8c0c9;
  font-size: 16px;
  line-height: 1.55;
}

body.admin-locked[data-route="blackMarlinHome"] .spline-bot-frame {
  min-height: clamp(420px, 48vw, 680px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 195, 106, 0.38);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    rgba(5, 9, 12, 0.78);
  background-size: 72px 72px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.55), 0 0 48px rgba(232, 195, 106, 0.1);
}

body.admin-locked[data-route="blackMarlinHome"] .spline-bot-frame iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border: 0;
  background: transparent;
}

body.admin-locked[data-route="blackMarlinHome"] .spline-bot-frame a {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 199, 100, 0.42);
  border-radius: 999px;
  padding: 0 18px;
  color: #080a0c;
  background: linear-gradient(135deg, #ffe69a, #ffc764);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.agency-carousel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 64px));
  margin: 34px auto 0;
}

.agency-carousel-viewport {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  padding: 16px;
  width: min(560px, calc(100vw - 64px));
  height: min(560px, calc(100vw - 64px));
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.vertical-grid {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.agency-carousel-track {
  width: max-content;
  will-change: transform;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vertical-card {
  min-height: 0;
  width: calc(min(560px, calc(100vw - 64px)) - 32px);
  height: calc(min(560px, calc(100vw - 64px)) - 32px);
  flex: 0 0 calc(min(560px, calc(100vw - 64px)) - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 56px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  background-size: 72px 72px, 72px 72px, auto;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.vertical-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 195, 106, 0.56);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04));
}

.card-index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 195, 106, 0.45);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.vertical-card h2 {
  margin: 12px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.vertical-card span:not(.card-index) {
  display: block;
  max-width: 320px;
  color: #bac2ca;
  line-height: 1.55;
}

.vertical-card strong {
  color: var(--gold);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 195, 106, 0.35);
  border-radius: 50%;
  background: rgba(9, 11, 14, 0.9);
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-nav.prev {
  left: -28px;
}

.carousel-nav.next {
  right: -28px;
}

.agency-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.agency-carousel-indicators button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #555;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.agency-carousel-indicators button.active {
  background: #fff;
  transform: scale(1.25);
}

.vertical-dashboard {
  display: grid;
  align-content: start;
  gap: 24px;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 38px;
  margin-bottom: 22px;
  padding: 0 14px;
  border: 1px solid rgba(232, 195, 106, 0.36);
  border-radius: 7px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 900;
}

.vertical-top {
  display: block;
}

.vertical-kpis,
.vertical-panels {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.vertical-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vertical-panels {
  grid-template-columns: 1.2fr 0.8fr;
}

.vertical-panels article {
  padding: 22px;
}

.vertical-panels h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 24px;
}

.vertical-panels p {
  color: #aeb6bf;
  line-height: 1.55;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #e9edf1;
}

.mini-row strong {
  color: var(--gold);
}

.dark-button {
  min-height: 40px;
  border: 1px solid rgba(232, 195, 106, 0.42);
  border-radius: 7px;
  padding: 0 16px;
  background: var(--gold);
  color: #111418;
  font-weight: 900;
}

.dark-button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
}

.dark-button.full {
  grid-column: 1 / -1;
}

.stationery-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  max-width: 1280px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(9, 11, 14, 0.82);
  backdrop-filter: blur(18px);
}

.stationery-tabs a {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 7px;
  color: #c8d0d8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.stationery-tabs a:hover {
  background: rgba(232, 195, 106, 0.12);
  color: #fff;
}

.stationery-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  scroll-margin-top: 86px;
}

.stationery-section.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 14px;
}

.stationery-kpis {
  margin: 0 auto;
}

.stationery-panels {
  margin-top: 14px;
}

.stationery-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  min-width: 0;
}

.stationery-card h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 24px;
}

.stationery-card p {
  color: #aeb6bf;
  line-height: 1.55;
}

.stationery-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stationery-form label.full {
  grid-column: 1 / -1;
}

.stationery-form input,
.stationery-form select,
.stationery-form textarea {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.stationery-form select option {
  color: #111418;
}

.stationery-form select[multiple] {
  min-height: 150px;
  color: #f7f4ec;
}

.stationery-form select[multiple] option {
  color: #f7f4ec;
  background: #20252b;
  padding: 5px 8px;
}

.stationery-form select[multiple] option:checked {
  background: linear-gradient(135deg, rgba(232, 195, 106, 0.38), rgba(232, 195, 106, 0.2));
  color: #fff;
}

.multi-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.multi-check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  color: #f7f4ec;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.multi-check-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.multi-check-option:has(input:checked) {
  border-color: rgba(232, 195, 106, 0.55);
  background: rgba(232, 195, 106, 0.16);
  color: #fff;
}

.stationery-form input[readonly] {
  color: var(--gold);
  background: rgba(232, 195, 106, 0.08);
}

.stationery-table-wrap {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.stationery-table {
  min-width: 760px;
}

.stationery-table th {
  background: #11161c;
  color: var(--gold);
}

.stationery-table td {
  border-color: rgba(255, 255, 255, 0.1);
  color: #edf1f4;
}

.stationery-table td span {
  color: #8d97a3;
}

.stationery-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dark-badge,
.dark-mini {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  border: 1px solid rgba(232, 195, 106, 0.28);
  background: rgba(232, 195, 106, 0.1);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.dark-mini {
  border-radius: 7px;
}

.danger-mini {
  border-color: rgba(255, 119, 137, 0.32);
  background: rgba(179, 38, 59, 0.16);
  color: #ffb5c0;
}

.dark-badge.good {
  border-color: rgba(124, 224, 166, 0.32);
  background: rgba(124, 224, 166, 0.12);
  color: #bdf5ce;
}

.dark-badge.warn {
  border-color: rgba(232, 195, 106, 0.38);
  background: rgba(232, 195, 106, 0.14);
  color: var(--gold);
}

.stationery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.stationery-toolbar input,
.stationery-toolbar select {
  min-height: 36px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.stationery-toolbar input {
  flex: 1 1 180px;
}

#socialCalendarMonth {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 6px;
  color: #f7f4ec;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.stationery-toolbar select option {
  color: #111418;
}

.stationery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.company-entry-forms {
  align-items: start;
}

.company-table td,
.company-table th {
  white-space: nowrap;
}

.company-table td:nth-child(4),
.company-table td:nth-child(8) {
  min-width: 220px;
  white-space: normal;
}

.company-table .muted {
  color: rgba(229, 231, 235, 0.62);
  font-weight: 800;
}

#companyOverview .vertical-kpis article:first-child {
  border-color: rgba(232, 195, 106, 0.34);
  background: linear-gradient(135deg, rgba(232, 195, 106, 0.14), rgba(255, 255, 255, 0.045));
}

.company-ledger-cards {
  display: grid;
  gap: 12px;
}

.company-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.company-section-head h2 {
  margin: 0;
}

.company-section-head select {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 900;
}

.company-section-head select option {
  color: #111418;
}

.company-ledger-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.company-credit-card {
  cursor: pointer;
}

.company-ledger-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.company-ledger-top span,
.company-ledger-money span {
  display: block;
  color: #8d97a3;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.company-ledger-top strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 22px;
}

.company-ledger-top em {
  display: block;
  margin-top: 4px;
  color: #aeb6bf;
  font-style: normal;
  line-height: 1.35;
}

.company-ledger-badges,
.company-ledger-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.company-credit-peek {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.company-credit-peek span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.055);
  color: #edf1f4;
  font-size: 12px;
  font-weight: 900;
}

.company-credit-details {
  display: none;
  gap: 12px;
}

.company-credit-card.expanded .company-credit-details {
  display: grid;
}

.company-ledger-money {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.company-ledger-money div {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  padding-left: 10px;
}

.company-ledger-money strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 18px;
}

.company-ledger-card p {
  margin: 0;
  color: rgba(229, 231, 235, 0.7);
}

.shoot-calendar-panel {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(8, 12, 18, 0.84);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.shoot-calendar-head,
.shoot-calendar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.shoot-calendar-head {
  margin-bottom: 18px;
}

.shoot-calendar-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
}

.shoot-calendar-head p:not(.agency-kicker) {
  margin: 6px 0 0;
  color: rgba(229, 231, 235, 0.7);
}

.shoot-calendar-controls strong {
  min-width: 150px;
  color: #fff;
  text-align: center;
}

.shoot-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.shoot-calendar-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
  border: 1px solid rgba(232, 195, 106, 0.18);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.shoot-calendar-form[hidden] {
  display: none;
}

.shoot-calendar-form label {
  display: grid;
  gap: 7px;
  color: #aeb6bf;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.shoot-calendar-form input,
.shoot-calendar-form select,
.shoot-calendar-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
  text-transform: none;
}

.shoot-calendar-form .full {
  grid-column: 1 / -1;
}

.shoot-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.shoot-cal-head,
.shoot-cal-cell {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.shoot-cal-head {
  padding: 9px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.shoot-cal-cell {
  position: relative;
  min-height: 96px;
  padding: 10px;
  color: #fff;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.shoot-cal-cell.empty {
  opacity: 0.28;
}

.shoot-cal-cell.today {
  border-color: rgba(255, 255, 255, 0.18);
}

.shoot-cal-cell.today::after {
  content: "Today";
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(232, 195, 106, 0.14);
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.shoot-cal-cell.selected {
  border-color: rgba(232, 195, 106, 0.84);
  box-shadow: inset 0 0 0 2px rgba(232, 195, 106, 0.56), 0 0 0 1px rgba(232, 195, 106, 0.16);
}

.shoot-cal-cell.booked {
  border-color: rgba(124, 224, 166, 0.36);
  background: linear-gradient(135deg, rgba(57, 135, 89, 0.24), rgba(255, 255, 255, 0.045));
}

.shoot-cal-cell strong,
.shoot-cal-cell span,
.shoot-cal-cell em {
  display: block;
}

.shoot-cal-cell strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.shoot-cal-cell span {
  margin-top: 5px;
  overflow: hidden;
  color: #dff7e8;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shoot-cal-cell em {
  margin-top: 6px;
  color: var(--gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.shoot-upcoming-list {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.shoot-upcoming-list h3 {
  margin: 0 0 4px;
  color: #fff;
}

.shoot-selected-date {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.shoot-selected-head {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(232, 195, 106, 0.18);
  border-radius: 12px;
  padding: 12px;
  background: rgba(232, 195, 106, 0.06);
}

.shoot-selected-head span,
.shoot-detail-card time,
.shoot-detail-card dt,
.shoot-auto-note {
  color: #aeb6bf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shoot-selected-head strong {
  color: #fff;
  font-size: 20px;
}

.shoot-detail-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(124, 224, 166, 0.22);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(57, 135, 89, 0.16), rgba(255, 255, 255, 0.045));
}

.shoot-detail-card strong {
  display: block;
  color: #fff;
  font-size: 20px;
}

.shoot-detail-card span,
.shoot-detail-card p,
.shoot-detail-card dd {
  margin: 0;
  color: rgba(229, 231, 235, 0.78);
  font-weight: 800;
}

.shoot-detail-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
}

.shoot-detail-card dd {
  margin-top: 2px;
  color: #fff;
}

.shoot-upcoming-card {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.shoot-upcoming-card time {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.shoot-upcoming-card strong {
  color: #fff;
  font-size: 18px;
}

.shoot-upcoming-card span,
.shoot-upcoming-card small,
.shoot-upcoming-card p {
  margin: 0;
  color: rgba(229, 231, 235, 0.72);
  font-weight: 800;
}

.shoot-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.social-login-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.social-login-card {
  border-color: rgba(232, 195, 106, 0.26);
}

.social-client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.social-client-card {
  display: grid;
  gap: 16px;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.social-client-card.stale {
  border-color: rgba(255, 119, 137, 0.34);
}

.social-client-card h3 {
  margin: 12px 0 4px;
  color: #fff;
  font-size: 28px;
}

.social-client-card p {
  margin: 0;
  color: #aeb6bf;
}

.social-client-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.social-client-card dt {
  color: #8d97a3;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.social-client-card dd {
  margin: 3px 0 0;
  color: #f4f6f8;
  font-weight: 800;
}

.social-card-actions,
.social-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(72px, 1fr));
  gap: 8px;
}

.social-cal-head,
.social-cal-cell {
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  text-align: left;
  padding: 10px;
}

.social-cal-head {
  min-height: auto;
  color: var(--gold);
  font-weight: 900;
  text-align: center;
}

.social-cal-cell {
  cursor: pointer;
}

.social-cal-cell strong,
.social-cal-cell span {
  display: block;
}

.social-cal-cell span {
  margin-top: 8px;
  color: #aeb6bf;
  font-size: 12px;
  font-weight: 800;
}

.social-cal-cell.has-work {
  border-color: rgba(124, 224, 166, 0.36);
  background: rgba(57, 135, 89, 0.22);
}

.social-cal-cell.has-strategy-pending {
  border-color: rgba(255, 93, 111, 0.62);
  background: linear-gradient(145deg, rgba(122, 34, 45, 0.4), rgba(255, 255, 255, 0.04));
}

.social-cal-cell.has-strategy-uploaded {
  border-color: rgba(124, 224, 166, 0.5);
  background: linear-gradient(145deg, rgba(42, 109, 70, 0.34), rgba(255, 255, 255, 0.035));
}

.social-cal-cell.has-strategy-missed {
  border-color: rgba(245, 171, 83, 0.58);
  background: linear-gradient(145deg, rgba(128, 80, 28, 0.36), rgba(255, 255, 255, 0.035));
}

.social-cal-cell.has-strategy-cancelled {
  opacity: 0.68;
  border-color: rgba(174, 182, 191, 0.2);
}

.social-cal-cell.today-pending {
  box-shadow: 0 0 0 1px rgba(255, 93, 111, 0.5), 0 0 24px rgba(255, 93, 111, 0.18);
}

.social-cal-cell.today {
  box-shadow: none;
}

.social-cal-cell.selected {
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 2px rgba(232, 195, 106, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.social-cal-cell.muted {
  opacity: 0.35;
  pointer-events: none;
}

.strategy-command-bar,
.strategy-sync-panel {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 12px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.strategy-command-bar strong,
.strategy-sync-panel h3,
.strategy-history h3,
.strategy-board h3 {
  margin: 0;
  color: #fff;
}

.strategy-upload-button {
  cursor: pointer;
}

.strategy-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.strategy-filter-grid select,
.strategy-sync-controls input {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
}

.strategy-filter-grid select option {
  color: #111418;
}

.social-strategy-kpis {
  margin: 10px 0 12px;
}

.strategy-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.strategy-board article,
.strategy-date-panel,
.strategy-history {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.strategy-task-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.strategy-task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.strategy-task-card b,
.strategy-task-card strong,
.strategy-task-card span,
.strategy-task-card small {
  display: block;
}

.strategy-task-card b {
  margin-top: 3px;
  color: #fff;
}

.strategy-task-card strong {
  color: var(--gold);
  font-size: 12px;
}

.strategy-task-card span,
.strategy-task-card small,
.strategy-sync-panel p {
  color: #aeb6bf;
}

.strategy-task-card.uploaded {
  border-color: rgba(124, 224, 166, 0.3);
}

.strategy-task-card.missed {
  border-color: rgba(245, 171, 83, 0.34);
}

.strategy-task-card.pending-upload,
.strategy-task-card.upcoming {
  border-color: rgba(255, 93, 111, 0.28);
}

.strategy-task-actions,
.strategy-sync-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.strategy-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(232, 195, 106, 0.14);
  color: #f3d37b !important;
  font-size: 12px;
  font-weight: 900;
}

.strategy-history {
  margin-top: 14px;
}

.strategy-import-status {
  display: block;
  margin-top: 10px;
  color: #aeb6bf;
  font-size: 12px;
  font-weight: 900;
}

.strategy-work-history-card {
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.strategy-work-history-card h3 {
  margin: 0 0 10px;
  color: #fff;
}

.strategy-file-row {
  cursor: default;
}

.strategy-file-row em {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  font-style: normal;
}

.strategy-file-row.archived {
  opacity: 0.6;
}

.dock-item.has-alert::after {
  content: attr(data-alert);
  position: absolute;
  right: 8px;
  top: 8px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ff5d6f;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.dock-item.has-alert {
  position: relative;
}

@media (max-width: 980px) {
  .strategy-command-bar,
  .strategy-sync-panel,
  .strategy-task-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .strategy-filter-grid,
  .strategy-board {
    grid-template-columns: 1fr;
  }
}

#socialReportEditor {
  width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 700 14px/1.55 inherit;
}

.detail-row {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.detail-row span {
  display: block;
  margin-top: 4px;
  color: #aeb6bf;
}

.mini-list {
  display: grid;
  gap: 8px;
}

.detail-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-panel h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
}

.embedded-assignments {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.embedded-assignments.full {
  grid-column: 1 / -1;
}

.embedded-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.embedded-head h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.assignment-list {
  display: grid;
  gap: 10px;
}

.assignment-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.legacy-manpower-field {
  display: none !important;
}

.event-manpower-section {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid rgba(232, 195, 106, 0.2);
  border-radius: 8px;
  background: rgba(232, 195, 106, 0.045);
}

.event-manpower-section .assignment-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.manpower-stepper {
  display: block;
}

.event-stepper-shell {
  width: 100%;
  border: 1px solid rgba(232, 195, 106, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032));
  background-size: 72px 72px, 72px 72px, auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.manpower-stepper.empty .event-stepper-shell {
  padding: 18px;
}

.manpower-stepper .step-indicator-row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 22px 24px 16px;
}

.manpower-stepper .step-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
}

.manpower-stepper .step-indicator-inner {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(232, 195, 106, 0.38);
  color: #aeb6bf;
  background: rgba(18, 22, 28, 0.92);
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.manpower-stepper .step-indicator.active .step-indicator-inner,
.manpower-stepper .step-indicator.complete .step-indicator-inner {
  color: #111318;
  border-color: rgba(232, 195, 106, 0.74);
  background: var(--gold);
}

.manpower-stepper .step-indicator:hover .step-indicator-inner {
  transform: translateY(-1px);
}

.manpower-stepper .active-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #111318;
}

.manpower-stepper .step-number {
  font-size: 13px;
}

.manpower-stepper .check-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.manpower-stepper .step-connector {
  position: relative;
  height: 2px;
  flex: 1;
  min-width: 28px;
  margin: 0 9px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.manpower-stepper .step-connector-inner {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: var(--gold);
  transition: width 260ms ease;
}

.manpower-stepper .step-connector-inner.complete {
  width: 100%;
}

.manpower-stepper .step-content-default {
  position: relative;
  overflow: hidden;
}

.manpower-stepper .step-default {
  padding: 0 20px 20px;
}

.manpower-stepper .step-default h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
}

.manpower-stepper .step-default p {
  margin: 0;
  color: #aeb6bf;
}

.event-manpower-section .event-step-card {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: start;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  animation: stepCardIn 220ms ease both;
}

.event-step-card label {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  align-self: start;
  gap: 8px;
}

.event-step-card input,
.event-step-card select:not([multiple]) {
  align-self: start;
  width: 100%;
  min-height: 54px;
  height: 54px;
}

.event-step-card [data-field="roles"] {
  min-height: 150px;
  height: 150px;
  align-self: start;
}

.event-step-card .danger-mini {
  align-self: end;
  min-height: 54px;
}

.manpower-stepper .footer-container {
  padding: 0 20px 20px;
}

.manpower-stepper .footer-nav {
  display: flex;
  margin-top: 8px;
}

.manpower-stepper .footer-nav.spread {
  justify-content: space-between;
}

.manpower-stepper .footer-nav.end {
  justify-content: flex-end;
}

.manpower-stepper .footer-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.manpower-stepper .back-button,
.manpower-stepper .next-button {
  border: 1px solid rgba(232, 195, 106, 0.35);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--gold);
  background: rgba(232, 195, 106, 0.08);
  font-weight: 900;
}

.manpower-stepper .next-button {
  color: #111318;
  background: var(--gold);
}

.manpower-stepper .done-button {
  min-width: 104px;
}

.manpower-summary-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(232, 195, 106, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 72px 72px, 72px 72px, auto;
}

.manpower-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.manpower-summary-head span,
.manpower-summary-card span {
  display: block;
  color: #aeb6bf;
  font-size: 12px;
  font-weight: 800;
}

.manpower-summary-head strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 20px;
}

.manpower-summary-list {
  display: grid;
  gap: 10px;
}

.manpower-summary-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.manpower-summary-card > div {
  min-width: 0;
}

.manpower-summary-card strong {
  color: #fff;
  font-size: 15px;
}

.manpower-summary-money {
  text-align: right;
}

@keyframes stepCardIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.assignment-row label {
  min-width: 0;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.package-card,
.addon-card,
.finance-grid > div,
.report-grid > div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.package-card {
  padding: 16px;
}

.package-card p {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.package-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.package-card h4 {
  margin: 14px 0 8px;
  color: #d9e1e8;
  font-size: 13px;
  text-transform: uppercase;
}

.package-card ul {
  margin: 0;
  padding-left: 18px;
  color: #aeb6bf;
  font-size: 13px;
  line-height: 1.45;
}

.package-card strong {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 13px;
}

.package-rules {
  display: grid;
  gap: 6px;
}

.package-rules span,
.library-list span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 9px;
  color: #d7dee6;
  font-size: 12px;
}

.addon-grid,
.finance-grid,
.report-grid,
.library-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.finance-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.addon-card,
.finance-grid > div,
.report-grid > div {
  padding: 15px;
}

.addon-card span,
.finance-grid span,
.report-grid span {
  display: block;
  color: #8d97a3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.addon-card strong,
.finance-grid strong,
.report-grid strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
}

.shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #fff1bf);
  color: var(--navy);
  font-weight: 900;
}

.brand h1,
.topbar h2,
.panel h3,
.hero-strip h3,
.modal-head h3 {
  margin: 0;
}

.brand h1 {
  font-size: 22px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sidebar .eyebrow {
  color: #cbd6df;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav a {
  color: #dce5eb;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 7px;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.side-panel {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.side-panel strong {
  display: block;
  font-size: 24px;
}

.side-panel span {
  color: #cbd6df;
  font-size: 13px;
}

main {
  min-width: 0;
  padding: 24px 24px 120px;
}

.agency-home,
.vertical-dashboard {
  padding-bottom: 118px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.topbar h2 {
  max-width: 780px;
  font-size: 30px;
  line-height: 1.18;
}

.actions,
.filters,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary,
.secondary,
.danger,
.icon-button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 14px;
  font-weight: 800;
}

.primary {
  background: var(--wine);
  color: #fff;
}

.secondary,
.icon-button {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.danger {
  background: #fff1f2;
  color: var(--red);
  border-color: #ffc7ce;
}

.icon-button {
  width: 38px;
  padding: 0;
  font-size: 18px;
}

.hero-strip {
  min-height: 190px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(31, 43, 56, 0.88), rgba(124, 47, 61, 0.76)),
    radial-gradient(circle at 80% 20%, rgba(232, 195, 106, 0.55), transparent 28%),
    #263442;
  color: #fff;
  overflow: hidden;
}

.hero-strip .eyebrow {
  color: #f9df9a;
}

.hero-strip h3 {
  max-width: 760px;
  font-size: 30px;
  line-height: 1.18;
}

.lens-art {
  position: relative;
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #0e151c 0 28%, #2c3a48 29% 42%, #f5d479 43% 45%, #101821 46% 100%);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.16), 0 28px 60px rgba(0, 0, 0, 0.24);
}

.lens-art span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.lens-art span:nth-child(1) {
  width: 44px;
  height: 44px;
  left: 45px;
  top: 38px;
}

.lens-art span:nth-child(2) {
  width: 24px;
  height: 24px;
  right: 48px;
  bottom: 52px;
}

.lens-art span:nth-child(3) {
  width: 12px;
  height: 12px;
  left: 80px;
  bottom: 42px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.kpi-grid article,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.kpi-grid article {
  padding: 16px;
}

.kpi-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.kpi-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.chart-grid,
.split {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-section {
  margin-bottom: 16px;
}

.modern-chart-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.9fr);
  align-items: stretch;
}

.analytics-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    #171717;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  color: #f8fafc;
}

.analytics-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
}

.analytics-card > * {
  position: relative;
  z-index: 1;
}

.analytics-card .eyebrow,
.analytics-card .panel-head h3,
.analytics-card .panel-head {
  color: #f8fafc;
}

.analytics-card .eyebrow {
  opacity: 0.52;
}

.analytics-card .panel-head {
  margin-bottom: 2px;
}

.analytics-card .panel-head h3 {
  font-size: 22px;
}

.chart-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 900;
}

.chart-stat {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 2px 0 4px;
}

.chart-stat strong {
  color: #f8fafc;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
}

.chart-stat span {
  margin-bottom: 6px;
  color: rgba(229, 231, 235, 0.58);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.analytics-card canvas {
  display: block;
  width: 100%;
}

.donut-layout {
  display: grid;
  gap: 8px;
}

.expense-legend {
  display: grid;
  gap: 8px;
  padding: 0 16px 4px;
}

.expense-legend div {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 9px;
  color: rgba(229, 231, 235, 0.66);
  font-size: 13px;
  font-weight: 900;
}

.expense-legend span {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--legend-color);
}

.expense-legend em {
  color: #f8fafc;
  font-style: normal;
}

.panel {
  padding: 16px;
  min-width: 0;
}

.panel.analytics-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    #171717;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.panel h3 {
  font-size: 18px;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 9px 10px;
  min-width: 0;
}

.filters input {
  width: 260px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-card-list {
  display: grid;
  gap: 12px;
}

.event-summary-card {
  display: grid;
  grid-template-columns: minmax(230px, 1.3fr) minmax(160px, 0.75fr) minmax(360px, 1.5fr) minmax(120px, 0.52fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(16, 20, 26, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.event-summary-card:hover,
.event-summary-card:focus-visible {
  border-color: rgba(232, 195, 106, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04)),
    rgba(18, 22, 28, 0.96);
  outline: none;
  transform: translateY(-1px);
}

.event-summary-main,
.event-summary-team,
.event-summary-money,
.event-summary-status {
  min-width: 0;
}

.event-summary-id span,
.event-summary-team small,
.event-summary-money span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-summary-id strong {
  display: block;
  margin-top: 5px;
  color: #f7f4ec;
  font-size: 22px;
  line-height: 1.05;
}

.event-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  color: #b9c1cb;
  font-size: 13px;
  font-weight: 700;
}

.event-summary-meta span,
.event-summary-team div span {
  max-width: 210px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.045);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-summary-team div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.event-summary-team em {
  display: block;
  margin-top: 8px;
  color: #d8dee8;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.event-summary-money {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.event-summary-money div {
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 12px;
}

.event-summary-money strong {
  display: block;
  margin-top: 5px;
  color: #eef2f8;
  font-size: 18px;
  white-space: nowrap;
}

.event-summary-status {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.event-summary-status .dark-mini {
  min-height: 36px;
}

.empty-state {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 22px;
  color: #b9c1cb;
  font-weight: 800;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
}

.compact table {
  min-width: 760px;
}

th,
td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

th {
  position: sticky;
  top: 0;
  background: var(--wine);
  color: #fff;
  font-size: 12px;
  z-index: 1;
}

tbody tr:hover {
  background: #fffaf0;
}

.money,
.number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.paid,
.delivered {
  background: #e4f5e9;
  color: var(--green);
}

.partial,
.review {
  background: #fff4cf;
  color: var(--yellow);
}

.unpaid,
.late,
.negative {
  background: #ffe4e8;
  color: var(--red);
}

.event-summary-money .badge {
  display: inline-flex;
  width: fit-content;
  min-width: 110px;
  justify-content: center;
  font-size: 14px;
}

.event-summary-money .badge.partial {
  background: #fff2bf;
  color: #8a5a00;
}

.event-summary-money .badge.neutral {
  background: #e7edf5;
  color: #263447;
}

.event-summary-money .badge.negative {
  background: #ffd7df;
  color: #a50f34;
}

.event-summary-money .badge.paid {
  background: #dcfce7;
  color: #0f6b3d;
}

td.negative,
.stationery-table td.negative {
  background: rgba(255, 92, 122, 0.14);
  color: #ffb3c1;
  font-weight: 800;
}

tr:hover td.negative,
.stationery-table tbody tr:hover td.negative {
  background: rgba(255, 92, 122, 0.2);
}

.neutral {
  background: #eef2f6;
  color: #425466;
}

.stack,
.summary-list {
  display: grid;
  gap: 10px;
}

.stack-item,
.summary-item {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.summary-item {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.progress {
  height: 8px;
  background: #eef2f6;
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

body[data-route="contentCreationDashboard"] .shell {
  background:
    linear-gradient(135deg, rgba(9, 11, 14, 0.98), rgba(18, 21, 27, 0.97)),
    radial-gradient(circle at 82% 8%, rgba(232, 195, 106, 0.16), transparent 28%);
  color: #f7f4ec;
}

body[data-route="contentCreationDashboard"] .sidebar {
  background: rgba(8, 10, 13, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 24px 0 80px rgba(0, 0, 0, 0.26);
}

body[data-route="contentCreationDashboard"] main {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
}

body[data-route="contentCreationDashboard"] .brand-mark {
  background: linear-gradient(135deg, var(--gold), #fff4c8);
  color: #090b0e;
}

body[data-route="contentCreationDashboard"] .brand h1,
body[data-route="contentCreationDashboard"] .topbar h2,
body[data-route="contentCreationDashboard"] .panel h3,
body[data-route="contentCreationDashboard"] .hero-strip h3,
body[data-route="contentCreationDashboard"] .kpi-grid strong,
body[data-route="contentCreationDashboard"] .summary-item strong,
body[data-route="contentCreationDashboard"] .stack-item strong {
  color: #fff;
}

body[data-route="contentCreationDashboard"] .eyebrow {
  color: var(--gold);
}

body[data-route="contentCreationDashboard"] .topbar {
  padding-bottom: 4px;
}

body[data-route="contentCreationDashboard"] .topbar h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  max-width: 920px;
}

body[data-route="contentCreationDashboard"] .hero-strip {
  border-color: rgba(232, 195, 106, 0.22);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 80% 18%, rgba(232, 195, 106, 0.36), transparent 30%),
    #11151b;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

body[data-route="contentCreationDashboard"] .kpi-grid article,
body[data-route="contentCreationDashboard"] .panel,
body[data-route="contentCreationDashboard"] .stack-item,
body[data-route="contentCreationDashboard"] .summary-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.034));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

body[data-route="contentCreationDashboard"] .panel.analytics-card {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    #171717;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

body[data-route="contentCreationDashboard"] .analytics-card .eyebrow,
body[data-route="contentCreationDashboard"] .analytics-card .panel-head h3,
body[data-route="contentCreationDashboard"] .analytics-card .panel-head {
  color: #f8fafc;
}

body[data-route="contentCreationDashboard"] .kpi-grid span,
body[data-route="contentCreationDashboard"] .meta,
body[data-route="contentCreationDashboard"] .panel p,
body[data-route="contentCreationDashboard"] .summary-item,
body[data-route="contentCreationDashboard"] .stack-item {
  color: #aeb6bf;
}

body[data-route="contentCreationDashboard"] input,
body[data-route="contentCreationDashboard"] select,
body[data-route="contentCreationDashboard"] textarea {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f7f4ec;
}

body[data-route="contentCreationDashboard"] select[multiple] {
  min-height: 118px;
  padding: 8px;
  overflow: auto;
}

body[data-route="contentCreationDashboard"] select[multiple] option {
  padding: 7px 9px;
  margin-bottom: 4px;
  border-radius: 6px;
  color: #f7f4ec;
  background: #20252b;
}

body[data-route="contentCreationDashboard"] select[multiple] option:checked {
  background: linear-gradient(135deg, rgba(232, 195, 106, 0.5), rgba(232, 195, 106, 0.25));
  color: #fff;
}

body[data-route="contentCreationDashboard"] input::placeholder,
body[data-route="contentCreationDashboard"] textarea::placeholder {
  color: #8d97a3;
}

body[data-route="contentCreationDashboard"] select:not([multiple]) option {
  color: #11151b;
}

body[data-route="contentCreationDashboard"] .secondary,
body[data-route="contentCreationDashboard"] .icon-button {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f7f4ec;
}

body[data-route="contentCreationDashboard"] .primary {
  background: linear-gradient(135deg, var(--gold), #fff1bf);
  color: #090b0e;
}

body[data-route="contentCreationDashboard"] .table-wrap {
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-route="contentCreationDashboard"] th {
  background: #11151b;
  color: var(--gold);
}

body[data-route="contentCreationDashboard"] td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #eef2f6;
}

.team-summary-cell {
  min-width: 230px;
  max-width: 290px;
  white-space: normal;
  line-height: 1.25;
  color: #d7dde5;
}

.compact-manpower-summary {
  display: grid;
  gap: 7px;
  max-width: 280px;
}

.compact-manpower-line,
.compact-manpower-money {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.compact-manpower-line strong {
  color: #fff;
  font-size: 14px;
}

.compact-manpower-line span,
.compact-manpower-money span,
.compact-empty {
  color: #cfd6df;
  font-size: 12px;
  font-weight: 800;
}

.compact-manpower-money span:last-child {
  color: var(--gold);
}

.compact-manpower-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.compact-manpower-chips span {
  max-width: 132px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px 8px;
  color: #e9eef5;
  background: rgba(255, 255, 255, 0.055);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="contentCreationDashboard"] tbody tr:hover {
  background: rgba(255, 255, 255, 0.055);
}

body[data-route="contentCreationDashboard"] .progress {
  background: rgba(255, 255, 255, 0.12);
}

body[data-route="contentCreationDashboard"] dialog {
  background: #11151b;
  color: #f7f4ec;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-route="contentCreationDashboard"] label {
  color: #aeb6bf;
}

.dock-outer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

body.dock-soft-hidden .dock-outer {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.dock-panel {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  min-height: 68px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  padding: 8px 10px 10px;
  background: rgba(18, 15, 23, 0.88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.dock-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--dock-size, 50px);
  height: var(--dock-size, 50px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: #f7f4ec;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  cursor: pointer;
  outline: none;
  transition:
    width 160ms ease,
    height 160ms ease,
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.dock-item::before {
  content: attr(data-label);
  position: absolute;
  top: -34px;
  left: 50%;
  width: max-content;
  max-width: 160px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  padding: 4px 8px;
  background: rgba(18, 15, 23, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.dock-item:hover::before,
.dock-item:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dock-item:hover,
.dock-item:focus-visible,
.dock-item.active {
  border-color: rgba(232, 195, 106, 0.52);
  background: rgba(232, 195, 106, 0.15);
}

.dock-item.locked {
  opacity: 0.42;
  cursor: not-allowed;
}

.dock-item.locked:hover,
.dock-item.locked:focus-visible {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.dock-lock {
  position: absolute;
  right: -5px;
  top: -5px;
  display: none;
  width: 18px;
  height: 18px;
  overflow: hidden;
  border: 1px solid rgba(232, 195, 106, 0.5);
  border-radius: 999px;
  background: #11151b;
  color: transparent;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.dock-lock::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 6px;
  height: 5px;
  border: 1.7px solid var(--gold);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.dock-lock::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold);
}

.dock-item.locked .dock-lock {
  display: block;
}

.dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-icon svg {
  width: calc(var(--dock-size, 50px) * 0.42);
  height: calc(var(--dock-size, 50px) * 0.42);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

dialog {
  width: min(980px, calc(100vw - 30px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(31, 43, 56, 0.3);
}

dialog::backdrop {
  background: rgba(31, 43, 56, 0.48);
}

#eventForm {
  padding: 18px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.form-section-title {
  grid-column: 1 / -1;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

label input,
label select,
label textarea {
  color: var(--ink);
  font-weight: 600;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 14px 0;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notes {
  margin-bottom: 14px;
}

.notes textarea {
  resize: vertical;
}

.modal-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
}

@media (max-width: 1100px) {
  .agency-header,
  .vertical-top {
    display: block;
  }

  .command-shell {
    width: 100%;
  }

  .command-topbar,
  .command-hero,
  .command-layout {
    grid-template-columns: 1fr;
  }

  .command-topbar {
    display: grid;
  }

  .command-session {
    flex-wrap: wrap;
  }

  .command-kpis,
  .module-board,
  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agency-metrics,
  .vertical-grid,
  .vertical-kpis,
  .vertical-panels,
  .stationery-section.two-column,
  .package-grid,
  .addon-grid,
  .finance-grid,
  .report-grid,
  .library-list {
    grid-template-columns: 1fr;
  }

  .vertical-card {
    width: calc(min(560px, calc(100vw - 64px)) - 32px);
    height: calc(min(560px, calc(100vw - 64px)) - 32px);
    flex-basis: calc(min(560px, calc(100vw - 64px)) - 32px);
  }

  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .side-panel {
    display: none;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-grid,
  .modern-chart-grid,
  .split,
  .hero-strip {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assignment-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manpower-summary-card {
    grid-template-columns: 1fr 1fr;
  }

  .event-summary-card {
    grid-template-columns: 1fr;
  }

  .event-summary-money {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-summary-status {
    justify-items: start;
    grid-template-columns: repeat(3, max-content);
    align-items: center;
  }

  body.admin-locked[data-route="blackMarlinHome"] .spline-bot-strip {
    grid-template-columns: 1fr;
    width: min(760px, calc(100vw - 48px));
  }

  body.admin-locked[data-route="blackMarlinHome"] .spline-bot-copy {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .agency-home,
  .vertical-dashboard {
    padding: 18px 14px 112px;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
  }

  .vertical-top,
  .stationery-tabs,
  .stationery-section,
  .vertical-kpis,
  .vertical-panels,
  .stationery-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body[data-route="companyAccountDashboard"] .vertical-top {
    display: grid;
    gap: 12px;
  }

  body[data-route="companyAccountDashboard"] .vertical-top h1 {
    max-width: 100%;
    font-size: clamp(34px, 12vw, 48px);
    line-height: 1;
  }

  body[data-route="companyAccountDashboard"] .vertical-top p {
    max-width: 100%;
    font-size: 14px;
  }

  body[data-route="companyAccountDashboard"] .back-link {
    width: 100%;
    justify-content: center;
    margin-bottom: 8px;
    white-space: normal;
    text-align: center;
  }

  body[data-route="companyAccountDashboard"] .stationery-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  body[data-route="companyAccountDashboard"] .stationery-tabs {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow-x: visible;
  }

  body[data-route="companyAccountDashboard"] .stationery-tabs a {
    justify-content: center;
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    min-height: 44px;
  }

  body[data-route="companyAccountDashboard"] .vertical-kpis article {
    width: 100%;
  }

  body[data-route="companyAccountDashboard"] .vertical-kpis strong {
    font-size: 34px;
  }

  body[data-route="companyAccountDashboard"] .stationery-section {
    scroll-margin-top: 12px;
  }

  .company-ledger-card {
    padding: 14px;
  }

  .company-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .company-section-head select {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  .company-ledger-top {
    grid-template-columns: 1fr;
  }

  .company-ledger-badges,
  .company-ledger-actions {
    justify-content: flex-start;
  }

  .company-ledger-money {
    grid-template-columns: 1fr 1fr;
  }

  .company-ledger-money div {
    border-left: 0;
    padding-left: 0;
  }

  .company-ledger-money strong {
    font-size: 17px;
  }

  .agency-header h1,
  .vertical-top h1 {
    font-size: clamp(42px, 15vw, 64px);
    line-height: 0.95;
    overflow-wrap: anywhere;
  }

  .agency-header p,
  .vertical-top p {
    font-size: 15px;
  }

  .agency-status,
  .agency-metrics article,
  .admin-login-card,
  .admin-welcome-card {
    width: 100%;
  }

  .agency-status {
    margin-top: 18px;
  }

  body.admin-locked[data-route="blackMarlinHome"] .command-shell {
    grid-template-rows: auto auto auto auto;
  }

  body.admin-locked[data-route="blackMarlinHome"] .spline-bot-strip {
    width: calc(100vw - 28px);
    padding-bottom: 42px;
  }

  body.admin-locked[data-route="blackMarlinHome"] .spline-bot-copy {
    padding: 20px;
  }

  body.admin-locked[data-route="blackMarlinHome"] .spline-bot-frame {
    min-height: 420px;
    border-radius: 14px;
  }

  .agency-metrics {
    margin-top: 20px;
  }

  .admin-access-panel {
    min-height: 0;
    margin: 20px auto 96px;
  }

  .admin-login-card,
  .admin-welcome-card {
    padding: 18px;
  }

  .admin-login-card h2,
  .admin-welcome-card h2 {
    font-size: 32px;
  }

  .command-side .admin-login-card h2,
  .command-side .admin-welcome-card h2 {
    font-size: 28px;
  }

  .vertical-card {
    width: calc(100vw - 72px);
    height: calc(100vw - 72px);
    flex-basis: calc(100vw - 72px);
    padding: 34px;
  }

  .carousel-nav {
    display: none;
  }

  .dock-panel {
    gap: 6px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    justify-content: space-between;
    overflow-x: auto;
    padding: 8px;
    border-radius: 18px;
    scrollbar-width: none;
  }

  .dock-item {
    --dock-size: clamp(38px, 10.5vw, 44px);
    flex: 0 0 auto;
  }

  .dock-panel::-webkit-scrollbar {
    display: none;
  }

  .dock-item::before {
    display: none;
  }

  .command-kpis,
  .module-board,
  .quick-actions {
    grid-template-columns: 1fr;
  }

  .command-intro,
  .module-card,
  .activity-panel {
    padding: 16px;
  }

  .module-card {
    min-height: 178px;
  }

  .shell {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .sidebar {
    width: 100%;
    padding: 16px 14px;
    gap: 16px;
    border-right: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand h1 {
    font-size: 19px;
  }

  main {
    width: 100%;
    padding: 14px 10px 116px;
    overflow-x: hidden;
  }

  .topbar,
  .panel-head,
  .actions,
  .filters {
    flex-direction: column;
    align-items: stretch;
  }

  .actions,
  .filters {
    width: 100%;
  }

  .actions button,
  .filters input,
  .filters select,
  .primary,
  .secondary,
  .dark-button,
  .dark-mini {
    width: 100%;
  }

  .topbar h2,
  .hero-strip h3 {
    font-size: 24px;
  }

  .hero-strip {
    min-height: auto;
    padding: 18px;
  }

  .lens-art {
    width: 118px;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .stationery-card {
    padding: 14px;
  }

  .analytics-card {
    border-radius: 22px;
    padding: 18px;
  }

  .chart-stat {
    display: block;
  }

  .chart-stat span {
    display: block;
    margin-top: 6px;
  }

  .analytics-card canvas {
    max-height: 280px;
  }

  .panel h3,
  .stationery-card h2 {
    font-size: 22px;
    line-height: 1.12;
  }

  .kpi-grid,
  .form-grid,
  .assignment-row,
  .manpower-summary-card,
  .stationery-form {
    grid-template-columns: 1fr;
  }

  .manpower-summary-money {
    text-align: left;
  }

  .nav {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .nav a {
    min-height: 42px;
    padding: 10px;
    font-size: 12px;
  }

  .filters input {
    width: 100%;
  }

  .table-wrap,
  .stationery-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .event-summary-card {
    padding: 14px;
  }

  .event-summary-id strong {
    font-size: 20px;
  }

  .event-summary-money {
    grid-template-columns: 1fr 1fr;
  }

  .event-summary-money div {
    border-left: 0;
    padding-left: 0;
  }

  .event-summary-status {
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
  }

  .event-summary-status .dark-mini {
    grid-column: 1 / -1;
  }

  table,
  .compact table {
    min-width: 720px;
  }

  .stationery-table {
    min-width: 680px;
  }

  th,
  td {
    padding: 10px 12px;
    font-size: 13px;
  }

  dialog {
    width: calc(100vw - 14px);
    max-width: calc(100vw - 14px);
    max-height: calc(100dvh - 18px);
    margin: auto;
    border-radius: 12px;
  }

  #eventForm {
    max-height: calc(100dvh - 18px);
    overflow-y: auto;
    padding: 14px;
    padding-bottom: 120px;
  }

  .modal-head {
    position: sticky;
    top: -14px;
    z-index: 4;
    align-items: center;
    padding: 10px 0;
    background: #11151b;
  }

  label input,
  label select,
  label textarea,
  .stationery-form input,
  .stationery-form select,
  .stationery-form textarea {
    min-height: 50px;
    font-size: 16px;
  }

  .checks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .event-manpower-section {
    padding: 10px;
  }

  .embedded-head {
    align-items: stretch;
    flex-direction: column;
  }

  .event-stepper-shell {
    border-radius: 18px;
  }

  .manpower-stepper .step-indicator-row {
    padding: 16px 14px 10px;
  }

  .manpower-stepper .step-default {
    padding: 0 10px 14px;
  }

  .event-manpower-section .event-step-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .event-step-card [data-field="roles"] {
    height: 190px;
    min-height: 190px;
  }

  .event-step-card .danger-mini {
    min-height: 50px;
  }

  .manpower-stepper .footer-container {
    padding: 0 10px 14px;
  }

  .manpower-stepper .footer-nav,
  .manpower-stepper .footer-actions {
    width: 100%;
  }

  .manpower-stepper .back-button,
  .manpower-stepper .next-button {
    min-height: 48px;
    flex: 1 1 auto;
  }

  .manpower-summary-head {
    align-items: stretch;
    flex-direction: column;
  }

  .manpower-summary-card .dark-mini {
    width: 100%;
  }

  .multi-check-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .multi-check-option {
    min-height: 56px;
    padding: 10px;
    font-size: 12px;
  }
}

/* Final Concept G override: keep this after all legacy dashboard rules. */
body[data-route="contentCreationDashboard"] {
  --pop-bg: #07090d;
  --pop-panel: #10131a;
  --pop-yellow: #ffd447;
  --pop-coral: #ff5d5d;
  --pop-teal: #23d7c3;
  --pop-cream: #fff2cf;
  background: #07090d;
}

body[data-route="contentCreationDashboard"] .shell {
  grid-template-columns: 238px minmax(0, 1fr);
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 212, 71, 0.24) 0 1px, transparent 2px) 0 0 / 34px 34px,
    radial-gradient(circle at 82% 8%, rgba(35, 215, 195, 0.18), transparent 28%),
    radial-gradient(circle at 10% 30%, rgba(255, 93, 93, 0.18), transparent 24%),
    linear-gradient(135deg, #07090d, #0d1118 55%, #080a0f);
  color: var(--pop-cream);
}

body[data-route="contentCreationDashboard"] .shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    repeating-linear-gradient(-12deg, transparent 0 15px, rgba(255, 255, 255, 0.05) 15px 16px),
    radial-gradient(circle at 88% 88%, rgba(255, 212, 71, 0.12), transparent 24%);
}

body[data-route="contentCreationDashboard"] .sidebar,
body[data-route="contentCreationDashboard"] main {
  position: relative;
  z-index: 1;
}

body[data-route="contentCreationDashboard"] .sidebar {
  padding: 18px 14px;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 212, 71, 0.18) 0 2px, transparent 3px) 0 0 / 30px 30px,
    linear-gradient(180deg, rgba(16, 19, 26, 0.98), rgba(7, 9, 13, 0.98));
  border-right: 3px solid #111;
  box-shadow: 10px 0 0 rgba(255, 212, 71, 0.9), 26px 0 70px rgba(0, 0, 0, 0.32);
}

body[data-route="contentCreationDashboard"] .brand-mark {
  width: 54px;
  height: 54px;
  border: 3px solid #090a0d;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--pop-yellow), #fff0a3);
  color: #08090d;
  box-shadow: 5px 5px 0 var(--pop-coral);
  transform: rotate(-3deg);
}

body[data-route="contentCreationDashboard"] .brand h1,
body[data-route="contentCreationDashboard"] .topbar h2,
body[data-route="contentCreationDashboard"] .panel h3,
body[data-route="contentCreationDashboard"] .hero-strip h3,
body[data-route="contentCreationDashboard"] .kpi-grid strong,
body[data-route="contentCreationDashboard"] .summary-item strong,
body[data-route="contentCreationDashboard"] .stack-item strong {
  color: #fff;
}

body[data-route="contentCreationDashboard"] .eyebrow,
body[data-route="contentCreationDashboard"] .sidebar .eyebrow,
body[data-route="contentCreationDashboard"] .event-summary-id span,
body[data-route="contentCreationDashboard"] .event-summary-team small,
body[data-route="contentCreationDashboard"] .event-summary-money span {
  color: var(--pop-yellow);
}

body[data-route="contentCreationDashboard"] .nav a {
  border: 2px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.035);
  color: #e8edf2;
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.05);
}

body[data-route="contentCreationDashboard"] .nav a:hover,
body[data-route="contentCreationDashboard"] .nav a.active {
  border-color: #0b0d12;
  background: var(--pop-coral);
  color: #fff;
  box-shadow: 4px 4px 0 var(--pop-yellow);
  transform: translate(-1px, -1px);
}

body[data-route="contentCreationDashboard"] .side-panel {
  border: 2px solid #0b0d12;
  border-radius: 14px;
  background:
    radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px) 0 0 / 18px 18px,
    var(--pop-teal);
  color: #071014;
  box-shadow: 5px 5px 0 var(--pop-yellow);
}

body[data-route="contentCreationDashboard"] .side-panel .eyebrow,
body[data-route="contentCreationDashboard"] .side-panel span,
body[data-route="contentCreationDashboard"] .side-panel strong {
  color: #071014;
}

body[data-route="contentCreationDashboard"] main {
  padding: 18px 18px 96px;
  background: transparent;
}

body[data-route="contentCreationDashboard"] .topbar {
  align-items: center;
  margin-bottom: 14px;
  border: 2px solid #0b0d12;
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(13, 16, 23, 0.92);
  box-shadow: 7px 7px 0 rgba(255, 212, 71, 0.88);
}

body[data-route="contentCreationDashboard"] .topbar h2 {
  max-width: 860px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05;
}

body[data-route="contentCreationDashboard"] .hero-strip {
  min-height: 118px;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  margin-bottom: 14px;
  border: 2px solid #0b0d12;
  border-radius: 18px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at 9px 9px, rgba(7, 9, 13, 0.16) 0 2px, transparent 3px) 0 0 / 18px 18px,
    linear-gradient(120deg, var(--pop-coral), #ff8a4d 52%, var(--pop-yellow));
  box-shadow: 7px 7px 0 var(--pop-teal);
  color: #07090d;
}

body[data-route="contentCreationDashboard"] .hero-strip .eyebrow,
body[data-route="contentCreationDashboard"] .hero-strip h3 {
  color: #07090d;
}

body[data-route="contentCreationDashboard"] .hero-strip h3 {
  max-width: 820px;
  font-size: clamp(22px, 2vw, 31px);
}

body[data-route="contentCreationDashboard"] .lens-art {
  width: 96px;
  border: 4px solid #07090d;
  background:
    radial-gradient(circle at 35% 30%, #fff7d7 0 10%, transparent 11%),
    radial-gradient(circle, #07090d 0 24%, var(--pop-teal) 25% 45%, var(--pop-yellow) 46% 50%, #10131a 51% 100%);
  box-shadow: 5px 5px 0 #07090d;
}

body[data-route="contentCreationDashboard"] .kpi-grid {
  grid-template-columns: repeat(7, minmax(116px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

body[data-route="contentCreationDashboard"] .kpi-grid article {
  min-height: 88px;
  border: 2px solid #0b0d12;
  border-radius: 14px;
  padding: 12px;
  background:
    radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px) 0 0 / 15px 15px,
    var(--pop-panel);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.08);
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(3n + 1) {
  box-shadow: 4px 4px 0 var(--pop-yellow);
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(3n + 2) {
  box-shadow: 4px 4px 0 var(--pop-coral);
}

body[data-route="contentCreationDashboard"] .kpi-grid article:nth-child(3n) {
  box-shadow: 4px 4px 0 var(--pop-teal);
}

body[data-route="contentCreationDashboard"] .kpi-grid span {
  color: #c5ccd5;
  font-size: 11px;
  line-height: 1.2;
}

body[data-route="contentCreationDashboard"] .kpi-grid strong {
  margin-top: 8px;
  font-size: clamp(18px, 1.6vw, 27px);
}

body[data-route="contentCreationDashboard"] .panel,
body[data-route="contentCreationDashboard"] .stack-item,
body[data-route="contentCreationDashboard"] .summary-item {
  border: 2px solid #0b0d12;
  border-radius: 18px;
  background:
    radial-gradient(circle at 9px 9px, rgba(255, 255, 255, 0.06) 0 1px, transparent 2px) 0 0 / 18px 18px,
    rgba(16, 19, 26, 0.94);
  box-shadow: 7px 7px 0 rgba(35, 215, 195, 0.55);
}

body[data-route="contentCreationDashboard"] .panel {
  padding: 14px;
}

body[data-route="contentCreationDashboard"] .panel-head {
  margin-bottom: 12px;
}

body[data-route="contentCreationDashboard"] input,
body[data-route="contentCreationDashboard"] select,
body[data-route="contentCreationDashboard"] textarea {
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: #f7f4ec;
}

body[data-route="contentCreationDashboard"] .primary,
body[data-route="contentCreationDashboard"] .secondary,
body[data-route="contentCreationDashboard"] .icon-button,
body[data-route="contentCreationDashboard"] .dark-mini {
  border: 2px solid #0b0d12;
  border-radius: 12px;
  box-shadow: 4px 4px 0 #0b0d12;
}

body[data-route="contentCreationDashboard"] .primary {
  background: var(--pop-yellow);
  color: #07090d;
}

body[data-route="contentCreationDashboard"] .secondary,
body[data-route="contentCreationDashboard"] .icon-button {
  background: var(--pop-teal);
  color: #071014;
}

body[data-route="contentCreationDashboard"] .event-card-list {
  gap: 10px;
}

body[data-route="contentCreationDashboard"] .event-summary-card {
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.75fr) minmax(320px, 1.35fr) minmax(112px, 0.5fr);
  gap: 12px;
  border: 2px solid #0b0d12;
  border-radius: 16px;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(255, 93, 93, 0.13), transparent 30%),
    rgba(12, 15, 21, 0.96);
  box-shadow: 5px 5px 0 rgba(255, 212, 71, 0.62);
}

body[data-route="contentCreationDashboard"] .event-summary-card:hover,
body[data-route="contentCreationDashboard"] .event-summary-card:focus-visible {
  border-color: #0b0d12;
  background:
    linear-gradient(90deg, rgba(35, 215, 195, 0.18), transparent 34%),
    rgba(15, 18, 25, 0.98);
  box-shadow: 6px 6px 0 var(--pop-coral);
}

body[data-route="contentCreationDashboard"] .event-summary-money strong {
  color: #fff;
  font-size: 16px;
}

body[data-route="contentCreationDashboard"] th {
  background: var(--pop-yellow);
  color: #07090d;
}

body[data-route="contentCreationDashboard"] td {
  background: rgba(10, 13, 18, 0.75);
  color: #f1f5f9;
}

@media (max-width: 1260px) {
  body[data-route="contentCreationDashboard"] .kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-route="contentCreationDashboard"] .event-summary-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body[data-route="contentCreationDashboard"] .shell {
    grid-template-columns: 1fr;
  }

  body[data-route="contentCreationDashboard"] .sidebar {
    position: relative;
    height: auto;
  }

  body[data-route="contentCreationDashboard"] .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-route="contentCreationDashboard"] .hero-strip,
  body[data-route="contentCreationDashboard"] .event-summary-card {
    grid-template-columns: 1fr;
  }
}

body.admin-locked[data-route="blackMarlinHome"] .shoot-calendar-panel,
body.admin-locked[data-route="blackMarlinHome"] .spline-bot-strip {
  display: none !important;
}

/* Black Marlin home: minimal black/white Apple-style owner dashboard */
body[data-route="blackMarlinHome"] {
  --bm-bg: #030303;
  --bm-panel: rgba(255, 255, 255, 0.045);
  --bm-panel-strong: rgba(255, 255, 255, 0.075);
  --bm-line: rgba(255, 255, 255, 0.12);
  --bm-line-soft: rgba(255, 255, 255, 0.075);
  --bm-text: #f5f5f7;
  --bm-muted: #a1a1aa;
  --bm-dim: #64646d;
  --gold: #f5f5f7;
  background:
    radial-gradient(circle at 50% -18%, rgba(255,255,255,.12), transparent 34%),
    radial-gradient(circle at 8% 8%, rgba(255,255,255,.055), transparent 28%),
    linear-gradient(180deg, #050505, #020202) !important;
  color: var(--bm-text) !important;
}

body[data-route="blackMarlinHome"] .aurora-container,
body[data-route="blackMarlinHome"] .agency-glow,
body[data-route="blackMarlinHome"] .spline-bot-strip {
  display: none !important;
}

body[data-route="blackMarlinHome"] .agency-home {
  min-height: 100vh !important;
  padding: 28px 30px 116px !important;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) !important;
  background-size: 90px 90px !important;
}

body[data-route="blackMarlinHome"] .command-shell {
  max-width: 1480px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-route="blackMarlinHome"] .command-shell::before,
body[data-route="blackMarlinHome"] .command-shell::after,
body[data-route="blackMarlinHome"] .module-card::before,
body[data-route="blackMarlinHome"] .module-card::after {
  display: none !important;
}

body[data-route="blackMarlinHome"] .command-topbar {
  min-height: 70px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-route="blackMarlinHome"] .command-brand,
body[data-route="blackMarlinHome"] .command-session {
  gap: 12px !important;
}

body[data-route="blackMarlinHome"] .brand-fin,
body[data-route="blackMarlinHome"] .session-avatar {
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  place-items: center !important;
  border: 1px solid var(--bm-line) !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--bm-text) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

body[data-route="blackMarlinHome"] .command-topbar h1 {
  color: var(--bm-text) !important;
  font-size: 22px !important;
  letter-spacing: -0.04em !important;
}

body[data-route="blackMarlinHome"] .command-brand p,
body[data-route="blackMarlinHome"] .session-user small,
body[data-route="blackMarlinHome"] .live-pill strong,
body[data-route="blackMarlinHome"] .live-pill small,
body[data-route="blackMarlinHome"] .agency-kicker {
  color: var(--bm-muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

body[data-route="blackMarlinHome"] .session-user strong {
  color: var(--bm-text) !important;
}

body[data-route="blackMarlinHome"] .live-pill {
  border: 0 !important;
  background: transparent !important;
  color: var(--bm-muted) !important;
}

body[data-route="blackMarlinHome"] .live-pill i {
  background: #f5f5f7 !important;
  box-shadow: 0 0 0 5px rgba(255,255,255,.08) !important;
}

body[data-route="blackMarlinHome"] .secondary,
body[data-route="blackMarlinHome"] .dark-mini,
body[data-route="blackMarlinHome"] .dark-button,
body[data-route="blackMarlinHome"] .activity-head button,
body[data-route="blackMarlinHome"] .activity-log-link {
  border: 1px solid var(--bm-line) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.045) !important;
  color: var(--bm-text) !important;
  box-shadow: none !important;
}

body[data-route="blackMarlinHome"] .public-welcome {
  display: none !important;
}

body[data-route="blackMarlinHome"] .command-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 620px !important;
  gap: 28px !important;
  margin-top: 52px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-route="blackMarlinHome"] .command-intro {
  min-height: 250px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body[data-route="blackMarlinHome"] .command-intro h2 {
  max-width: 850px !important;
  color: var(--bm-text) !important;
  font-size: clamp(68px, 8vw, 126px) !important;
  line-height: .88 !important;
  letter-spacing: -.085em !important;
}

body[data-route="blackMarlinHome"] .command-intro p {
  max-width: 560px !important;
  margin: 24px 0 0 !important;
  color: var(--bm-muted) !important;
  font-size: 22px !important;
  line-height: 1.42 !important;
}

body[data-route="blackMarlinHome"] .command-intro small {
  display: block !important;
  margin-top: 30px !important;
  color: var(--bm-muted) !important;
  font-size: 14px !important;
}

body[data-route="blackMarlinHome"] .command-kpis {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body[data-route="blackMarlinHome"] .command-kpis article,
body[data-route="blackMarlinHome"] .module-card,
body[data-route="blackMarlinHome"] .activity-panel,
body[data-route="blackMarlinHome"] .shoot-calendar-panel,
body[data-route="blackMarlinHome"] .shoot-upcoming-list,
body[data-route="blackMarlinHome"] .shoot-selected-head,
body[data-route="blackMarlinHome"] .shoot-detail-card,
body[data-route="blackMarlinHome"] .shoot-cal-cell,
body[data-route="blackMarlinHome"] .shoot-cal-head {
  border: 1px solid var(--bm-line) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.058), rgba(255,255,255,.024)) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter: blur(20px) !important;
}

body[data-route="blackMarlinHome"] .command-kpis article {
  min-height: 122px !important;
  padding: 22px !important;
  border-radius: 28px !important;
}

body[data-route="blackMarlinHome"] .command-kpis i {
  display: none !important;
}

body[data-route="blackMarlinHome"] .command-kpis span {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--bm-dim) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
}

body[data-route="blackMarlinHome"] .command-kpis strong {
  margin-top: 20px !important;
  color: var(--bm-text) !important;
  font-size: 34px !important;
  letter-spacing: -.05em !important;
}

body[data-route="blackMarlinHome"] .command-kpis small,
body[data-route="blackMarlinHome"] .command-kpis small.good,
body[data-route="blackMarlinHome"] .command-kpis small.warn {
  color: var(--bm-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body[data-route="blackMarlinHome"] .command-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 18px !important;
  margin-top: 28px !important;
}

body[data-route="blackMarlinHome"] .module-board {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body[data-route="blackMarlinHome"] .module-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  min-height: 188px !important;
  padding: 22px !important;
  border-radius: 26px !important;
  color: var(--bm-text) !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

body[data-route="blackMarlinHome"] .module-icon {
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  place-items: center !important;
  margin: 0 !important;
  border: 1px solid var(--bm-line) !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: var(--bm-text) !important;
}

body[data-route="blackMarlinHome"] .module-icon svg {
  width: 24px !important;
  height: 24px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
}

body[data-route="blackMarlinHome"] .module-meta {
  display: none !important;
}

body[data-route="blackMarlinHome"] .module-card strong {
  margin: 20px 0 0 !important;
  color: var(--bm-text) !important;
  font-size: 20px !important;
  line-height: 1.05 !important;
  letter-spacing: -.04em !important;
}

body[data-route="blackMarlinHome"] .module-card b {
  margin-top: 8px !important;
  color: var(--bm-text) !important;
  font-size: 26px !important;
  letter-spacing: -.05em !important;
}

body[data-route="blackMarlinHome"] .module-card small {
  margin-top: 4px !important;
  color: var(--bm-muted) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

body[data-route="blackMarlinHome"] .module-card time {
  align-self: end !important;
  margin-top: 22px !important;
  color: var(--bm-dim) !important;
  font-size: 12px !important;
}

body[data-route="blackMarlinHome"] .module-card em {
  position: absolute !important;
  right: 18px !important;
  bottom: 18px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--bm-muted) !important;
  font-size: 12px !important;
}

body[data-route="blackMarlinHome"] .command-side {
  display: grid !important;
}

body[data-route="blackMarlinHome"] .activity-panel {
  min-height: 100% !important;
  border-radius: 26px !important;
  padding: 22px !important;
}

body[data-route="blackMarlinHome"] .activity-head h2 {
  color: var(--bm-text) !important;
  font-size: 26px !important;
  letter-spacing: -.05em !important;
}

body[data-route="blackMarlinHome"] .activity-list {
  gap: 12px !important;
}

body[data-route="blackMarlinHome"] .activity-item,
body[data-route="blackMarlinHome"] .activity-empty {
  border-bottom: 1px solid var(--bm-line-soft) !important;
}

body[data-route="blackMarlinHome"] .activity-item strong,
body[data-route="blackMarlinHome"] .activity-empty strong {
  color: var(--bm-text) !important;
}

body[data-route="blackMarlinHome"] .activity-item small,
body[data-route="blackMarlinHome"] .activity-empty small,
body[data-route="blackMarlinHome"] .activity-item p {
  color: var(--bm-muted) !important;
}

body[data-route="blackMarlinHome"] .activity-type,
body[data-route="blackMarlinHome"] .activity-item b {
  color: var(--bm-muted) !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-panel {
  margin-top: 28px !important;
  border-radius: 28px !important;
  padding: 22px !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-head {
  margin-bottom: 18px !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-head h2 {
  color: var(--bm-text) !important;
  font-size: 34px !important;
  letter-spacing: -.06em !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-head p:not(.agency-kicker) {
  color: var(--bm-muted) !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-layout {
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 16px !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-grid {
  gap: 8px !important;
}

body[data-route="blackMarlinHome"] .shoot-cal-head {
  border-radius: 14px !important;
  color: var(--bm-dim) !important;
}

body[data-route="blackMarlinHome"] .shoot-cal-cell {
  min-height: 76px !important;
  border-radius: 14px !important;
  color: var(--bm-text) !important;
}

body[data-route="blackMarlinHome"] .shoot-cal-cell.booked {
  border-color: rgba(255,255,255,.26) !important;
  background: rgba(255,255,255,.08) !important;
}

body[data-route="blackMarlinHome"] .shoot-cal-cell.selected {
  border-color: rgba(255,255,255,.72) !important;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.48) !important;
}

body[data-route="blackMarlinHome"] .shoot-cal-cell.today::after {
  background: rgba(255,255,255,.08) !important;
  color: var(--bm-text) !important;
}

body[data-route="blackMarlinHome"] .shoot-cal-cell span,
body[data-route="blackMarlinHome"] .shoot-cal-cell em {
  color: var(--bm-muted) !important;
}

body[data-route="blackMarlinHome"] .shoot-upcoming-list,
body[data-route="blackMarlinHome"] .shoot-selected-head,
body[data-route="blackMarlinHome"] .shoot-detail-card {
  border-radius: 22px !important;
}

body[data-route="blackMarlinHome"] .shoot-upcoming-list h3,
body[data-route="blackMarlinHome"] .shoot-detail-card strong,
body[data-route="blackMarlinHome"] .shoot-selected-head strong {
  color: var(--bm-text) !important;
}

body[data-route="blackMarlinHome"] .shoot-detail-card time,
body[data-route="blackMarlinHome"] .shoot-detail-card dt,
body[data-route="blackMarlinHome"] .shoot-selected-head span,
body[data-route="blackMarlinHome"] .shoot-detail-card span,
body[data-route="blackMarlinHome"] .shoot-detail-card p,
body[data-route="blackMarlinHome"] .shoot-detail-card dd {
  color: var(--bm-muted) !important;
}

body[data-route="blackMarlinHome"] .dock-panel {
  border: 1px solid var(--bm-line) !important;
  border-radius: 30px !important;
  background: rgba(10,10,12,.76) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter: blur(24px) !important;
}

body[data-route="blackMarlinHome"] .dock-item {
  border-color: var(--bm-line) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.045) !important;
  color: var(--bm-text) !important;
}

body[data-route="blackMarlinHome"] .dock-item.active,
body[data-route="blackMarlinHome"] .dock-item:hover {
  background: rgba(255,255,255,.09) !important;
}

@media (max-width: 1180px) {
  body[data-route="blackMarlinHome"] .command-hero,
  body[data-route="blackMarlinHome"] .command-layout,
  body[data-route="blackMarlinHome"] .shoot-calendar-layout {
    grid-template-columns: 1fr !important;
  }

  body[data-route="blackMarlinHome"] .module-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body[data-route="blackMarlinHome"] .agency-home {
    padding: 18px 14px 110px !important;
  }

  body[data-route="blackMarlinHome"] .command-topbar,
  body[data-route="blackMarlinHome"] .command-session {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body[data-route="blackMarlinHome"] .command-intro h2 {
    font-size: clamp(48px, 15vw, 76px) !important;
  }

  body[data-route="blackMarlinHome"] .command-kpis,
  body[data-route="blackMarlinHome"] .module-board {
    grid-template-columns: 1fr !important;
  }
}

/* Global Black Marlin monochrome theme: keep logic/data intact, unify every module visually */
body:not(.printing-invoice):not(.printing-crafts-invoice) {
  --bm-bg: #030303;
  --bm-panel: rgba(255, 255, 255, 0.045);
  --bm-panel-strong: rgba(255, 255, 255, 0.075);
  --bm-line: rgba(255, 255, 255, 0.13);
  --bm-line-soft: rgba(255, 255, 255, 0.075);
  --bm-text: #f5f5f7;
  --bm-muted: #a7a7af;
  --bm-dim: #6f727b;
  --bm-positive: #f5f5f7;
  --bm-warning: #e8e8ed;
  --bm-danger: #f5f5f7;
  --gold: #f5f5f7;
  --yellow: #f5f5f7;
  --teal: #f5f5f7;
  --cyan: #f5f5f7;
  background:
    radial-gradient(circle at 48% -18%, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(255, 255, 255, 0.055), transparent 26%),
    linear-gradient(180deg, #050506 0%, #020203 48%, #000 100%) !important;
  color: var(--bm-text) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .app,
body:not(.printing-invoice):not(.printing-crafts-invoice) .shell,
body:not(.printing-invoice):not(.printing-crafts-invoice) .vertical-shell,
body:not(.printing-invoice):not(.printing-crafts-invoice) .stationery-shell,
body:not(.printing-invoice):not(.printing-crafts-invoice) .graphic-shell,
body:not(.printing-invoice):not(.printing-crafts-invoice) .team-shell,
body:not(.printing-invoice):not(.printing-crafts-invoice) .company-account-shell,
body:not(.printing-invoice):not(.printing-crafts-invoice) .social-shell,
body:not(.printing-invoice):not(.printing-crafts-invoice) .invoice-shell,
body:not(.printing-invoice):not(.printing-crafts-invoice) main {
  background: transparent !important;
  color: var(--bm-text) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .sidebar,
body:not(.printing-invoice):not(.printing-crafts-invoice) .side-panel,
body:not(.printing-invoice):not(.printing-crafts-invoice) .panel,
body:not(.printing-invoice):not(.printing-crafts-invoice) .card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .section-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .form-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .summary-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .kpi-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .stat-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .vertical-kpis article,
body:not(.printing-invoice):not(.printing-crafts-invoice) .kpi-grid article,
body:not(.printing-invoice):not(.printing-crafts-invoice) .metric-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .finance-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .team-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .client-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .project-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .order-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .company-credit-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .company-expense-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .activity-panel,
body:not(.printing-invoice):not(.printing-crafts-invoice) .shoot-calendar-panel,
body:not(.printing-invoice):not(.printing-crafts-invoice) .shoot-upcoming-list,
body:not(.printing-invoice):not(.printing-crafts-invoice) .shoot-detail-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .shoot-selected-head,
body:not(.printing-invoice):not(.printing-crafts-invoice) .stationery-section,
body:not(.printing-invoice):not(.printing-crafts-invoice) .stationery-tabs,
body:not(.printing-invoice):not(.printing-crafts-invoice) .social-client-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .social-report-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .table-wrap,
body:not(.printing-invoice):not(.printing-crafts-invoice) .modal,
body:not(.printing-invoice):not(.printing-crafts-invoice) .modal-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) dialog {
  border: 1px solid var(--bm-line) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.024)),
    rgba(8, 9, 10, 0.72) !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
  color: var(--bm-text) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) h1,
body:not(.printing-invoice):not(.printing-crafts-invoice) h2,
body:not(.printing-invoice):not(.printing-crafts-invoice) h3,
body:not(.printing-invoice):not(.printing-crafts-invoice) h4,
body:not(.printing-invoice):not(.printing-crafts-invoice) strong,
body:not(.printing-invoice):not(.printing-crafts-invoice) b,
body:not(.printing-invoice):not(.printing-crafts-invoice) th,
body:not(.printing-invoice):not(.printing-crafts-invoice) label,
body:not(.printing-invoice):not(.printing-crafts-invoice) .page-title,
body:not(.printing-invoice):not(.printing-crafts-invoice) .section-title {
  color: var(--bm-text) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) p,
body:not(.printing-invoice):not(.printing-crafts-invoice) small,
body:not(.printing-invoice):not(.printing-crafts-invoice) span,
body:not(.printing-invoice):not(.printing-crafts-invoice) em,
body:not(.printing-invoice):not(.printing-crafts-invoice) td,
body:not(.printing-invoice):not(.printing-crafts-invoice) dt,
body:not(.printing-invoice):not(.printing-crafts-invoice) dd,
body:not(.printing-invoice):not(.printing-crafts-invoice) .muted,
body:not(.printing-invoice):not(.printing-crafts-invoice) .meta,
body:not(.printing-invoice):not(.printing-crafts-invoice) .helper,
body:not(.printing-invoice):not(.printing-crafts-invoice) .subtitle {
  color: var(--bm-muted) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .eyebrow,
body:not(.printing-invoice):not(.printing-crafts-invoice) .agency-kicker,
body:not(.printing-invoice):not(.printing-crafts-invoice) .section-kicker,
body:not(.printing-invoice):not(.printing-crafts-invoice) .label,
body:not(.printing-invoice):not(.printing-crafts-invoice) th {
  color: var(--bm-muted) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) input,
body:not(.printing-invoice):not(.printing-crafts-invoice) select,
body:not(.printing-invoice):not(.printing-crafts-invoice) textarea {
  border: 1px solid var(--bm-line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--bm-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) input::placeholder,
body:not(.printing-invoice):not(.printing-crafts-invoice) textarea::placeholder {
  color: rgba(245, 245, 247, 0.42) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) input:focus,
body:not(.printing-invoice):not(.printing-crafts-invoice) select:focus,
body:not(.printing-invoice):not(.printing-crafts-invoice) textarea:focus {
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
  outline: none !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) button,
body:not(.printing-invoice):not(.printing-crafts-invoice) .button,
body:not(.printing-invoice):not(.printing-crafts-invoice) .btn,
body:not(.printing-invoice):not(.printing-crafts-invoice) .dark-mini,
body:not(.printing-invoice):not(.printing-crafts-invoice) .dark-button,
body:not(.printing-invoice):not(.printing-crafts-invoice) .ghost-button,
body:not(.printing-invoice):not(.printing-crafts-invoice) .export-btn,
body:not(.printing-invoice):not(.printing-crafts-invoice) .tab-button,
body:not(.printing-invoice):not(.printing-crafts-invoice) .nav-link {
  border: 1px solid var(--bm-line) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--bm-text) !important;
  box-shadow: none !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) button:hover,
body:not(.printing-invoice):not(.printing-crafts-invoice) .button:hover,
body:not(.printing-invoice):not(.printing-crafts-invoice) .btn:hover,
body:not(.printing-invoice):not(.printing-crafts-invoice) .dark-mini:hover,
body:not(.printing-invoice):not(.printing-crafts-invoice) .dark-button:hover,
body:not(.printing-invoice):not(.printing-crafts-invoice) .ghost-button:hover,
body:not(.printing-invoice):not(.printing-crafts-invoice) .export-btn:hover,
body:not(.printing-invoice):not(.printing-crafts-invoice) .tab-button:hover,
body:not(.printing-invoice):not(.printing-crafts-invoice) .nav-link:hover {
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .primary,
body:not(.printing-invoice):not(.printing-crafts-invoice) .admin-submit,
body:not(.printing-invoice):not(.printing-crafts-invoice) .save-button,
body:not(.printing-invoice):not(.printing-crafts-invoice) .add-button,
body:not(.printing-invoice):not(.printing-crafts-invoice) button[type="submit"] {
  background: #f5f5f7 !important;
  border-color: #f5f5f7 !important;
  color: #050506 !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) table,
body:not(.printing-invoice):not(.printing-crafts-invoice) thead,
body:not(.printing-invoice):not(.printing-crafts-invoice) tbody,
body:not(.printing-invoice):not(.printing-crafts-invoice) tr {
  background: transparent !important;
  color: var(--bm-text) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) th {
  background: rgba(255, 255, 255, 0.045) !important;
  border-bottom: 1px solid var(--bm-line) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) td {
  border-color: var(--bm-line-soft) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .badge,
body:not(.printing-invoice):not(.printing-crafts-invoice) .chip,
body:not(.printing-invoice):not(.printing-crafts-invoice) .pill,
body:not(.printing-invoice):not(.printing-crafts-invoice) .status-pill,
body:not(.printing-invoice):not(.printing-crafts-invoice) .payment-pill,
body:not(.printing-invoice):not(.printing-crafts-invoice) .delivery-pill,
body:not(.printing-invoice):not(.printing-crafts-invoice) .settlement-badge {
  border: 1px solid var(--bm-line) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  color: var(--bm-text) !important;
  box-shadow: none !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .negative,
body:not(.printing-invoice):not(.printing-crafts-invoice) .danger,
body:not(.printing-invoice):not(.printing-crafts-invoice) .loss,
body:not(.printing-invoice):not(.printing-crafts-invoice) .overdue {
  color: var(--bm-text) !important;
  background: rgba(255, 255, 255, 0.075) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .positive,
body:not(.printing-invoice):not(.printing-crafts-invoice) .success,
body:not(.printing-invoice):not(.printing-crafts-invoice) .delivered,
body:not(.printing-invoice):not(.printing-crafts-invoice) .paid {
  color: var(--bm-text) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .nav-link.active,
body:not(.printing-invoice):not(.printing-crafts-invoice) .tab-button.active,
body:not(.printing-invoice):not(.printing-crafts-invoice) .active {
  border-color: rgba(255, 255, 255, 0.38) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--bm-text) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .dock-panel {
  border: 1px solid var(--bm-line) !important;
  border-radius: 30px !important;
  background: rgba(10, 10, 12, 0.82) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(24px) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .dock-item {
  border-color: var(--bm-line) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: var(--bm-text) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .dock-item.active,
body:not(.printing-invoice):not(.printing-crafts-invoice) .dock-item:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .logo-mark,
body:not(.printing-invoice):not(.printing-crafts-invoice) .brand-mark,
body:not(.printing-invoice):not(.printing-crafts-invoice) .avatar,
body:not(.printing-invoice):not(.printing-crafts-invoice) .icon-tile,
body:not(.printing-invoice):not(.printing-crafts-invoice) .module-icon {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid var(--bm-line) !important;
  color: var(--bm-text) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .sync-pill {
  border-color: var(--bm-line) !important;
  background: rgba(8, 9, 10, 0.78) !important;
  color: var(--bm-text) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .shoot-cal-cell,
body:not(.printing-invoice):not(.printing-crafts-invoice) .calendar-day,
body:not(.printing-invoice):not(.printing-crafts-invoice) .day-cell {
  border-color: var(--bm-line) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--bm-text) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .shoot-cal-cell.booked,
body:not(.printing-invoice):not(.printing-crafts-invoice) .calendar-day.has-entry,
body:not(.printing-invoice):not(.printing-crafts-invoice) .day-cell.has-entry {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .shoot-cal-cell.selected,
body:not(.printing-invoice):not(.printing-crafts-invoice) .calendar-day.selected,
body:not(.printing-invoice):not(.printing-crafts-invoice) .day-cell.selected {
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.38) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) .hero-card,
body:not(.printing-invoice):not(.printing-crafts-invoice) .feature-card {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)) !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px !important;
}

body:not(.printing-invoice):not(.printing-crafts-invoice) ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04) !important;
}

@media (max-width: 760px) {
  body:not(.printing-invoice):not(.printing-crafts-invoice) .panel,
  body:not(.printing-invoice):not(.printing-crafts-invoice) .card,
  body:not(.printing-invoice):not(.printing-crafts-invoice) .section-card,
  body:not(.printing-invoice):not(.printing-crafts-invoice) .form-card,
  body:not(.printing-invoice):not(.printing-crafts-invoice) .summary-card,
  body:not(.printing-invoice):not(.printing-crafts-invoice) .table-wrap {
    border-radius: 20px !important;
  }

  body:not(.printing-invoice):not(.printing-crafts-invoice) h1 {
    letter-spacing: -0.055em !important;
  }
}

/* Black Marlin home approved smart-space layout */
body[data-route="blackMarlinHome"] .command-shell {
  max-width: 1440px !important;
  padding: 28px 40px 128px !important;
}

body[data-route="blackMarlinHome"] .command-topbar {
  height: 54px !important;
  margin-bottom: 22px !important;
}

body[data-route="blackMarlinHome"] .command-hero {
  grid-template-columns: minmax(0, 1fr) 545px !important;
  gap: 34px !important;
  align-items: start !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  min-height: 0 !important;
}

body[data-route="blackMarlinHome"] .command-intro h2 {
  max-width: 690px !important;
  font-size: clamp(64px, 6vw, 86px) !important;
  line-height: .88 !important;
  letter-spacing: -.075em !important;
}

body[data-route="blackMarlinHome"] .command-intro p {
  margin-top: 22px !important;
  font-size: 18px !important;
}

body[data-route="blackMarlinHome"] .command-intro small {
  margin-top: 22px !important;
}

body[data-route="blackMarlinHome"] .command-kpis {
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

body[data-route="blackMarlinHome"] .command-kpis article {
  min-height: 108px !important;
  padding: 20px !important;
  border-radius: 24px !important;
}

body[data-route="blackMarlinHome"] .command-kpis article i {
  display: none !important;
}

body[data-route="blackMarlinHome"] .command-kpis article span {
  margin: 0 !important;
}

body[data-route="blackMarlinHome"] .command-kpis article strong {
  margin-top: 16px !important;
  font-size: 34px !important;
}

body[data-route="blackMarlinHome"] .command-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 330px !important;
  gap: 24px !important;
  align-items: start !important;
  margin-top: 0 !important;
}

body[data-route="blackMarlinHome"] .module-board {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-content: start !important;
  padding: 0 !important;
}

body[data-route="blackMarlinHome"] .module-card[data-route="/black-marlin/invoice-generator"] {
  display: none !important;
}

body[data-route="blackMarlinHome"] .command-shell {
  padding: 22px 40px 128px !important;
}

body[data-route="blackMarlinHome"] .command-topbar {
  height: 48px !important;
  margin-bottom: 12px !important;
}

body[data-route="blackMarlinHome"] .command-intro h2 {
  font-size: clamp(58px, 5.5vw, 78px) !important;
}

body[data-route="blackMarlinHome"] .command-intro p {
  margin-top: 16px !important;
}

body[data-route="blackMarlinHome"] .command-intro small {
  margin-top: 14px !important;
}

body[data-route="blackMarlinHome"] .command-kpis article {
  min-height: 96px !important;
  padding: 18px !important;
}

body[data-route="blackMarlinHome"] .module-card {
  min-height: 112px !important;
}

body[data-route="blackMarlinHome"] .home-smart-card {
  min-height: 132px !important;
  padding: 18px !important;
}

body[data-route="blackMarlinHome"] .home-smart-card h2 {
  font-size: 22px !important;
}

body[data-route="blackMarlinHome"] .home-focus-row {
  padding: 8px 0 !important;
}

body[data-route="blackMarlinHome"] .activity-panel {
  min-height: 390px !important;
}

body[data-route="blackMarlinHome"] .module-card {
  min-height: 126px !important;
  padding: 18px !important;
  border-radius: 24px !important;
}

body[data-route="blackMarlinHome"] .module-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
}

body[data-route="blackMarlinHome"] .module-card strong {
  position: absolute !important;
  top: 38px !important;
  right: 18px !important;
  max-width: 150px !important;
  margin: 0 !important;
  text-align: right !important;
  font-size: 18px !important;
  line-height: 1.02 !important;
  letter-spacing: -.04em !important;
}

body[data-route="blackMarlinHome"] .module-card b {
  margin-top: 18px !important;
  font-size: 27px !important;
}

body[data-route="blackMarlinHome"] .module-card small,
body[data-route="blackMarlinHome"] .module-card time {
  font-size: 12px !important;
}

body[data-route="blackMarlinHome"] .module-card time {
  display: none !important;
}

body[data-route="blackMarlinHome"] .module-card em {
  right: 18px !important;
  bottom: 16px !important;
  color: var(--bm-text) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body[data-route="blackMarlinHome"] .home-smart-card {
  min-height: 158px !important;
  padding: 20px !important;
  border: 1px solid var(--bm-line) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.024)),
    rgba(8, 9, 10, 0.72) !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

body[data-route="blackMarlinHome"] .home-focus-card {
  grid-column: span 1 !important;
}

body[data-route="blackMarlinHome"] .home-smart-card h2 {
  margin: 9px 0 15px !important;
  color: var(--bm-text) !important;
  font-size: 25px !important;
  line-height: 1 !important;
  letter-spacing: -.05em !important;
}

body[data-route="blackMarlinHome"] .home-focus-row {
  display: flex !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 0 !important;
  border-top: 1px solid var(--bm-line-soft) !important;
  color: var(--bm-text) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body[data-route="blackMarlinHome"] .home-focus-row strong {
  color: var(--bm-muted) !important;
  white-space: nowrap !important;
}

body[data-route="blackMarlinHome"] .home-money-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 9px !important;
  margin-top: 12px !important;
}

body[data-route="blackMarlinHome"] .home-money-grid article {
  min-height: 66px !important;
  padding: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

body[data-route="blackMarlinHome"] .home-money-grid strong {
  display: block !important;
  color: var(--bm-text) !important;
  font-size: 21px !important;
  letter-spacing: -.045em !important;
}

body[data-route="blackMarlinHome"] .home-money-grid span {
  display: block !important;
  margin-top: 4px !important;
  color: var(--bm-muted) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

body[data-route="blackMarlinHome"] .home-action-pill {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 10px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--bm-line) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: var(--bm-text) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  text-decoration: none !important;
}

body[data-route="blackMarlinHome"] .home-action-pill:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

body[data-route="blackMarlinHome"] .command-side {
  display: block !important;
}

body[data-route="blackMarlinHome"] .activity-panel {
  min-height: 442px !important;
  padding: 22px !important;
  border-radius: 24px !important;
}

body[data-route="blackMarlinHome"] .activity-head {
  margin-bottom: 10px !important;
}

body[data-route="blackMarlinHome"] .activity-head h2 {
  font-size: 25px !important;
}

body[data-route="blackMarlinHome"] .activity-item,
body[data-route="blackMarlinHome"] .activity-empty {
  padding: 15px 0 !important;
}

body[data-route="blackMarlinHome"] .admin-access-panel {
  display: none !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-panel {
  margin-top: 28px !important;
  padding: 20px !important;
  border-radius: 24px !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-head {
  margin-bottom: 13px !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-head h2 {
  margin-top: 5px !important;
  font-size: 28px !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-layout {
  grid-template-columns: minmax(0, 1fr) 230px !important;
  gap: 8px !important;
}

body[data-route="blackMarlinHome"] .shoot-calendar-grid {
  gap: 8px !important;
}

body[data-route="blackMarlinHome"] .shoot-cal-cell {
  min-height: 56px !important;
  padding: 11px !important;
  border-radius: 17px !important;
}

body[data-route="blackMarlinHome"] .shoot-cal-head {
  min-height: 34px !important;
  border-radius: 14px !important;
}

body[data-route="blackMarlinHome"] .shoot-upcoming-list {
  padding: 18px !important;
  border-radius: 22px !important;
}

body[data-route="blackMarlinHome"] .shoot-upcoming-list h3 {
  font-size: 22px !important;
}

body[data-route="blackMarlinHome"] .spline-bot-strip {
  display: none !important;
}

@media (max-width: 1180px) {
  body[data-route="blackMarlinHome"] .command-hero,
  body[data-route="blackMarlinHome"] .command-layout {
    grid-template-columns: 1fr !important;
  }

  body[data-route="blackMarlinHome"] .module-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body[data-route="blackMarlinHome"] .command-shell {
    padding: 18px 14px 120px !important;
  }

  body[data-route="blackMarlinHome"] .command-intro h2 {
    font-size: clamp(48px, 15vw, 72px) !important;
  }

  body[data-route="blackMarlinHome"] .command-kpis,
  body[data-route="blackMarlinHome"] .module-board,
  body[data-route="blackMarlinHome"] .home-money-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-route="blackMarlinHome"] .shoot-calendar-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Keep the Black Marlin home activity rail compact with its own scroll. */
body[data-route="blackMarlinHome"] .activity-panel {
  display: flex !important;
  flex-direction: column !important;
  height: 520px !important;
  min-height: 0 !important;
  max-height: 520px !important;
  overflow: hidden !important;
}

body[data-route="blackMarlinHome"] .activity-list {
  display: block !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 8px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.32) rgba(255, 255, 255, 0.06) !important;
}

body[data-route="blackMarlinHome"] .activity-list::-webkit-scrollbar {
  width: 6px !important;
}

body[data-route="blackMarlinHome"] .activity-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 999px !important;
}

body[data-route="blackMarlinHome"] .activity-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.32) !important;
  border-radius: 999px !important;
}

body[data-route="blackMarlinHome"] .activity-list article {
  min-height: 0 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

body[data-route="blackMarlinHome"] .activity-list small {
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body[data-route="blackMarlinHome"] .activity-log-link {
  flex: 0 0 auto !important;
  margin-top: 14px !important;
}

body[data-route="blackMarlinHome"] .activity-list article:not(.activity-empty) {
  position: static !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  grid-template-areas:
    "icon meta"
    "icon title"
    "icon detail" !important;
  column-gap: 14px !important;
  align-items: start !important;
  min-height: 0 !important;
  padding: 14px 0 !important;
  border-left: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body[data-route="blackMarlinHome"] .activity-list article:not(.activity-empty) + article:not(.activity-empty) {
  margin-top: 0 !important;
}

body[data-route="blackMarlinHome"] .activity-list article:not(.activity-empty) i {
  grid-area: icon !important;
  position: static !important;
  width: 44px !important;
  height: 44px !important;
  margin-top: 4px !important;
  border-radius: 14px !important;
  font-size: 12px !important;
}

body[data-route="blackMarlinHome"] .activity-list article:not(.activity-empty) span {
  grid-area: meta !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: var(--bm-muted) !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em !important;
}

body[data-route="blackMarlinHome"] .activity-list article:not(.activity-empty) time {
  float: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: var(--bm-muted) !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

body[data-route="blackMarlinHome"] .activity-list article:not(.activity-empty) strong {
  grid-area: title !important;
  display: block !important;
  min-width: 0 !important;
  margin: 8px 0 0 !important;
  color: var(--bm-text) !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-route="blackMarlinHome"] .activity-list article:not(.activity-empty) small {
  grid-area: detail !important;
  display: -webkit-box !important;
  min-width: 0 !important;
  margin: 6px 0 0 !important;
  color: var(--bm-muted) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  body[data-route="blackMarlinHome"] .activity-panel {
    height: 390px !important;
    max-height: 390px !important;
  }
}

/* Logout/auth reset: show a clean login screen, never the locked dashboard shell. */
body.admin-locked[data-route="blackMarlinHome"] .command-shell {
  display: block !important;
  min-height: 100vh !important;
  padding: 28px clamp(18px, 4vw, 56px) 96px !important;
}

body.admin-locked[data-route="blackMarlinHome"] .command-topbar {
  display: flex !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.admin-locked[data-route="blackMarlinHome"] .command-session .admin-logout,
body.admin-locked[data-route="blackMarlinHome"] .command-session .session-user,
body.admin-locked[data-route="blackMarlinHome"] .command-menu,
body.admin-locked[data-route="blackMarlinHome"] .public-welcome,
body.admin-locked[data-route="blackMarlinHome"] .command-hero,
body.admin-locked[data-route="blackMarlinHome"] .module-board,
body.admin-locked[data-route="blackMarlinHome"] .activity-panel,
body.admin-locked[data-route="blackMarlinHome"] .shoot-calendar-panel,
body.admin-locked[data-route="blackMarlinHome"] .spline-bot-strip,
body.admin-locked[data-route="blackMarlinHome"] .admin-welcome-card {
  display: none !important;
}

body.admin-locked[data-route="blackMarlinHome"] .command-layout {
  display: block !important;
  width: min(520px, calc(100vw - 36px)) !important;
  min-height: 0 !important;
  margin: clamp(42px, 10vh, 110px) auto 0 !important;
  padding: 0 !important;
}

body.admin-locked[data-route="blackMarlinHome"] .command-side {
  display: block !important;
  width: 100% !important;
  pointer-events: auto !important;
}

body.admin-locked[data-route="blackMarlinHome"] .command-side .admin-access-panel,
body.admin-locked[data-route="blackMarlinHome"] .admin-access-panel,
body.admin-locked[data-route="blackMarlinHome"] .admin-login-card {
  display: block !important;
}

body.admin-locked[data-route="blackMarlinHome"] .admin-login-card {
  width: 100% !important;
  min-height: 0 !important;
  padding: 28px !important;
  border-radius: 24px !important;
}

body.admin-locked[data-route="blackMarlinHome"] .admin-login-card[hidden] {
  display: none !important;
}
