body.crew-setup-incomplete #dashboard-view { visibility: hidden; pointer-events: none; }
#crew-setup {
  width: min(100% - 24px, 560px); max-height: min(92dvh, 850px); padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--crew-brand-gold); border-radius: 18px; color: var(--crew-brand-ink); background: var(--crew-brand-light);
  box-shadow: 0 28px 80px rgb(7 27 48 / 66%); overflow-y: auto; font: inherit;
}
#crew-setup::backdrop { background: rgb(6 24 44 / 84%); }
.crew-setup-head,.crew-setup-actions,.crew-setup-meter { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#crew-setup-brand { color:var(--crew-brand-navy); letter-spacing:.11em; font-size:.76rem; }
#crew-setup-brand { display:flex; align-items:center; gap:8px; }
#crew-setup-brand img { width:56px; height:44px; object-fit:contain; }
#crew-setup-brand strong { white-space:nowrap; font-size:.72rem; }
#crew-setup-later { min-height:44px; padding:8px 6px; }
#crew-setup-later,#crew-setup-help { border:0; background:transparent; color:var(--crew-brand-navy); text-decoration:underline; cursor:pointer; font:inherit; }
.crew-setup-meter { margin:24px 0 18px; }
#crew-setup-progress { flex:1; height:10px; accent-color:var(--crew-brand-gold); }
#crew-setup-percent { min-width:105px; text-align:right; font-weight:700; font-size:.85rem; }
#crew-setup-kind { color:var(--crew-brand-gold-ink); font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
#crew-setup-title { margin:8px 0 20px; font:600 clamp(1.4rem, 5vw, 2rem)/1.2 Georgia,serif; }
#crew-setup-body { display:grid; gap:12px; min-height:100px; }
#crew-setup-body input,#crew-setup-body select { width:100%; min-height:48px; padding:10px 12px; border:1px solid var(--crew-brand-gold-ink); border-radius:10px; font:inherit; font-size:16px; background:var(--crew-brand-light); color:var(--crew-brand-navy); }
#crew-setup-body button,.crew-setup-actions button,#crew-setup-hold button { min-height:44px; border:1px solid var(--crew-brand-gold); border-radius:999px; background:var(--crew-brand-gold); color:var(--crew-brand-navy); padding:9px 16px; font:inherit; font-weight:600; cursor:pointer; }
#crew-setup-body button+button { background:transparent; color:var(--crew-brand-navy); }
#crew-setup-body button:disabled,.crew-setup-actions button:disabled { opacity:.55; cursor:not-allowed; }
.crew-setup-actions { margin:18px 0 8px; }
#crew-setup-back { background:var(--crew-brand-light); color:var(--crew-brand-navy); }
#crew-setup-feedback { min-height:1.3em; color:var(--crew-brand-gold-ink); }
#crew-setup-help { padding:8px 0; }
#crew-setup-help { min-height:44px; padding:8px 16px; border:2px solid var(--crew-brand-gold); border-radius:999px; text-decoration:none; }
#crew-setup-help-text { padding:14px; border-left:3px solid var(--crew-brand-gold); background:var(--crew-brand-paper); }
#crew-setup :is(button,input,select):focus-visible,#crew-setup-hold button:focus-visible { outline:3px solid var(--crew-brand-gold); outline-offset:3px; }
#crew-setup-hold:not([hidden]) { position:fixed; inset:0; z-index:1100; display:grid; place-items:center; padding:16px; background:var(--crew-brand-navy); color:var(--crew-brand-light); }
#crew-setup-hold>div { width:min(100%,480px); padding:30px; border:1px solid var(--crew-brand-gold); border-radius:16px; }
#crew-setup-hold strong { color:var(--crew-brand-gold); letter-spacing:.1em; }
#crew-setup-hold h2 { font:600 1.8rem Georgia,serif; }
#crew-setup-hold button { margin:8px 8px 0 0; background:var(--crew-brand-gold); border-color:var(--crew-brand-gold); color:var(--crew-brand-navy); }
#crew-setup-hold button:last-child { background:transparent; color:var(--crew-brand-light); }
@media (max-width:390px) { #crew-setup { width:calc(100% - 16px); padding:18px; } .crew-setup-head { align-items:start; } }
@media (max-width:340px) { #crew-setup-brand img { width:48px; } #crew-setup-later { font-size:.9rem; } }
