.crew-main { max-width: 1000px; }
.crew-intro { margin-bottom: 24px; }
.crew-intro h1 { font-size: clamp(2.2rem, 5vw, 3.65rem); }
.crew-intro p:last-child { max-width: 61ch; }
.crew-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 12px; }
.crew-progress { color: var(--muted); font-size: .88rem; margin: 0; }
#crew-reset { min-height: 44px; padding: 6px 10px; font-size: .84rem; }
#crew-reset[hidden] { display: none; }
.crew-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.crew-role { min-width: 0; min-height: 53px; padding: 7px 9px; text-align: left; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.crew-role strong, .crew-role span { display: block; overflow-wrap: anywhere; }
.crew-role strong { font-size: .93rem; }
.crew-role span { font-size: .73rem; color: var(--muted); }
.crew-role[data-step=done] span { color: #245845; }
.crew-role[aria-pressed=true] { border-color: var(--accent); box-shadow: inset 0 -3px var(--accent); }
.crew-role[data-received] { border-color: #275846; background: #ecf3ec; }
.crew-transfer-status { margin: 0 0 12px; padding: 8px 10px; background: #ecf3ec; border-left: 3px solid #275846; color: #24503f; font-size: .9rem; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .crew-role[data-received], .crew-transfer-status { animation: crew-transfer 650ms ease-out; }
  @keyframes crew-transfer { from { background: #cce6d4; } to { background: #ecf3ec; } }
}
.crew-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.crew-card { min-height: 246px; }
.crew-card > .eyebrow { margin-bottom: 8px; }
.crew-card h2, .crew-result h2 { scroll-margin-top: 10px; }
.crew-fact { padding: 12px; background: #f4efe6; border-left: 3px solid var(--accent); }
.crew-transfers { padding: 10px 16px 12px; }
.crew-transfers summary { font-weight: 600; font-size: .92rem; }
.crew-transfers ul { padding: 0; margin: 0; list-style: none; }
.crew-transfers li { display: flex; gap: 8px; justify-content: space-between; border-top: 1px solid var(--line); padding: 9px 0; font-size: .8rem; }
.crew-transfers strong { color: #245845; }
.crew-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px; }
.crew-measures { margin: 0 0 16px; }
.crew-measures dt { font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; }
.crew-measures dd { margin: 4px 0 9px; }
.crew-comparison { margin: 18px 0; padding: 0 12px 10px; border: 1px solid var(--line); }
.crew-comparison > summary { font-weight: 700; }
.crew-comparison > p { margin: 5px 0 10px; }
.crew-comparison-options { display: flex; flex-wrap: wrap; gap: 8px; }
.crew-comparison-options button { min-height: 44px; padding: 8px 12px; }
.crew-comparison-options button[aria-pressed=true] { background: #245845; border-color: #245845; color: white; }
.crew-comparison-outcomes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.crew-comparison-path { margin-top: 12px; padding: 12px; background: #f6f2e9; }
.crew-comparison-path:last-child { border-left: 3px solid #275846; }
.crew-comparison-path h3 { font-size: 1.1rem; margin: 6px 0; }
.crew-comparison-path p { margin: 5px 0; font-size: .88rem; }
.crew-comparison-path .crew-path-label { font-weight: 700; color: #554c42; }
.crew-comparison-path button { margin-top: 8px; }
.crew-trial { margin-top: 12px; padding: 12px; background: #eaf1ec; border-left: 3px solid #275846; }
.crew-trial h3 { font-size: 1.1rem; margin-top: 0; }
@media (max-width: 620px) {
  .crew-main { padding-top: 21px; }
  .crew-roles, .crew-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew-card, .crew-transfers { grid-column: 1 / -1; }
  .crew-card { padding: 16px; min-height: 0; }
  .crew-actions > * { width: 100%; }
  .crew-comparison-outcomes { grid-template-columns: 1fr; }
}
