:root {
  color-scheme: light;
  --ink: #151915;
  --ink-soft: #525a52;
  --muted: #747d74;
  --line: #dce2da;
  --line-strong: #cbd3c8;
  --canvas: #f5f7f3;
  --surface: #ffffff;
  --surface-soft: #edf2eb;
  --lime: #5fc900;
  --lime-dark: #3d8500;
  --lime-pale: #e7f7d8;
  --coral: #ff7448;
  --coral-pale: #fff0e9;
  --amber: #d59018;
  --amber-pale: #fff6dd;
  --red: #c53c3c;
  --red-pale: #fff0f0;
  --violet: #6857c8;
  --violet-pale: #f0edff;
  --shadow: 0 12px 36px rgba(25, 35, 22, 0.08);
  --sidebar-width: 258px;
  --topbar-height: 72px;
  font-family: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

button, input, textarea, select { font: inherit; letter-spacing: 0; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, video { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: 0; }
h1 { margin-bottom: 8px; font-size: 32px; font-weight: 800; }
h2 { margin-bottom: 5px; font-size: 18px; font-weight: 750; }
h3 { margin-bottom: 4px; font-size: 15px; font-weight: 750; }
p { color: var(--ink-soft); }

.is-hidden { display: none !important; }

.eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--lime-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button, .icon-button, .text-button, .nav-item, .filter-chips button, .segmented-control button {
  border: 0;
  cursor: pointer;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 7px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button svg { width: 17px; height: 17px; }
.button--primary { background: var(--lime); color: #102000; box-shadow: 0 6px 18px rgba(95, 201, 0, 0.18); }
.button--primary:hover { background: #68d70a; }
.button--secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.button--secondary:hover { border-color: #9da89a; }
.button--quiet { background: transparent; color: var(--ink-soft); }
.button--quiet:hover { background: var(--surface-soft); color: var(--ink); }
.button--danger { background: var(--red-pale); color: var(--red); }
.button--wide { width: 100%; }

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  transition: background 160ms ease, color 160ms ease;
}
.icon-button:hover { background: var(--surface-soft); color: var(--ink); }
.icon-button svg { width: 19px; height: 19px; }
.icon-button--inside { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.icon-button--send { background: var(--lime); color: #102000; }
.icon-button--send:hover { background: #68d70a; }

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  background: transparent;
  color: var(--lime-dark);
  font-weight: 750;
}

.auth-help { justify-self: start; margin-top: -4px; font-size: 12px; }
.is-role-disabled { cursor: not-allowed !important; opacity: 0.52; transform: none !important; }
.role-note { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); color: var(--ink-soft); font-size: 12px; }
.text-button svg { width: 15px; height: 15px; }

.avatar {
  width: 36px;
  height: 36px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 800;
}
.avatar--button { border: 0; cursor: pointer; }

.auth-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(400px, 0.85fr);
  background: var(--surface);
}

.auth-brand {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px;
  background: #161b16;
  color: white;
}
.auth-brand__logo { width: 184px; filter: brightness(1.08); }
.auth-brand__statement { max-width: 560px; }
.auth-brand__statement .eyebrow { color: var(--lime); }
.auth-brand__statement h1 { margin-bottom: 14px; font-size: 56px; color: white; }
.auth-brand__statement p { max-width: 440px; margin: 0; color: #cad2c8; font-size: 21px; }
.auth-brand__status { display: flex; align-items: center; gap: 10px; color: #b9c2b7; font-size: 12px; }

.status-dot { width: 8px; height: 8px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(95, 201, 0, 0.12); }
.status-dot--amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(213, 144, 24, 0.13); }
.status-dot--red { background: var(--red); box-shadow: 0 0 0 4px rgba(197, 60, 60, 0.12); }

.auth-panel { min-height: 100vh; display: grid; place-items: center; padding: 48px; }
.auth-form { width: min(100%, 410px); display: grid; gap: 22px; }
.auth-form h2 { margin-bottom: 6px; font-size: 34px; }
.auth-form p { margin-bottom: 0; }

.field { display: grid; gap: 7px; min-width: 0; }
.field > span, .field > legend { color: var(--ink); font-size: 12px; font-weight: 750; }
.field input, .field textarea, .field select, .search-field input, .period-select {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: 0;
  background: var(--surface);
  color: var(--ink);
  transition: border 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .search-field input:focus, .period-select:focus {
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 3px rgba(95, 201, 0, 0.12);
}
.field--large textarea { font-size: 15px; line-height: 1.6; }
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
.form-error { min-height: 18px; margin: -8px 0; color: var(--red); font-size: 12px; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  padding: 22px 14px 14px;
  border-right: 1px solid var(--line);
  background: #fbfcfa;
}
.sidebar__brand { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 2px 9px 18px; }
.sidebar__brand img { width: 148px; }
.sidebar__close { display: none; }
.nav-list { display: grid; gap: 3px; }
.nav-item {
  width: 100%;
  min-height: 43px;
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}
.nav-item:hover { background: var(--surface-soft); color: var(--ink); }
.nav-item.is-active { background: var(--lime-pale); color: #255b00; }
.nav-item svg { width: 18px; height: 18px; }
.nav-count { min-width: 22px; padding: 2px 6px; border-radius: 10px; background: var(--ink); color: white; font-size: 11px; text-align: center; }
.sidebar__bottom { margin-top: auto; display: grid; gap: 3px; }
.nav-label { padding: 18px 11px 7px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.sidebar__profile { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; gap: 9px; margin-top: 14px; padding: 12px 8px 2px; border-top: 1px solid var(--line); }
.sidebar__profile-copy { min-width: 0; display: grid; }
.sidebar__profile-copy strong, .sidebar__profile-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar__profile-copy strong { font-size: 11px; }
.sidebar__profile-copy small { color: var(--muted); font-size: 11px; }
.sidebar-overlay { display: none; }

.workspace { min-width: 0; margin-left: var(--sidebar-width); }
.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 247, 243, 0.96);
  backdrop-filter: blur(12px);
}
.topbar__left, .topbar__actions { display: flex; align-items: center; gap: 8px; }
.topbar__left > div { display: grid; }
.topbar__workspace { color: var(--muted); font-size: 11px; font-weight: 700; }
.topbar__left strong { font-size: 14px; }
.mobile-menu { display: none; }
.notification-mark { position: absolute; width: 6px; height: 6px; margin: -19px 0 0 17px; border: 2px solid var(--canvas); border-radius: 50%; background: var(--coral); }
.workspace__body { max-width: 1520px; margin: 0 auto; padding: 28px; }
.view { display: none; }
.view.is-active { display: block; animation: view-in 180ms ease; }
@keyframes view-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.page-heading p { margin: 0; }
.page-heading--compact { align-items: center; }
.page-heading__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.provider-pill, .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}
.status-badge--draft { border-color: #d7d0ff; background: var(--violet-pale); color: var(--violet); }
.status-badge--pending { border-color: #efd79d; background: var(--amber-pale); color: #80580a; }
.status-badge--approved { border-color: #c8eaae; background: var(--lime-pale); color: #315f11; }
.status-badge--changes { border-color: #ffd1c0; background: var(--coral-pale); color: #9b3c1d; }
.status-badge--scheduled { border-color: #bfe8dc; background: #e7f8f3; color: #176551; }
.status-badge--publishing { border-color: #b8d2ff; background: #e9f1ff; color: #174f9f; }
.status-badge--failed { border-color: #f1b8c0; background: #fff0f2; color: #a02438; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.metric { min-width: 0; padding: 20px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.metric__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-soft); color: var(--ink-soft); }
.metric__icon svg { width: 17px; height: 17px; }
.metric__change { color: var(--lime-dark); font-size: 11px; font-weight: 800; }
.metric strong { display: block; margin-top: 15px; font-size: 25px; line-height: 1; }
.metric span:last-child { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr); gap: 18px; margin-top: 18px; }
.panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.panel__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.panel__header h2 { margin-bottom: 0; }
.panel__header .eyebrow { margin-bottom: 5px; }

.schedule-list { display: grid; }
.schedule-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 67px; padding: 10px 0; border-top: 1px solid var(--line); }
.schedule-item:first-child { border-top: 0; }
.channel-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-soft); color: var(--ink); }
.channel-icon svg { width: 18px; height: 18px; }
.schedule-item__copy { min-width: 0; }
.schedule-item__copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.schedule-item__copy small, .schedule-item__time small { display: block; color: var(--muted); font-size: 11px; }
.schedule-item__time { text-align: right; }
.schedule-item__time strong { font-size: 11px; }
.empty-inline { padding: 28px 0; color: var(--muted); text-align: center; }

.pipeline { display: grid; gap: 15px; }
.pipeline-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.pipeline-row__copy { display: flex; align-items: center; gap: 10px; }
.pipeline-row__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.pipeline-row:nth-child(2) .pipeline-row__dot { background: var(--amber); }
.pipeline-row:nth-child(3) .pipeline-row__dot { background: var(--violet); }
.pipeline-row:nth-child(4) .pipeline-row__dot { background: #329f82; }
.pipeline-row strong { font-size: 12px; }
.pipeline-row > strong { min-width: 27px; padding: 4px 7px; border-radius: 6px; background: var(--surface-soft); text-align: center; }

.content-strip { margin-top: 18px; padding: 20px 0 0; }
.asset-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.asset-card { min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease; }
.asset-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.asset-card__preview { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe5dc; }
.asset-card__preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.asset-card__format { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: rgba(20, 25, 20, 0.82); color: white; }
.asset-card__format svg { width: 14px; height: 14px; }
.asset-card__body { padding: 11px; }
.asset-card__body strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.asset-card__body small { color: var(--muted); font-size: 11px; text-transform: capitalize; }

.studio-layout { display: grid; grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 1.1fr); gap: 18px; align-items: stretch; }
.brief-panel, .assistant-panel, .draft-output { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.brief-panel { display: grid; gap: 19px; padding: 22px; }
.brief-panel__header { display: flex; gap: 12px; }
.brief-panel__header p, .assistant-panel__header p { margin: 0; font-size: 11px; }
.step-number { width: 28px; height: 28px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 7px; background: var(--lime-pale); color: var(--lime-dark); font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.platform-targets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.platform-targets label { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink-soft); cursor: pointer; font-size: 11px; font-weight: 700; }
.platform-targets label:has(input:checked) { border-color: #9edb6f; background: var(--lime-pale); color: #295d05; }
.platform-targets input { width: 16px; height: 16px; margin: 0; accent-color: var(--lime-dark); }
.platform-targets svg { width: 16px; height: 16px; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.segmented-control { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.segmented-control button { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; background: transparent; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.segmented-control button.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 7px rgba(20, 26, 19, 0.08); }
.segmented-control svg { width: 15px; height: 15px; }
.brand-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-checks span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 6px; background: var(--lime-pale); color: #315f11; font-size: 11px; font-weight: 700; }
.brand-checks svg { width: 13px; height: 13px; }

.assistant-panel { min-height: 610px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
.assistant-panel__header { display: flex; align-items: center; justify-content: space-between; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.assistant-identity { display: flex; align-items: center; gap: 10px; }
.assistant-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 7px; background: var(--ink); color: var(--lime); }
.assistant-mark svg { width: 18px; height: 18px; }
.assistant-panel__header h2 { margin: 0; font-size: 14px; }
.chat-thread { min-height: 0; max-height: 540px; overflow-y: auto; padding: 20px; }
.chat-message { max-width: 88%; margin-bottom: 14px; padding: 11px 13px; border-radius: 8px; background: var(--surface-soft); color: var(--ink-soft); font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
.chat-message--user { margin-left: auto; background: var(--ink); color: white; }
.chat-message strong { color: var(--ink); }
.chat-message--user strong { color: white; }
.chat-composer { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 8px; align-items: end; padding: 12px; border-top: 1px solid var(--line); }
.chat-composer textarea { width: 100%; max-height: 120px; min-height: 40px; padding: 10px 12px; resize: none; border: 0; border-radius: 7px; outline: 0; background: var(--surface-soft); color: var(--ink); }

.draft-output { margin-top: 18px; padding: 22px; }
.draft-output__header, .draft-output__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.draft-output__header { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.draft-output__header h2 { margin: 0; }
.draft-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 12px 0; }
.draft-grid article { min-height: 120px; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.draft-grid article:nth-child(2n) { border-right: 0; }
.draft-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.draft-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.draft-grid p { margin: 0; color: var(--ink); font-size: 12px; white-space: pre-wrap; }
.draft-output__footer { padding-top: 16px; border-top: 1px solid var(--line); }
.draft-output__footer > span { display: flex; align-items: center; gap: 7px; color: var(--lime-dark); font-size: 11px; font-weight: 700; }
.draft-output__footer > span svg { width: 15px; height: 15px; }
.draft-output__footer > div { display: flex; gap: 8px; }
.draft-branches { margin: 18px 0; padding: 18px 0; border-top: 1px solid var(--line); }
.draft-branches__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.draft-branches__head h3 { margin: 0; }
.draft-branches__head > span { color: var(--muted); font-size: 11px; font-weight: 750; }
.draft-branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.draft-branch { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); }
.draft-branch__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.draft-branch__platform { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; }
.draft-branch__platform svg { width: 16px; height: 16px; }
.draft-branch small { color: var(--muted); font-size: 11px; }
.draft-branch p { min-height: 58px; margin: 0 0 9px; display: -webkit-box; overflow: hidden; color: var(--ink-soft); font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }

.media-studio-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.72fr); gap: 18px; align-items: start; }
.media-canvas-panel, .media-editor-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.media-canvas-panel { min-width: 0; padding: 18px; }
.media-stage { position: relative; width: min(100%, 310px); margin: 0 auto; overflow: hidden; border: 1px solid #283128; border-radius: 8px; background: #111611; box-shadow: 0 18px 46px rgba(17, 22, 17, 0.14); transition: width 180ms ease, aspect-ratio 180ms ease; }
.media-stage[data-ratio="9:16"] { width: min(100%, 310px); aspect-ratio: 9 / 16; }
.media-stage[data-ratio="1:1"] { width: min(100%, 520px); aspect-ratio: 1; }
.media-stage[data-ratio="4:5"] { width: min(100%, 430px); aspect-ratio: 4 / 5; }
.media-stage[data-ratio="16:9"] { width: min(100%, 760px); aspect-ratio: 16 / 9; }
.media-stage video { width: 100%; height: 100%; object-fit: cover; background: #111611; }
.media-stage__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 28px; color: #dce5db; text-align: center; }
.media-stage__empty > span { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid #435143; border-radius: 8px; background: #202820; }
.media-stage__empty svg { width: 25px; height: 25px; color: var(--lime); }
.media-stage__empty strong { font-size: 15px; }
.media-stage__empty small { max-width: 250px; color: #96a296; font-size: 11px; line-height: 1.5; }
.media-caption-overlay { position: absolute; z-index: 2; left: 7%; right: 7%; bottom: 9%; padding: 8px 10px; color: white; font-size: clamp(13px, 2.1vw, 21px); font-weight: 850; line-height: 1.2; text-align: center; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75); pointer-events: none; }
.media-caption-overlay.is-placeholder { opacity: 0.42; }
.media-stage[data-caption-position="top"] .media-caption-overlay { top: 9%; bottom: auto; }
.media-stage[data-caption-position="centre"] .media-caption-overlay { top: 50%; bottom: auto; transform: translateY(-50%); }
.media-stage[data-caption-style="brand"] .media-caption-overlay { border-left: 4px solid var(--lime); background: rgba(10, 14, 10, 0.78); text-align: left; }
.media-stage[data-caption-style="clean"] .media-caption-overlay { background: transparent; }
.media-stage[data-caption-style="boxed"] .media-caption-overlay { border-radius: 6px; background: rgba(255, 255, 255, 0.94); color: var(--ink); text-shadow: none; }
.media-transport { display: grid; grid-template-columns: 38px 38px minmax(0, 1fr) 38px; gap: 9px; align-items: center; margin-top: 15px; color: var(--muted); font-size: 11px; }
.media-transport input { width: 100%; accent-color: var(--lime-dark); }
.media-timeline { margin-top: 14px; padding: 12px; border-radius: 7px; background: var(--canvas); }
.media-timeline__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.media-timeline__label span { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 750; }
.media-timeline__label svg { width: 14px; height: 14px; }
.media-timeline__track { position: relative; height: 34px; overflow: hidden; border: 1px solid #d9dfd7; border-radius: 6px; background: #edf0eb; }
.media-timeline__track span { position: absolute; inset-block: 0; left: 0; width: 0; border: 2px solid var(--lime-dark); background: rgba(119, 202, 46, 0.18); }
.media-timeline__track i { position: absolute; z-index: 2; top: -2px; bottom: -2px; left: 0; width: 2px; background: var(--red); }
.media-editor-panel { overflow: hidden; }
.editor-section { padding: 16px; border-bottom: 1px solid var(--line); }
.editor-section__head { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; margin-bottom: 13px; }
.editor-section__head > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-soft); color: var(--ink-soft); }
.editor-section__head svg { width: 16px; height: 16px; }
.editor-section__head h3 { margin: 1px 0 2px; font-size: 12px; }
.editor-section__head p { margin: 0; color: var(--muted); font-size: 11px; }
.aspect-control { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.aspect-control button { min-height: 38px; border: 1px solid var(--line); border-radius: 6px; background: var(--canvas); color: var(--muted); font-size: 11px; font-weight: 800; }
.aspect-control button.is-active { border-color: var(--lime-dark); background: var(--lime-pale); color: #315f11; }
.trim-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.voiceover-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.voiceover-row > span { min-width: 0; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.media-output-targets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.media-output-targets label { min-height: 36px; display: flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--canvas); color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.media-output-targets input { accent-color: var(--lime-dark); }
.media-editor-panel > .button { width: calc(100% - 32px); margin: 16px; }
.media-project-section { margin-top: 22px; }
.media-project-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.media-project-item { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; }
.media-project-item__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: #151b15; color: var(--lime); }
.media-project-item__icon svg { width: 18px; height: 18px; }
.media-project-item strong, .media-project-item small { display: block; }
.media-project-item strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.media-project-item small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.empty-state--compact { min-height: 180px; }

.calendar-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.calendar-summary__item { min-width: 0; padding: 13px 15px; border-right: 1px solid var(--line); }
.calendar-summary__item:last-child { border-right: 0; }
.calendar-summary__item strong { display: block; font-size: 18px; }
.calendar-summary__item span { color: var(--muted); font-size: 11px; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.calendar-nav, .legend { display: flex; align-items: center; gap: 10px; }
.calendar-nav strong { min-width: 150px; text-align: center; }
.calendar-filters { display: flex; gap: 8px; }
.calendar-filters select { min-height: 39px; padding: 7px 30px 7px 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 11px; }
.legend { color: var(--muted); font-size: 11px; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; }
.legend-dot--scheduled { background: #329f82; }
.legend-dot--approval { background: var(--amber); }
.legend-dot--draft { background: var(--violet); }
.calendar-board { display: grid; grid-template-columns: repeat(7, minmax(118px, 1fr)); overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.calendar-weekday { min-width: 118px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; }
.calendar-weekday:nth-child(7) { border-right: 0; }
.calendar-day { min-width: 118px; min-height: 145px; padding-bottom: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day.is-outside { background: #fafbf9; }
.calendar-day.is-outside .calendar-day__head { opacity: 0.48; }
.calendar-day__head { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 7px 9px; }
.calendar-day__head span { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.calendar-day__head strong { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; }
.calendar-day.is-today .calendar-day__head strong { background: var(--lime); color: #102000; }
.calendar-day__posts { display: grid; gap: 8px; padding: 8px; }
.calendar-post { width: 100%; padding: 8px; border: 0; border-left: 3px solid #329f82; border-radius: 6px; background: #edf8f5; color: var(--ink); cursor: pointer; text-align: left; }
.calendar-post.is-pending { border-color: var(--amber); background: var(--amber-pale); }
.calendar-post.is-draft { border-color: var(--violet); background: var(--violet-pale); }
.calendar-post.is-approved { border-color: var(--lime-dark); background: var(--lime-pale); }
.calendar-post strong { display: block; margin-bottom: 4px; font-size: 11px; line-height: 1.35; }
.calendar-post small { color: var(--muted); font-size: 11px; }
.calendar-post__meta { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: 6px; }
.calendar-post__meta svg { width: 12px; height: 12px; }
.calendar-post__owner { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 7px; font-weight: 800; }

.filter-chips { display: flex; gap: 5px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.filter-chips button { min-height: 34px; padding: 7px 10px; border-radius: 6px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 750; }
.filter-chips button.is-active { background: var(--ink); color: white; }
.approval-list { display: grid; gap: 10px; }
.approval-item { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 118px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.approval-item__thumb { width: 112px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--surface-soft); }
.approval-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.approval-item__copy { min-width: 0; }
.approval-item__meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.approval-item__actions { display: flex; gap: 7px; }

.library-toolbar { display: grid; grid-template-columns: minmax(280px, 1fr) 170px 170px 40px; gap: 9px; margin-bottom: 13px; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 12px; width: 17px; height: 17px; color: var(--muted); }
.search-field input { padding-left: 39px; }
.library-toolbar select { min-height: 43px; padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--ink); }
.library-summary { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: var(--muted); font-size: 11px; }
.library-summary span:last-child { display: flex; align-items: center; gap: 5px; }
.library-summary svg { width: 14px; height: 14px; }
.library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.library-grid.is-list { grid-template-columns: 1fr; }
.library-grid.is-list .asset-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.library-grid.is-list .asset-card__preview { aspect-ratio: 16 / 9; }
.content-plan-section { margin-bottom: 24px; }
.content-plan-section .panel__header p { margin: 3px 0 0; font-size: 11px; }
.content-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.content-plan-card { min-width: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; text-align: left; transition: transform 160ms ease, box-shadow 160ms ease; }
.content-plan-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.content-plan-card__media { position: relative; min-height: 132px; background: var(--surface-soft); }
.content-plan-card__media img { width: 100%; height: 100%; object-fit: cover; }
.content-plan-card__count { position: absolute; left: 7px; bottom: 7px; padding: 4px 6px; border-radius: 5px; background: rgba(17, 22, 17, 0.84); color: white; font-size: 11px; font-weight: 800; }
.content-plan-card__copy { min-width: 0; padding: 12px; }
.content-plan-card__copy h3 { margin: 7px 0 5px; font-size: 12px; }
.content-plan-card__copy p { margin: 0 0 9px; display: -webkit-box; overflow: hidden; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.content-plan-platforms { display: flex; gap: 5px; color: var(--muted); }
.content-plan-platforms span { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--canvas); }
.content-plan-platforms svg { width: 12px; height: 12px; }
.section-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.section-divider::after { height: 1px; flex: 1; background: var(--line); content: ''; }

.strategy-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.strategy-metric { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; padding: 16px; border-right: 1px solid var(--line); }
.strategy-metric:last-child { border-right: 0; }
.strategy-metric > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-soft); color: var(--ink-soft); }
.strategy-metric svg { width: 18px; height: 18px; }
.strategy-metric small, .strategy-metric strong, .strategy-metric p { display: block; }
.strategy-metric small { color: var(--muted); font-size: 11px; font-weight: 700; }
.strategy-metric strong { margin: 2px 0; font-size: 21px; line-height: 1.15; }
.strategy-metric p { margin: 0; font-size: 11px; }
.strategy-layout { display: grid; grid-template-columns: minmax(360px, 0.78fr) minmax(560px, 1.22fr); gap: 18px; align-items: start; }
.strategy-profile, .strategy-results { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.strategy-profile { position: sticky; top: calc(var(--topbar-height) + 18px); padding: 20px; }
.strategy-profile .panel__header { align-items: flex-start; }
.strategy-profile .panel__header p, .strategy-results__header p, .strategy-lower-grid .panel__header p { margin: 3px 0 0; font-size: 11px; }
.strategy-progress { flex: 0 0 auto; padding: 5px 8px; border-radius: 6px; background: var(--amber-pale); color: #80580a; font-size: 11px; font-weight: 800; }
.strategy-progress.is-complete { background: var(--lime-pale); color: #315f11; }
.strategy-profile__fields { display: grid; gap: 14px; }
.strategy-profile .field > small { margin-top: -2px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.strategy-profile__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px -20px -20px; padding: 15px 20px; border-top: 1px solid var(--line); background: var(--canvas); }
.strategy-profile__footer > span { max-width: 220px; display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.strategy-profile__footer > span svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 1px; color: var(--lime-dark); }
.strategy-results { padding: 20px; }
.strategy-results__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.strategy-audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.strategy-audience-card { min-width: 0; min-height: 152px; display: flex; flex-direction: column; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); color: var(--ink); cursor: pointer; text-align: left; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.strategy-audience-card:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.strategy-audience-card.is-active { border-color: var(--lime-dark); background: var(--lime-pale); box-shadow: inset 3px 0 0 var(--lime-dark); }
.strategy-audience-card__top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.strategy-audience-card__top strong { color: var(--lime-dark); font-size: 11px; }
.strategy-audience-card h3 { margin-bottom: 6px; font-size: 13px; }
.strategy-audience-card p { display: -webkit-box; overflow: hidden; margin: 0 0 10px; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.strategy-audience-card > small { margin-top: auto; color: var(--muted); font-size: 11px; font-weight: 700; }
.strategy-empty { grid-column: 1 / -1; min-height: 210px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 25px; border: 1px dashed var(--line-strong); border-radius: 8px; color: var(--muted); text-align: center; }
.strategy-empty svg { width: 28px; height: 28px; }
.strategy-empty p { max-width: 420px; margin: 0; font-size: 11px; }
.strategy-empty--detail { min-height: 180px; }
.audience-detail { margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.audience-detail__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px; }
.audience-priority { display: block; margin-bottom: 5px; color: var(--lime-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.audience-detail__header h2 { margin-bottom: 5px; }
.audience-detail__header p { max-width: 680px; margin: 0; font-size: 12px; }
.confidence-badge { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #bfe4a2; border-radius: 7px; background: var(--lime-pale); color: #315f11; font-size: 11px; font-weight: 800; }
.strategy-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--canvas); }
.strategy-tabs button { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 750; }
.strategy-tabs button.is-active { border-bottom-color: var(--lime-dark); color: var(--ink); }
.strategy-tabs svg { width: 15px; height: 15px; }
.audience-detail__body { min-height: 265px; padding: 18px; }
.audience-insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.audience-insight-grid section, .audience-organic section, .paid-plan > section { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); }
.audience-insight-grid section p, .audience-organic section p, .paid-plan section p { margin: 0; font-size: 12px; line-height: 1.55; }
.audience-insight-grid ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 12px; }
.audience-insight-grid li + li { margin-top: 5px; }
.audience-proof { grid-column: 1 / -1; }
.detail-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.detail-label--spaced { margin-top: 15px; }
.audience-organic { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr); gap: 10px; }
.strategy-angle-list { display: grid; gap: 7px; }
.strategy-angle-list > div, .paid-tests > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: start; }
.strategy-angle-list > div > span, .paid-tests > div > span { min-width: 28px; padding: 4px; border-radius: 5px; background: var(--ink); color: white; font-size: 11px; font-weight: 800; text-align: center; }
.platform-chip-row, .strategy-tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.platform-chip-row span, .strategy-tag-list span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.platform-chip-row svg { width: 13px; height: 13px; }
.strategy-reason { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--line); }
.paid-plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.paid-plan dl { display: grid; gap: 9px; margin: 0; }
.paid-plan dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 9px; }
.paid-plan dt { color: var(--muted); font-size: 11px; font-weight: 750; }
.paid-plan dd { margin: 0; color: var(--ink); font-size: 11px; }
.paid-tests { grid-column: 1 / -1; display: grid; gap: 8px; }
.audience-detail__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--line); background: var(--canvas); }
.audience-detail__footer > span { max-width: 540px; display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.audience-detail__footer > span svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 1px; }
.strategy-lower-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.topic-pillar-grid, .strategy-idea-list, .strategy-gap-list { display: grid; }
.topic-pillar { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.topic-pillar:first-child, .strategy-idea:first-child, .strategy-gap:first-child { border-top: 0; }
.topic-pillar__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-soft); color: var(--ink-soft); }
.topic-pillar__icon svg { width: 16px; height: 16px; }
.topic-pillar__share { color: var(--lime-dark); font-size: 11px; font-weight: 800; }
.topic-pillar h3 { margin: 2px 0 3px; font-size: 12px; }
.topic-pillar p { margin: 0; font-size: 11px; }
.strategy-idea { display: grid; grid-template-columns: 38px minmax(0, 1fr) 36px; gap: 10px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.strategy-idea .channel-icon { width: 36px; height: 36px; }
.strategy-idea small { color: var(--muted); font-size: 11px; }
.strategy-idea h3 { margin: 3px 0; font-size: 12px; }
.strategy-idea p { display: -webkit-box; overflow: hidden; margin: 0; font-size: 11px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.strategy-gap { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 52px; border-top: 1px solid var(--line); }
.strategy-gap__status { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 6px; background: var(--amber-pale); color: #80580a; }
.strategy-gap__status.has-coverage { background: var(--lime-pale); color: var(--lime-dark); }
.strategy-gap__status svg { width: 13px; height: 13px; }
.strategy-gap strong, .strategy-gap small { display: block; }
.strategy-gap strong { font-size: 11px; }
.strategy-gap small, .strategy-gap > span:last-child { color: var(--muted); font-size: 11px; }

.reputation-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.reputation-metric { padding: 17px; border-right: 1px solid var(--line); }
.reputation-metric:last-child { border-right: 0; }
.reputation-metric__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 750; }
.reputation-metric__top svg { width: 16px; height: 16px; color: var(--amber); }
.reputation-metric strong { display: block; margin-top: 10px; font-size: 22px; }
.reputation-metric small { color: var(--muted); font-size: 11px; }
.reputation-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.7fr); gap: 18px; }
.review-list { display: grid; gap: 9px; }
.review-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 11px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.review-item:first-child { border-top: 0; }
.review-source { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-soft); color: var(--ink); }
.review-source svg { width: 18px; height: 18px; }
.review-item__copy p { margin: 4px 0 7px; font-size: 12px; }
.review-item__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 11px; }
.review-stars { color: var(--amber); letter-spacing: 0.08em; }
.presence-checklist { display: grid; gap: 4px; }
.presence-check { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.presence-check:first-child { border-top: 0; }
.presence-check__icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-soft); color: var(--ink-soft); }
.presence-check__icon svg { width: 14px; height: 14px; }
.presence-check strong { display: block; font-size: 12px; }
.presence-check small { display: block; color: var(--muted); font-size: 11px; }
.presence-sources { margin-top: 18px; }
.presence-source-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.presence-source { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.presence-source span:first-child { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-soft); }
.presence-source svg { width: 18px; height: 18px; }
.presence-source strong, .presence-source small { display: block; }
.presence-source strong { font-size: 12px; }
.presence-source small { color: var(--muted); font-size: 11px; }

.empty-state { display: grid; place-items: center; min-height: 300px; padding: 50px; border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--surface); text-align: center; }
.empty-state--wide { min-height: 440px; }
.empty-state__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 8px; background: var(--lime-pale); color: var(--lime-dark); }
.empty-state__icon svg { width: 25px; height: 25px; }
.empty-state p { max-width: 470px; margin-bottom: 18px; }
.period-select { width: 150px; }

.connection-list { display: grid; gap: 10px; }
.connection-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; min-height: 78px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.connection-item__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-soft); color: var(--ink); }
.connection-item__icon svg { width: 20px; height: 20px; }
.connection-item p { margin: 2px 0 0; font-size: 11px; }

.team-table { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.team-row { display: grid; grid-template-columns: minmax(220px, 1fr) 150px 130px 42px; align-items: center; gap: 14px; min-height: 67px; padding: 10px 15px; border-top: 1px solid var(--line); }
.team-row:first-child { border-top: 0; }
.team-row--head { min-height: 43px; background: var(--surface-soft); color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.team-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.team-person > span:last-child { min-width: 0; display: grid; }
.team-person strong, .team-person small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-person strong { font-size: 11px; }
.team-person small { color: var(--muted); font-size: 11px; }
.role-pill { width: fit-content; padding: 4px 7px; border-radius: 6px; background: var(--surface-soft); color: var(--ink-soft); font-size: 11px; font-weight: 750; text-transform: capitalize; }

.settings-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.settings-section { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.settings-section h2 { margin-bottom: 18px; }
.settings-section--security { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.settings-section--security h2 { margin-bottom: 5px; }
.settings-section--security p { max-width: 480px; margin: 0; font-size: 12px; }
.settings-fields { display: grid; gap: 14px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.toggle-row:first-of-type { border-top: 0; }
.toggle-row span { display: grid; }
.toggle-row strong { font-size: 11px; }
.toggle-row small { color: var(--muted); font-size: 11px; }
.toggle-row input { width: 34px; height: 18px; accent-color: var(--lime-dark); }

.toast-region { position: fixed; z-index: 200; right: 18px; bottom: 18px; display: grid; gap: 8px; pointer-events: none; }
.toast { min-width: 260px; max-width: 380px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; align-items: center; padding: 12px; border: 1px solid #bfe4a2; border-radius: 8px; background: white; box-shadow: var(--shadow); animation: toast-in 180ms ease; }
.toast svg { width: 18px; height: 18px; color: var(--lime-dark); }
.toast strong { font-size: 11px; }
.toast p { margin: 1px 0 0; font-size: 11px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.modal { width: min(460px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 8px; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(15, 19, 15, 0.54); backdrop-filter: blur(3px); }
.modal__body { display: grid; gap: 16px; padding: 20px; }
.modal__header, .modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.modal__header h2 { margin: 0; }
.modal__footer { justify-content: flex-end; padding-top: 7px; }
.modal--planner { width: min(1120px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; }
.content-plan-modal { background: var(--surface); }
.content-plan-modal__header { position: sticky; z-index: 3; top: 0; padding: 20px 22px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); }
.content-plan-modal__header p { margin: 3px 0 0; font-size: 11px; }
.content-plan-modal__body { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 590px; }
.content-parent-card { padding: 18px; border-right: 1px solid var(--line); background: var(--canvas); }
.content-parent-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 8px; background: #dde5da; }
.content-parent-card__media img { width: 100%; height: 100%; object-fit: cover; }
.content-parent-card__body { padding: 15px 2px; }
.content-parent-card__body h3 { margin: 8px 0 7px; }
.content-parent-card__body p { font-size: 11px; }
.content-branches-panel { min-width: 0; padding: 20px; }
.content-branches-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.content-branches-panel__head p { margin: 2px 0 0; font-size: 11px; }
.content-branches-panel__head > span { padding: 5px 8px; border-radius: 6px; background: var(--lime-pale); color: #315f11; font-size: 11px; font-weight: 800; }
.platform-branch-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
.platform-branch-tab { min-height: 58px; display: grid; place-items: center; gap: 4px; padding: 7px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 750; }
.platform-branch-tab svg { width: 16px; height: 16px; }
.platform-branch-tab.is-active { border-color: var(--lime-dark); background: var(--lime-pale); color: #2b6206; }
.platform-branch-tab .status-dot { width: 6px; height: 6px; box-shadow: none; }
.platform-branch-editor { min-height: 420px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); }
.platform-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.platform-editor-heading__platform { display: flex; align-items: center; gap: 8px; }
.platform-editor-heading__platform span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--ink); color: white; }
.platform-editor-heading__platform svg { width: 17px; height: 17px; }
.platform-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.platform-editor-grid .field--full { grid-column: 1 / -1; }
.platform-editor-grid textarea { min-height: 155px; }
.platform-publish-settings { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.platform-publish-settings__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.platform-publish-settings__heading > div { min-width: 0; }
.platform-publish-settings__heading h4 { margin: 2px 0 0; font-size: 1rem; }
.platform-publish-settings__heading > svg { width: 19px; height: 19px; color: var(--electric); flex: 0 0 auto; }
.platform-setting-note { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; padding: 10px 12px; border-left: 3px solid var(--cyan); background: color-mix(in srgb, var(--cyan) 8%, transparent); color: var(--muted); font-size: .84rem; line-height: 1.45; }
.platform-setting-note svg { width: 17px; height: 17px; color: var(--cyan); flex: 0 0 auto; }
.platform-setting-note span { min-width: 0; }
.platform-setting-note--error { border-left-color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, transparent); }
.platform-setting-note--error svg { color: var(--danger); }
.platform-setting-note .text-button { margin-left: auto; flex: 0 0 auto; }
.character-count { margin-top: -3px; color: var(--muted); font-size: 11px; text-align: right; }
.content-plan-modal__footer { position: sticky; z-index: 3; bottom: 0; padding: 14px 22px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); }
.content-plan-modal__footer > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.content-plan-modal__footer svg { width: 14px; height: 14px; }
.content-plan-modal__footer > div { display: flex; gap: 8px; }
.modal--review { width: min(620px, calc(100% - 28px)); }
.review-reply-modal { gap: 18px; }
.review-reply-modal .modal__header { align-items: flex-start; }
.review-reply-modal .modal__header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.review-reply-source { margin: 0; padding: 15px 17px; border-left: 3px solid var(--amber); border-radius: 0 7px 7px 0; background: var(--amber-pale); color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.review-reply-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.command-band {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #293329;
  border-radius: 8px;
  background: #182018;
  color: white;
}
.command-band__score { padding: 22px; border-right: 1px solid #354035; }
.health-score__top { display: flex; align-items: flex-end; gap: 4px; }
.health-score__value { font-size: 36px; font-weight: 850; line-height: 1; }
.health-score__unit { padding-bottom: 3px; color: #aeb9ae; font-size: 12px; font-weight: 700; }
.command-band__score > strong { display: block; margin-top: 7px; font-size: 14px; }
.health-score__bar { height: 5px; margin: 16px 0 8px; overflow: hidden; border-radius: 4px; background: #354035; }
.health-score__bar i { height: 100%; display: block; border-radius: inherit; background: var(--lime); }
.command-band__score small { color: #b8c1b8; font-size: 11px; }
.command-band__focus { min-width: 0; padding: 20px 22px; }
.command-band__heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.command-band__heading .eyebrow { margin: 0; color: var(--lime); }
.command-band__heading strong { color: #dfe5df; font-size: 12px; font-weight: 650; }
.focus-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.focus-action {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 0;
  border-left: 1px solid #354035;
  background: transparent;
  color: white;
  cursor: pointer;
  text-align: left;
}
.focus-action:first-child { padding-left: 0; border-left: 0; }
.focus-action:hover strong { color: var(--lime); }
.focus-action__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: #263026; color: var(--lime); }
.focus-action__icon svg, .focus-action > svg { width: 16px; height: 16px; }
.focus-action > svg { color: #718071; }
.focus-action strong, .focus-action small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.focus-action strong { font-size: 12px; }
.focus-action small { margin-top: 2px; color: #aeb9ae; font-size: 11px; }

.learning-strip {
  display: grid;
  grid-template-columns: 44px minmax(280px, 1fr) auto auto auto;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.learning-strip__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 7px; background: var(--lime-pale); color: var(--lime-dark); }
.learning-strip__icon svg { width: 21px; height: 21px; }
.learning-strip__copy { min-width: 0; }
.learning-strip__copy .eyebrow { margin-bottom: 3px; }
.learning-strip__copy > strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.learning-strip__copy p { margin: 2px 0 0; font-size: 11px; }
.learning-strip__stat { min-width: 110px; padding-left: 20px; border-left: 1px solid var(--line); }
.learning-strip__stat strong, .learning-strip__stat span { display: block; }
.learning-strip__stat strong { font-size: 20px; }
.learning-strip__stat span { color: var(--muted); font-size: 11px; }
.learning-strip__empty { grid-column: 1 / -1; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.learning-strip__empty > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-soft); color: var(--lime-dark); }
.learning-strip__empty p { margin: 2px 0 0; font-size: 12px; }

.performance-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.performance-metric { min-width: 0; display: flex; align-items: flex-start; gap: 12px; padding: 18px; border-right: 1px solid var(--line); }
.performance-metric:last-child { border-right: 0; }
.performance-metric > span { width: 36px; height: 36px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 7px; background: var(--surface-soft); color: var(--lime-dark); }
.performance-metric > span svg { width: 18px; height: 18px; }
.performance-metric div { min-width: 0; }
.performance-metric small, .performance-metric strong { display: block; }
.performance-metric small { color: var(--muted); font-size: 11px; font-weight: 700; }
.performance-metric strong { margin-top: 3px; font-size: 23px; line-height: 1.15; }
.performance-metric p { margin: 4px 0 0; font-size: 11px; }
.performance-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.75fr); gap: 18px; margin-top: 18px; }
.performance-table { min-width: 0; overflow-x: auto; }
.performance-row {
  width: 100%;
  min-width: 820px;
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) 110px 80px 105px 65px 105px 26px;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.performance-row:not(.performance-row--head):hover { background: var(--canvas); }
.performance-row--head { padding-top: 0; border-top: 0; color: var(--muted); cursor: default; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.performance-campaign, .performance-row > span { min-width: 0; }
.performance-campaign strong, .performance-campaign small, .performance-row [data-label] strong, .performance-row [data-label] small { display: block; }
.performance-campaign strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.performance-campaign small, .performance-row [data-label] small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.performance-channel { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; }
.performance-channel svg, .performance-edit svg { width: 15px; height: 15px; }
.performance-row [data-label] { font-size: 11px; }
.performance-edit { color: var(--muted); }
.performance-recommendations { align-self: start; }
.recommendation-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 11px; padding: 14px 0; border-top: 1px solid var(--line); }
.recommendation-item:first-child { padding-top: 0; border-top: 0; }
.recommendation-item > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 7px; background: var(--lime-pale); color: var(--lime-dark); }
.recommendation-item svg { width: 17px; height: 17px; }
.recommendation-item strong { font-size: 12px; }
.recommendation-item p { margin: 3px 0 0; font-size: 11px; line-height: 1.55; }
.audience-learning-section { margin-top: 28px; }
.audience-learning-section .panel__header p { margin: 3px 0 0; font-size: 12px; }
.audience-learning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.audience-learning-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.audience-learning-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.audience-learning-card__head span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.audience-learning-card__head strong { padding: 4px 7px; border-radius: 6px; background: var(--lime-pale); color: #315f11; font-size: 11px; }
.audience-learning-card h3 { font-size: 14px; }
.audience-learning-card p { min-height: 50px; margin: 5px 0 15px; font-size: 11px; line-height: 1.55; }
.audience-learning-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding-top: 13px; border-top: 1px solid var(--line); }
.audience-learning-card dl > div { min-width: 0; padding: 0 8px; border-left: 1px solid var(--line); }
.audience-learning-card dl > div:first-child { padding-left: 0; border-left: 0; }
.audience-learning-card dt { color: var(--muted); font-size: 11px; }
.audience-learning-card dd { margin: 3px 0 0; overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.data-connection-callout { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border: 1px solid #cce5b8; border-radius: 8px; background: #edf7e6; }
.data-connection-callout > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; background: white; color: var(--lime-dark); }
.data-connection-callout > span svg { width: 20px; height: 20px; }
.data-connection-callout strong { font-size: 13px; }
.data-connection-callout p { margin: 2px 0 0; font-size: 11px; }
.modal--performance { width: min(700px, calc(100% - 28px)); max-height: calc(100vh - 28px); overflow: auto; }
.modal--performance .modal__header { align-items: flex-start; }
.modal--performance .modal__header p { margin: 4px 0 0; font-size: 12px; }
.performance-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.performance-form-grid .field--full { grid-column: 1 / -1; }

@media (max-width: 1180px) {
  .asset-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .asset-row .asset-card:last-child { display: none; }
  .library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content-plan-grid, .presence-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strategy-layout { grid-template-columns: 1fr; }
  .strategy-profile { position: static; }
  .strategy-lower-grid { grid-template-columns: 1fr 1fr; }
  .strategy-lower-grid .panel:last-child { grid-column: 1 / -1; }
  .focus-actions { grid-template-columns: 1fr; }
  .focus-action { padding: 9px 0; border-top: 1px solid #354035; border-left: 0; }
  .focus-action:first-child { border-top: 0; }
  .performance-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .performance-metric:nth-child(2) { border-right: 0; }
  .performance-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .audience-learning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-brand { min-height: 36vh; padding: 34px; }
  .auth-brand__statement h1 { font-size: 42px; }
  .auth-brand__status { display: none; }
  .auth-panel { min-height: 64vh; padding: 34px; }
  .sidebar { transform: translateX(-102%); transition: transform 180ms ease; }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar__close { display: grid; }
  .sidebar-overlay { position: fixed; z-index: 45; inset: 0; display: block; visibility: hidden; opacity: 0; border: 0; background: rgba(12, 17, 12, 0.48); transition: opacity 180ms ease; }
  .sidebar-overlay.is-open { visibility: visible; opacity: 1; }
  .workspace { margin-left: 0; }
  .mobile-menu { display: grid; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .overview-grid { grid-template-columns: 1fr; }
  .studio-layout { grid-template-columns: 1fr; }
  .media-studio-layout { grid-template-columns: 1fr; }
  .assistant-panel { min-height: 520px; }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .draft-branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reputation-layout { grid-template-columns: 1fr; }
  .strategy-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strategy-metric:nth-child(2) { border-right: 0; }
  .strategy-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .command-band { grid-template-columns: 190px minmax(0, 1fr); }
  .learning-strip { grid-template-columns: 44px minmax(0, 1fr) auto auto; }
  .learning-strip > .text-button { grid-column: 2 / -1; justify-self: end; }
  .performance-layout { grid-template-columns: 1fr; }
  .performance-layout .panel__header, .audience-learning-section > .panel__header { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  h1 { font-size: 25px; }
  .auth-brand { min-height: 31vh; padding: 25px; }
  .auth-brand__logo { width: 150px; }
  .auth-brand__statement h1 { font-size: 34px; }
  .auth-brand__statement p { font-size: 16px; }
  .auth-panel { min-height: 69vh; padding: 25px; }
  .topbar { height: 62px; padding: 0 14px; }
  .topbar__actions .icon-button { display: none; }
  .topbar__actions .button span { display: none; }
  .topbar__actions .button { width: 40px; padding: 0; }
  .workspace__body { padding: 20px 14px 28px; }
  .page-heading, .page-heading--compact { align-items: flex-start; flex-direction: column; }
  .page-heading__actions { width: 100%; justify-content: flex-start; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric, .metric:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .asset-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asset-row .asset-card:nth-child(n+5) { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .platform-targets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-project-list { grid-template-columns: 1fr; }
  .segmented-control { grid-template-columns: 1fr; }
  .segmented-control button { justify-content: flex-start; padding: 0 12px; }
  .draft-grid { grid-template-columns: 1fr; }
  .draft-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .draft-grid article:last-child { border-bottom: 0 !important; }
  .draft-output__footer { align-items: flex-start; flex-direction: column; }
  .calendar-toolbar { align-items: flex-start; flex-direction: column; }
  .calendar-summary, .reputation-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-summary__item:nth-child(2), .reputation-metric:nth-child(2) { border-right: 0; }
  .calendar-summary__item:nth-child(-n+2), .reputation-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .calendar-filters { width: 100%; }
  .calendar-filters select { flex: 1; }
  .legend { flex-wrap: wrap; }
  .approval-item { grid-template-columns: 74px minmax(0, 1fr); }
  .approval-item__thumb { width: 74px; }
  .approval-item__actions { grid-column: 1 / -1; justify-content: flex-end; }
  .library-toolbar { grid-template-columns: 1fr 1fr 40px; }
  .library-toolbar .search-field { grid-column: 1 / -1; }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-plan-grid, .presence-source-grid { grid-template-columns: 1fr; }
  .strategy-audience-grid, .audience-insight-grid, .audience-organic, .paid-plan, .strategy-lower-grid { grid-template-columns: 1fr; }
  .audience-proof, .paid-tests, .strategy-lower-grid .panel:last-child { grid-column: auto; }
  .strategy-profile__footer, .audience-detail__footer { align-items: flex-start; flex-direction: column; }
  .strategy-tabs { padding: 0 8px; }
  .strategy-tabs button { font-size: 11px; }
  .content-plan-modal__body { grid-template-columns: 1fr; }
  .content-parent-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .content-parent-card__media { max-height: 320px; aspect-ratio: 16 / 9; }
  .platform-branch-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .connection-item { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .connection-item .status-badge { display: none; }
  .team-row { grid-template-columns: minmax(0, 1fr) auto 36px; }
  .team-row > :nth-child(3) { display: none; }
  .team-row--head { display: none; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-section--security { align-items: flex-start; flex-direction: column; }
  .settings-section--security .button { width: 100%; }
  .command-band { grid-template-columns: 1fr; }
  .command-band__score { border-right: 0; border-bottom: 1px solid #354035; }
  .command-band__heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .focus-action strong, .focus-action small { white-space: normal; }
  .learning-strip { grid-template-columns: 40px minmax(0, 1fr); gap: 13px; }
  .learning-strip__stat { min-width: 0; padding: 10px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .learning-strip__stat:nth-of-type(1) { grid-column: 1 / 2; }
  .learning-strip__stat:nth-of-type(2) { grid-column: 2 / 3; }
  .learning-strip > .text-button { grid-column: 1 / -1; justify-self: start; }
  .learning-strip__empty { grid-template-columns: 40px minmax(0, 1fr); }
  .learning-strip__empty .button { grid-column: 1 / -1; }
  .performance-metrics { grid-template-columns: 1fr; }
  .performance-metric, .performance-metric:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .performance-metric:last-child { border-bottom: 0; }
  .performance-table { overflow: visible; }
  .performance-row { position: relative; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 16px 28px 16px 0; }
  .performance-row--head { display: none; }
  .performance-campaign { grid-column: 1 / -1; }
  .performance-row [data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
  .performance-edit { position: absolute; top: 18px; right: 2px; }
  .audience-learning-grid { grid-template-columns: 1fr; }
  .data-connection-callout { grid-template-columns: 38px minmax(0, 1fr); }
  .data-connection-callout .button { grid-column: 1 / -1; }
  .performance-form-grid { grid-template-columns: 1fr; }
  .performance-form-grid .field--full { grid-column: auto; }
}

@media (max-width: 440px) {
  .auth-panel { padding: 22px 18px; }
  .library-grid { grid-template-columns: 1fr; }
  .filter-chips { width: 100%; overflow-x: auto; }
  .filter-chips button { flex: 1 0 auto; }
  .library-toolbar { grid-template-columns: 1fr; }
  .library-toolbar .search-field { grid-column: auto; }
  .library-toolbar .icon-button { display: none; }
  .library-summary span:last-child { display: none; }
  .draft-branch-grid { grid-template-columns: 1fr; }
  .platform-targets { grid-template-columns: 1fr; }
  .media-canvas-panel { padding: 13px; }
  .media-editor-panel .editor-section { padding: 14px; }
  .media-editor-panel > .button { width: calc(100% - 28px); margin: 14px; }
  .media-output-targets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voiceover-row { align-items: stretch; flex-direction: column; }
  .voiceover-row .button { justify-content: center; }
  .calendar-summary, .reputation-metrics { grid-template-columns: 1fr; }
  .calendar-summary__item, .calendar-summary__item:nth-child(2), .reputation-metric, .reputation-metric:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .calendar-summary__item:last-child, .reputation-metric:last-child { border-bottom: 0; }
  .calendar-filters { flex-direction: column; }
  .calendar-board { display: block; overflow: visible; }
  .calendar-weekday, .calendar-day:not(.has-posts) { display: none; }
  .calendar-day.has-posts { min-width: 0; min-height: 0; border-right: 0; }
  .calendar-day.has-posts:last-child { border-bottom: 0; }
  .calendar-day__head { min-height: 44px; padding: 8px 11px; background: var(--surface-soft); }
  .calendar-day__head span { font-size: 11px; }
  .calendar-day__head strong { font-size: 12px; }
  .calendar-day__posts { padding: 10px; }
  .calendar-post { padding: 11px; }
  .calendar-post strong { font-size: 12px; }
  .calendar-post small { font-size: 11px; }
  .content-plan-card { grid-template-columns: 96px minmax(0, 1fr); }
  .platform-editor-grid { grid-template-columns: 1fr; }
  .platform-editor-grid .field--full { grid-column: auto; }
  .content-plan-modal__footer { align-items: flex-start; flex-direction: column; }
  .content-plan-modal__footer > div { width: 100%; }
  .content-plan-modal__footer .button { flex: 1; }
  .review-reply-grid { grid-template-columns: 1fr; }
  .strategy-metrics { grid-template-columns: 1fr; }
  .strategy-metric, .strategy-metric:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .strategy-metric:last-child { border-bottom: 0; }
  .strategy-results, .strategy-profile { padding: 14px; }
  .strategy-profile__footer { margin: 16px -14px -14px; padding: 14px; }
  .strategy-results__header, .audience-detail__header { flex-direction: column; }
  .strategy-tabs button { flex-direction: column; gap: 3px; padding: 7px 3px; line-height: 1.2; }
  .paid-plan dl > div { grid-template-columns: 1fr; gap: 2px; }
  .audience-detail__body { padding: 12px; }
  .connection-item { grid-template-columns: 40px minmax(0, 1fr); }
  .connection-item .button { grid-column: 1 / -1; }
  .modal--connection .modal__footer { align-items: stretch; flex-direction: column; }
  .modal--connection .modal__footer .button { justify-content: center; width: 100%; }
  .learning-strip__stat { grid-column: 1 / -1 !important; }
  .audience-learning-card dl { grid-template-columns: 1fr; gap: 9px; }
  .audience-learning-card dl > div { padding: 9px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .audience-learning-card dl > div:first-child { padding-top: 0; border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* In Social Control product system */
:root {
  color-scheme: dark;
  --ink: #f5f7ff;
  --ink-soft: #b9c3df;
  --muted: #7f8bab;
  --line: rgba(151, 170, 222, 0.16);
  --line-strong: rgba(151, 170, 222, 0.28);
  --canvas: #05071c;
  --surface: #0c102a;
  --surface-soft: #111735;
  --lime: #00d9ff;
  --lime-dark: #3aa0ff;
  --lime-pale: rgba(0, 217, 255, 0.1);
  --coral: #d946ef;
  --coral-pale: rgba(217, 70, 239, 0.12);
  --amber: #ffc857;
  --amber-pale: rgba(255, 200, 87, 0.12);
  --red: #ff6b87;
  --red-pale: rgba(255, 107, 135, 0.11);
  --violet: #a764ff;
  --violet-pale: rgba(139, 53, 245, 0.14);
  --electric: #0066ff;
  --cyan: #00d9ff;
  --magenta: #d946ef;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

html, body { background: var(--canvas); }
body { color: var(--ink); }
::selection { background: rgba(0, 217, 255, 0.28); color: white; }
p { color: var(--ink-soft); }
.eyebrow { color: var(--cyan); }
.text-button { color: var(--cyan); }
.text-button:hover { color: white; }

.button { position: relative; overflow: hidden; }
.button--primary { background: var(--electric); color: white; box-shadow: 0 8px 26px rgba(0, 102, 255, 0.25); }
.button--primary:hover { background: #1777ff; }
.button--secondary { background: #111735; color: var(--ink); border-color: var(--line-strong); }
.button--secondary:hover { border-color: rgba(0, 217, 255, 0.48); background: #151c40; }
.button--quiet { color: var(--ink-soft); }
.button--quiet:hover { background: var(--surface-soft); color: white; }
.button--danger { background: var(--red-pale); color: #ff91a7; }
.icon-button { color: var(--ink-soft); }
.icon-button:hover { background: var(--surface-soft); color: white; }
.icon-button--send { background: var(--electric); color: white; }
.icon-button--send:hover { background: #1777ff; }
.avatar { background: linear-gradient(135deg, var(--electric), var(--violet)); color: white; }

.auth-screen { background: #05071c; }
.auth-brand { position: relative; overflow: hidden; background: #05071c; isolation: isolate; }
.auth-brand::after { content: ""; position: absolute; z-index: -1; inset: auto -12% -8% -12%; height: 58%; background: url("assets/brand/in-social-control-wave.png") center bottom / cover no-repeat; opacity: 0.58; pointer-events: none; }
.auth-brand__logo { width: min(590px, 86%); max-height: 330px; object-fit: cover; object-position: top; filter: none; }
.auth-brand__statement { position: relative; z-index: 1; }
.auth-brand__statement .eyebrow { color: var(--cyan); }
.auth-brand__statement h1 { max-width: 620px; font-size: clamp(42px, 5vw, 70px); }
.auth-brand__statement p { color: #c7d0e9; }
.auth-brand__status { color: #9ba8c9; }
.auth-panel { background: #080b20; border-left: 1px solid var(--line); }
.auth-form { padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: rgba(12, 16, 42, 0.88); box-shadow: var(--shadow); }

.status-dot { background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.12), 0 0 18px rgba(0, 217, 255, 0.4); }
.status-dot--amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.11); }
.status-dot--red { background: var(--red); box-shadow: 0 0 0 4px rgba(255, 107, 135, 0.11); }
.field > span, .field > legend { color: #e8edff; }
.field input, .field textarea, .field select, .search-field input, .period-select { border-color: var(--line-strong); background: #080c22; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder, .search-field input::placeholder { color: #687495; }
.field input:focus, .field textarea:focus, .field select:focus, .search-field input:focus, .period-select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.12); }
input[type="range"] { accent-color: var(--cyan); }
input[type="checkbox"] { accent-color: var(--electric); }

.sidebar { overflow: hidden; border-right-color: var(--line); background: #06091f; }
.sidebar::after { content: ""; position: absolute; z-index: -1; right: -120px; bottom: 48px; width: 470px; height: 170px; background: url("assets/brand/in-social-control-wave.png") center / cover no-repeat; opacity: 0.2; pointer-events: none; }
.sidebar__brand { min-height: 70px; padding: 0 4px 18px; }
.sidebar__brand-lockup { min-width: 0; display: flex; align-items: center; gap: 8px; }
.sidebar__brand img { width: auto; }
.sidebar__brand-mark { width: 42px !important; height: 42px; border-radius: 8px; object-fit: cover; }
.sidebar__brand-wordmark { width: 138px !important; height: 58px; object-fit: contain; object-position: left center; }
.nav-item { color: #9ca8c6; }
.nav-item:hover { background: rgba(255, 255, 255, 0.05); color: white; }
.nav-item.is-active { background: rgba(0, 102, 255, 0.18); color: #eaf7ff; box-shadow: inset 3px 0 0 var(--cyan); }
.nav-count { background: var(--magenta); color: white; }
.nav-label { color: #667292; }
.sidebar__profile { border-top-color: var(--line); }
.sidebar__profile-copy small { color: #7f8bab; }

.workspace { position: relative; background: var(--canvas); }
.workspace::before { content: ""; position: fixed; z-index: 0; top: var(--topbar-height); right: 0; width: min(820px, 62vw); height: 260px; background: url("assets/brand/in-social-control-wave.png") center / cover no-repeat; opacity: 0.055; pointer-events: none; }
.topbar { border-bottom-color: var(--line); background: rgba(5, 7, 28, 0.9); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); }
.workspace__body { position: relative; z-index: 1; }
.topbar__workspace { color: var(--cyan); }
.notification-mark { border-color: var(--canvas); background: var(--magenta); }

.panel, .metric-grid, .brief-panel, .assistant-panel, .draft-output, .settings-section, .content-plan-section, .presence-sources, .media-canvas-panel, .media-editor-panel, .media-project-section, .strategy-profile, .strategy-results, .audience-detail { border-color: var(--line); background: rgba(12, 16, 42, 0.92); box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12); }
.metric { border-right-color: var(--line); }
.metric__icon, .channel-icon, .step-number { background: rgba(0, 217, 255, 0.09); color: var(--cyan); }
.metric__change { color: var(--cyan); }
.pipeline-row > strong { background: var(--surface-soft); }
.pipeline-row__dot { background: var(--cyan); }
.pipeline-row:nth-child(2) .pipeline-row__dot { background: var(--amber); }
.pipeline-row:nth-child(3) .pipeline-row__dot { background: var(--violet); }
.pipeline-row:nth-child(4) .pipeline-row__dot { background: var(--magenta); }

.command-band { position: relative; overflow: hidden; border: 1px solid rgba(0, 217, 255, 0.2); background: #080d2f; isolation: isolate; }
.command-band__wave { position: absolute; z-index: -1; inset: auto -4% -45% 28%; height: 115%; background: url("assets/brand/in-social-control-wave.png") center / cover no-repeat; opacity: 0.36; pointer-events: none; }
.command-band .eyebrow { color: var(--cyan); }

.provider-pill, .status-badge { border-color: var(--line); background: var(--surface-soft); color: var(--ink-soft); }
.status-badge--draft { border-color: rgba(167, 100, 255, 0.35); background: var(--violet-pale); color: #c7a0ff; }
.status-badge--pending { border-color: rgba(255, 200, 87, 0.35); background: var(--amber-pale); color: #ffd982; }
.status-badge--approved { border-color: rgba(0, 217, 255, 0.35); background: var(--lime-pale); color: #72ebff; }
.status-badge--changes { border-color: rgba(217, 70, 239, 0.35); background: var(--coral-pale); color: #ed8afb; }
.status-badge--scheduled { border-color: rgba(0, 102, 255, 0.4); background: rgba(0, 102, 255, 0.12); color: #7eb3ff; }
.status-badge--publishing { border-color: rgba(0, 217, 255, 0.45); background: rgba(0, 217, 255, 0.1); color: #78edff; }
.status-badge--failed { border-color: rgba(255, 96, 128, 0.45); background: rgba(255, 96, 128, 0.12); color: #ff9caf; }

.asset-card, .content-plan-card, .connection-item, .team-table, .review-item, .presence-source, .calendar-summary, .approval-card, .media-project-card, .strategy-metric, .strategy-audience-card, .topic-pillar, .strategy-idea-card, .performance-result-row, .audience-learning-card { border-color: var(--line); background: rgba(12, 16, 42, 0.9); }
.asset-card:hover, .content-plan-card:hover, .strategy-audience-card:hover { border-color: rgba(0, 217, 255, 0.35); box-shadow: var(--shadow); }
.asset-card__preview { background: #080b20; }
.asset-card__format { background: rgba(5, 7, 28, 0.88); }

.campaign-foundation { display: grid; gap: 14px; padding: 17px; border: 1px solid rgba(0, 217, 255, 0.2); border-radius: 8px; background: rgba(0, 102, 255, 0.07); }
.campaign-foundation__heading { display: flex; align-items: center; gap: 11px; }
.campaign-foundation__heading > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: rgba(0, 217, 255, 0.12); color: var(--cyan); }
.campaign-foundation__heading svg { width: 17px; height: 17px; }
.campaign-foundation__heading div { display: grid; }
.campaign-foundation__heading small { color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.platform-targets label { border-color: var(--line); background: #080c22; color: var(--ink-soft); }
.platform-targets label:has(input:checked) { border-color: rgba(0, 217, 255, 0.42); background: rgba(0, 102, 255, 0.13); color: #e9fbff; }
.segmented-control { border-color: var(--line); background: #080c22; }
.segmented-control button { color: var(--muted); }
.segmented-control button.is-active { background: #172044; color: white; box-shadow: none; }
.brand-checks span { background: rgba(0, 217, 255, 0.09); color: #9eefff; }
.assistant-mark { background: linear-gradient(135deg, var(--electric), var(--magenta)); color: white; }
.chat-thread, .chat-composer { border-color: var(--line); }
.chat-message--assistant { background: #111735; }
.chat-message--user { background: var(--electric); color: white; }
.draft-grid article, .draft-branch-card { border-color: var(--line); background: #080c22; }
.studio-layout { align-items: start; }
.assistant-panel { position: sticky; top: calc(var(--topbar-height) + 18px); height: min(680px, calc(100vh - var(--topbar-height) - 36px)); min-height: 560px; }
.aspect-control button.is-active { border-color: var(--cyan); background: rgba(0, 217, 255, 0.1); color: var(--cyan); }
.filter-chips button.is-active { background: var(--electric); color: white; }
.calendar-day.is-outside { background: rgba(3, 5, 18, 0.72); }
.calendar-post__owner, .strategy-angle-list > div > span, .paid-tests > div > span, .platform-editor-heading__platform span { background: var(--electric); color: white; }
.strategy-progress.is-complete, .confidence-badge, .content-branches-panel__head > span, .audience-learning-card__head strong { border-color: rgba(0, 217, 255, .28); background: rgba(0, 217, 255, .09); color: var(--cyan); }

.media-stage { position: relative; overflow: hidden; background: #02030e; }
.media-stage__wave { position: absolute; inset: auto -20% -15% -20%; height: 45%; background: url("assets/brand/in-social-control-wave.png") center / cover no-repeat; opacity: 0.17; pointer-events: none; }
.media-stage::after { border-color: rgba(255,255,255,0.14); }
.media-stage[data-safe-zones="true"]::before { content: ""; position: absolute; z-index: 3; inset: 7% 6% 13%; border: 1px dashed rgba(255,255,255,0.28); pointer-events: none; }
.media-stage video { object-position: var(--media-position-x, 50%) var(--media-position-y, 50%); transform: scale(var(--media-zoom, 1)); }
.media-caption-overlay { z-index: 4; }
.media-clip-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.media-clip-bin { display: flex; gap: 8px; overflow-x: auto; padding: 10px 1px 2px; }
.media-clip-chip { min-width: 130px; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: #080c22; color: var(--ink); cursor: pointer; text-align: left; }
.media-clip-chip.is-active { border-color: var(--cyan); background: rgba(0, 217, 255, 0.08); }
.media-clip-chip > span:first-child { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-soft); color: var(--cyan); }
.media-clip-chip > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.media-clip-chip strong, .media-clip-chip small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-clip-chip strong { font-size: 11px; }
.media-clip-chip small { color: var(--muted); font-size: 10px; }
.editor-submit-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 9px; }
.media-export-panel { margin: 12px; padding: 13px; border: 1px solid rgba(0, 217, 255, 0.24); border-radius: 8px; background: rgba(0, 217, 255, 0.06); }
.media-export-panel__head { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; }
.media-export-panel__head > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: rgba(0, 217, 255, 0.12); color: var(--cyan); }
.media-export-panel__head svg { width: 17px; height: 17px; }
.media-export-panel__head strong, .media-export-panel__head small { display: block; }
.media-export-panel__head strong { font-size: 12px; }
.media-export-panel__head small { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.media-export-progress { height: 5px; margin-top: 11px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.08); }
.media-export-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--electric), var(--cyan)); transition: width 180ms ease; }
.media-export-downloads { display: grid; gap: 6px; margin-top: 10px; }
.media-export-downloads:empty { display: none; }
.media-export-download { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid rgba(255,255,255,0.09); border-radius: 7px; background: rgba(5,7,28,0.78); color: var(--ink); text-decoration: none; }
.media-export-download span { min-width: 0; }
.media-export-download strong, .media-export-download small { display: block; }
.media-export-download strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.media-export-download small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.media-export-download svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--cyan); }
.editor-submit-row .button[aria-busy="true"] { cursor: wait; opacity: 0.72; }
.toggle-row--compact { padding: 10px 0; }

.view-switcher { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #080c22; }
.view-switcher button { min-height: 34px; padding: 6px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 700; }
.view-switcher button.is-active { background: #172044; color: white; }
.calendar-board { border-color: var(--line); background: var(--surface); }
.calendar-day { border-color: var(--line); background: rgba(8, 12, 34, 0.78); }
.calendar-day.is-today { background: rgba(0, 102, 255, 0.12); }
.calendar-post { border-color: var(--line); background: #141a3a; }
.calendar-board.is-agenda { display: grid; grid-template-columns: 1fr; border: 0; background: transparent; gap: 8px; }
.calendar-agenda-item { display: grid; grid-template-columns: 90px 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; }
.calendar-agenda-item__date { color: var(--cyan); font-size: 12px; font-weight: 800; }
.calendar-agenda-item .channel-icon { width: 36px; height: 36px; }
.calendar-agenda-item strong { display: block; font-size: 13px; }
.calendar-agenda-item small { color: var(--muted); }

.settings-section--brand { position: relative; overflow: hidden; }
.brand-kit-preview { position: relative; height: 126px; margin: -20px -20px 20px; overflow: hidden; background: #05071c; }
.brand-kit-preview > span { position: absolute; inset: 24% -4% -18%; background: url("assets/brand/in-social-control-wave.png") center / cover no-repeat; opacity: 0.5; }
.brand-kit-preview img { position: relative; z-index: 1; width: 96px; height: 96px; margin: 15px 0 0 20px; border-radius: 8px; object-fit: cover; }
.approval-note, .review-response-preview { margin-top: 12px; padding: 10px 12px; border-left: 2px solid var(--violet); border-radius: 0 6px 6px 0; background: rgba(139, 53, 245, 0.08); color: var(--muted); font-size: 12px; line-height: 1.5; }
.approval-note strong, .review-response-preview strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.review-response-preview p { margin: 0; }
.modal--connection { width: min(620px, calc(100% - 28px)); max-height: calc(100vh - 32px); overflow: auto; }
.connection-modal__body { width: auto; }
.modal--connection .modal__footer { position: sticky; z-index: 3; bottom: 0; margin: 0 -20px -20px; padding: 14px 20px 20px; border-top: 1px solid var(--line); background: rgba(9, 13, 37, .97); backdrop-filter: blur(10px); }
.connection-readiness { display: grid; gap: 10px; padding: 16px; border: 1px solid rgba(0, 217, 255, .2); border-radius: 8px; background: rgba(0, 217, 255, .05); }
.connection-readiness > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.connection-readiness span, .connection-callback span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.connection-readiness p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.connection-checklist { display: grid; gap: 8px; margin: 16px 0; }
.connection-check { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); }
.connection-check > span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: rgba(0, 102, 255, .12); color: var(--electric); }
.connection-check strong, .connection-check small { display: block; }
.connection-check small { margin-top: 2px; color: var(--muted); }
.connection-account-picker { grid-column: 1 / -1; display: grid; gap: 8px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.connection-account-picker > p { margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.connection-account-picker > div { display: grid; gap: 7px; }
.connection-account-option { width: 100%; min-height: 52px; display: grid; grid-template-columns: 32px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; background: rgba(0, 102, 255, .07); color: var(--ink); text-align: left; cursor: pointer; }
.connection-account-option:hover, .connection-account-option:focus-visible { border-color: var(--cyan); background: rgba(0, 217, 255, .1); outline: none; }
.connection-account-option > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; background: rgba(0, 217, 255, .12); color: var(--cyan); }
.connection-account-option svg { width: 16px; height: 16px; }
.connection-account-option > svg { color: var(--muted); }
.connection-callback { display: grid; gap: 7px; }
.connection-callback code { overflow-wrap: anywhere; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; background: #05071c; color: var(--cyan); font-size: 12px; }

.modal::backdrop { background: rgba(1, 2, 12, 0.78); backdrop-filter: blur(6px); }
.modal, .content-plan-modal { border-color: var(--line); background: #090d25; color: var(--ink); }
.toast { border-color: var(--line); background: #111735; color: var(--ink); }
.role-note { border-color: var(--line); background: var(--surface-soft); color: var(--ink-soft); }

@media (max-width: 920px) {
  .auth-brand__logo { width: min(540px, 92%); max-height: 245px; }
  .sidebar-overlay { background: rgba(1, 2, 12, 0.72); }
  .workspace::before { width: 100vw; opacity: 0.04; }
  .assistant-panel { position: static; height: 560px; min-height: 520px; }
}

@media (max-width: 700px) {
  .workspace__body { padding: 20px 14px 30px; }
  .page-heading { margin-bottom: 20px; }
  .command-band__wave { inset: auto -45% -15% 0; opacity: 0.23; }
  .campaign-foundation { padding: 14px; }
  .calendar-summary, .reputation-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-summary__item, .calendar-summary__item:nth-child(2), .reputation-metric, .reputation-metric:nth-child(2) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .calendar-summary__item:nth-child(2n), .reputation-metric:nth-child(2n) { border-right: 0; }
  .calendar-summary__item:nth-last-child(-n+2), .reputation-metric:nth-last-child(-n+2) { border-bottom: 0; }
  .calendar-board:not(.is-agenda) { display: grid; grid-template-columns: repeat(7, minmax(96px, 1fr)); min-width: 760px; overflow-x: auto; }
  .calendar-board:not(.is-agenda) .calendar-weekday, .calendar-board:not(.is-agenda) .calendar-day { display: block; }
  .calendar-toolbar { overflow-x: auto; }
  .calendar-agenda-item { grid-template-columns: 74px 34px minmax(0, 1fr); }
  .calendar-agenda-item > :last-child { grid-column: 3; }
  .editor-submit-row { grid-template-columns: 1fr; }
  .connection-check { grid-template-columns: 34px minmax(0, 1fr); }
  .connection-check .status-badge { grid-column: 2; justify-self: start; }
  .auth-form { padding: 22px; }
}

/* Account creation and guided workspace setup */
.auth-panel { align-content: center; justify-items: center; gap: 12px; }
.auth-mode { width: min(100%, 410px); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: #080c22; }
.auth-mode button { min-height: 38px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 800; }
.auth-mode button.is-active { background: #172044; color: white; box-shadow: 0 3px 12px rgba(0, 0, 0, .2); }
.auth-form .field small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.auth-security-note { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font-size: 11px; text-align: center; }
.auth-security-note svg { width: 15px; height: 15px; color: var(--cyan); }

.onboarding-screen { min-height: 100vh; display: grid; grid-template-columns: 350px minmax(0, 1fr); background: #070a1d; color: var(--ink); }
.onboarding-rail { position: sticky; top: 0; min-height: 100vh; height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: 34px 30px; border-right: 1px solid var(--line); background: #05071c; isolation: isolate; }
.onboarding-rail::after { content: ""; position: absolute; z-index: -1; right: -150px; bottom: 18px; width: 620px; height: 240px; background: url("assets/brand/in-social-control-wave.png") center / cover no-repeat; opacity: .28; pointer-events: none; }
.onboarding-brand { min-width: 0; display: flex; align-items: center; gap: 10px; }
.onboarding-brand img:first-child { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.onboarding-brand img:last-child { width: 170px; height: 54px; object-fit: contain; object-position: left center; }
.onboarding-intro { margin-top: 55px; }
.onboarding-intro h1 { max-width: 285px; margin-bottom: 13px; color: white; font-size: 27px; }
.onboarding-intro p { max-width: 275px; margin: 0; color: #9ba8c9; font-size: 13px; line-height: 1.65; }
.onboarding-progress { display: grid; gap: 5px; margin: 35px 0 0; padding: 0; list-style: none; }
.onboarding-progress li { min-height: 60px; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 11px; align-items: center; padding: 9px 10px; border-left: 2px solid transparent; color: #667292; }
.onboarding-progress li > span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 11px; font-weight: 800; }
.onboarding-progress li div { display: grid; gap: 1px; }
.onboarding-progress li strong { color: inherit; font-size: 12px; }
.onboarding-progress li small { color: inherit; font-size: 10px; }
.onboarding-progress li.is-active { border-left-color: var(--cyan); background: rgba(0, 102, 255, .1); color: white; }
.onboarding-progress li.is-active > span { border-color: var(--cyan); background: rgba(0, 217, 255, .1); color: var(--cyan); }
.onboarding-progress li.is-complete { color: #a9b7d8; }
.onboarding-progress li.is-complete > span { border-color: rgba(0, 217, 255, .32); background: rgba(0, 217, 255, .1); color: var(--cyan); }
.onboarding-trust { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; margin-top: auto; padding-top: 24px; color: #9ba8c9; }
.onboarding-trust > svg { width: 20px; height: 20px; color: var(--cyan); }
.onboarding-trust span { display: grid; gap: 4px; }
.onboarding-trust strong { color: #dce5fb; font-size: 11px; line-height: 1.4; }
.onboarding-trust small { font-size: 10px; line-height: 1.5; }

.onboarding-main { min-width: 0; background: #080b20; }
.onboarding-main__header { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 750; }
.onboarding-form { width: min(920px, calc(100% - 64px)); margin: 0 auto; padding: 58px 0 112px; }
.onboarding-step { display: none; min-height: 560px; }
.onboarding-step.is-active { display: block; }
.onboarding-heading { max-width: 690px; margin-bottom: 32px; }
.onboarding-heading h2 { margin-bottom: 10px; color: white; font-size: 31px; }
.onboarding-heading p { max-width: 650px; margin: 0; font-size: 14px; line-height: 1.65; }
.onboarding-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.onboarding-fields .field > span small { margin-left: 5px; color: var(--muted); font-weight: 600; }
.channel-picker-toolbar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; padding: 0 2px; }
.channel-picker-toolbar > span { display: grid; }
.channel-picker-toolbar strong { color: white; font-size: 13px; }
.channel-picker-toolbar small { color: var(--muted); font-size: 10px; }
.social-channel-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.channel-choice { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: rgba(12, 16, 42, .9); transition: border-color 160ms ease, background 160ms ease; }
.channel-choice.is-selected { border-color: rgba(0, 217, 255, .45); background: rgba(0, 102, 255, .1); }
.channel-choice label { min-height: 86px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 24px; gap: 12px; align-items: center; padding: 13px 14px 8px; cursor: pointer; }
.channel-choice input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.channel-choice__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: #111735; color: #9ba8c9; }
.channel-choice.is-selected .channel-choice__icon { background: rgba(0, 217, 255, .1); color: var(--cyan); }
.channel-choice__icon svg { width: 19px; height: 19px; }
.channel-choice__copy { min-width: 0; display: grid; gap: 2px; }
.channel-choice__copy strong { color: white; font-size: 12px; }
.channel-choice__copy small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.channel-choice__copy em { margin-top: 3px; color: var(--amber); font-size: 9px; font-style: normal; line-height: 1.4; }
.channel-choice__check { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: transparent; }
.channel-choice.is-selected .channel-choice__check { border-color: var(--cyan); background: var(--electric); color: white; }
.channel-choice__check svg { width: 13px; height: 13px; }
.channel-choice > a { display: inline-flex; align-items: center; gap: 4px; margin: 0 14px 11px 64px; color: var(--cyan); font-size: 10px; font-weight: 750; text-decoration: none; }
.channel-choice > a svg { width: 12px; height: 12px; }
.onboarding-note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; margin-top: 16px; padding: 13px 15px; border-left: 2px solid var(--cyan); background: rgba(0, 217, 255, .05); }
.onboarding-note svg { width: 18px; height: 18px; color: var(--cyan); }
.onboarding-note p { margin: 0; font-size: 11px; line-height: 1.55; }
.workflow-choice { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 13px; align-items: center; min-height: 78px; padding: 14px 16px; border: 1px solid rgba(0, 217, 255, .3); border-radius: 8px; background: rgba(0, 217, 255, .06); cursor: pointer; }
.workflow-choice__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; background: rgba(0, 102, 255, .16); color: var(--cyan); }
.workflow-choice > span:nth-child(2) { display: grid; gap: 3px; }
.workflow-choice strong { color: white; font-size: 13px; }
.workflow-choice small { color: var(--muted); font-size: 11px; }
.workflow-choice input { width: 19px; height: 19px; }
.role-explainer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 18px; }
.role-explainer article { min-height: 142px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: rgba(12, 16, 42, .9); }
.role-explainer svg { width: 19px; height: 19px; margin-bottom: 14px; color: var(--cyan); }
.role-explainer strong { display: block; color: white; font-size: 11px; }
.role-explainer p { margin: 6px 0 0; font-size: 10px; line-height: 1.55; }
.optional-invite { margin: 22px 0 0; padding: 19px; border: 1px solid var(--line); border-radius: 8px; }
.optional-invite legend { padding: 0 8px; color: white; font-size: 13px; font-weight: 800; }
.optional-invite legend span { margin-left: 5px; color: var(--muted); font-size: 10px; font-weight: 650; }
.optional-invite > p { margin: 0 0 15px; font-size: 11px; }
.onboarding-fields--invite { grid-template-columns: 1fr 1.2fr .8fr; }
.onboarding-summary { display: grid; gap: 10px; }
.onboarding-summary article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px; align-items: center; min-height: 84px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(12, 16, 42, .9); }
.onboarding-summary article > span, .connection-explanation > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; background: rgba(0, 102, 255, .14); color: var(--cyan); }
.onboarding-summary article > div { min-width: 0; }
.onboarding-summary small, .onboarding-summary strong { display: block; }
.onboarding-summary small { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.onboarding-summary strong { margin-top: 2px; color: white; font-size: 13px; }
.onboarding-summary p { margin: 3px 0 0; font-size: 11px; line-height: 1.5; }
.connection-explanation { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px; margin-top: 18px; padding: 16px; border: 1px solid rgba(0, 217, 255, .23); border-radius: 8px; background: rgba(0, 217, 255, .05); }
.connection-explanation strong { color: white; font-size: 12px; }
.connection-explanation p { margin: 4px 0 0; font-size: 11px; line-height: 1.55; }
.onboarding-confirm { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; color: #c8d2eb; font-size: 11px; line-height: 1.5; cursor: pointer; }
.onboarding-confirm input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.onboarding-actions { position: fixed; z-index: 20; right: 0; bottom: 0; left: 350px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px max(32px, calc((100vw - 1270px) / 2)); border-top: 1px solid var(--line); background: rgba(8, 11, 32, .96); box-shadow: 0 -12px 30px rgba(0, 0, 0, .2); backdrop-filter: blur(12px); }
.onboarding-actions__spacer { flex: 1; }

/* Social channel connection centre */
.channel-connections-section { margin-bottom: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.workspace-services-section { margin-top: 0; }
.social-connection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.social-connection-card { min-width: 0; min-height: 210px; display: flex; flex-direction: column; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: rgba(12, 16, 42, .9); }
.social-connection-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.social-connection-card__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 7px; background: rgba(0, 102, 255, .13); color: var(--cyan); }
.social-connection-card__icon svg { width: 19px; height: 19px; }
.social-connection-card h3 { margin: 15px 0 3px; color: white; font-size: 14px; }
.social-connection-card p { margin: 0; font-size: 11px; }
.social-connection-card > small { display: block; margin: 10px 0 14px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.social-connection-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.social-connection-card__actions > a { display: inline-flex; align-items: center; gap: 4px; color: var(--cyan); font-size: 10px; font-weight: 750; text-decoration: none; }
.social-connection-card__actions > a svg { width: 12px; height: 12px; }
.social-connection-card__actions .button { min-height: 36px; padding: 7px 11px; font-size: 11px; }
.channel-connections-empty { grid-column: 1 / -1; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 8px; }
.channel-connections-empty > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 7px; background: rgba(0, 102, 255, .13); color: var(--cyan); }
.channel-connections-empty strong { color: white; font-size: 13px; }
.channel-connections-empty p { margin: 3px 0 0; font-size: 11px; }

@media (max-width: 1050px) {
  .onboarding-screen { grid-template-columns: 285px minmax(0, 1fr); }
  .onboarding-rail { padding: 28px 22px; }
  .onboarding-intro h1 { font-size: 23px; }
  .onboarding-form { width: min(820px, calc(100% - 44px)); }
  .onboarding-actions { left: 285px; padding-right: 22px; padding-left: 22px; }
  .role-explainer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-connection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .auth-panel { align-content: start; }
  .auth-mode { margin-top: 20px; }
  .onboarding-screen { display: block; }
  .onboarding-rail { position: relative; width: 100%; min-height: auto; height: auto; padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .onboarding-brand img:last-child { width: 145px; }
  .onboarding-intro, .onboarding-trust { display: none; }
  .onboarding-progress { grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 18px; }
  .onboarding-progress li { min-height: 42px; grid-template-columns: 28px; justify-content: center; padding: 5px; border-left: 0; border-bottom: 2px solid transparent; }
  .onboarding-progress li.is-active { border-bottom-color: var(--cyan); }
  .onboarding-progress li > span { width: 27px; height: 27px; }
  .onboarding-progress li div { display: none; }
  .onboarding-main__header { height: 58px; padding: 0 20px; }
  .onboarding-form { width: calc(100% - 40px); padding: 34px 0 30px; }
  .onboarding-form { padding-bottom: 98px; }
  .onboarding-actions { left: 0; padding: 12px 20px; }
  .onboarding-step { min-height: 0; }
  .onboarding-heading h2 { font-size: 25px; }
  .onboarding-fields, .social-channel-picker, .onboarding-fields--invite { grid-template-columns: 1fr; }
  .social-connection-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .auth-mode { width: calc(100% - 36px); }
  .onboarding-form { width: calc(100% - 28px); }
  .onboarding-main__header { padding: 0 14px; }
  .onboarding-heading { margin-bottom: 24px; }
  .onboarding-heading h2 { font-size: 22px; }
  .role-explainer { grid-template-columns: 1fr; }
  .role-explainer article { min-height: 116px; }
  .workflow-choice { grid-template-columns: 38px minmax(0, 1fr); }
  .workflow-choice input { grid-column: 2; }
  .channel-choice label { grid-template-columns: 36px minmax(0, 1fr) 22px; padding-left: 11px; padding-right: 11px; }
  .channel-choice > a { margin-left: 59px; }
  .onboarding-actions .button { flex: 1; }
  .onboarding-actions { padding-right: 14px; padding-left: 14px; }
  .onboarding-actions__spacer { display: none; }
  .channel-connections-empty { grid-template-columns: 40px minmax(0, 1fr); }
  .channel-connections-empty .button { grid-column: 1 / -1; }
}
