/* Stats and Reports on phones (768px and below): range tabs, summary, jobs, desktop banner */

@media (max-width: 1023px) {
  body[data-mobile-nav="company"][data-phone-screen="stats"] .main-container {
    background: #f3f4f6;
  }
}

.ccp-stats {
  position: relative;
  padding: 14px var(--ccp-gutter) 12px;
  color: var(--ccp-text);
}

@media (min-width: 640px) {
  .ccp-stats {
    padding-top: 20px;
  }
}

.ccp-stats [hidden] {
  display: none !important;
}

.ccp-stats .ccp-stats-sr,
.ccp-stats-sheet .ccp-stats-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ccp-stats button,
.ccp-stats-sheet button {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  touch-action: manipulation;
}

.ccp-stats ul,
.ccp-stats-sheet ul,
.ccp-stats dl,
.ccp-stats-sheet dl,
.ccp-stats dd,
.ccp-stats-sheet dd {
  margin: 0;
  padding: 0;
}

.ccp-stats ul,
.ccp-stats-sheet ul {
  list-style: none;
}

/* Numbers that shrink to fit their box (--ccp-stats-len is the character count) */

.ccp-stats-fit {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-stats-h1 {
  font-size: 1.76rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ccp-text);
}

/* Sticky range tabs */

.ccp-stats .ccp-stats-bar {
  margin: 14px calc(var(--ccp-gutter) * -1) 0;
  padding: 10px var(--ccp-gutter) 12px;
  background: rgba(243, 244, 246, 0.97);
}

.ccp-stats-tabs {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: #e5e7eb;
}

.ccp-stats-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  padding: 0 6px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 1.24rem;
  font-weight: 500;
  line-height: normal;
  color: #4b5563;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ccp-stats-tab[aria-selected="true"] {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  font-weight: 700;
  color: #111827;
}

.ccp-stats .ccp-stats-tab:focus-visible {
  outline-offset: -2px;
}

/* Sections */

.ccp-stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 6px;
  align-items: start;
}

/* Summary card */

.ccp-stats-hero {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 20px 20px 18px;
  border-radius: 24px;
  background: radial-gradient(130% 120% at 100% 0%, rgba(99, 234, 113, 0.28), rgba(99, 234, 113, 0) 55%), #0a0f1a;
  color: #ffffff;
  box-shadow: 0 18px 40px -22px rgba(10, 15, 26, 0.7);
  container-type: inline-size;
}

.ccp-stats .ccp-stats-hero:focus-visible {
  outline-offset: 3px;
}

.ccp-stats-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ccp-stats-hero-label {
  min-width: 0;
  font-size: 0.968rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.ccp-stats-hero-count {
  flex-shrink: 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.814rem;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}

.ccp-stats .ccp-stats-hero-num {
  margin-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 2.97rem;
  font-size: min(2.97rem, calc(100cqi / (var(--ccp-stats-len, 6) * 0.62)));
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.ccp-stats-spark {
  display: block;
  width: calc(100% + 40px);
  height: 70px;
  margin: 10px -20px 0;
}

.ccp-stats .ccp-stats-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ccp-stats-tile {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  container-type: inline-size;
}

.ccp-stats-tile dt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.814rem;
  color: rgba(255, 255, 255, 0.65);
}

.ccp-stats .ccp-stats-tile dd {
  margin-top: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.232rem;
  font-size: min(1.232rem, calc(100cqi / (var(--ccp-stats-len, 6) * 0.62)));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
}

.ccp-stats .ccp-stats-tile dd.is-rate {
  color: #63ea71;
}

@media (max-width: 339px) {
  .ccp-stats-tile {
    padding: 9px 8px;
  }

  .ccp-stats-tile dt {
    font-size: 0.75rem;
  }
}

/* Jobs */

.ccp-stats-card {
  min-width: 0;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px -20px rgba(15, 23, 42, 0.25);
}

.ccp-stats-card-title {
  font-size: 1.21rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #111827;
}

.ccp-stats .ccp-stats-jobs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.ccp-stats-job {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
  text-align: left;
  color: #1a1a2e;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.ccp-stats-job:active {
  transform: scale(0.99);
}

.ccp-stats-job.is-active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.03));
  border-color: rgba(34, 197, 94, 0.22);
}

.ccp-stats-job.is-closed {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.03));
  border-color: rgba(239, 68, 68, 0.22);
}

.ccp-stats-job-title {
  display: block;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.ccp-stats-job-figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ccp-stats-job-fig {
  display: block;
  min-width: 0;
  container-type: inline-size;
}

.ccp-stats-job-v {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.02rem;
  font-size: min(1.02rem, calc(100cqi / (var(--ccp-stats-len, 6) * 0.62)));
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}

.ccp-stats-job-l {
  display: block;
  font-size: 0.78rem;
  line-height: 1.3;
  color: #4b5563;
  overflow-wrap: anywhere;
}

.ccp-stats-more {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  font-size: 1.24rem;
  font-weight: 650;
  color: #1a1a2e;
  cursor: pointer;
}

/* Desktop banner */

.ccp-stats-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99, 234, 113, 0.14), rgba(99, 234, 113, 0.04));
  border: 1px solid rgba(39, 176, 121, 0.28);
}

.ccp-stats-banner-title {
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #08493c;
}

.ccp-stats .ccp-stats-banner-sub {
  margin-top: 4px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #374151;
}

/* No live jobs yet */

.ccp-stats-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 48px 22px 40px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px -20px rgba(15, 23, 42, 0.25);
  text-align: center;
}

.ccp-stats-empty-art {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
}

.ccp-stats-empty-art span {
  width: 18px;
  border-radius: 6px;
  background: #eef0f3;
}

.ccp-stats-empty-art span:nth-child(1) {
  height: 28px;
}

.ccp-stats-empty-art span:nth-child(2) {
  height: 46px;
  background: #e5e7eb;
}

.ccp-stats-empty-art span:nth-child(3) {
  height: 36px;
}

.ccp-stats-empty-art span:nth-child(4) {
  height: 64px;
  background: linear-gradient(180deg, #63ea71, #27b079);
}

.ccp-stats-empty-art span:nth-child(5) {
  height: 52px;
  background: #e5e7eb;
}

.ccp-stats-empty-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #111827;
}

.ccp-stats .ccp-stats-empty-sub {
  max-width: 300px;
  margin-top: -8px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #4b5563;
}

.ccp-stats-empty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  min-height: 52px;
  margin-top: 6px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--ccp-brand), var(--ccp-brand-2));
  font-size: 1.127rem;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
}

.ccp-stats-empty-btn:active {
  transform: scale(0.98);
}

.ccp-stats-empty-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: default;
}

.ccp-stats-empty-btn[aria-disabled="true"]:active {
  transform: none;
}

/* Locked while the company is under review (desktop's banner and dimmed card) */

.ccp-stats .ccp-stats-review {
  margin: 0 0 16px;
}

.ccp-stats .ccp-stats-dim {
  pointer-events: none;
  opacity: 0.5;
  filter: grayscale(0.35);
  cursor: not-allowed;
  user-select: none;
}

.ccp-stats .ccp-stats-dim .ccp-stats-empty-btn[aria-disabled="true"] {
  opacity: 1;
}

/* Job sheet */

/* Head: the title row (44px, the close button at its end) under the grabber. */
.ccp-stats-sheet .v-bs-body > .ccp-sheet-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: 54px;
  padding: 0 60px 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ccp-stats-sheet .v-bs-close.v-action-btn,
.ccp-stats-sheet .v-bs-close.v-action-btn:hover {
  top: 22px;
  right: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #374151;
  transform: none;
}

.ccp-stats-sheet .v-bs-close .v-action-btn-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.ccp-stats-sheet .ccp-sheet-title {
  font-size: 1.43rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-stats-sheet .ccp-sheet-sub {
  margin-top: 1px;
  font-size: 0.88rem;
  line-height: normal;
  color: #4b5563;
}

.ccp-stats-sheet .v-bs-body > .ccp-sheet-content {
  padding: 12px 16px calc(18px + var(--ccp-safe-b));
}

.ccp-stats-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ccp-stats-kpi {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  container-type: inline-size;
}

.ccp-stats-kpi dt {
  font-size: 0.836rem;
  color: #6b7280;
}

.ccp-stats-sheet .ccp-stats-kpi dd {
  margin-top: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.32rem;
  font-size: min(1.32rem, calc(100cqi / (var(--ccp-stats-len, 6) * 0.62)));
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a2e;
}

.ccp-stats-sheet .ccp-stats-funnel-h {
  margin-top: 16px;
  font-size: 0.858rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.ccp-stats-sheet .ccp-stats-funnel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.ccp-stats-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ccp-stats-step-l {
  flex-shrink: 0;
  width: 84px;
  font-size: 0.946rem;
  font-weight: 600;
  color: #1a1a2e;
}

.ccp-stats-step-bar {
  flex: 1 1 auto;
  min-width: 0;
  height: 18px;
  border-radius: 6px;
  background: #f3f4f6;
  overflow: hidden;
}

.ccp-stats-step-bar > span {
  display: block;
  height: 100%;
  border-radius: 6px;
}

.ccp-stats-step-n {
  flex-shrink: 0;
  min-width: 32px;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.924rem;
  font-weight: 700;
  color: #1a1a2e;
}

.ccp-stats-open {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 0.85rem;
  border: none;
  background: #0a0f1a;
  font-size: 1.24rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .ccp-stats-tab,
  .ccp-stats-job,
  .ccp-stats-sheet .v-bs-sheet,
  .ccp-stats-sheet .v-bs-backdrop {
    transition: none;
  }

  .ccp-stats-job:active,
  .ccp-stats-empty-btn:active {
    transform: none;
  }
}

/* ---------- Header (title, and Download Report on tablets) ---------- */

.ccp-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ccp-stats-head .ccp-stats-h1 {
  min-width: 0;
}

/* ---------- Tablets (769px to 1023px): every chart, as the design lays it out ---------- */

.ccp-stats-dl {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  font-size: 1.24rem;
  font-weight: 650;
  color: #1a1a2e;
  white-space: nowrap;
  cursor: pointer;
}

.ccp-stats-dl svg {
  flex-shrink: 0;
}

@media (min-width: 769px) and (max-width: 1023px) {
  .ccp-stats {
    padding-bottom: 32px;
  }

  .ccp-stats .ccp-stats-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (min-width: 900px) and (max-width: 1023px) {
  .ccp-stats[data-layout="tablet"] .ccp-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ccp-stats-hero,
.ccp-stats .ccp-st-label,
.ccp-stats .ccp-st-wide {
  grid-column: 1 / -1;
}

/* Job picker */

.ccp-stats-pick {
  position: relative;
}

.ccp-stats-pick-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 14px 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.ccp-stats-pick-btn.is-on {
  border-color: rgba(99, 234, 113, 0.55);
  background: rgba(99, 234, 113, 0.12);
}

.ccp-stats-pick-btn svg {
  flex-shrink: 0;
}

.ccp-stats-pick-l {
  font-size: 0.902rem;
  color: #6b7280;
}

.ccp-stats-pick-v {
  flex: 1;
  min-width: 0;
  font-size: 1.045rem;
  font-weight: 650;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-stats-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 41;
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.28);
}

.ccp-stats-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: none;
  border-radius: 11px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ccp-stats-opt[aria-selected="true"] {
  background: rgba(99, 234, 113, 0.1);
}

.ccp-stats-opt svg {
  flex-shrink: 0;
}

.ccp-stats-opt-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ccp-stats-opt-l {
  flex: 1;
  min-width: 0;
  font-size: 1.034rem;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-stats-opt[aria-selected="true"] .ccp-stats-opt-l {
  font-weight: 700;
}

/* Group labels */

.ccp-stats .ccp-st-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 4px -4px;
  font-size: 0.858rem;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4b5563;
}

.ccp-st-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Card heads */

.ccp-st-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ccp-st-head-main {
  min-width: 0;
}

.ccp-st-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ccp-st-ic {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccp-stats .ccp-st-sub {
  margin-top: 3px;
  font-size: 0.946rem;
  line-height: 1.45;
  color: #6b7280;
}

.ccp-st-sub strong {
  font-weight: 650;
  color: #111827;
}

.ccp-st-right {
  flex-shrink: 0;
  text-align: right;
}

.ccp-st-right-v {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.43rem;
  font-weight: 700;
  color: #1a1a2e;
}

.ccp-st-right-v.is-green {
  color: #16a34a;
}

.ccp-st-right-l {
  font-size: 0.814rem;
  color: #6b7280;
}

.ccp-st-right.is-big .ccp-st-right-v {
  font-size: 1.65rem;
}

.ccp-st-right.is-big .ccp-st-right-l {
  font-size: 0.836rem;
}

.ccp-st-rate {
  flex-shrink: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.32rem;
  font-weight: 700;
  color: #16a34a;
}

/* Job Portfolio */

.ccp-st-pf-bar {
  display: flex;
  height: 10px;
  gap: 4px;
  margin-top: 16px;
}

.ccp-st-pf-bar span {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 0.9s ease;
}

.ccp-stats[data-anim="1"] .ccp-st-pf-bar span {
  width: var(--w);
}

.ccp-st-pf-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ccp-st-pf-tile {
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
  background: #f8f9fa;
}

.ccp-stats .ccp-st-pf-l {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.924rem;
  color: #4b5563;
}

.ccp-st-pf-l span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ccp-stats .ccp-st-pf-pct {
  margin-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.485rem;
  font-weight: 700;
}

.ccp-stats .ccp-st-pf-n {
  font-size: 0.836rem;
  color: #6b7280;
}

/* Apply Rate */

.ccp-st-gauge {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 18px auto 0;
}

.ccp-st-gauge svg {
  display: block;
  overflow: visible;
}

.ccp-st-gauge-fg {
  stroke-dasharray: var(--dash0);
  transition: stroke-dasharray 1s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.ccp-stats[data-anim="1"] .ccp-st-gauge-fg {
  stroke-dasharray: var(--dash);
}

.ccp-st-gauge-v {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ccp-st-gauge-v span {
  font-family: "JetBrains Mono", monospace;
  font-size: 2.64rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #16a34a;
}

/* Applicant Engagement and Candidate Tiers rows */

.ccp-st-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.ccp-st-eng,
.ccp-st-tier {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  background: #f8f9fa;
  text-align: left;
  color: #1a1a2e;
  cursor: pointer;
}

.ccp-st-eng-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ccp-st-eng-top svg {
  flex-shrink: 0;
}

.ccp-st-eng-l {
  flex: 1;
  font-size: 1.045rem;
  font-weight: 650;
}

.ccp-st-eng-v {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.21rem;
  font-weight: 700;
}

.ccp-st-eng-bot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.ccp-st-track {
  flex: 1;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e9eaee;
  overflow: hidden;
}

.ccp-st-track > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 0.9s ease;
}

.ccp-stats[data-anim="1"] .ccp-st-track > span,
.ccp-st-tier .ccp-st-track > span {
  width: var(--w);
}

.ccp-st-eng-pct {
  width: 52px;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.902rem;
  font-weight: 600;
  color: #4b5563;
}

.ccp-st-tier-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ccp-st-tier-l {
  font-size: 1.078rem;
  font-weight: 750;
}

.ccp-st-tier-r {
  flex: 1;
  font-size: 0.88rem;
  color: #6b7280;
}

.ccp-st-tier-n {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.99rem;
  font-weight: 700;
}

.ccp-st-tier .ccp-st-track {
  margin-top: 10px;
}

/* Charts for Pro: blurred under the Upgrade to Pro card */

.ccp-st-gate {
  position: relative;
  margin-top: 16px;
}

.ccp-st-blur {
  filter: blur(6px);
  pointer-events: none;
}

.ccp-st-lock {
  position: absolute;
  inset: -6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.ccp-st-lock-ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #63ea71, #4fd85f);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccp-stats .ccp-st-lock-t {
  font-size: 1.1rem;
  font-weight: 750;
  color: #111827;
}

.ccp-stats .ccp-st-lock-s {
  max-width: 300px;
  font-size: 0.924rem;
  line-height: 1.45;
  color: #4b5563;
}

.ccp-st-lock-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 0.8rem;
  border: none;
  background: #0a0f1a;
  color: #ffffff;
  font-size: 1.24rem;
  font-weight: 700;
  cursor: pointer;
}

/* Legends */

.ccp-st-legend {
  display: flex;
  gap: 8px;
}

.ccp-st-legend--wrap {
  flex-wrap: wrap;
}

.ccp-st-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
}

.ccp-st-sw-line {
  width: 12px;
  height: 3px;
  border-radius: 2px;
}

.ccp-st-sw-box {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* Views vs Applications */

.ccp-st-supply {
  display: block;
  margin-top: 12px;
  overflow: visible;
}

/* Hiring Funnel by Month */

.ccp-st-cliff {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 170px;
  margin-top: 16px;
}

.ccp-st-cliff-col {
  flex: 1 1 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.ccp-st-cliff-bar {
  width: 100%;
  max-width: 22px;
  height: 0;
  display: flex;
  flex-direction: column-reverse;
  border-radius: 6px;
  overflow: hidden;
  transition: height 0.7s ease;
}

.ccp-stats[data-anim="1"] .ccp-st-cliff-bar {
  height: var(--h);
}

.ccp-st-cliff-m {
  font-size: 0.726rem;
  color: #6b7280;
}

/* Application Velocity */

.ccp-st-vel {
  position: relative;
  height: 150px;
  margin-top: 14px;
}

.ccp-st-vel svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ccp-st-vel-hit {
  cursor: pointer;
}

.ccp-st-vel-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #27b079;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.ccp-stats .ccp-st-cap {
  margin-top: 10px;
  font-size: 0.946rem;
  color: #6b7280;
}

.ccp-stats .ccp-st-cap.is-on {
  color: #111827;
}

/* Application Activity */

.ccp-st-heat {
  overflow-x: auto;
  margin: 14px -20px 0;
  padding: 0 20px 4px;
  scrollbar-width: none;
}

.ccp-st-heat::-webkit-scrollbar {
  display: none;
}

.ccp-st-heat-in {
  width: max-content;
}

.ccp-st-heat-months {
  display: grid;
  grid-template-columns: repeat(52, 16px);
  gap: 4px;
  height: 18px;
  font-size: 0.726rem;
  color: #6b7280;
}

.ccp-st-heat-months span {
  white-space: nowrap;
  overflow: visible;
}

.ccp-st-heat-cells {
  display: grid;
  grid-template-rows: repeat(7, 16px);
  grid-auto-flow: column;
  grid-auto-columns: 16px;
  gap: 4px;
  margin-top: 4px;
}

.ccp-st-heat-cells span {
  border-radius: 4px;
  cursor: pointer;
}

.ccp-st-heat-cells span.is-on {
  box-shadow: 0 0 0 2px #1a1a2e;
}

.ccp-st-heat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.ccp-stats .ccp-st-heat-foot .ccp-st-cap {
  margin-top: 0;
  font-size: 0.924rem;
}

.ccp-st-heat-leg {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.792rem;
  color: #6b7280;
}

.ccp-st-heat-leg span {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* Match Score Distribution */

.ccp-st-boxes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ccp-st-box {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  color: #1a1a2e;
  cursor: pointer;
}

.ccp-st-box.is-open {
  background: #f6f7f9;
}

.ccp-st-box-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.ccp-st-box-t {
  min-width: 0;
  font-size: 1.012rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-st-box-m {
  flex-shrink: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.902rem;
  color: #4b5563;
}

.ccp-st-box-track {
  position: relative;
  display: block;
  height: 22px;
  margin-top: 10px;
  border-radius: 999px;
  background: #f3f4f6;
}

.ccp-st-box-iqr {
  position: absolute;
  top: 3px;
  height: 16px;
  border-radius: 999px;
  background: rgba(99, 234, 113, 0.35);
}

.ccp-st-box-med {
  position: absolute;
  top: 1px;
  width: 3px;
  height: 20px;
  border-radius: 2px;
  background: #16a34a;
}

.ccp-st-box-d {
  display: block;
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  color: #374151;
}

/* Candidate Pipeline Flow */

.ccp-st-sankey {
  display: block;
}

/* People sheet */

.ccp-st-person {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 8px 2px;
  border: none;
  border-bottom: 1px solid #f1f2f4;
  background: transparent;
  text-align: left;
  color: #1a1a2e;
  cursor: pointer;
}

.ccp-st-av {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.ccp-st-av img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ccp-st-person-txt {
  flex: 1;
  min-width: 0;
}

.ccp-st-person-n {
  display: block;
  font-size: 1.045rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-st-person-j {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-st-score {
  flex-shrink: 0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.836rem;
  font-weight: 700;
  color: #ffffff;
}

.ccp-stats-sheet .ccp-st-nobody {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.99rem;
  color: #6b7280;
}

/* Download Report sheet */

.ccp-st-dl-meta,
.ccp-st-dl-fmts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ccp-st-dl-tile {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ccp-stats-sheet .ccp-st-dl-k {
  font-size: 0.814rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.ccp-stats-sheet .ccp-st-dl-v {
  margin-top: 4px;
  font-size: 1.045rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-stats-sheet .ccp-st-dl-h {
  margin-top: 18px;
}

.ccp-st-dl-fmts {
  margin-top: 8px;
}

.ccp-st-dl-fmt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.ccp-st-dl-fmt[aria-pressed="true"] {
  border-color: rgba(39, 176, 121, 0.6);
  background: rgba(99, 234, 113, 0.08);
}

.ccp-st-dl-tag {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.726rem;
  font-weight: 700;
  color: #4b5563;
}

.ccp-st-dl-fmt[aria-pressed="true"] .ccp-st-dl-tag {
  background: #0a0f1a;
  color: #63ea71;
}

.ccp-st-dl-ftxt {
  min-width: 0;
}

.ccp-st-dl-fl {
  display: block;
  font-size: 1.045rem;
  font-weight: 700;
  color: #111827;
}

.ccp-st-dl-fh {
  display: block;
  font-size: 0.836rem;
  color: #6b7280;
}

.ccp-st-dl-secs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.ccp-st-dl-sec {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.ccp-st-dl-sec[aria-checked="true"] {
  border-color: rgba(99, 234, 113, 0.45);
  background: rgba(99, 234, 113, 0.06);
}

.ccp-st-dl-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccp-st-dl-sec[aria-checked="true"] .ccp-st-dl-box {
  border-color: #27b079;
  background: #63ea71;
}

.ccp-st-dl-sl {
  flex: 1;
  font-size: 1.034rem;
  font-weight: 600;
  color: #111827;
}

.ccp-st-dl-go {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 0.85rem;
  border: none;
  background: linear-gradient(135deg, #63ea71, #4fd85f);
  font-size: 1.24rem;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
}

.ccp-st-dl-go.is-off {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: default;
}

.ccp-st-spin {
  flex-shrink: 0;
  animation: ccpStSpin 0.54s linear infinite;
}

@keyframes ccpStSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccp-st-pf-bar span,
  .ccp-st-gauge-fg,
  .ccp-st-track > span,
  .ccp-st-cliff-bar {
    transition: none;
  }

  .ccp-st-spin {
    animation: none;
  }
}
