/* ═══════════════════════════════════════════════════════════
   BitsclanOS — Executive / CEO Command Center CSS
   Extends theme.css tokens. Never duplicates dashboard.css.
   ═══════════════════════════════════════════════════════════ */

:root {
  --green: #22c55e;
  --yellow: #f59e0b;
  --red: #ef4444;
}

/* ── Hero band ───────────────────────────────────────────── */
.exec-hero {
  background: linear-gradient(135deg, #0f0f1a 0%, #12121f 100%);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}

.exec-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.exec-hero-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.exec-badge {
  background: linear-gradient(135deg, var(--accent), #3db8bd);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.exec-hero-title h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
}

.exec-subtitle {
  color: var(--fg-muted);
  font-size: 14px;
}

/* ── KPI row ─────────────────────────────────────────────── */
.exec-kpi-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.exec-kpi {
  flex: 1;
  padding: 20px 20px;
  min-width: 0;
}

.exec-kpi-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

.exec-kpi-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 4px;
}

.exec-kpi-sub {
  font-size: 11px;
  color: var(--fg-muted);
}

.exec-kpi-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Color utilities ─────────────────────────────────────── */
.text-green { color: var(--green) !important; }
.text-yellow { color: var(--yellow) !important; }
.text-red { color: var(--red) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--fg-muted); }
.text-right { text-align: right; }
.fw-600 { font-weight: 600; }

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.badge-green { background: rgba(34,197,94,0.15); color: var(--green); }
.badge-yellow { background: rgba(245,158,11,0.15); color: var(--yellow); }
.badge-red { background: rgba(239,68,68,0.15); color: var(--red); }

/* ── Tabs ────────────────────────────────────────────────── */
.exec-tabs-wrap {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 60px;
  z-index: 90;
}

.exec-tabs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
}

.exec-tab {
  padding: 14px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.exec-tab:hover { color: var(--fg); }
.exec-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Content area ────────────────────────────────────────── */
.exec-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.exec-panel { display: none; }
.exec-panel.active { display: block; }

/* ── Grid layouts ────────────────────────────────────────── */
.exec-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* ── Cards ───────────────────────────────────────────────── */
.exec-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.exec-card-wide {
  width: 100%;
}

.exec-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.exec-card-header h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

.exec-card-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 6px;
  color: var(--fg-muted);
}

/* ── Alert cards ─────────────────────────────────────────── */
.alert-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.alert-card {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid;
}

.alert-red {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.25);
}

.alert-orange {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.25);
}

.alert-icon { font-size: 20px; flex-shrink: 0; }

.alert-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}

.alert-desc { font-size: 12px; color: var(--fg-muted); }

/* ── Cost bars ───────────────────────────────────────────── */
.cost-bars { margin-bottom: 24px; }

.cost-bar-item { margin-bottom: 16px; }

.cost-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

.cost-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.cost-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease;
}

.fill-accent { background: var(--accent); }
.fill-warm { background: var(--accent-warm); }

/* ── Overhead breakdown ──────────────────────────────────── */
.overhead-breakdown { border-top: 1px solid var(--border); padding-top: 16px; }

.overhead-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.overhead-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.overhead-cat {
  flex: 1;
  font-size: 13px;
  color: var(--fg);
  text-transform: capitalize;
}

.overhead-amt {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  white-space: nowrap;
}

.overhead-bar-mini {
  width: 60px;
  background: rgba(255,255,255,0.06);
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}

/* ── Financial summary rows ──────────────────────────────── */
.fin-summary-rows { margin-bottom: 24px; }

.fin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fin-row-total {
  border-top: 1px solid var(--border);
  border-bottom: none;
  margin-top: 4px;
  padding-top: 14px;
}

.fin-label { font-size: 13px; color: var(--fg-muted); }
.fin-val { font-family: var(--font-display); font-size: 15px; font-weight: 600; }

/* ── Margin gauge ────────────────────────────────────────── */
.margin-gauge-wrap { position: relative; }

.margin-gauge-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.margin-gauge-track {
  position: relative;
  height: 20px;
  border-radius: 10px;
  overflow: visible;
  margin-bottom: 6px;
}

.margin-gauge-zones {
  display: flex;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.mgz {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.mgz.red { background: rgba(239,68,68,0.3); color: var(--red); }
.mgz.yellow { background: rgba(245,158,11,0.3); color: var(--yellow); }
.mgz.green { background: rgba(34,197,94,0.2); color: var(--green); }

.margin-gauge-needle {
  position: absolute;
  top: -4px;
  width: 3px;
  height: 28px;
  background: white;
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 6px rgba(255,255,255,0.5);
  transition: left 1s ease;
}

.margin-gauge-ticks {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--fg-muted);
}

/* ── Tables ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

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

.exec-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.exec-table th.sort-asc::after { content: ' ↑'; }
.exec-table th.sort-desc::after { content: ' ↓'; }

.exec-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--fg);
  vertical-align: middle;
}

.exec-table tr:last-child td { border-bottom: none; }
.exec-table tr:hover td { background: rgba(255,255,255,0.02); }
.exec-table tr.row-warning td { background: rgba(239,68,68,0.04); }

/* ── Ticket chip ─────────────────────────────────────────── */
.ticket-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-n {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.ticket-bar {
  width: 48px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.ticket-bar div {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Mini progress ───────────────────────────────────────── */
.mini-prog-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.mini-prog-bar {
  width: 48px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.mini-prog-bar div {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
}

/* ── Department cards ────────────────────────────────────── */
.dept-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dept-card {
  flex: 1;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.dept-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.dept-headcount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.dept-headcount span {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 400;
}

.dept-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: var(--fg-muted);
}

/* ── Member rank list ────────────────────────────────────── */
.member-rank-list { display: flex; flex-direction: column; gap: 12px; }

.member-rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: background 0.15s;
}

.member-rank-row:hover { background: rgba(255,255,255,0.05); }

.rank-n {
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-muted);
  flex-shrink: 0;
}

.rank-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(92,225,230,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.rank-avatar.avatar-warm {
  background: rgba(255,107,53,0.1);
  border-color: rgba(255,107,53,0.3);
  color: var(--accent-warm);
}

.rank-info { flex: 1; min-width: 0; }
.rank-name { font-size: 13px; font-weight: 600; color: var(--fg); }
.rank-meta { font-size: 11px; color: var(--fg-muted); }
.rank-val { font-family: var(--font-display); font-size: 14px; font-weight: 700; white-space: nowrap; }

/* ── Billable ratio bar ──────────────────────────────────── */
.ratio-row { padding: 8px 0; }

.ratio-bar-wrap { width: 100%; }

.ratio-bar {
  display: flex;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
}

.ratio-fill-billable {
  background: rgba(34,197,94,0.25);
  border-right: 2px solid var(--bg-card);
  display: flex;
  align-items: center;
  padding-left: 16px;
  color: var(--green);
  white-space: nowrap;
  overflow: hidden;
}

.ratio-fill-nonbillable {
  background: rgba(245,158,11,0.15);
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 12px;
  color: var(--yellow);
  white-space: nowrap;
  overflow: hidden;
}

/* ── Bench card ──────────────────────────────────────────── */
.bench-card { border-color: rgba(239,68,68,0.2); }

/* ── Project health grid ─────────────────────────────────── */
.project-health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.project-health-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.phc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.phc-name a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}

.phc-name a:hover { color: var(--accent); }

.phc-client { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
.phc-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.phc-section { margin-bottom: 14px; }

.phc-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

/* Ticket progress bar */
.phc-ticket-bar-wrap {}
.phc-ticket-bar {
  display: flex;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.ptb-done { background: var(--green); }
.ptb-inprog { background: var(--yellow); }

.phc-ticket-count { font-size: 11px; color: var(--fg-muted); }

/* Budget burn */
.phc-budget-row { display: flex; align-items: center; gap: 12px; }
.phc-budget-bar-wrap { flex: 1; }

.phc-budget-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.pbb-ok { height: 100%; background: var(--accent); border-radius: 4px; }
.pbb-warn { height: 100%; background: var(--yellow); border-radius: 4px; }
.pbb-danger { height: 100%; background: var(--red); border-radius: 4px; }

.phc-budget-label { font-size: 11px; color: var(--fg-muted); white-space: nowrap; }

.phc-footer {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

.phc-stat {
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--border);
}

.phc-stat:last-child { border-right: none; }
.phc-stat-val { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--fg); }
.phc-stat-label { font-size: 10px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Team management grid ────────────────────────────────── */
.team-filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.team-search {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  width: 280px;
  transition: border-color 0.15s;
}

.team-search:focus {
  outline: none;
  border-color: var(--accent);
}

.team-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.filter-chip {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-chip:hover { border-color: var(--accent); color: var(--fg); }
.filter-chip.active { background: var(--accent-glow); border-color: var(--accent); color: var(--accent); }

.exec-btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.exec-btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-secondary:hover { color: var(--fg); }

/* ── Team member cards ───────────────────────────────────── */
.team-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.tmc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color 0.15s, transform 0.15s;
}

.tmc:hover {
  border-color: rgba(92,225,230,0.3);
  transform: translateY(-2px);
}

.tmc-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.tmc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(92,225,230,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.tmc-avatar.avatar-ny {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.3);
  color: #a78bfa;
}

.tmc-avatar.avatar-contractor {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.3);
  color: var(--yellow);
}

.tmc-info { flex: 1; min-width: 0; }
.tmc-name { font-size: 14px; font-weight: 600; color: var(--fg); }
.tmc-role { font-size: 12px; color: var(--fg-muted); margin-bottom: 6px; }

.tmc-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tmc-dept {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(255,255,255,0.05);
  padding: 2px 7px;
  border-radius: 4px;
}

.tmc-loc {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 2px 7px;
  border-radius: 4px;
}

.tmc-loc.loc-ny { color: #a78bfa; background: rgba(139,92,246,0.1); }
.tmc-loc.loc-remote { color: var(--yellow); background: rgba(245,158,11,0.1); }

.tmc-mid {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  margin-bottom: 12px;
}

.tmc-cost-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--fg-muted); margin-bottom: 2px; }
.tmc-cost-val { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--fg); }
.tmc-usd { font-size: 12px; font-weight: 400; color: var(--fg-muted); }

.tmc-alloc-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

.tmc-alloc-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.tmc-alloc-bar div {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

.tmc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tmc-billable { font-size: 12px; color: var(--green); font-weight: 600; }
.tmc-nonbillable { font-size: 12px; color: var(--fg-muted); }

/* ── Modals ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-box-sm { max-width: 440px; }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}

.modal-close:hover { color: var(--fg); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group select option { background: var(--bg-card); }

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .exec-kpi-row { flex-wrap: wrap; }
  .exec-kpi { min-width: 45%; }
  .exec-kpi-divider { display: none; }
  .exec-grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .project-health-grid { grid-template-columns: 1fr; }
  .team-member-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 600px) {
  .exec-kpi { min-width: 100%; }
  .dept-cards { flex-direction: column; }
  .team-filter-row { flex-direction: column; align-items: flex-start; }
  .team-search { width: 100%; }
}
