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

:root {
  --media-page-width: 1720px;
  --ink: #111813;
  --ink-soft: #26332b;
  --paper: #f4f1e8;
  --paper-strong: #fffcf3;
  --card: rgba(255, 252, 243, 0.92);
  --line: rgba(17, 24, 19, 0.12);
  --line-strong: rgba(17, 24, 19, 0.22);
  --moss: #1d633f;
  --moss-dark: #154a31;
  --lime: #c8f169;
  --coral: #ff6b4a;
  --amber: #f3b63c;
  --blue: #4789d8;
  --muted: #68756d;
  --danger: #b83b2f;
  --shadow: 0 22px 60px rgba(35, 46, 38, 0.1);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.media-shell {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -10%, rgba(200, 241, 105, 0.5), transparent 28rem),
    radial-gradient(circle at 96% 6%, rgba(255, 107, 74, 0.18), transparent 24rem),
    linear-gradient(180deg, #faf7ee 0%, var(--paper) 58%, #ece9df 100%);
  font-family: "Manrope", "Trebuchet MS", sans-serif;
}

body.media-shell::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(17, 24, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 19, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  border: 0;
}

.media-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 24, 19, 0.94);
  color: #fffdf5;
  backdrop-filter: blur(18px);
}

.media-nav__inner {
  width: min(var(--media-page-width), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 5px 12px;
  background: var(--lime);
  color: var(--ink);
  font: 800 21px/1 "Space Grotesk", sans-serif;
  transform: rotate(-4deg);
  box-shadow: 0 0 0 4px rgba(200, 241, 105, 0.12);
}

.brand__text {
  font: 700 16px/1.05 "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.media-nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.media-nav__link {
  padding: 10px 13px;
  border-radius: 10px;
  color: #bfc8c2;
  font-size: 13px;
  font-weight: 700;
  transition: 160ms ease;
}

.media-nav__link:hover,
.media-nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.media-nav__user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-chip {
  display: grid;
  text-align: right;
  font-size: 12px;
  color: #94a198;
}

.user-chip strong {
  color: #fff;
  font-size: 13px;
}

.media-main {
  width: min(var(--media-page-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.page-enter {
  animation: page-in 480ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 58px);
  border-radius: var(--radius-xl);
  color: #fffdf5;
  background:
    linear-gradient(125deg, rgba(200, 241, 105, 0.08), transparent 48%),
    var(--ink);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  width: 390px;
  height: 390px;
  right: -140px;
  top: -220px;
  content: "";
  border: 58px solid var(--lime);
  border-radius: 50%;
  opacity: 0.16;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow--ink {
  margin-bottom: 8px;
  color: var(--moss);
}

.hero h1,
.page-heading h1 {
  margin: 0;
  font: 700 clamp(38px, 5vw, 70px)/0.98 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 690px;
  margin: 18px 0 0;
  color: #aeb9b1;
  font-size: 15px;
  line-height: 1.7;
}

.hero__controls {
  min-width: min(500px, 44vw);
  display: grid;
  gap: 10px;
}

.range-form {
  display: grid;
  grid-template-columns: minmax(135px, 1fr) minmax(135px, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.range-form label {
  display: grid;
  gap: 5px;
}

.range-form label > span {
  color: #94a198;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-dark {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  outline: none;
  color: #fff;
  color-scheme: dark;
  background: rgba(255, 255, 255, 0.08);
}

.date-dark:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(200, 241, 105, 0.12);
}

.control-label {
  color: #94a198;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.select-dark,
.field select,
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.select-dark {
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.select-dark option {
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 150px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--moss);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 99, 63, 0.11);
}

.button,
button.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  background: var(--moss);
  font-size: 13px;
  font-weight: 800;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--moss-dark);
  box-shadow: 0 10px 24px rgba(29, 99, 63, 0.2);
}

.button--lime {
  color: var(--ink);
  background: var(--lime);
}

.button--lime:hover {
  background: #d8ff7c;
}

.button--dark {
  color: #fff;
  background: var(--ink);
}

.button--ghost {
  min-height: 38px;
  padding-inline: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d8dfda;
  background: transparent;
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.button--soft {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #edeadf;
}

.button--soft:hover {
  color: #fff;
  background: var(--ink-soft);
}

.button--danger {
  color: var(--danger);
  background: #fff0ed;
}

.button--track {
  border: 1px solid #b8c7bd;
  color: #174f36;
  background: #edf5ef;
  box-shadow: none;
  white-space: nowrap;
}

.button--track:hover {
  color: #fff;
  background: #174f36;
  box-shadow: 0 8px 18px rgba(23, 79, 54, 0.18);
}

.button--small {
  min-height: 34px;
  padding-inline: 11px;
  font-size: 11px;
}

.flash-stack {
  margin: 18px 0;
  display: grid;
  gap: 8px;
}

.flash {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(35, 46, 38, 0.05);
}

.flash--success {
  border-color: rgba(29, 99, 63, 0.26);
  background: #eff9e4;
}

.flash--error {
  border-color: rgba(184, 59, 47, 0.25);
  color: #8f2f25;
  background: #fff0ed;
}

.kpi-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kpi {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 10px 35px rgba(35, 46, 38, 0.055);
}

.kpi:nth-child(2) {
  color: #fff;
  background: var(--moss);
}

.kpi:nth-child(2) .kpi__label,
.kpi:nth-child(2) .kpi__meta {
  color: #c6d8cb;
}

.kpi:nth-child(3)::after {
  position: absolute;
  right: -24px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  content: "";
  border: 28px solid var(--coral);
  border-radius: 50%;
  opacity: 0.17;
}

.kpi__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.kpi__value {
  margin-top: 14px;
  font: 700 clamp(29px, 3vw, 44px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.kpi__meta {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  margin-top: 42px;
}

.section-head {
  margin-bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-head h2 {
  margin: 0;
  font: 700 clamp(25px, 3vw, 36px)/1.08 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.attention-section {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(184, 59, 47, 0.2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 94% 0%, rgba(255, 107, 74, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(255, 252, 243, 0.98), rgba(255, 244, 218, 0.94));
  box-shadow: 0 18px 50px rgba(120, 78, 33, 0.09);
}

.attention-section::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  content: "";
  background: linear-gradient(var(--coral), var(--amber));
}

.attention-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.attention-section__head h2 {
  margin: 8px 0 0;
  font: 700 clamp(25px, 3vw, 36px)/1.08 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.attention-section__head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #715c48;
  font-size: 13px;
  line-height: 1.6;
}

.attention-section__count {
  min-width: 150px;
  display: grid;
  justify-items: end;
}

.attention-section__count strong {
  color: var(--danger);
  font: 700 46px/0.95 "Space Grotesk", sans-serif;
  letter-spacing: -0.06em;
}

.attention-section__count span {
  margin-top: 7px;
  color: #715c48;
  font-size: 11px;
  font-weight: 700;
}

.attention-groups {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  gap: 14px;
}

.attention-group {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 19, 0.11);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
}

.attention-group__head {
  padding: 15px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(17, 24, 19, 0.09);
  background: rgba(255, 255, 255, 0.56);
}

.attention-group__head span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.attention-group__head h3 {
  margin: 2px 0 0;
  font: 700 20px/1.1 "Space Grotesk", sans-serif;
}

.attention-group__head > strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font: 700 14px/1 "Space Grotesk", sans-serif;
}

.attention-list {
  max-height: 620px;
  overflow-y: auto;
}

.attention-video {
  padding: 16px 17px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  border-bottom: 1px solid rgba(17, 24, 19, 0.08);
}

.attention-video:last-child {
  border-bottom: 0;
}

.attention-video__copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
}

.attention-video__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.attention-video__copy > a {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attention-video__copy > a:hover {
  color: var(--moss);
}

.attention-video__copy small {
  color: #8b5c16;
  font-size: 10px;
}

.attention-video__actions {
  min-width: 250px;
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.manual-views {
  display: grid;
  gap: 5px;
}

.manual-views label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manual-views > div {
  display: flex;
  gap: 6px;
}

.manual-views input {
  width: 145px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  outline: none;
  background: #fff;
}

.manual-views input:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(29, 99, 63, 0.1);
}

.manual-skip {
  align-self: end;
}

.manual-skip .button {
  white-space: nowrap;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
}

.panel__body {
  padding: clamp(20px, 3vw, 32px);
}

.employee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.employee-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
}

.employee-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.employee-card h3 {
  margin: 0;
  font: 700 24px/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
}

.employee-card__score {
  text-align: right;
}

.employee-card__score strong {
  display: block;
  font: 700 27px/1 "Space Grotesk", sans-serif;
  color: var(--moss);
}

.employee-card__score span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress {
  width: 100%;
  height: 10px;
  margin: 20px 0 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dedfd6;
}

.progress > span {
  width: var(--progress, 0%);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), #5ba45d 70%, var(--lime));
  animation: progress-grow 800ms cubic-bezier(0.25, 0.75, 0.25, 1) both;
}

@keyframes progress-grow {
  from { width: 0; }
}

.progress-note {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.mini-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-stat {
  padding: 12px;
  border-radius: 12px;
  background: #f0eee5;
}

.mini-stat strong {
  display: block;
  font: 700 18px/1 "Space Grotesk", sans-serif;
}

.mini-stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.content-plan {
  margin-top: 18px;
  display: grid;
  gap: 11px;
}

.content-plan__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px;
  align-items: center;
  gap: 12px;
}

.content-plan__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
}

.content-plan__label span:last-child {
  color: var(--muted);
}

.progress--thin {
  height: 6px;
  margin: 6px 0 0;
}

.content-plan__value {
  text-align: right;
  font: 700 15px/1 "Space Grotesk", sans-serif;
}

.content-plan__value strong,
.content-plan__value small {
  display: block;
}

.content-plan__value small {
  margin-top: 4px;
  color: var(--muted);
  font: 600 9px/1 "Manrope", sans-serif;
}

.employee-card__link {
  margin-top: 18px;
  display: inline-flex;
  color: var(--moss);
  font-size: 11px;
  font-weight: 800;
}

.employee-card__link:hover {
  color: var(--ink);
}

.team-roster {
  margin-top: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) repeat(2, minmax(230px, 1fr));
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.48);
}

.team-roster__intro {
  padding: 7px 10px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.team-roster__intro strong {
  font: 700 15px/1.2 "Space Grotesk", sans-serif;
}

.team-member {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 150ms ease, border-color 150ms ease;
}

.team-member:hover {
  border-color: rgba(29, 99, 63, 0.28);
  transform: translateY(-2px);
}

.team-member__avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 4px 12px;
  background: var(--ink);
  color: var(--lime);
  font: 700 16px/1 "Space Grotesk", sans-serif;
}

.team-member > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.team-member small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-member b {
  color: var(--moss);
  font: 700 14px/1 "Space Grotesk", sans-serif;
}

.category-creator {
  margin-top: 16px;
  padding-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.category-card {
  --category-accent: var(--moss);
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 20px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--category-accent) 18%, transparent), transparent 13rem),
    rgba(255, 255, 255, 0.66);
}

.category-card--1 { --category-accent: var(--coral); }
.category-card--2 { --category-accent: var(--blue); }
.category-card--3 { --category-accent: #9a6b36; }
.category-card--4 { --category-accent: #377c72; }
.category-card--5 { --category-accent: #b47828; }

.category-card--empty {
  min-height: 175px;
  opacity: 0.62;
}

.category-card__top,
.category-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-card__top > span {
  color: var(--category-accent);
  font: 700 12px/1 "Space Grotesk", sans-serif;
}

.category-card__top small,
.category-card__meta {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.category-card h3 {
  max-width: 270px;
  margin: 22px 0 8px;
  font: 700 19px/1.12 "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.category-card > strong {
  font: 700 clamp(28px, 3.2vw, 42px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.category-card__meta {
  margin-top: 18px;
}

.category-card__engagement {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.category-card__engagement span,
.category-card__engagement b {
  padding: 4px 6px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  background: rgba(29, 99, 63, 0.07);
}

.category-card__engagement b {
  color: var(--moss);
  background: rgba(200, 241, 105, 0.34);
}

.category-card__track {
  height: 5px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 24, 19, 0.08);
}

.category-card__track span {
  width: var(--share);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--category-accent);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.field-hint {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.form-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-editor {
  display: grid;
  gap: 10px;
}

.plan-editor details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
}

.plan-editor summary {
  padding: 15px 16px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 13px;
}

.plan-editor summary::-webkit-details-marker {
  display: none;
}

.plan-editor__form {
  padding: 0 16px 16px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
}

.media-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1200px;
}

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

.media-table th {
  color: var(--muted);
  background: rgba(238, 235, 225, 0.7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.media-table__title-column,
.media-table__title-cell {
  width: 30%;
  min-width: 260px;
}

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

.media-table tbody tr {
  transition: background 140ms ease;
}

.media-table tbody tr:hover {
  background: rgba(200, 241, 105, 0.09);
}

.media-table tbody .video-row--attention {
  background: rgba(255, 243, 214, 0.62);
}

.media-table tbody .video-row--attention:hover {
  background: rgba(255, 230, 177, 0.66);
}

.media-table tbody .video-row--attention td:first-child {
  box-shadow: inset 4px 0 0 var(--amber);
}

.media-table tbody .video-row--dormant {
  background: rgba(230, 234, 229, 0.56);
}

.media-table tbody .video-row--dormant:hover {
  background: rgba(217, 226, 218, 0.72);
}

.media-table tbody .video-row--dormant td:first-child {
  box-shadow: inset 4px 0 0 #87988c;
}

.media-table tbody .video-row--unavailable {
  background: rgba(255, 235, 231, 0.58);
}

.media-table tbody .video-row--unavailable:hover {
  background: rgba(255, 224, 217, 0.7);
}

.media-table tbody .video-row--unavailable td:first-child {
  box-shadow: inset 4px 0 0 #d66d5f;
}

.video-title {
  max-width: 430px;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.video-title a {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-delete {
  width: fit-content;
  margin-top: 2px;
}

.video-delete button {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(185, 77, 66, 0.28);
  border-radius: 999px;
  color: #b94d42;
  background: #fff0ed;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(185, 77, 66, 0.08);
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease,
    box-shadow 140ms ease, transform 140ms ease;
}

.video-delete button:hover,
.video-delete button:focus-visible {
  border-color: #b94d42;
  color: #fff;
  background: #b94d42;
  box-shadow: 0 6px 14px rgba(185, 77, 66, 0.2);
  transform: translateY(-1px);
}

.video-title small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-performance {
  min-width: 138px;
  display: grid;
  gap: 2px;
}

.video-performance > strong {
  font: 700 16px/1 "Space Grotesk", sans-serif;
}

.video-performance > small {
  color: var(--muted);
  font-size: 8px;
}

.video-performance > div {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.video-performance span {
  padding: 4px 6px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  background: rgba(29, 99, 63, 0.07);
  white-space: nowrap;
}

.video-performance span b {
  color: var(--moss);
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.platform::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.platform--youtube {
  color: #c34233;
  background: #fff0ed;
}

.platform--tiktok {
  color: #19675f;
  background: #e7f8f3;
}

.platform--instagram {
  color: #a33b59;
  background: #ffedf2;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.status::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
}

.status--ok {
  color: var(--moss-dark);
  background: #e8f7d9;
}

.status--ok::before {
  background: #60a845;
}

.status--manual {
  color: #245885;
  background: #e3f0ff;
}

.status--manual::before {
  background: var(--blue);
}

.status--error,
.status--pending {
  color: #8b5c16;
  background: #fff3d6;
}

.status--error::before,
.status--pending::before {
  background: var(--amber);
}

.status--unavailable {
  color: #8c342b;
  background: #ffe6e1;
}

.status--unavailable::before {
  background: #d55f51;
}

.tracking {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 150px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.tracking::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  content: "";
}

.tracking--active {
  border-color: #c9dfc4;
  color: #285e35;
  background: #eff8e9;
}

.tracking--active::before {
  background: #60a845;
  box-shadow: 0 0 0 3px rgba(96, 168, 69, 0.13);
}

.tracking--stopped {
  border-color: #d1d7d2;
  color: #58645b;
  background: #eef0ed;
}

.tracking--stopped::before {
  background: #87988c;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.row-actions select {
  max-width: 130px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 10px;
}

.manual-edit {
  min-width: 170px;
}

.manual-edit > summary {
  width: fit-content;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

.manual-edit > summary::-webkit-details-marker {
  display: none;
}

.manual-edit[open] > summary {
  border-color: var(--moss);
  color: var(--moss-dark);
  background: rgba(200, 241, 105, 0.32);
}

.manual-edit__form {
  margin-top: 7px;
  padding: 9px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.manual-edit__form label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.manual-edit__form > div {
  display: flex;
  gap: 6px;
}

.manual-edit__form input {
  width: 118px;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  outline: none;
  background: #fff;
}

.manual-edit__form input:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(29, 99, 63, 0.1);
}

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

.top-item {
  position: relative;
  overflow: hidden;
  min-height: 78px;
  padding: 15px 17px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.top-item__bar {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: var(--bar, 0%);
  background: linear-gradient(90deg, rgba(200, 241, 105, 0.32), rgba(200, 241, 105, 0));
}

.top-item > *:not(.top-item__bar) {
  position: relative;
  z-index: 1;
}

.top-item__rank {
  font: 700 22px/1 "Space Grotesk", sans-serif;
  color: var(--moss);
}

.top-item__title {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.top-item__title a {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-item__title small {
  color: var(--muted);
  font-size: 10px;
}

.top-item__views {
  font: 700 18px/1 "Space Grotesk", sans-serif;
  white-space: nowrap;
}

.trend-chart {
  min-height: 240px;
  padding: 22px 20px 14px;
  display: flex;
  align-items: end;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(to top, transparent 0 48px, rgba(17, 24, 19, 0.06) 49px 50px),
    rgba(255, 255, 255, 0.58);
}

.trend-bar {
  min-width: 18px;
  flex: 1;
  display: grid;
  align-items: end;
  justify-items: center;
  gap: 7px;
}

.trend-bar__fill {
  width: min(38px, 78%);
  height: calc(var(--height, 8) * 1.55px);
  min-height: 8px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--lime), var(--moss));
  box-shadow: 0 10px 20px rgba(29, 99, 63, 0.16);
}

.trend-bar span {
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
  transform: rotate(-35deg);
}

.empty-state {
  padding: 36px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.38);
}

.empty-state strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font: 700 18px/1.2 "Space Grotesk", sans-serif;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.page-heading h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.page-heading p {
  max-width: 680px;
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.batch-input {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
}

.batch-input textarea {
  min-height: 250px;
}

.batch-note {
  padding: 22px;
  border-radius: 18px;
  color: #fff;
  background: var(--ink);
}

.batch-note strong {
  display: block;
  margin-bottom: 12px;
  font: 700 19px/1.2 "Space Grotesk", sans-serif;
}

.batch-note ul {
  margin: 0;
  padding-left: 18px;
  color: #aeb9b1;
  font-size: 12px;
  line-height: 1.75;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.platform-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.platform-card strong {
  display: block;
  margin: 12px 0 5px;
  font: 700 27px/1 "Space Grotesk", sans-serif;
}

.platform-card small {
  color: var(--muted);
}

.history-list {
  display: grid;
  gap: 8px;
}

.history-item {
  padding: 13px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.history-item:hover {
  border-color: var(--moss);
}

.history-item strong {
  display: block;
  font-size: 12px;
}

.history-item small {
  color: var(--muted);
  font-size: 10px;
}

.history-item__views {
  align-self: center;
  font: 700 14px/1 "Space Grotesk", sans-serif;
}

.profile-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  border-radius: var(--radius-xl);
  color: #fffdf5;
  background:
    radial-gradient(circle at 86% 10%, rgba(200, 241, 105, 0.18), transparent 24rem),
    linear-gradient(135deg, #14231a, #25372b);
  box-shadow: var(--shadow);
}

.profile-hero__main {
  display: grid;
  gap: 28px;
}

.back-link {
  width: fit-content;
  color: #b9c6bd;
  font-size: 11px;
  font-weight: 700;
}

.back-link:hover {
  color: var(--lime);
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 34px);
}

.profile-avatar {
  width: clamp(72px, 9vw, 112px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 30px 30px 8px 30px;
  color: var(--ink);
  background: var(--lime);
  font: 700 clamp(36px, 6vw, 66px)/1 "Space Grotesk", sans-serif;
  transform: rotate(-3deg);
}

.profile-identity .eyebrow {
  margin-bottom: 9px;
}

.profile-identity h1 {
  margin: 0;
  font: 700 clamp(40px, 6vw, 74px)/0.95 "Space Grotesk", sans-serif;
  letter-spacing: -0.06em;
}

.profile-identity p {
  margin: 12px 0 0;
  color: #b9c6bd;
  font-size: 13px;
}

.range-form--profile {
  min-width: min(480px, 42vw);
}

.profile-scoreboard {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 10px;
}

.profile-score {
  min-height: 145px;
  padding: 19px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
}

.profile-score--lead {
  color: #fff;
  background: var(--moss);
}

.profile-score > span,
.profile-score small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.profile-score--lead > span,
.profile-score--lead small {
  color: rgba(255, 255, 255, 0.7);
}

.profile-score strong {
  font: 700 clamp(24px, 3vw, 38px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.team-switcher {
  margin-top: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.team-switcher > div {
  display: flex;
  gap: 8px;
}

.team-switcher__item {
  padding: 7px 12px 7px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
}

.team-switcher__item > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px 8px 3px 8px;
  color: var(--lime);
  background: var(--ink);
}

.team-switcher__item.is-active {
  color: #fff;
  background: var(--moss);
}

.profile-platforms {
  display: grid;
  align-content: start;
  gap: 10px;
}

.profile-platforms .section-head {
  margin-bottom: 6px;
}

.platform-result {
  min-height: 118px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px 14px;
  border-radius: var(--radius-lg);
}

.platform-result--youtube {
  color: #7c2b21;
  background: #ffe7df;
}

.platform-result--tiktok {
  color: #144f49;
  background: #dff3ed;
}

.platform-result span {
  align-self: start;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.platform-result strong {
  grid-column: 1;
  font: 700 31px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.platform-result small {
  grid-column: 2;
  grid-row: 2;
  font-size: 10px;
  font-weight: 700;
}

.media-table--profile {
  min-width: 820px;
}

.media-footer {
  width: min(var(--media-page-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 30px;
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

/* Workspace navigation and the sectioned media cabinet. */
.workspace-layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.workspace-stage {
  min-width: 0;
}

.workspace-nav {
  position: sticky;
  top: 92px;
  overflow: hidden;
  padding: 18px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  color: #fdfbf4;
  background:
    radial-gradient(circle at 10% 4%, rgba(200, 241, 105, 0.17), transparent 15rem),
    linear-gradient(160deg, #14231a, #0f1813 72%);
  box-shadow: 0 24px 60px rgba(17, 24, 19, 0.18);
}

.workspace-nav__label {
  padding: 0 10px 13px;
  color: #829188;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.workspace-nav__links {
  display: grid;
  gap: 4px;
}

.workspace-nav__link {
  position: relative;
  min-height: 50px;
  padding: 10px 10px 10px 50px;
  display: grid;
  align-content: center;
  border-radius: 14px;
  transition: background 160ms ease, transform 160ms ease;
}

.workspace-nav__link:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(2px);
}

.workspace-nav__link.is-active {
  color: var(--ink);
  background: var(--lime);
}

.workspace-nav__link > span {
  position: absolute;
  left: 11px;
  top: 12px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px 9px 3px 9px;
  color: #9aaba0;
  font: 700 9px/1 "Space Grotesk", sans-serif;
}

.workspace-nav__link.is-active > span {
  border-color: rgba(17, 24, 19, 0.14);
  color: var(--lime);
  background: var(--ink);
}

.workspace-nav__link strong {
  font: 700 13px/1.1 "Space Grotesk", sans-serif;
}

.workspace-nav__pulse {
  margin-top: 16px;
  padding: 14px 10px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.workspace-nav__ring {
  width: 52px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--lime) var(--progress), rgba(255, 255, 255, 0.12) 0);
}

.workspace-nav__ring::before {
  grid-area: 1 / 1;
  width: 40px;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: #142019;
}

.workspace-nav__ring strong {
  z-index: 1;
  grid-area: 1 / 1;
  font: 700 11px/1 "Space Grotesk", sans-serif;
}

.workspace-nav__pulse > div:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.workspace-nav__pulse span,
.workspace-nav__pulse small {
  color: #829188;
  font-size: 8px;
}

.workspace-nav__pulse > div:last-child strong {
  overflow: hidden;
  font: 700 14px/1 "Space Grotesk", sans-serif;
  text-overflow: ellipsis;
}

.workspace-nav__utility {
  padding: 11px 10px;
  display: flex;
  justify-content: space-between;
  border-radius: 11px;
  color: #b8c5bc;
  font-size: 9px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
}

.workspace-nav__utility:hover {
  color: var(--lime);
  background: rgba(255, 255, 255, 0.08);
}

.workspace-header,
.profile-workspace-header {
  min-height: 140px;
  padding: 26px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 241, 105, 0.3), transparent 18rem),
    rgba(255, 252, 243, 0.78);
  box-shadow: var(--shadow);
}

.workspace-header h1,
.profile-workspace-header h1,
.analytics-heading h1,
.team-heading h1,
.management-heading h1 {
  margin: 7px 0 0;
  font: 700 clamp(34px, 5vw, 62px)/0.96 "Space Grotesk", sans-serif;
  letter-spacing: -0.06em;
}

.workspace-header__tools {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.range-form--workspace {
  min-width: 400px;
}

.date-picker {
  position: relative;
  min-height: 42px;
  padding: 6px 9px 6px 12px;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px !important;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  cursor: default;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.range-form .date-picker > .date-picker__caption {
  color: var(--moss);
  font-size: 8px;
  line-height: 1;
}

.date-picker__native {
  position: relative;
  min-width: 118px;
  width: 100%;
  min-height: 28px;
  padding: 0;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
  font: 700 12px/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  cursor: text;
  color-scheme: light;
}

.date-picker__native::-webkit-datetime-edit {
  padding: 0;
}

.date-picker__native::-webkit-calendar-picker-indicator {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  padding: 4px;
  border-radius: 7px;
  opacity: 0.72;
  cursor: pointer;
  transition: opacity 160ms ease, background 160ms ease;
}

.date-picker__native::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  background: rgba(29, 99, 63, 0.1);
}

.date-picker:hover,
.date-picker:focus-within {
  border-color: var(--moss);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 99, 63, 0.1);
}

.date-picker--dark {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.date-picker--dark .date-picker__native {
  color-scheme: dark;
}

.date-picker--dark .date-picker__native::-webkit-calendar-picker-indicator:hover {
  background: rgba(200, 241, 105, 0.14);
}

.range-form .date-picker--dark > .date-picker__caption {
  color: var(--lime);
}

.date-picker--dark:hover,
.date-picker--dark:focus-within {
  border-color: rgba(200, 241, 105, 0.7);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(200, 241, 105, 0.1);
}

.refresh-banner {
  margin-top: 10px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: rgba(243, 182, 60, 0.15);
}

.summary-spotlight {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px 230px;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  border-radius: var(--radius-xl);
  color: #fffdf5;
  background:
    radial-gradient(circle at 75% 50%, rgba(200, 241, 105, 0.17), transparent 21rem),
    linear-gradient(135deg, #1d633f, #14231a 76%);
  box-shadow: 0 28px 70px rgba(21, 74, 49, 0.22);
}

.summary-spotlight::after {
  position: absolute;
  right: -65px;
  bottom: -105px;
  width: 250px;
  aspect-ratio: 1;
  border: 42px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.summary-spotlight__copy,
.goal-donut,
.summary-numbers {
  position: relative;
  z-index: 1;
}

.summary-spotlight .eyebrow {
  color: var(--lime);
}

.summary-spotlight h2 {
  max-width: 520px;
  margin: 10px 0 0;
  font: 700 clamp(31px, 4vw, 52px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.summary-spotlight__copy > p {
  max-width: 540px;
  margin: 17px 0 0;
  color: #b8c7bd;
  font-size: 12px;
  line-height: 1.7;
}

.summary-progress-note {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b8c7bd;
  font-size: 10px;
}

.summary-progress-note__status {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  background: var(--lime);
}

.summary-progress-note__status.is-complete {
  background: #fff;
}

.goal-donut {
  width: min(100%, 230px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--lime) var(--progress), rgba(255, 255, 255, 0.11) 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 50px rgba(0, 0, 0, 0.2);
  animation: donut-arrive 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes donut-arrive {
  from { opacity: 0; transform: scale(0.82) rotate(-18deg); }
}

.goal-donut::before {
  grid-area: 1 / 1;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: #173123;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.goal-donut__center {
  z-index: 1;
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  gap: 5px;
}

.goal-donut__center strong {
  font: 700 clamp(34px, 4vw, 52px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.07em;
}

.goal-donut__center span {
  color: #94a79b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.summary-numbers {
  display: grid;
  gap: 9px;
}

.summary-numbers article {
  min-height: 112px;
  padding: 17px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
}

.summary-numbers span,
.summary-numbers small {
  color: #96a99d;
  font-size: 9px;
}

.summary-numbers strong {
  font: 700 clamp(22px, 2.4vw, 34px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.engagement-board {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.2fr) minmax(250px, 0.78fr);
  align-items: stretch;
  gap: 14px;
  border: 1px solid rgba(200, 241, 105, 0.18);
  border-radius: var(--radius-xl);
  color: #fffdf5;
  background:
    radial-gradient(circle at 6% 0, rgba(200, 241, 105, 0.2), transparent 17rem),
    radial-gradient(circle at 88% 120%, rgba(255, 138, 91, 0.15), transparent 20rem),
    linear-gradient(135deg, #10231a, #1c3023 68%, #243024);
  box-shadow: 0 22px 52px rgba(20, 41, 29, 0.15);
}

.engagement-board::after {
  position: absolute;
  top: -72px;
  right: 27%;
  width: 180px;
  aspect-ratio: 1;
  border: 28px solid rgba(255, 255, 255, 0.025);
  border-radius: 50%;
  content: "";
}

.engagement-board > * {
  position: relative;
  z-index: 1;
}

.engagement-board .eyebrow {
  color: var(--lime);
}

.engagement-board__lead {
  padding: 5px 4px;
  display: grid;
  align-content: space-between;
  gap: 16px;
}

.engagement-board__lead > small {
  color: #91a399;
  font-size: 9px;
  font-weight: 700;
}

.engagement-board__rate {
  display: grid;
  gap: 5px;
}

.engagement-board__rate strong {
  color: var(--lime);
  font: 700 clamp(38px, 4vw, 58px)/0.9 "Space Grotesk", sans-serif;
  letter-spacing: -0.07em;
}

.engagement-board__rate span {
  color: #c3cec7;
  font-size: 10px;
  font-weight: 700;
}

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

.engagement-board__numbers article {
  min-height: 132px;
  padding: 16px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.engagement-board__numbers article:last-child {
  color: var(--ink);
  background: var(--lime);
}

.engagement-board__numbers span {
  color: #91a399;
  font-size: 9px;
  font-weight: 700;
}

.engagement-board__numbers article:last-child span {
  color: rgba(16, 35, 26, 0.64);
}

.engagement-board__numbers strong {
  font: 700 clamp(20px, 2.2vw, 32px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.engagement-platforms {
  display: grid;
  gap: 7px;
}

.engagement-platform {
  padding: 12px 13px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.engagement-platform > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.engagement-platform span,
.engagement-platform strong {
  font-size: 10px;
  font-weight: 800;
}

.engagement-platform strong {
  color: var(--lime);
  font: 700 16px/1 "Space Grotesk", sans-serif;
}

.engagement-platform small {
  overflow: hidden;
  color: #91a399;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.engagement-platform--youtube { border-left: 3px solid #ff7563; }
.engagement-platform--tiktok { border-left: 3px solid #43cdc0; }
.engagement-platform--instagram { border-left: 3px solid #dc5589; }
.engagement-platform.is-empty { opacity: 0.48; }

.engagement-leaders {
  margin-top: 18px;
}

.engagement-leaders__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.engagement-leaders__grid > a {
  min-width: 0;
  min-height: 176px;
  padding: 15px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(200, 241, 105, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.68);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.engagement-leaders__grid > a:hover {
  border-color: rgba(29, 99, 63, 0.34);
  box-shadow: 0 14px 28px rgba(28, 58, 39, 0.09);
  transform: translateY(-2px);
}

.engagement-leaders__rank {
  width: 29px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 9px 9px 3px 9px;
  color: var(--lime);
  background: var(--ink);
  font: 700 9px/1 "Space Grotesk", sans-serif;
}

.engagement-leaders__copy,
.engagement-leaders__result {
  min-width: 0;
  display: grid;
  align-content: end;
  gap: 5px;
}

.engagement-leaders__copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.engagement-leaders__copy small,
.engagement-leaders__result small {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.engagement-leaders__result {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.engagement-leaders__result > strong {
  color: var(--moss);
  font: 700 23px/1 "Space Grotesk", sans-serif;
}

.category-engagement {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid rgba(29, 99, 63, 0.16);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 4% 0, rgba(200, 241, 105, 0.23), transparent 19rem),
    radial-gradient(circle at 100% 100%, rgba(255, 138, 91, 0.13), transparent 21rem),
    rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 44px rgba(30, 55, 38, 0.08);
}

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

.category-engagement__highlights article {
  min-width: 0;
  min-height: 112px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: space-between;
  gap: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 253, 246, 0.82);
}

.category-engagement__highlights article:first-child {
  border-color: rgba(200, 241, 105, 0.18);
  color: #fffdf5;
  background: var(--ink);
}

.category-engagement__highlights article:nth-child(2) {
  border-color: rgba(29, 99, 63, 0.12);
  background: linear-gradient(135deg, var(--lime), #ddf6a5);
}

.category-engagement__highlights article:nth-child(3) {
  background: linear-gradient(135deg, #fff8ea, #ffe3d6);
}

.category-engagement__highlights span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.category-engagement__highlights article:first-child span {
  color: #95a79c;
}

.category-engagement__highlights strong {
  min-width: 0;
  align-self: end;
  display: -webkit-box;
  overflow: hidden;
  font: 700 16px/1.15 "Space Grotesk", sans-serif;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-engagement__highlights b {
  align-self: end;
  color: var(--moss);
  font: 700 25px/0.9 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.category-engagement__highlights article:first-child b {
  color: var(--lime);
}

.category-engagement__list {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.category-engagement-row {
  min-width: 0;
  padding: 13px;
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(155px, 0.8fr) repeat(2, minmax(145px, 0.75fr)) minmax(118px, 0.58fr);
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 253, 247, 0.88);
}

.category-engagement-row.is-empty {
  opacity: 0.58;
}

.category-engagement-row__heading {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.category-engagement-row__heading > span {
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px 10px 3px 10px;
  color: var(--lime);
  background: var(--ink);
  font: 700 9px/1 "Space Grotesk", sans-serif;
}

.category-engagement-row__heading > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.category-engagement-row__heading h3 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  font: 700 14px/1.18 "Space Grotesk", sans-serif;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-engagement-row__heading small,
.category-engagement-row__metric small,
.category-engagement-row__coverage small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.category-engagement-row__rate,
.category-engagement-row__metric,
.category-engagement-row__coverage {
  min-width: 0;
  min-height: 63px;
  padding: 10px;
  display: grid;
  align-content: space-between;
  gap: 4px;
  border-radius: 11px;
  background: rgba(29, 99, 63, 0.055);
}

.category-engagement-row__rate > span,
.category-engagement-row__metric > span,
.category-engagement-row__coverage > span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.category-engagement-row__rate strong,
.category-engagement-row__metric strong,
.category-engagement-row__coverage strong {
  font: 700 19px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
}

.category-engagement-row__rate strong {
  color: var(--moss);
}

.category-engagement-row__rate > i {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 24, 19, 0.08);
}

.category-engagement-row__rate > i b {
  width: var(--engagement);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), var(--lime));
}

.category-engagement-row__coverage {
  border: 1px solid rgba(29, 99, 63, 0.1);
  background: rgba(200, 241, 105, 0.18);
}

.category-engagement-row__coverage small {
  white-space: nowrap;
}

.category-engagement-row__empty {
  min-height: 63px;
  padding: 10px 14px;
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  border-radius: 11px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  background: rgba(17, 24, 19, 0.045);
}

@media (max-width: 1260px) {
  .engagement-board {
    grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.35fr);
  }

  .engagement-platforms {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .category-engagement-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-engagement-row__heading {
    grid-column: 1 / -1;
  }

  .category-engagement-row__coverage,
  .category-engagement-row__empty {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .engagement-board {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .engagement-board__lead {
    min-height: 150px;
  }

  .engagement-platforms {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .engagement-leaders__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-engagement {
    padding: 20px;
  }

  .category-engagement__highlights,
  .category-engagement-row {
    grid-template-columns: 1fr;
  }

  .category-engagement-row__heading,
  .category-engagement-row__coverage,
  .category-engagement-row__empty {
    grid-column: auto;
  }
}

@media (max-width: 580px) {
  .engagement-board__numbers,
  .engagement-leaders__grid {
    grid-template-columns: 1fr;
  }

  .engagement-board__numbers article {
    min-height: 90px;
  }

  .category-engagement {
    padding: 17px;
    border-radius: 20px;
  }

  .category-engagement__highlights article {
    min-height: 98px;
  }

  .video-lookup__result dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.snapshot-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.snapshot-card {
  min-height: 132px;
  padding: 18px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.snapshot-card--ink {
  color: #fff;
  background: var(--ink);
}

.snapshot-card--accent {
  background: linear-gradient(135deg, #e2f8ae, var(--lime));
}

.snapshot-card > span,
.snapshot-card small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.snapshot-card--ink > span,
.snapshot-card--ink small {
  color: #8fa096;
}

.snapshot-card strong {
  font: 700 clamp(24px, 3vw, 36px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  align-items: start;
  gap: 22px;
}

.text-link {
  color: var(--moss);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--ink);
}

.audience-sources {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.56);
}

.audience-source {
  min-height: 105px;
  padding: 17px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  border-radius: 16px;
}

.audience-source + .audience-source {
  margin-top: 8px;
}

.audience-source--youtube {
  color: #7c2b21;
  background: #ffe4dc;
}

.audience-source--tiktok {
  color: #125148;
  background: #d9f2e9;
}

.audience-source--instagram {
  color: #813047;
  background: #ffe0e8;
}

.audience-source div {
  display: grid;
  gap: 5px;
}

.audience-source span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.audience-source small {
  font-size: 9px;
}

.audience-source > strong {
  font: 700 22px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.audience-sources > .button {
  width: 100%;
  margin-top: 10px;
}

.category-grid--preview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-rail {
  margin-top: 20px;
  padding: 12px;
  display: flex;
  align-items: stretch;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
}

.team-rail > div:first-child {
  min-width: 175px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.team-rail > div:first-child strong {
  font: 700 13px/1.2 "Space Grotesk", sans-serif;
}

.team-rail > a {
  min-width: 190px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.team-rail > a:hover {
  background: #fff;
}

.team-rail > a > span,
.employee-card__identity > span {
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 11px 11px 4px 11px;
  color: var(--lime);
  background: var(--ink);
  font: 700 15px/1 "Space Grotesk", sans-serif;
}

.team-rail a div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.team-rail a strong,
.team-rail a small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-rail a strong {
  font-size: 10px;
}

.team-rail a small {
  color: var(--muted);
  font-size: 8px;
}

.team-rail a b {
  color: var(--moss);
  font: 700 12px/1 "Space Grotesk", sans-serif;
}

.analytics-heading,
.team-heading,
.management-heading {
  margin-top: 22px;
  padding: 8px 4px 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.analytics-heading p,
.team-heading p,
.management-heading p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.analytics-heading__stat,
.team-heading__total {
  min-width: 230px;
  padding: 18px;
  display: grid;
  gap: 5px;
  border-radius: 16px;
  color: #fff;
  background: var(--moss);
}

.analytics-heading__stat span,
.analytics-heading__stat small,
.team-heading__total span,
.team-heading__total small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
}

.analytics-heading__stat strong,
.team-heading__total strong {
  font: 700 28px/1 "Space Grotesk", sans-serif;
}

.analytics-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: stretch;
  gap: 16px;
}

.trend-panel,
.growth-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.56);
}

.data-chip {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--moss);
  font-size: 9px;
  font-weight: 800;
  background: rgba(29, 99, 63, 0.09);
}

.trend-chart--large {
  min-height: 310px;
}

.trend-chart--large .trend-bar {
  grid-template-rows: 20px minmax(0, 1fr) 22px;
}

.trend-bar > small {
  color: var(--moss);
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.growth-list {
  display: grid;
  gap: 7px;
}

.growth-item {
  padding: 11px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.growth-item:hover {
  border-color: rgba(29, 99, 63, 0.35);
  transform: translateY(-1px);
}

.growth-item__rank {
  width: 25px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--lime);
  background: var(--ink);
  font: 700 10px/1 "Space Grotesk", sans-serif;
}

.growth-item__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.growth-item__copy strong,
.growth-item__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.growth-item__copy strong {
  font-size: 9px;
}

.growth-item__copy small {
  color: var(--muted);
  font-size: 7px;
}

.growth-item__copy i {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e5dc;
}

.growth-item__copy i b {
  width: var(--growth);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), var(--lime));
}

.growth-item__value {
  color: var(--moss);
  font: 700 11px/1 "Space Grotesk", sans-serif;
}

.empty-state--compact {
  padding: 24px 18px;
}

.top-list--wide .top-item {
  min-height: 88px;
}

.quick-publish {
  position: relative;
  z-index: 20;
  margin-top: 14px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(29, 99, 63, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 4% 0, rgba(200, 241, 105, 0.22), transparent 13rem),
    rgba(255, 253, 247, 0.92);
  box-shadow: 0 15px 38px rgba(22, 47, 31, 0.09);
}

.quick-publish__heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.quick-publish__mark {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px 12px 4px 12px;
  color: var(--ink);
  background: var(--lime);
  font: 700 24px/1 "Space Grotesk", sans-serif;
  box-shadow: 0 8px 18px rgba(131, 168, 45, 0.24);
}

.quick-publish__heading div > span {
  color: var(--moss);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-publish__heading h2 {
  margin: 2px 0 0;
  font: 700 23px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.045em;
}

.quick-publish__form {
  margin-top: 13px;
}

.quick-publish__fields {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(210px, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.quick-publish__fields--admin {
  grid-template-columns: minmax(155px, 0.55fr) minmax(280px, 1.3fr) minmax(210px, 0.95fr) auto;
}

.compact-field {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.compact-field > label {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.compact-field input,
.compact-field select,
.category-select__trigger {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font: 600 12px/1.2 "Manrope", sans-serif;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.compact-field input:focus,
.compact-field select:focus,
.category-select__trigger:focus,
.category-select.is-open .category-select__trigger {
  border-color: var(--moss);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 99, 63, 0.1);
}

.compact-field input::placeholder {
  color: #909990;
}

.native-select-wrap,
.category-select {
  position: relative;
  min-width: 0;
}

.native-select-wrap::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  content: "";
  border-right: 2px solid var(--moss);
  border-bottom: 2px solid var(--moss);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.native-select-wrap select,
.category-select__native {
  appearance: none;
  padding-right: 36px;
  cursor: pointer;
}

.category-select.is-enhanced .category-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  opacity: 0;
}

.category-select__trigger {
  position: relative;
  min-width: 0;
  padding-right: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  cursor: pointer;
}

.category-select__trigger > span:nth-child(2) {
  min-width: 0;
  flex: 1 1 auto;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-select__signal {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 241, 105, 0.24);
}

.category-select__trigger i {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--moss);
  border-bottom: 2px solid var(--moss);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 160ms ease;
}

.category-select.is-open .category-select__trigger i {
  transform: translateY(-20%) rotate(225deg);
}

.category-select__menu {
  position: absolute;
  z-index: 90;
  top: calc(100% + 8px);
  left: 0;
  width: max-content;
  min-width: 100%;
  max-width: min(380px, 80vw);
  max-height: 300px;
  padding: 7px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: #17251c;
  box-shadow: 0 20px 48px rgba(13, 27, 18, 0.28);
}

.category-select__menu[hidden],
.custom-category-input[hidden] {
  display: none !important;
}

.category-select__menu button {
  width: 100%;
  padding: 10px 11px;
  display: grid;
  gap: 2px;
  border: 0;
  border-radius: 10px;
  color: #f8faf5;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.category-select__menu button + button {
  margin-top: 3px;
}

.category-select__menu button:hover,
.category-select__menu button.is-selected {
  color: var(--ink);
  background: var(--lime);
}

.category-select__menu button span {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.category-select__menu button small {
  color: #9ead9f;
  font-size: 8px;
}

.category-select__menu button:hover small,
.category-select__menu button.is-selected small {
  color: rgba(17, 24, 19, 0.62);
}

.custom-category-input {
  margin-top: 2px;
}

.quick-publish__submit {
  min-height: 44px;
  margin-top: 17px;
  padding-inline: 22px;
}

.video-lookup {
  margin-top: 9px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.56);
}

.video-lookup.has-result {
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 12px 30px rgba(22, 47, 31, 0.07);
}

.video-lookup__form {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr);
  align-items: center;
  gap: 12px;
}

.video-lookup__form > label {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.video-lookup__form > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.video-lookup__form input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font: 600 11px/1.2 "Manrope", sans-serif;
}

.video-lookup__form input:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(29, 99, 63, 0.09);
}

.video-lookup__clear {
  padding: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.video-lookup__results {
  display: grid;
  gap: 8px;
}

.video-lookup__result {
  margin-top: 10px;
  padding: 13px 14px;
  border-radius: 13px;
}

.video-lookup__result--found {
  border: 1px solid rgba(29, 99, 63, 0.18);
  background: rgba(200, 241, 105, 0.14);
}

.video-lookup__result--missing,
.video-lookup__result--invalid {
  border: 1px solid rgba(243, 182, 60, 0.24);
  background: rgba(243, 182, 60, 0.1);
}

.video-lookup__status,
.video-lookup__identity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-lookup__status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px rgba(29, 99, 63, 0.1);
}

.video-lookup__result--missing .video-lookup__status > span,
.video-lookup__result--invalid .video-lookup__status > span {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(243, 182, 60, 0.12);
}

.video-lookup__status strong {
  font: 700 13px/1.2 "Space Grotesk", sans-serif;
}

.video-lookup__identity {
  margin-top: 9px;
}

.video-lookup__identity a {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-lookup__result dl {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.video-lookup__result dl > div {
  min-width: 0;
  padding: 8px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.66);
}

.video-lookup__result dt {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.video-lookup__result dd {
  margin: 3px 0 0;
  overflow: hidden;
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
}

.video-lookup__result p {
  margin: 6px 0 0 16px;
  color: var(--muted);
  font-size: 10px;
}

.video-date {
  display: grid;
  gap: 3px;
  white-space: nowrap;
}

.video-date strong {
  font-size: 11px;
}

.video-date small {
  color: var(--muted);
  font-size: 8px;
}

.video-library {
  margin-top: 38px;
}

.video-library__head {
  margin-bottom: 16px;
}

.video-filters {
  position: relative;
  z-index: 12;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(29, 99, 63, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(115deg, rgba(200, 241, 105, 0.17), transparent 42%),
    rgba(255, 252, 243, 0.9);
  box-shadow: 0 14px 34px rgba(34, 50, 39, 0.06);
}

.video-filters__topline,
.video-library__toolbar,
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.video-filters__topline {
  margin-bottom: 13px;
}

.video-filters__topline > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.video-filters__topline .control-label {
  color: var(--moss);
}

.video-filters__topline strong {
  font: 700 14px/1.2 "Space Grotesk", sans-serif;
}

.video-filters__topline > a {
  color: var(--moss);
  font-size: 11px;
  font-weight: 800;
}

.video-filters__topline > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-filters__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
}

.video-filter {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
  border: 0;
  grid-column: span 2;
}

.video-filter--platforms,
.video-filter--categories {
  grid-column: span 4;
}

.video-filter--date {
  grid-column: span 3;
}

.video-filter--sort {
  grid-column: span 4;
}

.video-filter__label,
.video-filter legend {
  padding: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-filter > input,
.video-filter .native-select-wrap select,
.filter-checklist summary {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 700;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.video-filter > input {
  min-width: 0;
  padding: 0 11px;
}

.video-filter > input:focus,
.video-filter .native-select-wrap select:focus,
.filter-checklist[open] summary {
  border-color: var(--moss);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 99, 63, 0.09);
}

.platform-filter-list {
  min-height: 42px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.64);
}

.platform-filter {
  min-width: 0;
  cursor: pointer;
}

.platform-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.platform-filter span {
  min-height: 32px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: 140ms ease;
}

.platform-filter span::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.platform-filter input:focus-visible + span {
  outline: 2px solid var(--moss);
  outline-offset: 1px;
}

.platform-filter input:checked + span {
  border-color: rgba(29, 99, 63, 0.12);
  color: var(--moss);
  background: rgba(200, 241, 105, 0.3);
}

.platform-filter--youtube input:checked + span {
  color: #d44135;
  background: rgba(255, 107, 74, 0.1);
}

.platform-filter--tiktok input:checked + span {
  color: #087d78;
  background: rgba(67, 205, 192, 0.12);
}

.platform-filter--instagram input:checked + span {
  color: #ad3f68;
  background: rgba(220, 85, 137, 0.1);
}

.filter-checklist {
  position: relative;
}

.filter-checklist summary {
  position: relative;
  padding: 0 34px 0 11px;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.filter-checklist summary::-webkit-details-marker {
  display: none;
}

.filter-checklist summary i {
  position: absolute;
  right: 13px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--moss);
  border-bottom: 2px solid var(--moss);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 150ms ease;
}

.filter-checklist[open] summary i {
  transform: rotate(225deg) translate(-2px, -1px);
}

.filter-checklist__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  width: min(390px, 82vw);
  max-height: 280px;
  padding: 7px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #fffdf7;
  box-shadow: 0 20px 42px rgba(17, 24, 19, 0.18);
}

.filter-checklist__menu label {
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.filter-checklist__menu label:hover {
  background: rgba(200, 241, 105, 0.18);
}

.filter-checklist__menu input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--moss);
}

.video-filters__submit {
  min-height: 42px;
  grid-column: span 2;
}

.video-library__toolbar {
  min-height: 48px;
  padding: 0 4px;
}

.video-library__counter {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}

.video-library__counter strong {
  color: var(--ink);
  font: 700 15px/1 "Space Grotesk", sans-serif;
}

.page-size {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-size > span {
  margin-right: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-size a {
  min-width: 34px;
  min-height: 30px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.page-size a:hover {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.page-size a.is-active {
  color: #fff;
  background: var(--moss);
}

.pagination {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 252, 243, 0.72);
}

.pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.pagination__page,
.pagination__edge,
.pagination__gap {
  min-width: 34px;
  min-height: 34px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.pagination__page,
.pagination__edge {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.pagination__page:hover,
.pagination__edge:hover {
  border-color: rgba(29, 99, 63, 0.28);
  color: var(--moss);
}

.pagination__page.is-active {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.pagination__edge {
  min-width: 82px;
}

.pagination__edge.is-disabled {
  opacity: 0.38;
  pointer-events: none;
}

.employee-grid--team {
  margin-top: 22px;
}

.employee-card--profile {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 45px rgba(34, 50, 39, 0.07);
}

.employee-card__identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.employee-card__identity h3 {
  margin-top: 2px;
}

.next-plan-panel {
  margin-top: 24px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 92% 0, rgba(200, 241, 105, 0.2), transparent 23rem),
    linear-gradient(135deg, #10231a 0%, #192b20 100%);
  box-shadow: 0 24px 60px rgba(20, 41, 29, 0.15);
}

.next-plan-panel__head,
.management-section-head,
.employee-creator__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.next-plan-panel .eyebrow {
  color: var(--lime);
}

.next-plan-panel h2,
.management-section-head h2,
.employee-creator h2 {
  margin: 7px 0 0;
  font: 700 31px/1 "Space Grotesk", sans-serif;
}

.plan-readiness {
  padding: 9px 12px;
  border: 1px solid rgba(200, 241, 105, 0.35);
  border-radius: 999px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
  background: rgba(200, 241, 105, 0.09);
}

.plan-readiness--attention {
  border-color: rgba(255, 188, 88, 0.38);
  color: #ffd18b;
  background: rgba(255, 188, 88, 0.1);
}

.next-plan-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.next-plan-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.07);
}

.next-plan-card.is-pending {
  border-color: rgba(255, 188, 88, 0.33);
  background: rgba(255, 188, 88, 0.08);
}

.next-plan-card__identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.next-plan-card__identity > span {
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 11px 11px 3px 11px;
  color: var(--ink);
  background: var(--lime);
  font: 700 15px/1 "Space Grotesk", sans-serif;
}

.next-plan-card__identity div {
  display: grid;
  gap: 2px;
}

.next-plan-card__identity strong {
  font-size: 13px;
}

.next-plan-card__identity small {
  color: #aebbb2;
  font-size: 8px;
}

.next-plan-card__controls {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.next-plan-card__controls input {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  outline: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.17);
}

.next-plan-card__controls input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(200, 241, 105, 0.12);
}

.plan-workspace {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: start;
  gap: 18px;
}

.management-column {
  min-width: 0;
}

.management-section-head {
  margin-bottom: 14px;
}

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

.plan-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
}

.plan-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-card__head > span {
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px 14px 4px 14px;
  color: var(--ink);
  background: var(--lime);
  font: 700 19px/1 "Space Grotesk", sans-serif;
}

.plan-card__head small,
.plan-card label,
.category-studio label,
.employee-creator label > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.plan-card h2 {
  margin: 3px 0 0;
  font: 700 22px/1 "Space Grotesk", sans-serif;
}

.plan-card form {
  margin-top: 22px;
}

.plan-card form > label {
  display: block;
  margin-bottom: 7px;
}

.plan-card__input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.plan-card__input input,
.category-studio input,
.employee-creator input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: none;
  background: #fff;
}

.plan-card__input input:focus,
.category-studio input:focus,
.employee-creator input:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(29, 99, 63, 0.1);
}

.employee-creator {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0, rgba(200, 241, 105, 0.19), transparent 18rem),
    rgba(255, 255, 255, 0.7);
}

.employee-creator__head > span {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px 14px 4px 14px;
  color: var(--ink);
  background: var(--lime);
  font: 700 25px/1 "Space Grotesk", sans-serif;
}

.employee-creator form {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.employee-creator label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.employee-creator__target {
  grid-column: 1 / 2;
}

.employee-creator form > .button {
  align-self: end;
  min-height: 42px;
}

.category-studio {
  position: sticky;
  top: 92px;
  padding: 28px;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(200, 241, 105, 0.18), transparent 15rem),
    var(--ink);
}

.category-studio .eyebrow {
  color: var(--lime);
}

.category-studio h2 {
  margin: 9px 0 0;
  font: 700 31px/1 "Space Grotesk", sans-serif;
}

.category-studio > p {
  margin: 12px 0 0;
  color: #9eaea4;
  font-size: 10px;
  line-height: 1.6;
}

.category-studio form {
  margin-top: 23px;
  display: grid;
  gap: 8px;
}

.category-studio label {
  color: #9eaea4;
}

.category-studio__list {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-studio__list span {
  padding: 6px 8px;
  border-radius: 999px;
  color: #b8c7bd;
  font-size: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.profile-workspace-header {
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(200, 241, 105, 0.19), transparent 19rem),
    linear-gradient(135deg, #14231a, #25372b);
}

.profile-workspace-header__identity {
  display: grid;
  gap: 15px;
}

.profile-workspace-header__identity > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-workspace-header .back-link {
  color: #9daea3;
}

.profile-workspace-header .back-link::before {
  margin-right: 7px;
  content: "←";
}

.profile-workspace-header .eyebrow {
  color: var(--lime);
}

.profile-workspace-header h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.profile-avatar--small {
  width: 68px;
  border-radius: 21px 21px 6px 21px;
  font-size: 36px;
}

.team-switcher--workspace {
  margin-top: 10px;
}

@media (max-width: 1320px) {
  .profile-hero {
    grid-template-columns: 1fr;
  }

  .range-form--profile {
    min-width: 0;
    width: min(100%, 540px);
  }

  .profile-scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .batch-input {
    grid-template-columns: 1fr;
  }

  .team-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-roster__intro {
    grid-column: 1 / -1;
  }

  .profile-hero {
    grid-template-columns: 1fr;
  }

  .range-form--profile {
    min-width: 0;
  }

  .batch-note {
    order: -1;
  }
}

@media (max-width: 820px) {
  .media-nav__inner,
  .media-main,
  .media-footer {
    width: min(100% - 24px, 1440px);
  }

  .media-nav__links {
    display: none;
  }

  .user-chip {
    display: none;
  }

  .hero__layout,
  .employee-grid {
    grid-template-columns: 1fr;
  }

  .hero__controls {
    min-width: 0;
  }

  .range-form {
    grid-template-columns: 1fr 1fr;
  }

  .range-form .button {
    grid-column: 1 / -1;
  }

  .profile-scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .page-heading,
  .attention-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .attention-section__count {
    min-width: 0;
    justify-items: start;
  }

  .attention-video {
    grid-template-columns: 1fr;
  }

  .attention-video__actions {
    min-width: 0;
    flex-wrap: wrap;
  }

  .category-creator {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .media-main {
    padding-top: 18px;
  }

  .attention-section {
    padding: 22px 18px 22px 24px;
  }

  .attention-video__actions,
  .manual-views,
  .manual-views > div {
    width: 100%;
  }

  .manual-views input {
    min-width: 0;
    width: 100%;
  }

  .hero,
  .panel,
  .profile-hero {
    border-radius: 20px;
  }

  .hero {
    padding: 25px 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .kpi-grid,
  .form-grid,
  .platform-grid,
  .team-roster,
  .profile-scoreboard,
  .range-form {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    padding: 25px 20px;
  }

  .profile-identity {
    align-items: flex-start;
  }

  .profile-avatar {
    width: 64px;
    border-radius: 19px 19px 6px 19px;
  }

  .profile-identity h1 {
    font-size: 38px;
  }

  .team-switcher {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-switcher > div {
    width: 100%;
    flex-wrap: wrap;
  }

  .kpi {
    min-height: 132px;
  }

  .employee-card {
    padding: 18px;
  }

  .mini-stats {
    grid-template-columns: 1fr 1fr;
  }

  .top-item {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .top-item__views {
    grid-column: 2;
  }

  .media-footer {
    text-align: left;
  }
}

@media (max-width: 1260px) {
  .workspace-layout {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 16px;
  }

  .summary-spotlight {
    grid-template-columns: minmax(0, 1fr) 210px;
  }

  .summary-numbers {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-numbers article {
    min-height: 98px;
  }

  .category-grid--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .workspace-layout {
    grid-template-columns: 1fr;
  }

  .workspace-nav {
    position: sticky;
    top: 76px;
    z-index: 30;
    padding: 7px;
    border-radius: 17px;
  }

  .workspace-nav__label,
  .workspace-nav__pulse,
  .workspace-nav__utility {
    display: none;
  }

  .workspace-nav__links {
    overflow-x: auto;
    grid-auto-columns: minmax(155px, 1fr);
    grid-auto-flow: column;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .workspace-nav__links::-webkit-scrollbar {
    display: none;
  }

  .workspace-nav__link {
    min-height: 52px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .workspace-header,
  .profile-workspace-header {
    min-height: 0;
  }

  .overview-grid,
  .analytics-split,
  .plan-workspace {
    grid-template-columns: 1fr;
  }

  .category-studio {
    position: static;
  }

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

@media (max-width: 860px) {
  .video-filters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-filter,
  .video-filter--platforms,
  .video-filter--categories,
  .video-filter--date,
  .video-filter--sort,
  .video-filters__submit {
    grid-column: auto;
  }

  .quick-publish__fields,
  .quick-publish__fields--admin {
    grid-template-columns: 1fr 1fr;
  }

  .compact-field--link {
    grid-column: 1 / -1;
  }

  .quick-publish__submit {
    width: 100%;
    margin-top: 0;
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .workspace-header,
  .profile-workspace-header,
  .analytics-heading,
  .team-heading,
  .management-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-header__tools,
  .range-form--workspace {
    min-width: 0;
    width: 100%;
  }

  .workspace-header__tools {
    justify-items: stretch;
  }

  .workspace-header__tools > form:last-child .button {
    width: 100%;
  }

  .video-lookup__result dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .summary-spotlight {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .goal-donut {
    width: 210px;
    justify-self: center;
  }

  .summary-numbers {
    width: 100%;
  }

  .team-rail {
    overflow-x: auto;
  }

  .team-rail > div:first-child,
  .team-rail > a {
    flex: 0 0 auto;
  }

  .analytics-heading__stat,
  .team-heading__total {
    min-width: 0;
    width: 100%;
  }

  .plan-workspace__cards {
    grid-template-columns: 1fr;
  }

  .employee-creator form {
    grid-template-columns: 1fr;
  }

  .employee-creator__target {
    grid-column: auto;
  }
}

@media (max-width: 580px) {
  .workspace-nav {
    top: 74px;
  }

  .workspace-nav__links {
    grid-auto-columns: 145px;
  }

  .workspace-header,
  .profile-workspace-header {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .workspace-header h1,
  .profile-workspace-header h1,
  .analytics-heading h1,
  .team-heading h1,
  .management-heading h1 {
    font-size: 36px;
  }

  .profile-workspace-header__identity > div {
    align-items: flex-start;
  }

  .profile-avatar--small {
    width: 55px;
    font-size: 29px;
  }

  .summary-spotlight {
    min-height: 0;
    padding: 27px 20px;
    border-radius: 20px;
  }

  .next-plan-panel {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .next-plan-panel__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .next-plan-grid {
    grid-template-columns: 1fr;
  }

  .next-plan-card__controls {
    grid-template-columns: 1fr;
  }

  .summary-spotlight h2 {
    font-size: 35px;
  }

  .summary-progress-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .goal-donut {
    width: min(190px, 78vw);
  }

  .summary-numbers,
  .snapshot-grid,
  .category-grid--preview {
    grid-template-columns: 1fr;
  }

  .trend-panel,
  .growth-panel,
  .category-studio {
    padding: 21px 18px;
  }

  .quick-publish {
    padding: 15px;
    border-radius: 17px;
  }

  .video-filters {
    padding: 13px;
  }

  .video-filters__topline,
  .video-library__toolbar,
  .pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-filters__grid {
    grid-template-columns: 1fr;
  }

  .filter-checklist__menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }

  .page-size {
    width: 100%;
    flex-wrap: wrap;
  }

  .pagination {
    align-items: stretch;
  }

  .pagination__pages {
    width: 100%;
    flex-wrap: wrap;
  }

  .pagination__edge {
    width: 100%;
  }

  .quick-publish__fields,
  .quick-publish__fields--admin {
    grid-template-columns: 1fr;
  }

  .compact-field--link,
  .quick-publish__submit {
    grid-column: auto;
  }

  .video-lookup__form {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .video-lookup__form > div {
    flex-wrap: wrap;
  }

  .video-lookup__form input {
    flex: 1 1 100%;
  }

  .video-lookup__form .button {
    flex: 1;
  }

  .video-lookup__result dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trend-chart--large {
    min-width: 560px;
  }

  .trend-panel {
    overflow-x: auto;
  }

  .team-switcher--workspace {
    align-items: flex-start;
  }
}

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