/* =====================================================================
   Flight Crew shared styles (prefix crew-): tokens, buttons, and the briefing
   wizard (sign-in is the shared .lp-modal). Loaded by /build-your-team; calculator.css
   holds the drawer-specific sizing. Built on LaunchPad tokens.
   ===================================================================== */
.crew-ui {
  --crew-bg: var(--bg, #02080a);
  --crew-panel: var(--surface, #0a1418);
  --crew-panel-2: var(--surface-2, #111e24);
  --crew-line: var(--border, #1a2e36);
  --crew-ink: var(--text, #f0f2f5);
  --crew-muted: var(--lp-text-muted, #8593a0);
  --crew-dim: var(--text-dim, #6b7a82);
  --crew-accent: var(--accent-green, #59e900);
  --crew-accent-soft: rgba(89, 233, 0, 0.07);
  --crew-accent-ink: #04140a;
  /* Quiet selection (2026-11-05): selected and answered states use a soft green, so bright green is saved for
     the current stage and the checkbox/radio dots */
  --crew-sel-line: color-mix(in srgb, var(--crew-accent) 38%, var(--crew-line));
  --crew-sel-bg: color-mix(in srgb, var(--crew-accent) 5%, var(--crew-panel-2));
  --crew-accent-dim: color-mix(in srgb, var(--crew-accent) 62%, var(--crew-muted));
  --crew-orange: var(--accent-orange, #ff6b2f);
  --crew-amber: var(--accent-amber, #ef9719);
  --crew-blue: var(--accent-blue, #0c63ff);
  --crew-cyan: var(--accent-cyan, #00bda5);
  --crew-mono: var(--lp-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  --crew-sticky-top: calc(var(--lp-bar-h, 0px) + 8px);   /* under the sticky 51px header */
  color: var(--crew-ink);
}
.crew-ui .t1 { --tc: #ff6b2f; } .crew-ui .t2 { --tc: #0c63ff; } .crew-ui .t3 { --tc: #00bda5; }
.crew-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.crew-ui [hidden] { display: none !important; }

/* ---------- buttons ---------- */
.crew-btn-launch { background: var(--lp-cta-grad); color: var(--lp-cta-ink); font: inherit; font-weight: 700; font-size: 15px; padding: 11px 20px; border: 0; border-radius: var(--lp-radius-btn, 10px); cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 236, 200, .55), 0 10px 28px -12px rgba(var(--lp-cta-rgb), .7); transition: color .15s, transform .2s var(--lp-ease); }
/* Same as every primary CTA: the gradient stays, the text turns white */
.crew-btn-launch:hover, .crew-btn-launch:focus-visible { color: var(--lp-cta-ink-hover); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); transform: translateY(-1px); }
.crew-btn-ghost { font: inherit; font-size: 13px; color: var(--crew-ink); background: var(--crew-panel-2); border: 1px solid var(--crew-line); border-radius: 8px; padding: 7px 12px; cursor: pointer; }
.crew-btn-ghost:hover { border-color: var(--crew-muted); }
.crew-btn-ghost.subtle { background: transparent; border-color: transparent; color: var(--crew-dim); }
.crew-btn-ghost.subtle.armed { color: var(--crew-orange); border-color: color-mix(in srgb, var(--crew-orange) 50%, transparent); }
.crew-ui button:focus-visible, .crew-ui a:focus-visible { outline: 2px solid var(--crew-accent); outline-offset: 2px; }

/* ---------- wizard shell ---------- */
.crew-wiz { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.crew-wiz-bar { position: sticky; top: var(--crew-sticky-top); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: color-mix(in srgb, var(--crew-panel) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--crew-line); border-radius: 14px; padding: 8px 10px; }
.crew-rail { flex: 1 1 auto; min-width: 0; }
.crew-rail ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.crew-rail li { display: flex; align-items: center; flex: 1 1 0; min-width: 0; }
.crew-rail li:last-child { flex: 0 0 auto; }
.crew-rail li:not(:last-child)::after { content: ""; flex: 1; height: 2px; min-width: 12px; margin: 0 6px; border-radius: 2px; background: var(--crew-line); transition: background 0.3s; }
.crew-rail li:has(button.done):not(:last-child)::after { background: var(--crew-sel-line); }
.crew-rail button { font: inherit; display: flex; gap: 8px; align-items: center; background: transparent; color: var(--crew-muted); border: 1px solid transparent; border-radius: 999px; padding: 5px 10px 5px 5px; cursor: pointer; white-space: nowrap; }
.crew-rail button:hover { border-color: var(--crew-line); color: var(--crew-ink); }
.crew-rail button.locked { opacity: 0.55; cursor: not-allowed; }
.crew-rail button.locked:hover { border-color: transparent; color: var(--crew-muted); }
.crew-rail-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--crew-line); font-family: var(--crew-mono); font-size: 12px; background: var(--crew-panel-2); }
.crew-rail-t { font-weight: 600; font-size: 13.5px; }
/* Current stage (the one being read): soft green pill, bold label, ringed number */
.crew-rail button.cur { color: var(--crew-ink); background: color-mix(in srgb, var(--crew-accent) 9%, var(--crew-panel-2)); border-color: color-mix(in srgb, var(--crew-accent) 45%, var(--crew-line)); }
.crew-rail button.cur .crew-rail-t { font-weight: 700; }
.crew-rail button.cur .crew-rail-n { border-color: var(--crew-accent); color: var(--crew-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--crew-accent) 18%, transparent); }
.crew-rail button.done .crew-rail-n { background: var(--crew-sel-bg); border-color: var(--crew-sel-line); color: var(--crew-accent-dim); }
.crew-progress { height: 3px; background: var(--crew-line); border-radius: 2px; overflow: hidden; }
.crew-progress i { display: block; height: 100%; width: 0; background: color-mix(in srgb, var(--crew-accent) 55%, var(--crew-line)); transition: width 0.35s ease; }
@media (max-width: 900px) { .crew-rail-t { display: none; } }

/* ---------- question card ---------- */
.crew-form { margin: 0; }
.crew-q { border: 1px solid color-mix(in srgb, var(--crew-accent) 14%, var(--crew-line)); border-radius: 16px; background: linear-gradient(to bottom right, color-mix(in srgb, var(--crew-accent) 2%, var(--crew-panel-2)) 0%, var(--crew-panel-2) 60%); margin: 0; padding: 28px 28px 22px; min-height: 300px; display: flex; flex-direction: column; gap: 12px; min-width: 0; position: relative; }
.crew-q:not(.on) { display: none; }
.crew-q.invalid { border-color: color-mix(in srgb, var(--crew-orange) 70%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--crew-orange) 40%, transparent) inset; }
.crew-q > legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; letter-spacing: -0.4px; line-height: 1.25; padding: 0 40px 0 0; margin: 0 0 4px; outline: none; }
.crew-q > legend::before { content: attr(data-n); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--crew-accent-soft); border: 1px solid color-mix(in srgb, var(--crew-accent) 55%, transparent); color: var(--crew-accent); font-family: var(--crew-mono); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.crew-q > legend + * { clear: both; }
.crew-hint { margin: 0; font-size: 13px; color: var(--crew-dim); }
.crew-err { margin: 0; font-size: 13.5px; color: var(--crew-orange); }
/* Half-answered question: a soft amber to-do line (the orange error only shows after Submit) */
.crew-todo { margin: 0; font-size: 13px; color: var(--crew-amber); }
/* Per-question actions: Skip on an open optional question, Next question on the one just finished */
.crew-q-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.crew-q-acts[hidden], .crew-q-acts > [hidden] { display: none; }
.crew-q-next { font-weight: 600; color: var(--crew-accent); border-color: color-mix(in srgb, var(--crew-accent) 55%, transparent); background: color-mix(in srgb, var(--crew-accent) 10%, transparent); }
.crew-q-next:hover { border-color: var(--crew-accent); }
/* Needs filling: empty team counts and unrated health pills pulse amber */
@keyframes crew-need-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--crew-amber) 55%, transparent); } 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--crew-amber) 0%, transparent); } }
.crew-field input.need, .crew-health-wrap.need .crew-pills, .crew-yn.need .crew-pills { border-color: var(--crew-amber); animation: crew-need-pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .crew-field input.need, .crew-health-wrap.need .crew-pills, .crew-yn.need .crew-pills { animation: none; } }
@media (prefers-reduced-motion: reduce) {
  .crew-ui *, .crew-ui *::before, .crew-ui *::after { transition: none !important; }
}

/* ---------- inputs ---------- */
.crew-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.crew-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.crew-group { grid-column: 1 / -1; margin: 8px 0 0; font-family: var(--crew-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--crew-dim); }
.crew-group:first-child { margin-top: 0; }
.crew-chk { display: flex; align-items: center; gap: 8px; font-size: 14px; background: var(--crew-panel-2); border: 1px solid var(--crew-line); border-radius: 8px; padding: 9px 11px; cursor: pointer; min-width: 0; }
.crew-chk input { accent-color: color-mix(in srgb, var(--crew-accent) 70%, var(--crew-panel-2)); width: 16px; height: 16px; flex: none; margin: 0; }
.crew-chk:has(input:checked) { border-color: var(--crew-sel-line); background: var(--crew-sel-bg); }
.crew-chk:has(input:focus-visible) { outline: 2px solid var(--crew-accent); outline-offset: 2px; }
.crew-card { align-items: flex-start; border-left: 3px solid var(--tc, var(--crew-line)); padding: 12px 14px; }
.crew-card.plain { border-left-width: 1px; }
.crew-card input { margin-top: 3px; }
.crew-card span { display: flex; flex-direction: column; gap: 2px; }
.crew-card b { font-weight: 600; }
.crew-card small { font-size: 12.5px; color: var(--crew-muted); line-height: 1.35; }
.crew-wide { grid-column: 1 / -1; }
.crew-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--crew-muted); min-width: 0; }
.crew-field input, .crew-field textarea { font: inherit; font-size: 15px; color: var(--crew-ink); background: var(--crew-bg); border: 1px solid var(--crew-line); border-radius: 8px; padding: 9px 11px; width: 100%; }
.crew-field textarea { resize: vertical; }
.crew-field input:focus, .crew-field textarea:focus { outline: 2px solid var(--crew-accent); outline-offset: 1px; }
/* Team (2026-11-06): yes/no row per leader seat, then one headcount field under a dashed rule */
.crew-yn-list { display: flex; flex-direction: column; padding-bottom: 12px; border-bottom: 1px dashed var(--crew-line); }
.crew-yn { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.crew-yn + .crew-yn { border-top: 1px solid color-mix(in srgb, var(--crew-line) 60%, transparent); }
.crew-yn-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.crew-yn-l b { font-size: 14.5px; font-weight: 600; color: var(--crew-ink); }
.crew-yn-l small { font-size: 12.5px; color: var(--crew-muted); }
.crew-yn .crew-pills span { width: 56px; height: 32px; font-family: inherit; font-size: 13px; }
/* A picked "No" reads amber, like other gaps and shortfalls on the page; "Yes" keeps the green */
.crew-yn .crew-pills input[value="no"]:checked + span { background: color-mix(in srgb, var(--crew-amber) 14%, transparent); color: var(--crew-amber); }
/* Four counts in a row on desktop, two on tablets (phones stack them like every grid) */
.crew-team-counts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .crew-team-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Running total under the counts: label left, green count badge, "Leaders included" note */
.crew-team-sum { margin: 2px 0 0; display: flex; align-items: center; gap: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--crew-muted); }
.crew-team-sum b { min-width: 34px; padding: 3px 8px; border-radius: 6px; text-align: center; font-family: var(--crew-mono); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--crew-accent); background: var(--crew-sel-bg); border: 1px solid var(--crew-sel-line); font-variant-numeric: tabular-nums; }
.crew-team-sum small { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--crew-dim); }
.crew-team-sum { flex-wrap: wrap; row-gap: 8px; }
.crew-team-ratio { display: inline-flex; align-items: center; gap: 10px; margin-left: 6px; padding-left: 16px; border-left: 1px solid var(--crew-line); }
.crew-team-ratio[hidden] { display: none; }
.crew-team-ratio.warn b { color: var(--crew-amber); background: color-mix(in srgb, var(--crew-amber) 12%, transparent); border-color: color-mix(in srgb, var(--crew-amber) 45%, transparent); }
.crew-team-ratio.bad b { color: #ff5a52; background: color-mix(in srgb, #ff5a52 12%, transparent); border-color: color-mix(in srgb, #ff5a52 45%, transparent); }   /* same red as the health scale's 1 */

.crew-sub { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px dashed var(--crew-line); border-radius: 10px; }

/* pills: maturity scores (1–5) and tool health (1–4) */
/* Segmented control, matching Revenue LaunchPad's period toggle: one rounded container, thin dividers, muted
   segments, and a soft tint + colored text on the selected one */
.crew-pills { display: flex; flex: none; background: var(--crew-panel-2); border: 1px solid var(--crew-line); border-radius: 8px; overflow: hidden; }
.crew-pills label { cursor: pointer; position: relative; }
.crew-pills label + label span { border-left: 1px solid var(--crew-line); }
.crew-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.crew-pills span { display: grid; place-items: center; width: 36px; height: 32px; background: transparent; font-family: var(--crew-mono); font-size: 13px; color: var(--crew-muted); transition: background 0.15s, color 0.15s; }
.crew-pills label:hover input:not(:checked) + span { color: var(--crew-ink); background: rgba(255, 255, 255, 0.04); }
.crew-pills input:checked + span { background: color-mix(in srgb, var(--crew-accent) 12%, transparent); color: var(--crew-accent); font-weight: 600; }
.crew-pills input:focus-visible + span { outline: 2px solid var(--crew-cyan); outline-offset: -2px; }
/* Health and maturity scales: 1 red, 2 orange, 3 yellow, 4 green. Numbers carry a hint of their color; the
   selected one tints in it. */
.crew-health { --r1: #ff5a52; --r2: #ff8a2f; --r3: #f2c94c; --r4: #59e900; }
.crew-health span { width: 30px; height: 26px; font-size: 12px; }
.crew-health label:nth-child(1) { --rc: var(--r1); } .crew-health label:nth-child(2) { --rc: var(--r2); }
.crew-health label:nth-child(3) { --rc: var(--r3); } .crew-health label:nth-child(4) { --rc: var(--r4); }
.crew-health label span { color: color-mix(in srgb, var(--rc) 55%, var(--crew-muted)); }
.crew-health label input:checked + span { background: color-mix(in srgb, var(--rc) 16%, transparent); color: var(--rc); }
.crew-tool { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; border: 1px solid var(--crew-line); border-radius: 8px; background: var(--crew-panel-2); padding: 7px 10px; min-width: 0; }
.crew-tool .crew-chk { flex: 1 1 auto; border: 0; background: transparent; padding: 2px 0; }
.crew-tool:has(> .crew-chk input:checked) { border-color: var(--crew-sel-line); background: var(--crew-sel-bg); }
.crew-tool .crew-health-wrap { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.crew-tool .crew-health-l { font-family: var(--crew-mono); font-size: 11px; color: var(--crew-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.crew-tool.hub { background: var(--crew-panel); }
.crew-scale { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid color-mix(in srgb, var(--crew-line) 60%, transparent); }
.crew-scale:first-of-type { border-top: 0; }
.crew-scale-l { font-size: 14.5px; }

/* revenue */
.crew-money { display: flex; align-items: center; gap: 6px; background: var(--crew-bg); border: 1px solid var(--crew-line); border-radius: 8px; padding: 0 12px; width: 180px; }
.crew-money:focus-within { outline: 2px solid var(--crew-accent); outline-offset: 1px; }
.crew-money i { font-style: normal; font-family: var(--crew-mono); color: var(--crew-muted); font-size: 16px; }
.crew-money input { font: inherit; font-family: var(--crew-mono); font-size: 20px; color: var(--crew-ink); background: transparent; border: 0; outline: 0; width: 100%; min-width: 0; padding: 10px 0; text-align: right; }
.crew-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.crew-chips .crew-chk { padding: 7px 12px; border-radius: 999px; }
.crew-chips .crew-chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* info tooltip */
.crew-info-wrap { position: absolute; top: 28px; right: 24px; }
.crew-info { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--crew-line); background: var(--crew-panel-2); color: var(--crew-muted); font: 500 12px/1 var(--crew-mono); cursor: help; display: grid; place-items: center; padding: 0; }
.crew-info:hover { color: var(--crew-ink); border-color: var(--crew-muted); }
.crew-tip { position: absolute; top: 34px; right: 0; z-index: 30; width: min(340px, calc(100vw - 48px)); background: var(--crew-panel-2); color: var(--crew-ink); border: 1px solid var(--crew-line); border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.45; box-shadow: 0 10px 28px rgba(5, 12, 22, 0.4); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; }
.crew-info:hover + .crew-tip, .crew-info:focus-visible + .crew-tip, .crew-tip.open { opacity: 1; visibility: visible; transform: none; }
.crew-tip strong { display: block; color: var(--crew-accent); margin-bottom: 6px; }
.crew-tip ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--crew-muted); }
.crew-tip li { display: flex; gap: 8px; }
.crew-tip li i { font-style: normal; flex: none; width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-family: var(--crew-mono); font-size: 11px; border: 1px solid var(--crew-line); color: var(--crew-ink); }
.crew-tip li b { color: var(--crew-ink); font-weight: 600; display: block; }

/* ---------- footer ---------- */
.crew-foot { position: sticky; bottom: 0; z-index: 15; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: color-mix(in srgb, var(--crew-bg) 94%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-top: 1px solid var(--crew-line); padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); }
.crew-foot-status { margin-right: auto; font-family: var(--crew-mono); font-size: 12px; color: var(--crew-amber); }

@media (max-width: 640px) {
  .crew-q { padding: 22px 16px 18px; min-height: 0; }
  .crew-grid, .crew-grid.three { grid-template-columns: minmax(0, 1fr); }
  .crew-info-wrap { top: 22px; right: 12px; }
}
@media (max-width: 560px) {
  .crew-foot { gap: 8px; }
  .crew-foot-status { display: none; }
  .crew-foot .crew-btn-launch { margin-left: auto; }
}
@media (max-width: 420px) {
  .crew-money { width: 100%; }
  .crew-pills span { width: 32px; }
}

/* Sign-in + account modals: shared .lp-modal template (src/ignition/modals.css), injected by auth-page.js */
.crew-loading { color: var(--crew-muted); font-family: var(--crew-mono); font-size: 13px; text-align: center; padding: 40px 0; }

/* all-questions layout */
.crew-stage-head { display: none; }
.crew-all .crew-form { display: flex; flex-direction: column; gap: 12px; }
.crew-all .crew-q { min-height: 0; scroll-margin-top: 12px; }
.crew-all .crew-stage-head { display: block; margin: 14px 0 0; font-family: var(--crew-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--crew-muted); scroll-margin-top: 12px; }
.crew-all .crew-stage-head:first-child { margin-top: 0; }

/* Q9 revenue: no spinner arrows; field sits at the right of the card, beside the question */
.crew-money input { -moz-appearance: textfield; appearance: textfield; }
.crew-money input::-webkit-outer-spin-button,
.crew-money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.crew-q[data-q="revenue"], .crew-q[data-q="saas"] { min-height: 0; }
.crew-q[data-q="revenue"] > legend { padding-right: 210px; }
.crew-q[data-q="revenue"] .crew-money { position: absolute; top: 22px; right: 28px; }
.fc-d-body .crew-q[data-q="revenue"] .crew-money { top: 16px; right: 22px; }
/* Software spend: the same $ field as revenue, with a Not sure chip beside it */
.crew-q[data-q="saas"] > legend { padding-right: 310px; }
.crew-saas-box { position: absolute; top: 22px; right: 28px; display: flex; align-items: center; gap: 8px; }
.fc-d-body .crew-saas-box { top: 16px; right: 22px; }
.crew-saas-unsure { font: inherit; font-size: 13px; color: var(--crew-ink); white-space: nowrap; }
.crew-saas-unsure.on { border-color: var(--crew-sel-line); background: var(--crew-sel-bg); }
@media (max-width: 640px) {
  .crew-q[data-q="revenue"] > legend, .crew-q[data-q="saas"] > legend { padding-right: 0; }
  .crew-saas-box, .fc-d-body .crew-saas-box { position: static; }
  .crew-saas-box .crew-money { flex: 1; }
  .crew-q[data-q="revenue"] .crew-money, .fc-d-body .crew-q[data-q="revenue"] .crew-money { position: static; width: 100%; }
}

/* Q5 team sizes: no spinner arrows either, to match the revenue field */
.crew-field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.crew-field input[type="number"]::-webkit-outer-spin-button,
.crew-field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Q3 group headings with Select all and Deselect all (each dimmed when it would change nothing) */
.crew-group { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.crew-group-all { font: inherit; font-family: var(--crew-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: none; color: var(--crew-cyan); background: none; border: 0; padding: 0; cursor: pointer; }
.crew-group-all:hover:not(:disabled) { text-decoration: underline; }
.crew-group-all[data-act="deselect"] { color: var(--crew-amber); }   /* amber when available; dims like Select all when not */
.crew-group-all:disabled { color: var(--crew-dim); opacity: 0.5; cursor: default; }
.crew-group-acts { display: inline-flex; gap: 14px; flex: none; }
/* Each epic group is wrapped without adding a box, so chips keep flowing; other teams' groups collapse under Show all */
.crew-epic-group { display: contents; }
.crew-epic-more { align-self: flex-start; margin-top: 2px; font-size: 12px; }
/* Q3 "Something else?" free-text field under the epic chips */
.crew-proj-other { margin-top: 4px; }
.crew-proj-other small { font-size: 11px; color: var(--crew-dim); margin-left: 4px; }
