* { box-sizing: border-box; }
:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fbff;
  --line: #e4eaf3;
  --line-strong: #c9d4e5;
  --text: #172033;
  --muted: #66758a;
  --brand: #3767f6;
  --brand-dark: #254edb;
  --brand-soft: #eef4ff;
  --success: #079669;
  --warning: #d97706;
  --danger: #e11d48;
  --accent: #06b6d4;
  --sidebar: #ffffff;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 28px rgba(15, 23, 42, .045);
  --shadow-hover: 0 16px 36px rgba(15, 23, 42, .12);
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(55, 103, 246, .12), transparent 30rem),
    radial-gradient(circle at top right, rgba(6, 182, 212, .10), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 18rem);
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  overflow-x: hidden;
}
a { color: var(--brand); text-decoration: none; font-weight: 500; }
a:hover { color: var(--brand-dark); text-decoration: none; }
b,
strong {
  font-weight: 600;
}
.wrap {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  background:
    linear-gradient(180deg, rgba(238, 244, 255, .72), rgba(255, 255, 255, 0) 220px),
    var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #12b7d7);
  color: #fff;
  box-shadow: 0 10px 22px rgba(55, 103, 246, .22);
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sub {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 24px 44px;
}
.nav {
  display: grid;
  gap: 4px;
}
.nav a {
  color: #344054;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav a:hover,
.nav a.on {
  background: linear-gradient(135deg, #eef4ff, #f0fdff);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(55, 103, 246, .08);
}
.nav-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #f2f4f7;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}
.nav-svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}
.nav a.on .nav-icon,
.nav a:hover .nav-icon {
  background: linear-gradient(135deg, var(--brand), #14b8d4);
  color: #fff;
}
.side-foot {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 3px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.main { min-width: 0; }
.top {
  height: 64px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 5;
}
.top-app {
  display: grid;
  gap: 2px;
  min-width: 180px;
}
.top-app b {
  font-size: 15px;
  font-weight: 600;
  color: #101828;
}
.top-kicker {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.back-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: #475467;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.back-link:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: #c7d8ff;
}
.global-search {
  flex: 1 1 480px;
  max-width: 620px;
  min-width: 220px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}
.global-search span {
  display: inline-grid;
  place-items: center;
  color: #8a99ad;
}
.global-search .nav-svg {
  width: 16px;
  height: 16px;
}
.global-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  min-height: auto;
}
.saved-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.saved-filter-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.saved-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 3px 5px 3px 10px;
  border-radius: 999px;
  background: #f3f7ff;
  border: 1px solid #dbe7ff;
}
.saved-filter-chip a {
  font-size: 12px;
}
.saved-filter-chip form {
  margin: 0;
}
.saved-filter-chip button {
  border: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.saved-filter-chip button:hover {
  background: #e7eefc;
  color: var(--danger);
}
.bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.compact-form {
  gap: 10px;
  margin-bottom: 12px;
}
.role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font-size: 12px;
  font-weight: 500;
}
.inline-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.meta-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
}
.meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
}
.meta-strip b {
  color: #344054;
  font-weight: 600;
}
.meta-strip-note {
  max-width: 520px;
}
.user-menu {
  position: relative;
}
.user-menu summary {
  list-style: none;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 4px 8px 4px 5px;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .055);
}
.user-menu summary::-webkit-details-marker { display: none; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #eef4ff, #ecfeff);
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
}
.user-copy {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}
.user-copy b {
  font-size: 13px;
  font-weight: 600;
  color: #101828;
}
.user-copy small {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.menu-chevron {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: #667085;
}
.menu-chevron .nav-svg {
  width: 14px;
  height: 14px;
}
.user-menu[open] .menu-chevron {
  transform: rotate(180deg);
}
.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 248px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .14);
  padding: 8px;
  z-index: 20;
}
.dropdown-head {
  padding: 10px;
  display: grid;
  gap: 5px;
  border-bottom: 1px solid #f2f4f7;
  margin-bottom: 6px;
}
.dropdown-head b {
  font-size: 14px;
  font-weight: 600;
}
.dropdown-head span {
  color: var(--muted);
  font-size: 12px;
  word-break: break-word;
}
.dropdown-head .role-pill {
  justify-self: start;
}
.dropdown-item {
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #344054;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}
.dropdown-item:hover {
  background: #f8fafc;
  color: var(--brand-dark);
}
.dropdown-item.danger {
  color: #b42318;
}
.dropdown-item .nav-svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.user-dropdown form {
  margin: 0;
}
.content {
  padding: 28px;
  max-width: 1440px;
  margin: 0 auto;
}
h1 {
  margin: 0 0 5px;
  font-size: 27px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}
p { line-height: 1.6; }
.muted { color: var(--muted); }
.title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.card,
.panel,
.profile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.card {
  position: relative;
  padding: 18px;
  color: var(--muted);
  font-weight: 500;
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  opacity: .74;
}
.card.interactive {
  display: block;
  color: var(--muted);
}
.card.interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #bfd1ff;
}
.card b {
  display: block;
  color: var(--text);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.25;
  margin: 8px 0 2px;
  word-break: break-word;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.focus-item {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(55, 103, 246, .055), rgba(6, 182, 212, .055)),
    #fff;
  color: #344054;
  display: grid;
  gap: 5px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.focus-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #bfd1ff;
}
.focus-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.focus-item b {
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}
.focus-item small {
  color: var(--muted);
  font-size: 12px;
}
.dashboard-filter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.dashboard-filter label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  min-width: 150px;
}
.dashboard-kpi {
  grid-template-columns: repeat(auto-fit, minmax(188px, 1fr));
  align-items: stretch;
}
.dashboard-kpi .card {
  min-height: 118px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}
.dashboard-kpi .card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard-kpi .card b {
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.18;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  word-break: normal;
  letter-spacing: 0;
}
.dashboard-kpi .card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.dashboard-chart-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .95fr);
  gap: 18px;
  margin-bottom: 18px;
}
.dashboard-mini-charts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.analytics-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.analytics-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.analytics-head h2 {
  margin: 0;
  color: #101828;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0;
}
.analytics-head p {
  margin: 5px 0 0;
  color: #72829a;
  line-height: 1.35;
}
.analytics-head > span {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: #f3f6fb;
  color: #72829a;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 500;
}
.line-chart,
.grouped-chart {
  display: block;
  width: 100%;
  height: auto;
}
.line-grid {
  stroke: #dce5f2;
  stroke-width: 1;
  stroke-dasharray: 4 5;
}
.reference-line {
  stroke: #64748b;
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}
.line-path {
  fill: none;
  stroke: #2854dc;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.line-dot {
  fill: #3767f6;
  stroke: #96b3ff;
  stroke-width: 2;
}
.chart-axis {
  fill: #72829a;
  font-size: 13px;
  font-weight: 500;
}
.wide-card {
  margin-bottom: 18px;
}
.grouped-chart {
  min-height: 260px;
}
.bar-compare {
  fill: #dfe5ee;
}
.bar-actual {
  fill: #2854dc;
}
.chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #72829a;
  white-space: nowrap;
}
.chart-legend span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}
.chart-legend .actual {
  background: #2854dc;
}
.chart-legend .compare {
  margin-left: 10px;
  background: #dfe5ee;
}
.donut-wrap {
  display: grid;
  grid-template-columns: minmax(130px, 160px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  max-width: 100%;
  overflow: hidden;
}
.donut-chart {
  width: min(160px, 100%);
  height: auto;
  aspect-ratio: 1;
  transform: rotate(-90deg);
  overflow: visible;
}
.donut-segment {
  cursor: help;
  transition: opacity .16s ease, stroke-width .16s ease;
}
.donut-segment:hover {
  opacity: .82;
  stroke-width: 5.8;
}
.donut-chart text {
  transform: rotate(90deg);
  transform-origin: center;
  fill: #101828;
  font-size: 8px;
  font-weight: 700;
}
.donut-chart .donut-subtext {
  fill: #72829a;
  font-size: 4px;
  font-weight: 500;
}
.donut-legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 0;
}
.donut-legend-row {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  color: #72829a;
  font-size: 13px;
  cursor: help;
  min-width: 0;
}
.donut-legend-row span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}
.donut-legend-row b {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.donut-legend-row small {
  color: var(--muted);
}
.dashboard-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.performance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
  align-items: stretch;
}
.performance-grid .analytics-card {
  padding: 18px;
}
.performance-grid .analytics-head h2 {
  font-size: 18px;
}
.performance-grid .analytics-head p {
  font-size: 13px;
}
.performance-bars {
  display: grid;
  gap: 10px;
}
.performance-bar-row {
  display: grid;
  grid-template-columns: 30px minmax(110px, 1fr) minmax(90px, 1.2fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  min-width: 0;
}
.performance-bar-row:hover {
  color: var(--brand);
}
.performance-bar-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.performance-bar-track {
  height: 9px;
  border-radius: 999px;
  background: #edf2f7;
  overflow: hidden;
}
.performance-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3767f6, #20b8d8);
}
.performance-bar-row b {
  font-size: 13px;
  font-weight: 600;
  color: #344054;
  white-space: nowrap;
}
.compact-donut {
  grid-template-columns: minmax(120px, 145px) minmax(0, 1fr);
}
.mini-progress {
  width: min(120px, 100%);
  height: 8px;
  border-radius: 999px;
  background: #edf2f7;
  overflow: hidden;
}
.mini-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #3767f6;
}
.rank-list {
  display: grid;
  gap: 8px;
}
.rank-item,
.alert-item {
  display: grid;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #344054;
}
.rank-item {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 9px 11px;
}
.rank-item:hover,
.alert-item:hover {
  border-color: #bfd1ff;
  box-shadow: var(--shadow);
  color: #344054;
}
.rank-no {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}
.rank-item div,
.alert-item div {
  min-width: 0;
}
.rank-item b,
.rank-item small,
.alert-item b,
.alert-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-item b,
.alert-item b {
  color: var(--text);
  font-weight: 600;
}
.rank-item small,
.alert-item small {
  color: var(--muted);
  font-size: 12px;
}
.rank-item strong {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.alert-item {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 58px;
  padding: 10px 12px;
}
.profile {
  padding: 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.profile-main h1 { margin-bottom: 8px; }
.profile-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.kol-hero {
  background:
    linear-gradient(135deg, rgba(55, 103, 246, .07), rgba(6, 182, 212, .045)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}
.kol-hero-compact {
  grid-template-columns: minmax(0, 1fr) auto;
}
.kol-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef4ff, #ecfeff);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 600;
}
.kol-identity {
  min-width: 0;
}
.kol-identity h1 {
  margin-bottom: 4px;
  font-size: 28px;
}
.kol-eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}
.kol-name {
  color: #344054;
  font-weight: 500;
  margin-bottom: 9px;
}
.kol-actions {
  justify-content: flex-end;
}
.kol-stats .card b {
  font-size: 21px;
}
.kol-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 18px;
  align-items: start;
}
.contract-list {
  display: grid;
  gap: 10px;
}
.contract-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.contract-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.contract-main a {
  font-size: 12px;
  font-weight: 500;
}
.contract-main strong {
  font-size: 15px;
  font-weight: 600;
  color: #101828;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contract-meta {
  display: grid;
  gap: 4px;
  text-align: right;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.contract-meta b {
  color: #101828;
  font-weight: 600;
}
.contract-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 150px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
  font-weight: 500;
}
.social-link:hover {
  background: var(--brand-soft);
  border-color: #c7d7fe;
  color: var(--brand-dark);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 18px;
}
.info-list {
  display: grid;
  gap: 0;
  margin: 0;
}
.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #f2f4f7;
  padding: 11px 0;
}
.info-list div:first-child { padding-top: 0; }
.info-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list dt {
  color: var(--muted);
  font-weight: 500;
}
.info-list dd {
  margin: 0;
  text-align: right;
  font-weight: 400;
}
.rating-note {
  display: block;
  max-width: 220px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.rating-note b { color: #344054; }
.settings-summary {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.settings-logo-preview {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f8fafc;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.settings-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.settings-logo-preview.text {
  background: var(--brand);
  color: #fff;
  font-size: 34px;
  font-weight: 700;
}
.settings-update {
  display: grid;
  gap: 16px;
}
.update-log pre {
  max-height: 360px;
  overflow: auto;
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0f172a;
  color: #e5e7eb;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.panel {
  margin-bottom: 18px;
  overflow: hidden;
}
.head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: linear-gradient(180deg, #fff, #fbfdff);
}
.body {
  padding: 18px;
  overflow-x: hidden;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 14px;
}
th {
  text-align: left;
  color: #667085;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  background: #f7faff;
  white-space: nowrap;
}
td {
  padding: 11px;
  border-bottom: 1px solid #edf2f8;
  vertical-align: top;
  font-weight: 400;
}
tr:last-child td { border-bottom: 0; }
tbody tr:hover td,
tr:hover td {
  background: #f7fbff;
}
input,
select,
textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 7px 10px;
  font: inherit;
  background: #fcfdff;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(55, 103, 246, .13);
  background: #fff;
}
input:disabled,
select:disabled,
textarea:disabled {
  background: #f9fafb;
  color: #667085;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: auto;
  accent-color: var(--brand);
}
input[type="file"] {
  min-width: 190px;
  padding-top: 7px;
}
textarea {
  min-height: 82px;
  resize: vertical;
}
label {
  font-size: 13px;
  font-weight: 500;
  color: #344054;
  display: grid;
  gap: 6px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: end;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check input {
  width: auto;
}
.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
}
.sample-items {
  display: grid;
  gap: 10px;
  margin: 10px 0;
}
.sample-item-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 90px minmax(160px, .7fr) auto;
  gap: 10px;
  align-items: end;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tabs a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 500;
  background: #fff;
  color: #344054;
  box-shadow: var(--shadow);
}
.tabs a.on {
  background: linear-gradient(135deg, var(--brand), #14b8d4);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 10px 22px rgba(55, 103, 246, .18);
}
.btn,
.icon-btn {
  border: 0;
  border-radius: 9px;
  min-height: 36px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn {
  background: linear-gradient(135deg, var(--brand), #2857e7);
  color: #fff;
  box-shadow: 0 1px 2px rgba(55, 103, 246, .18), 0 8px 20px rgba(55, 103, 246, .12);
}
.btn:hover {
  background: linear-gradient(135deg, var(--brand-dark), #1f45c7);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}
.btn.secondary,
.icon-btn {
  background: #fff;
  color: #334155;
  border: 1px solid #dbe3ee;
  box-shadow: var(--shadow);
}
.btn.secondary:hover,
.icon-btn:hover {
  background: #f4f8ff;
  color: var(--brand-dark);
  border-color: #bfdbfe;
}
.btn.danger {
  background: #fff;
  color: #be123c;
  border: 1px solid #fecdd3;
}
.btn.danger:hover { background: #fff1f2; color: #9f1239; border-color: #fda4af; }
.btn.whatsapp {
  background: #25d366;
  color: #fff;
  border: 1px solid #1fbe5b;
  box-shadow: 0 1px 2px rgba(37, 211, 102, .18);
}
.btn.whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
  border-color: #16a34a;
  box-shadow: 0 8px 18px rgba(37, 211, 102, .22);
}
.btn.whatsapp .nav-svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}
.btn.compact {
  min-height: 32px;
  padding: 6px 10px;
}
.btn:disabled,
.icon-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.page-info {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.page-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.page-size {
  display: inline-flex;
  align-items: center;
}
.page-size label {
  display: inline-flex;
  grid-auto-flow: column;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 400;
}
.page-size select {
  width: auto;
  min-height: 32px;
  padding: 5px 28px 5px 9px;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  min-height: 22px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 500;
  background: #f1f5f9;
  color: #344054;
  text-transform: capitalize;
}
.active,
.paid,
.on_time,
.delivered {
  background: #ecfdf5;
  color: var(--success);
}
.shipped {
  background: #ecfeff;
  color: #0891b2;
}
.pending_approval,
.partial,
.due_soon,
.late {
  background: #fff7ed;
  color: var(--warning);
}
.cancelled,
.overdue,
.issue {
  background: #fff1f2;
  color: var(--danger);
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, .07), rgba(255, 255, 255, 0) 34%),
    var(--bg);
}
.login .panel { width: min(430px, 100%); }
dialog {
  width: min(980px, calc(100vw - 32px));
  border: 0;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 24px 70px rgba(16, 24, 40, .22);
}
dialog::backdrop { background: rgba(16, 24, 40, .48); }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfdff);
}
.modal-body {
  padding: 18px;
  max-height: min(76vh, 760px);
  overflow: auto;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #e9eef5;
  gap: 1px;
}
.day-name,
.day {
  background: #fff;
}
.day-name {
  padding: 11px 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: #f8fafc;
}
.day {
  min-height: 154px;
  padding: 10px;
  transition: background .15s ease;
}
.day.empty { background: #f8fafc; }
.day.today {
  background: #f7fbff;
  box-shadow: inset 0 0 0 2px rgba(47, 111, 237, .16);
}
.day-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f2f5f9;
  font-weight: 700;
  margin-bottom: 8px;
}
.day.today .day-num {
  background: var(--brand);
  color: #fff;
}
.calendar-empty {
  color: #98a2b3;
  font-size: 12px;
}
.post {
  width: 100%;
  border: 1px solid var(--line);
  border-left: 4px solid #98a2b3;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  padding: 9px;
  margin-bottom: 7px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.post:hover {
  background: #fbfdff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}
.post strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.post span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.post .badge {
  display: inline-flex;
  margin-top: 7px;
}
.post.on_time { border-left-color: var(--success); background: #fbfffd; }
.post.late,
.post.due_soon { border-left-color: var(--warning); background: #fffdf8; }
.post.overdue { border-left-color: var(--danger); background: #fffafa; }
.post.scheduled { border-left-color: #6b7a90; }
.deliverable-list {
  table-layout: fixed;
  min-width: 0;
}
.deliverable-list th {
  padding: 10px 8px;
}
.deliverable-list td {
  padding: 12px 8px;
  vertical-align: middle;
}
.deliverable-list th:first-child,
.deliverable-list td:first-child {
  width: 46px;
  text-align: center;
}
.deliverable-list th:nth-child(2) { width: 26%; }
.deliverable-list th:nth-child(3) { width: 6%; }
.deliverable-list th:nth-child(4) { width: 16%; }
.deliverable-list th:nth-child(5) { width: 11%; }
.deliverable-list th:nth-child(6) { width: 11%; }
.deliverable-list th:nth-child(7) { width: 5%; text-align: center; }
.deliverable-list td:nth-child(7) { text-align: center; }
.deliverable-list th:nth-child(8) { width: 11%; }
.deliverable-list th:last-child,
.deliverable-list td:last-child {
  width: 82px;
  text-align: right;
}
.deliverable-list td,
.deliverable-list th {
  overflow: hidden;
}
.deliverable-list td:nth-child(2) b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deliverable-list .product-name-cell {
  color: #101828;
  font-weight: 600;
  line-height: 1.35;
}
.deliverable-list .money-cell {
  color: #344054;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.number-pill {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 500;
}
.type-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.type-pill.live {
  background: #f8fafc;
  color: #475569;
}
.type-text {
  color: #475467;
  font-size: 13px;
  font-weight: 500;
}
.usp-preview {
  width: 100%;
  border: 0;
  background: transparent;
  color: #475467;
  cursor: pointer;
  font: inherit;
  font-weight: 400;
  line-height: 1.4;
  padding: 0;
  text-align: left;
}
.usp-preview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.usp-preview:hover {
  color: var(--brand);
  text-decoration: underline;
}
.truncate-text {
  max-width: 100%;
  color: #475467;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.truncate-text.one-line {
  max-width: 260px;
  display: inline-block;
  vertical-align: middle;
}
.usp-cell {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-wrap: wrap;
}
.usp-cell .truncate-text {
  max-width: 320px;
}
.usp-cell[data-expanded="1"] .truncate-text {
  display: block;
  max-width: 520px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.5;
}
.inline-more {
  border: 0;
  background: transparent;
  color: var(--brand);
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.inline-more:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}
.long-text {
  white-space: pre-wrap;
  line-height: 1.65;
  color: #344054;
}
.link-btn {
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #2563eb;
  border-radius: 999px;
  min-height: 26px;
  padding: 4px 8px;
  margin-top: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
a.link-btn:hover,
button.link-btn:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.dash {
  color: #cbd5e1;
  font-weight: 500;
}
.dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 999px;
  margin-right: 6px;
}
.dot.pending { background: #d97706; }
.status-text {
  font-weight: 500;
}
.status-text.pending { color: #b45309; }
.kol-list-table th,
.kol-list-table td {
  padding: 12px 14px;
  vertical-align: middle;
}
.kol-list-table th:nth-child(1) { width: 27%; }
.kol-list-table th:nth-child(2) { width: 14%; }
.kol-list-table th:nth-child(3) { width: 15%; }
.kol-list-table th:nth-child(4) { width: 16%; }
.kol-list-table th:nth-child(5) { width: 20%; }
.kol-list-table th:nth-child(6) { width: 8%; text-align: right; }
.kol-list-table td:nth-child(6) { text-align: right; }
.kol-main-cell,
.rate-line,
.activity-line {
  display: grid;
  gap: 3px;
}
.activity-cell {
  display: grid;
  gap: 4px;
}
.strong-link {
  font-weight: 600;
  color: #111827;
}
.kol-meta,
.plain-meta {
  color: #667085;
  font-size: 12px;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: #3153d8;
  border: 1px solid #dbe6ff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.brand-chip small {
  color: #667085;
  font-size: 11px;
}
.product-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.product-detail-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.product-detail-title .product-photo {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  border-radius: 12px;
}
.product-detail-title h1 {
  margin: 0 0 4px;
}
.product-photo {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0;
  overflow: hidden;
  background: #f8fafc;
  color: #98a2b3;
  cursor: pointer;
}
.product-photo.empty {
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  line-height: 1.15;
  text-align: center;
  cursor: default;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-photo-view {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .46);
  color: #fff;
  opacity: 0;
  transition: opacity .15s ease;
}
.product-photo:hover .product-photo-view {
  opacity: 1;
}
.product-photo-view .nav-svg {
  width: 17px;
  height: 17px;
}
.image-preview {
  display: grid;
  place-items: center;
}
.image-preview img {
  width: min(760px, 100%);
  max-height: 72vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f8fafc;
}
.activity-line,
.activity-muted,
.status-text .nav-svg,
.activity-muted .nav-svg {
  align-items: center;
}
.activity-line,
.activity-muted {
  display: inline-flex;
  gap: 5px;
}
.activity-line .nav-svg,
.activity-muted .nav-svg {
  width: 14px;
  height: 14px;
  color: #667085;
}
.row-actions {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}
.row-actions form {
  margin: 0;
}
.icon-action {
  width: 31px;
  height: 31px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.icon-action:hover {
  background: #eff6ff;
  color: var(--brand-dark);
  border-color: #bfdbfe;
}
.icon-action.whatsapp-action {
  color: #128c4a;
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.icon-action.whatsapp-action:hover {
  color: #fff;
  border-color: #22c55e;
  background: #25d366;
}
.icon-action.link-action {
  color: #475569;
  border-color: #dbe3ee;
  background: #fff;
}
.icon-action.link-action:hover {
  color: var(--brand-dark);
  border-color: #bfdbfe;
  background: #eff6ff;
}
.icon-action.danger {
  color: #b91c1c;
  border-color: #fecaca;
}
.icon-action.danger:hover {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fca5a5;
}
.icon-action .nav-svg {
  width: 15px;
  height: 15px;
}
.deliverable-grid {
  table-layout: fixed;
  min-width: 1320px;
}
.deliverable-grid th,
.deliverable-grid td {
  padding: 8px 7px;
  vertical-align: middle;
}
.deliverable-grid th {
  font-size: 11px;
}
.deliverable-grid .col-check { width: 38px; text-align: center; }
.deliverable-grid .col-no { width: 44px; text-align: center; font-weight: 600; }
.deliverable-grid .col-type { width: 92px; }
.deliverable-grid .col-product { width: 150px; }
.deliverable-grid .col-usp { width: 250px; }
.deliverable-grid .col-date { width: 150px; }
.deliverable-grid .col-link { width: 138px; }
.deliverable-grid .col-spark { width: 112px; }
.deliverable-grid .col-gmv { width: 96px; }
.deliverable-grid .col-status { width: 122px; }
.deliverable-grid input,
.deliverable-grid select,
.deliverable-grid textarea {
  min-height: 36px;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 13px;
}
.deliverable-grid textarea {
  min-height: 52px;
  line-height: 1.35;
  resize: vertical;
}
.deliverable-grid input[type="date"] {
  min-width: 0;
  padding-right: 6px;
}
.deliverable-grid .type-select {
  min-width: 78px;
  width: 78px;
  font-weight: 600;
  text-align: center;
  color: var(--brand);
  background: #f2f4ff;
  border-color: #c7d7fe;
}
.deliverable-grid .type-select.live {
  color: var(--success);
  background: #ecfdf3;
  border-color: #abefc6;
}
.deliverable-grid .badge {
  white-space: nowrap;
}
.action-center .panel .head {
  background: linear-gradient(135deg, var(--brand), #14b8d4);
  border-bottom: 0;
  color: #fff;
}
.action-center .panel .head h2 {
  color: #fff;
}
.action-center .panel .head .btn.secondary {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .36);
  color: #fff;
  box-shadow: none;
}
.action-center .panel .head .btn.secondary:hover {
  background: rgba(255, 255, 255, .24);
  border-color: rgba(255, 255, 255, .52);
  color: #fff;
}
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-kpi { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .dashboard-chart-hero,
  .dashboard-mini-charts,
  .dashboard-split,
  .performance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .focus-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .kol-layout { grid-template-columns: 1fr; }
  .contract-item { grid-template-columns: minmax(0, 1fr); }
  .contract-meta { text-align: left; }
  .contract-badges { justify-content: flex-start; min-width: 0; }
}
@media (max-width: 900px) {
  .wrap { grid-template-columns: 1fr; }
  .side {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-foot { display: none; }
  .top { position: static; padding: 14px 18px; height: auto; flex-wrap: wrap; }
  .global-search { order: 3; flex-basis: 100%; max-width: none; }
  .content { padding: 18px; }
  .title,
  .profile {
    display: block;
  }
  .kol-hero {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .kol-hero-compact {
    grid-template-columns: 1fr;
  }
  .kol-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .title .actions,
  .profile .actions {
    margin-top: 14px;
  }
  .calendar { grid-template-columns: 1fr; }
  .day-name { display: none; }
  .day { min-height: 112px; }
}
@media (max-width: 640px) {
  .cards,
  .dashboard-kpi,
  .dashboard-chart-hero,
  .dashboard-mini-charts,
  .dashboard-split,
  .performance-grid,
  .form-grid,
  .sample-item-row,
  .nav {
    grid-template-columns: 1fr;
  }
  .dashboard-filter { justify-content: stretch; }
  .dashboard-filter label { min-width: 0; width: 100%; }
  .dashboard-kpi .card { min-height: 104px; }
  .dashboard-kpi .card b { font-size: 20px; }
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .analytics-card { padding: 16px; border-radius: 14px; }
  .analytics-head { display: grid; }
  .analytics-head h2 { font-size: 18px; }
  .analytics-head > span { justify-self: start; }
  .donut-chart { width: min(150px, 100%); }
  .donut-legend { grid-template-columns: 1fr; width: 100%; }
  .rank-item { grid-template-columns: 32px minmax(0, 1fr); }
  .rank-item strong { grid-column: 2; }
  .performance-bar-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }
  .performance-bar-track {
    grid-column: 2 / -1;
  }
  .top {
    align-items: center;
    flex-direction: row;
  }
  .top-app { min-width: 0; }
  .back-link { min-height: 32px; padding: 0 10px; font-size: 12px; }
  .saved-filter-list {
    width: 100%;
  }
  .user-copy { display: none; }
  .user-dropdown {
    right: 0;
    width: min(280px, calc(100vw - 36px));
  }
  .actions .btn,
  .actions .icon-btn {
    flex: 1 1 auto;
  }
  .kol-hero { padding: 16px; }
  .kol-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 18px;
  }
  .kol-identity h1 { font-size: 23px; }
  h1 { font-size: 24px; }
}
