@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --page: #0d0f10;
  --surface: #202120;
  --surface-soft: #262827;
  --field: #1b1d1c;
  --text: #f4f5f2;
  --muted: #a5aaa4;
  --muted-strong: #c6cbc4;
  --line: #3b3e3c;
  --line-soft: #303330;
  --green: #ff5a1f;
  --green-dark: #df4110;
  --blue: #2f9bee;
  --danger: #f05c50;
  --wait: #d7a43d;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  overflow-x: hidden;
  background: var(--page);
  font-family: "Space Grotesk", "Avenir Next", "Trebuchet MS", sans-serif;
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: 100%;
  min-height: 100vh;
  display: block;
  padding: 16px;
}

.surface {
  width: min(1540px, 100%);
  min-height: calc(100vh - 32px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: visible;
  background: var(--surface);
}

.telecom-surface {
  width: min(1540px, 100%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px 20px;
  border-bottom: 1px solid var(--line);
}

.hub-header { min-height: 76px; padding-top: 12px; padding-bottom: 12px; }
.hub-brand-cluster { min-width: 0; display: flex; align-items: center; gap: 12px; }
.hub-logo { width: 42px; height: 42px; object-fit: contain; }
.hub-brand { min-width: 0; }
.hub-brand .kicker { margin-bottom: 2px; }
.hub-brand h1 { overflow: hidden; font-size: 22px; line-height: 1.1; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.hub-menu-wrap { position: relative; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; padding: 0; color: var(--muted-strong); background: var(--field); font-size: 25px; line-height: 1; cursor: pointer; }
.icon-button:hover, .icon-button:focus-visible { border-color: var(--green); color: var(--text); outline: none; }
.hub-tool-menu { position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; width: 230px; padding: 5px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); box-shadow: 0 18px 40px rgba(0, 0, 0, .42); }
.hub-menu-item { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 5px; padding: 0 10px; color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; }
.hub-menu-item:hover { background: rgba(255, 90, 31, .12); }
.hub-menu-item.active { color: #ff8a60; background: rgba(255, 90, 31, .08); }
.hub-menu-label { min-width: 0; display: flex; align-items: center; gap: 9px; }
.hub-menu-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.hub-menu-item small { color: var(--muted); font-size: 10px; }
.session-email { max-width: 280px; overflow: hidden; color: var(--muted-strong); text-overflow: ellipsis; white-space: nowrap; }

.kicker,
.route,
.hint,
.job small {
  color: var(--muted);
}

.kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 4px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.route {
  margin: 4px 0 0;
  font-size: 14px;
  white-space: nowrap;
}

.session {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.tool-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.session-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

.card,
.workspace {
  padding: 28px clamp(18px, 3vw, 40px) 36px;
}

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

.form {
  display: grid;
  gap: 14px;
}

.form-panel,
.side-card {
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 26px clamp(18px, 3vw, 40px) 30px;
}

#login-card .form,
#change-form,
#reset-form {
  max-width: 680px;
}

.home-main {
  padding: 34px clamp(18px, 3vw, 40px) 44px;
}

.home-login {
  max-width: 680px;
}

.section-copy {
  margin-bottom: 2px;
}

label,
legend {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

input[type="text"],
input[type="url"],
input[type="email"],
input[type="password"],
input[type="file"],
input[type="date"],
input[type="search"],
select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: var(--field);
  outline: none;
}

input::placeholder {
  color: #6d726c;
}

input[type="file"] {
  display: flex;
  align-items: center;
  padding: 12px 14px;
}

input[type="file"].hidden {
  display: none;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(47, 155, 238, 0.18);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

code {
  color: var(--text);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

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

.checks legend {
  width: 100%;
  margin-bottom: 8px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--field);
  cursor: pointer;
}

.check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--green);
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: var(--green-dark);
}

button:disabled {
  cursor: wait;
  opacity: 0.66;
}

button.secondary {
  min-height: 34px;
  border-color: var(--line);
  color: var(--muted-strong);
  background: var(--surface-soft);
  padding: 0 12px;
  font-size: 13px;
}

button.secondary:hover {
  color: var(--text);
  background: #2d302e;
}

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

.hint {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.35;
}

.error {
  min-height: 17px;
  margin-bottom: 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}

.hidden {
  display: none !important;
}

.access-denied {
  min-height: clamp(240px, 55vh, 560px);
  display: grid;
  place-items: center;
  padding: 24px;
  border-top: 1px solid var(--line-soft);
}

.access-denied h2 { margin: 0; font-size: 24px; letter-spacing: 0; }

.player-info-workspace {
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 18px 24px 24px;
}

.player-info-tabs {
  margin: 0;
}

.player-info-panel {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 18px;
  background: #1d1f1e;
}

.player-info-upload-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.player-info-file-button {
  min-height: 76px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  border: 1px dashed #626762;
  padding: 12px 16px;
  color: var(--text);
  background: var(--field);
  text-align: left;
}

.player-info-file-button:hover {
  border-color: var(--green);
  background: rgba(255, 90, 31, .06);
}

.player-info-file-button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #ff8a60;
}

.player-info-file-button span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.player-info-file-button strong,
.player-info-file-button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-info-file-button small {
  color: var(--muted);
  font-size: 12px;
}

.player-info-upload-row > .secondary {
  align-self: center;
}

.player-info-progress {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.player-info-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: telecom-spin .8s linear infinite;
}

.player-info-result {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.player-info-result strong,
.player-info-result span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--muted-strong);
  background: var(--field);
  font-size: 12px;
}

.player-info-result strong {
  border-color: rgba(118, 201, 149, .35);
  color: #76c995;
}

.player-info-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.player-info-table th,
.player-info-table td {
  max-width: 300px;
  overflow: hidden;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-info-table th {
  color: var(--muted);
  background: rgba(13, 15, 16, .18);
  font-size: 11px;
  text-transform: uppercase;
}

.player-info-table tr:last-child td {
  border-bottom: 0;
}

.player-info-archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.player-info-archive-head h2 {
  margin: 0;
  font-size: 18px;
}

.player-info-refresh {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.player-info-refresh svg {
  width: 16px;
  height: 16px;
}

.player-info-archive-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
}

.player-info-source,
.player-info-table small {
  display: block;
}

.player-info-table small {
  margin-top: 3px;
  color: var(--muted);
}

.player-info-export-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.player-info-export-status.done { border-color: rgba(118, 201, 149, .4); color: #76c995; }
.player-info-export-status.running { border-color: rgba(234, 188, 91, .4); color: var(--wait); }
.player-info-export-status.error { border-color: rgba(239, 117, 105, .4); color: var(--danger); }

.player-info-log {
  max-width: 430px;
}

.player-info-log summary {
  overflow: hidden;
  color: var(--muted-strong);
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-info-log > div {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  white-space: normal;
}

.player-info-log-event {
  display: grid;
  gap: 2px;
}

.player-info-log-event time { color: var(--muted); font-size: 10px; }
.player-info-log-event .success { color: #76c995; }
.player-info-log-event .error { color: var(--danger); }
.player-info-download { white-space: nowrap; }
.player-info-empty { color: var(--muted); text-align: center !important; }

.text-link { width: fit-content; color: #ff8a60; font-size: 13px; font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--text); }
.admin-workspace { display: grid; gap: 0; padding: 0; }
.admin-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 12px; }
.scope-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-table-wrap { overflow: auto; border: 1px solid var(--line-soft); border-radius: 8px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
.admin-table th { color: var(--muted); background: #191b1a; font-size: 11px; text-transform: uppercase; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-user-email { color: var(--text); font-weight: 700; }
.admin-actions { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.admin-actions button { min-height: 34px; }
.admin-actions [data-action="save"]:disabled { cursor: default; opacity: .48; }
button.secondary.admin-save-dirty {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(255, 90, 31, .28), 0 0 16px rgba(255, 90, 31, .28);
}
button.secondary.admin-save-dirty:hover { background: var(--green-dark); }
.audit-meta { max-width: 360px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); }
.status-dot.off { background: var(--danger); }

.jobs-panel {
  min-width: 0;
  min-height: 0;
}

.jobs {
  min-width: 0;
  display: grid;
  gap: 8px;
  overflow: visible;
}

.job {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #1a1c1b;
}

.job-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.job-top strong {
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #0d0f10;
  background: var(--green);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.badge.running,
.badge.queued {
  background: var(--wait);
}

.badge.error {
  color: #fff;
  background: var(--danger);
}

.job a {
  color: var(--green);
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.job p {
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}

.job small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.progress-block {
  display: grid;
  gap: 7px;
  margin: 6px 0 8px;
}

.progress-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.progress-line span {
  color: var(--muted);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.progress-bar {
  height: 8px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #161817;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.3s ease;
}

.telecom-workspace {
  display: grid;
  gap: 16px;
  padding: 18px 24px 24px;
}

.telecom-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #1d1f1e;
}

.telecom-tab {
  min-height: 38px;
  border-radius: 5px;
  padding: 0 14px;
  color: var(--muted-strong);
  background: transparent;
  font-size: 13px;
}

.telecom-tab:hover {
  color: var(--text);
  background: rgba(255, 90, 31, 0.08);
}

.telecom-tab.active {
  color: #fff;
  background: var(--green);
}

.telecom-tab-panel {
  display: grid;
  gap: 16px;
}

.telecom-tab-panel.hidden {
  display: none;
}

.telecom-filterbar {
  display: grid;
  grid-template-columns:
    minmax(132px, 0.75fr)
    minmax(132px, 0.75fr)
    minmax(180px, 1fr)
    minmax(158px, 0.85fr)
    96px;
  align-items: end;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #1d1f1e;
}

.report-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-strip div,
.metric {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #1d1f1e;
}

.report-strip div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.report-strip strong {
  color: var(--text);
}

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

.metric {
  min-height: 82px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 14px;
}

.metric-accent {
  border-color: rgba(255, 90, 31, 0.44);
  background: rgba(255, 90, 31, 0.08);
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric strong {
  font-size: 26px;
  line-height: 1;
}

.table-panel {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  background: #1d1f1e;
}

.report-head {
  min-height: 72px;
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.table-panel .error {
  padding: 0 16px;
}

.table-scroll {
  overflow-x: auto;
}

.report-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  table-layout: fixed;
}

.report-table th,
.report-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.report-table th {
  color: var(--muted);
  background: rgba(13, 15, 16, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-table tr:last-child td {
  border-bottom: 0;
}

.report-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.report-table th:nth-child(1),
.report-table td:nth-child(1) {
  width: 17%;
}

.report-table th:nth-child(2),
.report-table td:nth-child(2),
.report-table th:nth-child(3),
.report-table td:nth-child(3),
.report-table th:nth-child(4),
.report-table td:nth-child(4),
.report-table th:nth-child(5),
.report-table td:nth-child(5),
.report-table th:nth-child(6),
.report-table td:nth-child(6) {
  width: 9%;
}

.report-table th:nth-child(7),
.report-table td:nth-child(7) {
  width: 15%;
}

.report-table th:nth-child(8),
.report-table td:nth-child(8) {
  width: 23%;
}

.report-table td strong,
.muted-line {
  display: block;
}

.numeric {
  font-variant-numeric: tabular-nums;
}

.rate {
  color: #ffb79f;
  font-weight: 700;
}

.muted-line {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.reason-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reason-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted-strong);
  background: #1a1c1b;
  font-size: 12px;
  white-space: nowrap;
}

.reason-pill strong,
.reason-pill span,
.reason-pill em {
  display: inline;
}

.reason-pill strong {
  color: var(--text);
}

.reason-pill em {
  color: var(--green);
  font-style: normal;
  font-weight: 700;
}

.empty {
  color: var(--muted);
  text-align: center;
}

.suppression-import-panel {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #1d1f1e;
}

.suppression-head,
.suppression-list-head {
  min-height: 72px;
  margin: 0;
  padding: 14px 16px;
}

.suppression-list-head {
  border-bottom: 1px solid var(--line-soft);
}

.suppression-actions,
.suppression-search,
.table-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landings-workspace {
  display: grid;
  gap: 14px;
  padding: 18px 22px 24px;
}

.landings-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.landings-search {
  width: min(540px, 100%);
}

.landings-search input {
  height: 42px;
}

.landings-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-count {
  min-width: 72px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.landings-error {
  min-height: 0;
}

.landings-table-wrap {
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #1a1c1b;
}

.landings-table {
  width: 100%;
  min-width: 1320px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 12px;
}

.landings-table .landing-column { width: 27%; }
.landings-table .creative-column { width: 10%; }
.landings-table .traffic-column { width: 17%; }
.landings-table .redirect-column { width: 46%; }

.landings-table th,
.landings-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.landings-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  color: var(--muted);
  background: #151716;
  font-size: 10px;
  text-transform: uppercase;
}

.landings-table tr:last-child td {
  border-bottom: 0;
}

.landing-primary,
.landing-creative {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.landing-entry {
  width: 100%;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.landing-primary {
  width: auto;
  gap: 2px;
}

.landing-thumbnail {
  width: 132px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  color: var(--muted);
  background: #111312;
  font-size: 10px;
  text-align: center;
  text-decoration: none;
}

.landing-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity 160ms ease;
}

.landing-thumbnail:hover img {
  opacity: 0.82;
}

.landing-primary a {
  overflow-wrap: anywhere;
}

.landing-primary a,
.landing-creative a,
.landing-link,
.secondary-link {
  color: #ff8a60;
  font-weight: 700;
  text-decoration: none;
}

.landing-primary a:hover,
.landing-creative a:hover,
.landing-link:hover,
.secondary-link:hover {
  color: var(--text);
}

.landing-creative small,
.landing-name-status,
.copy-status,
.redirect-status,
.landing-muted {
  color: var(--muted);
  font-size: 11px;
}

.landing-links {
  width: 100%;
  display: grid;
  gap: 5px;
}

.landing-name-editor,
.tracker-link-row {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 6px;
}

.landing-name-editor {
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 4px;
}

.landing-name-input {
  min-width: 0;
  height: 34px !important;
  padding: 0 8px !important;
  border-radius: 5px !important;
  font-size: 12px !important;
  font-weight: 700;
}

.landing-name-status {
  min-height: 13px;
  grid-column: 1 / -1;
}

.landing-name-status:empty,
.copy-status:empty,
.redirect-status:empty {
  display: none;
}

.icon-button.compact {
  width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 6px;
  padding: 0;
}

.icon-button.compact svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-name-save {
  width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  border: 0 !important;
  border-radius: 4px !important;
  padding: 0 !important;
  color: var(--muted);
  background: transparent !important;
}

.landing-name-save svg {
  width: 14px !important;
  height: 14px !important;
}

.landing-name-save:hover:not(:disabled),
.landing-name-save:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06) !important;
  outline: none;
}

.landing-name-save:disabled {
  cursor: default;
  opacity: 0.38;
}

.tracker-link-row {
  grid-template-columns: minmax(0, 1fr) 32px;
}

.tracker-url {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.35;
}

.copy-status {
  min-height: 13px;
  grid-column: 1 / -1;
}

.redirect-editor {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(420px, 1fr) 68px;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.redirect-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-strong);
  cursor: pointer;
}

.redirect-toggle input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--green);
}

.redirect-target {
  height: 38px !important;
  border-radius: 6px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
}

.redirect-editor .redirect-save {
  min-height: 38px;
}

.redirect-status {
  position: absolute;
  top: calc(100% + 4px);
  left: 66px;
  min-height: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.landings-empty {
  height: 180px;
  color: var(--muted);
  text-align: center !important;
}

.suppression-search input {
  width: min(320px, 44vw);
  min-height: 38px;
}

.suppression-job {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 10px 16px;
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 90, 31, 0.07);
}

.suppression-job.hidden {
  display: none;
}

.suppression-job div {
  display: grid;
  gap: 2px;
}

.suppression-job span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 90, 31, 0.25);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: telecom-spin 0.8s linear infinite;
}

@keyframes telecom-spin {
  to { transform: rotate(360deg); }
}

.suppression-import-panel .error {
  padding: 0 16px 12px;
}

.suppression-table,
.suppression-history-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.suppression-history-table {
  min-width: 980px;
}

.suppression-table th,
.suppression-table td,
.suppression-history-table th,
.suppression-history-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.suppression-table th,
.suppression-history-table th {
  color: var(--muted);
  background: rgba(13, 15, 16, 0.18);
  font-size: 12px;
  text-transform: uppercase;
}

.suppression-table tr:last-child td,
.suppression-history-table tr:last-child td {
  border-bottom: 0;
}

.suppression-table th:last-child,
.suppression-table td:last-child {
  width: 112px;
}

.phone-cell {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.row-actions {
  text-align: right !important;
  white-space: nowrap;
}

button.danger-button {
  border-color: rgba(240, 92, 80, 0.34);
  color: #ff9c94;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 8px;
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-succeeded {
  border-color: rgba(116, 201, 151, 0.42);
  color: #84d9a7;
}

.status-failed {
  border-color: rgba(240, 92, 80, 0.42);
  color: #ff8d83;
}

.status-running,
.status-queued {
  border-color: rgba(215, 164, 61, 0.42);
  color: #e5bb62;
}

.table-pagination {
  justify-content: flex-end;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 680px) {
  .shell {
    min-height: 100vh;
    padding: 8px;
  }

  .surface { min-height: calc(100vh - 16px); }

  .topbar {
    padding: 12px 14px;
  }

  .hub-brand-cluster { gap: 8px; }
  .hub-logo { width: 36px; height: 36px; }
  .hub-brand h1 { max-width: 142px; font-size: 17px; }
  .session-email { max-width: 120px; }
  body[data-tool="landings"] .hub-header { flex-wrap: wrap; }
  body[data-tool="landings"] .session-actions { width: 100%; justify-content: flex-end; }
  body[data-tool="player_info"] .hub-header { flex-wrap: wrap; }
  body[data-tool="player_info"] .session-actions { width: 100%; justify-content: flex-end; }
  .admin-toolbar { grid-template-columns: 1fr; }

  .landings-workspace { padding: 14px; }
  .landings-toolbar { align-items: stretch; flex-direction: column; }
  .landings-toolbar-actions { justify-content: space-between; }
  .landings-table-wrap { overflow: visible; border: 0; background: transparent; }
  .landings-table { min-width: 0; }
  .landings-table colgroup { display: none; }
  .landings-table thead { display: none; }
  .landings-table,
  .landings-table tbody,
  .landings-table tr,
  .landings-table td { display: block; width: 100%; }
  .landings-table tr { margin-bottom: 10px; border: 1px solid var(--line-soft); border-radius: 7px; background: #1a1c1b; }
  .landings-table td { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
  .landings-table td::before { content: attr(data-label); color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
  .landings-table td:last-child { border-bottom: 0; }
  .landing-primary,
  .landing-links { width: 100%; }
  .landing-entry { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .landing-thumbnail { width: min(240px, 100%); }
  .redirect-editor { grid-template-columns: minmax(0, 1fr) 68px; width: 100%; }
  .redirect-toggle { grid-column: 1 / -1; }
  .redirect-status { position: static; min-height: 14px; grid-column: 1 / -1; white-space: normal; }
  .redirect-target { min-width: 0; }
  .landings-empty { display: block !important; padding: 70px 14px !important; }
  .landings-empty::before { content: none !important; }

  .session {
    justify-items: start;
  }

  .card {
    padding: 20px 18px 22px;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .tool-nav {
    justify-content: flex-start;
  }

  .telecom-workspace {
    padding: 16px 18px 20px;
  }

  .player-info-workspace {
    padding: 16px 18px 20px;
  }

  .player-info-upload-row,
  .player-info-result {
    align-items: stretch;
    flex-direction: column;
  }

  .player-info-upload-row > .secondary {
    align-self: stretch;
  }

  .telecom-filterbar,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .telecom-tabs {
    width: 100%;
  }

  .telecom-tab {
    flex: 1 1 0;
  }

  .suppression-head,
  .suppression-list-head {
    align-items: stretch;
    flex-direction: column;
  }

  .suppression-actions,
  .suppression-search {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .suppression-search input,
  .suppression-actions button {
    width: 100%;
  }

  .suppression-table,
  .suppression-table tbody,
  .suppression-table tr,
  .suppression-table td {
    display: block;
    width: 100%;
  }

  .suppression-table thead {
    display: none;
  }

  .suppression-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-soft);
  }

  .suppression-table tbody tr:last-child {
    border-bottom: 0;
  }

  .suppression-table td {
    padding: 0;
    border: 0;
  }

  .suppression-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .suppression-table td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    color: var(--muted);
    font-size: 12px;
  }

  .suppression-table td:nth-child(3) {
    width: auto;
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .suppression-table td.empty {
    grid-column: 1 / -1;
    padding: 14px 0;
  }

  .route {
    white-space: normal;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .telecom-filterbar,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .telecom-filterbar button {
    grid-column: 1 / -1;
  }
}
