:root {
  --bg: #050707;
  --panel: rgba(18, 14, 10, 0.94);
  --ink: #f7b24b;
  --muted: #dd9933;
  --line: rgba(250, 139, 3, 0.28);
  --accent: #fa8b03;
  --accent-soft: rgba(250, 139, 3, 0.14);
  --warm: #ff9900;
  --positive: #fa8b03;
  --negative: #ff7a59;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(250, 139, 3, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(221, 153, 51, 0.12), transparent 24%),
    linear-gradient(180deg, #090909 0%, var(--bg) 48%, #030303 100%);
  color: var(--ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.app-shell {
  width: min(1080px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 14px 0 32px;
}

.hero {
  padding: 18px 20px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(250, 139, 3, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(18, 14, 10, 0.98), rgba(5, 7, 7, 0.98));
  color: #ffcc73;
  border: 1px solid rgba(250, 139, 3, 0.22);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.95;
  color: #ff9900;
}

.hero-copy {
  margin: 0;
  max-width: 34rem;
  color: rgba(247, 178, 75, 0.88);
  font-size: 0.94rem;
}

.toolbar,
.project-menu,
.summary,
.status-bar,
.view-menu,
.cards-list,
.table-card {
  margin-top: 12px;
}

.olsen-page-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tab-button {
  min-width: auto;
  background: rgba(250, 139, 3, 0.12);
  color: var(--ink);
  border-color: rgba(250, 139, 3, 0.28);
}

.tab-button.is-active {
  background: var(--accent);
  color: #050707;
  border-color: var(--accent);
}

.olsen-portal-view[hidden] {
  display: none !important;
}

.toolbar {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

.toolbar-stack {
  display: grid;
  gap: 12px;
}

.toolbar-row {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

input,
select,
button {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
}

button {
  background: var(--warm);
  color: #050707;
  cursor: pointer;
  min-width: 120px;
  border-color: rgba(255, 153, 0, 0.4);
  font-weight: 700;
}

.secondary-button,
a.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(250, 139, 3, 0.12);
  color: #ffb84d;
  border-color: rgba(250, 139, 3, 0.32);
}

.secondary-button.is-active,
a.secondary-button.is-active {
  background: rgba(250, 139, 3, 0.9);
  color: #050707;
  border-color: rgba(250, 139, 3, 1);
}

.active-toggle {
  background: var(--accent);
  color: #050707;
  border-color: var(--accent);
}

#share-button {
  background: rgba(250, 139, 3, 0.12);
  color: var(--ink);
}

#share-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

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

#olsen-fetch-tikkio-image-button.is-unavailable:disabled {
  cursor: not-allowed;
}

#olsen-fetch-tikkio-text-button.is-unavailable:disabled {
  cursor: not-allowed;
}

.project-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.view-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-pill {
  min-width: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(250, 139, 3, 0.12);
  color: var(--ink);
  border: 1px solid rgba(250, 139, 3, 0.26);
  box-shadow: var(--shadow);
}

.project-pill.active {
  background: var(--accent);
  color: #050707;
  border-color: var(--accent);
}

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

.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(250, 139, 3, 0.1);
  border: 1px solid rgba(250, 139, 3, 0.22);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}

button.status-pill {
  min-width: auto;
  background: rgba(250, 139, 3, 0.12);
  color: var(--ink);
}

.status-toggle.active {
  background: var(--accent);
  color: #050707;
  border-color: var(--accent);
}

.status-pill.preview {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.status-pill.error-pill {
  background: rgba(139, 47, 47, 0.14);
  color: var(--negative);
  border-color: rgba(139, 47, 47, 0.3);
}

.metric,
.table-card {
  background: var(--panel);
  border: 1px solid rgba(250, 139, 3, 0.16);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hidden {
  display: none !important;
}

.metric {
  padding: 18px;
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.metric strong {
  font-size: 1.4rem;
}

.table-card {
  overflow: hidden;
}

.admin-panel {
  padding: 18px;
}

.admin-panel-header {
  margin-bottom: 16px;
}

.admin-panel-header h2 {
  margin: 0 0 8px;
}

.admin-copy {
  margin: 0;
  color: rgba(247, 178, 75, 0.82);
}

.admin-input {
  width: 100%;
  min-width: 180px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 252, 247, 0.96);
  color: #25180a;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-save-button,
.admin-delete-button {
  min-width: auto;
  padding: 10px 12px;
}

.admin-subtle {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}

.admin-row-missing {
  background: rgba(139, 47, 47, 0.12);
}

.missing-source-row td {
  background: rgba(255, 209, 102, 0.18);
}

.missing-source-card {
  border-color: rgba(255, 209, 102, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.12), transparent 40%),
    var(--panel);
}

.source-link-button {
  min-width: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(250, 139, 3, 0.1);
  color: var(--ink);
  border: 1px dashed rgba(250, 139, 3, 0.32);
}

.source-link-button.active,
.source-pill-active {
  background: rgba(61, 146, 104, 0.22);
  border-color: rgba(61, 146, 104, 0.5);
  color: #c8ffd9;
}

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

.olsen-table-scroll {
  max-height: 1320px;
  overflow: auto;
}

.olsen-section-panel {
  margin-top: 12px;
}

.olsen-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
  gap: 18px;
}

.olsen-section-copy {
  margin-top: 8px;
  max-width: 46rem;
}

.olsen-plan-list {
  margin-top: 4px;
}

.olsen-drammen-variable-card {
  margin-bottom: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(216, 208, 194, 0.78);
  text-align: left;
  vertical-align: top;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: inset 0 -1px 0 rgba(216, 208, 194, 0.78);
}

tbody tr:last-child td {
  border-bottom: none;
}

.cards-list {
  display: none;
  gap: 14px;
}

.event-card {
  padding: 18px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid rgba(250, 139, 3, 0.16);
  box-shadow: var(--shadow);
}

.event-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.event-card-date,
.event-card-venue {
  margin: 0;
  color: var(--muted);
}

.event-card-title {
  margin: 6px 0 8px;
  font-size: 1.3rem;
  line-height: 1.05;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  height: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.event-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.event-card-metric {
  padding: 12px;
  border-radius: 18px;
  background: rgba(245, 240, 231, 0.9);
}

.event-card-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.positive,
.delta.positive {
  color: var(--positive);
}

.negative,
.delta.negative {
  color: var(--negative);
}

.sold-now-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.manual-entry-button {
  min-width: auto;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(255, 252, 247, 0.92);
  color: var(--ink);
}

.card-manual-button {
  margin-top: 12px;
  width: 100%;
}

.remove-entry-button {
  background: rgba(139, 47, 47, 0.14);
  color: var(--negative);
  border-color: rgba(139, 47, 47, 0.3);
}

.card-remove-button {
  margin-top: 12px;
  width: 100%;
}

.manual-sold-value {
  color: #9a7700;
  background: rgba(255, 224, 102, 0.28);
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 700;
}

.error {
  padding: 16px;
  border-radius: 18px;
  background: rgba(139, 47, 47, 0.14);
  color: var(--negative);
}

.football-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.football-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.football-panel {
  margin-top: 18px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid rgba(250, 139, 3, 0.16);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.football-meta-copy {
  margin: 0 0 16px;
  color: var(--muted);
}

.football-poster-panel {
  margin: 18px 0 24px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(250, 139, 3, 0.06);
  border: 1px solid rgba(250, 139, 3, 0.14);
}

.football-poster-toolbar {
  display: flex;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
}

.football-poster-field {
  min-width: min(320px, 100%);
}

.football-poster-field span {
  margin-bottom: 8px;
}

.football-poster-field select {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

.football-poster-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.football-poster-copy {
  margin-top: 16px;
  margin-bottom: 8px;
}

.football-poster-status {
  min-height: 24px;
  color: #ffcc73;
  font-size: 0.95rem;
}

.football-poster-preview-wrap {
  margin-top: 14px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(250, 139, 3, 0.16);
  background: rgba(0, 0, 0, 0.4);
}

.football-poster-preview {
  display: block;
  width: 100%;
  height: auto;
}

.football-list {
  display: grid;
  gap: 14px;
}

.football-day-group {
  display: grid;
  gap: 10px;
}

.football-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.football-day-heading {
  margin: 6px 2px 0;
  font-size: 1.35rem;
  text-transform: capitalize;
}

.football-copy-button {
  min-width: auto;
  padding: 10px 14px;
  border-radius: 999px;
}

.football-card {
  padding: 20px;
  display: block;
}

.football-card-top,
.football-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.football-card-bottom {
  margin-top: 16px;
  align-items: end;
}

.football-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.08;
}

.football-card-date {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 700;
  text-transform: capitalize;
}

.football-card-copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.football-match-list {
  display: grid;
}

.football-match-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1.8fr) minmax(220px, 0.8fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(250, 139, 3, 0.16);
  align-items: start;
}

.football-match-row:first-child {
  padding-top: 0;
}

.football-match-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.football-match-picker {
  display: flex;
  align-items: start;
  justify-content: center;
  padding-top: 4px;
}

.football-match-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #fa8b03;
}

.football-match-title {
  display: block;
  font-size: 1.1rem;
  line-height: 1.3;
}

.football-match-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.football-channel-block {
  min-width: 180px;
}

.football-tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.football-open-link {
  min-width: auto;
}

.football-alert-pill {
  margin-top: 18px;
}

@media (max-width: 860px) {
  .summary {
    grid-template-columns: 1fr;
  }

  .cards-list {
    display: grid;
  }

  .table-card {
    display: none;
  }

  .event-card-top {
    flex-direction: column;
  }

  .event-card-metrics {
    grid-template-columns: 1fr;
  }

  .football-card-top,
  .football-card-bottom,
  .football-hero,
  .football-day-header,
  .football-poster-toolbar {
    flex-direction: column;
  }

  .football-match-row {
    grid-template-columns: 1fr;
  }

  .football-match-picker {
    justify-content: flex-start;
    padding-top: 0;
  }

  .football-card {
    display: block;
  }

  .football-match-meta {
    grid-template-columns: 1fr 1fr;
  }
}

.olsen-shell {
  --bg: #f6f1e8;
  --panel: rgba(255, 252, 247, 0.92);
  --ink: #1e241f;
  --muted: #5f685f;
  --line: #d8d0c2;
  --accent: #1f6b5d;
  --accent-soft: #d5ebe6;
  --warm: #bc5d2e;
  --positive: #1f6b5d;
  --negative: #8b2f2f;
  --shadow: 0 18px 60px rgba(52, 42, 28, 0.12);
  width: min(1400px, calc(100vw - 24px));
}

body.olsen-page {
  background:
    radial-gradient(circle at top left, rgba(188, 93, 46, 0.12), transparent 32%),
    linear-gradient(180deg, #efe5d6 0%, #f6f1e8 45%, #f5f0e7 100%);
  color: #1e241f;
  font-family: Georgia, "Times New Roman", serif;
}

.olsen-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.olsen-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.olsen-list-panel {
  display: flex;
  flex-direction: column;
  height: 1320px;
}

.panel,
.subpanel {
  background: var(--panel);
  border: 1px solid rgba(216, 208, 194, 0.78);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 16px;
}

.subpanel {
  padding: 14px;
}

.panel-header,
.subpanel-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.panel-header > div,
.subpanel-header > div {
  flex: 1 1 auto;
  min-width: 0;
}

.panel-header h2,
.subpanel-header h3 {
  margin: 0;
}

.panel-eyebrow {
  margin: 0 0 6px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.olsen-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 10px;
  margin: 10px 0 12px;
}

.olsen-table-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  border: 1px solid rgba(216, 208, 194, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.olsen-inline-subpanel {
  margin-top: 14px;
}

.olsen-inline-header {
  margin-top: 16px;
}

.olsen-global-panel {
  margin-top: 16px;
}

.olsen-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.olsen-meta-card {
  padding: 12px 14px;
  border-radius: 18px;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.olsen-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.olsen-span-2 {
  grid-column: 1 / -1;
}

.olsen-fullwidth {
  margin-top: 10px;
}

.olsen-info-panel {
  padding: 8px;
}

.olsen-info-panel .subpanel-header {
  align-items: center;
}

.olsen-field {
  display: grid;
  gap: 4px;
}

.olsen-field-help {
  color: rgba(247, 178, 75, 0.82);
  font-size: 0.82rem;
  line-height: 1.35;
}

.olsen-checkbox-field {
  align-content: start;
}

.olsen-presale-card {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(250, 139, 3, 0.12);
  border: 1px solid rgba(250, 139, 3, 0.28);
  box-shadow: inset 0 0 0 1px rgba(250, 139, 3, 0.08);
}

.olsen-inline-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-weight: 700;
}

.olsen-inline-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--warm);
}

.olsen-field span {
  font-size: 0.92rem;
}

.olsen-inline-alert {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(188, 93, 46, 0.12);
  border: 1px solid rgba(188, 93, 46, 0.22);
  color: #8b2f2f;
  font-size: 0.92rem;
}

.olsen-inline-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.olsen-readiness {
  display: grid;
  gap: 8px;
}

.olsen-readiness-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

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

.olsen-readiness-item {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(216, 208, 194, 0.85);
  background: rgba(255, 252, 247, 0.86);
}

.olsen-readiness-item.ok {
  background: rgba(231, 245, 236, 0.9);
}

.olsen-readiness-item.missing {
  background: rgba(255, 245, 240, 0.92);
}

.olsen-readiness-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.olsen-readiness-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.3;
}

.olsen-field input,
.olsen-field select,
.olsen-field textarea,
.olsen-filter-row input,
.olsen-filter-row select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
}

.olsen-detail-title-input {
  width: 100%;
  max-width: none;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.olsen-detail-title-input:focus {
  outline: none;
  box-shadow: inset 0 -2px 0 rgba(126, 89, 51, 0.18);
}

.olsen-wide-textarea {
  width: 100%;
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  resize: vertical;
}

.olsen-upload-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 10px;
}

.image-preview-wrap {
  margin: 8px 0 0;
}

.image-preview-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(216, 207, 191, 0.8);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 243, 236, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.image-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--muted);
}

.image-preview-meta a {
  color: var(--warm);
  text-decoration: none;
  font-weight: 700;
}

.image-preview-meta a:hover {
  text-decoration: underline;
}

#olsen-image-preview {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  border: 1px solid rgba(216, 207, 191, 0.8);
  background:
    linear-gradient(45deg, rgba(245, 240, 231, 0.95) 25%, rgba(238, 231, 219, 0.95) 25%, rgba(238, 231, 219, 0.95) 50%, rgba(245, 240, 231, 0.95) 50%, rgba(245, 240, 231, 0.95) 75%, rgba(238, 231, 219, 0.95) 75%);
  background-size: 18px 18px;
  box-shadow: 0 10px 24px rgba(34, 23, 8, 0.08);
}

.olsen-keyvals {
  display: grid;
  gap: 10px;
}

.olsen-keyval {
  display: grid;
  gap: 4px;
}

.status-chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  border: 1px solid rgba(216, 208, 194, 0.9);
  background: rgba(255, 252, 247, 0.95);
}

.status-chip.ready,
.status-chip.scheduled {
  background: var(--accent-soft);
  color: var(--accent);
}

.status-chip.published {
  background: rgba(196, 231, 214, 0.9);
  color: #155b41;
}

.status-chip.failed,
.status-chip.missing {
  background: rgba(188, 93, 46, 0.14);
  color: #8b2f2f;
}

.status-chip.queued {
  background: rgba(255, 224, 164, 0.45);
  color: #825800;
}

.status-chip.irrelevant {
  background: rgba(184, 189, 199, 0.28);
  color: #4e5968;
}

.status-chip.klar {
  background: rgba(255, 236, 179, 0.75);
  color: #825800;
}

.status-stack {
  display: grid;
  gap: 6px;
}

.olsen-status-select {
  width: 100%;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(216, 208, 194, 0.9);
  background: rgba(255, 252, 247, 0.92);
  color: var(--muted);
  font-size: 0.78rem;
}

.source-badge.ok {
  background: rgba(196, 231, 214, 0.9);
  color: #155b41;
}

.source-badge.missing {
  background: rgba(188, 93, 46, 0.14);
  color: #8b2f2f;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.olsen-facebook-detail-section {
  display: grid;
  gap: 12px;
  padding: 14px 0;
}

.olsen-facebook-detail-section + .olsen-facebook-detail-section {
  border-top: 1px solid rgba(250, 139, 3, 0.18);
  margin-top: 8px;
}

.olsen-facebook-detail-actions {
  margin-bottom: 6px;
}

.olsen-facebook-template-grid {
  display: grid;
  gap: 10px;
}

.olsen-facebook-template-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.8fr) minmax(120px, 0.8fr);
  gap: 10px;
  align-items: center;
}

.olsen-facebook-template-label {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(250, 139, 3, 0.16);
  background: rgba(250, 139, 3, 0.06);
  color: #ffcc73;
  font-size: 0.95rem;
  font-weight: 700;
}

.olsen-facebook-template-star {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  color: #111111;
  font-size: 1rem;
  line-height: 1;
  cursor: help;
}

.olsen-facebook-template-star.is-complete {
  color: #1d9a4a;
}

.olsen-facebook-template-star::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: min(320px, 70vw);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(12, 12, 12, 0.96);
  color: #f4f0e8;
  border: 1px solid rgba(250, 139, 3, 0.26);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: pre-line;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
  pointer-events: none;
}

.olsen-facebook-template-star:hover::after,
.olsen-facebook-template-star:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.olsen-facebook-programming-date-cell {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  white-space: nowrap;
}

.olsen-facebook-programming-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1;
  cursor: pointer;
}

.olsen-facebook-programming-marker.is-red {
  color: #b63d2b;
}

.olsen-facebook-programming-marker.is-yellow {
  color: #d29a00;
}

.olsen-facebook-programming-marker.is-green {
  color: #1d9a4a;
}

.olsen-facebook-programming-marker:hover,
.olsen-facebook-programming-marker:focus {
  transform: scale(1.06);
}

.olsen-facebook-template-action {
  width: 100%;
  min-width: 0;
}

@media (max-width: 760px) {
  .olsen-facebook-template-row {
    grid-template-columns: 1fr;
  }
}

.olsen-inline-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

.rules-dialog {
  width: min(980px, calc(100vw - 32px));
  border: 1px solid rgba(216, 208, 194, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: rgba(255, 252, 247, 0.98);
  padding: 0;
}

.rules-dialog::backdrop {
  background: rgba(35, 26, 18, 0.35);
}

.rules-dialog form {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.dialog-header h2 {
  margin: 0;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.olsen-dialog-copy {
  white-space: pre-wrap;
  line-height: 1.5;
  color: var(--text);
}

.press-archive-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 14px;
}

.press-archive-list-panel,
.press-archive-editor-panel {
  display: grid;
  gap: 12px;
}

.press-archive-list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
}

.press-archive-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  cursor: pointer;
}

.press-archive-item.selected {
  background: rgba(255, 236, 179, 0.75);
  border-color: rgba(181, 132, 25, 0.38);
}

tbody tr.is-selected {
  background: rgba(213, 235, 230, 0.5);
}

tbody tr.is-finished {
  background: rgba(220, 239, 226, 0.45);
}

tbody tr.is-irrelevant {
  background: rgba(220, 239, 226, 0.45);
}

tbody tr.is-selected {
  background: rgba(255, 236, 179, 0.55);
}

tbody tr.is-finished.is-selected,
tbody tr.is-irrelevant.is-selected {
  background: rgba(255, 236, 179, 0.75);
  box-shadow: inset 0 0 0 1px rgba(181, 132, 25, 0.28);
}

@media (max-width: 1100px) {
  .olsen-workspace,
  .detail-columns,
  .olsen-meta-grid {
    grid-template-columns: 1fr;
  }

  .olsen-info-grid {
    grid-template-columns: 1fr;
  }

  .olsen-span-2 {
    grid-column: auto;
  }

  .olsen-readiness-list {
    grid-template-columns: 1fr;
  }

  .press-archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .olsen-filter-row,
  .olsen-upload-grid,
  .olsen-summary {
    grid-template-columns: 1fr;
  }
}

.onstage-shell {
  --onstage-ink: #111111;
  --onstage-deep: #143e33;
  --onstage-gold: #d3a954;
  --onstage-paper: #fffaf1;
  --onstage-header: #efe8da;
  width: min(1760px, calc(100vw - 24px));
  gap: 12px;
  color: var(--onstage-ink);
  font-family: "Roboto", "Segoe UI", "Helvetica Neue", sans-serif;
}

.onstage-hero {
  background:
    radial-gradient(circle at top left, rgba(211, 169, 84, 0.24), transparent 22%),
    linear-gradient(135deg, rgba(20, 62, 51, 0.88), rgba(10, 28, 24, 0.96));
  border-color: rgba(211, 169, 84, 0.28);
  padding: 10px 16px;
  min-height: auto;
}

.onstage-hero h1 {
  color: #f4ead3;
  font-family: "Roboto", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  letter-spacing: 0.02em;
  margin: 0;
  font-weight: 700;
}

.onstage-hero .hero-copy,
.onstage-hero .eyebrow {
  color: rgba(244, 234, 211, 0.86);
}

.onstage-hero .hero-copy {
  max-width: 62rem;
  margin-bottom: 0;
}

.onstage-shell .toolbar {
  margin-top: 0;
  padding-top: 0;
  gap: 8px;
  align-items: center;
}

.onstage-shell .toolbar,
.onstage-shell .summary,
.onstage-shell .status-bar {
  gap: 8px;
}

.onstage-session-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.onstage-session-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(20, 62, 51, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.85);
  color: #143e33;
  font-size: 0.92rem;
  font-weight: 700;
}

.onstage-peer-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(20, 62, 51, 0.16);
  border-radius: 999px;
  background: rgba(20, 62, 51, 0.08);
  color: #143e33;
  font-size: 0.9rem;
  font-weight: 700;
}

.onstage-auth-card,
.onstage-login-log-card {
  border: 1px solid rgba(20, 62, 51, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf9, #f7f1e6);
  box-shadow: 0 18px 36px rgba(20, 62, 51, 0.1);
}

.onstage-auth-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 380px);
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
}

.onstage-auth-copy {
  color: #23362f;
}

.onstage-auth-form {
  display: grid;
  gap: 8px;
}

.onstage-auth-label {
  display: grid;
  gap: 6px;
  color: #173d34;
  font-weight: 700;
}

.onstage-auth-label select,
.onstage-auth-label input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(20, 62, 51, 0.14);
  border-radius: 14px;
  background: #fff;
  color: #111111;
  font: inherit;
}

.onstage-login-log table {
  width: 100%;
  border-collapse: collapse;
}

.onstage-login-log-card {
  padding: 12px 16px;
}

.onstage-comment-thread {
  border: 1px solid rgba(20, 62, 51, 0.1);
  border-radius: 16px;
  background: #f8faf8;
  padding: 12px;
}

.onstage-comment-thread-list {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
}

.onstage-comment-message {
  max-width: 88%;
  border: 1px solid rgba(20, 62, 51, 0.08);
  border-radius: 16px;
  background: #ffffff;
  padding: 10px 12px;
}

.onstage-comment-message.is-own {
  margin-left: auto;
  background: #eef7f2;
  border-color: rgba(31, 107, 93, 0.16);
}

.onstage-mentions-list {
  display: grid;
  gap: 12px;
}

.onstage-mentions-dialog::backdrop {
  background: rgba(20, 35, 31, 0.3);
}

.onstage-mentions-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.onstage-mentions-trigger-icon {
  font-size: 0.95rem;
}

.onstage-mentions-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d3a954;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.onstage-mention-item {
  border: 1px solid rgba(20, 62, 51, 0.1);
  border-radius: 16px;
  background: #fffdf8;
  padding: 12px 14px;
}

.onstage-mention-item.is-unread {
  border-color: rgba(211, 169, 84, 0.55);
  background: linear-gradient(180deg, rgba(255, 247, 230, 0.96), #fffdf8);
}

.onstage-mention-item.is-read {
  opacity: 0.88;
}

.onstage-mentions-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.onstage-mentions-trigger.has-unread {
  border-color: rgba(211, 169, 84, 0.7);
  background: rgba(211, 169, 84, 0.16);
  color: #5d4210;
}

.onstage-user-admin-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.onstage-user-create-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.onstage-user-create-form input,
.onstage-user-create-form select,
.onstage-user-role-select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(20, 62, 51, 0.14);
  border-radius: 12px;
  background: #fff;
  color: #111111;
  font: inherit;
}

.onstage-user-role-select {
  width: 100%;
}

.onstage-user-actions {
  display: grid;
  gap: 8px;
}

.onstage-user-project-access {
  display: grid;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(20, 62, 51, 0.1);
  border-radius: 12px;
  background: rgba(20, 62, 51, 0.04);
}

.onstage-user-project-access summary {
  cursor: pointer;
  font-weight: 700;
  color: #173d34;
}

.onstage-user-project-list {
  display: grid;
  gap: 6px;
  max-height: 150px;
  overflow: auto;
}

.onstage-user-project-option {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111111;
}

.onstage-user-project-empty {
  color: #5e6d66;
  font-size: 0.86rem;
}

.onstage-user-passcode-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.onstage-user-passcode-input {
  min-width: 140px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(20, 62, 51, 0.14);
  border-radius: 12px;
  background: #fff;
  color: #111111;
  font: inherit;
}

.onstage-login-log-table {
  margin-top: 12px;
  overflow: auto;
}

.onstage-login-log th,
.onstage-login-log td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(20, 62, 51, 0.1);
  text-align: left;
  color: #111111;
  font-size: 0.92rem;
}

.onstage-login-log th {
  color: #143e33;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.onstage-table-card {
  overflow: hidden;
  border-radius: 20px;
}

.onstage-table-meta {
  display: grid;
  gap: 4px;
  padding: 4px 14px 0;
}

.onstage-meta-intro {
  display: grid;
  gap: 2px;
}

.onstage-meta-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: end;
}

.onstage-filter-panel {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 190px;
  align-self: end;
}

.onstage-filter-trigger {
  min-width: 190px;
  max-width: 240px;
  min-height: 40px;
  padding: 0 12px;
  justify-content: flex-start;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.onstage-filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 24;
  width: min(360px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid rgba(20, 62, 51, 0.12);
  border-radius: 18px;
  background: rgba(255, 251, 244, 0.98);
  box-shadow: 0 22px 44px rgba(20, 62, 51, 0.16);
  backdrop-filter: blur(10px);
}

.onstage-filter-list {
  display: grid;
  gap: 4px;
  max-height: 260px;
  overflow: auto;
  padding-right: 2px;
}

.onstage-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: transparent;
  color: #111111;
  transition: background 140ms ease, border-color 140ms ease;
  border: 1px solid transparent;
}

.onstage-filter-option:hover {
  background: rgba(20, 62, 51, 0.05);
  border-color: rgba(20, 62, 51, 0.08);
}

.onstage-filter-option input {
  accent-color: #143e33;
}

.onstage-filter-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.onstage-filter-help {
  margin: 0 0 8px;
  color: #516057;
  font-size: 0.82rem;
  line-height: 1.35;
}

.onstage-saved-view-block {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 62, 51, 0.1);
}

.onstage-saved-view-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.onstage-saved-view-select,
.onstage-saved-view-input {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(20, 62, 51, 0.14);
  border-radius: 12px;
  background: #fff;
  color: #111111;
  font: inherit;
}

.onstage-mention-suggestions {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(20, 62, 51, 0.12);
  border-radius: 14px;
  background: #fffefb;
  box-shadow: 0 14px 30px rgba(20, 62, 51, 0.12);
  padding: 6px;
}

.onstage-mention-option {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #143e33;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.onstage-mention-option:hover,
.onstage-mention-option.is-active {
  background: rgba(20, 62, 51, 0.08);
}

.onstage-mention-buttons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.onstage-table-meta .eyebrow {
  color: #516057;
  font-weight: 700;
}

.onstage-table-meta h2 {
  margin: 0 0 2px;
  color: #143e33;
  font-size: 1.05rem;
  line-height: 1.15;
}

.onstage-meta-copy {
  margin: 0 0 2px;
  max-width: 48rem;
  color: #111111;
  line-height: 1.3;
  font-size: 0.84rem;
}

.onstage-view-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  align-items: center;
}

.onstage-view-toggle .secondary-button,
.onstage-filter-panel .secondary-button,
.onstage-filter-panel button:not(.secondary-button) {
  min-height: 40px;
  padding: 0 12px;
}

.onstage-view-toggle .secondary-button.is-active {
  background: #143e33;
  color: #f4ead3;
  border-color: #143e33;
}

.onstage-layout-toggle {
  margin-top: 8px;
}

.onstage-scroll {
  margin-top: 4px;
  border-top: 1px solid rgba(20, 62, 51, 0.1);
  max-height: calc(100vh - 250px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(250, 245, 236, 0.96));
}

.onstage-vertical-row td {
  padding: 0;
  border: 0;
  background: transparent !important;
}

.onstage-vertical-card {
  margin: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(20, 62, 51, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(248, 241, 229, 0.96));
  box-shadow: 0 10px 26px rgba(20, 62, 51, 0.08);
}

.onstage-vertical-card-header {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.onstage-vertical-card-header h3 {
  margin: 0;
  color: #143e33;
  font-size: 1.2rem;
  line-height: 1.15;
}

.onstage-vertical-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.onstage-vertical-date {
  font-weight: 700;
  color: #111111;
}

.onstage-vertical-project {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.84rem;
}

.onstage-vertical-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.onstage-vertical-field {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 62, 51, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.onstage-vertical-field-label {
  color: #516057;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.onstage-vertical-field-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #111111;
  font-weight: 700;
  line-height: 1.2;
}

.onstage-vertical-link {
  min-height: 32px;
  height: 32px;
  border-radius: 10px;
  border-left: 0;
}

.onstage-scroll::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}

.onstage-scroll::-webkit-scrollbar-thumb {
  background: rgba(20, 62, 51, 0.28);
  border-radius: 999px;
  border: 2px solid rgba(255, 250, 241, 0.9);
}

.onstage-scroll::-webkit-scrollbar-track {
  background: rgba(239, 232, 218, 0.62);
}

.onstage-table th,
.onstage-table td {
  white-space: nowrap;
  border-right: 1px solid rgba(20, 62, 51, 0.22);
  border-bottom: 1px solid rgba(20, 62, 51, 0.18);
  width: 128px;
  min-width: 128px;
  max-width: 128px;
  background: rgba(255, 252, 247, 0.96);
  color: var(--onstage-ink);
  overflow: hidden;
  font-size: 0.86rem;
  line-height: 1.2;
}

.onstage-table thead th {
  padding: 9px 10px;
}

.onstage-table td {
  padding: 0;
  vertical-align: middle;
}

.onstage-table th {
  position: relative;
  background: #f7f2e8;
}

.onstage-table thead tr th {
  position: sticky;
  top: 0;
  z-index: 12;
  background: var(--onstage-header);
  color: var(--onstage-ink);
  box-shadow:
    inset 0 -1px 0 rgba(20, 62, 51, 0.16),
    inset 0 1px 0 rgba(255, 250, 241, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.onstage-table thead tr th.sticky-col {
  z-index: 17;
  background: #efe8da !important;
}

.onstage-fold-button {
  min-width: 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(20, 62, 51, 0.12);
  border-color: rgba(20, 62, 51, 0.18);
  color: #111111;
  font-weight: 700;
}

.onstage-year-row td {
  background: #d6c29a;
  color: #173d34;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 14px;
  text-shadow: 0 1px 0 rgba(255, 250, 241, 0.32);
}

.sticky-col {
  position: sticky;
  z-index: 13;
  background: linear-gradient(180deg, #fffaf1, #f6efe0) !important;
  color: var(--onstage-ink) !important;
  box-shadow: 1px 0 0 rgba(20, 62, 51, 0.14);
}

.sticky-date {
  left: 0;
  width: 122px !important;
  min-width: 122px !important;
  max-width: 122px !important;
}

.sticky-project {
  left: 122px;
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
}

.sticky-scene {
  left: 218px;
  width: 240px !important;
  min-width: 240px !important;
  max-width: 240px !important;
  box-shadow:
    1px 0 0 rgba(20, 62, 51, 0.14),
    18px 0 28px rgba(20, 62, 51, 0.18);
}

.onstage-cell-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}

.onstage-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.onstage-select {
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-weight: 700;
  appearance: none;
  text-align: center;
  cursor: pointer;
  text-overflow: ellipsis;
}

.onstage-project-select {
  font-weight: 800;
  text-align: center;
  text-align-last: center;
}

.onstage-spond-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.onstage-ads-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.onstage-ads-button {
  border: 0;
  border-left: 1px solid rgba(20, 62, 51, 0.12);
  background: rgba(20, 62, 51, 0.08);
  color: #173d34;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.onstage-ads-button.is-ready {
  background: rgba(45, 122, 79, 0.18);
  color: #173d34;
}

.onstage-spond-select {
  text-align: center;
  text-align-last: center;
}

.onstage-spond-link {
  min-width: 32px;
  width: 32px;
  height: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(20, 62, 51, 0.12);
  border-radius: 0;
  background: rgba(20, 62, 51, 0.08);
  color: inherit;
  font-weight: 800;
}

.onstage-link-badge {
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.onstage-link-input {
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
}

.field-ticket_link .onstage-link-input {
  text-align: left;
  padding-left: 12px;
  padding-right: 12px;
}

.field-ticket_link .onstage-link-input::placeholder {
  color: #6f7b72;
  font-weight: 600;
}

.onstage-link-input[type="date"] {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.onstage-date-cell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 48px;
  overflow: hidden;
}

.onstage-date-button {
  width: 100%;
  height: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: #fffaf1;
  color: #111111;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.onstage-date-button.is-empty {
  color: #6f7b72;
}

.onstage-date-input {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  right: 0;
  bottom: 0;
  opacity: 0;
  background: transparent;
  display: block;
  line-height: 1;
  font-size: 0.82rem;
  cursor: pointer;
  pointer-events: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: transparent;
  -webkit-text-fill-color: transparent;
  appearance: none;
}

.onstage-link-input:focus {
  outline: 2px solid rgba(20, 62, 51, 0.35);
  outline-offset: -2px;
}

.onstage-popup-button {
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  cursor: pointer;
  text-align: left;
  line-height: 1.15;
}

.field-public_date .onstage-popup-button {
  text-align: center;
}

.field-portal_completed {
  text-align: center;
}

.field-scene {
  text-align: center;
  vertical-align: middle;
  padding: 0 !important;
}

.field-scene .onstage-cell-text {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.onstage-completed-toggle {
  width: 100%;
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #173d34;
}

.onstage-completed-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #2d7a4f;
}

.onstage-cell-with-comment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: stretch;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.onstage-cell-with-comment > :first-child {
  min-width: 0;
}

.onstage-cell-with-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.onstage-cell-link {
  width: 28px;
  min-width: 28px;
  height: 100%;
  min-height: 48px;
  border: 0;
  border-left: 1px solid rgba(20, 62, 51, 0.12);
  border-radius: 0;
  background: rgba(20, 62, 51, 0.08);
  color: #173d34;
  font-weight: 800;
  line-height: 1;
}

.onstage-cell-comment {
  position: relative;
  z-index: 2;
  width: 38px;
  min-width: 38px;
  height: 100%;
  min-height: 48px;
  border: 0;
  border-left: 1px solid rgba(20, 62, 51, 0.12);
  border-radius: 0;
  background: rgba(20, 62, 51, 0.12);
  color: #173d34;
  font-weight: 800;
  line-height: 1;
  font-size: 1.02rem;
  display: grid;
  place-items: center;
  text-align: center;
}

.onstage-cell-comment.has-comment {
  background: rgba(20, 62, 51, 0.22);
  color: #0d2922;
  box-shadow: inset 0 0 0 3px #0d2922;
}

.onstage-cell-comment.has-comment::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #0d2922;
}

.onstage-comment-only-button {
  position: relative;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #173d34;
  font-weight: 800;
  line-height: 1;
  font-size: 1.02rem;
  display: grid;
  place-items: center;
  text-align: center;
}

.onstage-comment-only-button.has-comment {
  background: rgba(20, 62, 51, 0.16);
  color: #0d2922;
  box-shadow: inset 0 0 0 3px #0d2922;
}

.onstage-comment-only-button.has-comment::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #0d2922;
}

.onstage-activity-dialog {
  width: min(860px, calc(100vw - 40px));
}

.onstage-activity-list {
  display: grid;
  gap: 12px;
  max-height: min(70vh, 640px);
  overflow: auto;
}

.onstage-activity-item {
  border: 1px solid rgba(20, 62, 51, 0.12);
  border-radius: 18px;
  background: #fffdf8;
  padding: 14px 16px;
}

.onstage-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #173d34;
  font-size: 0.9rem;
}

.onstage-activity-context {
  margin: 8px 0 4px;
  color: #506660;
  font-size: 0.88rem;
}

.onstage-activity-value {
  margin: 0;
  color: #111111;
  font-size: 0.92rem;
  line-height: 1.35;
  word-break: break-word;
}

.onstage-activity-empty,
.onstage-activity-muted {
  color: #6c7b77;
}

.onstage-activity-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(20, 62, 51, 0.08);
  color: #173d34;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.onstage-popup-button .onstage-cell-text {
  width: 100%;
}

.cell-red {
  background: #e98585 !important;
  color: #111111 !important;
}

.cell-yellow {
  background: #f0dc7a !important;
  color: #111111 !important;
}

.cell-green {
  background: #8fd19a !important;
  color: #111111 !important;
}

.sync-pending {
  box-shadow: inset 0 0 0 2px rgba(211, 169, 84, 0.75);
}

.sync-applied {
  box-shadow: inset 0 0 0 2px rgba(63, 122, 82, 0.45);
}

.sync-conflict {
  box-shadow: inset 0 0 0 2px rgba(177, 54, 54, 0.9);
}

.sync-failed {
  box-shadow: inset 0 0 0 2px rgba(111, 123, 114, 0.9);
}

.project-tbns {
  background: #111111 !important;
  color: #ffffff !important;
}

.project-fs {
  background: #f2a23a !important;
  color: #111111 !important;
}

.project-asos {
  background: #f0a9b9 !important;
  color: #111111 !important;
}

.project-aieik {
  background: #d86f6f !important;
  color: #111111 !important;
}

.project-er {
  background: #6e4b3a !important;
  color: #ffffff !important;
}

.project-tbtr {
  background: #edd86b !important;
  color: #111111 !important;
}

.link-green,
.link-green::placeholder {
  color: #ffffff !important;
}

.field-contract .onstage-link-input,
.field-contract .onstage-link-input.cell-green,
.field-contract .onstage-link-input.cell-yellow,
.field-contract .onstage-link-input.cell-red,
.field-contract .onstage-link-input.link-green,
.field-contract .onstage-link-input::placeholder {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

.onstage-select:focus {
  outline: 2px solid rgba(20, 62, 51, 0.35);
  outline-offset: -2px;
}

.tone-ok {
  background: rgba(63, 122, 82, 0.14);
  color: #235238;
}

.tone-alert {
  background: rgba(153, 67, 49, 0.14);
  color: #8a3928;
}

.tone-wip {
  background: rgba(182, 127, 23, 0.16);
  color: #8c6510;
}

.tone-muted {
  background: rgba(109, 118, 112, 0.14);
  color: #444444;
}

.tone-link {
  background: rgba(20, 62, 51, 0.1);
  color: #173d34;
}

.is-centered {
  text-align: center;
}

.is-centered .onstage-chip,
.is-centered .onstage-cell-text {
  margin: 0 auto;
}

.has-overflow:not(.sticky-col) {
  position: relative;
}

.onstage-tooltip {
  position: absolute;
  left: 10px;
  top: calc(100% + 8px);
  display: none;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #143e33;
  color: #f4ead3;
  white-space: normal;
  box-shadow: 0 14px 28px rgba(20, 62, 51, 0.22);
  z-index: 20;
  line-height: 1.35;
}

.has-overflow:hover .onstage-tooltip {
  display: block;
}

.onstage-editor-dialog {
  width: min(560px, calc(100vw - 32px));
}

.onstage-ads-dialog {
  width: min(960px, calc(100vw - 32px));
}

.onstage-editor-form {
  display: grid;
  gap: 14px;
}

.onstage-ads-form {
  gap: 18px;
}

.onstage-ads-section {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(20, 62, 51, 0.12);
  border-radius: 20px;
  background: #fffdf8;
}

.onstage-ads-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.onstage-ads-section-header h3,
.onstage-ads-card h3 {
  margin: 0;
  color: #173d34;
}

.onstage-ads-section-header p {
  margin: 0;
  color: #6c7b77;
  font-size: 0.9rem;
}

.onstage-ads-report {
  display: grid;
  gap: 14px;
}

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

.onstage-ads-kpi {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f5efe1;
  display: grid;
  gap: 6px;
}

.onstage-ads-kpi span {
  color: #6c7b77;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.onstage-ads-kpi strong {
  color: #173d34;
  font-size: 1rem;
}

.onstage-ads-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px;
}

.onstage-ads-channel-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.onstage-ads-channel-card {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(45, 122, 79, 0.12);
  display: grid;
  gap: 6px;
}

.onstage-ads-channel-card.is-disabled {
  background: rgba(109, 118, 112, 0.14);
}

.onstage-ads-channel-card span {
  color: #6c7b77;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.onstage-ads-channel-card strong {
  color: #173d34;
  font-size: 0.96rem;
}

.onstage-ads-meta-readiness {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 12px;
}

.onstage-ads-meta-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.onstage-ads-meta-pill {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(20, 62, 51, 0.08);
  display: grid;
  gap: 4px;
}

.onstage-ads-meta-pill span {
  color: #6c7b77;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.onstage-ads-meta-pill strong {
  color: #173d34;
  font-size: 0.92rem;
}

.onstage-ads-approval {
  display: grid;
  gap: 12px;
}

.onstage-ads-card {
  padding: 14px;
  border-radius: 16px;
  background: #f8f3e8;
  display: grid;
  gap: 12px;
}

.onstage-ads-checklist {
  display: grid;
  gap: 8px;
}

.onstage-ads-check {
  padding: 10px 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.onstage-ads-check.is-ok {
  background: rgba(63, 122, 82, 0.12);
}

.onstage-ads-check.is-missing {
  background: rgba(153, 67, 49, 0.12);
}

.onstage-ads-check strong {
  color: #173d34;
  font-size: 0.9rem;
}

.onstage-ads-check span {
  color: #444444;
  font-size: 0.88rem;
}

.onstage-ads-actions {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #173d34;
}

.onstage-ads-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #173d34;
}

.onstage-ads-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #2d7a4f;
}

.onstage-editor-label {
  display: grid;
  gap: 8px;
}

.onstage-editor-label span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #173d34;
}

.onstage-editor-form textarea,
.onstage-editor-form select {
  width: 100%;
}

.onstage-add-row td {
  background: #f3efe6 !important;
}

.onstage-table tbody tr:nth-child(even):not(.onstage-year-row):not(.onstage-add-row) td:not(.sticky-col) {
  background: rgba(251, 247, 239, 0.98);
}

.onstage-table tbody tr:hover td:not(.sticky-col) {
  background: rgba(247, 240, 225, 0.98);
}

.onstage-table tbody tr.is-active-edit-row td {
  box-shadow:
    inset 0 2px 0 rgba(143, 76, 34, 0.9),
    inset 0 -2px 0 rgba(143, 76, 34, 0.9);
}

.onstage-table tbody tr.is-active-edit-row td:first-child {
  box-shadow:
    inset 3px 0 0 rgba(143, 76, 34, 0.95),
    inset 0 2px 0 rgba(143, 76, 34, 0.9),
    inset 0 -2px 0 rgba(143, 76, 34, 0.9);
}

.onstage-table tbody tr.is-active-edit-row td:last-child {
  box-shadow:
    inset -3px 0 0 rgba(143, 76, 34, 0.95),
    inset 0 2px 0 rgba(143, 76, 34, 0.9),
    inset 0 -2px 0 rgba(143, 76, 34, 0.9);
}

.onstage-table tbody tr.is-highlighted-row td {
  box-shadow:
    inset 0 3px 0 #111111,
    inset 0 -3px 0 #111111;
}

.onstage-table tbody tr.is-highlighted-row td:first-child {
  box-shadow:
    inset 4px 0 0 #111111,
    inset 0 3px 0 #111111,
    inset 0 -3px 0 #111111;
}

.onstage-table tbody tr.is-highlighted-row td:last-child {
  box-shadow:
    inset -4px 0 0 #111111,
    inset 0 3px 0 #111111,
    inset 0 -3px 0 #111111;
}

.onstage-table th.is-highlighted-column,
.onstage-table td.is-highlighted-column {
  box-shadow:
    inset 4px 0 0 #111111,
    inset -4px 0 0 #111111;
}

.onstage-table th.is-highlighted-column {
  box-shadow:
    inset 4px 0 0 #111111,
    inset -4px 0 0 #111111,
    inset 0 4px 0 #111111,
    inset 0 -2px 0 #111111;
}

.onstage-column-toggle,
.onstage-scene-toggle {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.onstage-column-toggle:focus-visible,
.onstage-scene-toggle:focus-visible {
  outline: 2px solid #111111;
  outline-offset: -2px;
}

.field-date,
.field-date .onstage-date-button,
.field-scene,
.field-scene .onstage-cell-text {
  color: #111111 !important;
}

.field-public_date,
.field-public_date .onstage-popup-button,
.field-money_received,
.field-money_received .onstage-popup-button,
.field-concert_start,
.field-concert_start .onstage-popup-button,
.field-load_in,
.field-load_in .onstage-popup-button,
.field-rider_sent,
.field-rider_sent .onstage-popup-button {
  text-align: center;
}

.onstage-add-row .sticky-col {
  z-index: 14;
}

.onstage-add-input {
  width: 100%;
  min-width: 100%;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  font: inherit;
}

.onstage-add-button {
  width: 100%;
  min-width: 100%;
  height: 48px;
  border-radius: 0;
  background: #143e33;
  color: #f4ead3;
  border-color: #143e33;
}

@media (max-width: 1040px) {
  .onstage-auth-card {
    grid-template-columns: 1fr;
  }

  .onstage-ads-kpis,
  .onstage-ads-channel-row,
  .onstage-ads-meta-readiness,
  .onstage-ads-meta-summary,
  .onstage-ads-grid {
    grid-template-columns: 1fr;
  }

  .onstage-user-admin-header {
    flex-direction: column;
  }

  .onstage-filter-panel,
  .onstage-filter-trigger {
    min-width: 100%;
    max-width: 100%;
  }

  .onstage-filter-dropdown {
    left: 0;
    right: auto;
    width: min(320px, calc(100vw - 36px));
  }

  .onstage-shell {
    width: min(100vw - 12px, 1760px);
  }

  .onstage-hero {
    padding: 14px 16px;
  }

  .onstage-table-meta {
    flex-direction: column;
  }

  .onstage-session-bar {
    margin-left: 0;
  }

  .onstage-scroll {
    max-height: calc(100vh - 220px);
  }
}

.ads-shell {
  width: min(1240px, calc(100vw - 24px));
}

.ads-hero {
  background:
    linear-gradient(135deg, rgba(250, 139, 3, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(18, 14, 10, 0.98), rgba(5, 7, 7, 0.98));
}

.ads-toolbar {
  align-items: center;
  justify-content: space-between;
}

.ads-list-card {
  padding: 24px;
}

.ads-adapter-card {
  padding: 22px 24px;
}

.ads-adapter-head {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
}

.ads-adapter-head h2 {
  margin: 4px 0 4px;
}

.ads-adapter-badge {
  white-space: nowrap;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(250, 139, 3, 0.12);
  border: 1px solid rgba(250, 139, 3, 0.24);
  font-size: 0.88rem;
}

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

.ads-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

.ads-table th,
.ads-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(250, 139, 3, 0.14);
  text-align: left;
  vertical-align: middle;
}

.ads-table th {
  color: #ffcc73;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ads-table tbody tr:hover {
  background: rgba(250, 139, 3, 0.06);
}

.ads-row-muted {
  opacity: 0.66;
}

.ads-empty-cell {
  padding: 22px 14px;
  color: rgba(247, 178, 75, 0.82);
}

.ads-list-header {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ads-search {
  display: grid;
  gap: 6px;
  min-width: min(360px, 100%);
}

.ads-search span,
.ads-report-grid span {
  font-size: 0.82rem;
  color: var(--muted);
}

.ads-inline-note,
.ads-actions-list p,
.ads-empty {
  margin: 0;
  color: rgba(247, 178, 75, 0.82);
}

.ads-report-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 16px;
}

.ads-report-grid strong {
  display: block;
  margin-top: 4px;
}

.ads-check-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ads-check-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(250, 139, 3, 0.15);
}

.ads-check-item.is-ok {
  background: rgba(56, 101, 66, 0.18);
}

.ads-check-item.is-missing {
  background: rgba(120, 60, 44, 0.18);
}

.ads-actions-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.ads-preview-box {
  white-space: pre-wrap;
  overflow-x: auto;
  border-radius: 18px;
  padding: 16px;
  background: rgba(6, 7, 7, 0.92);
  border: 1px solid rgba(250, 139, 3, 0.18);
  color: #ffd79a;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.86rem;
}

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

.ads-activity-card {
  display: grid;
  gap: 4px;
  border-radius: 16px;
  padding: 14px;
  background: rgba(250, 139, 3, 0.08);
  border: 1px solid rgba(250, 139, 3, 0.16);
}

.ads-dialog-actions {
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .ads-toolbar,
  .ads-list-header,
  .ads-adapter-head {
    align-items: stretch;
    flex-direction: column;
  }

  .ads-search {
    min-width: 0;
  }

  .ads-dialog-actions button {
    width: 100%;
  }
}

.onstage-newsletter-import-dialog {
  width: min(760px, calc(100vw - 2rem));
}

.onstage-newsletter-import-form {
  gap: 1rem;
}

.onstage-newsletter-import-card {
  border: 1px solid rgba(31, 107, 93, 0.16);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(31, 107, 93, 0.04);
}

.onstage-newsletter-import-summary {
  margin: 0;
  color: #204b42;
  line-height: 1.5;
}

.onstage-newsletter-import-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.onstage-newsletter-import-links .secondary-button.hidden {
  display: none;
}

.onstage-newsletter-import-suggestions-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.onstage-newsletter-import-suggestions-head h3,
.onstage-newsletter-import-suggestions-head p {
  margin: 0;
}

.onstage-newsletter-import-suggestions-head p {
  color: #56756c;
  font-size: 0.92rem;
}

.onstage-newsletter-import-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 16rem;
  overflow: auto;
}

.onstage-newsletter-import-suggestion {
  border: 1px solid rgba(31, 107, 93, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #1f6b5d;
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.onstage-newsletter-import-suggestion:hover,
.onstage-newsletter-import-suggestion:focus-visible {
  border-color: rgba(31, 107, 93, 0.45);
  background: rgba(31, 107, 93, 0.08);
}

.onstage-newsletter-import-status {
  min-height: 1.3rem;
  margin: 0;
  color: #29584e;
  font-size: 0.95rem;
}
