#moreProfileContext[hidden]{display:none!important}
.ais-crew-card{--ais-crew-accent:#82cada;background:linear-gradient(135deg,#142b48,#102037);border:1px solid #38516e;border-left:3px solid var(--ais-crew-accent);border-radius:16px;padding:20px;margin:0 0 18px;color:#f2f6fc;font-family:inherit;min-width:0}
.ais-crew-kicker{font-size:10px;font-weight:700;letter-spacing:.12em;color:#a6bfd5}
.ais-crew-card h3{font-size:24px;line-height:1.2;margin:8px 0 4px;overflow-wrap:anywhere;letter-spacing:-.025em}
.ais-crew-codes{font-size:13px;color:#b8d4eb;margin:0 0 16px}
.ais-crew-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}
.ais-crew-facts div{min-width:0}.ais-crew-facts dd{word-break:normal}.ais-crew-facts dt{letter-spacing:.005em}.ais-crew-facts dt{font-size:11px;color:#adc2d6;margin-bottom:5px}.ais-crew-facts dd{margin:0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.ais-crew-note{font-size:12px;line-height:1.5;color:#b8cde0;margin:12px 0}
.ais-crew-card button{min-height:44px}.ais-crew-card button:focus-visible{outline:2px solid #9edfff;outline-offset:3px}
body.light .ais-crew-card{background:#edf3f9;color:#142b48;border-color:#bbcbdc;border-left-color:var(--ais-crew-accent)}
body.light .ais-crew-kicker,body.light .ais-crew-codes,body.light .ais-crew-facts dt,body.light .ais-crew-note{color:#405d78}
@media(max-width:520px){.ais-crew-card{padding:16px}.ais-crew-facts{grid-template-columns:1fr;gap:12px}.ais-crew-card h3{font-size:22px}}
/* One profile form and save action; Home Base stays beside preferred position. */
.crew-profile-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0;align-items:start}
.crew-profile-editor #crewProfileForm,.crew-profile-editor .profile-fields{display:contents}
.crew-profile-editor #crewProfileForm .profile-fields>label:nth-child(1){grid-column:1;grid-row:1}
.crew-profile-editor #crewProfileForm .profile-fields>label:nth-child(2){grid-column:2;grid-row:1}
.crew-profile-editor #crewProfileForm .profile-fields>label:nth-child(3){grid-column:1;grid-row:2}
.crew-profile-editor #crewProfileForm .profile-fields>label:nth-child(4){grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:8px;font-size:12px;min-width:0}
.crew-profile-editor #homeBaseAirport{width:100%;min-height:44px}
.crew-profile-editor #crewProfileForm>button{grid-column:1;grid-row:3;justify-self:start}
.crew-profile-editor #crewAirlineWorkspaceHelp{grid-column:1/-1;grid-row:4;margin:0}
.crew-profile-editor #homeBaseStatus{grid-column:1/-1;grid-row:5;margin:0}
@media(max-width:640px){
 .crew-profile-editor{grid-template-columns:minmax(0,1fr);gap:13px}
 .crew-profile-editor #crewProfileForm .profile-fields>label:nth-child(2){grid-column:1;grid-row:2}
 .crew-profile-editor #crewProfileForm .profile-fields>label:nth-child(3){grid-column:1;grid-row:3}
 .crew-profile-editor #crewProfileForm .profile-fields>label:nth-child(4){grid-column:1;grid-row:4}
 .crew-profile-editor #crewProfileForm>button{grid-column:1;grid-row:5}
 .crew-profile-editor #crewAirlineWorkspaceHelp{grid-row:6}
 .crew-profile-editor #homeBaseStatus{grid-row:7}
}
