@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700;900&family=IBM+Plex+Mono:wght@400;500;700&display=swap");

:root {
  color-scheme: dark;
  --ink: #ece8dd;
  --paper: #e5ded1;
  --muted: #aaa59b;
  --dim: #77746c;
  --void: #050606;
  --panel: #090b0b;
  --panel-2: #101312;
  --line: #3a3d3b;
  --acid: #36c7e7;
  --ember: #ff552f;
  --cyan: #36c7e7;
  --gold: #d7a928;
  --rose: #ff5b75;
  --ok: #36c7e7;
  --warn: #d7a928;
  --radius: 2px;
  --shadow: 0 18px 52px rgba(0, 0, 0, .46);
  --font-display: "Barlow Condensed", "Impact", "Haettenschweiler", sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", "Consolas", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

body {
  background:
    linear-gradient(90deg, rgba(244, 240, 231, .035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(244, 240, 231, .026) 1px, transparent 1px) 0 0 / 72px 72px,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .026) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 22% 8%, rgba(53, 200, 230, .12), transparent 30%),
    radial-gradient(circle at 84% 0, rgba(255, 100, 47, .14), transparent 28%),
    #050605 !important;
  color: var(--ink);
  font-family: var(--font-mono) !important;
}

body::before {
  opacity: .28 !important;
  background:
    repeating-linear-gradient(90deg, transparent 0 19px, rgba(191, 255, 24, .04) 20px, transparent 21px),
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(244, 240, 231, .025) 14px, transparent 15px) !important;
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(244, 240, 231, .08) 28.05%, transparent 28.1% 54%, rgba(244, 240, 231, .05) 54.05%, transparent 54.1%),
    repeating-linear-gradient(-2deg, rgba(244, 240, 231, .018) 0 1px, transparent 1px 11px);
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 2px solid rgba(54, 199, 231, .92);
  outline-offset: 3px;
}

.shell {
  width: min(1500px, calc(100% - 36px)) !important;
  padding-top: 18px !important;
}

.site-nav,
.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(244, 240, 231, .16);
  padding-bottom: 14px;
}

.site-nav .nav-group,
.primary-nav .nav-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.site-nav::before,
.primary-nav::before {
  content: "BASEMENT DISPATCH";
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: .85;
  text-transform: uppercase;
  max-width: 132px;
}

.primary-nav::before {
  margin-right: 16px;
}

.nav-link,
.tag,
.pill,
.hero-button,
.quick-filter,
.export-button,
.route-button,
.modal-back-button,
.button-link,
.close,
.card-link,
.planner-action,
.action-button,
.live-room-toolbar a,
.live-room-action,
.live-room-signal,
.live-room-handoff,
.mini-link,
.remove-button,
.button,
.ghost,
.small-button,
.review-button,
.tab-button,
.source-link,
.listen-source,
.tracker-source-row a,
.calendar-shell [data-window-shortcut],
.month-button {
  min-width: 34px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  border-color: rgba(244, 240, 231, .22) !important;
  background: rgba(7, 8, 7, .82) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .36);
  color: var(--muted) !important;
  font-family: var(--font-display);
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1;
  padding: 8px 11px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.tag:hover,
.pill[href]:hover,
.hero-button.primary,
.hero-button:hover,
.quick-filter:hover,
.quick-filter.active,
.route-button.active,
.route-button:hover,
.modal-back-button,
.modal-back-button:hover,
.modal-back-button:focus-visible,
.button-link.primary,
.card-link.primary,
.planner-action:hover:not(:disabled),
.action-button.primary,
.action-button:hover:not(:disabled),
.live-room-toolbar a:hover,
.live-room-action:hover,
.live-room-action.active,
.live-room-signal:hover,
.live-room-handoff:hover,
.mini-link:hover,
.remove-button:hover,
.button.primary,
.button:hover,
.ghost:hover,
.small-button:hover,
.review-button:hover,
.tab-button:hover,
.tab-button.active,
.listen-source:hover,
.tracker-source-row a:hover,
.calendar-shell [data-window-shortcut]:hover,
.month-button:hover,
.month-button.active {
  color: var(--void) !important;
  border-color: var(--cyan) !important;
  background: var(--cyan) !important;
  transform: none !important;
}

.nav-beta {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  color: inherit;
  font-family: var(--font-mono);
  font-size: .62em;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
  opacity: .72;
}

.modal-content {
  position: relative;
}

.modal-back-button {
  position: sticky;
  top: -1px;
  z-index: 6;
  width: max-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -4px 0 14px;
  padding: 10px 14px;
  cursor: pointer;
}

.hero-button.secondary,
.button-link.secondary,
.card-link.secondary,
.ghost {
  color: var(--cyan) !important;
  border-color: rgba(53, 200, 230, .5) !important;
}

.shell > *,
.panel,
.directory,
.profile-panel,
.roster-section,
.matrix-card,
.operator-card,
.lead-row,
.empty-state,
.modal-card,
.event-card,
.card,
.dj-card,
.wall-card,
.love-card,
.live-room-card,
.controls,
.stats,
.status-bar,
.bottom-dispatch-bar {
  min-width: 0;
}

.share-box[aria-hidden="true"] {
  position: fixed !important;
  inset: 0 auto auto 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  padding: 0 !important;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-100vw, -100vh);
}

.kicker,
.control-kicker,
.decision-card span,
.panel-title,
.operator-card span {
  color: var(--acid) !important;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

.kicker::before {
  background: var(--cyan) !important;
  box-shadow: none !important;
}

h1,
.headline h1,
.hero h1,
.topbar h1 {
  max-width: 980px;
  color: var(--paper);
  font-family: var(--font-display) !important;
  font-size: clamp(58px, 8.7vw, 124px) !important;
  font-weight: 900;
  line-height: .82 !important;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .88);
}

h2,
.control-title,
.section-heading h2,
.panel h2,
.directory-head h2,
.section-head h2,
.panel-header h2,
.panel-header h3,
.month-header h2 {
  font-family: var(--font-display) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.subhead {
  max-width: 760px !important;
  color: var(--paper) !important;
  font-size: 16px !important;
}

.topbar,
.hero,
.planner-head {
  border-bottom: 1px solid rgba(244, 240, 231, .18) !important;
}

.headline,
.hero-panel,
.hero-picture {
  border-radius: 0 !important;
  border: 1px solid rgba(244, 240, 231, .2) !important;
  box-shadow: none !important;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 9px),
    #0a0c0b !important;
}

.hero-picture img {
  filter: grayscale(.86) contrast(1.35) brightness(.78) !important;
  opacity: .95 !important;
}

.calendar-shell .hero-picture img {
  filter: saturate(1.18) contrast(1.08) brightness(.92) !important;
  opacity: 1 !important;
}

.hero-picture::after,
.hero-picture figcaption {
  border-radius: 0 !important;
  color: var(--acid) !important;
  border-color: rgba(244, 240, 231, .26) !important;
  background: rgba(5, 6, 5, .82) !important;
  font-family: var(--font-display);
  font-size: 18px !important;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel {
  padding: 24px !important;
}

.hero-panel::before {
  opacity: .5;
}

.hero-panel b,
.hero-panel span {
  color: var(--paper) !important;
  font-family: var(--font-display) !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .82);
}

.stats,
.status-bar {
  border: 1px solid rgba(244, 240, 231, .18);
  background: rgba(5, 6, 5, .58);
  gap: 0 !important;
}

.stat,
.metric {
  border-radius: 0 !important;
  border-width: 0 1px 0 0 !important;
  border-color: rgba(244, 240, 231, .18) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.stat:last-child,
.metric:last-child {
  border-right: 0 !important;
}

.stat::before,
.metric::before {
  display: none !important;
}

.stat b,
.metric b {
  color: var(--cyan) !important;
  font-family: var(--font-display) !important;
  font-size: clamp(34px, 4.6vw, 56px) !important;
  font-weight: 900;
}

.stat span,
.metric span {
  font-family: var(--font-display);
  font-size: 14px !important;
  font-weight: 700;
  text-transform: uppercase;
}

.decision-strip {
  border-top: 1px solid rgba(244, 240, 231, .16);
  border-bottom: 1px solid rgba(244, 240, 231, .16);
  padding: 12px 0;
}

.decision-card,
.panel,
.directory,
.profile-panel,
.roster-section,
.matrix-card,
.operator-card,
.lead-row,
.empty-state,
.modal-card {
  border-radius: 0 !important;
  border-color: rgba(244, 240, 231, .2) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, .08)),
    rgba(9, 11, 10, .88) !important;
  box-shadow: none !important;
}

.decision-card:hover,
.decision-card.active,
.lead-row:hover,
.lead-row.active {
  border-color: var(--ember) !important;
  background:
    linear-gradient(180deg, rgba(255, 100, 47, .08), rgba(0, 0, 0, .08)),
    rgba(9, 11, 10, .92) !important;
}

.controls {
  border-radius: 0 !important;
  border-color: rgba(244, 240, 231, .22) !important;
  background: rgba(5, 6, 5, .9) !important;
  box-shadow: 0 1px 0 rgba(244, 240, 231, .12);
}

.filter-summary,
.count-badge,
.count-pill,
.chip,
.source-pill,
.status-pill,
.add-state,
.set-status {
  border-radius: 0 !important;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
}

.search,
.select,
textarea,
input {
  border-radius: 0 !important;
  border-color: rgba(244, 240, 231, .24) !important;
  background: rgba(6, 7, 6, .92) !important;
  color: var(--paper) !important;
  font-family: var(--font-mono);
}

.search,
.select,
textarea,
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  min-height: 40px;
  padding: 9px 11px;
  line-height: 1.2;
}

.search:focus,
.select:focus,
textarea:focus,
input:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 2px rgba(53, 200, 230, .2) !important;
}

.venue-filter-field,
.month-select-field {
  position: relative;
}

.month-select-field {
  min-width: 0;
}

.multi-select {
  position: relative;
  min-width: 0;
}

.multi-select-toggle {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.multi-select-toggle::after {
  content: "v";
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
}

.multi-select.open .multi-select-toggle::after {
  content: "^";
}

.multi-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  width: min(360px, calc(100vw - 44px));
  max-height: 320px;
  display: none;
  overflow: auto;
  border: 1px solid rgba(244, 240, 231, .2);
  background: #080908;
  box-shadow: var(--shadow);
  padding: 8px;
}

.multi-select.open .multi-select-menu {
  display: grid;
  gap: 4px;
}

.multi-select-clear,
.multi-select-option {
  min-height: 36px;
  display: grid;
  align-items: center;
  border: 1px solid rgba(244, 240, 231, .12);
  color: var(--muted);
  background: rgba(244, 240, 231, .025);
  padding: 8px 9px;
  font-size: 12px;
  line-height: 1.2;
}

.multi-select-clear {
  width: 100%;
  cursor: pointer;
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.multi-select-option {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  cursor: pointer;
}

.multi-select-option.other-option {
  border-color: rgba(215, 169, 40, .34);
}

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

.multi-select-option span {
  min-width: 0;
  overflow: hidden;
  color: var(--paper) !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none !important;
}

.multi-select-option b {
  color: var(--dim);
  font-size: 11px;
}

.month-rail {
  border: 1px solid rgba(244, 240, 231, .18);
  background: rgba(5, 6, 5, .72);
  gap: 0 !important;
  padding: 0;
}

.month-button {
  min-height: 48px !important;
  border-width: 0 1px 0 0 !important;
}

.month-button:last-child {
  border-right: 0 !important;
}

.month-button.active,
.month-button:hover {
  background: var(--cyan) !important;
  border-color: var(--cyan) !important;
}

.month-header {
  border-top: 1px solid rgba(244, 240, 231, .18);
  padding-top: 18px;
}

.month-code {
  border-radius: 0 !important;
  color: var(--void) !important;
  background: var(--paper) !important;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.calendar-grid {
  gap: 0 !important;
  border: 1px solid rgba(244, 240, 231, .18);
  background: rgba(5, 6, 5, .68);
}

.calendar-week-grid {
  grid-template-columns: minmax(150px, 220px) repeat(var(--calendar-columns, 7), minmax(116px, 1fr)) !important;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.calendar-day-name,
.calendar-day,
.calendar-venue-heading,
.calendar-venue-label {
  border-radius: 0 !important;
}

.calendar-day-name {
  padding: 8px !important;
  border-right: 1px solid rgba(244, 240, 231, .12);
  color: var(--muted) !important;
  font-family: var(--font-display);
  font-size: 14px !important;
}

.calendar-day-name b {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
}

.calendar-venue-heading,
.calendar-venue-label {
  min-width: 0;
  border: 1px solid rgba(244, 240, 231, .14);
  background: rgba(9, 11, 10, .78);
  padding: 8px;
}

.calendar-venue-heading {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-venue-label {
  display: grid;
  align-content: start;
  gap: 5px;
}

.calendar-venue-label b,
.calendar-venue-label small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.calendar-venue-label b {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
}

.calendar-venue-label small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.calendar-day {
  border-width: 1px 1px 0 0 !important;
  border-color: rgba(244, 240, 231, .14) !important;
  background: rgba(9, 11, 10, .72) !important;
}

.calendar-day.has-event {
  background: rgba(12, 16, 15, .92) !important;
}

.calendar-event {
  border-radius: 0 !important;
  border-color: rgba(53, 200, 230, .45) !important;
  background: rgba(53, 200, 230, .1) !important;
}

.calendar-event:hover {
  color: var(--void) !important;
  background: var(--cyan) !important;
}

#calendar .cards,
.wide-card-rail .cards {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 292px);
  gap: 10px !important;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(244, 240, 231, .18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, .1)),
    rgba(5, 6, 5, .76);
}

#calendar .cards::before,
.wide-card-rail .cards::before {
  content: "POSTER EVIDENCE (NOT OFFICIAL)";
  position: sticky;
  left: 0;
  z-index: 2;
  align-self: start;
  width: 180px;
  min-height: 100%;
  display: grid;
  place-items: start;
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  line-height: .94;
  text-transform: uppercase;
  background: rgba(5, 6, 5, .92);
  border-right: 1px solid rgba(244, 240, 231, .18);
  padding: 8px 12px 8px 0;
}

.event-card,
.card,
.dj-card {
  border-radius: 0 !important;
  border-color: rgba(244, 240, 231, .2) !important;
  background: #090b0a !important;
  box-shadow: none !important;
}

.event-card {
  scroll-snap-align: start;
}

.event-card:hover,
.card:hover,
.dj-card:hover,
.dj-card.active {
  border-color: var(--cyan) !important;
  transform: none !important;
}

.poster {
  aspect-ratio: 3 / 4 !important;
  border-bottom: 1px solid rgba(244, 240, 231, .18);
  background: #050605 !important;
}

.event-card.has-event-poster .poster img {
  width: 100% !important;
}

.poster .tag {
  border-radius: 0 !important;
  color: var(--void) !important;
  background: var(--cyan) !important;
  font-family: var(--font-display);
  font-size: 14px !important;
  text-transform: uppercase;
}

.event-card h3,
.card h3,
.lead-title b,
.slot-main b,
.profile-title h2 {
  font-family: var(--font-display) !important;
  font-weight: 900;
  text-transform: uppercase;
}

#calendar .event-card .description,
#calendar .event-card .lineup-preview,
#calendar .event-card .set-preview {
  display: none;
}

.card-body,
.panel-body,
.profile-body {
  background: transparent !important;
}

.card-top,
.venue,
.meta,
.row-count,
.source-official,
.status-exact,
.status-official {
  color: var(--cyan) !important;
}

.confidence-high,
.source-official,
.status-exact,
.status-official {
  color: var(--void) !important;
  background: var(--cyan) !important;
  border-color: var(--cyan) !important;
}

.confidence-medium,
.source-secondary,
.status-secondary {
  color: var(--void) !important;
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}

.confidence-watch,
.status-watchlist,
.status-tba {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
}

.watch-panel {
  border-radius: 0 !important;
  border-color: var(--ember) !important;
  background:
    repeating-linear-gradient(-8deg, rgba(255, 100, 47, .08) 0 1px, transparent 1px 11px),
    rgba(10, 8, 7, .92) !important;
}

.route-card {
  border-left-color: var(--cyan) !important;
}

.section-heading {
  border-top-color: rgba(244, 240, 231, .18) !important;
}

.card-visual {
  border-bottom-color: rgba(244, 240, 231, .18) !important;
  background:
    linear-gradient(135deg, var(--accent), rgba(5, 6, 5, .15) 44%, rgba(5, 6, 5, .96)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 10px) !important;
}

.card-visual strong,
.card-visual span {
  border-radius: 0 !important;
  font-family: var(--font-display) !important;
  text-transform: uppercase;
}

.directory-row,
.slot-row,
.itinerary-row,
.watch-row,
.note-row,
.fact,
.event-row,
.world-itinerary-row,
.tracker-source-row,
.source-row {
  border-radius: 0 !important;
  border-color: rgba(244, 240, 231, .16) !important;
  background: rgba(5, 6, 5, .42) !important;
}

.profile-hero {
  background:
    linear-gradient(120deg, rgba(53, 200, 230, .12), transparent 42%),
    linear-gradient(18deg, rgba(255, 100, 47, .12), transparent 62%),
    #090b0a !important;
}

.avatar-small,
.profile-avatar,
.card-avatar {
  border-radius: 0 !important;
  filter: grayscale(.45) contrast(1.18);
}

.operator-strip {
  border: 1px solid rgba(244, 240, 231, .16);
  padding: 8px;
  background: rgba(5, 6, 5, .6);
}

.panel-header,
.directory-head,
.section-head {
  border-bottom-color: rgba(244, 240, 231, .16) !important;
}

.footnotes {
  border-top-color: rgba(244, 240, 231, .18) !important;
}

.bottom-dispatch-bar {
  display: grid;
  grid-template-columns: 200px minmax(170px, 1fr) minmax(170px, 1fr) minmax(240px, 1.45fr) 170px 220px;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(229, 222, 209, .28) !important;
  color: var(--paper) !important;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 28px),
    rgba(5, 6, 6, .8);
  padding: 0 !important;
}

.bottom-dispatch-bar .bar-cell {
  min-width: 0;
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  border-right: 1px solid rgba(229, 222, 209, .24);
  padding: 13px 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: normal;
  line-height: 1.28;
}

.bottom-dispatch-bar .bar-cell:last-child {
  border-right: 0;
}

.bottom-dispatch-bar a {
  color: var(--paper);
  text-decoration: none;
}

.bottom-dispatch-bar a:hover {
  color: var(--cyan);
}

.bottom-dispatch-bar .update-cell {
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: var(--ember);
  text-transform: uppercase;
}

.footer-alert-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ember);
  clip-path: polygon(50% 5%, 96% 92%, 4% 92%);
  color: var(--ember);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  padding-top: 11px;
}

.bottom-dispatch-bar strong {
  color: var(--ember);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.bottom-dispatch-bar .contact-copy span:first-child {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.bottom-dispatch-bar .contact-cell {
  padding: 10px 14px;
}

.bottom-dispatch-bar .contact-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: var(--muted);
}

.bottom-dispatch-bar .contact-card-link:hover {
  color: var(--paper);
}

.bottom-dispatch-bar .contact-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bottom-dispatch-bar .contact-copy b {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}

.bottom-dispatch-bar .contact-copy em {
  width: max-content;
  max-width: 100%;
  border-left: 5px solid #ff2442;
  color: var(--cyan);
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
  padding-left: 7px;
}

.bottom-dispatch-bar .contact-card-link img {
  width: 54px;
  aspect-ratio: 1;
  border: 1px solid rgba(229, 222, 209, .34);
  background: #fff;
  object-fit: cover;
  object-position: 79% 82%;
}

.bottom-dispatch-bar .source-cell {
  justify-items: center;
  align-content: center;
}

.bottom-dispatch-bar .ops-cell {
  align-content: center;
  color: var(--paper) !important;
  text-decoration: none;
}

.bottom-dispatch-bar .ops-cell span {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.bottom-dispatch-bar .ops-cell b {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: .96;
  text-transform: uppercase;
}

.bottom-dispatch-bar .ops-cell:hover {
  background: rgba(54, 199, 231, .12);
}

.admin-corner {
  box-sizing: border-box;
  position: fixed;
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 30;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(229, 222, 209, .18);
  border-radius: 4px;
  color: rgba(229, 222, 209, .48);
  background: rgba(8, 10, 9, .72);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  opacity: .56;
  transition: opacity .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}

.admin-corner:hover,
.admin-corner:focus-visible {
  color: var(--paper);
  border-color: rgba(54, 199, 231, .52);
  background: rgba(8, 10, 9, .94);
  opacity: 1;
}

.bottom-dispatch-bar .source-cell span {
  min-width: 142px;
  display: block;
  border: 1px solid rgba(229, 222, 209, .36);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  line-height: .96;
  padding: 3px 9px;
  text-align: center;
  text-transform: uppercase;
}

.bottom-dispatch-bar .source-cell span + span {
  margin-top: -1px;
}

@media (max-width: 1180px) {
  #calendar .cards {
    grid-auto-columns: minmax(210px, 38vw);
  }

  .bottom-dispatch-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottom-dispatch-bar .bar-cell {
    border-right: 1px solid rgba(229, 222, 209, .24);
    border-bottom: 1px solid rgba(229, 222, 209, .18);
  }
}

@media (max-width: 860px) {
  .shell {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .site-nav::before,
  .primary-nav::before {
    width: 100%;
    max-width: none;
    margin-right: 0;
    font-size: 28px;
  }

  h1,
  .headline h1,
  .hero h1,
  .topbar h1 {
    font-size: clamp(46px, 17vw, 72px) !important;
  }

  .stats,
  .status-bar {
    gap: 0 !important;
  }

  .stat,
  .metric {
    border-width: 0 0 1px 0 !important;
  }

  .stat:last-child,
  .metric:last-child {
    border-bottom: 0 !important;
  }

  #calendar .cards {
    grid-auto-columns: minmax(218px, 78vw);
    padding: 10px;
  }

  #calendar .cards::before {
    width: 112px;
    font-size: 15px;
  }

  .bottom-dispatch-bar {
    grid-template-columns: 1fr;
  }

  .bottom-dispatch-bar .bar-cell {
    min-height: 66px;
    border-right: 0;
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .shell,
  .topbar,
  .primary-nav,
  .site-nav,
  .hero,
  .planner-head,
  .subhead,
  .source-note,
  .controls,
  .section-heading {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .month-rail {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .planner-head .subhead,
  .planner-head .source-note,
  .headline .subhead,
  .headline .source-note {
    width: 100% !important;
    max-width: 100% !important;
  }

  #calendar .cards {
    grid-auto-columns: minmax(212px, 82vw);
  }
}

/* Secondary pages: reuse the calendar page's Basement Dispatch visual system. */
body:has(.dispatch-shell) {
  background:
    radial-gradient(circle at 44% 8%, rgba(255, 255, 255, .035), transparent 36%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .026) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 34px),
    #050606 !important;
}

body:has(.dispatch-shell)::before {
  opacity: .44 !important;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .09), transparent 18%),
    radial-gradient(circle at 68% 8%, rgba(255, 255, 255, .055), transparent 20%),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 17px) !important;
  mix-blend-mode: screen;
}

.dispatch-shell {
  width: min(1480px, calc(100% - 44px)) !important;
  padding-top: 16px !important;
}

.dispatch-shell > .site-nav,
.dispatch-shell > .primary-nav {
  margin: 0 0 22px;
  padding: 0 0 8px;
  border-bottom: 0;
}

.dispatch-shell > .site-nav > span {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.dispatch-shell .hero,
.dispatch-shell .planner-head,
.dispatch-shell .wall-head,
.dispatch-shell .topbar,
.dispatch-shell .event-hero {
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(229, 222, 209, .18) !important;
  padding-bottom: 24px;
}

.dispatch-shell .wall-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: end;
}

.dispatch-shell .wall-copy,
.dispatch-shell .lede {
  color: var(--paper) !important;
  font-size: 16px !important;
  line-height: 1.45;
}

.dispatch-shell .event-detail {
  border-top: 0 !important;
  padding-top: 0 !important;
}

.dispatch-shell .event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 24px;
  align-items: start;
}

.dispatch-shell .event-hero figure {
  margin: 0;
}

.dispatch-shell .event-hero img {
  aspect-ratio: 3 / 4;
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(229, 222, 209, .24);
  border-radius: 0;
  background: #050606;
  object-fit: cover;
  filter: grayscale(.32) contrast(1.18) brightness(.78);
}

.dispatch-shell .event-hero figcaption {
  margin-top: 8px;
  color: var(--cyan) !important;
  font-family: var(--font-display);
  font-size: 14px !important;
  font-weight: 900;
  text-transform: uppercase;
}

.dispatch-shell .event-section {
  margin-top: 30px;
  border-top: 1px solid rgba(229, 222, 209, .18);
  padding-top: 18px;
}

.dispatch-shell .event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.dispatch-shell .event-grid .event-card {
  min-height: 156px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 14px;
  text-decoration: none;
}

.dispatch-shell .event-grid .event-card h3,
.dispatch-shell .copy-block h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display) !important;
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}

.dispatch-shell .event-grid .event-card h3 {
  font-size: 24px;
}

.dispatch-shell .event-meta,
.dispatch-shell .crumbs,
.dispatch-shell .source-list,
.dispatch-shell .lineup-list span,
.dispatch-shell .watch-note {
  color: var(--muted) !important;
  font-size: 12px;
  line-height: 1.4;
}

.dispatch-shell .crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.dispatch-shell .facts,
.dispatch-shell .copy-block {
  margin-top: 18px;
}

.dispatch-shell .facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.dispatch-shell .copy-block {
  border: 1px solid rgba(229, 222, 209, .2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, .08)),
    rgba(9, 11, 10, .88);
  padding: 16px;
}

.dispatch-shell .lineup-list,
.dispatch-shell .source-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dispatch-shell .lineup-list li,
.dispatch-shell .source-list li {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(229, 222, 209, .12);
  padding-top: 10px;
}

.dispatch-shell .lineup-list li:first-child,
.dispatch-shell .source-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.dispatch-shell .source-list .source-note {
  width: auto !important;
  max-width: none !important;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.dispatch-shell .bottom-dispatch-bar {
  margin-top: 34px;
}

@media (min-width: 1100px) {
  .dispatch-shell > .site-nav::before,
  .dispatch-shell > .primary-nav::before {
    content: none;
  }

  .dispatch-shell > .site-nav .nav-link,
  .dispatch-shell > .primary-nav .nav-link {
    min-height: 38px;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none;
    color: var(--paper) !important;
    padding: 0 2px;
    font-size: 18px !important;
  }

  .dispatch-shell > .site-nav .nav-link.active,
  .dispatch-shell > .site-nav .nav-link:hover,
  .dispatch-shell > .primary-nav .nav-link.active,
  .dispatch-shell > .primary-nav .nav-link:hover {
    color: var(--cyan) !important;
    border-bottom: 2px solid var(--cyan) !important;
    background: transparent !important;
  }

  .dispatch-shell > .site-nav .tag,
  .dispatch-shell > .site-nav > span,
  .dispatch-shell > .primary-nav .tag {
    min-height: 38px;
    border-color: rgba(229, 222, 209, .45) !important;
    color: var(--paper) !important;
    background: rgba(5, 6, 6, .72) !important;
    padding: 9px 18px;
  }
}

@media (max-width: 860px) {
  .dispatch-shell {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .dispatch-shell > .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
    gap: 8px;
    align-items: center;
    overflow: hidden;
    padding-bottom: 10px;
  }

  .dispatch-shell > .site-nav::before {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: 164px;
    margin-right: 0;
  }

  .dispatch-shell > .primary-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 10px;
  }

  .dispatch-shell > .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .dispatch-shell > .site-nav .nav-group {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .dispatch-shell > .site-nav .nav-group::-webkit-scrollbar {
    display: none;
  }

  .dispatch-shell > .site-nav .nav-link,
  .dispatch-shell > .primary-nav .nav-link {
    flex: 0 0 auto;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(244, 240, 231, .22) !important;
    color: var(--paper) !important;
    background: rgba(7, 8, 7, .82) !important;
    padding: 8px 11px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  .dispatch-shell > .site-nav .nav-link.active,
  .dispatch-shell > .site-nav .nav-link:hover,
  .dispatch-shell > .primary-nav .nav-link.active,
  .dispatch-shell > .primary-nav .nav-link:hover {
    color: var(--void) !important;
    border-color: var(--cyan) !important;
    background: var(--cyan) !important;
  }

  .dispatch-shell > .site-nav .tag,
  .dispatch-shell > .site-nav > span,
  .dispatch-shell > .primary-nav .tag {
    justify-self: end;
    width: max-content;
    max-width: 46vw;
    min-height: 30px !important;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(244, 240, 231, .22) !important;
    background: rgba(7, 8, 7, .82) !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .36);
    color: var(--muted) !important;
    padding: 6px 9px !important;
    font-size: 12px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dispatch-shell > .site-nav .tag,
  .dispatch-shell > .site-nav > span {
    grid-column: 2;
    grid-row: 1;
  }

  .dispatch-shell .event-hero,
  .dispatch-shell .wall-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .calendar-shell {
    overflow: visible !important;
    padding-top: 12px !important;
  }

  .calendar-shell > .primary-nav {
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .calendar-shell > .primary-nav::before {
    min-height: 30px;
    font-size: 25px;
  }

  .calendar-shell > .primary-nav .nav-link {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px !important;
  }

  .calendar-shell .topbar {
    gap: 14px;
    padding-bottom: 16px;
  }

  .calendar-shell .kicker {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .calendar-shell h1 {
    font-size: clamp(54px, 15.6vw, 66px) !important;
    line-height: .84 !important;
  }

  .calendar-shell .dispatch-strip {
    margin: 10px 0 14px;
    font-size: 15px;
  }

  .calendar-shell .subhead {
    font-size: 15px !important;
    line-height: 1.45;
  }

  .calendar-shell .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 16px;
  }

  .calendar-shell .hero-button {
    width: 100%;
    min-height: 40px;
    padding: 8px 9px;
    font-size: 13px !important;
  }

  .calendar-shell .hero-picture {
    max-width: none !important;
    aspect-ratio: 16 / 6 !important;
  }

  .calendar-shell .hero-picture::after {
    inset: auto 8px 8px 8px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .calendar-shell .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 16px 0 18px !important;
  }

  .calendar-shell .stat {
    min-height: 104px;
    border-width: 1px !important;
    padding: 12px;
  }

  .calendar-shell .stat b {
    margin-bottom: 7px;
    font-size: 34px !important;
  }

  .calendar-shell .stat span {
    font-size: 11px !important;
    line-height: 1.22;
  }

  .calendar-shell .highlight-heading {
    gap: 10px;
    align-items: stretch;
  }

  .calendar-shell .highlight-heading span {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 21px;
  }

  .calendar-shell .highlight-view-all {
    min-width: 74px;
    font-size: 13px;
    line-height: 1.05;
    text-align: right;
  }

  .calendar-shell .highlight-heading::after {
    content: none;
  }

  .calendar-shell .highlight-list {
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 76vw);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
  }

  .calendar-shell .highlight-list,
  .calendar-shell .quick-actions,
  .calendar-shell .month-rail {
    scrollbar-color: rgba(54, 199, 231, .78) rgba(229, 222, 209, .12);
    scrollbar-width: thin;
  }

  .calendar-shell .highlight-list::-webkit-scrollbar,
  .calendar-shell .quick-actions::-webkit-scrollbar,
  .calendar-shell .month-rail::-webkit-scrollbar {
    height: 4px;
  }

  .calendar-shell .highlight-list::-webkit-scrollbar-track,
  .calendar-shell .quick-actions::-webkit-scrollbar-track,
  .calendar-shell .month-rail::-webkit-scrollbar-track {
    background: rgba(229, 222, 209, .12);
  }

  .calendar-shell .highlight-list::-webkit-scrollbar-thumb,
  .calendar-shell .quick-actions::-webkit-scrollbar-thumb,
  .calendar-shell .month-rail::-webkit-scrollbar-thumb {
    background: rgba(54, 199, 231, .78);
  }

  .calendar-shell .highlight-card {
    min-height: 318px;
    scroll-snap-align: start;
  }

  .calendar-shell .highlight-card b {
    font-size: 25px;
  }

  .calendar-shell .paper-route {
    margin-top: 10px;
    padding: 14px;
  }

  .calendar-shell .paper-route > p {
    margin-bottom: 8px;
  }

  .calendar-shell .controls {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    margin: 14px 0 12px;
    padding: 10px !important;
  }

  .calendar-shell .control-header {
    grid-column: 1 / -1;
    gap: 10px;
    padding-bottom: 8px;
  }

  .calendar-shell .control-title {
    font-size: 21px;
  }

  .calendar-shell .filter-summary {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .calendar-shell .quick-actions {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
  }

  .calendar-shell .quick-filter {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px !important;
    white-space: nowrap;
  }

  .calendar-shell .filter-field {
    gap: 4px;
  }

  .calendar-shell .controls > .filter-field:first-of-type,
  .calendar-shell .controls > .venue-filter-field {
    grid-column: 1 / -1;
  }

  .calendar-shell .filter-field span {
    font-size: 10px;
  }

  .calendar-shell .search,
  .calendar-shell .select {
    min-height: 40px;
    padding: 0 9px;
    font-size: 12px;
  }

  .calendar-shell .month-rail {
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(70px, 22vw);
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    margin-bottom: 16px;
    padding-bottom: 4px;
  }

  .calendar-shell .month-button {
    min-height: 40px !important;
    font-size: 17px !important;
  }

  .calendar-shell .month-select-field {
    max-width: none;
    margin-bottom: 16px;
  }
}

/* Calendar page: match the supplied Poster Wall Index reference. */
body:has(.calendar-shell) {
  background:
    radial-gradient(circle at 44% 8%, rgba(255, 255, 255, .035), transparent 36%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .026) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 34px),
    #050606 !important;
}

body:has(.calendar-shell)::before {
  opacity: .44 !important;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .09), transparent 18%),
    radial-gradient(circle at 68% 8%, rgba(255, 255, 255, .055), transparent 20%),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 17px) !important;
  mix-blend-mode: screen;
}

body:has(.calendar-shell) .signal-canvas {
  display: none;
}

.dispatch-strip {
  display: inline-block;
  margin: 8px 0 16px;
  padding: 6px 10px;
  color: var(--void);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.highlight-wall,
.paper-route {
  min-width: 0;
}

.calendar-workbench {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.calendar-main-column {
  order: 1;
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.calendar-left-rail {
  order: 2;
  min-width: 0;
}

.calendar-left-rail .live-dispatch-row {
  margin: 0;
}

.calendar-left-rail .account-public-guide {
  margin: 0;
}

.calendar-main-column .layout {
  grid-template-columns: minmax(0, 1fr);
}

.calendar-main-column .controls,
.calendar-main-column .month-rail,
.calendar-main-column .layout,
.calendar-main-column #calendar {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1099px) {
  .calendar-shell .calendar-left-rail {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 820px) and (max-width: 1099px) {
  .calendar-shell .calendar-workbench {
    display: grid;
    grid-template-columns: minmax(250px, 32vw) minmax(0, 1fr);
    gap: 16px 18px;
    align-items: start;
  }

  .calendar-shell .calendar-left-rail {
    order: 0;
    display: grid;
    gap: 10px;
    align-self: start;
    margin: 0;
  }

  .calendar-shell .calendar-main-column {
    order: 0;
    display: grid;
    gap: 14px;
    min-width: 0;
  }

  .calendar-shell .controls {
    grid-template-columns: minmax(210px, 1.35fr) repeat(2, minmax(130px, .85fr)) !important;
    margin-top: 0;
  }

  .calendar-shell .controls > .filter-field:first-of-type {
    grid-column: auto;
  }

  .calendar-shell .controls > .filter-field:nth-of-type(5) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 560px) and (max-width: 819px) {
  .calendar-shell .controls {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) !important;
  }

  .calendar-shell .control-header,
  .calendar-shell .quick-actions,
  .calendar-shell .controls > .filter-field:nth-of-type(5) {
    grid-column: auto !important;
  }

  .calendar-shell .controls > .filter-field:first-of-type {
    grid-column: 1 / -1 !important;
  }
}

.highlight-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.highlight-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(229, 222, 209, .9), transparent);
}

.highlight-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 16px;
  color: var(--void);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.highlight-view-all {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  padding: 6px 0 6px 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.calendar-shell .dispatch-panel-head a,
.calendar-shell .dispatch-panel-head button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  color: var(--paper);
  text-decoration: none;
}

.highlight-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.highlight-card {
  position: relative;
  min-width: 0;
  min-height: 300px;
  display: grid;
  align-content: end;
  gap: 6px;
  overflow: hidden;
  border: 1px solid rgba(229, 222, 209, .34);
  background: #070808;
  background-position: center;
  background-size: cover;
  color: var(--ink);
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.highlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 18%, rgba(5, 6, 6, .22) 48%, rgba(5, 6, 6, .9)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 10px);
}

.highlight-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.72) contrast(1.42) brightness(.62);
}

.highlight-card:nth-child(2n) img {
  filter: grayscale(.45) sepia(.45) hue-rotate(330deg) saturate(1.8) contrast(1.35) brightness(.62);
}

.highlight-card > *:not(img) {
  position: relative;
  z-index: 1;
}

.highlight-card b {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}

.highlight-card small,
.highlight-card em {
  color: var(--paper);
  font-size: 12px;
  font-style: normal;
  line-height: 1.25;
}

.highlight-date {
  position: absolute !important;
  z-index: 2;
  top: 0;
  right: 0;
  min-width: 42px;
  min-height: 54px;
  display: grid;
  place-items: center;
  color: var(--void);
  background: var(--cyan);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  line-height: .9;
  text-align: center;
  white-space: pre-line;
  text-transform: uppercase;
}

.highlight-card i {
  justify-self: end;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 4px 6px;
  text-transform: uppercase;
}

.home-poster-rail {
  min-width: 0;
  margin-top: 16px;
}

.poster-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 224px);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  border: 1px solid rgba(229, 222, 209, .2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .026), rgba(0, 0, 0, .14)),
    rgba(5, 6, 6, .74);
  padding: 8px;
}

.poster-strip-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(229, 222, 209, .28);
  border-radius: 0;
  background: #070808;
  padding: 0;
  scroll-snap-align: start;
  cursor: pointer;
}

.poster-strip-card:hover,
.poster-strip-card:focus-visible {
  border-color: var(--cyan);
  outline: 0;
}

.poster-strip-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(.28) contrast(1.18) brightness(.78);
  transition: filter .18s ease;
}

.poster-strip-card:nth-child(2n) img {
  filter: grayscale(.46) sepia(.22) hue-rotate(330deg) saturate(1.4) contrast(1.22) brightness(.72);
}

.poster-strip-card:hover img,
.poster-strip-card:focus-visible img {
  filter: contrast(1.2) brightness(.96);
}

@media (max-width: 860px) {
  .poster-strip {
    grid-auto-columns: minmax(152px, 44vw);
  }
}

@media (max-width: 480px) {
  .poster-strip {
    grid-auto-columns: minmax(142px, 74vw);
  }
}

.paper-route {
  color: #070707;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .035) 0 1px, transparent 1px 8px),
    var(--paper);
  border: 1px solid rgba(229, 222, 209, .42);
  padding: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5);
}

.paper-route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.paper-route h2 {
  margin: 0;
  color: #070707;
  font-family: var(--font-display) !important;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.paper-route p,
.paper-route .route-card p {
  color: #171717 !important;
  font-size: 13px;
  line-height: 1.35;
}

.paper-route > p {
  margin: 8px 0 10px;
}

.paper-route .route-card p {
  margin: 0 0 7px;
}

.paper-route a {
  min-width: 30px;
  min-height: 36px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border: 2px solid #070707;
  border-radius: 999px;
  color: #070707;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.paper-route .route-buttons {
  grid-template-columns: repeat(3, 1fr);
}

.paper-route .route-button {
  min-height: 36px;
  border-color: #070707 !important;
  color: var(--paper) !important;
  background: #070707 !important;
}

.paper-route .route-button.active,
.paper-route .route-button:hover {
  color: #070707 !important;
  background: var(--gold) !important;
  border-color: #070707 !important;
}

.paper-route .route-card {
  border-left: 0 !important;
  padding-left: 0 !important;
}

  .paper-route .route-card h3 {
    margin: 8px 0 6px;
    color: #070707;
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 1;
    text-transform: uppercase;
  }

  .paper-route .chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-top: 8px;
  }

  .paper-route .chip {
    max-width: none;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #070707 !important;
    border-color: rgba(0, 0, 0, .28) !important;
    background: transparent !important;
    padding: 8px 6px !important;
    font-family: var(--font-display);
    font-size: 10px !important;
    line-height: 1 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

@media (min-width: 1100px) {
  .calendar-shell {
    width: min(1480px, calc(100% - 44px)) !important;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 14px 24px;
    align-items: start;
    padding-top: 16px !important;
    position: relative;
  }

  .calendar-shell > .primary-nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    justify-content: end;
    gap: 26px;
    margin: 0;
    padding: 0 0 8px;
    border-bottom: 0;
  }

  .calendar-shell > .primary-nav::before {
    content: none;
  }

  .calendar-shell > .primary-nav .nav-link {
    min-height: 38px;
    border-color: transparent !important;
    background: transparent !important;
    color: var(--paper) !important;
    box-shadow: none;
    padding: 0 2px;
    font-size: 18px !important;
  }

  .calendar-shell > .primary-nav .nav-link.active,
  .calendar-shell > .primary-nav .nav-link:hover {
    color: var(--cyan) !important;
    border-bottom: 2px solid var(--cyan) !important;
  }

  .calendar-shell > .primary-nav .tag {
    min-height: 38px;
    margin-left: 18px;
    padding: 9px 28px;
    border-color: rgba(229, 222, 209, .45) !important;
    color: var(--paper) !important;
    background: rgba(5, 6, 6, .72) !important;
  }

  .calendar-shell .topbar {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: 0 !important;
  }

  .calendar-shell .topbar > * {
    min-width: 0;
  }

  .calendar-shell .masthead-copy {
    display: block;
  }

  .calendar-shell .hero-picture {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 22px;
  }

  .calendar-shell .kicker {
    display: block;
    margin: 8px 0 14px;
    color: var(--cyan) !important;
    font-size: 17px;
    line-height: 1.05;
    max-width: 120px;
  }

  .calendar-shell .kicker::before {
    display: none;
  }

  .calendar-shell h1 {
    max-width: 310px;
    font-size: 72px !important;
    line-height: .86 !important;
  }

  .calendar-shell .subhead {
    max-width: 285px !important;
    margin-top: 16px;
    color: var(--paper) !important;
    font-size: 16px !important;
    line-height: 1.45;
  }

  .calendar-shell .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 285px;
    margin-top: 18px;
  }

  .calendar-shell .hero-button {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    text-align: center;
    white-space: normal;
  }

  .calendar-shell .source-note {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    max-width: 320px;
    margin-top: 18px;
  }

  .calendar-shell .pill {
    width: 100%;
    max-width: 100%;
    min-height: 28px;
    overflow: hidden;
    border-color: rgba(229, 222, 209, .32) !important;
    color: var(--paper) !important;
    font-family: var(--font-mono);
    font-size: 10px !important;
    font-weight: 500;
    padding: 5px 9px;
    text-overflow: ellipsis;
    text-transform: none;
  }

  .calendar-shell .source-note .pill:nth-child(5) {
    grid-column: 1 / -1;
    width: max-content;
  }

  .calendar-shell .stats {
    grid-column: 1 / 3;
    grid-row: 5;
    align-self: start;
    margin: 0;
    min-height: 72px;
    background: rgba(5, 6, 6, .48);
  }

  .calendar-shell .stat {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 10px 22px;
  }

  .calendar-shell .stat b {
    font-size: 49px !important;
  }

  .calendar-shell .stat span {
    color: var(--paper) !important;
    font-family: var(--font-display);
    font-size: 16px !important;
    line-height: 1.08;
  }

  .calendar-shell .highlight-wall {
    grid-column: 2;
    grid-row: 2;
    margin-top: 8px;
  }

  .calendar-shell .calendar-workbench {
    grid-column: 1 / 3;
    grid-row: 3;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px 24px;
    align-items: start;
  }

  .calendar-shell .calendar-left-rail {
    order: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-self: start;
    margin: 0;
  }

  .calendar-shell .calendar-main-column {
    order: 0;
    display: grid;
    gap: 14px;
    min-width: 0;
  }

  .calendar-shell .paper-route {
    align-self: start;
    margin-top: 0;
    position: static;
    width: 100%;
    padding: 12px 14px;
  }

  .calendar-shell .controls {
    position: static;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(130px, 160px) minmax(120px, 150px) minmax(130px, 160px) minmax(180px, 220px);
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none;
    backdrop-filter: none;
  }

  .calendar-shell .control-header,
  .calendar-shell .quick-actions {
    display: none;
  }

  .calendar-shell .filter-field span {
    display: none;
  }

  .calendar-shell .search,
  .calendar-shell .select {
    min-height: 46px;
    border-color: rgba(229, 222, 209, .35) !important;
    background: rgba(5, 6, 6, .78) !important;
    color: var(--paper) !important;
    font-size: 15px;
  }

  .calendar-shell .month-rail {
    align-self: start;
    margin: 0;
    border-color: rgba(229, 222, 209, .22);
  }

  .calendar-shell .month-select-field {
    max-width: 260px;
    margin: 0;
  }

  .calendar-shell .month-button {
    min-height: 45px !important;
    color: var(--paper) !important;
    background: rgba(5, 6, 6, .78) !important;
    font-size: 22px !important;
  }

  .calendar-shell .month-button b {
    display: none;
  }

  .calendar-shell .month-button.active,
  .calendar-shell .month-button:hover {
    color: var(--void) !important;
    background: var(--cyan) !important;
  }

  .calendar-shell .layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }

  .calendar-shell .month-section {
    margin-bottom: 0;
    padding-top: 0;
    border-top: 0;
  }

  .calendar-shell .month-header {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 12px;
    padding-top: 0;
    border-top: 0;
  }

  .calendar-shell .month-code {
    display: none;
  }

  .calendar-shell .month-header h2 {
    color: var(--cyan);
    font-size: 29px;
  }

  .calendar-shell .month-header p {
    display: none;
  }

  .calendar-shell .calendar-grid {
    min-height: auto;
  }

  .calendar-shell .calendar-day {
    min-height: 104px;
    padding: 6px;
  }

  .calendar-shell .calendar-day-name {
    padding: 7px 6px !important;
  }

  .calendar-shell .calendar-date {
    margin-bottom: 4px;
  }

  .calendar-shell .calendar-events {
    display: grid;
    gap: 6px;
    align-items: stretch;
  }

  .calendar-shell .calendar-event {
    width: 100%;
    min-height: 54px;
    display: grid;
    gap: 2px;
    overflow: hidden;
    border: 1px solid rgba(198, 255, 59, .22);
    border-radius: 5px;
    background: rgba(198, 255, 59, .1);
    color: var(--ink);
    font-size: 10px;
    line-height: 1.25;
    padding: 5px 6px;
  }

  .calendar-shell .calendar-event:hover {
    border-color: var(--acid);
    color: var(--void);
    background: var(--acid);
  }

  .calendar-shell .calendar-event.watch {
    border-color: rgba(255, 209, 102, .34);
    background: rgba(255, 209, 102, .12);
  }

  .calendar-shell .calendar-event-venue,
  .calendar-shell .calendar-event-title,
  .calendar-shell .calendar-event-organizer,
  .calendar-shell .calendar-event-lineup {
    display: block;
  }

  .calendar-shell .side {
    position: static;
    display: grid;
    gap: 8px;
    margin-top: 0;
  }

  .calendar-shell .side .panel {
    padding: 10px 12px;
  }

  .calendar-shell .side .panel h2 {
    display: inline-flex;
    margin: 0;
    padding: 3px 6px;
    color: var(--void);
    background: var(--cyan);
    font-size: 20px;
  }

  .calendar-shell .dispatch-panel:first-child h2 {
    background: var(--gold);
  }

  .calendar-shell .live-dispatch-row h2 {
    background: var(--gold);
  }

  .calendar-shell .dispatch-panel-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(229, 222, 209, .18);
    padding-bottom: 6px;
    margin-bottom: 7px;
  }

  .calendar-shell .dispatch-panel-head span {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
  }

  .calendar-shell .dispatch-panel-head a,
  .calendar-shell .dispatch-panel-head button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    text-decoration: none;
  }

  .calendar-shell .dispatch-panel-head button {
    border: 0;
    background: transparent;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
  }

  .calendar-shell .dispatch-list {
    display: grid;
    gap: 5px;
  }

  .calendar-shell .dispatch-row {
    width: 100%;
    min-height: 34px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    border: 0;
    border-bottom: 1px solid rgba(229, 222, 209, .12);
    color: var(--paper);
    background: transparent;
    padding: 0 0 5px;
    text-align: left;
    cursor: pointer;
  }

  .calendar-shell .dispatch-row:hover {
    color: var(--cyan);
  }

  .calendar-shell .dispatch-row span {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
  }

  .calendar-shell .dispatch-row b {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calendar-shell .dispatch-row em {
    grid-column: 2 / 3;
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calendar-shell .dispatch-row i {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    padding: 4px 5px;
    text-transform: uppercase;
  }

  .calendar-shell .dispatch-panel:first-child .dispatch-row i {
    border-color: var(--gold);
    color: var(--gold);
  }

  .calendar-shell .live-dispatch-row .dispatch-row i {
    border-color: var(--gold);
    color: var(--gold);
  }

  .calendar-shell .home-poster-rail {
    grid-column: 1 / 3;
    grid-row: 4;
    min-width: 0;
    margin-top: 0;
  }

  .calendar-shell .poster-strip {
    grid-auto-columns: minmax(178px, 236px);
  }

  .calendar-shell .wide-card-rail {
    grid-column: 1 / 3;
    grid-row: 4;
    min-width: 0;
    margin-top: 0;
  }

  .calendar-shell .wide-card-rail .cards {
    grid-column: 1 / -1;
    grid-auto-columns: minmax(220px, 285px);
    margin-top: 18px;
    padding: 8px;
  }

  .calendar-shell .wide-card-rail .cards::before {
    width: 154px;
    color: var(--paper);
    background: rgba(5, 6, 6, .92);
    font-size: 16px;
  }

  .calendar-shell .event-card h3 {
    font-size: 18px;
  }

  .calendar-shell .poster {
    aspect-ratio: 3 / 4 !important;
  }

  .calendar-shell .footnotes {
    grid-column: 1 / 3;
    grid-row: 6;
    margin-top: 0;
    border: 1px solid rgba(229, 222, 209, .2);
    padding: 14px;
  }
}

@media (min-width: 1100px) and (max-width: 1399px) {
  .calendar-shell .highlight-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(168px, 24vw);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
  }

  .calendar-shell .highlight-card {
    scroll-snap-align: start;
  }
}

@media (min-width: 1680px) {
  .calendar-shell {
    width: min(2160px, calc(100% - 64px)) !important;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 14px 28px;
  }

  .calendar-shell .calendar-workbench {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 18px 28px;
  }

  .calendar-shell .topbar,
  .calendar-shell .calendar-left-rail {
    width: 360px;
  }

  .calendar-shell h1 {
    max-width: 350px;
    font-size: 78px !important;
  }

  .calendar-shell .subhead {
    max-width: 330px !important;
  }

  .calendar-shell .highlight-card {
    min-height: 320px;
  }

  .calendar-shell .poster-strip {
    grid-auto-columns: minmax(198px, 260px);
  }
}
