:root {
  color-scheme: dark;
  --bg: #0e1216;
  --panel: #141b22;
  --panel-elevated: #1b232c;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --line: #263241;
  --accent: #3b82f6;
  --green: #2dd4bf;
  --yellow: #facc15;
  --red: #f87171;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --brand-primary: #1d7b98;
  --brand-secondary: #577979;
  --brand-text: #ffffff;
}

body.theme-light {
  color-scheme: light;
  --bg: #f5f7fa;
  --panel: #ffffff;
  --panel-elevated: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #d0d5dd;
  --green: #15803d;
  --yellow: #b45309;
  --red: #b91c1c;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --brand-secondary: #4b5563;
  --brand-text: #1f2937;
}

body.theme-light {
  background: var(--bg);
  color: var(--text);
}

body.theme-light .topbar {
  background: rgba(245, 247, 250, 0.95);
  border-bottom: 1px solid var(--line);
}

body.theme-light .nav-toggle {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-light .site-nav__backdrop {
  background: rgba(31, 41, 55, 0.2);
}

body.theme-light .site-nav__panel {
  background: var(--panel);
  border-left: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

body.theme-light .site-nav__list a {
  background: #ffffff;
  border: 1px solid var(--line);
}

body.theme-light .site-nav__list a:hover {
  border-color: var(--brand-primary);
}

body.theme-light .report-hero__panel {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

body.theme-light .report-hero__panel::after {
  background: radial-gradient(circle at top left, rgba(29, 123, 152, 0.08), transparent 45%);
}

body.theme-light .report-flow {
  background: #ffffff;
  border: 1px solid var(--line);
}

body.theme-light .report-flow::before {
  background: linear-gradient(90deg, rgba(29, 123, 152, 0.25), rgba(87, 121, 121, 0.1), transparent);
}

body.theme-light .report-intel {
  background: #ffffff;
  border: 1px solid var(--line);
}

body.theme-light .input--search {
  border-color: var(--line);
  box-shadow: none;
}

body.theme-light .input--search:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(29, 123, 152, 0.12);
}

body.theme-light .breakout-overlay {
  background: rgba(15, 23, 42, 0.25);
}

body.theme-light .breakout-shell {
  background: #ffffff;
  border: 1px solid var(--line);
}

body.theme-light .easter-egg-btn {
  background: #ffffff;
  color: var(--muted);
  border-color: var(--line);
}

body.theme-light .easter-egg-btn:hover {
  color: var(--text);
  border-color: var(--brand-primary);
  background: #f8fafc;
}

body.theme-light .dashboard-panel__divider {
  background: var(--line);
}

body.theme-light .weekly-ops-module {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

body.theme-light .weekly-ops-card {
  background: #f8fafc;
  border-color: var(--line);
  color: var(--text);
}

body.theme-light .weekly-ops-card__label {
  color: var(--muted);
}

body.theme-light .weekly-ops-card__value {
  color: var(--text);
}

body.theme-light .weekly-submit--interactive {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

body.theme-light .task-rail__check {
  border-color: var(--line);
  color: var(--muted);
}

body.theme-light .task-rail__check:hover {
  border-color: var(--brand-primary);
  color: var(--text);
}

body.theme-light .client-card {
  background: #ffffff;
  border-color: var(--line);
}

body.theme-light .client-card__header {
  background: rgba(29, 123, 152, 0.18);
  border-bottom-color: var(--line);
}

body.theme-light .client-card__title {
  color: var(--text);
  text-shadow: none;
}

body.theme-light .client-crf-status {
  border-color: var(--line);
  color: var(--muted);
  background: #f3f4f6;
}

body.theme-light .job-card {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

body.theme-light .job-card__header {
  background: #f8fafc;
  border-bottom-color: var(--line);
}

body.theme-light .job-card__title {
  color: var(--text);
}

body.theme-light .job-card__sub {
  color: var(--muted);
}

body.theme-light .job-card__status-toggle {
  background: #ffffff;
  border-color: var(--line);
  color: var(--muted);
}

body.theme-light .job-card__status-toggle:hover {
  color: var(--text);
  border-color: var(--brand-primary);
}

body.theme-light .job-card__icon {
  color: var(--muted);
}

body.theme-light .job-card__icon:hover {
  color: var(--text);
}

body.theme-light .job-card__action {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

body.theme-light .job-card__action svg {
  color: var(--text);
}

body.theme-light .job-card__icon {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
  opacity: 1;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.theme-light .job-card__close,
body.theme-light .job-card__toggle {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

body.theme-light .candidate-row {
  border-bottom-color: var(--line);
}

body.theme-light .candidate-row:not(.candidate-row--header):nth-child(even) {
  background: #f9fafb;
}

body.theme-light .candidate-row--inline {
  background: #f9fafb;
  border-color: var(--line);
}

body.theme-light .inline-input {
  background: #ffffff;
  color: var(--text);
}

body.theme-light .funnel-row {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

body.theme-light .funnel-row__title {
  color: var(--text);
}

body.theme-light .table thead th {
  background: #f8fafc;
  color: var(--muted);
}

body.theme-light .stage-tiles {
  background: transparent;
}

body.theme-light .stage-tile {
  background: #f8fafc;
  border-color: var(--line);
}

body.theme-light .stage-tile__label {
  color: var(--muted);
}

body.theme-light .stage-tile__value {
  color: var(--text);
}

body.theme-light .stacked-bar {
  background: #f3f4f6;
  border-color: var(--line);
}

body.theme-light .stage-select {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-light .stage-select:focus {
  outline-color: rgba(29, 123, 152, 0.25);
}

body.theme-light .stage-static--no-submits {
  border-color: rgba(185, 28, 28, 0.6);
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.12);
  animation: no-submits-pulse 1.6s ease-in-out infinite;
}

body.theme-light .notes-display {
  color: var(--text);
}

body.theme-light .notes-display--placeholder {
  color: var(--muted);
}

body.theme-light .notes-input {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-light .notes-type {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-light .notes-history {
  border-top-color: var(--line);
}

body.theme-light .notes-history__meta {
  color: var(--muted);
}

body.theme-light .notes-history__text {
  color: var(--text);
}

body.theme-light .notes-drawer__backdrop {
  background: rgba(31, 41, 55, 0.2);
}

body.theme-light .notes-drawer__panel {
  background: #ffffff;
  color: var(--text);
  border-left-color: var(--line);
}

body.theme-light .notes-drawer__subtitle {
  color: var(--muted);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
  background: radial-gradient(circle at top, #1c2734, #0c1117 55%);
  color: var(--text);
  min-height: 100vh;
}

.page {
  padding: 12px 24px 20px;
}

.report-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.report-hero__panel {
  background: linear-gradient(145deg, rgba(17, 24, 32, 0.96), rgba(25, 35, 44, 0.98));
  border: 1px solid rgba(87, 121, 121, 0.35);
  border-radius: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.report-hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(29, 123, 152, 0.15), transparent 45%);
  pointer-events: none;
}

.report-hero__funnel,
.report-hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-hero__panel .panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.report-hero__panel .dashboard-panel__header {
  margin-bottom: 10px;
}

.report-flow {
  position: relative;
  margin-top: -6px;
  background: linear-gradient(180deg, rgba(20, 28, 36, 0.9), rgba(16, 22, 30, 0.7));
  border: 1px solid rgba(38, 50, 65, 0.7);
}

.report-flow::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 18px;
  right: 18px;
  height: 12px;
  background: linear-gradient(90deg, rgba(29, 123, 152, 0.35), rgba(87, 121, 121, 0.15), transparent);
  border-radius: 999px;
}

.report-flow .candidate-job,
.report-flow .job-notes {
  content-visibility: auto;
  contain-intrinsic-size: 480px;
}

.report-intel {
  background: linear-gradient(140deg, rgba(14, 19, 25, 0.9), rgba(18, 25, 33, 0.85));
  border: 1px solid rgba(38, 50, 65, 0.55);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 17, 23, 0.92);
  border-bottom: 1px solid rgba(115, 176, 183, 0.25);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  flex: 1;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(115, 176, 183, 0.35);
  background: rgba(12, 17, 23, 0.8);
  color: var(--brand-text);
  font-size: 18px;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: rgba(115, 176, 183, 0.6);
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.site-nav.is-open {
  display: block;
}

.site-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 14, 0.6);
}

.site-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: var(--panel);
  border-left: 1px solid rgba(38, 50, 65, 0.8);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.2s ease;
}

.site-nav.is-open .site-nav__panel {
  transform: translateX(0);
}

.site-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-nav__title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}

.site-nav__close {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.site-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-nav__list a {
  text-decoration: none;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(16, 22, 30, 0.7);
  border: 1px solid rgba(38, 50, 65, 0.6);
  display: block;
}

.site-nav__list a:hover {
  border-color: rgba(115, 176, 183, 0.5);
}

.site-nav__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.site-nav__theme-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}

.site-nav__theme-select {
  width: 100%;
}

.logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  opacity: 0.85;
}

.logo-subtitle {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfe9f2;
  line-height: 1;
  margin-top: -2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-primary);
}

.brand__subtitle {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--brand-secondary);
  letter-spacing: 0.18em;
}

.topbar__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.topbar-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-controls--stacked {
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.control-zone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-zone--filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-zone--actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.control-zone--actions .btn {
  height: 36px;
  padding: 8px 14px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--brand-secondary);
  align-items: flex-start;
}

.filter-field label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.control {
  background: var(--panel);
  color: var(--brand-text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  min-width: 170px;
  font-size: 14px;
}

.control::placeholder {
  color: var(--brand-secondary);
}

.control:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.control--search {
  min-width: 260px;
}

@media (max-width: 1400px) {
  .topbar {
    padding: 10px 18px;
  }

  .topbar-controls--stacked {
    gap: 10px;
  }

  .control-zone--actions {
    gap: 8px;
  }

  .input--search {
    min-width: 320px;
  }

  .control {
    min-width: 150px;
    padding: 9px 10px;
  }
}

.input {
  background: var(--panel);
  color: var(--brand-text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

.input::placeholder {
  color: var(--brand-secondary);
}

.input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.input--search {
  min-width: 420px;
  padding: 12px 14px;
  border-radius: 10px;
  border-color: rgba(115, 176, 183, 0.3);
}

.input--search:focus {
  border-color: rgba(29, 123, 152, 0.8);
  box-shadow: 0 0 0 2px rgba(29, 123, 152, 0.2);
}

.btn {
  background: var(--brand-primary);
  border: none;
  color: #f8fafc;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pending-status-select {
  font-weight: 600;
}

.pending-status--green {
  border-color: rgba(34, 197, 94, 0.7);
  background: #16a34a;
  color: #ffffff;
}

.pending-status--yellow {
  border-color: rgba(250, 204, 21, 0.7);
  background: #eab308;
  color: #ffffff;
}

.pending-status--red {
  border-color: rgba(248, 113, 113, 0.7);
  background: #dc2626;
  color: #ffffff;
}

.pending-recruiter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pending-recruiter__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(87, 121, 121, 0.35);
}

.easter-egg-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(87, 121, 121, 0.35);
  background: rgba(12, 17, 23, 0.35);
  color: rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.easter-egg-btn svg {
  width: 18px;
  height: 18px;
}

.easter-egg-btn:hover {
  color: rgba(125, 211, 252, 0.8);
  border-color: rgba(125, 211, 252, 0.6);
  background: rgba(12, 17, 23, 0.55);
}

.breakout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.breakout-shell {
  background: #0f141b;
  border: 1px solid rgba(38, 50, 65, 0.9);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  width: min(880px, 90vw);
}

.breakout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.breakout-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-primary);
}

.breakout-scoreboard {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 12px;
}

.breakout-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(87, 121, 121, 0.4);
}

.breakout-scoreboard__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-secondary);
}

.breakout-scoreboard__value {
  font-size: 12px;
  color: var(--brand-text);
  font-weight: 600;
}

.breakout-close {
  background: transparent;
  border: 1px solid rgba(87, 121, 121, 0.4);
  color: var(--brand-secondary);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.breakout-canvas {
  width: 100%;
  border-radius: 12px;
  background: #0b0f14;
}

.breakout-help {
  margin-top: 10px;
  font-size: 12px;
  color: var(--brand-secondary);
  text-align: center;
}

.summary {
  display: flex;
  gap: 24px;
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(20, 27, 34, 0.9);
  font-size: 14px;
  color: var(--brand-secondary);
}

.summary__item {
  white-space: nowrap;
}

.main {
  padding: 24px;
}

.dashboard-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(320px, 1fr) minmax(240px, 1fr) minmax(360px, 2fr);
}

.dashboard-left {
  display: grid;
  gap: 20px;
  align-items: start;
}

@media (max-width: 1100px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-left {
    grid-template-columns: 1fr;
  }
}

.dashboard-panel {
  min-height: 240px;
}

.dashboard-panel--velocity {
  min-height: 0;
  grid-column: 1 / -1;
}

.dashboard-panel--expansion {
  min-height: 240px;
}

.dashboard-panel--expansion.dashboard-panel--hidden {
  display: none;
}

.dashboard-panel__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-panel__header--compact {
  margin-bottom: 10px;
}

.dashboard-panel__divider {
  height: 1px;
  margin: 14px 0;
  background: rgba(115, 176, 183, 0.18);
}

.dashboard-panel__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-primary);
}

.dashboard-panel__subtitle {
  font-size: 12px;
  color: var(--brand-secondary);
  margin-top: 4px;
}

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

.workflow-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.workflow-chart {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workflow-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr auto;
  align-items: center;
  gap: 10px;
}

.workflow-bar__label {
  font-size: 12px;
  color: var(--brand-secondary);
}

.workflow-bar__meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.workflow-bar__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.workflow-bar__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(68, 178, 255, 0.45), rgba(68, 178, 255, 0.9));
}

.workflow-bar__value {
  font-size: 12px;
  color: var(--brand-text);
  font-weight: 600;
}

#clientWorkflowSection {
  margin-top: 14px;
}

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

.velocity-bucket {
  --velocity-accent: rgba(148, 163, 184, 0.3);
  background: rgba(12, 17, 23, 0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 90px;
  position: relative;
  overflow: hidden;
}

.velocity-bucket__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.velocity-bucket__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-secondary);
}

.velocity-bucket__count {
  font-size: 34px;
  font-weight: 600;
  color: var(--brand-text);
}

.velocity-bucket__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.velocity-bucket__empty {
  font-size: 12px;
  color: var(--brand-secondary);
  padding: 8px 4px;
}

.velocity-card-mini {
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(15, 23, 32, 0.8);
  border: 1px solid rgba(38, 50, 65, 0.7);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.velocity-card-mini__title {
  font-weight: 600;
  color: var(--brand-text);
  font-size: 13px;
}

.velocity-card-mini__role {
  color: var(--brand-secondary);
  font-size: 12px;
}

.velocity-card-mini__people {
  font-size: 12px;
  color: var(--brand-text);
}

.velocity-card-mini__meta {
  font-size: 12px;
  color: var(--brand-primary);
}

.velocity-bucket--good {
  border-color: rgba(72, 187, 120, 0.4);
  --velocity-accent: rgba(72, 187, 120, 0.35);
}

.velocity-bucket--warn {
  border-color: rgba(250, 204, 21, 0.4);
  --velocity-accent: rgba(250, 204, 21, 0.35);
}

.velocity-bucket--alert {
  border-color: rgba(248, 113, 113, 0.4);
  --velocity-accent: rgba(248, 113, 113, 0.35);
}

@media (max-width: 900px) {
  .velocity-bucket__grid {
    grid-template-columns: 1fr;
  }
}

.velocity-bucket.is-open::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      135deg,
      var(--velocity-accent) 0,
      var(--velocity-accent) 2px,
      transparent 2px,
      transparent 10px
    );
  opacity: 0.15;
  pointer-events: none;
}

.open-jobs-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.line-metric {
  background: rgba(12, 17, 23, 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.line-metric--clickable {
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.line-metric--clickable:hover {
  border-color: rgba(115, 176, 183, 0.6);
  background: rgba(16, 22, 30, 0.7);
  transform: translateY(-1px);
}

.line-metric--open {
  border-color: rgba(115, 176, 183, 0.75);
  background: rgba(16, 22, 30, 0.8);
}

.line-metric__label {
  color: var(--brand-secondary);
  font-size: 13px;
}

.line-metric__value {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-text);
}

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

.recruiter-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 17, 23, 0.45);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
  padding-left: 56px;
}

.recruiter-card:hover {
  border-color: rgba(115, 176, 183, 0.6);
}

.recruiter-card--open {
  border-color: rgba(115, 176, 183, 0.7);
  background: rgba(16, 22, 30, 0.7);
}

.recruiter-card__body {
  display: flex;
  flex-direction: column;
}

.recruiter-block {
  display: flex;
  flex-direction: column;
}

.recruiter-card .recruiter-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b141c;
  border: 3px solid #0b141c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.avatar-wrap {
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.avatar-wrap--detail {
  position: relative;
  left: 0;
  top: 0;
  transform: none;
  margin-right: 10px;
}

.avatar-wrap--task {
  left: -12px;
}

.recruiter-card:hover .recruiter-avatar,
.recruiter-card--open .recruiter-avatar {
  box-shadow:
    0 0 0 1px rgba(64, 178, 255, 0.6),
    0 0 14px rgba(64, 178, 255, 0.25);
}

.recruiter-name {
  font-weight: 600;
  color: var(--brand-text);
}

.recruiter-count {
  font-size: 12px;
  color: var(--brand-secondary);
}

.recruiter-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(12, 17, 23, 0.8);
  transition: max-height 0.28s ease, opacity 0.22s ease, margin-top 0.2s ease,
    border-color 0.2s ease;
}

.recruiter-detail.is-open {
  max-height: 1200px;
  opacity: 1;
  margin-top: 10px;
  border-color: rgba(115, 176, 183, 0.35);
}

.recruiter-detail__inner {
  padding: 16px;
}

.recruiter-expansion {
  margin-top: 12px;
  width: 100%;
  border-top: 2px solid rgba(29, 123, 152, 0.9);
  background: linear-gradient(180deg, rgba(29, 123, 152, 0.08), rgba(12, 17, 23, 0));
  border-radius: 14px;
  padding: 6px 0 0;
}

.recruiter-expansion--inline {
  margin-top: 0;
  border-top: 0;
  padding: 0;
  background: transparent;
}

.recruiter-detail--full {
  width: 100%;
  border-top: 1px solid rgba(115, 176, 183, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.recruiter-detail__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(115, 176, 183, 0.25);
}

.recruiter-detail__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-text);
}

.recruiter-detail__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.recruiter-detail__summary--recruiter {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.recruiter-detail__headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.recruiter-detail__identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recruiter-detail__identity--line {
  align-items: baseline;
}

.recruiter-detail__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b141c;
  border: 3px solid #0b141c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.recruiter-detail__period {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.85);
}

.recruiter-detail__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: 14px;
  align-items: center;
}

.recruiter-detail__metrics--compact {
  grid-template-columns: repeat(3, minmax(64px, 1fr));
}

.recruiter-detail__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recruiter-detail__metric-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-text);
  letter-spacing: 0.02em;
}

.recruiter-detail__metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 0.85);
}

.recruiter-detail__gauge {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  background: rgba(9, 15, 22, 0.6);
  border: 1px solid rgba(38, 50, 65, 0.7);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.recruiter-detail__gauge-ring {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.recruiter-detail__gauge-track {
  fill: none;
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 8;
}

.recruiter-detail__gauge-progress {
  fill: none;
  stroke: rgba(56, 189, 248, 0.8);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: var(--gauge-circ);
  stroke-dashoffset: var(--gauge-circ);
}

.recruiter-detail__gauge-ring.is-animated .recruiter-detail__gauge-progress {
  animation: gauge-fill 700ms ease-out forwards;
}

@keyframes gauge-fill {
  to {
    stroke-dashoffset: var(--gauge-offset);
  }
}

.recruiter-detail__gauge--muted .recruiter-detail__gauge-progress {
  stroke: rgba(94, 234, 212, 0.35);
}

.recruiter-detail__gauge--mid .recruiter-detail__gauge-progress {
  stroke: rgba(56, 189, 248, 0.9);
}

.recruiter-detail__gauge--good .recruiter-detail__gauge-progress {
  stroke: rgba(34, 197, 94, 0.9);
}

.recruiter-detail__gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}

.recruiter-detail__gauge-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-text);
}

.recruiter-detail__gauge-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 0.85);
}

.recruiter-detail__gauge-over {
  font-size: 10px;
  color: rgba(34, 197, 94, 0.9);
}

.recruiter-detail__meta {
  font-size: 12px;
  color: rgba(207, 233, 242, 0.75);
}

.recruiter-detail__section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(115, 176, 183, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  padding-left: 12px;
}

.recruiter-detail__section--highlight .recruiter-detail__section-title {
  color: var(--brand-primary);
}

.recruiter-detail__section-title {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.recruiter-detail__section-title::before {
  content: "✦";
  font-size: 10px;
  color: rgba(115, 176, 183, 0.7);
}

.recruiter-detail__section--highlight .recruiter-detail__section-title::before {
  content: "✓";
  color: rgba(72, 187, 120, 0.8);
}

.recruiter-detail__section:nth-of-type(2) .recruiter-detail__section-title::before {
  content: "✦";
}

.recruiter-detail__section:nth-of-type(3) .recruiter-detail__section-title::before {
  content: "↳";
}

.recruiter-detail__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.recruiter-detail__candidate {
  font-size: 13px;
  color: var(--brand-text);
  font-weight: 600;
}

.recruiter-detail__subline {
  font-size: 12px;
  color: rgba(207, 233, 242, 0.7);
}

.recruiter-detail__card-meta {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.8);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.recruiter-detail__more {
  font-size: 12px;
  color: var(--brand-secondary);
  margin-top: 6px;
}

.recruiter-detail__card {
  border-radius: 12px;
  border: 1px solid rgba(115, 176, 183, 0.18);
  padding: 9px 12px;
  background: rgba(8, 12, 18, 0.55);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  opacity: 0;
  transform: translateY(6px);
}

.recruiter-detail__card:hover {
  transform: translateY(-2px);
  border-color: rgba(115, 176, 183, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.recruiter-detail.is-open .recruiter-detail__card {
  animation: recruiter-card-enter 0.2s ease forwards;
}

.recruiter-detail__section--highlight .recruiter-detail__card {
  border-color: rgba(72, 187, 120, 0.35);
  background: rgba(72, 187, 120, 0.06);
}

.recruiter-detail__section--highlight .recruiter-detail__card:hover {
  border-color: rgba(72, 187, 120, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.recruiter-detail__section--highlight .recruiter-detail__candidate {
  font-size: 14px;
}

@keyframes recruiter-card-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.recruiter-detail__empty,
.recruiter-detail__loading {
  font-size: 12px;
  color: var(--brand-secondary);
  padding: 6px 0;
}

.dashboard-empty {
  font-size: 12px;
  color: var(--brand-secondary);
  padding: 12px;
}

.panel {
  background: var(--panel);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.spotlight {
  margin: 0 0 16px;
}

.spotlight-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 17, 23, 0.5);
}

.spotlight-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(87, 121, 121, 0.35);
  object-fit: cover;
}

.spotlight-name {
  font-weight: 600;
  color: var(--brand-primary);
}

.spotlight-line {
  font-size: 12px;
  color: var(--brand-secondary);
}

.spotlight-placeholder {
  font-size: 12px;
  color: var(--brand-secondary);
  padding: 10px 4px 0;
}

.weekly-goal {
  margin: 0;
  width: 100%;
}

.task-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.task-rail--embedded {
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.task-rail__header {
  background: transparent;
  border: none;
  color: var(--brand-primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: left;
  cursor: pointer;
}

.task-rail__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-rail__body--hidden {
  display: none;
}

.task-rail__empty {
  font-size: 12px;
  color: var(--brand-secondary);
  padding-left: 4px;
}

.task-rail__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 46px;
  border-radius: 12px;
  border: 1px solid rgba(38, 50, 65, 0.6);
  background: rgba(15, 23, 32, 0.8);
}

.task-rail__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b141c;
  border: 3px solid #0b141c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.task-rail__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.task-rail__name {
  font-weight: 600;
  color: var(--brand-text);
  font-size: 13px;
}

.task-rail__text {
  color: var(--brand-text);
  font-size: 13px;
}

.task-rail__meta {
  color: var(--brand-secondary);
  font-size: 12px;
}

.task-rail__check {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: transparent;
  border-radius: 10px;
  padding: 6px 10px;
  color: var(--brand-secondary);
  cursor: pointer;
}

.task-rail__check:hover {
  border-color: rgba(64, 178, 255, 0.6);
  color: var(--brand-text);
}

.weekly-ops-module {
  --weekly-ops-card-height: 120px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 17, 23, 0.6);
  padding: 14px 16px;
  margin: 2px 0 10px;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.08);
}

.weekly-ops-module__toggle {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.weekly-ops-module__toggle:hover {
  color: var(--brand-text);
}

.weekly-ops-module--collapsed .weekly-ops-module__toggle {
  transform: rotate(-90deg);
}

.weekly-ops-module__body--hidden {
  display: none;
}

.weekly-ops-bar {
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
}

.weekly-ops-bar__col {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.weekly-ops-bar__col--tasks {
  flex: 0 0 auto;
}

.weekly-ops-bar__col--submit {
  flex: 1 1 0;
  justify-content: center;
}

.weekly-ops-bar__col--shoutout {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.weekly-ops-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 17, 23, 0.65);
  padding: 12px 14px;
  min-width: 160px;
  min-height: var(--weekly-ops-card-height);
  height: var(--weekly-ops-card-height);
  color: var(--brand-text);
  text-align: left;
}

.weekly-ops-card--tasks {
  cursor: pointer;
  min-width: 140px;
}

.weekly-ops-card--shoutout {
  cursor: pointer;
  min-width: 200px;
}

.weekly-ops-card__label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.weekly-ops-card__value {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-text);
}

.weekly-ops-bar__col--submit .crf-cas {
  height: var(--weekly-ops-card-height);
  min-height: var(--weekly-ops-card-height);
}

.weekly-submit--interactive {
  background: rgba(12, 17, 23, 0.65);
  border: 1px solid var(--line);
  text-align: left;
  width: 100%;
}

.weekly-submit--interactive:hover {
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.15);
}

.weekly-ops-tasks {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  transition: max-height 0.25s ease, opacity 0.25s ease;
  max-height: 600px;
}

.weekly-ops-tasks--hidden {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  margin-top: 0;
  overflow: hidden;
  border-top-color: transparent;
}

.weekly-ops-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  transition: max-height 0.25s ease, opacity 0.25s ease;
  max-height: 800px;
}

.weekly-ops-details--hidden {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  border-top-color: transparent;
}

.weekly-ops-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.weekly-ops-detail--hidden {
  display: none;
}

.weekly-ops-detail__header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.weekly-ops-detail__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 12px;
}

.weekly-ops-detail__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 60px;
  border-radius: 12px;
  border: 1px solid rgba(38, 50, 65, 0.6);
  background: rgba(15, 23, 32, 0.8);
}

.weekly-ops-detail__row .avatar-wrap--detail {
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
}

.weekly-ops-detail__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b141c;
  border: 3px solid #0b141c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.weekly-ops-detail__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.weekly-ops-detail__title {
  font-weight: 600;
  color: var(--brand-text);
}

.weekly-ops-detail__meta {
  color: var(--brand-secondary);
  font-size: 12px;
}

.weekly-ops-detail__sub {
  color: var(--muted);
  font-size: 12px;
}

.weekly-ops-detail__date {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.weekly-ops-detail__empty {
  color: var(--brand-secondary);
  font-size: 12px;
}

.weekly-goal__bar {
  width: min(320px, 70vw);
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.weekly-goal__fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(68, 178, 255, 0.65), rgba(68, 178, 255, 0.95));
  border-radius: inherit;
}

.weekly-shoutout-card__stage {
  display: flex;
  flex-direction: column;
  min-height: 44px;
  padding-top: 6px;
}

.weekly-shoutout-card__stage--swap {
  animation: shoutoutSwap 0.35s ease;
}

.weekly-shoutout-card__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.weekly-shoutout-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  min-width: 0;
}

.weekly-shoutout-card__name {
  font-weight: 600;
  color: var(--brand-text);
}

.weekly-shoutout-card__text {
  color: var(--brand-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.weekly-shoutout-card__meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(148, 163, 184, 0.8);
}

.weekly-shoutout-card__empty {
  color: var(--brand-secondary);
  font-size: 12px;
}

.weekly-shoutout-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b141c;
  border: 3px solid #0b141c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.avatar-wrap--shoutout {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  margin-left: 44px;
}

@keyframes shoutoutSwap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .weekly-ops-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .weekly-ops-bar__col--submit {
    justify-content: flex-start;
  }
}

.panel__header h1 {
  margin: 0 0 6px;
  font-size: 24px;
  color: var(--brand-primary);
}

.panel__header p {
  margin: 0 0 20px;
  color: var(--brand-secondary);
}

.board {
  display: flex;
  flex-direction: column;
  gap: 18px;
  contain: layout;
}

.client-card {
  border: 1px solid rgba(87, 121, 121, 0.25);
  background: var(--panel-elevated);
  border-radius: 12px;
  overflow: hidden;
  background-clip: padding-box;
}

.client-card__body {
  overflow: visible;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.client-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #2b7f97;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.edit-row-target {
  box-shadow: 0 0 0 2px rgba(64, 178, 255, 0.6);
  background: rgba(64, 178, 255, 0.08);
}

.client-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #e6f7ff;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.client-card__title-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.client-card__tier-emoji {
  font-size: 20px;
  line-height: 1;
}

.client-crf-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.9);
  background: rgba(30, 41, 59, 0.45);
}

.client-crf-status--in_formation {
  border-color: rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}

.client-crf-status--drifting,
.client-crf-status--awaiting_signal {
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.12);
}

.client-crf-status--depleting {
  border-color: rgba(250, 204, 21, 0.5);
  color: #fde68a;
  background: rgba(250, 204, 21, 0.12);
}

.client-crf-status--off_mission {
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
}

.client-card__counts {
  font-size: 13px;
  color: var(--brand-secondary);
}

.client-card__action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(38, 50, 65, 0.7);
  background: rgba(12, 17, 23, 0.7);
  color: var(--brand-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.client-card__action svg {
  width: 16px;
  height: 16px;
  display: block;
}

.client-card__action:hover {
  color: var(--brand-text);
  border-color: rgba(29, 123, 152, 0.6);
}

.risk-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.risk-pill--green {
  background: rgba(45, 212, 191, 0.2);
  color: var(--green);
  border: 1px solid rgba(45, 212, 191, 0.4);
}

.risk-pill--yellow {
  background: rgba(250, 204, 21, 0.18);
  color: var(--yellow);
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.risk-pill--red {
  background: rgba(248, 113, 113, 0.2);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.client-card__body {
  padding: 16px 18px 20px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--brand-text);
}

.table thead th {
  position: sticky;
  top: 0;
  background: #111821;
  z-index: 1;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-secondary);
}

.job-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 17, 23, 0.55);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.job-card--green {
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12), 0 10px 22px rgba(0, 0, 0, 0.25);
}

.client-funnel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 6px 4px 4px;
}

.funnel-row {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(12, 17, 23, 0.75), rgba(22, 30, 38, 0.85));
  border: 1px solid rgba(45, 62, 78, 0.55);
  box-shadow: inset 0 0 0 1px rgba(29, 123, 152, 0.08);
}

.funnel-row__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.funnel-row__title {
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
}

.funnel-row__subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-secondary);
}

.funnel-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  gap: 12px;
  align-items: end;
}

.funnel-bar {
  position: relative;
  height: 78px;
  border-radius: 12px;
  background: rgba(10, 15, 20, 0.55);
  border: 1px solid rgba(38, 50, 65, 0.45);
  overflow: hidden;
}

.funnel-bar__fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 0%;
  border-radius: 10px;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: funnelFill 0.7s ease forwards;
}

.funnel-bar__label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  font-size: 11px;
  color: rgba(226, 232, 240, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes funnelFill {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.funnel-bar__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.funnel-bar--sourced .funnel-bar__fill {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.7), rgba(45, 212, 191, 0.25));
  border-top: 1px solid rgba(45, 212, 191, 0.7);
}

.funnel-bar--progress .funnel-bar__fill {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.7), rgba(59, 130, 246, 0.22));
  border-top: 1px solid rgba(59, 130, 246, 0.6);
}

.funnel-bar--connected .funnel-bar__fill {
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.65), rgba(248, 113, 113, 0.2));
  border-top: 1px solid rgba(248, 113, 113, 0.55);
}

.funnel-bar--submitted .funnel-bar__fill {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.7), rgba(250, 204, 21, 0.25));
  border-top: 1px solid rgba(250, 204, 21, 0.6);
}

.funnel-bar--interview .funnel-bar__fill {
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.7), rgba(129, 140, 248, 0.25));
  border-top: 1px solid rgba(129, 140, 248, 0.6);
}

.funnel-bar--offer .funnel-bar__fill {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.6), rgba(45, 212, 191, 0.2));
  border-top: 1px solid rgba(45, 212, 191, 0.5);
}

.funnel-bar--pendingStart .funnel-bar__fill {
  background: linear-gradient(180deg, rgba(129, 230, 217, 0.65), rgba(129, 230, 217, 0.2));
  border-top: 1px solid rgba(129, 230, 217, 0.5);
}

.client-hire-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 8px 0 2px;
}

.client-hire-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18, 26, 34, 0.95), rgba(28, 36, 44, 0.95));
  border: 1px solid rgba(46, 64, 82, 0.65);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.client-hire-chip strong {
  font-size: 30px;
  font-weight: 700;
  color: var(--brand-text);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.client-hire-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(29, 123, 152, 0.25), transparent 55%);
  pointer-events: none;
}

.report-builder__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px 4px 4px;
  gap: 10px;
}

.report-builder__toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-builder__buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.input--compact {
  height: 28px;
  padding: 4px 8px;
  font-size: 12px;
}

.job-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.job-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(12, 17, 23, 0.6);
  border: 1px solid rgba(38, 50, 65, 0.7);
}

.job-control__title {
  font-weight: 600;
  color: var(--text);
  margin-right: 6px;
}

.job-control__meta {
  font-size: 12px;
  color: var(--muted);
}

.job-control__toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.job-control__notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.job-control__notes textarea {
  width: 100%;
  min-height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(38, 50, 65, 0.7);
  background: rgba(20, 27, 34, 0.9);
  color: var(--brand-text);
  padding: 8px 10px;
  font-size: 12px;
  resize: vertical;
}

.job-control__helper {
  font-size: 11px;
  color: var(--muted);
}

.stage-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}

.stage-tile {
  border-radius: 10px;
  padding: 10px;
  background: rgba(12, 17, 23, 0.6);
  border: 1px solid rgba(38, 50, 65, 0.7);
  text-align: center;
}

.stage-tile__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-secondary);
}

.stage-tile__value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-top: 6px;
}

.stacked-bar {
  display: flex;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(12, 17, 23, 0.6);
  border: 1px solid rgba(38, 50, 65, 0.7);
}

.stacked-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;
  min-width: 22px;
}

.stacked-segment--sourced { background: #22c55e; }
.stacked-segment--progress { background: #84cc16; }
.stacked-segment--connected { background: #facc15; }
.stacked-segment--submitted { background: #f59e0b; }
.stacked-segment--interview { background: #f97316; }
.stacked-segment--offer { background: #ef4444; }
.stacked-segment--pendingStart { background: #2dd4bf; }

.candidate-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.candidate-job {
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(140deg, rgba(16, 22, 30, 0.9), rgba(22, 30, 38, 0.95));
  border: 1px solid rgba(45, 62, 78, 0.7);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: grid;
  gap: 12px;
}

.candidate-job summary,
.candidate-job__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
  color: var(--brand-text);
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(29, 123, 152, 0.18);
  border: 1px solid rgba(87, 141, 167, 0.35);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.candidate-job summary::-webkit-details-marker {
  display: none;
}

.candidate-job__meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
  align-items: stretch;
  background: rgba(13, 20, 27, 0.7);
  border: 1px solid rgba(38, 50, 65, 0.55);
  border-radius: 16px;
  padding: 12px;
}

.kanban-column {
  border-radius: 14px;
  padding: 10px;
  background: rgba(18, 25, 33, 0.9);
  border: 1px solid rgba(38, 50, 65, 0.35);
  display: flex;
  flex-direction: column;
  min-height: 140px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.kanban-column__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(10, 15, 20, 0.55);
  border: 1px solid rgba(38, 50, 65, 0.35);
}

.kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.kanban-card {
  border-radius: 10px;
  padding: 6px 10px;
  background: linear-gradient(140deg, rgba(20, 27, 34, 0.95), rgba(27, 35, 44, 0.95));
  border: 1px solid rgba(50, 68, 85, 0.7);
  color: var(--brand-text);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: none;
}

.kanban-card__name {
  font-weight: 600;
  font-size: 14px;
}

.kanban-card__meta {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.kanban-card__badge {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.kanban-card__badge--submitted {
  background: rgba(47, 143, 176, 0.18);
  color: #8bd0e3;
}

.kanban-card__badge--interview {
  background: rgba(240, 176, 87, 0.18);
  color: #ffd59b;
}

.kanban-card__badge--offer {
  background: rgba(124, 138, 139, 0.2);
  color: #c8d0d1;
}

.kanban-card__badge--pendingStart {
  background: rgba(45, 212, 191, 0.2);
  color: #7ff3e1;
}

.kanban-card__badge--startedWork {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5f5;
}

.kanban-card__badge--past {
  background: rgba(248, 113, 113, 0.2);
  color: #fecaca;
}

.kanban-empty {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 0;
}

.kanban-column[data-stage="submitted"] {
  border-top: 3px solid #2f8fb0;
}

.kanban-column[data-stage="interview"] {
  border-top: 3px solid #f0b057;
}

.kanban-column[data-stage="offer"] {
  border-top: 3px solid #7c8a8b;
}

.kanban-column[data-stage="pendingStart"] {
  border-top: 3px solid #2dd4bf;
}

.kanban-column[data-stage="startedWork"] {
  border-top: 3px solid #94a3b8;
}

.kanban-column[data-stage="submitted"] .kanban-column__title {
  color: #8bd0e3;
}

.kanban-column[data-stage="interview"] .kanban-column__title {
  color: #ffd59b;
}

.kanban-column[data-stage="offer"] .kanban-column__title {
  color: #c8d0d1;
}

.kanban-column[data-stage="pendingStart"] .kanban-column__title {
  color: #7ff3e1;
}

.kanban-column[data-stage="startedWork"] .kanban-column__title {
  color: #cbd5f5;
}

.job-notes {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  position: relative;
}

.job-notes::before {
  content: "Recruiter Intelligence";
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.job-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  position: relative;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(22, 30, 38, 0.95), rgba(28, 38, 48, 0.98));
  border: 1px solid rgba(46, 64, 82, 0.7);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
}

.job-note::before {
  content: "";
  position: absolute;
  left: 58px;
  top: 18px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-left: 1px solid rgba(46, 64, 82, 0.7);
  border-bottom: 1px solid rgba(46, 64, 82, 0.7);
  transform: rotate(45deg);
}

.job-note__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(141, 208, 227, 0.5);
  object-fit: cover;
}

.job-note__name {
  font-weight: 600;
  color: var(--brand-text);
}

.job-note__text {
  color: #d1d5db;
  line-height: 1.45;
  max-width: 58ch;
}

@media (max-width: 980px) {
  .report-hero__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .job-note {
    grid-template-columns: 1fr;
  }

  .job-note::before {
    left: 24px;
    top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .funnel-bar__fill {
    animation: none;
  }
}
.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.support-card {
  border-radius: 12px;
  padding: 12px;
  background: rgba(12, 17, 23, 0.6);
  border: 1px solid rgba(38, 50, 65, 0.7);
  text-align: center;
}

.support-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  border: 2px solid rgba(59, 130, 246, 0.4);
}

.support-card__name {
  font-weight: 600;
  color: var(--text);
}

.support-card__contact {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}
.report-builder {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-job {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(12, 17, 23, 0.6);
}

.report-job__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.report-job__title {
  font-weight: 600;
  color: var(--text);
}

.report-job__meta {
  font-size: 12px;
  color: var(--muted);
}

.report-job__toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(38, 50, 65, 0.9);
  background: rgba(20, 27, 34, 0.9);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-text);
  cursor: pointer;
  user-select: none;
}

.toggle-chip input {
  accent-color: var(--accent);
}

.toggle-chip--off {
  opacity: 0.5;
}

@media (max-width: 1100px) {
  .funnel-row {
    grid-template-columns: 1fr;
  }

  .funnel-bars {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

}

.job-card--yellow {
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.12), 0 10px 22px rgba(0, 0, 0, 0.25);
}

.job-card--red {
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.12), 0 10px 22px rgba(0, 0, 0, 0.25);
}

.job-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(15, 23, 32, 0.9);
  border-bottom: 1px solid var(--line);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.job-card__title {
  font-weight: 600;
  color: var(--brand-text);
}

.job-card__sub {
  font-size: 12px;
  color: var(--brand-secondary);
  margin-top: 4px;
}

.job-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.job-card__halted {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
}

.job-card--halted {
  opacity: 0.75;
  border-color: rgba(96, 125, 139, 0.4);
  box-shadow: inset 0 0 0 1px rgba(96, 125, 139, 0.25);
}

.job-card--halted .candidate-row {
  opacity: 0.6;
  pointer-events: none;
}

.job-card__status-toggle {
  height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(96, 125, 139, 0.45);
  background: rgba(15, 23, 32, 0.6);
  color: rgba(148, 163, 184, 0.95);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.job-card__status-toggle:hover {
  border-color: rgba(59, 130, 246, 0.6);
  color: var(--brand-text);
}

.job-card__status-toggle.is-halted {
  border-color: rgba(100, 116, 139, 0.7);
  background: rgba(30, 41, 59, 0.5);
}

.job-card__icon--disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.job-card__close {
  color: var(--brand-secondary);
  border-color: rgba(78, 96, 112, 0.45);
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.job-card__close:hover {
  color: var(--brand-text);
  border-color: rgba(78, 96, 112, 0.8);
}

.job-card__archive-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.job-card__toggle {
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.job-card__icon {
  color: var(--brand-secondary);
  font-size: 14px;
  text-decoration: none;
  line-height: 1;
  padding: 0;
  opacity: 0.7;
  background: transparent;
  border: none;
  cursor: pointer;
}

.job-card__icon:hover {
  color: var(--brand-text);
  opacity: 1;
}

.job-card__body {
  padding: 10px 16px 14px;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.candidate-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.25fr) minmax(200px, 1.3fr) minmax(190px, 1.2fr)
    minmax(240px, 1.8fr) minmax(56px, 0.4fr) minmax(52px, 0.35fr)
    minmax(200px, 1.2fr) minmax(44px, 0.25fr);
  gap: 10px;
  align-items: center;
  padding: 8px 0 8px 16px;
  border-bottom: 1px solid rgba(38, 50, 65, 0.4);
}

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

.candidate-row--header {
  padding-top: 4px;
  padding-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-secondary);
}

.candidate-cell {
  min-width: 0;
}

.candidate-row .notes-display {
  max-width: 100%;
}

.candidate-name {
  font-size: 15px;
  font-weight: 600;
}

.candidate-row .rate-cell {
  min-width: 160px;
  overflow: visible;
  padding-right: 8px;
  padding-left: 0;
  position: relative;
}

.candidate-row .candidate-cell.days,
.candidate-row .candidate-cell.risk {
  min-width: 40px;
  text-align: center;
  justify-self: end;
}

.candidate-row .candidate-cell.note {
  padding-right: 4px;
  text-align: right;
}

.candidate-row .row-actions {
  padding-left: 4px;
}

.candidate-row .rate-input {
  width: 100%;
  font-size: 15px;
  font-weight: 600;
}

.stage-select option {
  font-size: 15px;
}

.candidate-row .recruiter-chip {
  font-size: 13px;
  padding-left: 30px;
  margin-left: 18px;
}

.candidate-row .recruiter-chip .recruiter-avatar {
  width: 36px;
  height: 36px;
  border-width: 1px;
}

.candidate-row .avatar-wrap--chip {
  left: -18px;
}

.candidate-row .row-actions {
  justify-self: end;
}

.candidate-row--inline {
  background: rgba(15, 23, 32, 0.9);
  border: 1px dashed rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  padding: 6px 10px 6px 16px;
}

.candidate-row--inline .candidate-cell {
  align-items: center;
}

.candidate-row--inline .row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-input {
  width: 100%;
  min-height: 30px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(12, 17, 23, 0.7);
  color: var(--brand-text);
  font-size: 13px;
}

.candidate-row--inline .rate-input,
.candidate-row--inline .stage-select,
.candidate-row--inline .recruiter-select {
  background: rgba(12, 17, 23, 0.7);
  border: 1px solid var(--line);
}

.inline-status {
  font-size: 11px;
  color: var(--brand-secondary);
}

.inline-status--error {
  color: #fca5a5;
}

.inline-save {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.6);
  background: rgba(30, 64, 175, 0.2);
  color: #bfdbfe;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.inline-save:hover {
  border-color: rgba(59, 130, 246, 0.9);
  color: #eff6ff;
}

.inline-save:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.job-group-row td {
  background: rgba(9, 15, 22, 0.75);
  border-top: 1px solid var(--line);
}

.job-group-row__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-group-row__title {
  font-weight: 600;
  color: var(--brand-text);
}

.job-group-row__meta {
  font-size: 12px;
  color: var(--brand-secondary);
  margin-top: 2px;
}

.job-group-row__action {
  white-space: nowrap;
}

.row-actions {
  position: relative;
  width: 44px;
  display: flex;
  justify-content: flex-end;
}

.row-actions__toggle {
  width: 34px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(12, 17, 23, 0.7);
  color: var(--brand-secondary);
  cursor: pointer;
}

.row-actions__toggle:hover,
.row-actions__toggle[aria-expanded="true"] {
  color: var(--brand-text);
  border-color: rgba(29, 123, 152, 0.6);
}

.row-actions__menu {
  position: absolute;
  right: 0;
  top: 36px;
  min-width: 180px;
  background: #0c1218;
  border: 1px solid rgba(38, 50, 65, 0.7);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(6, 10, 16, 0.4);
  display: none;
  flex-direction: column;
  padding: 6px;
  z-index: 200;
}

.row-actions__menu.is-open {
  display: flex;
}

.row-actions__button {
  width: 34px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(12, 17, 23, 0.7);
  color: var(--brand-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.row-actions__button:hover {
  color: var(--brand-text);
  border-color: rgba(29, 123, 152, 0.6);
}

.row-actions__button svg {
  width: 16px;
  height: 16px;
  display: block;
}

.row-actions__item {
  background: transparent;
  color: var(--brand-text);
  border: none;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.row-actions__item:hover {
  background: rgba(29, 123, 152, 0.15);
}

.row-actions__item--danger {
  color: #fca5a5;
}

.row-actions__item--danger:hover {
  background: rgba(248, 113, 113, 0.15);
}

.stage-select {
  background: var(--panel);
  color: var(--brand-text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 15px;
  line-height: 1.1;
  white-space: nowrap;
  width: 100%;
}

.stage-select:focus {
  outline: 2px solid rgba(29, 123, 152, 0.5);
  border-color: rgba(29, 123, 152, 0.7);
}

.stage-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stage-cell--has-date {
  position: relative;
  overflow: hidden;
}

.stage-cell--has-date .stage-pill-hover-date {
  display: none;
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-text);
  white-space: nowrap;
  pointer-events: none;
}

.candidate-row:hover .stage-cell--has-date .stage-select {
  color: transparent;
}

.candidate-row:hover .stage-cell--has-date .stage-pill-hover-date {
  display: block;
}

.stage-interview-date {
  font-size: 13px;
  color: var(--brand-secondary);
}


.stage-static {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.1);
  color: var(--brand-secondary);
  font-size: 12px;
}

.stage-static--no-submits {
  border-color: rgba(248, 113, 113, 0.7);
  color: #fecaca;
  animation: no-submits-pulse 1.6s ease-in-out infinite;
}

@keyframes no-submits-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.row-risk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.row-risk__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.row-risk--neutral .row-risk__dot {
  background: rgba(148, 163, 184, 0.6);
}

.rate-cell {
  white-space: nowrap;
}

.rate-input {
  width: 140px;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
}

.rate-input:focus {
  outline: 2px solid rgba(29, 123, 152, 0.5);
  border-color: rgba(29, 123, 152, 0.7);
  background: #0f1720;
}

body.theme-light .rate-input {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-light .rate-input:focus {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(29, 123, 152, 0.45);
  outline: 2px solid rgba(29, 123, 152, 0.25);
}

body.meeting-board.light-mode .rate-input:focus {
  background: #ffffff;
  color: #0f172a;
}

.stage-select {
  min-width: 180px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #0f1720;
  color: var(--brand-text);
  font-size: 15px;
}

.notes-display {
  max-width: 260px;
  color: var(--brand-text);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notes-display--placeholder {
  color: var(--brand-secondary);
}

.notes-input {
  width: 260px;
  min-height: 120px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #0f1720;
  color: var(--brand-text);
  font: inherit;
  resize: vertical;
}

.notes-input--hidden {
  display: none;
}

.notes-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 280px;
}

.notes-panel--hidden {
  display: none;
}

.notes-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.notes-type {
  background: #0f1720;
  color: var(--brand-text);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
}

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

.notes-done--hidden {
  display: none;
}

.notes-history {
  border-top: 1px solid rgba(38, 50, 65, 0.6);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow: auto;
}

.notes-history__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notes-history__meta {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-secondary);
}

.notes-history__text {
  font-size: 12px;
  color: var(--brand-text);
}

.notes-history__empty {
  font-size: 12px;
  color: var(--brand-secondary);
}

.notes-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.notes-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 16, 0.6);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.notes-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(720px, 92vw);
  height: 100%;
  background: #0c1218;
  color: var(--brand-text);
  border-left: 1px solid rgba(38, 50, 65, 0.6);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px;
}

.notes-drawer.is-open {
  pointer-events: auto;
}

.notes-drawer.is-open .notes-drawer__backdrop {
  opacity: 1;
}

.notes-drawer.is-open .notes-drawer__panel {
  transform: translateX(0);
}

.notes-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notes-drawer__title {
  font-size: 18px;
  font-weight: 600;
}

.notes-drawer__subtitle {
  font-size: 12px;
  color: var(--brand-secondary);
  margin-top: 4px;
}

.notes-drawer__composer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.close-job-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.close-job-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 16, 0.7);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.close-job-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%) scale(0.98);
  width: min(520px, 92vw);
  background: #0c1218;
  border: 1px solid rgba(38, 50, 65, 0.7);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.close-job-modal.is-open {
  pointer-events: auto;
}

.close-job-modal.is-open .close-job-modal__backdrop {
  opacity: 1;
}

.close-job-modal.is-open .close-job-modal__panel {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.close-job-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.close-job-modal__title {
  font-size: 18px;
  font-weight: 600;
}

.close-job-modal__subtitle {
  font-size: 12px;
  color: var(--brand-secondary);
  margin-top: 4px;
}

.close-job-modal__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.close-job-modal__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-secondary);
}

.close-job-modal__textarea {
  min-height: 90px;
  resize: vertical;
}

.close-job-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.notes-drawer__selectors {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
}

.notes-drawer__composer .notes-input {
  width: 100%;
  min-height: 120px;
}

.notes-task-type {
  background: #0f1720;
  color: var(--brand-text);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
}

.notes-drawer__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  flex: 1;
  min-height: 0;
}

.notes-drawer__column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.notes-drawer__column h3 {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-secondary);
}

.notes-drawer__task-current {
  font-size: 13px;
  color: var(--brand-text);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(38, 50, 65, 0.6);
  background: rgba(10, 16, 24, 0.6);
}

.notes-drawer__column .notes-history {
  max-height: none;
  flex: 1;
}

.rate-flag {
  color: var(--yellow);
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

.days-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.days-pill--overdue {
  border-color: var(--red);
  color: var(--red);
}

.row-risk--green .row-risk__dot {
  background: var(--green);
}

.row-risk--yellow .row-risk__dot {
  background: var(--yellow);
}

.row-risk--red .row-risk__dot {
  background: var(--red);
}

.recruiter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  font-weight: 600;
  position: relative;
  padding-left: 32px;
}

.recruiter-chip--editable {
  padding-right: 4px;
}

.recruiter-select {
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.recruiter-select:focus {
  outline: none;
}

.recruiter-chip .recruiter-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b141c;
  border: 2px solid #0b141c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.recruiter-chip__body {
  display: inline-flex;
  align-items: center;
}

.avatar-wrap--chip {
  left: -12px;
}

.note {
  color: var(--brand-secondary);
  font-size: 12px;
}

.collapse-icon {
  color: var(--brand-secondary);
  cursor: pointer;
}

.chevron-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
  color: inherit;
}

.chevron-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.chevron-icon.is-collapsed {
  transform: rotate(-90deg);
}

.chevron-icon.is-open {
  transform: rotate(0deg);
}

.crf-emoji {
  margin-right: 6px;
  font-size: 14px;
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-left {
    width: 100%;
    align-items: center;
  }

  .input--search {
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }

  .topbar__controls {
    width: 100%;
    justify-content: flex-start;
  }

  .control {
    flex: 1 1 180px;
  }

  .summary {
    flex-direction: column;
    gap: 6px;
  }

  .panel {
    padding: 16px;
  }

  .page-footer__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.page-footer {
  padding: 18px 24px 26px;
}

.page-footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.page-footer__notice {
  color: var(--brand-secondary);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.page-footer__version {
  color: var(--brand-secondary);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-footer .sync-banner {
  border: none;
  background: transparent;
  padding: 0;
  text-transform: none;
  letter-spacing: 0.02em;
}

.page-footer .sync-banner--stale {
  color: var(--yellow);
}

.sync-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.12);
  color: var(--brand-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sync-banner--stale {
  color: var(--yellow);
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(250, 204, 21, 0.12);
}

.panel__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row-clickable {
  cursor: pointer;
}

.row-clickable:hover {
  background: rgba(59, 130, 246, 0.12);
}

.table-wrap {
  max-height: 70vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111821;
}

.edit-table th,
.edit-table td {
  white-space: nowrap;
}

.edit-table th,
.edit-table td {
  padding: 6px 6px;
}

.edit-table td {
  padding: 6px 6px;
}

.edit-group-row td {
  background: transparent;
  border-top: 1px solid transparent;
  padding-top: 10px;
  padding-bottom: 10px;
}

.edit-group-row__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #0b1218;
  border: 1px solid rgba(30, 41, 59, 0.6);
  border-left: 4px solid rgba(59, 130, 246, 0.6);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(6, 10, 16, 0.35);
}

.edit-group-row__sticky {
  position: sticky;
  left: 0;
  z-index: 2;
  background: inherit;
  padding-right: 16px;
}

.edit-group-row__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edit-group-row__title {
  font-weight: 600;
  color: var(--brand-text);
}

.edit-group-row__meta {
  font-size: 12px;
  color: var(--brand-secondary);
  margin-top: 2px;
}

.edit-group-row__status {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
  margin-top: 4px;
}

.edit-group-row__action {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  background: rgba(30, 64, 175, 0.15);
  color: #bfdbfe;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 auto;
}

.edit-group-row__action-wrap {
  position: sticky;
  right: 0;
  z-index: 3;
  background: inherit;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.edit-group-row__loxo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.edit-group-row__loxo-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.edit-group-row__loxo-label {
  font-size: 11px;
  color: var(--brand-secondary);
  letter-spacing: 0.02em;
}

.edit-group-row__loxo-input {
  min-width: 210px;
}

.edit-group-row__loxo-button {
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  background: rgba(30, 64, 175, 0.15);
  color: #bfdbfe;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}

.edit-group-row__loxo-button.is-disabled,
.edit-group-row__loxo-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(30, 41, 59, 0.35);
  color: rgba(226, 232, 240, 0.6);
}

.edit-group-row__loxo-button:hover {
  color: #eff6ff;
  border-color: rgba(59, 130, 246, 0.9);
}

.edit-group-row__action svg {
  width: 18px;
  height: 18px;
  display: block;
}

.edit-group-row__action:hover {
  color: #eff6ff;
  border-color: rgba(59, 130, 246, 0.9);
}

.edit-group-row__action.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.edit-group-row--halted .edit-group-row__content {
  opacity: 0.75;
  border-color: rgba(96, 125, 139, 0.45);
  box-shadow: inset 0 0 0 1px rgba(96, 125, 139, 0.2);
  border-left-color: rgba(96, 125, 139, 0.65);
}

.edit-group-row[data-business-line="alpine"] .edit-group-row__content {
  border-left-color: #34d399;
}

.edit-group-row[data-business-line="mountaineer"] .edit-group-row__content {
  border-left-color: #60a5fa;
}

.edit-group-row[data-business-line="evergreen"] .edit-group-row__content {
  border-left-color: #2dd4bf;
}

.edit-candidate-row td {
  background: #0f1720;
}

.edit-candidate-row td:first-child {
  padding-left: 16px;
}

.cell-input,
.cell-select {
  width: 100%;
  min-width: 140px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #0f1720;
  color: var(--brand-text);
  font-size: 13px;
  line-height: 1.2;
}

.cell-select {
  cursor: pointer;
}

.cell-input {
  cursor: text;
}

.cell-input:focus,
.cell-select:focus,
.cell-textarea:focus {
  outline: 2px solid rgba(29, 123, 152, 0.5);
  border-color: rgba(29, 123, 152, 0.7);
}

.cell-textarea {
  width: 260px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #0f1720;
  color: var(--brand-text);
  font-size: 13px;
  resize: vertical;
}

.cell-textarea--focus {
  min-height: 80px;
}

.row-dirty {
  box-shadow: inset 0 0 0 2px rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.08);
}

.row-dirty td {
  background: rgba(250, 204, 21, 0.08);
}

.save-indicator {
  font-size: 13px;
  color: var(--brand-secondary);
}

.save-indicator--saving {
  color: var(--yellow);
}

.save-indicator--synced {
  color: var(--green);
}

.save-indicator--error {
  color: var(--red);
}

.btn--danger {
  border-color: rgba(248, 113, 113, 0.5);
  color: var(--red);
}

.btn--danger:hover {
  border-color: rgba(248, 113, 113, 0.8);
  color: #fee2e2;
}

.cell-select--business-line {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
}

.edit-table .cell-input,
.edit-table .cell-select,
.edit-table .cell-textarea {
  padding: 6px 8px;
  min-height: 32px;
}

.cell--recruiter {
  padding-left: 4px;
  padding-right: 4px;
}

.cell-select--recruiter {
  min-width: 85px;
  padding: 6px 8px;
  font-size: 12px;
}

.cell-input--rate {
  min-width: 110px;
  font-size: 12px;
}

.edit-actions-header {
  position: sticky;
  right: 0;
  z-index: 3;
  background: #111821;
  text-align: right;
  border-left: 1px solid var(--line);
}

.edit-actions {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #111821;
  border-left: 1px solid var(--line);
}

.row-invalid .edit-actions {
  background: rgba(248, 113, 113, 0.08);
}

.row-dirty .edit-actions {
  background: rgba(250, 204, 21, 0.08);
}

.edit-actions__wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 160px;
}

.edit-action-button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(12, 17, 23, 0.7);
  color: var(--brand-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.edit-action-button--label {
  width: auto;
  padding: 0 10px;
  gap: 6px;
}

.edit-action-button--ready {
  border-color: rgba(59, 130, 246, 0.9);
  background: rgba(30, 64, 175, 0.35);
  color: #eff6ff;
}

.edit-action-button--hidden {
  display: none;
}

.edit-action-button__label {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.edit-action-button svg {
  width: 16px;
  height: 16px;
  display: block;
}

.edit-action-button:hover {
  color: var(--brand-text);
  border-color: rgba(29, 123, 152, 0.6);
}

.edit-action-button--danger {
  color: var(--red);
  border-color: rgba(248, 113, 113, 0.4);
}

.edit-action-button--danger:hover {
  color: #fee2e2;
  border-color: rgba(248, 113, 113, 0.8);
}

.edit-action-button--inactive {
  color: rgba(148, 163, 184, 0.6);
  border-color: rgba(71, 85, 105, 0.5);
}

.row-invalid {
  box-shadow: inset 0 0 0 2px rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.08);
}

.business-line-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.35);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-primary);
}

.business-line-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 17, 23, 0.6);
  padding: 16px;
  border-left: 2px solid var(--brand-primary);
  overflow: hidden;
  background-clip: padding-box;
}

.business-line-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--brand-primary);
}

.business-line-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--brand-secondary);
}

.drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.35);
  cursor: grab;
  user-select: none;
}

.row-dragging {
  opacity: 0.6;
}

.row-drag-over {
  outline: 2px dashed rgba(59, 130, 246, 0.5);
  outline-offset: -6px;
}

body.meeting-large {
  font-size: 17px;
}

body.meeting-large .topbar {
  padding-top: 10px;
  padding-bottom: 10px;
}

body.meeting-large .input,
body.meeting-large .btn,
body.meeting-large select {
  font-size: 15px;
}

body.meeting-large .control-zone--actions {
  flex-wrap: wrap;
  gap: 12px;
}

body.meeting-large .control-zone--actions .btn {
  height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
}

body.meeting-large .input--search {
  min-width: 520px;
  padding: 14px 16px;
  border-radius: 12px;
}

body.meeting-large .control {
  min-width: 190px;
  padding: 12px 14px;
}

@media (min-width: 1600px) {
  .topbar {
    padding: 14px 32px;
  }

  .topbar-controls--stacked {
    gap: 14px;
  }

  .control-zone--actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .control-zone--actions .btn {
    height: 42px;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 10px;
  }

  .input--search {
    min-width: 520px;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 12px;
  }

  .control {
    min-width: 190px;
    padding: 12px 14px;
    font-size: 15px;
  }
}

body.meeting-large .client-card__header {
  padding: 18px 20px;
}

body.meeting-large .client-card__title {
  font-size: 20px;
}

body.meeting-large .client-card__counts {
  font-size: 15px;
}

body.meeting-large .row-clickable td,
body.meeting-large .row-clickable th {
  font-size: 15px;
  padding-top: 12px;
  padding-bottom: 12px;
}

body.meeting-large .stage-select,
body.meeting-large .recruiter-pill,
body.meeting-large .risk-pill {
  font-size: 13px;
}

body.meeting-large .stage-interview-date {
  font-size: 12px;
}

body.meeting-large .weekly-ops-module {
  padding: 18px 18px;
}

body.meeting-large .weekly-ops-card__value {
  font-size: 20px;
}

.celebration-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 48px;
  background: rgba(12, 17, 23, 0.2);
  animation: celebrationFade 1.8s ease-out forwards;
  pointer-events: none;
  z-index: 999;
}

.stage-date-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 17, 23, 0.5);
  z-index: 1000;
}

.stage-date-modal {
  background: var(--panel-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.crf-drawer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1200;
}

.crf-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 14, 0.6);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.crf-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 90vw);
  background: var(--panel-elevated);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.crf-drawer.is-open {
  pointer-events: auto;
}

.crf-drawer.is-open .crf-drawer__backdrop {
  opacity: 1;
}

.crf-drawer.is-open .crf-drawer__panel {
  transform: translateX(0);
}

.crf-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.crf-drawer__header-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crf-client {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-text);
}

.crf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(148, 163, 184, 0.12);
  color: var(--brand-text);
}

.crf-badge--tier {
  background: rgba(87, 121, 121, 0.18);
  border-color: rgba(87, 121, 121, 0.5);
  color: #d6f5f3;
}

.crf-badge--on {
  background: rgba(45, 212, 191, 0.2);
  border-color: rgba(45, 212, 191, 0.6);
  color: #e6fffb;
}

.crf-badge--caution {
  background: rgba(250, 204, 21, 0.18);
  border-color: rgba(250, 204, 21, 0.6);
  color: #fff6d5;
}

.crf-badge--off {
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.6);
  color: #ffe4e6;
}

.crf-badge--neutral {
  background: rgba(148, 163, 184, 0.2);
  border-color: rgba(148, 163, 184, 0.5);
  color: #e2e8f0;
}

.crf-drawer__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.crf-score {
  font-size: 28px;
  font-weight: 600;
  color: var(--brand-text);
}

.crf-updated {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crf-drawer__notice {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--brand-text);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.crf-drawer__notice--error {
  background: rgba(248, 113, 113, 0.2);
  color: #fee2e2;
}

.crf-drawer__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crf-section-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.crf-section-body {
  font-size: 14px;
  color: var(--brand-text);
  line-height: 1.5;
}

.crf-ai-body {
  white-space: pre-line;
  color: var(--brand-text);
}

.crf-summary-line {
  font-size: 13px;
  color: var(--muted);
}

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

.crf-signal-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crf-signal-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.crf-signal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crf-signal-item {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--brand-text);
}

.crf-signal-emoji {
  font-size: 14px;
}

.crf-signal-label {
  color: var(--brand-text);
}

.crf-signal-date {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crf-signal-empty {
  font-size: 12px;
  color: var(--muted);
}

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

.crf-metric {
  padding: 12px;
  border-radius: 12px;
  background: rgba(12, 17, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.crf-metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}

.crf-metric-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-text);
}

.crf-inline {
  font-size: 13px;
  color: var(--brand-text);
}

.crf-drawer__footer {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crf-readonly {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--brand-secondary);
}

.crf-drawer__close {
  font-size: 12px;
  padding: 6px 10px;
}

.crf-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crf-dashboard__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crf-dashboard__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-text);
}

.crf-dashboard__subtitle {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.crf-cas {
  display: grid;
  grid-template-columns: 1fr auto 18px;
  grid-template-rows: auto;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 17, 23, 0.6);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.crf-cas:hover {
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.15);
  background: rgba(12, 17, 23, 0.72);
}

.crf-cas__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crf-cas__label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.crf-cas__scoreline {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.crf-cas__value {
  font-size: 30px;
  font-weight: 600;
  color: var(--brand-text);
}

.crf-cas__status {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
}

.crf-cas__status--aligned {
  color: #5bbfae;
}

.crf-cas__status--slipping {
  color: #d1b05c;
}

.crf-cas__status--broken {
  color: #c77b6b;
}

.crf-cas__meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crf-cas__meta span {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.crf-cas__chevron {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: 16px;
  color: var(--muted);
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.crf-cas.is-expanded .crf-cas__chevron {
  transform: rotate(180deg);
}

.crf-cas:hover .crf-cas__chevron {
  opacity: 0.9;
}

.crf-cas__bar {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 4px;
}

.crf-cas__segment {
  height: 7px;
  border-radius: 2px;
  background: rgba(148, 163, 184, 0.18);
}

.crf-cas__segment.is-filled {
  background: rgba(91, 191, 174, 0.5);
  box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.08);
}

.crf-cas__bar.is-exceeded .crf-cas__segment.is-filled {
  background: rgba(91, 191, 174, 0.7);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2), 0 0 6px rgba(91, 191, 174, 0.35);
  animation: submitSweep 1.2s ease forwards;
}

.crf-cas:hover .crf-cas__segment.is-filled {
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2);
}

.crf-cas__bar[data-status="DRIFTING"] .crf-cas__segment.is-filled {
  background: rgba(209, 176, 92, 0.55);
  box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.1);
}

.crf-cas__bar[data-status="MISALIGNED"] .crf-cas__segment.is-filled {
  background: rgba(199, 123, 107, 0.55);
  box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.08);
}

.crf-cas__over {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(91, 191, 174, 0.12);
  border: 1px solid rgba(91, 191, 174, 0.35);
  color: rgba(91, 191, 174, 0.95);
  font-weight: 600;
  letter-spacing: 0.12em;
}

@keyframes submitSweep {
  from {
    transform: translateX(-6px);
    opacity: 0.75;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.crf-cas__ai {
  grid-column: 1 / -1;
  border-radius: 10px;
  background: rgba(12, 17, 23, 0.5);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crf-cas__ai.hidden {
  display: none;
}

.crf-cas__ai-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

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

.crf-cas__ai-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.crf-cas__ai-body {
  font-size: 14px;
  color: var(--brand-text);
  line-height: 1.5;
  white-space: pre-line;
  max-width: none;
}

.crf-cas__ai-body.is-muted {
  color: var(--muted);
}


@media (max-width: 900px) {
  .crf-cas {
    grid-template-columns: 1fr;
  }

  .crf-cas__meta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .crf-cas__chevron {
    justify-content: flex-start;
  }

  .crf-cas__ai-grid {
    grid-template-columns: 1fr;
  }
}

.crf-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.crf-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.crf-table th,
.crf-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--brand-text);
}

.crf-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.crf-table__row {
  cursor: pointer;
}

.crf-table__client {
  font-weight: 600;
}

.crf-table__score,
.crf-table__count {
  font-variant-numeric: tabular-nums;
}

.crf-tier-select {
  min-width: 140px;
}

.crf-table__date {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.crf-empty {
  padding: 12px;
  border-radius: 12px;
  background: rgba(12, 17, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 700px) {
  .crf-signal-lists {
    grid-template-columns: 1fr;
  }
}

.stage-date-title {
  font-size: 14px;
  color: var(--brand-text);
}

.stage-date-input {
  background: var(--panel);
  color: var(--brand-text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.stage-date-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.pending-status {
  background: var(--panel);
  color: var(--brand-text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
}

.pending-status:focus {
  outline: 2px solid rgba(29, 123, 152, 0.5);
  border-color: rgba(29, 123, 152, 0.7);
}

.row-did-not-start td {
  color: var(--red);
  text-decoration: line-through;
}

@keyframes celebrationFade {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  15% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* Light theme overrides that must win over base styles */
body.theme-light .client-card {
  background: #ffffff;
  border-color: var(--line);
}

body.theme-light .client-card__body {
  background: #f5f7fa;
}

body.theme-light .job-card {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

body.theme-light .job-card__header {
  background: #f8fafc;
  border-bottom-color: var(--line);
}

body.theme-light .job-card__body {
  background: #ffffff;
}

body.theme-light .notes-task-type {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-light .notes-drawer__task-current {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-light .close-job-modal__backdrop {
  background: rgba(31, 41, 55, 0.2);
}

body.theme-light .close-job-modal__panel {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-light .business-line-section {
  background: rgba(29, 123, 152, 0.04);
  border-color: transparent;
  border-left-color: transparent;
}

body.theme-light .business-line-chip {
  background: #f3f4f6;
  border-color: var(--line);
  color: var(--brand-primary);
}

body.theme-light .business-line-summary {
  color: var(--muted);
}

body.theme-light .client-card__action {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

body.theme-light .client-card__action svg {
  color: var(--text);
}

body.theme-light .client-card__action {
  background: #ffffff !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}

body.theme-light .toggle-chip {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

body.theme-light .toggle-chip--off {
  opacity: 0.55;
}

body.theme-light .job-card__status-toggle {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

body.theme-light .job-card__status-toggle:hover {
  border-color: var(--brand-primary);
  color: var(--text);
}

body.theme-light .job-card__toggle {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

body.theme-light .weekly-ops-module__toggle {
  color: var(--muted);
}

body.theme-light .weekly-ops-module__toggle:hover {
  color: var(--text);
}

body.theme-light .weekly-ops-detail__row {
  background: #ffffff;
  border-color: var(--line);
}

body.theme-light .task-rail__item {
  background: #ffffff;
  border-color: var(--line);
}

body.theme-light .task-rail__name,
body.theme-light .task-rail__text,
body.theme-light .task-rail__meta {
  color: var(--text);
}

body.theme-light .weekly-ops-detail__title {
  color: var(--text);
}

body.theme-light .weekly-ops-detail__meta {
  color: var(--muted);
}

body.theme-light .weekly-ops-detail__sub {
  color: var(--muted);
}

body.theme-light .weekly-ops-detail__avatar {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

body.theme-light .client-hire-chip {
  background: linear-gradient(140deg, rgba(227, 241, 246, 0.9), rgba(239, 247, 251, 0.6));
  border-color: rgba(29, 123, 152, 0.18);
  color: #475569;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

body.theme-light .client-hire-chip strong {
  color: #0f172a;
}

body.theme-light .client-hire-chip::after {
  background: radial-gradient(circle at top right, rgba(87, 141, 167, 0.18), transparent 58%);
}

body.theme-light .funnel-row {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

body.theme-light .funnel-row__title {
  color: #0f172a;
}

body.theme-light .funnel-row__subtitle {
  color: #64748b;
}

body.theme-light .funnel-bar {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.4);
}

body.theme-light .funnel-bar__label {
  color: #475569;
}

body.theme-light .funnel-bar__value {
  color: #0f172a;
}

body.theme-light .job-control {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
}

body.theme-light .job-control__title {
  color: #0f172a;
}

body.theme-light .job-control__meta {
  color: #64748b;
}

body.theme-light .job-control__notes textarea {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.5);
  color: #0f172a;
}

body.theme-light .job-control__notes textarea::placeholder {
  color: #64748b;
}

body.theme-light .stacked-bar {
  background: #e7eef4;
  border-color: rgba(148, 163, 184, 0.5);
}

body.theme-light .workflow-bar__track {
  background: #e2e8f0;
}

body.theme-light .workflow-bar__value {
  color: #0f172a;
}

body.theme-light .row-actions__toggle {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

body.theme-light .row-actions__toggle:hover,
body.theme-light .row-actions__toggle[aria-expanded="true"] {
  border-color: var(--brand-primary);
  color: var(--text);
}

body.theme-light .row-actions__button {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

body.theme-light .row-actions__button:hover {
  border-color: var(--brand-primary);
  color: var(--text);
}

body.theme-light .edit-table th,
body.theme-light .edit-table td {
  background: #ffffff !important;
  color: var(--text);
  border-bottom-color: var(--line);
}

body.theme-light .edit-group-row td {
  background: transparent;
}

body.theme-light .recruiter-chip {
  background: #f3f4f6;
  border-color: var(--line);
  color: var(--text);
}

body.theme-light .recruiter-chip .recruiter-avatar {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

body.theme-light .table-wrap {
  background: #ffffff;
  border-color: var(--line);
}

body.theme-light .edit-group-row__content {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

body.theme-light .edit-group-row__title {
  color: var(--text);
}

body.theme-light .edit-group-row__meta,
body.theme-light .edit-group-row__status,
body.theme-light .edit-group-row__loxo-label {
  color: var(--muted);
}

body.theme-light .edit-candidate-row td {
  background: #ffffff;
}

body.theme-light .cell-input,
body.theme-light .cell-select,
body.theme-light .cell-textarea {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-light .cell-input:focus,
body.theme-light .cell-select:focus,
body.theme-light .cell-textarea:focus {
  outline-color: rgba(29, 123, 152, 0.25);
}

body.theme-light .edit-group-row__action,
body.theme-light .edit-group-row__loxo-button {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

body.theme-light .edit-group-row__action:hover,
body.theme-light .edit-group-row__loxo-button:hover {
  border-color: var(--brand-primary);
  color: var(--text);
}

body.theme-light .edit-group-row__loxo-button.is-disabled,
body.theme-light .edit-group-row__loxo-button:disabled {
  background: #f3f4f6;
  color: var(--muted);
  border-color: var(--line);
}

/* =========================================================
   MEETING BOARD — LIGHT MODE
   ========================================================= */
body.meeting-board.light-mode {
  background: #f7f9fb;
  color: #0f172a;
}

body.meeting-board.light-mode .topbar,
body.meeting-board.light-mode .panel,
body.meeting-board.light-mode .client-row,
body.meeting-board.light-mode .job-card,
body.meeting-board.light-mode .kpi-card,
body.meeting-board.light-mode .controls {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  backdrop-filter: none;
}

body.meeting-board.light-mode * {
  backdrop-filter: none !important;
}

body.meeting-board.light-mode .kpi-value {
  font-size: 28px;
  font-weight: 600;
  color: #0f172a;
}

body.meeting-board.light-mode .kpi-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

body.meeting-board.light-mode .candidate-name {
  font-weight: 600;
  color: #0f172a;
}

body.meeting-board.light-mode .candidate-meta {
  color: #64748b;
  font-size: 12px;
}

body.meeting-board.light-mode input[type="search"] {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

body.meeting-board.light-mode select {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

body.meeting-board.light-mode .candidate-row {
  border-bottom: 1px solid #e2e8f0;
}

body.meeting-board.light-mode .candidate-row:hover {
  background: rgba(29, 123, 152, 0.035);
}

body.meeting-board.light-mode .status-green {
  background: rgba(91, 191, 174, 0.18);
  color: #276b5f;
}

body.meeting-board.light-mode .status-yellow {
  background: rgba(254, 194, 14, 0.2);
  color: #7a5c00;
}

body.meeting-board.light-mode .status-red {
  background: rgba(199, 123, 107, 0.2);
  color: #7a2e2e;
}

body.meeting-board.light-mode .job-card.is-active {
  background: rgba(29, 123, 152, 0.04);
  border-color: rgba(29, 123, 152, 0.35);
}

body.meeting-board.light-mode .kpi-strip {
  background: linear-gradient(
    to right,
    rgba(29, 123, 152, 0.04),
    rgba(87, 121, 121, 0.02)
  );
  border-radius: 18px;
}

:root {
  --surface-base: #eef1f4;
  --surface-panel: #ffffff;
  --surface-elevated: #f8fafc;
  --surface-hover: #f1f5f9;

  --border-subtle: #d8e0e6;
  --border-strong: #b9c7d2;

  --text-main: #0f172a;
  --text-muted: #5b6b76;

  --state-good-bg: #e8f7f2;
  --state-warn-bg: #fff6db;
  --state-bad-bg: #fdecec;

  --state-good: #2a9d6f;
  --state-warn: #d4a72c;
  --state-bad: #d9534f;
}

body.meeting-board.light-mode {
  background: var(--surface-base);
  color: var(--text-main);
}

body.meeting-board.light-mode .client-group {
  background: var(--surface-panel);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 10px 12px 12px;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

body.meeting-board.light-mode .client-header {
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

body.meeting-board.light-mode .job-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

body.meeting-board.light-mode .job-card:hover {
  background: #ffffff;
  border-color: var(--mi-primary);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

body.meeting-board.light-mode .job-title {
  font-size: 15px;
  font-weight: 650;
  color: var(--text-main);
}

body.meeting-board.light-mode .job-card[data-state="good"] {
  background: linear-gradient(#f8fafc, #f8fafc);
}

body.meeting-board.light-mode .job-card[data-state="warn"] {
  background: linear-gradient(var(--state-warn-bg), #ffffff 60%);
  border-color: var(--state-warn);
}

body.meeting-board.light-mode .job-card[data-state="bad"] {
  background: linear-gradient(var(--state-bad-bg), #ffffff 65%);
  border-color: var(--state-bad);
}

body.meeting-board.light-mode .candidate-row {
  background: transparent;
  border-top: 1px dashed var(--border-subtle);
  padding: 10px 6px;
}

body.meeting-board.light-mode .candidate-row:hover {
  background: var(--surface-hover);
}

body.meeting-board.light-mode .candidate-name {
  font-weight: 550;
  color: var(--text-main);
}

body.meeting-board.light-mode .candidate-meta,
body.meeting-board.light-mode .rate,
body.meeting-board.light-mode .stage,
body.meeting-board.light-mode .notes {
  color: var(--text-muted);
}

body.meeting-board.light-mode .days-pill {
  min-width: 28px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
}

body.meeting-board.light-mode .days-good {
  background: #e6f6ef;
  color: var(--state-good);
}

body.meeting-board.light-mode .days-warn {
  background: #fff3cd;
  color: var(--state-warn);
}

body.meeting-board.light-mode .days-bad {
  background: #fde2e2;
  color: var(--state-bad);
}

body.meeting-board.light-mode .icon-btn {
  opacity: 0.45;
  transition: opacity 0.12s ease, transform 0.12s ease;
}

body.meeting-board.light-mode .job-card:hover .icon-btn {
  opacity: 1;
}

body.meeting-board.light-mode .icon-btn:hover {
  transform: translateY(-1px);
}

body.meeting-board.light-mode .candidate-row td {
  padding-top: 11px;
  padding-bottom: 11px;
}

body.meeting-board.light-mode .job-card + .job-card {
  margin-top: 14px;
}

body.meeting-board.light-mode .candidate-name {
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
}

body.meeting-board.light-mode .candidate-rate {
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
}

body.meeting-board.light-mode .recruiter,
body.meeting-board.light-mode .stage,
body.meeting-board.light-mode .days,
body.meeting-board.light-mode .risk {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

body.meeting-board.light-mode .notes-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

body.meeting-board.light-mode .notes-toggle[data-has-note="false"] {
  color: #94a3b8;
}

body.meeting-board.light-mode .notes-toggle[data-has-note="true"] {
  color: #1d7b98;
}

.row-actions__button[data-has-note="true"] {
  color: #2a9d6f;
  border-color: rgba(42, 157, 111, 0.6);
}

body.meeting-board.light-mode .logo-img {
  content: url("/images/logo/sl_logo_light.png");
}

body.meeting-board.light-mode .client-crf-status {
  border-color: rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.9);
  background: rgba(30, 41, 59, 0.45);
}

body.meeting-board.light-mode .client-crf-status--in_formation {
  border-color: rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}

body.meeting-board.light-mode .client-crf-status--drifting,
body.meeting-board.light-mode .client-crf-status--awaiting_signal {
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.12);
}

body.meeting-board.light-mode .client-crf-status--depleting {
  border-color: rgba(250, 204, 21, 0.5);
  color: #fde68a;
  background: rgba(250, 204, 21, 0.12);
}

body.meeting-board.light-mode .client-crf-status--off_mission {
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
}
