.strategic-map { display: block; width: min(100%, 560px); aspect-ratio: 1; margin: 12px auto 0; border: 1px solid rgba(105,243,255,.45); border-radius: 12px; background: #061126; cursor: crosshair; touch-action: manipulation; }

.economy-list { display: grid; gap: 8px; margin-top: 14px; }
.economy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid rgba(105,243,255,.16); border-radius: 10px; background: rgba(16,31,62,.65); }
.economy-row span, .economy-row small { display: block; }
.economy-row small { margin-top: 3px; color: #8296ba; }
.economy-row .equipment-comparison { margin-top: 7px; color: #8affc0; line-height: 1.4; }
.fitting-budget { border: 1px solid rgba(105,243,255,.35); color: #dffcff; background: rgba(105,243,255,.08); }
.equipment-loadout-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.tactical-advisor { display: grid; gap: 10px; margin: 0 0 14px; padding: 14px; border: 1px solid rgba(185,140,255,.48); border-radius: 12px; background: linear-gradient(135deg,rgba(73,38,126,.32),rgba(12,31,63,.86)); }
.tactical-advisor-heading,.tactical-advisor-controls,.tactical-advisor-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tactical-advisor-heading span,.tactical-advisor-heading small { display: block; }
.tactical-advisor-heading strong { color: #d9c2ff; letter-spacing: .09em; }
.tactical-advisor-heading small { margin-top: 4px; color: #9eb0d0; font-size: 10px; }
.tactical-faction-posture { padding: 5px 8px; border-radius: 999px; color: #69f3ff; background: rgba(105,243,255,.1); font-size: 9px; font-weight: 800; }
.tactical-advisor-controls select { min-width: 160px; height: 38px; padding: 0 9px; border: 1px solid rgba(185,140,255,.45); border-radius: 8px; color: #eef1ff; background: #101a36; }
.tactical-advisor-changes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.tactical-advisor-changes span { min-width: 0; padding: 7px 8px; border-radius: 7px; overflow-wrap: anywhere; color: #a8b8d4; background: rgba(4,12,30,.48); font-size: 10px; }
.tactical-advisor-changes .is-change { color: #8affc0; }
.tactical-advisor-actions .economy-small-button { min-width: 190px; }
.tactical-advisor .tactical-fit,.tactical-advisor .tactical-repair-note { margin: 0; }
@media (max-width: 620px) { .tactical-advisor-heading,.tactical-advisor-controls { align-items: stretch; flex-direction: column; } .tactical-advisor-controls select,.tactical-advisor-controls button { width: 100%; } .tactical-advisor-changes { grid-template-columns: 1fr; } }
.ship-loss-recovery { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(1,4,14,.76); }
.ship-loss-recovery-panel { width: min(680px,100%); max-height: min(88vh,760px); overflow: auto; padding: 22px; border: 1px solid #ff5573; border-radius: 16px; color: #dce9ff; background: #0a132b; box-shadow: 0 22px 80px rgba(0,0,0,.75); }
.ship-loss-recovery-panel h2 { margin: 0; color: #ff8ca2; font-size: 22px; letter-spacing: .08em; }
.ship-loss-recovery-panel p { margin: 12px 0 0; color: #c7d2ef; line-height: 1.5; }
.ship-loss-recovery-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ship-loss-recovery-actions button { width: auto; min-width: 110px; height: 42px; margin: 0; padding: 0 13px; box-shadow: none; }
.ship-loss-recovery-actions button.secondary { border-color: rgba(158,179,214,.5); color: #c7d2ef; background: rgba(255,255,255,.05); }
.ship-loss-recovery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.ship-loss-recovery-grid > div,.ship-loss-replacements { display: grid; gap: 5px; min-width: 0; padding: 11px; border: 1px solid rgba(99,234,255,.2); border-radius: 10px; background: rgba(16,34,66,.72); }
.ship-loss-recovery-grid strong,.ship-loss-replacements > strong { color: #63eaff; font-size: 11px; letter-spacing: .08em; }
.ship-loss-recovery-grid span,.ship-loss-replacements span { overflow-wrap: anywhere; color: #dce9ff; font-size: 13px; line-height: 1.35; }
.ship-loss-replacements { margin-top: 8px; }
@media (max-width: 620px) { .ship-loss-recovery-grid { grid-template-columns: 1fr; } }
.economy-small-button { width: auto; min-width: 94px; height: 38px; margin: 0; padding: 0 11px; font-size: 10px; box-shadow: none; }
.economy-transfer-panel { margin-top: 14px; padding: 12px; border: 1px solid rgba(105,243,255,.3); border-radius: 12px; background: rgba(10,26,54,.7); }
.inventory-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.inventory-sections .economy-transfer-panel { margin-top: 0; }
.inventory-sections .ship-inventory-grid, .personal-components-panel .ship-inventory-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr));
  margin-top: 10px;
}
.ship-inventory-slot { box-sizing: border-box; min-width: 0; overflow: hidden; }
.ship-inventory-slot strong { overflow-wrap: anywhere; }
.economy-transfer-panel h3 { margin: 0; color: #9cefff; font-size: 12px; letter-spacing: .08em; }
.economy-transfer-panel > p { margin: 6px 0 0; color: #91a4c8; font-size: 11px; }
.economy-transfer-subtitle { margin-top: 18px !important; }
.economy-transfer-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ship-inventory-slot .inventory-transfer-button { width: 100%; min-width: 0; margin-top: 9px; }
.inventory-tools { display: grid; grid-template-columns: minmax(180px, 1.6fr) repeat(2, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
.inventory-tools input, .inventory-tools select { min-width: 0; height: 40px; margin: 0; padding: 0 9px; border: 1px solid rgba(105,243,255,.25); border-radius: 9px; color: #dffcff; background: #101a36; }
.economy-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 2px; }
.economy-pagination strong { min-width: 170px; color: #a9b8d6; font-size: 10px; text-align: center; }
.economy-small-button.selected { border-color: #69f3ff; color: #05101d; background: #69f3ff; }
.economy-sell { color: #8affc0; border-color: rgba(138,255,192,.5); }
.economy-cancel, .economy-error { color: #ff9bb0; border-color: rgba(255,85,115,.5); }
.economy-tabs { display: flex; gap: 7px; margin-top: 12px; overflow-x: auto; }
.market-item-selector { width: 100%; height: 42px; margin-top: 10px; padding: 0 10px; border: 1px solid rgba(105,243,255,.25); border-radius: 9px; color: #dffcff; background: #101a36; }
.economy-order-form { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 8px; margin-top: 14px; }
.economy-order-form input, .economy-order-form select { width: 100%; height: 42px; margin: 0; padding: 0 9px; border: 1px solid rgba(105,243,255,.25); border-radius: 9px; color: #dffcff; background: #101a36; }
.economy-book { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.economy-book > div { padding: 10px; border: 1px solid rgba(105,243,255,.14); border-radius: 10px; }
.economy-book.single { grid-template-columns: 1fr; }
.economy-book h4, .economy-list h4 { margin: 0 0 8px; color: #9cefff; font-size: 11px; letter-spacing: .1em; }
.economy-book p { margin: 5px 0; color: #c7d2ef; font-size: 11px; }
.economy-quantity { width: 64px; height: 38px; padding: 0 8px; border: 1px solid rgba(105,243,255,.25); border-radius: 8px; color: #fff; background: #101a36; }
.economy-row .economy-requirements { display: flex; flex-wrap: wrap; gap: 4px 7px; margin-top: 7px; }
.economy-row .economy-requirements > span { display: inline-block; padding: 2px 5px; border-radius: 5px; font-size: 10px; }
.economy-requirements .available { color: #8affc0; background: rgba(40, 142, 96, .16); }
.economy-requirements .missing { color: #ff8ca2; background: rgba(164, 43, 68, .18); }
.economy-trade-card { padding: 12px; border: 1px solid rgba(185,140,255,.3); border-radius: 12px; background: rgba(20,25,54,.82); }
.economy-trade-card > h4 { color: #cdb2ff; }
.economy-trade-card > p { margin: 6px 0; color: #c7d2ef; font-size: 11px; }
.economy-trade-card > button { margin: 8px 6px 0 0; }
.economy-trade-card.traditional { padding: 15px; }
.trade-main-header, .trade-main-actions, .trade-inventory-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.trade-main-header h4, .trade-inventory-header h3 { margin: 0; color: #dffcff; font-size: 16px; }
.trade-main-header small, .trade-inventory-header small { display: block; margin-top: 3px; color: #91a4c8; font-size: 10px; }
.trade-confirm-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.trade-confirm-badges span { padding: 5px 8px; border-radius: 999px; color: #ffcf8c; background: rgba(255,180,92,.12); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.trade-confirm-badges span.ready { color: #8affc0; background: rgba(138,255,192,.12); }
.trade-offer-box { margin-top: 12px; padding: 12px; border: 1px solid rgba(105,243,255,.2); border-radius: 12px; background: rgba(5,12,32,.55); }
.trade-offer-box.theirs { border-color: rgba(185,140,255,.32); }
.trade-offer-box h5 { margin: 0 0 9px; color: #9cefff; font-size: 10px; letter-spacing: .12em; }
.trade-offer-box.theirs h5 { color: #d4bcff; }
.trade-offer-grid { display: grid; grid-template-columns: repeat(6, minmax(74px,1fr)); gap: 7px; }
.trade-offer-slot { position: relative; min-height: 92px; padding: 7px; border: 1px dashed rgba(105,243,255,.14); border-radius: 9px; background: rgba(12,25,52,.48); text-align: center; }
.trade-offer-slot.filled { border-style: solid; border-color: rgba(105,243,255,.28); background: rgba(19,44,75,.72); }
.trade-offer-box.theirs .trade-offer-slot.filled { border-color: rgba(185,140,255,.34); }
.trade-offer-slot img, .trade-offer-slot .trade-asset-fallback { display: flex; width: 40px; height: 40px; margin: 0 auto 4px; align-items: center; justify-content: center; object-fit: contain; }
.trade-asset-fallback { border-radius: 9px; color: #071020; background: #69f3ff; font-size: 12px; font-weight: 900; }
.trade-offer-slot strong, .trade-offer-slot span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trade-offer-slot strong { color: #dce9ff; font-size: 9px; }
.trade-offer-slot span { margin-top: 3px; color: #8affc0; font-size: 10px; font-weight: 800; }
.trade-remove { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; margin: 0; padding: 0; border: 1px solid rgba(255,85,115,.55); border-radius: 50%; color: #ff9bb0; background: #231027; box-shadow: none; font-size: 14px; line-height: 1; }
.trade-main-actions { margin-top: 13px; }
.trade-main-actions .economy-small-button { flex: 1; min-height: 44px; }
.trade-cancel-button { width: 100%; margin: 8px 0 0 !important; }
.trade-inventory-panel { width: min(780px,100%); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 17px; border: 1px solid rgba(105,243,255,.42); border-radius: 16px; color: #dce9ff; background: #081127; box-shadow: 0 24px 80px rgba(0,0,0,.75); }
.trade-inventory-grid { display: grid; grid-template-columns: repeat(5,minmax(105px,1fr)); gap: 9px; margin-top: 14px; }
.trade-inventory-item { min-height: 126px; height: auto; margin: 0; padding: 10px 7px; border: 1px solid rgba(105,243,255,.18); border-radius: 11px; color: #dce9ff; background: rgba(16,31,62,.72); box-shadow: none; text-align: center; }
.trade-inventory-item.selected { border-color: #69f3ff; background: rgba(105,243,255,.14); }
.trade-inventory-item img, .trade-inventory-item .trade-asset-fallback { display: flex; width: 58px; height: 58px; margin: 0 auto 6px; align-items: center; justify-content: center; object-fit: contain; }
.trade-inventory-item strong, .trade-inventory-item span { display: block; }
.trade-inventory-item strong { font-size: 11px; }
.trade-inventory-item span { margin-top: 4px; color: #8fa5ca; font-size: 9px; line-height: 1.3; }
.trade-inventory-selection { position: sticky; bottom: -17px; display: grid; grid-template-columns: 1fr 90px auto auto; align-items: center; gap: 8px; margin: 14px -17px -17px; padding: 12px 17px; border-top: 1px solid rgba(105,243,255,.2); background: rgba(8,17,39,.98); }
.trade-inventory-selection.hidden { display: none; }
.trade-inventory-selection input { width: 90px; height: 38px; margin: 0; padding: 0 8px; border: 1px solid rgba(105,243,255,.28); border-radius: 8px; color: #fff; background: #101a36; }

.economy-trade-form { display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr)); gap: 7px; margin-top: 10px; }
.economy-trade-form input { min-width: 0; height: 38px; padding: 0 8px; border: 1px solid rgba(105,243,255,.2); border-radius: 8px; color: #fff; background: #101a36; }

@media (max-width: 560px) {
  .economy-book, .economy-order-form, .economy-trade-form { grid-template-columns: 1fr; }
  .economy-row { align-items: stretch; flex-wrap: wrap; }
  .economy-transfer-actions { width: 100%; }
  .inventory-sections { grid-template-columns: 1fr; }
  .economy-transfer-actions .economy-small-button { flex: 1; }
  .trade-main-header { align-items: flex-start; flex-direction: column; }
  .trade-confirm-badges { justify-content: flex-start; }
  .trade-offer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .trade-inventory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trade-inventory-selection { grid-template-columns: 1fr 74px; }
  .trade-inventory-selection .economy-small-button { min-width: 0; }

}

.transport-entry { border-color: rgba(185,140,255,.55); color: #dcc9ff; }
.transport-inventory-button { width: 100%; margin-top: 12px; border-color: rgba(185,140,255,.55); color: #dcc9ff; }
.transport-contract-alert {
  position: fixed; z-index: 4; top: calc(112px + var(--safe-top)); left: max(14px, var(--safe-left)); right: auto;
  width: auto; max-width: min(330px, calc(100vw - 24px)); height: auto; min-height: 46px;
  margin: 0; padding: 8px 12px; border: 1px solid rgba(185,140,255,.7);
  border-radius: 12px; color: #f0e8ff; background: rgba(16,18,48,.9);
  box-shadow: 0 8px 28px rgba(0,0,0,.35), 0 0 18px rgba(185,140,255,.15);
  text-align: left; touch-action: manipulation;
}
.transport-contract-alert strong, .transport-contract-alert span { display: block; }
.transport-contract-alert strong { color: #cdb2ff; font-size: 11px; }
.transport-contract-alert span { margin-top: 2px; color: #c7d2ef; font-size: 10px; font-weight: 600; }
.transport-tabs { padding-bottom: 3px; }
.transport-contract-form, .transport-contract-card {
  margin-top: 12px; padding: 13px; border: 1px solid rgba(185,140,255,.28);
  border-radius: 12px; background: rgba(20,25,54,.78);
}
.transport-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.transport-contract-form h4 { margin: 0; color: #cdb2ff; font-size: 12px; letter-spacing: .09em; }
.transport-max-button { min-width: 64px; height: 32px; border-color: rgba(105,243,255,.65); color: #bdf9ff; }
.transport-material-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.transport-material-grid label, .transport-contract-form > label { color: #9fb0d2; font-size: 10px; letter-spacing: .05em; }
.transport-material-grid input, .transport-contract-form > label input {
  display: block; width: 100%; height: 40px; margin-top: 5px; padding: 0 9px;
  border: 1px solid rgba(185,140,255,.28); border-radius: 8px; color: #fff; background: #101a36;
}
.transport-contract-form > label { display: block; margin-top: 10px; }
.transport-selection-summary { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; color: #b8c9e7; background: rgba(4,9,28,.48); font-size: 10px; line-height: 1.45; }
.transport-create-button { width: 100%; margin-top: 12px; color: #100822; background: linear-gradient(135deg,#d6c0ff,#9e72f5); }
.transport-contract-heading, .transport-contract-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.transport-contract-heading strong { color: #d9c7ff; font-size: 14px; }
.transport-contract-heading span { color: #8affc0; font-weight: 800; font-size: 12px; }
.transport-contract-card p { margin: 8px 0; color: #d8e3f7; font-size: 11px; line-height: 1.4; }
.transport-contract-card small { display: block; color: #8fa5ca; font-size: 10px; }
.transport-contract-actions { justify-content: flex-end; flex-wrap: wrap; margin-top: 10px; }
.transport-contract-status { color: #9cefff !important; font-weight: 800; letter-spacing: .05em; }
.transport-contract-party { margin-bottom: 4px; color: #cdb2ff !important; }
.transport-contract-card.status-delivered { border-color: rgba(138,255,192,.36); }
.transport-contract-card.status-looted, .transport-contract-card.status-cancelled { border-color: rgba(255,85,115,.35); }

@media (max-width: 560px) {
  .transport-material-grid { grid-template-columns: 1fr; }
  .transport-contract-actions .economy-small-button { flex: 1 1 130px; }
}
.economy-item-glyph {
  align-items: center;
  background: radial-gradient(circle at 35% 25%, #dffaff, #6a67c9 55%, #252249);
  border: 1px solid rgba(185, 140, 255, .8);
  border-radius: 10px;
  color: #fff;
  display: flex;
  font: 900 18px/1 system-ui;
  height: 48px;
  justify-content: center;
  margin: auto;
  width: 48px;
}
.craft-tabs, .craft-grade-tabs { padding-bottom: 3px; }
.craft-tabs .economy-small-button, .craft-grade-tabs .economy-small-button { flex: 0 0 auto; }
.craft-grade-tabs { margin-top: 7px; }
.craft-grade-tabs .economy-small-button { min-width: 68px; height: 32px; }
.craft-recipe-list { margin-bottom: 12px; }
.craft-tools { display: grid; grid-template-columns: minmax(180px, 1.6fr) repeat(2, minmax(130px, 1fr)); gap: 8px; margin-top: 10px; }
.craft-tools input, .craft-tools select { min-width: 0; height: 38px; margin: 0; padding: 0 9px; border: 1px solid rgba(105,243,255,.25); border-radius: 8px; color: #dffcff; background: #101a36; }
.craft-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.craft-item-summary { display: flex; min-width: 0; flex: 1; align-items: center; gap: 11px; }
.craft-item-summary > img, .craft-item-summary > .economy-item-glyph { flex: 0 0 auto; width: 58px; height: 58px; margin: 0; object-fit: contain; filter: drop-shadow(0 0 12px rgba(105,243,255,.22)); }
.craft-item-summary > span { min-width: 0; }
.craft-item-summary strong { overflow-wrap: anywhere; color: #dffcff; font-size: 13px; }
.craft-recipe-row, .craft-queue-row, .craft-plan-row { min-height: 82px; }
.craft-row-actions .craft-info-button { min-width: 38px; width: 38px; padding: 0; border-color: rgba(185,140,255,.7); border-radius: 50%; color: #dcc9ff; font-size: 16px; }
.craft-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0; }
.craft-pagination strong { min-width: 180px; color: #a9b8d6; font-size: 11px; text-align: center; }
.craft-detail-overlay { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 12px; background: rgba(2,5,15,.76); backdrop-filter: blur(6px); }
.craft-detail-panel { width: min(620px, 100%); max-height: min(720px, calc(100dvh - 24px)); overflow-y: auto; padding: 16px; border: 1px solid rgba(105,243,255,.4); border-radius: 16px; color: #dce9ff; background: #081127; box-shadow: 0 24px 80px rgba(0,0,0,.7); }
.craft-info-panel { width: min(560px, 100%); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 18px; border: 1px solid rgba(185,140,255,.5); border-radius: 16px; color: #dce9ff; background: #081127; box-shadow: 0 24px 80px rgba(0,0,0,.72); }
.craft-info-panel > p { color: #b8c9e7; font-size: 12px; line-height: 1.5; }
.craft-info-icon { display: block; width: 110px; height: 110px; margin: 14px auto; object-fit: contain; filter: drop-shadow(0 0 15px rgba(105,243,255,.24)); }
.craft-info-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.craft-info-details > div { padding: 9px; border: 1px solid rgba(105,243,255,.15); border-radius: 9px; background: rgba(16,31,62,.58); }
.craft-info-details small, .craft-info-details strong { display: block; }
.craft-info-details small { color: #8296ba; font-size: 9px; text-transform: uppercase; }
.craft-info-details strong { margin-top: 4px; color: #dffcff; font-size: 12px; }
.craft-detail-header, .craft-detail-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.craft-detail-header h3 { margin: 0; color: #dffcff; font-size: 19px; }
.craft-detail-header small { display: block; margin-top: 4px; color: #91a4c8; }
.craft-detail-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.craft-need-section { padding: 11px; border: 1px solid rgba(105,243,255,.16); border-radius: 12px; background: rgba(16,31,62,.58); }
.craft-need-section h4 { margin: 0 0 8px; color: #9cefff; font-size: 11px; letter-spacing: .1em; }
.craft-need-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid rgba(105,243,255,.08); }
.craft-need-row:first-of-type { border-top: 0; }
.craft-need-row img { width: 34px; height: 34px; object-fit: contain; }
.craft-need-row span, .craft-need-row small { display: block; }
.craft-need-row strong { font-size: 12px; }
.craft-need-row small { margin-top: 2px; color: #8fa5ca; font-size: 11px; }
.craft-need-row.available small { color: #8affc0; }
.craft-need-row.missing small { color: #ff8ca2; }
.craft-detail-actions { position: sticky; bottom: -16px; margin: 14px -16px -16px; padding: 12px 16px; border-top: 1px solid rgba(105,243,255,.18); background: rgba(8,17,39,.97); }
.craft-quantity-line { display: flex; align-items: center; gap: 8px; color: #91a4c8; font-size: 10px; font-weight: 800; }
.craft-detail-actions .economy-small-button { min-width: 170px; }
.transfer-quantity-panel { width: min(440px, 100%); }
.transfer-quantity-input { box-sizing: border-box; width: 100%; height: 48px; margin: 18px 0 0; padding: 0 12px; border: 1px solid rgba(105,243,255,.38); border-radius: 10px; color: #dffcff; background: #101a36; font-size: 17px; font-weight: 800; }
.transfer-quantity-panel .management-note { margin-top: 10px; }
.market-owner-note { margin-top: 0; color: #9cefff; text-transform: uppercase; letter-spacing: .07em; }
.craft-chain-note { grid-column: 1 / -1; margin: 0; color: #8affc0; }
.craft-defense-card { margin-top: 14px; padding: 14px; border: 1px solid rgba(255,209,92,.3); border-radius: 13px; background: rgba(45,36,17,.35); }
.craft-defense-card h4 { margin: 0 0 9px; color: #ffd15c; font-size: 13px; letter-spacing: .08em; }
.craft-defense-card p { margin: 7px 0; color: #dce9ff; font-size: 12px; line-height: 1.45; }
.craft-defense-card > small { display: block; margin-top: 10px; color: #91a4c8; }
.craft-defense-card .economy-small-button { margin-top: 8px; }
.market-tools { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.market-tools input, .market-tools select, .market-take-controls input { min-width: 0; height: 38px; margin: 0; padding: 0 8px; border: 1px solid rgba(105,243,255,.22); border-radius: 8px; color: #dffcff; background: #101a36; }
.market-take-controls { display: flex; align-items: center; gap: 7px; }
.market-take-controls input { width: 68px; }
.market-take-controls .economy-small-button { min-width: 88px; }

@media (max-width: 560px) {
  .inventory-tools { grid-template-columns: 1fr; }
  .economy-pagination { flex-wrap: wrap; }
  .economy-pagination strong { order: -1; flex-basis: 100%; }
  .craft-detail-summary { grid-template-columns: 1fr; }
  .craft-detail-panel { padding: 13px; }
  .craft-detail-actions { bottom: -13px; margin: 12px -13px -13px; padding: 10px 13px; }
  .craft-detail-actions .economy-small-button { min-width: 0; flex: 1; }
  .craft-recipe-row .economy-small-button { width: 100%; }
  .craft-tools { grid-template-columns: 1fr; }
  .craft-row-actions { width: 100%; }
  .craft-item-summary { width: 100%; }
  .craft-row-actions .economy-small-button:not(.craft-info-button) { flex: 1; width: auto; }
  .craft-info-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft-pagination { flex-wrap: wrap; }
  .craft-pagination strong { order: -1; flex-basis: 100%; }
  .market-tools { grid-template-columns: 1fr; }
  .market-take-controls { width: 100%; }
  .market-take-controls input { flex: 0 0 72px; }
  .market-take-controls .economy-small-button { flex: 1; }
}
.equipment-damaged {
  border-color: #ff5573 !important;
  box-shadow: inset 3px 0 0 #ff5573;
}

.equipment-doctrine-form {
  gap: 8px;
}

.equipment-doctrine-form input {
  min-width: 0;
  flex: 1;
}
