/* The original crew, camp and recruitment controls in the outpost's field-record style. */
#roster-view > .section-panel { padding: 28px; border-top: 2px solid #a58b58; }
#roster-view .section-intro { align-items: center; gap: 24px; padding-bottom: 24px; margin-bottom: 22px; }
#roster-view .section-intro h2 { font-size: 27px; line-height: 1.5; font-weight: 600; letter-spacing: 1px; }
#roster-view .section-intro p { max-width: 760px; font-size: 13px; line-height: 1.9; }
#roster-view .section-intro > .primary-button { min-height: 46px; padding: 12px 18px; white-space: normal; }
#roster-view .camp-roster-tabs { padding: 0; gap: 0; border-color: #5f5b4c; background: #151718; }
#roster-view .camp-roster-tabs > button { min-height: 46px; padding: 11px 24px; border-radius: 0; border-right: 1px solid #42433b; font-size: 13px; }
#roster-view .camp-roster-tabs > button.active { border-bottom-color: #c6aa6d; background: #363326; color: #f0dfb7; }
#roster-view .camp-roster-controls { justify-content: space-between; padding: 14px 0 18px; margin: 0; }
#roster-view .camp-roster-controls > small { font-size: 11px; color: #bfb7a6; }
#roster-view .simulation-controls button { min-width: 44px; min-height: 44px; }
#roster-view .roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
#roster-view .roster-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid #5d5c50; border-radius: 3px; background: #202222; }
#roster-view .roster-card:hover { border-color: #9d8c62; background: #242624; }
#roster-view .roster-card-head { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; min-height: 194px; gap: 16px; margin: -5px -5px 0; }
#roster-view .roster-card-head > div { min-width: 0; }
#roster-view .roster-character-art { width: 128px; height: 194px; max-width: 100%; border: 1px solid #3f443d; border-bottom-color: #8b805e; border-radius: 2px; background: #292d2a; }
#roster-view .roster-character-art:hover { background: #353b32; border-color: #b29a64; }
#roster-view .roster-character-art > .robot-figure { width: 100%; height: 100%; }
#roster-view .roster-character-art::after { left: 12%; right: 12%; background: #807b60; }
#roster-view .roster-card-head .robot-design-label { font-size: 11px; line-height: 1.7; margin-bottom: 10px; letter-spacing: 0; overflow-wrap: anywhere; }
#roster-view .roster-card-head h3 { font-size: 25px; font-weight: 600; letter-spacing: 1px; line-height: 1.4; margin-bottom: 10px; }
#roster-view .roster-card-head .roster-meta { gap: 6px 10px; font-size: 12px; line-height: 1.7; }
#roster-view .roster-card-head .crew-status { margin-top: 12px; font-size: 11px; line-height: 1.9; gap: 6px; overflow-wrap: anywhere; }
#roster-view .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px 0; margin-top: 20px; border-block: 1px solid #4b4d43; gap: 12px; }
#roster-view .stat-grid > div { min-width: 0; }
#roster-view .stat-grid small { font-size: 10px; line-height: 1.6; color: #b6b3a7; }
#roster-view .stat-grid strong { font-size: 16px; line-height: 1.7; color: #eee8d8; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#roster-view .stamina-readout { margin: 16px 0; padding: 0 0 15px; border-top: 0; border-bottom-color: #484a40; }
#roster-view .stamina-readout > div { font-size: 12px; }
#roster-view .stamina-readout small { font-size: 11px; line-height: 1.8; }
#roster-view .stamina-readout .combat-bar { height: 5px; border-radius: 1px; }
#roster-view .detail-secondary { font-size: 11px; line-height: 1.9; color: #c2beb2; overflow-wrap: anywhere; margin: 0; }
#roster-view .roster-skills { padding: 12px 0; margin: 16px 0; border-block: 1px solid #494b40; }
#roster-view .roster-skills > div { align-items: baseline; font-size: 12px; line-height: 1.8; padding: 5px 0; }
#roster-view .roster-skills b { font-size: 12px; white-space: nowrap; }
#roster-view .roster-card > .secondary-button { min-height: 44px; padding: 11px 12px; font-size: 12px; text-align: left; white-space: normal; line-height: 1.7; }
#roster-view .roster-card > .training-button { margin-top: auto; border-color: #857549; background: #363326; color: #ead8ab; }
#roster-view .training-button > span { margin-left: auto; font-size: 11px; }
#roster-view .roster-card > .text-button { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin: 4px 0; font-size: 12px; text-align: left; }
#roster-view .camp-panel, #roster-view .camp-member { border: 1px solid #55564a; border-radius: 3px; background: #202222; }
#roster-view .camp-heading { padding-bottom: 18px; border-bottom: 1px solid #474a40; }
#roster-view .camp-heading h2 { font-size: 23px; font-weight: 600; line-height: 1.5; }
#roster-view .camp-heading p { font-size: 12px; line-height: 1.9; }
#roster-view .camp-summary { gap: 14px; }
#roster-view .camp-summary > div { padding: 18px; background: #272922; border-color: #605b46; border-radius: 2px; }
#roster-view .camp-summary span { font-size: 11px; }
#roster-view .camp-summary strong { font-size: 28px; line-height: 1.5; color: #e1ca91; }
#roster-view .camp-summary > div > small { font-size: 11px; line-height: 1.8; }
#roster-view .camp-field { font-size: 12px; line-height: 1.8; }
#roster-view .camp-field select { min-height: 46px; height: auto; padding: 12px; border-radius: 2px; font-size: 12px; line-height: 1.7; }
#roster-view .camp-transfer-person { min-width: 0; border-radius: 2px; border-color: #484e42; background: #191c1b; }
#roster-view .camp-transfer-person strong { font-size: 13px; overflow-wrap: anywhere; }
#roster-view .camp-transfer-person small { font-size: 11px; line-height: 1.9; }
#roster-view .camp-transfer-actions > div { background: #242622; border-color: #515444; border-radius: 2px; }
#roster-view .camp-transfer-actions button, #roster-view .camp-recall button, #roster-view .camp-member > button { min-height: 44px; font-size: 12px; line-height: 1.7; white-space: normal; }
#roster-view .camp-note, #roster-view .camp-reason { font-size: 11px; line-height: 1.9; }
#roster-view .camp-reason { color: #c3c0b5; }
#roster-view .camp-reason.unavailable { color: var(--amber); }
#roster-view .camp-roster { gap: 20px; }
#roster-view .camp-member > header { align-items: center; padding-bottom: 16px; border-bottom: 1px solid #484c41; }
#roster-view .camp-member > header .portrait { width: 66px; height: 74px; }
#roster-view .camp-member h3 { font-size: 21px; line-height: 1.5; }
#roster-view .camp-member > header p { font-size: 12px; }
#roster-view .camp-member code { font-size: 10px; }
#roster-view .camp-member-status { font-size: 11px; color: #bed0d3; background: #242c2d; border-color: #566262; border-radius: 2px; }
#roster-view .camp-member-vitals span { font-size: 11px; }
#roster-view .camp-member-vitals strong { font-size: 14px; }
#roster-view .camp-member-assets > div { background: #181b1a; border-color: #464c40; border-radius: 2px; }
#roster-view .camp-member-assets span { font-size: 11px; }
#roster-view .camp-member-assets strong { font-size: 12px; line-height: 1.8; }
#roster-view .camp-member-details summary { min-height: 44px; padding: 12px 0; font-size: 12px; }
#roster-view .camp-member-details p { font-size: 11px; line-height: 1.9; }
#roster-view .camp-empty { padding: 36px 24px; border-style: dashed; }
#roster-view .camp-empty h3 { font-size: 17px; }
#roster-view .camp-empty p { font-size: 12px; line-height: 1.9; }
#roster-view .camp-empty button { min-height: 44px; font-size: 12px; }
#roster-view .camp-quantity { gap: 12px; }
#roster-view .camp-quantity button { min-height: 48px; padding: 12px; font-size: 14px; border-radius: 2px; }
#roster-view .camp-quantity button.selected { background: #3b3525; border-color: #baa16c; color: #f0dba9; }
#roster-view .camp-quote-cost { padding: 20px; background: #302d23; border-color: #75633f; border-radius: 2px; }
#roster-view .camp-quote-cost > span, #roster-view .camp-destination span { font-size: 11px; }
#roster-view .camp-quote-cost strong { font-size: 32px; line-height: 1.5; }
#roster-view .camp-quote-cost p { font-size: 11px; line-height: 1.9; }
#roster-view .camp-destination > div { background: #191c1a; border-color: #505344; border-radius: 2px; }
#roster-view .camp-destination strong { font-size: 24px; line-height: 1.5; }
#roster-view .camp-recruit-layout > .camp-panel > .primary-button { width: 100%; min-height: 46px; font-size: 13px; white-space: normal; }
#roster-view .camp-probabilities { gap: 20px; }
#roster-view .camp-probabilities h3 { font-size: 15px; }
#roster-view .camp-probabilities th, #roster-view .camp-probabilities td { padding: 12px 0; font-size: 12px; border-color: #505244; }
#roster-view .camp-probabilities td { color: #e1c78f; }
#roster-view .camp-history-row header { font-size: 12px; }
#roster-view .camp-history-row p, #roster-view .camp-history-row small { font-size: 11px; line-height: 1.9; }
#roster-view .camp-history-members > span { font-size: 10px; border-color: #565647; border-radius: 2px; }
#roster-view .supply-recruit-shortcut { background: #2d2b21; border-color: #786744; border-radius: 2px; }
#roster-view .supply-recruit-shortcut p { font-size: 12px; line-height: 1.9; }
#roster-view .supply-recruit-shortcut button { min-height: 44px; white-space: normal; font-size: 12px; }
.camp-confirm .camp-quote-cost, .camp-confirm .camp-confirm-person, .camp-confirm .camp-confirm-balance { border-radius: 2px; border-color: #645e4b; background: #272a24; }
.camp-confirm > p, .camp-confirm .camp-note { font-size: 12px; line-height: 1.9; }
.camp-confirm .dialog-actions > button { min-height: 44px; white-space: normal; }

@media (max-width: 1180px) {
  #roster-view .roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #roster-view .roster-card-head { grid-template-columns: 138px minmax(0, 1fr); }
  #roster-view .roster-character-art { width: 138px; }
  #roster-view .camp-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #roster-view .camp-recruit-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  #roster-view > .section-panel { padding: 20px; }
  #roster-view .section-intro { align-items: flex-start; }
  #roster-view .section-intro h2 { font-size: 24px; }
  #roster-view .roster-grid { grid-template-columns: minmax(0, 1fr); }
  #roster-view .roster-card-head { grid-template-columns: 150px minmax(0, 1fr); }
  #roster-view .roster-character-art { width: 150px; height: 206px; }
  #roster-view .camp-recruit-layout, #roster-view .camp-probabilities, #roster-view .camp-roster { grid-template-columns: minmax(0, 1fr); }
  #roster-view .camp-transfer-fields { grid-template-columns: minmax(0, 1fr); }
  #roster-view .camp-transfer-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  #roster-view > .section-panel { padding: 16px; }
  #roster-view .section-intro { gap: 16px; padding-bottom: 20px; margin-bottom: 18px; }
  #roster-view .section-intro h2 { font-size: 21px; }
  #roster-view .section-intro p { font-size: 12px; }
  #roster-view .section-intro > .primary-button { width: 100%; justify-content: center; }
  #roster-view .camp-roster-tabs { flex-direction: column; }
  #roster-view .camp-roster-tabs > button { width: 100%; min-height: 44px; padding: 11px; border-bottom: 1px solid #42433b; border-right: 0; text-align: left; }
  #roster-view .camp-roster-controls { align-items: flex-start; gap: 12px; }
  #roster-view .camp-roster-controls .simulation-controls { margin-left: auto; }
  #roster-view .roster-card { padding: 16px; }
  #roster-view .roster-card-head { grid-template-columns: 108px minmax(0, 1fr); min-height: 182px; gap: 12px; margin: 0; }
  #roster-view .roster-character-art { width: 108px; height: 182px; }
  #roster-view .roster-card-head h3 { font-size: 24px; }
  #roster-view .roster-card-head .robot-design-label { font-size: 10px; margin-bottom: 8px; }
  #roster-view .roster-card-head .roster-meta { font-size: 11px; gap: 5px 8px; }
  #roster-view .roster-card-head .crew-status { font-size: 10px; line-height: 1.8; }
  #roster-view .stat-grid { gap: 8px; margin-top: 16px; }
  #roster-view .stat-grid strong { font-size: 14px; }
  #roster-view .roster-card > .secondary-button { font-size: 11px; }
  #roster-view .training-button > span { font-size: 10px; }
  #roster-view .camp-panel, #roster-view .camp-member { padding: 16px; }
  #roster-view .camp-heading h2 { font-size: 20px; }
  #roster-view .camp-heading p { font-size: 11px; }
  #roster-view .camp-summary { gap: 10px; }
  #roster-view .camp-summary > div { padding: 13px; }
  #roster-view .camp-summary strong { font-size: 23px; }
  #roster-view .camp-summary > div > small { font-size: 10px; }
  #roster-view .camp-transfer-actions button { width: 100%; }
  #roster-view .camp-transfer-person strong { font-size: 12px; }
  #roster-view .camp-member-vitals { gap: 8px; }
  #roster-view .camp-member-vitals strong { font-size: 12px; }
  #roster-view .camp-member-assets { grid-template-columns: minmax(0, 1fr); }
  #roster-view .camp-history-row header { flex-wrap: wrap; gap: 6px; }
  #roster-view .camp-quantity { gap: 8px; }
  #roster-view .camp-quantity button { font-size: 12px; padding: 10px 6px; }
  #roster-view .camp-quote-cost { padding: 16px; }
  #roster-view .camp-quote-cost strong { font-size: 27px; }
  #roster-view .camp-destination { gap: 10px; }
  #roster-view .camp-destination > div { padding: 12px; }
  #roster-view .camp-destination strong { font-size: 20px; }
}
