/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --panel:   #161616;
  --border:  #2a2a2a;
  --mid:     #888888;
  --light:   #cccccc;
  --white:   #f0ede8;
  --gold:    #C9A86C;
  --gold-lt: #DFC08A;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--black);
  color: var(--light);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ─── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
}
.site-header div {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--dark);
  width: 100%;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 5%;
  display: block;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(10,10,10,0.75) 35%, rgba(10,10,10,0.15) 100%),
    linear-gradient(to top, rgba(10,10,10,1) 0%, transparent 55%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 2.5rem 3rem;
  max-width: 900px;
}
.hero-tagline { display: none; }
.hero-tagline p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.5rem;
}
.hero-tagline h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.05;
  opacity: 0.35;
}

/* ─── TITLE BLOCK ────────────────────────────────────────────── */
.title-block {
  background: var(--black);
  padding: 3rem 2.5rem 0;
  max-width: 900px;
  margin: 0 auto;
}
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.film-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.meta-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.meta-value {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
}

/* ─── TAB NAV ────────────────────────────────────────────────── */
.tab-nav {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.tab-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  gap: 0;
}
.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 1.1rem 1.5rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--light); }
.tab-btn.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

/* ─── TAB PANELS ─────────────────────────────────────────────── */
.tab-content { background: var(--black); min-height: 60vh; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.panel-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2.5rem 6rem;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-desc {
  font-size: 15px;
  color: #aaaaaa;
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3.5rem;
}

/* ─── STATS GRID ─────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 4rem;
}
.stat-card {
  background: var(--panel);
  padding: 2rem;
}
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-sub {
  font-size: 12px;
  color: #999999;
  line-height: 1.4;
}

/* ─── CHANNEL TABLE ──────────────────────────────────────────── */
.channel-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.channel-table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.channel-table td {
  padding: 0.9rem 1rem;
  font-size: 14px;
  color: #cccccc;
  border-bottom: 1px solid var(--border);
}
.channel-table tr:last-child td { border-bottom: none; }
.channel-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ─── STATUS BADGES ──────────────────────────────────────────── */
.status-live {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6db87a;
  background: rgba(109,184,122,0.12);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
}
.status-upcoming {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184,149,90,0.12);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
}
.status-pending {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8eb4d4;
  background: rgba(142,180,212,0.12);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
}
.status-complete {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  background: rgba(255,255,255,0.06);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
}

/* ─── CHANNEL BLOCKS (AUDIO) ─────────────────────────────────── */
.channel-block {
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}
.channel-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}
.channel-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.channel-meta {
  font-size: 12px;
  color: var(--mid);
  flex: 1;
}

.spots-group {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  max-width: 100%;
}
.spots-group:last-child { border-bottom: none; }
.spots-group-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.spot-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.spot-row:last-child { border-bottom: none; padding-bottom: 0; }
.spot-info { flex: 1; }
.spot-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.spot-desc {
  font-size: 11px;
  color: var(--mid);
}

/* ─── AUDIO PLAYER ───────────────────────────────────────────── */
audio { display: none; }

.custom-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 300px;
  flex-shrink: 0;
}
.play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  font-size: 11px;
  padding-left: 2px;
}
.play-btn:hover { background: var(--gold); color: var(--black); }
.play-btn.playing { background: var(--gold); color: var(--black); }
.player-track {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.player-progress {
  width: 100%;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  cursor: pointer;
  position: relative;
}
.player-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 1px;
  width: 0%;
  pointer-events: none;
}
.player-time {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--mid);
}

/* ─── PLACEHOLDER ────────────────────────────────────────────── */
.placeholder-block .channel-header {
  border-bottom: none;
}
.placeholder-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #666666;
  padding: 1.5rem 1.5rem 0;
}
.placeholder-note {
  padding: 0.75rem 1.5rem 2rem;
  font-size: 13px;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0;
  text-transform: none;
  color: #555555;
  text-align: left;
  line-height: 1.6;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  max-width: 100%;
}

/* ─── PREVIEW GRID ───────────────────────────────────────────── */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.preview-item img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
}
.preview-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 0.5rem;
}

/* ─── MAP EMBED ──────────────────────────────────────────────── */
.map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
}
.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── WEEK SUB-BLOCK ─────────────────────────────────────────── */
.week-block {
  border-top: 1px solid var(--border);
}
.week-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  background: rgba(201, 168, 108, 0.04);
  border-bottom: 1px solid var(--border);
}
.week-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.week-dates {
  font-size: 11px;
  color: var(--mid);
  flex: 1;
  letter-spacing: 0.04em;
}

/* ─── COLLAPSE TOGGLE (Location Lists) ──────────────────────── */
.collapse-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  color: var(--mid);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.collapse-toggle:hover:not([disabled]) {
  color: var(--gold);
  border-color: var(--gold);
}
.collapse-toggle .toggle-arrow {
  font-size: 9px;
  transition: transform 0.2s;
}
.collapse-toggle.open .toggle-arrow {
  transform: rotate(180deg);
}
.collapse-content {
  display: none;
  margin-top: 14px;
}
.collapse-content.open {
  display: block;
}

@media (max-width: 700px) {
  .preview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .spot-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .audio-player { width: 100%; }
  .site-header {
    background: rgba(10,10,10,0.98);
    padding: 0.75rem 1.25rem;
  }
  .hero {
    height: 42vh;
    min-height: 260px;
    margin-top: 44px;
  }
  .hero-img {
    object-position: 60% 0%;
  }
  .tab-nav {
    top: 44px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tab-nav-inner { padding: 0 1rem; min-width: max-content; max-width: none; margin: 0; }
  .film-title { letter-spacing: 0.15em; }
  .panel-inner { padding: 3rem 1.25rem 5rem; }
  .title-block { padding: 2rem 1.25rem 0; }
  .site-footer { flex-direction: column; gap: 0.5rem; }
  .channel-header {
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .channel-name {
    width: 100%;
  }
  .channel-meta {
    flex: 1 1 100%;
    line-height: 1.5;
  }
  .channel-header > .status-live,
  .channel-header > .status-complete,
  .channel-header > .status-upcoming,
  .channel-header > .status-pending {
    align-self: flex-start;
  }

  /* ── Run log: keep date/time/length cells from wrapping ── */
  .run-log-table td:nth-child(1),
  .run-log-table td:nth-child(2),
  .run-log-table td:nth-child(3) {
    white-space: nowrap;
  }
  /* Wild-posting list (3-col: # / Neighborhood / Address) — let the address wrap */
  .run-log-table.wildposting-list td:nth-child(3) {
    white-space: normal;
  }

  /* ── Channel Mix table → card layout (6 cols don't fit) ── */
  .channel-mix-table thead { display: none; }
  .channel-mix-table tbody { display: block; }
  .channel-mix-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }
  .channel-mix-table tr:last-child { border-bottom: none; }
  .channel-mix-table td {
    display: block;
    padding: 0;
    border-bottom: none;
    font-size: 12px;
    white-space: normal;
  }
  /* Channel name — full row, prominent */
  .channel-mix-table td:nth-child(1) {
    grid-column: 1 / -1;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  /* Metric cells with inline labels via ::before */
  .channel-mix-table td:nth-child(2)::before { content: 'Impressions · '; color: var(--gold); font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
  .channel-mix-table td:nth-child(3)::before { content: 'Clicks · '; color: var(--gold); font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
  .channel-mix-table td:nth-child(4)::before { content: 'CTR · '; color: var(--gold); font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
  .channel-mix-table td:nth-child(5)::before { content: 'Spend · '; color: var(--gold); font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
  /* Notable column — full row, italic, muted */
  .channel-mix-table td:nth-child(6) {
    grid-column: 1 / -1;
    color: var(--mid);
    font-style: italic;
    font-size: 11px;
    margin-top: 0.15rem;
  }

  /* ── Mobile table → card layout ── */
  .channel-table thead { display: none; }
  .channel-table tbody { display: block; }
  .channel-table tr {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    gap: 0.35rem;
  }
  .channel-table tr:last-child { border-bottom: none; }
  .channel-table td {
    display: block;
    padding: 0;
    border-bottom: none;
    font-size: 13px;
  }
  /* Channel name — prominent */
  .channel-table td:nth-child(1) {
    font-weight: 500;
    color: var(--white);
    font-size: 14px;
  }
  /* Partner — gold, small */
  .channel-table td:nth-child(2) {
    color: var(--gold);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  /* Flight + Investment — inline on one line */
  .channel-table td:nth-child(3),
  .channel-table td:nth-child(4) {
    display: inline;
    color: var(--mid);
    font-size: 12px;
  }
  .channel-table td:nth-child(3)::after {
    content: ' · ';
    color: var(--border);
  }
  /* Status — full width */
  .channel-table td:nth-child(5) {
    margin-top: 0.25rem;
  }
}

/* ─── LIGHTBOX ───────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}
.lightbox-caption {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
}
.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--mid);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }
.preview-item img {
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.preview-item img:hover { opacity: 0.85; }

/* ─── RUN LOG TABLE ──────────────────────────────────────────── */
.run-log-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 12px;
}
.run-log-table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.run-log-table td {
  padding: 0.5rem 0.75rem;
  color: var(--light);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
}
.run-log-table tr.date-row td {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 108, 0.06);
  padding: 0.55rem 0.75rem;
  border-top: 1px solid rgba(201, 168, 108, 0.25);
  border-bottom: 1px solid rgba(201, 168, 108, 0.25);
}
.run-log-table tr.total-row td {
  background: rgba(201, 168, 108, 0.08);
  color: var(--gold);
  font-size: 13px;
  padding: 0.7rem 0.75rem;
  border-top: 1px solid var(--gold);
  border-bottom: none;
}
.run-log-table tr.total-row:hover td { background: rgba(201, 168, 108, 0.12); }
.run-log-table tr:last-child td { border-bottom: none; }
.run-log-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ─── CHANNEL LOGOS ──────────────────────────────────────────── */
.channel-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
}

/* Script toggle */
.script-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: none;
  border: 1px solid var(--border);
  color: var(--mid);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.script-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.script-toggle .toggle-arrow {
  font-size: 9px;
  transition: transform 0.2s;
}
.script-toggle.open .toggle-arrow {
  transform: rotate(180deg);
}
.script-text {
  display: none;
  margin-top: 10px;
  padding: 14px 16px;
  background: #111;
  border-left: 2px solid var(--gold);
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #aaa;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.script-text.open {
  display: block;
}

/* Lightbox navigation */
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(201, 168, 108, 0.4);
  color: var(--gold);
  font-size: 24px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(201, 168, 108, 0.1);
  border-color: var(--gold);
}

/* KPI table Total Spend divider */
.run-log-table tr:last-child td {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
