/* The original expedition manifest, flight decisions and records in the outpost style. */
#expeditions-view { --flight-line: #585b4d; --flight-accent: #cbb47c; }
#expeditions-view > .expansion-links { padding: 26px 28px; border-color: #635e4a; border-top: 2px solid #aa905e; background: #252721; }
#expeditions-view > .expansion-links h2 { font-size: 26px; font-weight: 600; line-height: 1.5; }
#expeditions-view > .expansion-links p { font-size: 13px; line-height: 1.9; color: #c6c0b0; }
#expeditions-view > .expansion-links button { min-height: 44px; font-size: 12px; }
#expeditions-view .exp-toolbar { gap: 18px; padding: 0 0 20px; margin-bottom: 22px; border-bottom: 1px solid #4c4e43; flex-wrap: wrap; }
#expeditions-view .exp-toolbar .growth-tabs { padding: 0; gap: 0; border-color: #615d4d; background: #151718; }
#expeditions-view .exp-toolbar .growth-tabs button { min-height: 46px; padding: 11px 26px; border-radius: 0; font-size: 13px; border-bottom: 2px solid transparent; }
#expeditions-view .exp-toolbar .growth-tabs button.active { background: #383426; border-bottom-color: #c6ab6f; color: #f0ddb0; }
#expeditions-view .simulation-controls button { min-width: 44px; min-height: 44px; }
#expeditions-view :is(.exp-idle, .exp-active, .exp-history, .exp-history-empty, .exp-preparation, .exp-preview) { border-color: var(--flight-line); border-radius: 2px; background: #222523; }
#expeditions-view .exp-idle { padding: 22px 24px; border-left: 3px solid #8f9470; }
#expeditions-view .exp-idle > span:first-child { background: #30352d; border-color: #626b56; border-radius: 2px; color: #c9d1b9; }
#expeditions-view .exp-idle strong { font-size: 16px; line-height: 1.7; }
#expeditions-view :is(.exp-idle p, .exp-active-heading p, .exp-intro) { font-size: 12px; line-height: 1.9; color: #c6c1b4; }
#expeditions-view .exp-status-dot { font-size: 11px; line-height: 1.8; white-space: normal; }
#expeditions-view .exp-zone-selector { gap: 14px; margin-bottom: 24px; }
#expeditions-view .exp-zone { min-height: 108px; padding: 20px; gap: 16px; border-color: #55594c; border-radius: 2px; background: #202422; }
#expeditions-view .exp-zone:hover { border-color: #a3966c; background: #2d3229; }
#expeditions-view .exp-zone.selected { border-color: #bea36a; background: #373326; box-shadow: inset 0 2px 0 #d5bb7b; }
#expeditions-view .exp-zone-number { font-size: 28px; color: #a6aa93; }
#expeditions-view .exp-zone.selected .exp-zone-number { color: #ead29c; }
#expeditions-view .exp-zone strong { font-size: 17px; line-height: 1.6; color: #e7e3d5; }
#expeditions-view .exp-zone small { font-size: 10px; line-height: 1.7; color: #b7b39f; letter-spacing: .6px; }
#expeditions-view .exp-zone em { font-size: 11px; line-height: 1.8; color: #c4bfaf; }
#expeditions-view .exp-zone-icon { display: block; color: #b8c0a5; }
#expeditions-view .exp-planning-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; }
#expeditions-view :is(.exp-preparation, .exp-preview) { padding: 26px; }
#expeditions-view .exp-section-title { gap: 16px; }
#expeditions-view .exp-section-title h2 { font-size: 23px; font-weight: 600; line-height: 1.5; }
#expeditions-view .exp-section-title h3 { font-size: 16px; font-weight: 600; line-height: 1.6; }
#expeditions-view .exp-section-title > span, #expeditions-view .exp-section-title small { font-size: 11px; line-height: 1.8; }
#expeditions-view .exp-team-count { font-size: 32px; color: #e0c58b; }
#expeditions-view .exp-team-count small { font-size: 14px; }
#expeditions-view .exp-intro { margin: 16px 0 22px; }
#expeditions-view .exp-crew-list { gap: 12px; padding: 3px; scrollbar-color: #817755 #191d1a; }
#expeditions-view .exp-hero { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; padding: 17px; gap: 14px; min-height: 118px; border-color: #50564a; border-radius: 2px; background: #191d1b; }
#expeditions-view .exp-hero:hover { background: #2d332b; border-color: #8c9474; }
#expeditions-view .exp-hero.selected { background: #353325; border-color: #b69d65; }
#expeditions-view .exp-hero-check { border-radius: 1px; background: #282e27; border-color: #616953; }
#expeditions-view .exp-hero.selected .exp-hero-check { background: #d0b77c; color: #1d201a; border-color: #d0b77c; }
#expeditions-view .exp-hero-main strong { font-size: 16px; line-height: 1.7; gap: 8px 12px; }
#expeditions-view .exp-hero-main strong small { font-size: 11px; }
#expeditions-view .exp-hero-main > span { font-size: 12px; line-height: 1.9; color: #c5c1b4; overflow-wrap: anywhere; }
#expeditions-view .exp-hero-main > span.exp-hero-vitals { font-size: 11px; }
#expeditions-view .exp-hero-main em { font-size: 11px; line-height: 1.8; color: #d8c68f; }
#expeditions-view .exp-hero-main em.shortfall { color: var(--amber); }
#expeditions-view .exp-hero > b { font-size: 24px; color: #c0d3d3; overflow-wrap: anywhere; }
#expeditions-view .exp-hero > b small { font-size: 10px; }
#expeditions-view .exp-rally-actions { gap: 12px; margin-top: 18px; }
#expeditions-view .exp-rally-actions :is(.secondary-button, .text-button) { min-height: 44px; font-size: 12px; white-space: normal; }
#expeditions-view .exp-tactic-title { margin-top: 28px; padding-top: 22px; border-color: #505245; }
#expeditions-view .exp-tactics { gap: 10px; }
#expeditions-view .exp-tactics button { min-height: 102px; padding: 16px; border-color: #535a4b; border-radius: 2px; background: #1a1e1b; }
#expeditions-view .exp-tactics button.selected { border-color: #b59f67; background: #383425; }
#expeditions-view .exp-tactics strong { font-size: 14px; line-height: 1.7; }
#expeditions-view .exp-tactics small { font-size: 11px; line-height: 1.9; }
#expeditions-view .exp-supplies { min-height: 76px; padding: 18px; border-radius: 2px; border-color: #59604d; background: #1d221d; }
#expeditions-view .exp-supplies strong { font-size: 13px; line-height: 1.7; }
#expeditions-view .exp-supplies small { font-size: 11px; line-height: 1.9; color: #bdbcae; }
#expeditions-view .exp-preview { border-top: 3px solid #b09a68; background: #272820; }
#expeditions-view .exp-grade { font-size: 11px; border-radius: 2px; white-space: normal; border-color: #7d825b; color: #d0d7ae; background: #303725; }
#expeditions-view .exp-grade.partial { border-color: #a2874f; color: #e4c28b; background: #3a3120; }
#expeditions-view .exp-grade.rescued, #expeditions-view .exp-grade.recalled { border-color: #9b6e60; color: #efb5a7; background: #3b2824; }
#expeditions-view .exp-power { padding: 24px 0; gap: 18px; border-color: #5a5949; }
#expeditions-view .exp-power small { font-size: 11px; line-height: 1.7; }
#expeditions-view .exp-power strong { font-size: 34px; line-height: 1.4; overflow-wrap: anywhere; }
#expeditions-view .exp-readout-row { gap: 16px; padding: 12px 0; font-size: 12px; line-height: 1.9; }
#expeditions-view .exp-readout-row > span, #expeditions-view .exp-readout-row b { min-width: 0; overflow-wrap: anywhere; }
#expeditions-view .exp-readout-row b small { font-size: 11px; }
#expeditions-view .exp-bonuses { border-color: #535448; }
#expeditions-view .exp-bonuses p { font-size: 12px; line-height: 1.9; color: #d1cbb7; }
#expeditions-view .exp-footnote { font-size: 11px; line-height: 1.9; color: #bdb8a9; }
#expeditions-view .exp-estimated { padding: 18px; border-radius: 2px; border-color: #6b644a; background: #20241e; }
#expeditions-view .exp-estimated h3 { font-size: 14px; line-height: 1.7; }
#expeditions-view .exp-estimated p { font-size: 11px; line-height: 1.9; color: #c8c3b3; }
#expeditions-view .exp-rewards { gap: 10px 18px; }
#expeditions-view .exp-rewards > span { font-size: 14px; line-height: 1.8; }
#expeditions-view .exp-rewards small { font-size: 11px; }
#expeditions-view .exp-start-cost { padding: 16px; background: #302c21; border: 1px solid #746141; border-radius: 2px; margin-top: 20px; }
#expeditions-view .exp-start-cost > small { font-size: 11px; color: #d3c2a0; }
#expeditions-view .exp-start-cost span { font-size: 13px; line-height: 1.8; }
#expeditions-view .exp-ready-message { padding: 16px 0; font-size: 12px; line-height: 1.9; }
#expeditions-view .exp-ready-message.good { color: #d9c58e; }
#expeditions-view .exp-blockers { font-size: 11px; line-height: 1.9; }
#expeditions-view .exp-preview > .primary-button { min-height: 46px; padding: 12px 15px; font-size: 13px; white-space: normal; text-align: left; }
#expeditions-view .exp-current-note { font-size: 12px; line-height: 1.9; }
#expeditions-view .exp-active { padding: 28px; background: #252a26; border-color: #656e5d; }
#expeditions-view .exp-active.ready { background: #2a2f23; border-color: #89906b; }
#expeditions-view .exp-active-heading h2 { font-size: 25px; font-weight: 600; line-height: 1.5; }
#expeditions-view .exp-active-heading h2 small { font-size: 12px; }
#expeditions-view .exp-flight-state strong, #expeditions-view .exp-countdown { font-size: 30px; color: #c2d1cb; }
#expeditions-view .exp-flight-state span { font-size: 11px; line-height: 1.8; }
#expeditions-view .ready .exp-flight-state strong { font-size: 22px; color: #d7cb94; }
#expeditions-view .exp-route-progress { margin: 26px 0 16px; gap: 12px; }
#expeditions-view .exp-route-progress li { font-size: 12px; line-height: 1.8; }
#expeditions-view .exp-route-progress li > span { width: 30px; height: 30px; border-radius: 2px; font-size: 12px; }
#expeditions-view .exp-route-progress li.current > span { background: #443b27; border-color: #c4a86c; }
#expeditions-view .exp-route-progress li.complete { color: #c9d2b8; }
#expeditions-view .exp-route-progress li.complete > span { background: #3c4730; border-color: #7b8e63; color: #d6dfba; }
#expeditions-view .exp-progress { height: 6px; border-radius: 1px; background: #4d5144; }
#expeditions-view .exp-progress > span { background: #b8b991; }
#expeditions-view .exp-decision { border-color: #585b4c; }
#expeditions-view .exp-decision > .exp-section-title h3 { font-size: 21px; }
#expeditions-view .exp-decision > p { font-size: 12px; line-height: 1.9; }
#expeditions-view .exp-choice-grid { gap: 18px; }
#expeditions-view .exp-choice { padding: 22px; background: #232a23; border-color: #74805c; border-radius: 2px; }
#expeditions-view .exp-choice.salvage { background: #302d22; border-color: #9c814f; }
#expeditions-view .exp-choice > p { font-size: 12px; line-height: 1.9; }
#expeditions-view .exp-choice-meta span, #expeditions-view .exp-choice-damage { font-size: 11px; line-height: 1.9; }
#expeditions-view .exp-choice-meta b { font-size: 14px; }
#expeditions-view .exp-choice > .full { min-height: 46px; padding: 12px; font-size: 13px; white-space: normal; }
#expeditions-view .exp-flight-details summary { min-height: 44px; padding: 11px 0; font-size: 12px; line-height: 1.8; }
#expeditions-view .exp-locked-crew { gap: 12px; }
#expeditions-view .exp-locked-crew > div { padding: 16px; background: #1c211d; border-color: #535c4b; border-radius: 2px; }
#expeditions-view .exp-locked-crew strong { font-size: 13px; line-height: 1.7; }
#expeditions-view .exp-locked-crew strong small, #expeditions-view .exp-locked-crew p { font-size: 11px; line-height: 1.9; }
#expeditions-view .exp-locked-crew b { font-size: 20px; }
#expeditions-view .exp-locked-crew b small { font-size: 10px; }
#expeditions-view .exp-flight-log { border-color: #72775f; padding-left: 18px; }
#expeditions-view .exp-flight-log p { font-size: 12px; line-height: 1.9; color: #c3c9ba; }
#expeditions-view .exp-flight-log time { font-size: 10px; color: #aaa997; }
#expeditions-view .exp-active-footer { border-color: #565c4b; flex-wrap: wrap; }
#expeditions-view .exp-active-footer p { font-size: 11px; line-height: 1.9; }
#expeditions-view .exp-active-footer > button { min-height: 46px; padding: 12px 16px; font-size: 12px; white-space: normal; }
#expeditions-view .exp-damage-list { border-color: #5d6252; border-radius: 2px; background: #535a4b; }
#expeditions-view .exp-damage-list > div { padding: 13px 15px; background: #20271f; font-size: 12px; }
#expeditions-view .exp-damage-list span { font-size: 11px; line-height: 1.8; }
#expeditions-view .exp-history { padding: 26px; }
#expeditions-view .exp-history-entry { border-color: #52584a; }
#expeditions-view .exp-history-entry > summary { min-height: 72px; gap: 18px; padding: 20px 0; flex-wrap: wrap; }
#expeditions-view .exp-history-index { width: 42px; height: 44px; font-size: 13px; border-radius: 2px; background: #30372b; border-color: #687258; color: #d0d1ad; }
#expeditions-view .exp-history-entry strong { font-size: 16px; line-height: 1.6; }
#expeditions-view .exp-history-entry summary small { font-size: 11px; line-height: 1.8; }
#expeditions-view .exp-history-value { display: inline-block; font-size: 22px; white-space: normal; }
#expeditions-view .exp-history-value small { font-size: 10px; }
#expeditions-view .exp-history-entry > .exp-report { padding: 20px; background: #1b211b; border-color: #4f5947; border-radius: 2px; }
#expeditions-view .exp-history-empty { padding: 44px 26px; }
#expeditions-view .exp-history-empty h2 { font-size: 22px; line-height: 1.6; }
#expeditions-view .exp-history-empty p { font-size: 12px; line-height: 1.9; }
#expeditions-view .exp-history-empty button { min-height: 44px; font-size: 12px; }
.exp-confirmation > h3 { font-size: 23px; font-weight: 600; line-height: 1.6; }
.exp-confirmation > p { font-size: 12px; line-height: 1.9; }
.exp-confirmation .exp-locked-crew > div { padding: 15px; background: #242a23; border-color: #60684f; border-radius: 2px; }
.exp-confirmation .exp-locked-crew strong { font-size: 13px; }
.exp-confirmation .exp-locked-crew p { font-size: 11px; line-height: 1.9; }
.exp-confirmation .exp-exact-ids { flex-wrap: wrap; }
.exp-confirmation .exp-exact-ids span { padding: 6px 9px; border-radius: 2px; color: #d4cbab; background: #303429; border-color: #626b53; overflow-wrap: anywhere; }
.exp-confirmation :is(.exp-readout-row, .exp-footnote) { font-size: 12px; line-height: 1.9; }
.exp-confirmation .exp-estimated { padding: 17px; border: 1px solid #63624c; border-radius: 2px; background: #24291f; }
.exp-confirmation .exp-estimated h3 { font-size: 14px; line-height: 1.7; }
.exp-confirmation .exp-start-cost { padding: 15px; border: 1px solid #75603e; border-radius: 2px; background: #332b1f; }
.exp-confirmation .exp-recall-note { background: #382d20; border-color: #997c4a; color: #e3c693; border-radius: 2px; font-size: 12px; line-height: 1.9; }
.exp-confirmation .dialog-actions button { min-height: 46px; padding: 12px; white-space: normal; font-size: 12px; }

@media (max-width: 1000px) {
  #expeditions-view .exp-planning-grid { grid-template-columns: minmax(0, 1fr); }
  #expeditions-view .exp-tactics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #expeditions-view .exp-tactics button { display: block; }
  #expeditions-view .exp-tactics small { margin-top: 7px; }
}
@media (max-width: 700px) {
  #expeditions-view > .expansion-links { padding: 20px; }
  #expeditions-view > .expansion-links h2 { font-size: 22px; }
  #expeditions-view > .expansion-links p { font-size: 12px; }
  #expeditions-view .exp-zone-selector, #expeditions-view .exp-choice-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #expeditions-view .exp-zone { min-height: 100px; padding: 17px; gap: 14px; }
  #expeditions-view .exp-zone strong { font-size: 17px; }
  #expeditions-view .exp-zone em { font-size: 11px; }
  #expeditions-view :is(.exp-preparation, .exp-preview, .exp-active, .exp-history) { padding: 20px; }
  #expeditions-view .exp-section-title h2 { font-size: 21px; }
  #expeditions-view .exp-section-title h3 { font-size: 15px; }
  #expeditions-view .exp-section-title { flex-wrap: wrap; gap: 10px; }
  #expeditions-view .exp-hero { grid-template-columns: 24px minmax(0, 1fr) 42px; gap: 10px; padding: 14px 11px; }
  #expeditions-view .exp-hero-main strong { font-size: 14px; }
  #expeditions-view .exp-hero-main > span, #expeditions-view .exp-hero-main > span.exp-hero-vitals { font-size: 11px; }
  #expeditions-view .exp-hero > b { font-size: 19px; }
  #expeditions-view .exp-hero > b small { font-size: 9px; }
  #expeditions-view .exp-tactics { grid-template-columns: minmax(0, 1fr); }
  #expeditions-view .exp-tactics button { min-height: 84px; padding: 15px; }
  #expeditions-view .exp-tactics strong { font-size: 14px; }
  #expeditions-view .exp-tactics small { font-size: 11px; }
  #expeditions-view .exp-supplies { padding: 15px; }
  #expeditions-view .exp-power { gap: 12px; }
  #expeditions-view .exp-power strong { font-size: 30px; }
  #expeditions-view .exp-active-heading { flex-wrap: wrap; gap: 14px; }
  #expeditions-view .exp-active-heading h2 { font-size: 22px; }
  #expeditions-view .exp-flight-state { text-align: left; }
  #expeditions-view .exp-flight-state span { max-width: none; }
  #expeditions-view .exp-route-progress { gap: 7px; flex-wrap: wrap; }
  #expeditions-view .exp-route-progress li { font-size: 10px; white-space: normal; min-width: 44px; }
  #expeditions-view .exp-route-progress li > span { width: 27px; height: 28px; font-size: 11px; }
  #expeditions-view .exp-choice { padding: 18px; }
  #expeditions-view .exp-flight-log p { font-size: 11px; }
  #expeditions-view .exp-history-entry > summary { gap: 12px; }
  #expeditions-view .exp-history-entry > summary > span:nth-child(2) { min-width: calc(100% - 58px); }
  #expeditions-view .exp-history-entry > summary > .exp-grade { margin-left: 0; }
  #expeditions-view .exp-history-value { display: inline-block; margin-left: auto; font-size: 20px; }
  #expeditions-view .exp-history-entry > .exp-report { padding: 15px; }
  .exp-confirmation > h3 { font-size: 20px; }
  .exp-confirmation .dialog-actions { flex-direction: column; }
  .exp-confirmation .dialog-actions button { width: 100%; min-width: 0; }
}
@media (max-width: 380px) {
  #expeditions-view :is(.exp-preparation, .exp-preview, .exp-active, .exp-history) { padding: 16px; }
  #expeditions-view .exp-toolbar .growth-tabs { width: 100%; flex-basis: 100%; }
  #expeditions-view .exp-toolbar .growth-tabs button { flex: 1; padding-inline: 12px; }
  #expeditions-view .exp-toolbar .simulation-controls { margin-left: auto; }
  #expeditions-view .exp-hero { grid-template-columns: 22px minmax(0, 1fr); gap: 8px 10px; }
  #expeditions-view .exp-hero > b { grid-column: 2; text-align: left; font-size: 18px; }
  #expeditions-view .exp-hero > b small { display: inline; margin-left: 6px; }
  #expeditions-view .exp-rally-actions > button { width: 100%; justify-content: center; }
  #expeditions-view .exp-preview > .exp-section-title { align-items: flex-start; }
  #expeditions-view .exp-power strong { font-size: 26px; }
}
