/* Skytower Sales HUB — "Broadcast Signal Room" design system
   Console navy base, one Signal Sky accent, status lamps, mono readouts. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/plex-sans-700.woff2") format("woff2"); }
/* Typed client e-signatures (Dancing Script, SIL OFL — static/fonts/promo/OFL-DancingScript.txt). */
@font-face { font-family: "Sig Script"; font-weight: 400 700; font-display: swap; src: url("../fonts/promo/dancing-script-600.woff2") format("woff2"); }

:root {
  --bg: #0a111d;
  --console: #101827;
  --surface: #131d2e;
  --surface-2: #182437;
  --surface-3: #1e2c43;
  --line: rgba(148, 163, 184, 0.13);
  --line-strong: rgba(148, 163, 184, 0.26);
  --text: #e6edf6;
  --text-2: #a9b7ca;
  --muted: #7b8ba1;
  --signal: #0cc0df;
  --signal-2: #6fe1f3;
  --signal-ink: #03131f;
  --signal-soft: rgba(12, 192, 223, 0.12);
  --signal-glow: rgba(12, 192, 223, 0.38);
  --ok: #34d399;
  --warn: #fbbf24;
  --alert: #fb7185;
  --alert-strong: #f43f5e;
  --quicksie: #2dd4bf;
  --wolf: #f59e0b;
  --digital: #a78bfa;
  --multi: #0cc0df;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 18px 50px rgba(2, 6, 14, 0.55);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--sans); /* no monospace anywhere: tracked caps use the sans */
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: var(--signal); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal-glow); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: 28px; font-weight: 600; }
h2 { font-size: 20px; font-weight: 600; }
h3 { font-size: 15px; font-weight: 600; }
p { margin: 0; color: var(--text-2); }
small { color: var(--muted); }

.eyebrow, .mono-label {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow.signal { color: var(--signal); }
.mono { font-family: var(--mono); }
.price { font: 600 14px/1.2 var(--mono); color: var(--text); white-space: nowrap; }
.fineprint { font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------------ shell (streaming-style top bar) */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.topnav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 28px;
  padding: 12px 32px; min-height: 68px;
  background: linear-gradient(180deg, rgba(6, 11, 20, 0.97) 0%, rgba(8, 14, 25, 0.9) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand-home { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; cursor: pointer; flex: none; }
.brand-home img { width: 112px; height: auto; display: block; }
.brand-product { font: 600 10.5px/1 var(--mono); letter-spacing: 0.4em; text-transform: uppercase; color: var(--signal); padding-left: 12px; border-left: 1px solid var(--line-strong); }
.top-links { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.top-links::-webkit-scrollbar { display: none; }
.top-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 14px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--text-2); font: 500 14px/1 var(--sans); transition: color 0.15s ease, background 0.15s ease;
}
.top-link:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }
.top-link.active { color: var(--text); font-weight: 600; }
.top-link.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 1px; height: 2px; border-radius: 2px; background: var(--signal); box-shadow: 0 0 10px var(--signal-glow); }
.nav-count { font: 600 10.5px/1 var(--mono); padding: 3px 6px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); }
.nav-count.hot { background: rgba(251, 191, 36, 0.16); color: var(--warn); }
.top-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); cursor: pointer;
  background: linear-gradient(135deg, var(--signal) 0%, #2563eb 100%); color: var(--signal-ink);
  font: 700 12.5px/1 var(--sans); letter-spacing: 0.02em;
}
.avatar:hover { box-shadow: 0 0 0 3px var(--signal-soft); }
.menu-panel .menu-meta small { display: block; margin-top: 3px; }
#content { flex: 1; outline: none; }
.content-wrap { max-width: 1440px; width: 100%; padding: 28px 32px 40px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.app-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 32px 24px; border-top: 1px solid var(--line); }
.foot-stations { display: flex; align-items: center; gap: 18px; }
.foot-stations img { height: 40px; width: auto; display: block; }
.foot-stations img.wolf { height: 40px; }
.foot-slogan { height: 18px; width: auto; opacity: 0.8; }

/* ------------------------------------------------------------------ tabs */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: -1px;
  border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
  color: var(--text-2); font: 500 14px/1 var(--sans); white-space: nowrap;
}
.tab span { font: 600 10.5px/1 var(--mono); padding: 3px 6px; border-radius: 999px; background: var(--surface-3); color: var(--muted); }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--signal); }

/* ------------------------------------------------------------------ home: billboard + rows */
.home { display: flex; flex-direction: column; gap: 34px; }
.billboard {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 380px; border-radius: 18px; border: 1px solid var(--line);
  display: flex; align-items: flex-end;
  background: radial-gradient(120% 140% at 85% 10%, rgba(12, 192, 223, 0.22) 0%, transparent 55%), var(--surface);
}
.billboard.wolf { background: radial-gradient(120% 140% at 85% 10%, rgba(245, 158, 11, 0.24) 0%, transparent 55%), var(--surface); }
.billboard.quicksie { background: radial-gradient(120% 140% at 85% 10%, rgba(45, 212, 191, 0.22) 0%, transparent 55%), var(--surface); }
.billboard-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: billboard-drift 18s ease-in-out infinite alternate; }
.billboard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 11, 20, 0.94) 0%, rgba(6, 11, 20, 0.72) 38%, rgba(6, 11, 20, 0.08) 75%), linear-gradient(0deg, rgba(6, 11, 20, 0.85) 0%, transparent 45%); }
.billboard-copy { display: flex; flex-direction: column; gap: 14px; max-width: 560px; padding: 40px 44px; }
.billboard-copy .eyebrow { color: var(--signal-2); }
.billboard-copy h1, .rl-page .billboard-copy h2 { font-size: 40px; line-height: 1.08; }
.billboard-copy p { font-size: 16px; color: var(--text); opacity: 0.88; }
.billboard-logo { max-width: 340px; max-height: 150px; width: auto; height: auto; object-fit: contain; object-position: left center; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55)); }
.billboard .row { gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.billboard.empty, .billboard:not(:has(.billboard-art)) { min-height: 260px; }
.billboard.has-art { min-height: 420px; }
.billboard.has-art .billboard-art {
  inset: 0 0 0 auto; width: auto; max-width: 74%; aspect-ratio: 16 / 9; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}
.billboard-backdrop { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; z-index: -3; filter: blur(42px) brightness(0.42) saturate(1.25); }
.billboard.has-art::before { background: linear-gradient(90deg, rgba(6, 11, 20, 0.78) 0%, rgba(6, 11, 20, 0.45) 34%, transparent 58%), linear-gradient(0deg, rgba(6, 11, 20, 0.6) 0%, transparent 35%); }
.billboard.has-art .billboard-copy { max-width: 440px; }
.billboard.has-art .billboard-copy h1, .rl-page .billboard.has-art .billboard-copy h2 { font-size: 36px; }
@keyframes billboard-drift { from { transform: scale(1.02); } to { transform: scale(1.08) translateX(-1%); } }
.button svg { width: 15px; height: 15px; margin-right: 2px; vertical-align: -2px; }
.button-glass { background: rgba(230, 237, 246, 0.14); border-color: rgba(230, 237, 246, 0.22); color: var(--text); backdrop-filter: blur(6px); }
.button-glass:hover { background: rgba(230, 237, 246, 0.24); }
.button-large { padding: 14px 24px; font-size: 15.5px; border-radius: 12px; }

.promo-row { display: flex; flex-direction: column; gap: 12px; }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row-head h2 { font-size: 19px; }
.row-arrows { display: flex; gap: 6px; }
.row-arrow { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); cursor: pointer; }
.row-arrow:hover { color: var(--text); border-color: var(--signal); }
.row-arrow svg { width: 16px; height: 16px; }
.row-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 23%, 340px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 14px; scrollbar-width: thin;
}
.promo-tile { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.tile-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1), box-shadow 0.22s ease, border-color 0.22s ease;
}
.promo-tile:hover .tile-frame, .promo-tile:focus-visible .tile-frame { transform: translateY(-3px) scale(1.03); border-color: var(--signal); box-shadow: 0 16px 36px rgba(2, 6, 14, 0.6), 0 0 0 1px var(--signal-soft); }
.promo-tile.wolf:hover .tile-frame { border-color: var(--wolf); }
.promo-tile.quicksie:hover .tile-frame { border-color: var(--quicksie); }
.tile-art { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-art.placeholder { display: grid; place-items: center; padding: 18px; text-align: center; background: linear-gradient(135deg, var(--surface-3) 0%, var(--surface) 100%); }
.tile-art.placeholder.wolf { background: linear-gradient(135deg, rgba(245, 158, 11, 0.32) 0%, var(--surface) 80%); }
.tile-art.placeholder.quicksie { background: linear-gradient(135deg, rgba(45, 212, 191, 0.3) 0%, var(--surface) 80%); }
.tile-art.placeholder.digital { background: linear-gradient(135deg, rgba(167, 139, 250, 0.3) 0%, var(--surface) 80%); }
.tile-art.placeholder img { max-width: 75%; max-height: 70%; object-fit: contain; }
.tile-art.placeholder span { font: 700 20px/1.15 var(--sans); }
.tile-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 11, 20, 0.78) 0%, transparent 46%); pointer-events: none; }
.tile-station { position: absolute; left: 10px; bottom: 9px; z-index: 1; display: flex; align-items: center; }
.tile-station b { font: 600 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.tile-logo { height: 30px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.tile-play {
  position: absolute; right: 10px; bottom: 9px; z-index: 1; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(230, 237, 246, 0.92); color: #06101c;
  opacity: 0; transform: scale(0.85); transition: opacity 0.2s ease, transform 0.2s ease;
}
.tile-play svg { width: 16px; height: 16px; margin-left: 2px; }
.promo-tile:hover .tile-play, .promo-tile:focus-visible .tile-play { opacity: 1; transform: none; }
.tile-flag { position: absolute; top: 9px; left: 9px; z-index: 1; padding: 4px 8px; border-radius: 6px; font: 600 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; background: rgba(251, 191, 36, 0.92); color: #1f1300; }
.tile-flag.archived { background: rgba(123, 139, 161, 0.92); color: #0a111d; }
.tile-meta { display: flex; flex-direction: column; gap: 5px; padding: 0 2px; }
.tile-meta strong { font-size: 15px; line-height: 1.25; }
.promo-tile.add .tile-frame { display: grid; place-items: center; border-style: dashed; border-color: var(--line-strong); background: transparent; color: var(--text-2); font: 600 15px/1 var(--sans); }
.promo-tile.add .tile-frame::after { display: none; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; border-radius: 16px; border: 1px solid rgba(12, 192, 223, 0.32);
  background: linear-gradient(110deg, rgba(12, 192, 223, 0.16) 0%, rgba(12, 192, 223, 0.03) 60%), var(--surface);
}
.cta-band h2 { font-size: 26px; margin: 4px 0 6px; }
.cta-band p { max-width: 560px; }
.past-promos summary { cursor: pointer; color: var(--text-2); font-weight: 500; padding: 4px 0; }
.past-promos .row-head h2 { display: none; }
.past-promos[open] summary { margin-bottom: 8px; }

/* ------------------------------------------------------------------ promotion page */
.promo-page { display: flex; flex-direction: column; gap: 22px; }
.promo-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.manager-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 8px 10px 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.manager-bar .row { gap: 6px; }
.promo-hero {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 18px; border: 1px solid var(--line);
  min-height: 300px; display: grid; place-items: center; text-align: center; padding: 44px 28px;
  background: radial-gradient(100% 120% at 50% 0%, rgba(12, 192, 223, 0.2) 0%, transparent 60%), var(--surface);
}
.promo-hero.wolf { background: radial-gradient(100% 120% at 50% 0%, rgba(245, 158, 11, 0.24) 0%, transparent 60%), var(--surface); }
.promo-hero.quicksie { background: radial-gradient(100% 120% at 50% 0%, rgba(45, 212, 191, 0.22) 0%, transparent 60%), var(--surface); }
.promo-hero-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; z-index: -2; filter: blur(48px) saturate(1.25); opacity: 0.5; transform: scale(1.15); }
.promo-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 17, 29, 0.92) 0%, rgba(10, 17, 29, 0.55) 60%, rgba(10, 17, 29, 0.4) 100%); }
.promo-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 760px; }
.promo-hero-inner .eyebrow { color: var(--signal-2); }
.promo-logo { max-width: min(520px, 90%); max-height: 200px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55)); }
.promo-title { font-size: 44px; line-height: 1.05; }
.promo-tagline { font-size: 18px; color: var(--text); opacity: 0.9; }
.promo-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.promo-chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(10, 17, 29, 0.55); font: 500 12.5px/1 var(--mono); color: var(--text); }
.promo-chips span.hot { border-color: rgba(251, 191, 36, 0.5); color: var(--warn); }
.promo-cta { gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.promo-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
.promo-split.no-video { grid-template-columns: minmax(0, 860px); justify-content: center; }
.promo-details { display: flex; flex-direction: column; gap: 18px; }
.promo-block { display: flex; flex-direction: column; gap: 12px; }
.promo-block h2 { font-size: 18px; display: flex; align-items: baseline; gap: 10px; }
.promo-block h2 small { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.promo-block p, .promo-block li { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.promo-block ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.package-list { display: flex; flex-direction: column; gap: 12px; }
.package-card { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.package-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.package-head h3 { font-size: 16px; }
.package-head .price { font-size: 18px; color: var(--signal-2); }
.package-foot { display: flex; justify-content: flex-end; }
.download-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(12, 192, 223, 0.3); background: var(--signal-soft); }
.download-box strong { display: block; }
.download-box .row { gap: 8px; }
.download-box.muted { border-color: var(--line); background: var(--surface); color: var(--text-2); }
.promo-media { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
.media-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow); }
.promo-video { width: 100%; max-height: 72vh; display: block; background: #000; }
.embed { position: relative; aspect-ratio: 16 / 9; }
.embed.vertical { aspect-ratio: 9 / 16; max-height: 72vh; margin: 0 auto; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sheet-preview { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.sheet-preview img { width: 100%; height: 260px; object-fit: cover; object-position: top; display: block; }
.promo-media:has(.sheet-preview:first-child) { position: static; }
.promo-media > .sheet-preview:first-child { max-height: none; }
.promo-media > .sheet-preview:first-child img { height: auto; }
.sheet-preview span { display: block; padding: 10px 12px; background: rgba(6, 11, 20, 0.92); font-size: 12.5px; font-weight: 600; text-align: center; color: var(--text); }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#share-url { font-family: var(--mono); font-size: 13px; }

/* ------------------------------------------------------------------ promo video: hover previews + hero player */
.hover-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s ease; pointer-events: none; background: transparent; }
.hover-preview.on { opacity: 1; }
.tile-frame .hover-preview { z-index: 0; }
.billboard .hover-preview.billboard-art { z-index: -2; animation: none; transform: scale(1.03); }
.billboard.has-art .billboard-logo { max-width: 380px; max-height: 200px; }
.billboard-trailer { animation: none; transform: scale(1.01); background: #000; }
.billboard .billboard-title.art-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.promo-hero.has-video {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 36px; padding: 32px 34px;
  place-items: center stretch; text-align: center;
}
.promo-hero.has-video .promo-hero-inner { max-width: none; }
.hero-player { width: 100%; }
.hero-frame { position: relative; }
@media (max-width: 1100px) {
  .promo-hero.has-video { grid-template-columns: 1fr; gap: 22px; padding: 18px; }
  .promo-hero.has-video .hero-player { order: -1; }
}
@media (max-width: 860px) {
  .billboard .hover-preview { display: none; }
  .billboard.has-art .billboard-logo { max-width: 230px; max-height: 130px; }
}

/* ------------------------------------------------------------------ themed promotion pages
   A promotion's own look (colors, fonts, texture) arrives as --p-* custom properties on .promo-page. */
.promo-page.themed { color: var(--p-text); font-family: var(--p-body); font-weight: 500; }
body.promo-themed { background: var(--p-bg); overflow-x: clip; }
body.promo-themed .app-foot { border-top-color: var(--p-line); background: rgba(0, 0, 0, 0.22); }
.promo-page.themed { position: relative; }
.promo-page.themed::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -28px; left: 50%; width: 100vw; height: min(1500px, calc(100% + 28px)); transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.promo-page.themed.texture-rays::before {
  background:
    radial-gradient(90% 75% at 50% 18%, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.32) 100%),
    repeating-conic-gradient(from 0deg at 50% 18%, rgba(0, 0, 0, 0.2) 0deg 6deg, rgba(0, 0, 0, 0) 6deg 12deg);
}
.promo-page.themed.texture-glow::before {
  background:
    radial-gradient(55% 40% at 50% 10%, var(--p-glow), transparent 70%),
    radial-gradient(40% 35% at 92% 70%, var(--p-accent-soft), transparent 70%);
}
.promo-page.themed h1, .promo-page.themed h2, .promo-page.themed h3 {
  font-family: var(--p-display); font-weight: var(--p-display-weight); text-transform: var(--p-display-case);
  letter-spacing: var(--p-display-spacing); color: var(--p-text);
}
.promo-page.themed .promo-hero { background: none; border: 0; min-height: 0; padding: 12px 12px 4px; overflow: visible; }
.promo-page.themed .promo-hero::before, .promo-page.themed .promo-hero-bg { display: none; }
.promo-page.themed .promo-hero-inner { max-width: 860px; gap: 16px; }
.promo-page.themed .promo-hero-inner .eyebrow {
  color: var(--p-highlight); font: var(--p-display-weight) 15px/1.2 var(--p-display); letter-spacing: 0.16em; text-transform: uppercase;
}
.promo-page.themed .promo-logo { max-height: 300px; max-width: min(580px, 92%); filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.45)); }
.promo-page.themed .promo-title { font-size: 68px; line-height: 0.95; }
.promo-page.themed .promo-tagline {
  font: var(--p-display-weight) 26px/1.12 var(--p-display); text-transform: var(--p-display-case);
  letter-spacing: var(--p-display-spacing); color: var(--p-highlight); opacity: 1; max-width: 720px;
}
.promo-page.themed .promo-chips span { font: 600 14.5px/1 var(--p-body); letter-spacing: 0.02em; background: rgba(0, 0, 0, 0.3); border-color: var(--p-line-strong); color: var(--p-text); }
.promo-page.themed .promo-chips span.hot { border-color: var(--p-accent); background: var(--p-accent-soft); color: var(--p-text); }
.promo-page.themed .button { font-family: var(--p-display); font-weight: var(--p-display-weight); text-transform: var(--p-display-case); letter-spacing: 0.04em; }
.promo-page.themed .button-signal { background: var(--p-accent); color: var(--p-on-accent); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.28); }
.promo-page.themed .button-signal:hover { background: var(--p-accent); filter: brightness(1.08); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.28), 0 0 26px -4px var(--p-accent); }
.promo-page.themed .button-glass, .promo-page.themed .button-outline { background: rgba(0, 0, 0, 0.25); border-color: var(--p-line-strong); color: var(--p-text); backdrop-filter: none; }
.promo-page.themed .button-glass:hover, .promo-page.themed .button-outline:hover { border-color: var(--p-highlight); color: var(--p-highlight); }
.promo-page.themed .button-ghost { color: var(--p-muted); }
.promo-page.themed .link-button { color: var(--p-highlight); font-weight: 600; }
.promo-page.themed .manager-bar { background: rgba(0, 0, 0, 0.32); border-color: var(--p-line); }
.promo-page.themed .promo-split { gap: 34px; }
.promo-page.themed .promo-details { gap: 26px; }
.promo-page.themed .promo-block h2 { font-size: 32px; line-height: 1; align-items: center; gap: 14px; }
.promo-page.themed .promo-block h2::before { content: ""; flex: none; width: 34px; height: 6px; border-radius: 3px; background: var(--p-accent); }
.promo-page.themed .promo-block p, .promo-page.themed .promo-block li { color: var(--p-muted); font-size: 17.5px; line-height: 1.5; }
.promo-page.themed .promo-block li::marker { color: var(--p-accent); }
.promo-page.themed .package-card { background: var(--p-surface); border-color: var(--p-line); border-radius: 16px; padding: 20px 22px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); }
.promo-page.themed .package-head { align-items: center; }
.promo-page.themed .package-head h3 { font-size: 23px; line-height: 1.05; }
.promo-page.themed .package-head .price {
  font: var(--p-display-weight) 30px/1 var(--p-display); padding: 8px 14px 6px; border-radius: 10px;
  background: var(--p-accent); color: var(--p-on-accent); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
}
.promo-page.themed .fineprint { color: var(--p-muted); }
.promo-page.themed .download-box { background: var(--p-surface); border: 2px dashed var(--p-highlight); border-radius: 16px; padding: 18px 20px; }
.promo-page.themed .download-box strong {
  font: var(--p-display-weight) 22px/1.1 var(--p-display); text-transform: var(--p-display-case); letter-spacing: var(--p-display-spacing);
}
.promo-page.themed .download-box small { color: var(--p-muted); }
.promo-page.themed .media-frame { border: 1px solid var(--p-line-strong); border-radius: 18px; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45); }
.promo-page.themed .promo-hero.has-video { padding: 6px 0 4px; gap: 40px; }
.promo-page.themed .promo-hero.has-video .promo-logo { max-height: 270px; }
.promo-page.themed .promo-hero.has-video .promo-tagline { font-size: 24px; }
@media (max-width: 1100px) {
  .promo-page.themed .promo-hero.has-video { gap: 24px; }
}
.promo-page.themed .sheet-preview { border-color: var(--p-line-strong); border-radius: 16px; box-shadow: 0 22px 54px rgba(0, 0, 0, 0.4); }
.promo-page.themed .sheet-preview span {
  background: rgba(0, 0, 0, 0.6); color: var(--p-text);
  font: var(--p-display-weight) 15px/1.2 var(--p-display); text-transform: var(--p-display-case); letter-spacing: 0.06em;
}
@media (max-width: 720px) {
  .promo-page.themed .promo-logo { max-height: 210px; }
  .promo-page.themed .promo-title { font-size: 44px; }
  .promo-page.themed .promo-tagline { font-size: 20px; }
  .promo-page.themed .promo-block h2 { font-size: 25px; }
  .promo-page.themed .package-head { flex-wrap: wrap; }
  .promo-page.themed .package-head .price { font-size: 25px; }
}

/* ------------------------------------------------------------------ promotion stage (Netflix-style title video)
   An uploaded promo video fills the top of the page edge to edge and fades into it; the logo, tagline and
   buttons sit over the faded corner, and the sound button sits opposite. Placed after the themed rules so the
   stage layout wins where both apply. */
.promo-page { --stage-bg: var(--bg); --stage-gutter: max(32px, calc((100vw - 1376px) / 2)); }
.promo-page.themed { --stage-bg: var(--p-bg); }
.promo-stage { position: relative; isolation: isolate; width: 100vw; margin-left: calc(50% - 50vw); }
.stage-media {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: min(84vh, 900px); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 60%, transparent 100%), linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 60%, transparent 100%), linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
.stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.stage-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--stage-bg) 90%, transparent) 0%, color-mix(in srgb, var(--stage-bg) 58%, transparent) 27%, transparent 52%);
}
.promo-stage .stage-copy.promo-hero-inner {
  position: absolute; z-index: 2; left: var(--stage-gutter); bottom: 9%; width: min(540px, 40vw); max-width: none;
  align-items: flex-start; text-align: left; gap: 14px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.promo-stage .stage-copy .promo-logo { max-height: min(230px, 19vw); max-width: 100%; object-position: left center; }
.promo-stage .stage-copy .promo-tagline { font-size: clamp(18px, 1.75vw, 25px); }
.promo-stage .stage-copy .promo-chips, .promo-stage .stage-copy .promo-cta { justify-content: flex-start; }
.promo-stage .stage-copy .button, .promo-stage .stage-copy .promo-chips span { text-shadow: none; }
.stage-sound {
  position: absolute; z-index: 2; right: var(--stage-gutter); bottom: 9%;
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.6); background: rgba(0, 0, 0, 0.38); color: #fff;
  font: 600 14px/1 var(--sans); cursor: pointer; backdrop-filter: blur(6px);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}
.stage-sound:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; transform: translateY(-1px); }
.stage-sound:empty { display: none; }
.stage-sound svg { width: 19px; height: 19px; flex: none; }
.stage-sound[aria-label="Play with sound"] { background: var(--signal); border-color: transparent; color: #04121a; }
.promo-page.themed .stage-sound {
  font-family: var(--p-display); font-weight: var(--p-display-weight); text-transform: var(--p-display-case);
  letter-spacing: 0.05em; font-size: 15px; color: var(--p-text); border-color: color-mix(in srgb, var(--p-text) 60%, transparent);
}
.promo-page.themed .stage-sound[aria-label="Play with sound"] {
  background: var(--p-accent); color: var(--p-on-accent); border-color: transparent; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3); backdrop-filter: none;
}
.promo-page.themed .stage-sound[aria-label="Play with sound"]:hover { filter: brightness(1.08); }
@media (max-width: 960px) {
  .stage-media {
    max-height: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 52%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 52%, transparent 100%);
  }
  .stage-media::after { display: none; }
  .promo-stage .stage-copy.promo-hero-inner {
    position: relative; left: auto; bottom: auto; width: auto; margin: -6vw 18px 0; align-items: center; text-align: center;
  }
  .promo-stage .stage-copy .promo-logo { max-height: 210px; object-position: center; }
  .promo-stage .stage-copy .promo-chips, .promo-stage .stage-copy .promo-cta { justify-content: center; }
  .stage-sound, .promo-page.themed .stage-sound { top: 10px; right: 12px; bottom: auto; height: 36px; padding: 0 13px 0 10px; font-size: 12.5px; gap: 7px; }
  .stage-sound svg { width: 16px; height: 16px; }
}

/* ------------------------------------------------------------------ page look editor */
.look-custom { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.look-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.look-color { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.look-color input { width: 38px; height: 30px; padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: none; cursor: pointer; flex: none; }
.look-color input::-webkit-color-swatch-wrapper { padding: 2px; }
.look-color input::-webkit-color-swatch { border: 0; border-radius: 6px; }
.look-upper { align-self: end; padding-bottom: 10px; }

/* ------------------------------------------------------------------ promotion editor */
.promo-editor { display: flex; flex-direction: column; gap: 14px; }
.editor-section { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; letter-spacing: 0; }
#package-rows { display: flex; flex-direction: column; gap: 12px; }
.package-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px 12px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.package-row .wide { grid-column: 1 / -1; }
.package-row-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.inline-check { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13.5px; cursor: pointer; }
.inline-check input { accent-color: var(--signal); width: 16px; height: 16px; }
.upload-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.upload-field { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.upload-label { font-size: 13px; font-weight: 600; }
.upload-current { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--text-2); word-break: break-all; }
.upload-preview img { max-height: 52px; max-width: 120px; border-radius: 6px; display: block; background: repeating-conic-gradient(#1e2c43 0% 25%, #131d2e 0% 50%) 50% / 12px 12px; }
.upload-empty { color: var(--muted); }
.upload-pick { align-self: flex-start; cursor: pointer; }
.upload-progress { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.upload-progress i { display: block; height: 100%; width: 0; background: var(--signal); transition: width 0.2s ease; }

/* ------------------------------------------------------------------ builder checkboxes */
.check-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.check-toggle {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px; cursor: pointer;
  border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface-2);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.check-toggle:hover { border-color: var(--signal); }
.check-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-toggle .box { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: all 0.15s ease; }
.check-toggle.on { border-color: var(--signal); background: var(--signal-soft); }
.check-toggle.on .box { background: var(--signal); border-color: var(--signal); }
.check-toggle.on .box::after { content: ""; width: 5px; height: 10px; border: solid var(--signal-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check-toggle input:focus-visible + .box { box-shadow: 0 0 0 3px var(--signal-glow); }
.check-toggle strong { display: block; font-size: 14.5px; }
.check-toggle small { display: block; margin-top: 3px; line-height: 1.4; }
.sub-form { margin-top: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.sub-form .wide { grid-column: 1 / -1; }
.sub-form.political { border-color: rgba(251, 113, 133, 0.35); }
.sub-label { font: 600 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal); }
.sub-form.political .sub-label { color: var(--alert); }
.sub-form .notice { margin: 0; }
.available-item.promo { border-left: 3px solid var(--signal); padding-left: 10px; }
.sheet-meta { font-size: 13px; }

/* ------------------------------------------------------------------ lamps, tags */
.lamp {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font: 600 10.5px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2);
}
.lamp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.lamp.ok { color: var(--ok); } .lamp.ok::before { background: var(--ok); box-shadow: 0 0 10px rgba(52, 211, 153, 0.6); }
.lamp.warn { color: var(--warn); } .lamp.warn::before { background: var(--warn); box-shadow: 0 0 10px rgba(251, 191, 36, 0.55); }
.lamp.alert { color: var(--alert); } .lamp.alert::before { background: var(--alert-strong); box-shadow: 0 0 10px rgba(244, 63, 94, 0.6); }
.lamp.info { color: var(--signal); } .lamp.info::before { background: var(--signal); box-shadow: 0 0 10px var(--signal-glow); }
.lamp.off { color: var(--muted); }
.lamp.live::before { animation: pulse 2.4s ease-in-out infinite; }

.brand-tag { font-size: 12px; font-weight: 600; color: var(--text-2); }
.brand-tag.quicksie { color: var(--quicksie); } .brand-tag.wolf { color: var(--wolf); }
.brand-tag.digital { color: var(--digital); } .brand-tag.multi { color: var(--multi); }
.station-adds { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; }
.tag {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px;
  font: 600 10.5px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--surface-3); color: var(--text-2);
}
.tag.alert { background: rgba(244, 63, 94, 0.14); color: var(--alert); }
.tag.warn { background: rgba(251, 191, 36, 0.14); color: var(--warn); }
.tag.ok { background: rgba(52, 211, 153, 0.14); color: var(--ok); }
.tag.info { background: var(--signal-soft); color: var(--signal); }

/* ------------------------------------------------------------------ buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 15px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: 13.5px; line-height: 1.2; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: 0.45; cursor: not-allowed; }
.button-signal { background: var(--signal); color: var(--signal-ink); box-shadow: 0 0 0 0 var(--signal-glow); }
.button-signal:hover { background: var(--signal-2); box-shadow: 0 0 22px -4px var(--signal-glow); }
.button-outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.button-outline:hover { border-color: var(--signal); color: var(--signal-2); }
.button-ghost { background: transparent; color: var(--text-2); }
.button-ghost:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }
.button-danger { background: rgba(244, 63, 94, 0.12); border-color: rgba(244, 63, 94, 0.4); color: var(--alert); }
.button-danger:hover { background: rgba(244, 63, 94, 0.2); }
.button-small { padding: 6px 11px; font-size: 12.5px; }
.link-button {
  background: none; border: 0; padding: 2px 0; cursor: pointer;
  color: var(--signal); font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap;
}
.link-button:hover { color: var(--signal-2); text-decoration: underline; text-underline-offset: 3px; }
.link-button.dim { color: var(--muted); }
.link-button.dim:hover { color: var(--alert); }
.icon-button {
  position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 8px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; color: var(--text-2);
}
.icon-button:hover { color: var(--text); border-color: var(--signal); }
.icon-button svg { width: 18px; height: 18px; }
.badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--alert-strong); color: #fff;
  font: 700 10px/18px var(--mono); text-align: center; box-shadow: 0 0 0 2px var(--bg);
  animation: pulse-ring 2.4s ease-in-out infinite;
}

/* ------------------------------------------------------------------ surfaces */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.panel.inset { background: var(--surface-2); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }

.page-lead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-lead > div:first-child { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.stat {
  padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; gap: 6px;
}
.stat strong { font: 600 28px/1.1 var(--mono); }
.stat small { font-size: 12px; }


.notice {
  display: flex; gap: 12px; padding: 13px 16px; border-radius: var(--radius);
  border: 1px solid rgba(12, 192, 223, 0.3); background: var(--signal-soft); color: var(--text-2);
}
.notice strong { color: var(--text); }
.notice.alert { border-color: rgba(244, 63, 94, 0.4); background: rgba(244, 63, 94, 0.08); }
.notice.warn { border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }
.notice .lamp { margin-top: 3px; }
.notice.cookie-notice { flex-direction: column; align-items: stretch; gap: 12px; }
.notice.cookie-notice .button { justify-content: center; text-align: center; text-decoration: none; }

/* ------------------------------------------------------------------ toolbar & tables */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.search input {
  width: min(360px, 80vw); padding: 9px 12px 9px 34px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237b8ba1' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3 3'/%3E%3C/svg%3E") no-repeat 11px 50%;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.06em; color: var(--text-2);
}
.chip.active { border-color: var(--signal); color: var(--signal); background: var(--signal-soft); }

.table-shell { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; min-width: 880px; }
.data-table th {
  text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line);
  font: 500 10.5px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  background: var(--surface-2);
}
.data-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: rgba(148, 163, 184, 0.035); }
.data-table tr.flash td { animation: flash 1.6s ease-out; }
.data-table td strong { display: block; }
.data-table td small { display: block; margin-top: 3px; }
.data-table .mono { font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.table-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.note-line { margin-top: 6px; font-size: 12px; color: var(--alert); }

.empty-state {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: rgba(19, 29, 46, 0.5);
}
.empty-state.compact { padding: 18px; }

/* ------------------------------------------------------------------ queue & cards */
.queue-card {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start;
  padding: 16px 18px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface);
}
.queue-card .meta { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.queue-card .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.source-card { gap: 10px; }
.source-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.source-card details { border-top: 1px solid var(--line); padding-top: 10px; }
.source-card summary { cursor: pointer; font-weight: 600; color: var(--text); }
.source-details { display: grid; gap: 8px; margin-top: 10px; color: var(--text-2); font-size: 13px; }
.source-details ul { margin: 0; padding-left: 18px; }

.saved-card { gap: 10px; }
.saved-card .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------ forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field > span { font: 500 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 9px 11px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: #0d1524; color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.field input[type="date"] { color-scheme: dark; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--signal); width: 16px; height: 16px; flex: none; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; font: 500 12px/1.4 var(--mono); }

/* ------------------------------------------------------------------ pitch builder */
.split-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.9fr); gap: 18px; align-items: start; }
.step-title { display: flex; align-items: center; gap: 10px; }
.step-title .num { font: 600 12px/1 var(--mono); color: var(--signal); padding: 4px 6px; border: 1px solid rgba(12, 192, 223, 0.35); border-radius: 5px; }
.available-list, .quote-list { display: flex; flex-direction: column; gap: 8px; }
.available-item, .quote-row {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  padding: 11px 13px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2);
}
.available-item small, .quote-row small { display: block; margin-top: 2px; }
.available-price { display: flex; align-items: center; gap: 14px; }
.quote-row { grid-template-columns: 1fr 90px auto; }
.quote-row .field input { padding: 6px 8px; }
.proposal-panel { position: sticky; top: 76px; }
.proposal-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.sheet {
  border-radius: var(--radius); padding: 22px; background: #f7f9fc; color: #0f1a2b;
  display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 0 0 1px rgba(15, 26, 43, 0.08);
}
.sheet p, .sheet small { color: #44546a; }
.sheet .sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid #0f1a2b; }
.sheet .sheet-brand img { width: 128px; height: auto; display: block; }
.sheet .sheet-sign { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid #dbe2ec; }
.sheet .sheet-slogan { width: 168px; height: auto; display: block; }
.sheet .sheet-stations { display: flex; align-items: center; gap: 14px; }
.sheet .sheet-stations img { height: 44px; width: auto; display: block; }
.sheet .sheet-stations img.wolf { height: 35px; }
.sheet .sheet-kicker { font: 600 10.5px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #0a8fae; }
.sheet .sheet-kicker.political { color: #be123c; }
.sheet h2 { color: #0f1a2b; font-size: 22px; }
.sheet .sheet-lines { display: flex; flex-direction: column; border-top: 1px solid #dbe2ec; }
.sheet .sheet-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #dbe2ec; }
.sheet .sheet-line strong { color: #0f1a2b; }
.sheet .sheet-line small { display: block; }
.sheet .sheet-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.sheet .sheet-total strong { font: 700 22px/1 var(--mono); color: #0f1a2b; }
.sheet .sheet-foot { font-size: 11.5px; color: #5b6b82; }

/* ------------------------------------------------------------------ alerts */
.alert-list { display: flex; flex-direction: column; gap: 8px; }
.alert-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; width: 100%; text-align: left;
  padding: 13px 15px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); cursor: pointer;
}
.alert-item:hover { border-color: var(--line-strong); }
.alert-item.unread { border-color: rgba(12, 192, 223, 0.35); background: linear-gradient(90deg, var(--signal-soft), var(--surface) 40%); }
.alert-item p { font-size: 13px; margin-top: 3px; }
.alert-item time { font: 500 11px/1.4 var(--mono); color: var(--muted); white-space: nowrap; }

.history { display: flex; flex-direction: column; }
.history-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.history-row:last-child { border-bottom: 0; }
.history-row time { font: 500 11.5px/1.5 var(--mono); color: var(--muted); }

.staff-list { display: flex; flex-direction: column; }
.staff-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.staff-row:last-child { border-bottom: 0; }
.staff-row small { display: block; }

/* ------------------------------------------------------------------ auth screens */
.auth-screen {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 48px 20px 28px;
  background:
    radial-gradient(760px 460px at 50% 18%, rgba(12, 192, 223, 0.13), transparent 62%),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.035) 0 1px, transparent 1px 4px),
    var(--bg);
}
.auth-stack { flex: 1; width: min(360px, 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; padding-bottom: 8px; }
.auth-logo { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; animation: auth-rise 0.6s ease-out both; }
.auth-logo img { width: min(290px, 74vw); height: auto; display: block; }
.auth-product { font: 600 14px/1 var(--mono); letter-spacing: 0.5em; text-transform: uppercase; color: var(--signal); padding-left: 0.5em; }
.auth-card { width: 100%; display: flex; flex-direction: column; gap: 14px; animation: auth-rise 0.6s 0.08s ease-out both; }
.auth-card form { display: flex; flex-direction: column; gap: 12px; }
.auth-card .button { width: 100%; padding: 12px; }
.auth-title { font-size: 18px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.auth-title small { font: 500 11px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.auth-input {
  width: 100%; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: rgba(10, 17, 29, 0.7); color: var(--text); font: 400 15px/1.3 var(--sans);
}
.auth-input::placeholder { color: var(--muted); }
.auth-input:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.auth-foot { display: flex; justify-content: center; padding-top: 28px; animation: auth-rise 0.6s 0.24s ease-out both; }
.auth-slogan { width: min(220px, 60vw); height: auto; display: block; opacity: 0.9; }
.auth-stations { display: flex; align-items: center; justify-content: center; gap: 34px; margin-top: 6px; animation: auth-rise 0.6s 0.16s ease-out both; }
.auth-stations img { height: 96px; width: auto; display: block; }
.auth-stations img.wolf { height: 77px; }
@media (max-width: 480px) { .auth-stations { gap: 26px; } .auth-stations img { height: 78px; } .auth-stations img.wolf { height: 62px; } }
@keyframes auth-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .auth-logo, .auth-card, .auth-stations, .auth-foot { animation: none; } }

/* ------------------------------------------------------------------ modal, toast, menu */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px;
  background: rgba(2, 6, 14, 0.72); backdrop-filter: blur(4px); animation: fade 0.15s ease-out;
}
.modal {
  width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: var(--surface);
  box-shadow: var(--shadow); animation: rise 0.18s ease-out;
}
.modal.narrow { width: min(520px, 100%); }
.modal-head { display: flex; justify-content: space-between; gap: 14px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.modal-head > div { display: flex; flex-direction: column; gap: 6px; }
.modal-body { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 20px; border-top: 1px solid var(--line); }
.close-button { background: none; border: 0; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.close-button:hover { color: var(--text); }
.facts { display: grid; grid-template-columns: 160px 1fr; gap: 8px 14px; font-size: 13px; }
.facts dt { font: 500 11px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--text); word-break: break-word; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: min(560px, calc(100vw - 32px)); padding: 12px 16px; border-radius: var(--radius);
  background: #0d1524; border: 1px solid var(--line-strong); color: var(--text); box-shadow: var(--shadow);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: rgba(244, 63, 94, 0.5); }

.menu { position: relative; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; z-index: 30; padding: 6px;
  border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface-2); box-shadow: var(--shadow);
}
.menu-panel button { display: block; width: 100%; text-align: left; padding: 9px 11px; border: 0; border-radius: 7px; background: none; cursor: pointer; color: var(--text); }
.menu-panel button:hover { background: rgba(148, 163, 184, 0.09); }
.menu-panel .menu-meta { padding: 9px 11px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }

.loading { display: grid; place-items: center; min-height: 100vh; }
.loading img { width: 200px; height: auto; animation: loading-pulse 1.6s ease-in-out infinite; }
@keyframes loading-pulse { 50% { opacity: 0.55; } }

/* ------------------------------------------------------------------ motion */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes pulse-ring { 0%, 100% { box-shadow: 0 0 0 2px var(--bg), 0 0 0 2px rgba(244, 63, 94, 0); } 50% { box-shadow: 0 0 0 2px var(--bg), 0 0 0 6px rgba(244, 63, 94, 0.22); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes flash { from { background: rgba(12, 192, 223, 0.16); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------ product form icon picker */
.rc-icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; max-height: 214px; overflow: auto; padding: 3px; }
.rc-icon-pick { position: relative; display: grid; place-items: center; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.rc-icon-pick:hover { border-color: var(--line-strong); }
.rc-icon-pick svg { width: 28px; height: 28px; --tone: var(--signal); }
.rc-icon-pick input { position: absolute; opacity: 0; pointer-events: none; }
.rc-icon-pick:has(input:checked) { border-color: var(--signal); background: var(--signal-soft); box-shadow: 0 0 0 2px var(--signal-glow); }
.rc-icon-pick:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.rc-icon-pick.none span { font-size: 11px; color: var(--muted); }

/* ------------------------------------------------------------------ rate card (streaming style) */
.st-page { position: relative; display: flex; flex-direction: column; gap: 30px; padding-bottom: 24px; }
.st-page [hidden], .st-row[hidden], .st-ranked[hidden], .st-tile[hidden] { display: none !important; }
.st-cats { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.st-cats-title { font: 800 26px/1 var(--sans); letter-spacing: -0.02em; color: #fff; }
.st-cat-list { display: flex; gap: 6px; flex-wrap: wrap; }
.st-cat {
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); background: transparent;
  color: #fff; font: 600 14px/1 var(--sans); cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.st-cat:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.st-cat.active { background: #fff; color: #0a111d; border-color: #fff; }
.st-search {
  margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: min(300px, 100%);
  padding: 0 12px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(10, 17, 29, 0.7);
}
.st-search:focus-within { border-color: #fff; }
.st-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.st-search input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: 400 14px/1 var(--sans); outline: none; }

/* billboard */
.st-hero, .st-pol-hero {
  position: relative; min-height: clamp(340px, 42vw, 520px); border-radius: 18px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 120% at 85% 20%, color-mix(in srgb, var(--tone) 45%, #0a111d) 0%, #0a111d 70%);
  display: flex; align-items: flex-end;
}
@keyframes st-drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
.st-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 12, 21, 0.96) 0%, rgba(7, 12, 21, 0.78) 34%, rgba(7, 12, 21, 0.15) 70%, rgba(7, 12, 21, 0) 100%),
    linear-gradient(0deg, rgba(10, 17, 29, 0.9) 0%, rgba(10, 17, 29, 0) 45%);
}
.st-hero-copy { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 4vw, 48px); max-width: 640px; }
.st-hero-kicker { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--tone); }
.st-hero h1, .st-pol-hero h1, .rl-page .st-hero-copy > h2 { margin: 0; font: 800 clamp(34px, 5vw, 62px)/1 var(--sans); letter-spacing: -0.025em; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.st-pol-hero h1 small { font-size: 0.38em; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, 0.75); }
.st-hero-copy p { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.86); max-width: 540px; }
.st-hero-meta { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; font: 500 14px/1.3 var(--sans); color: rgba(255, 255, 255, 0.82); }
.st-pill { padding: 3px 9px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.5); font: 700 11px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.st-hero-price b { font-size: 20px; color: #fff; }
.st-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.st-hero-stations { display: flex; align-items: center; gap: 16px; margin-top: 6px; opacity: 0.92; }
.st-hero-stations img { height: 34px; width: auto; }
.st-hero-stations img.wolf { height: 28px; }
.st-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 8px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--sans); text-decoration: none; transition: transform 0.12s ease, background 0.15s ease, opacity 0.15s ease;
}
.st-btn svg { width: 20px; height: 20px; }
.st-btn:active { transform: scale(0.97); }
.st-btn.play { background: #fff; color: #0a111d; }
.st-btn.play:hover { background: rgba(255, 255, 255, 0.82); }
.st-btn.ghost { background: rgba(109, 116, 128, 0.55); color: #fff; backdrop-filter: blur(6px); }
.st-btn.ghost:hover { background: rgba(109, 116, 128, 0.38); }
.st-btn.small { padding: 9px 16px; font-size: 14px; }

/* rows */
.st-row { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.st-row-head { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.st-row-head h2 { margin: 0; font: 700 21px/1.2 var(--sans); color: #fff; }
.st-row-head span { font-size: 13px; color: var(--muted); }
.st-rail { position: relative; margin: 0 -6px; }
.st-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(230px, 23vw, 300px); gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 6px;
  padding: 12px 6px 22px; scrollbar-width: none;
}
.st-track::-webkit-scrollbar { display: none; }
.st-radio-row .st-track { grid-auto-columns: clamp(270px, 30vw, 390px); }
.st-top10 .st-track { grid-auto-columns: clamp(290px, 29vw, 380px); gap: 4px; }
.st-arrow {
  position: absolute; top: 12px; bottom: 22px; z-index: 5; width: 48px; border: 0; cursor: pointer;
  color: #fff; font: 300 46px/1 var(--sans); opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.st-arrow.prev { left: 0; border-radius: 0 10px 10px 0; background: linear-gradient(90deg, rgba(7, 12, 21, 0.92), rgba(7, 12, 21, 0)); }
.st-arrow.next { right: 0; border-radius: 10px 0 0 10px; background: linear-gradient(270deg, rgba(7, 12, 21, 0.92), rgba(7, 12, 21, 0)); }
.st-rail.can-prev:hover .st-arrow.prev, .st-rail.can-next:hover .st-arrow.next { opacity: 1; pointer-events: auto; }
.st-arrow:hover { font-size: 56px; }

/* tiles */
.st-tile {
  position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; scroll-snap-align: start;
  background: color-mix(in srgb, var(--tone) 30%, #131d2e); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease; z-index: 1;
}
.st-tile:hover, .st-tile:focus-within { transform: scale(1.045) translateY(-4px); z-index: 3; box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55), 0 0 0 2px var(--tone); }
.st-tile.flash { box-shadow: 0 0 0 3px var(--tone), 0 0 30px var(--tone); }
.st-hit { position: absolute; inset: 0; display: block; padding: 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; }
.st-hit:focus-visible { outline: 3px solid #fff; outline-offset: -3px; border-radius: 10px; }
.st-art { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Product art: icon on a tinted stage (no photos). Used by tiles, billboard, political banner, minis and the title page. */
.st-stage {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(70% 95% at 80% 34%, color-mix(in srgb, var(--tone) 30%, transparent) 0%, transparent 66%),
    radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, var(--tone) 10%, transparent) 0%, transparent 70%),
    linear-gradient(155deg, color-mix(in srgb, var(--tone) 15%, #0c1424) 0%, #080d18 72%);
}
.st-grid {
  position: absolute; inset: 0; opacity: 0.9;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 22px 22px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(72% 90% at 80% 34%, #000 0%, transparent 74%); mask-image: radial-gradient(72% 90% at 80% 34%, #000 0%, transparent 74%);
}
.st-orb { position: absolute; top: 9%; right: 7%; height: 60%; aspect-ratio: 1; display: grid; place-items: center; --ring: 11px;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.st-rings {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 52%, transparent 72%), color-mix(in srgb, var(--tone) 13%, rgba(8, 13, 24, 0.6));
  border: 1px solid color-mix(in srgb, var(--tone) 48%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 0 var(--ring) color-mix(in srgb, var(--tone) 7%, transparent),
    0 0 0 calc(var(--ring) * 2.3) color-mix(in srgb, var(--tone) 3.5%, transparent),
    0 18px 60px -12px color-mix(in srgb, var(--tone) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.st-glyph { position: relative; width: 52%; height: 52%; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35)); }
.glyph .g-line { fill: #F3F6FC; }
.glyph .g-accent { fill: var(--tone, #38BDF8); opacity: 0.62; }
.st-tile:hover .st-orb, .st-mini:hover .st-orb { transform: translateY(-3%) scale(1.06); }
.st-tile:hover .st-rings { border-color: color-mix(in srgb, var(--tone) 75%, #fff); }
.st-stage.hero, .st-stage.banner, .st-stage.detail { z-index: -2; }
.st-stage.hero .st-orb { top: 50%; right: 8%; height: 68%; transform: translateY(-50%); --ring: 26px; }
.st-stage.hero .st-grid { background-size: 34px 34px; }
.st-stage.banner .st-orb { top: 50%; right: 4%; height: 150%; transform: translateY(-50%); --ring: 18px; }
.st-pol-banner:hover .st-stage.banner .st-orb { transform: translateY(-50%) scale(1.04); }
.st-stage.mini .st-orb { top: 10%; right: 7%; height: 58%; --ring: 6px; }
.st-stage.detail .st-orb { top: 12%; right: 6%; height: 64%; --ring: 16px; }
.st-stage.detail .st-grid { background-size: 28px 28px; }
.glyph-thumb { position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(90% 120% at 70% 30%, color-mix(in srgb, var(--tone) 34%, transparent), transparent 70%), linear-gradient(155deg, color-mix(in srgb, var(--tone) 16%, #0c1424), #080d18); }
.glyph-thumb .glyph { width: 46%; height: auto; aspect-ratio: 1; }
@media (max-width: 720px) {
  /* Phones: the icon sits in its own corner above the copy so it never runs behind the text. */
  .st-stage.hero .st-orb { top: 20px; right: 20px; height: 112px; transform: none; --ring: 10px; }
  .st-hero .st-hero-copy, .st-pol-hero .st-hero-copy { padding-top: 156px; }
  .st-stage.banner .st-orb { height: 120%; right: -6%; }
  .st-stage.detail .st-orb { top: 18px; right: 66px; height: 92px; --ring: 8px; }
}
.st-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 16, 0) 30%, rgba(5, 9, 16, 0.55) 62%, rgba(5, 9, 16, 0.94) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--tone) 32%, transparent) 0%, transparent 38%);
}
.st-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 60px); }
.st-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 4px;
  background: rgba(5, 9, 16, 0.66); backdrop-filter: blur(4px); color: #fff; font: 700 10px/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
}
.st-badge.political { background: #9f1239; }
.st-copy { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 3px; }
.st-kind { font: 800 10.5px/1.2 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--tone) 70%, #fff); }
.st-name { font: 800 19px/1.12 var(--sans); letter-spacing: -0.01em; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.st-tile.big .st-name { font-size: 23px; }
.st-meta { font: 500 12.5px/1.3 var(--sans); color: rgba(255, 255, 255, 0.82); }
.st-meta b { color: #fff; font-weight: 800; font-size: 14px; }
.st-peek {
  max-height: 0; opacity: 0; overflow: hidden; font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.88);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}
.st-tile:hover .st-peek, .st-tile:focus-within .st-peek { max-height: 40px; opacity: 1; margin-top: 3px; }
.st-quick {
  position: absolute; top: 9px; right: 9px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85); background: rgba(5, 9, 16, 0.55); color: #fff; font: 400 24px/1 var(--sans);
  display: grid; place-items: center; cursor: pointer; opacity: 0; transform: scale(0.85); transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}
.st-tile:hover .st-quick, .st-quick:focus-visible { opacity: 1; transform: none; }
.st-quick:hover { background: #fff; color: #0a111d; }
@media (hover: none) { .st-quick { opacity: 1; transform: none; } .st-peek { display: none; } }

/* Top-10 style ranked tiles */
.st-ranked { display: flex; align-items: flex-end; scroll-snap-align: start; min-width: 0; }
.st-rank {
  flex: none; margin-right: -22px; font: 900 clamp(96px, 9vw, 150px)/0.78 var(--sans); letter-spacing: -0.08em;
  color: var(--bg); -webkit-text-stroke: 3px rgba(255, 255, 255, 0.5); user-select: none; z-index: 0; padding-bottom: 2px;
}
.st-ranked .st-tile { flex: 1; min-width: 0; }
.st-ranked:hover .st-rank { -webkit-text-stroke-color: #fff; }

/* political */
.st-pol-banner {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; min-height: 150px;
  padding: 26px 30px; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; text-align: left; color: #fff; isolation: isolate;
  background: linear-gradient(120deg, #4c0519, #0a111d); transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.st-pol-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(76, 5, 25, 0.95) 0%, rgba(10, 17, 29, 0.78) 50%, rgba(10, 17, 29, 0.35) 100%); }
.st-pol-banner:hover { box-shadow: 0 0 0 2px var(--tone), 0 18px 40px rgba(0, 0, 0, 0.5); }
.st-pol-copy { display: flex; flex-direction: column; gap: 6px; }
.st-pol-copy b { font: 800 26px/1.1 var(--sans); }
.st-pol-copy span { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.st-pol-go { flex: none; padding: 10px 18px; border-radius: 8px; background: #fff; color: #0a111d; font: 700 14px/1 var(--sans); }
.st-political { display: flex; flex-direction: column; gap: 18px; }
.st-pol-hero { background: radial-gradient(120% 120% at 85% 20%, #7f1d1d 0%, #0a111d 70%); }
.st-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.st-rule, .st-disclosure { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.st-rule h3, .st-disclosure h3 { margin: 0 0 10px; font: 700 16px/1.2 var(--sans); color: #fff; }
.st-rule ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.st-rule li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.st-rule li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: #fb7185; }
.st-disclosure { border-left: 4px solid #fb7185; }
.st-disclosure p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.st-know { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-know > div { padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--text-2); }
.st-know b { color: #fff; }
.st-nomatch { margin: 0; padding: 30px 0; text-align: center; color: var(--text-2); font-size: 15px; }
.st-fine { margin: 0; }
.st-tray {
  position: sticky; bottom: 18px; z-index: 20; align-self: flex-end; display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(19, 29, 46, 0.94); backdrop-filter: blur(10px); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5); color: #fff; animation: rise 0.2s ease-out;
}
.st-tray b { color: var(--signal); font-size: 16px; }

/* title page (modal) */
.modal:has(.st-detail) { width: min(900px, 100%); }
.st-detail-hero { position: relative; min-height: 270px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 120% at 85% 10%, color-mix(in srgb, var(--tone) 50%, #0a111d), #131d2e 75%); }
.st-detail-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--surface) 0%, rgba(19, 29, 46, 0.75) 38%, rgba(19, 29, 46, 0.1) 100%); }
.st-detail-hero .close-button { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(5, 9, 16, 0.65); color: #fff; display: grid; place-items: center; }
.st-detail-copy { display: flex; flex-direction: column; gap: 8px; padding: 0 26px 6px; max-width: 680px; }
.st-detail-copy h2 { margin: 0; font: 800 clamp(28px, 4vw, 40px)/1.05 var(--sans); letter-spacing: -0.02em; color: #fff; }
.st-detail-copy p { margin: 0; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.st-detail-copy .st-kind { display: inline-flex; align-items: center; gap: 6px; }
.st-detail-body { gap: 20px; padding: 18px 26px 22px; }
.st-detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.st-calc { padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.st-calc h3, .st-included h3, .st-more h3 { margin: 0; font: 700 16px/1.2 var(--sans); color: #fff; }
.st-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st-seg button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px;
  border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font: 600 12px/1.2 var(--sans); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.st-seg button:hover { border-color: rgba(255, 255, 255, 0.5); }
.st-seg button.active { border-color: var(--tone); background: color-mix(in srgb, var(--tone) 16%, var(--surface)); color: #fff; box-shadow: 0 0 0 1px var(--tone); }
.st-seg-logo { height: 28px; width: auto; }
.st-seg-logo.wolf { height: 23px; }
.st-both { font: 800 17px/28px var(--sans); color: #fff; }
.st-calc-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.st-stepper { display: flex; flex-direction: column; gap: 6px; }
.st-stepper > span { font: 600 11px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.st-stepper > div { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-strong); overflow: hidden; background: var(--surface); }
.st-stepper button { width: 42px; height: 42px; border: 0; background: none; color: #fff; font: 500 22px/1 var(--sans); cursor: pointer; }
.st-stepper button:hover { background: rgba(255, 255, 255, 0.08); }
.st-stepper input { width: 64px; height: 42px; border: 0; background: none; color: #fff; text-align: center; font: 800 18px/1 var(--sans); -moz-appearance: textfield; }
.st-stepper input::-webkit-outer-spin-button, .st-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.st-total-box { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.st-total-math { font-size: 12px; color: var(--muted); }
.st-total { font: 800 32px/1 var(--sans); color: #fff; letter-spacing: -0.02em; }
.st-total-box small { font-size: 12px; color: var(--tone); }
.st-facts { margin: 0; display: flex; flex-direction: column; }
.st-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.st-facts dt { font: 600 11px/1.5 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.st-facts dd { margin: 0; font-weight: 600; color: #fff; text-align: right; }
.st-included { display: flex; flex-direction: column; gap: 10px; }
.st-included ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 18px; }
.st-included li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.st-included li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--tone); }
.st-more { display: flex; flex-direction: column; gap: 10px; }
.st-more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.st-mini { position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer; color: #fff; text-align: left;
  background: color-mix(in srgb, var(--tone) 35%, #131d2e); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.st-mini:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--tone); }
.st-mini-copy { position: absolute; left: 9px; right: 9px; bottom: 7px; display: flex; flex-direction: column; gap: 1px; }
.st-mini-copy b { font-size: 13px; line-height: 1.15; }
.st-mini-copy small { font-size: 11.5px; color: rgba(255, 255, 255, 0.82); }

/* home: Popular Advertising Solutions sits under Current promotions */
.home-popular .st-row-head h2 { font-size: 19px; }

/* ------------------------------------------------------------------ proposals: photos, client status, send */
.available-item { grid-template-columns: 76px minmax(0, 1fr) auto; }
.avail-thumb { width: 76px; aspect-ratio: 16 / 9; border-radius: 6px; object-fit: cover; display: block; background: var(--surface-3); }
.avail-thumb.blank { background: linear-gradient(135deg, var(--surface-3), var(--surface)); }
.proposal-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.proposal-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.proposal-stats b { font: 800 28px/1 var(--sans); color: #fff; }
.proposal-stats span { font-size: 13px; color: var(--muted); }
.proposal-stats .hot { border-color: rgba(251, 113, 133, 0.5); background: rgba(251, 113, 133, 0.08); }
.proposal-stats .hot b { color: var(--alert); }
.client-line { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; padding: 9px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.client-line small { color: var(--text-2); }
.saved-sig { margin: 0; display: flex; align-items: center; gap: 12px; padding: 6px 12px; border-radius: 10px; background: linear-gradient(180deg, #ffffff, #eef2f7); color: #0b1f3a; }
.saved-sig .sig-svg { display: block; height: 46px; width: auto; max-width: 62%; flex: none; }
.saved-sig figcaption { font-size: 12.5px; color: #475569; line-height: 1.3; }
.client-line.ok { border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.07); }
.client-line.alert { border-color: rgba(251, 113, 133, 0.45); background: rgba(251, 113, 133, 0.07); }
.client-note { margin: 0; padding: 8px 12px; border-left: 3px solid var(--alert); color: var(--text); font-size: 14px; font-style: italic; background: rgba(251, 113, 133, 0.05); border-radius: 0 8px 8px 0; }
.saved-card.status-approved { border-color: rgba(52, 211, 153, 0.35); }
.saved-card.status-changes { border-color: rgba(251, 113, 133, 0.45); }
.share-actions { display: flex; gap: 8px; flex-wrap: wrap; }
/* Promotion share modal: one link per client, with who opened it and who is interested. */
.share-made { display: grid; gap: 12px; padding: 16px; margin-bottom: 18px; border-radius: 14px;
  border: 1px solid rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.07); }
.share-made p { margin: 0; color: var(--text); }
.share-form { display: grid; gap: 12px; }
.share-form h3, .client-links h3 { margin: 0; font: 700 16px/1.3 var(--sans); color: #fff; }
.share-form .fineprint { margin: 0; }
.client-links { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.client-links h3 .count { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; }
.client-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.client-link { display: grid; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.client-link.interested { border-color: rgba(52, 211, 153, 0.5); box-shadow: inset 3px 0 0 var(--ok); }
.client-link-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.client-link-who strong { color: #fff; font-size: 15px; }
.client-link-who span { color: var(--text-2); }
.client-link-who small { flex-basis: 100%; color: var(--muted); }
.client-link .client-line { padding: 7px 10px; }
.client-link .client-note { border-left-color: var(--ok); background: rgba(52, 211, 153, 0.06); }
.client-link-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.client-link-actions [data-action="share-off"] { margin-left: auto; color: var(--muted); }
.client-link-actions [data-action="share-off"]:hover { color: var(--alert); }
/* Proposals: Mine / Whole team (managers) and Delete. */
.scope-switch { display: inline-flex; padding: 4px; margin: 0 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.scope-switch button { border: 0; background: transparent; color: var(--text-2); font: 600 14px/1 var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.scope-switch button[aria-pressed="true"] { background: var(--signal); color: #04131a; }
.scope-switch button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.link-button.danger { color: var(--muted); }
.link-button.danger:hover { color: var(--alert); }

/* ------------------------------------------------------------------ media kits */
.kits { display: flex; flex-direction: column; gap: 26px; }
.kits-lead h1, .rl-kits .kits-lead h2 { margin: 6px 0 6px; font: 800 clamp(30px, 4vw, 44px)/1.05 var(--sans); letter-spacing: -0.02em; color: #fff; }
.kits-lead p { margin: 0; color: var(--text-2); }
.kit-switches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kit-switch {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 140px; padding: 18px;
  border-radius: 14px; border: 1px solid var(--line-strong); cursor: pointer; color: var(--text-2); font: 700 14px/1.2 var(--sans);
  background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--tone) 22%, #131d2e), #0d1524 75%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.kit-switch:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 60%, transparent); color: #fff; }
.kit-switch.active { border-color: var(--tone); color: #fff; box-shadow: 0 0 0 2px var(--tone), 0 16px 36px rgba(0, 0, 0, 0.45); }
.kit-switch-logo { height: 64px; width: auto; max-width: 80%; object-fit: contain; }
.kit-switch-logo.wolf { height: 52px; }
.kit-switch-logo.skytower { height: 58px; }
.kit-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 12%, var(--surface)), var(--surface) 60%); }
.kit-about-copy { display: flex; flex-direction: column; gap: 10px; }
.kit-about-copy h2 { margin: 0; font: 800 26px/1.15 var(--sans); color: #fff; }
.kit-about-copy p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.kit-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.kit-facts > div { padding: 10px 12px; border-radius: 10px; background: rgba(5, 9, 16, 0.35); border: 1px solid var(--line); }
.kit-facts dt { font: 600 10.5px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.kit-facts dd { margin: 3px 0 0; font-weight: 600; color: #fff; font-size: 14px; word-break: break-word; }
.kit-block { display: flex; flex-direction: column; gap: 12px; }
.kit-head { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.kit-head h2 { margin: 0; font: 700 21px/1.2 var(--sans); color: #fff; }
.kit-head span { font-size: 13px; color: var(--muted); }
.kit-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.kit-stat { display: flex; flex-direction: column; gap: 5px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); border-top: 3px solid var(--tone); }
.kit-stat b { font: 900 40px/1 var(--sans); color: var(--tone); letter-spacing: -0.03em; }
.kit-stat strong { font-size: 15px; color: #fff; }
.kit-stat span { font-size: 13.5px; color: var(--text-2); }
.kit-stat small { margin-top: auto; padding-top: 6px; font-size: 11.5px; color: var(--muted); }
.kit-chips .chip.active { border-color: var(--tone); color: #fff; background: color-mix(in srgb, var(--tone) 18%, transparent); }
.kit-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.kit-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kit-table th { padding: 11px 14px; text-align: left; font: 600 10.5px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.kit-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); white-space: nowrap; }
.kit-table td:nth-child(n+4), .kit-table th:nth-child(n+4) { text-align: right; }
.kit-table tr:last-child td { border-bottom: 0; }
.kit-table tr.ours td { background: color-mix(in srgb, var(--tone) 14%, transparent); color: #fff; font-weight: 700; }
.kit-table tr.ours td:first-child { box-shadow: inset 3px 0 0 var(--tone); }
.kit-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.kit-doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.kit-doc:hover { border-color: var(--tone); transform: translateY(-2px); }
.kit-doc-type { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 18%, var(--surface-2)); color: var(--tone); font: 800 11px/1 var(--sans); letter-spacing: 0.06em; }
.kit-doc b { display: block; color: #fff; font-size: 14px; }
.kit-doc small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.kit-doc-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.kit-doc:has(.kit-doc-acts) { flex-wrap: wrap; row-gap: 10px; }
.kit-doc-acts { flex: 1 0 100%; display: flex; gap: 8px; padding-left: 58px; }
.kit-doc-act { display: inline-flex; justify-content: center; padding: 5px 11px; border-radius: 999px; background: var(--tone); color: #0b1220; font: 700 12px/1.2 var(--sans); text-decoration: none; white-space: nowrap; }
.kit-doc-act.ghost { background: transparent; border: 1px solid var(--line); color: var(--text-2); }
.kit-doc-act:hover { filter: brightness(1.08); }
.kit-doc-act.ghost:hover { border-color: var(--tone); color: #fff; }
.kit-report { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.kit-table td small { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.kit-table tr.ours td small { color: color-mix(in srgb, #fff 72%, var(--tone)); }
.kit-docs:has(.kit-doc-acts) { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 640px) {
  .kit-table th:nth-child(3), .kit-table td:nth-child(3) { display: none; }
  .kit-table th, .kit-table td { padding: 9px 10px; }
}
.kit-coverage { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.kit-coverage.text-only { grid-template-columns: 1fr; }
.kit-map { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #fff; }
.kit-map img { display: block; width: 100%; height: auto; transition: transform 0.5s ease; }
.kit-map:hover img { transform: scale(1.03); }
.kit-map span { position: absolute; right: 10px; bottom: 10px; padding: 7px 12px; border-radius: 999px; background: rgba(5, 9, 16, 0.78); color: #fff; font-size: 12.5px; font-weight: 600; }
.kit-coverage-copy { display: flex; flex-direction: column; gap: 10px; }
.kit-coverage-copy h3 { margin: 0; font: 700 18px/1.2 var(--sans); color: #fff; }
.kit-coverage-copy h4 { margin: 4px 0 0; font: 600 11px/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.kit-coverage-copy p { margin: 0; color: var(--text-2); line-height: 1.55; }
.kit-counties { display: flex; flex-wrap: wrap; gap: 6px; }
.kit-county { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; color: var(--text-2); }
.kit-county.top { border-color: var(--tone); background: color-mix(in srgb, var(--tone) 18%, transparent); color: #fff; font-weight: 700; }
.kit-county.mini { padding: 1px 7px; font-size: 11.5px; }
.kit-cities { font-size: 13.5px; }
.kit-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.kit-head > .button { margin-left: auto; align-self: center; }
.kit-logo-group { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin-top: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.kit-logo-group h3 { margin: 0; font: 700 16px/1.2 var(--sans); color: #fff; }
.kit-logo-group span { font-size: 13px; color: var(--muted); }
.kit-logo-art.square { height: 190px; padding: 14px; }
.kit-logo-art.square img { max-height: 160px; border-radius: 8px; }
.kit-logo { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.kit-logo-art { display: grid; place-items: center; height: 150px; padding: 18px; }
.kit-logo-art img { max-width: 100%; max-height: 110px; object-fit: contain; }
.kit-logo-art.bg-dark { background: #0b0f17; }
.kit-logo-art.bg-light { background: #ffffff; }
.kit-logo-art.bg-any { background: repeating-conic-gradient(#e5e7eb 0% 25%, #ffffff 0% 50%) 50% / 18px 18px; }
.kit-logo-copy { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.kit-logo-copy strong { color: #fff; font-size: 14.5px; }
.kit-logo-copy small { color: var(--muted); font-size: 12.5px; }
.kit-use { align-self: flex-start; padding: 3px 9px; border-radius: 999px; font: 700 10.5px/1.4 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
.kit-use.dark { background: #0b0f17; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.kit-use.light { background: #fff; color: #0b0f17; }
.kit-use.any { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid var(--line-strong); }
.kit-use.any::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(90deg, #0b0f17 50%, #fff 50%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); }
.kit-key { padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--line-strong); background: rgba(19, 29, 46, 0.5); }
.kit-key h3 { margin: 0 0 10px; font: 700 16px/1.2 var(--sans); color: #fff; }
.kit-key ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.kit-key b { color: #fff; }
@media (max-width: 1279px) { .kit-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kit-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .kit-logo-art { height: 120px; padding: 12px; } .kit-logo-art.square { height: 150px; } .kit-logo-art.square img { max-height: 126px; } .kit-logo-copy { padding: 10px 11px 12px; } }

@media (max-width: 860px) {
  .st-cats-title { font-size: 22px; }
  .st-search { margin-left: 0; width: 100%; }
  .st-hero, .st-pol-hero { min-height: 420px; }
  .st-hero-shade { background: linear-gradient(0deg, rgba(7, 12, 21, 0.97) 0%, rgba(7, 12, 21, 0.75) 45%, rgba(7, 12, 21, 0.1) 100%); }
  .st-track { grid-auto-columns: 74vw; }
  .st-radio-row .st-track, .st-top10 .st-track { grid-auto-columns: 82vw; }
  .st-rank { font-size: 92px; margin-right: -16px; }
  .st-know { grid-template-columns: 1fr; }
  .st-pol-banner { flex-direction: column; align-items: flex-start; }
  .st-detail-grid { grid-template-columns: 1fr; }
  .st-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-detail-hero { min-height: 220px; }
  .proposal-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-switches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .kit-switch { min-height: 104px; padding: 12px 8px; font-size: 12px; }
  .kit-switch-logo { height: 44px; } .kit-switch-logo.wolf { height: 36px; } .kit-switch-logo.skytower { height: 40px; }
  .kit-about, .kit-coverage { grid-template-columns: 1fr; padding: 16px; }
  .kit-facts { grid-template-columns: 1fr 1fr; }
  .available-item { grid-template-columns: 60px minmax(0, 1fr); }
  .available-item .available-price { grid-column: 1 / -1; justify-content: space-between; }
  .avail-thumb { width: 60px; }
}
@media (max-width: 480px) {
  .st-seg button span:last-child { font-size: 11px; }
  .kit-facts { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-layout { grid-template-columns: 1fr; }
  .proposal-panel { position: static; }
  .promo-split { grid-template-columns: 1fr; }
  .promo-media { position: static; }
}
@media (max-width: 860px) {
  .topnav { flex-wrap: wrap; gap: 8px 14px; padding: 10px 16px 0; }
  .brand-home img { width: 92px; }
  .brand-product { letter-spacing: 0.3em; padding-left: 10px; }
  .top-actions { margin-left: auto; }
  .top-links { order: 3; flex-basis: 100%; margin: 0 -8px; padding-bottom: 4px; }
  .top-link { padding: 10px 12px; font-size: 13.5px; }
  .billboard { min-height: 320px; }
  .billboard-copy { padding: 24px 22px; }
  .billboard-copy h1, .rl-page .billboard-copy h2 { font-size: 30px; }
  .billboard-logo { max-width: 240px; max-height: 110px; }
  .billboard.has-art { flex-direction: column; align-items: stretch; min-height: 0; }
  .billboard.has-art .billboard-art {
    position: relative; inset: auto; width: 100%; max-width: none; height: auto; animation: none;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
  .billboard.has-art .billboard-copy { max-width: none; padding-top: 4px; }
  .billboard.has-art .billboard-copy h1, .rl-page .billboard.has-art .billboard-copy h2 { font-size: 28px; }
  .billboard.has-art .billboard-logo { display: none; }
  .billboard .billboard-title.art-title { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .row-track { grid-auto-columns: 74%; }
  .row-arrows { display: none; }
  .cta-band { padding: 22px; }
  .promo-hero { padding: 32px 18px; min-height: 240px; }
  .promo-title { font-size: 32px; }
  .check-row { grid-template-columns: 1fr; }
  .package-row { grid-template-columns: 1fr; }
  .app-foot { flex-direction: column; align-items: flex-start; padding: 18px 16px 22px; }
  .content-wrap { padding: 18px 16px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .queue-card { grid-template-columns: 1fr; }
  .queue-card .actions { justify-content: flex-start; }
  .quote-row { grid-template-columns: 1fr 80px; }
  .quote-row .quote-row-actions { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .history-row { grid-template-columns: 1fr; gap: 2px; }
}

/* ------------------------------------------------------------------ print */
@media print {
  body { background: #fff; color: #000; }
  body.printing > *:not(#modal-root) { display: none !important; }
  body.printing .modal-backdrop { position: static; background: none; padding: 0; backdrop-filter: none; }
  body.printing .modal { box-shadow: none; border: 0; max-height: none; width: 100%; background: #fff; }
  body.printing .modal-head, body.printing .modal-footer, body.printing .notice { display: none !important; }
  body.printing .modal-body { padding: 0; }
  body.printing .sheet { box-shadow: none; padding: 0; }
}

/* Rate Card: send a client their own rate card link; picks shown on each interested link */
.st-send { margin-left: auto; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--signal); background: var(--signal-soft); color: var(--signal-2); font: 600 14px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.st-send:hover { background: var(--signal); color: var(--signal-ink); }
.st-send + .st-search { margin-left: 0; }
.rl-picks { margin: 8px 0 2px; padding: 10px 12px; border-radius: 10px; background: rgba(52, 211, 153, 0.06); border: 1px solid rgba(52, 211, 153, 0.22); }
.rl-picks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.rl-picks li { display: flex; justify-content: space-between; gap: 10px; color: var(--text-2); }
.rl-picks li b { color: var(--text); font-weight: 600; white-space: nowrap; }
.rl-picks-total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 6px; border-top: 1px dashed var(--line-strong); font-size: 14px; color: var(--text-2); }
.rl-picks-total b { color: #fff; }

/* Touch screens: iPhone Safari zooms the page into any field under 16px and leaves it zoomed. */
.modal:focus { outline: none; }
@media (hover: none) and (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px; }
  .st-stepper input:not([type=checkbox]):not([type=radio]):not([type=range]) { font-size: 18px; }
}

/* Rate Card on phones (the HUB and client rate card links share these). */
@media (max-width: 640px) {
  .st-page { gap: 22px; }
  .st-cats { gap: 12px 10px; }
  .st-cats-title { font-size: 22px; }
  .st-send { order: 1; padding: 8px 13px; font-size: 13px; }
  .st-cat-list { order: 2; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 0 28px 2px 0;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .st-cat-list::-webkit-scrollbar { display: none; }
  .st-cat { flex: none; padding: 8px 14px; }
  .st-search { order: 3; flex: 1 0 100%; margin-left: 0; min-width: 0; }
  .st-hero, .st-pol-hero { min-height: 0; border-radius: 14px; }
  .st-stage.hero .st-orb { top: 16px; right: 16px; height: 84px; --ring: 8px; }
  .st-hero .st-hero-copy, .st-pol-hero .st-hero-copy { padding: 110px 18px 20px; gap: 10px; }
  .st-hero h1, .st-pol-hero h1, .rl-page .st-hero-copy > h2 { font-size: 30px; }
  .st-hero-copy p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .st-hero-actions { flex-wrap: nowrap; }
  .st-hero-actions .st-btn { flex: 1 1 0; justify-content: center; padding: 12px 10px; font-size: 15px; white-space: nowrap; }
  .st-hero-stations img { height: 28px; }
  .st-hero-stations img.wolf { height: 23px; }
  .st-row-head h2 { font-size: 19px; }
  .st-track { grid-auto-columns: 74%; gap: 10px; }
  .st-radio-row .st-track { grid-auto-columns: 84%; }
  .st-top10 .st-track { grid-auto-columns: 88%; }
  .st-orb { top: 8%; right: 6%; height: 50%; }
  .st-name { font-size: 17px; }
}
