:root {
  --pulse-bg: #070b16;
  --pulse-surface: #0d1425;
  --pulse-surface-2: #111a30;
  --pulse-line: #20304d;
  --pulse-line-soft: #192640;
  --pulse-text: #f5f7ff;
  --pulse-muted: #8190ad;
  --pulse-dim: #56647f;
  --pulse-violet: #8b5cf6;
  --pulse-blue: #3b82f6;
  --pulse-cyan: #22d3ee;
  --pulse-pink: #ec4899;
  --pulse-green: #34d399;
  --pulse-amber: #f59e0b;
  --pulse-danger: #fb7185;
}

.people-page,
.pulse-detail-page {
  min-height: 100vh;
  padding: 24px 26px 48px;
  background:
    radial-gradient(circle at 58% -18%, rgba(74, 37, 163, .24), transparent 38%),
    linear-gradient(180deg, #080c18 0%, #070b15 58%, #080d19 100%);
}

.people-sidebar {
  background: rgba(7, 11, 21, .97);
  border-right-color: #1b2942;
}

.people-sidebar .brand {
  gap: 10px;
  padding-left: 2px;
  padding-right: 2px;
}

.people-sidebar .brand-icon {
  width: 42px;
  height: 42px;
  flex: none;
  object-fit: cover;
  border-radius: 13px;
  box-shadow: 0 0 26px rgba(124, 58, 237, .38);
}

.people-sidebar nav img {
  width: 17px;
  height: 17px;
  filter: invert(74%) sepia(9%) saturate(554%) hue-rotate(181deg);
  opacity: .82;
}

.people-sidebar nav a.active img,
.people-sidebar nav a:hover img {
  filter: invert(72%) sepia(52%) saturate(4420%) hue-rotate(220deg) brightness(105%);
  opacity: 1;
}

.pulse-sidebar-foot small {
  color: #52617d;
}

.pulse-page-header {
  min-height: 52px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.pulse-page-header .eyebrow {
  margin-bottom: 4px !important;
  font-size: 9px !important;
}

.pulse-page-header h1 {
  margin: 0 0 5px;
  font-size: clamp(24px, 2.1vw, 31px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.pulse-page-header h1 span {
  font-weight: 500;
  color: #dfe5f7;
}

.pulse-page-header > div > p:last-child {
  margin: 0;
  color: var(--pulse-muted);
  font-size: 12px;
}

.pulse-sync {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  color: #71819f;
  font-size: 10px;
  white-space: nowrap;
}

.pulse-sync button,
.profile-actions button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.pulse-sync button:hover,
.profile-actions button:hover {
  border-color: #314260;
  background: #111a2b;
}

.pulse-sync button img,
.profile-actions button img {
  width: 14px;
  height: 14px;
  filter: invert(67%) sepia(13%) saturate(810%) hue-rotate(181deg);
}

.pulse-sync b {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--pulse-green);
  font-weight: 650;
}

.pulse-sync b i,
.data-state i,
.person-card-foot i,
.profile-command-copy b i,
.account-command-copy b i,
.account-online i,
.meta-status i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.team-pulse {
  min-height: 148px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #1d3351;
  border-radius: 17px;
  background:
    radial-gradient(circle at 56% 45%, rgba(96, 51, 205, .28), transparent 28%),
    linear-gradient(115deg, rgba(8, 44, 68, .82), rgba(28, 18, 78, .72) 64%, rgba(16, 25, 54, .92));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 18px 60px rgba(0, 0, 0, .18);
}

.pulse-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pulse-metric {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 22px 10px;
}

.pulse-metric:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: 25px 0 25px auto;
  width: 1px;
  background: linear-gradient(transparent, #315070, transparent);
}

.pulse-metric > img {
  width: 18px;
  height: 18px;
  flex: none;
  filter: invert(75%) sepia(66%) saturate(715%) hue-rotate(105deg);
}

.pulse-metric.cyan > img { filter: invert(80%) sepia(75%) saturate(1475%) hue-rotate(143deg); }
.pulse-metric.violet > img { filter: invert(53%) sepia(93%) saturate(3517%) hue-rotate(237deg) brightness(107%); }
.pulse-metric.pink > img { filter: invert(47%) sepia(97%) saturate(3362%) hue-rotate(306deg) brightness(99%); }

.pulse-metric div {
  min-width: 0;
}

.pulse-metric span,
.pulse-metric small {
  display: block;
}

.pulse-metric span {
  color: #aebbd3;
  font-size: 11px;
}

.pulse-metric strong {
  display: block;
  margin: 4px 0 5px;
  overflow: hidden;
  color: #fff;
  font-size: clamp(19px, 1.75vw, 24px);
  line-height: 1;
  letter-spacing: -.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-metric small {
  color: #62718c;
  font-size: 9px;
}

.team-trend {
  min-width: 0;
  padding: 18px 18px 12px;
  border-left: 1px solid #283a5c;
  background: rgba(5, 11, 24, .35);
}

.trend-title,
.profile-trend > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #cad4e7;
  font-size: 10px;
}

.trend-title small,
.profile-trend > div small {
  color: #64738e;
  font-size: 9px;
}

.chart-stage {
  position: relative;
  height: 94px;
  margin-top: 8px;
}

.chart-stage canvas,
.mini-chart-stage canvas,
.profile-trend canvas,
.row-sparkline canvas,
.account-chart-stage canvas {
  width: 100% !important;
  height: 100% !important;
}

.people-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.sort-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid #233352;
  border-radius: 10px;
  background: #0b1222;
}

.sort-tabs button,
.attention-filter {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #8190ad;
  padding: 0 14px;
  font-size: 11px;
  cursor: pointer;
  transition: .25s var(--ease);
}

.sort-tabs button img,
.attention-filter img,
.people-search img {
  width: 14px;
  height: 14px;
  filter: invert(63%) sepia(11%) saturate(871%) hue-rotate(181deg);
}

.sort-tabs button:hover,
.sort-tabs button.active,
.attention-filter:hover,
.attention-filter.active {
  color: #efeaff;
  border-color: #5740a1;
  background: linear-gradient(135deg, rgba(111, 58, 210, .55), rgba(58, 37, 126, .4));
  box-shadow: inset 0 0 18px rgba(124, 58, 237, .15);
}

.sort-tabs button.active img,
.attention-filter.active img {
  filter: invert(85%) sepia(25%) saturate(708%) hue-rotate(201deg) brightness(111%);
}

.people-control-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.people-search {
  height: 38px;
  width: min(295px, 30vw);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #22314d;
  border-radius: 10px;
  background: #0a1120;
  transition: .2s;
}

.people-search:focus-within {
  border-color: #6d4ac2;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .13);
}

.people-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eef2ff;
  font-size: 11px;
}

.people-search input::placeholder { color: #51607b; }
.attention-filter { height: 38px; border-color: #22314d; background: #0a1120; }

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

.pulse-person-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #263a5d;
  border-radius: 12px;
  background:
    radial-gradient(circle at 86% 8%, rgba(54, 92, 176, .15), transparent 30%),
    linear-gradient(145deg, rgba(18, 29, 52, .98), rgba(10, 18, 34, .98));
  color: var(--pulse-text);
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}

.pulse-person-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  opacity: .7;
  background: linear-gradient(90deg, transparent, var(--card-accent, #3b82f6), transparent);
}

.pulse-person-card:hover {
  transform: translateY(-4px);
  border-color: #516ca3;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34), inset 0 0 32px rgba(74, 91, 166, .07);
}

.pulse-person-card:focus-visible,
.account-data-row:focus-visible,
.owner-profile-link:focus-visible {
  outline: 2px solid #9b7cff;
  outline-offset: 3px;
}

.pulse-person-card.tone-healthy { --card-accent: #34d399; }
.pulse-person-card.tone-idle { --card-accent: #22d3ee; }
.pulse-person-card.tone-pending { --card-accent: #f59e0b; }

.rank-badge {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 10px 0 9px 0;
  background: #28334c;
  color: #bec9dc;
  font-size: 11px;
  font-weight: 850;
}

.rank-badge.rank-1 { background: linear-gradient(135deg, #f59e0b, #8b5e00); color: #fff5c4; }
.rank-badge.rank-2 { background: linear-gradient(135deg, #d8deea, #66738c); color: #172033; }
.rank-badge.rank-3 { background: linear-gradient(135deg, #fb923c, #87420e); color: #fff1de; }

.pulse-person-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 17px 14px 10px 22px;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  background: linear-gradient(145deg, #956aff, #5b35d4);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(80, 44, 178, .32), inset 0 1px rgba(255, 255, 255, .2);
}

.person-identity {
  min-width: 0;
}

.person-identity h2 {
  margin: 0 0 4px;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-identity p {
  margin: 0;
  color: #7f8daa;
  font-size: 9px;
}

.data-state {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 120px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, .18);
  border-radius: 999px;
  background: rgba(6, 78, 59, .2);
  color: var(--pulse-green);
  padding: 4px 7px;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tone-pending .data-state {
  border-color: rgba(245, 158, 11, .18);
  background: rgba(120, 74, 6, .18);
  color: var(--pulse-amber);
}

.person-pulse-visual {
  height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 55px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.mini-chart-stage {
  height: 38px;
}

.completion-meter {
  position: relative;
  width: 52px;
  height: 52px;
}

.completion-meter canvas {
  width: 52px !important;
  height: 52px !important;
}

.completion-meter > span {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  pointer-events: none;
}

.completion-meter strong {
  font-size: 12px;
  line-height: 1;
}

.completion-meter small {
  margin-top: 2px;
  color: #6f7e9a;
  font-size: 6px;
}

.person-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 10px 10px 0;
  padding: 10px 0;
  border-top: 1px solid #1e2b45;
  border-bottom: 1px solid #1e2b45;
}

.person-metric-grid div {
  min-width: 0;
  padding: 0 5px;
  text-align: center;
}

.person-metric-grid div:not(:last-child) {
  border-right: 1px solid #1a2740;
}

.person-metric-grid dt {
  overflow: hidden;
  color: #64738f;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-metric-grid dd {
  margin: 4px 0 0;
  overflow: hidden;
  color: #eff4ff;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-metric-grid dd.warn { color: #fb7185; }

.person-card-foot {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  color: #6f809e;
  font-size: 8px;
}

.person-card-foot > span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-card-foot > span i { color: var(--pulse-cyan); }
.person-card-foot > span.pending i { color: var(--pulse-amber); }

.person-card-foot b {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: #a984ff;
  font-size: 9px;
}

.person-card-foot b img,
.row-chevron,
.panel-more img,
.performance-row a img,
.owner-profile-link > img {
  width: 11px;
  height: 11px;
  filter: invert(62%) sepia(81%) saturate(3066%) hue-rotate(229deg) brightness(105%);
}

.people-no-results {
  margin-top: 22px;
  border: 1px dashed #2b3a56;
  border-radius: 13px;
  padding: 42px;
  color: #74829c;
  text-align: center;
}

/* Employee and account detail */
.pulse-detail-page {
  padding-top: 18px;
}

.detail-breadcrumb {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: #596986;
  font-size: 10px;
}

.detail-breadcrumb a {
  color: #8291ae;
  text-decoration: none;
}

.detail-breadcrumb a:hover { color: #c9b9ff; }
.detail-breadcrumb b { color: #a8b4ca; font-weight: 600; }

.profile-command,
.account-command {
  overflow: hidden;
  margin-bottom: 13px;
  border: 1px solid #213353;
  border-radius: 16px;
  background:
    radial-gradient(circle at 64% 5%, rgba(88, 44, 175, .2), transparent 36%),
    linear-gradient(145deg, rgba(16, 25, 45, .98), rgba(8, 15, 29, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.profile-command-head,
.account-command-head {
  min-height: 102px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 22px;
}

.profile-avatar {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  font-size: 26px;
}

.profile-command-copy,
.account-command-copy {
  min-width: 0;
}

.profile-command-copy > div,
.account-command-copy > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-command-copy h1,
.account-command-copy h1 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -.04em;
}

.profile-command-copy > div > span {
  color: #b4c0d7;
  font-size: 11px;
}

.profile-command-copy > div > b,
.account-command-copy > div > b {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(52, 211, 153, .24);
  border-radius: 999px;
  background: rgba(6, 78, 59, .18);
  color: var(--pulse-green);
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 650;
}

.profile-command-copy > p,
.account-command-copy > p:last-child {
  margin: 6px 0 0;
  color: #71809d;
  font-size: 10px;
}

.profile-actions,
.account-command-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-actions > span,
.account-command-actions > span {
  color: #6b7a96;
  font-size: 9px;
}

.profile-actions > a,
.account-command-actions > a {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #7453d3;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c3aed, #5a33bb);
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 750;
  box-shadow: 0 9px 24px rgba(77, 43, 176, .25);
}

.account-command-actions > a img {
  width: 12px;
  height: 12px;
  filter: invert(1);
}

.profile-pulse-ribbon {
  min-height: 125px;
  display: grid;
  grid-template-columns: repeat(6, minmax(95px, 1fr)) minmax(220px, 1.5fr);
  padding: 0 14px;
  border-top: 1px solid #1d2d49;
  background: linear-gradient(90deg, rgba(7, 28, 48, .55), rgba(28, 19, 72, .45), rgba(7, 20, 40, .65));
}

.profile-pulse-ribbon > article,
.account-pulse-ribbon > article {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 20px 12px;
}

.profile-pulse-ribbon > article:not(:nth-last-child(2))::after,
.account-pulse-ribbon > article:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: 22px 0 22px auto;
  width: 1px;
  background: #28405f;
}

.profile-pulse-ribbon article > img,
.account-pulse-ribbon article > img {
  width: 18px;
  height: 18px;
  flex: none;
  filter: invert(66%) sepia(84%) saturate(3618%) hue-rotate(225deg) brightness(108%);
}

.profile-pulse-ribbon article:nth-child(3) > img,
.account-pulse-ribbon article:nth-child(2) > img { filter: invert(54%) sepia(91%) saturate(2624%) hue-rotate(306deg) brightness(105%); }
.profile-pulse-ribbon article:nth-child(6) > img { filter: invert(73%) sepia(91%) saturate(1545%) hue-rotate(345deg) brightness(101%); }

.profile-pulse-ribbon article span,
.profile-pulse-ribbon article small,
.account-pulse-ribbon article span,
.account-pulse-ribbon article small {
  display: block;
}

.profile-pulse-ribbon article span,
.account-pulse-ribbon article span {
  color: #8695b1;
  font-size: 9px;
}

.profile-pulse-ribbon article strong,
.account-pulse-ribbon article strong {
  display: block;
  margin: 6px 0 4px;
  overflow: hidden;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1;
  letter-spacing: -.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-pulse-ribbon article small,
.account-pulse-ribbon article small {
  color: #53627d;
  font-size: 7px;
}

.profile-trend {
  min-width: 0;
  padding: 18px 10px 12px 16px;
  border-left: 1px solid #28405f;
}

.profile-trend canvas {
  height: 72px !important;
  margin-top: 4px;
}

.detail-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 11px;
  align-items: start;
}

.data-panel {
  overflow: hidden;
  border: 1px solid #1f304e;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(14, 23, 42, .98), rgba(8, 15, 28, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .02);
}

.data-panel-head {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid #1b2942;
}

.data-panel-head h2 {
  margin: 0 0 3px;
  font-size: 14px;
}

.data-panel-head h2 span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  border-radius: 999px;
  background: #1d2a42;
  color: #8d9bb6;
  font-size: 8px;
  vertical-align: middle;
}

.data-panel-head p {
  margin: 0;
  color: #596983;
  font-size: 8px;
}

.account-table-head,
.account-data-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.55fr) 70px 66px 82px 70px 88px 12px;
  align-items: center;
  gap: 8px;
}

.account-table-head {
  min-height: 30px;
  padding: 0 13px;
  background: rgba(25, 39, 67, .48);
  color: #667590;
  font-size: 8px;
}

.account-data-row {
  min-height: 49px;
  padding: 5px 13px;
  border-bottom: 1px solid #18263d;
  color: #dfe6f5;
  text-decoration: none;
  transition: .2s;
}

.account-data-row[hidden] { display: none; }

.account-data-row:hover {
  background: rgba(37, 60, 100, .3);
}

.account-data-row > strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-cell-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.account-cell-main > div {
  min-width: 0;
}

.account-cell-main strong,
.account-cell-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-cell-main strong { font-size: 9px; }
.account-cell-main small { margin-top: 3px; color: #596a86; font-size: 7px; }

.platform-badge {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: #23477c;
}

.platform-badge.instagram { background: #8a225d; }
.platform-badge.tiktok { background: #143b4a; }
.platform-badge.twitter { background: #27334a; }

.platform-badge img {
  width: 14px;
  height: 14px;
  filter: invert(1);
}

.account-online {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: var(--pulse-green);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-sparkline {
  height: 27px;
}

.panel-more {
  width: 100%;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: rgba(61, 39, 129, .16);
  color: #a885ff;
  font-size: 9px;
  cursor: pointer;
}

.panel-more:hover { background: rgba(83, 51, 173, .24); }

.detail-side-stack {
  display: grid;
  gap: 11px;
}

.compact-data-list,
.compact-task-list {
  display: grid;
  padding: 2px 14px 8px;
}

.compact-data-list > a,
.compact-task-list > article {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #192741;
  color: #dfe6f5;
  text-decoration: none;
}

.compact-data-list > a:last-child,
.compact-task-list > article:last-child { border-bottom: 0; }

.compact-task-list > article[hidden] { display: none; }

.compact-data-list > a > img:first-child {
  width: 15px;
  height: 15px;
  flex: none;
  filter: invert(66%) sepia(16%) saturate(792%) hue-rotate(182deg);
}

.compact-data-list a > div,
.compact-task-list article > div {
  min-width: 0;
  flex: 1;
}

.compact-data-list strong,
.compact-data-list small,
.compact-task-list strong,
.compact-task-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-data-list strong,
.compact-task-list strong { font-size: 9px; }
.compact-data-list small,
.compact-task-list small { margin-top: 3px; color: #5f6f8b; font-size: 7px; }

.external-icon {
  width: 11px !important;
  height: 11px !important;
  filter: invert(62%) sepia(60%) saturate(2936%) hue-rotate(225deg) !important;
}

.task-state-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--pulse-amber);
}

.task-state-dot.completed { background: var(--pulse-green); }
.task-state-dot.in_progress { background: var(--pulse-blue); }

.task-status {
  flex: none;
  border: 1px solid #5c419e;
  border-radius: 5px;
  background: rgba(92, 65, 158, .18);
  color: #b696ff;
  padding: 3px 6px;
  font-size: 7px;
  font-weight: 600;
}

.task-status.in_progress { border-color: #1f67b6; background: rgba(30, 100, 180, .16); color: #5eb3ff; }
.task-status.completed { border-color: #197d5e; background: rgba(25, 125, 94, .16); color: #66e1b5; }

.panel-action-link {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  border: 1px solid #3a315f;
  border-radius: 8px;
  background: rgba(86, 55, 158, .13);
  color: #b69aff;
  padding: 8px 10px;
  text-decoration: none;
  font-size: 8px;
  font-weight: 700;
  transition: .2s ease;
}

.panel-action-link:hover {
  border-color: #7453d3;
  background: rgba(107, 70, 199, .22);
  color: #d6c8ff;
  transform: translateY(-1px);
}

.panel-action-link img {
  width: 11px;
  height: 11px;
  filter: invert(69%) sepia(54%) saturate(1500%) hue-rotate(212deg);
}

.panel-more-link { text-decoration: none; }

.compact-task-list form { flex: none; }

.task-complete-button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #376f63;
  border-radius: 7px;
  background: rgba(16, 93, 75, .16);
  color: #78e6c0;
  padding: 6px 8px;
  font-size: 7px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.task-complete-button:hover {
  border-color: #34d399;
  background: rgba(16, 128, 96, .25);
  transform: translateY(-1px);
}

.task-complete-button:disabled { opacity: .6; cursor: wait; transform: none; }
.task-complete-button img { width: 11px; height: 11px; filter: invert(79%) sepia(40%) saturate(709%) hue-rotate(101deg); }

.inline-empty {
  margin: 10px 0;
  border: 1px dashed #2a3a55;
  border-radius: 9px;
  padding: 18px;
  color: #63718b;
  font-size: 9px;
  text-align: center;
}

.cards-performance-panel {
  margin-top: 11px;
}

.twitter-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.twitter-preview-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #283751;
  border-radius: 13px;
  background: #0b1322;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.twitter-preview-card[hidden] { display: none; }

.twitter-preview-card:hover {
  border-color: #5b4a8f;
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .24), 0 0 0 1px rgba(139, 92, 246, .09);
}

.twitter-preview-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #18233a, #241a46);
}

.twitter-preview-media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.twitter-preview-card:hover .twitter-preview-media > img { transform: scale(1.035); }

.twitter-preview-media > span {
  position: absolute;
  left: 9px;
  bottom: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(2, 6, 16, .76);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 8px;
  font-size: 7px;
  font-weight: 700;
}

.twitter-preview-media > span img { width: 10px; height: 10px; filter: invert(1); }

.twitter-preview-copy { padding: 11px 12px 8px; }
.twitter-preview-copy strong,
.twitter-preview-copy p,
.twitter-preview-copy small { display: block; overflow: hidden; }
.twitter-preview-copy strong { min-height: 28px; color: #e9eef9; font-size: 10px; line-height: 1.4; }
.twitter-preview-copy p { min-height: 26px; margin: 5px 0; color: #74839d; font-size: 8px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.twitter-preview-copy small { color: #53627b; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }

.twitter-preview-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid #18263d;
  border-bottom: 1px solid #18263d;
  background: rgba(17, 29, 49, .58);
}

.twitter-preview-card dl > div { padding: 8px 10px; }
.twitter-preview-card dl > div:not(:last-child) { border-right: 1px solid #18263d; }
.twitter-preview-card dt { color: #5e6d87; font-size: 7px; }
.twitter-preview-card dd { margin: 3px 0 0; color: #dce4f4; font-size: 10px; font-weight: 800; }

.twitter-preview-card footer {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
}

.twitter-preview-card footer > span { display: flex; align-items: center; gap: 5px; color: #63728c; font-size: 7px; }
.twitter-preview-card footer > span i { width: 5px; height: 5px; border-radius: 50%; background: var(--pulse-green); box-shadow: 0 0 8px var(--pulse-green); }
.twitter-preview-card footer a { display: flex; align-items: center; gap: 5px; color: #aa8aff; text-decoration: none; font-size: 8px; font-weight: 700; }
.twitter-preview-card footer a img { width: 10px; height: 10px; filter: invert(62%) sepia(81%) saturate(3066%) hue-rotate(229deg) brightness(105%); }

.performance-head,
.performance-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(160px, 1.25fr) 70px 70px 70px 65px 80px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.performance-head {
  min-height: 31px;
  background: rgba(25, 39, 67, .48);
  color: #667590;
  font-size: 8px;
}

.performance-row {
  min-height: 43px;
  border-bottom: 1px solid #18263d;
}

.performance-row:last-child { border-bottom: 0; }

.performance-row > div,
.performance-row > span {
  min-width: 0;
}

.performance-row strong,
.performance-row small {
  display: block;
}

.performance-row > div strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.performance-row > div small { margin-top: 3px; color: #5d6d88; font-size: 7px; }
.performance-row > span { overflow: hidden; color: #8b99b3; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.performance-row > strong { font-size: 9px; }

.live-badge {
  justify-self: start;
  border: 1px solid rgba(52, 211, 153, .27);
  border-radius: 5px;
  background: rgba(6, 95, 70, .2);
  color: var(--pulse-green);
  padding: 3px 6px;
  font-size: 7px;
}

.performance-row > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #a782ff;
  text-decoration: none;
  font-size: 8px;
}

/* Account detail */
.account-platform {
  width: 60px;
  height: 60px;
  border-radius: 17px;
}

.account-platform img { width: 25px; height: 25px; }

.account-command-copy .eyebrow { margin-bottom: 5px !important; font-size: 8px !important; }
.account-command-copy h1 { max-width: min(580px, 48vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.account-pulse-ribbon {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 14px;
  border-top: 1px solid #1d2d49;
  background: linear-gradient(90deg, rgba(7, 28, 48, .55), rgba(28, 19, 72, .45), rgba(7, 20, 40, .65));
}

.account-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .55fr);
  gap: 11px;
  align-items: start;
}

.chart-total {
  color: #71809c;
  font-size: 8px;
}

.chart-total b { color: #cbd5e8; }

.account-chart-stage {
  position: relative;
  height: 365px;
  padding: 18px 18px 4px;
}

.account-chart-stage.is-empty canvas { opacity: .35; }

.chart-empty-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  pointer-events: none;
}

.chart-empty-copy strong { font-size: 14px; }
.chart-empty-copy span { margin-top: 6px; color: #62718c; font-size: 9px; }

.chart-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #1a2841;
  background: rgba(9, 17, 31, .6);
}

.chart-summary-strip > div {
  padding: 13px 16px;
}

.chart-summary-strip > div:not(:last-child) { border-right: 1px solid #1a2841; }
.chart-summary-strip span,
.chart-summary-strip strong { display: block; }
.chart-summary-strip span { color: #657590; font-size: 8px; }
.chart-summary-strip strong { margin-top: 5px; font-size: 11px; }
.chart-summary-strip .status-good { color: var(--pulse-green); }

.account-insight-side {
  display: grid;
  gap: 11px;
}

.owner-profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px;
  border: 1px solid #253754;
  border-radius: 10px;
  background: rgba(17, 28, 50, .7);
  color: #e8edf8;
  padding: 12px;
  text-decoration: none;
  transition: .2s;
}

.owner-profile-link:hover { border-color: #57478a; background: rgba(33, 38, 77, .7); }
.owner-profile-link .avatar { width: 36px; height: 36px; font-size: 14px; }
.owner-profile-link > div { min-width: 0; flex: 1; }
.owner-profile-link strong,
.owner-profile-link small { display: block; }
.owner-profile-link strong { font-size: 10px; }
.owner-profile-link small { margin-top: 4px; color: #64748f; font-size: 8px; }

.account-meta-list {
  margin: 0;
  padding: 4px 14px 10px;
}

.account-meta-list > div {
  min-height: 43px;
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #192741;
}

.account-meta-list > div:last-child { border-bottom: 0; }
.account-meta-list dt { color: #687792; font-size: 8px; }
.account-meta-list dd { margin: 0; overflow: hidden; color: #cdd6e8; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.meta-status { display: flex; align-items: center; gap: 6px; color: var(--pulse-green); }

/* Personal account analysis */
.analysis-command {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 11px;
  border: 1px solid #26375a;
  border-radius: 16px;
  background:
    radial-gradient(circle at 78% 0, rgba(38, 168, 198, .16), transparent 35%),
    radial-gradient(circle at 45% 110%, rgba(124, 58, 237, .2), transparent 44%),
    linear-gradient(140deg, #0f1b30, #091222 65%);
  padding: 18px 22px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .03);
}

.analysis-command-copy > .eyebrow,
.analysis-section-head .eyebrow {
  margin: 0 0 8px;
  color: #6f5da6;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .18em;
}

.analysis-command-copy > div { display: flex; align-items: center; gap: 13px; }
.analysis-avatar { width: 52px; height: 52px; border-radius: 15px; font-size: 20px; }
.analysis-command h1 { margin: 0; font-size: 22px; letter-spacing: -.04em; }
.analysis-command-copy > div p { margin: 6px 0 0; color: #73829d; font-size: 9px; }
.analysis-command-actions { display: flex; align-items: center; gap: 12px; }
.analysis-command-actions span { color: #61718d; font-size: 8px; }
.analysis-command-actions a {
  border: 1px solid #4a3a78;
  border-radius: 8px;
  background: rgba(82, 52, 154, .17);
  color: #bea7ff;
  padding: 9px 12px;
  text-decoration: none;
  font-size: 8px;
  font-weight: 700;
}

.analysis-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-bottom: 11px;
}

.analysis-kpi-grid article {
  position: relative;
  overflow: hidden;
  min-height: 86px;
  border: 1px solid #223451;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(16, 27, 48, .98), rgba(8, 16, 30, .98));
  padding: 14px 15px;
}

.analysis-kpi-grid article::after {
  content: "";
  position: absolute;
  inset: auto -20px -32px auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 211, 238, .06);
  filter: blur(3px);
}

.analysis-kpi-grid article.accent { border-color: #4e397f; background: linear-gradient(145deg, rgba(43, 27, 83, .96), rgba(13, 19, 36, .98)); }
.analysis-kpi-grid span,
.analysis-kpi-grid strong,
.analysis-kpi-grid small { display: block; }
.analysis-kpi-grid span { color: #71809a; font-size: 8px; }
.analysis-kpi-grid strong { margin: 9px 0 5px; font-size: 22px; line-height: 1; letter-spacing: -.04em; }
.analysis-kpi-grid small { color: #53627d; font-size: 7px; }

.analysis-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr);
  gap: 11px;
  margin-bottom: 15px;
}

.analysis-chart-stage { position: relative; height: 270px; padding: 16px 17px 8px; }
.analysis-chart-stage.is-empty canvas { opacity: .3; }

.platform-share-list { display: grid; gap: 2px; padding: 7px 11px 10px; }
.platform-share-list button {
  width: 100%;
  min-height: 61px;
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #dfe7f5;
  padding: 8px;
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
}

.platform-share-list button:hover,
.platform-share-list button.active { border-color: #3e3564; background: rgba(76, 52, 136, .16); }
.platform-share-list button > div { min-width: 0; }
.platform-share-list button > div > span { display: flex; justify-content: space-between; gap: 8px; }
.platform-share-list b { font-size: 8px; }
.platform-share-list em { color: #687792; font-size: 7px; font-style: normal; }
.platform-share-list button > strong { color: #a78bfa; font-size: 9px; text-align: right; }
.platform-share-list progress {
  width: 100%;
  height: 4px;
  display: block;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #1e2c44;
}
.platform-share-list progress::-webkit-progress-bar { background: #1e2c44; }
.platform-share-list progress::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, #7c3aed, #22d3ee); }
.platform-share-list progress::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, #7c3aed, #22d3ee); }

.platform-breakdown { margin-bottom: 15px; }
.analysis-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 9px; }
.analysis-section-head h2 { margin: 0; font-size: 16px; }
.platform-reset {
  border: 1px solid #3d315f;
  border-radius: 8px;
  background: rgba(78, 51, 139, .13);
  color: #aa91ef;
  padding: 8px 12px;
  font-size: 8px;
  cursor: pointer;
}
.platform-reset.active { border-color: #7453d3; background: rgba(105, 66, 194, .25); color: #d4c6ff; }

.platform-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.platform-summary-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #233653;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(15, 26, 46, .98), rgba(8, 15, 28, .98));
  color: #e6edf9;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: .22s ease;
}
.platform-summary-card:hover,
.platform-summary-card.active { border-color: #7050bd; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.platform-summary-card > header { display: flex; align-items: center; gap: 10px; padding: 13px 14px 10px; }
.platform-summary-card > header > div { flex: 1; min-width: 0; }
.platform-summary-card > header strong,
.platform-summary-card > header small { display: block; }
.platform-summary-card > header strong { font-size: 10px; }
.platform-summary-card > header small { margin-top: 3px; color: #61718d; font-size: 7px; }
.platform-summary-card > header > b { color: #a78bfa; font-size: 10px; }
.platform-summary-card .account-platform { width: 38px; height: 38px; border-radius: 11px; }
.platform-summary-card .account-platform img { width: 17px; height: 17px; }
.platform-summary-card dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid #1b2a42; border-bottom: 1px solid #1b2a42; }
.platform-summary-card dl div { min-width: 0; padding: 9px 10px; }
.platform-summary-card dl div:not(:last-child) { border-right: 1px solid #1b2a42; }
.platform-summary-card dt { color: #5f6f89; font-size: 6px; }
.platform-summary-card dd { margin: 4px 0 0; overflow: hidden; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.platform-mini-chart { height: 48px; display: block; padding: 5px 12px 8px; pointer-events: none; }

.analysis-account-panel { margin-bottom: 18px; }
.account-result-count { color: #8e78cf; font-size: 8px; }
.analysis-account-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 12px; }
.analysis-account-grid > a {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #243653;
  border-radius: 11px;
  background: rgba(10, 18, 33, .82);
  color: #e6edf8;
  text-decoration: none;
  transition: .22s ease;
}
.analysis-account-grid > a[hidden] { display: none; }
.analysis-account-grid > a:hover { border-color: #6248a6; background: rgba(29, 27, 58, .82); transform: translateY(-2px); }
.analysis-account-grid > a > header { display: flex; align-items: center; gap: 9px; padding: 10px 11px 8px; }
.analysis-account-grid > a > header > div { min-width: 0; flex: 1; }
.analysis-account-grid > a > header strong,
.analysis-account-grid > a > header small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.analysis-account-grid > a > header strong { font-size: 9px; }
.analysis-account-grid > a > header small { margin-top: 3px; color: #5d6d88; font-size: 7px; }
.analysis-account-grid > a > header > img { width: 11px; height: 11px; filter: invert(62%) sepia(81%) saturate(3066%) hue-rotate(229deg) brightness(105%); }
.analysis-account-grid dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid #192741; border-bottom: 1px solid #192741; }
.analysis-account-grid dl div { min-width: 0; padding: 8px 10px; }
.analysis-account-grid dl div:not(:last-child) { border-right: 1px solid #192741; }
.analysis-account-grid dt { color: #5c6c86; font-size: 6px; }
.analysis-account-grid dd { margin: 3px 0 0; overflow: hidden; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.analysis-account-spark { height: 38px; display: block; padding: 4px 10px 7px; }

@media (max-width: 1260px) {
  .team-pulse { grid-template-columns: minmax(0, 1fr) 280px; }
  .pulse-metric { padding-left: 12px; padding-right: 12px; }
  .pulse-metric > img { display: none; }
  .pulse-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-pulse-ribbon { grid-template-columns: repeat(3, 1fr); }
  .profile-trend { grid-column: span 3; border-top: 1px solid #28405f; border-left: 0; }
  .detail-dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-side-stack { grid-template-columns: 1fr 1fr; }
  .twitter-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .analysis-overview-grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); }
  .analysis-kpi-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .team-pulse { grid-template-columns: 1fr; }
  .team-trend { border-top: 1px solid #283a5c; border-left: 0; }
  .pulse-metrics { grid-template-columns: repeat(2, 1fr); }
  .people-controls { align-items: stretch; flex-direction: column; }
  .people-control-actions { justify-content: flex-end; }
  .people-search { width: min(360px, 100%); }
  .profile-actions,
  .account-command-actions { align-items: flex-end; flex-direction: column; }
  .account-insight-grid { grid-template-columns: 1fr; }
  .account-insight-side { grid-template-columns: 1fr 1fr; }
  .performance-table,
  .account-data-table { overflow-x: auto; }
  .performance-head,
  .performance-row { min-width: 820px; }
  .account-table-head,
  .account-data-row { min-width: 720px; }
  .twitter-card-grid,
  .platform-summary-grid,
  .analysis-account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analysis-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .people-page,
  .pulse-detail-page { padding: 22px 16px 48px; }
  .people-sidebar .brand-icon { width: 36px; height: 36px; }
  .pulse-page-header,
  .profile-command-head,
  .account-command-head { align-items: flex-start; flex-direction: column; }
  .pulse-sync { align-self: stretch; overflow-x: auto; }
  .pulse-people-grid { grid-template-columns: 1fr; }
  .sort-tabs { overflow-x: auto; }
  .sort-tabs button { flex: none; }
  .people-control-actions { justify-content: stretch; }
  .people-search { flex: 1; }
  .profile-actions,
  .account-command-actions { width: 100%; margin-left: 0; align-items: center; flex-direction: row; flex-wrap: wrap; }
  .profile-pulse-ribbon,
  .account-pulse-ribbon { grid-template-columns: repeat(2, 1fr); }
  .profile-trend { grid-column: span 2; }
  .detail-side-stack,
  .account-insight-side { grid-template-columns: 1fr; }
  .account-chart-stage { height: 280px; }
  .chart-summary-strip { grid-template-columns: repeat(2, 1fr); }
  .analysis-command { align-items: flex-start; flex-direction: column; }
  .analysis-command-actions { width: 100%; justify-content: space-between; }
  .analysis-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .twitter-card-grid,
  .platform-summary-grid,
  .analysis-account-grid { grid-template-columns: 1fr; }
  .analysis-chart-stage { height: 240px; }
}

@media (max-width: 480px) {
  .pulse-metrics { grid-template-columns: 1fr 1fr; }
  .pulse-metric strong { font-size: 19px; }
  .pulse-person-head { padding-right: 10px; }
  .data-state { max-width: 95px; }
  .person-metric-grid { grid-template-columns: repeat(3, 1fr); row-gap: 10px; }
  .person-metric-grid div:nth-child(3) { border-right: 0; }
  .profile-pulse-ribbon,
  .account-pulse-ribbon { grid-template-columns: repeat(2, 1fr); }
  .profile-trend { grid-column: span 2; }
}
