/* v0.33.30 - local fleet situation and target-driven orders inside Systematlas. */
.module-atlas .system-atlas-page {
  grid-template-rows: auto auto auto minmax(0, 1fr);
}
.atlas-local-situation {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr);
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(91, 164, 198, .18);
  border-radius: 9px;
  background: rgba(5, 15, 25, .78);
}
.atlas-local-situation > div:first-child { display: grid; gap: 2px; }
.atlas-local-situation > div:first-child span,
.atlas-fleet-target-panel header span { color: #66c9ee; font-size: 13px; letter-spacing: .09em; }
.atlas-local-situation > div:first-child strong { font-size: 14px; }
.atlas-local-situation > div:last-child { display: grid; grid-template-columns: repeat(6, minmax(92px, 1fr)); gap: 6px; }
.atlas-local-situation button {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid rgba(103, 164, 194, .16);
  border-radius: 7px;
  background: rgba(9, 25, 39, .72);
  color: #a9bfd0;
}
.atlas-local-situation button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.atlas-local-situation button strong { font-size: 13px; color: #edf9ff; }
.atlas-local-situation button:hover,
.atlas-local-situation button.active { border-color: rgba(84, 203, 244, .5); background: rgba(23, 91, 123, .32); color: #e9faff; }
.system-atlas-row.fleet-own { border-left: 3px solid rgba(74, 222, 164, .8); }
.system-atlas-row.fleet-allied { border-left: 3px solid rgba(75, 195, 226, .78); }
.system-atlas-row.fleet-hostile { border-left: 3px solid rgba(255, 97, 92, .86); }
.system-atlas-row.fleet-unknown { border-left: 3px solid rgba(242, 192, 79, .82); }
.system-atlas-row.fleet-neutral { border-left: 3px solid rgba(149, 168, 184, .65); }
.atlas-fleet-target-panel {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid rgba(74, 194, 235, .28);
  border-radius: 9px;
  background: rgba(7, 25, 39, .88);
}
.atlas-fleet-target-panel header { display: grid; gap: 3px; }
.atlas-fleet-target-panel header strong { font-size: 16px; }
.atlas-fleet-target-panel header small { color: #9ab1c2; font-size: 13px; line-height: 1.35; }
.atlas-fleet-target-panel label { display: grid; gap: 4px; color: #8fa9bb; font-size: 13px; }
.atlas-fleet-target-panel select {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid rgba(104, 168, 199, .26);
  border-radius: 7px;
  background: rgba(3, 10, 18, .88);
  color: #e8f6fc;
  padding: 7px 9px;
  font-size: 13px;
}
.atlas-fleet-direct-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.atlas-fleet-direct-actions button {
  min-height: 34px;
  border: 1px solid rgba(97, 168, 201, .24);
  border-radius: 7px;
  background: rgba(12, 35, 52, .76);
  color: #d8edf7;
}
.atlas-fleet-direct-actions button:hover { border-color: rgba(75, 205, 246, .52); }
.atlas-fleet-direct-actions button.danger { border-color: rgba(255, 98, 92, .35); color: #ffb4b0; }
.atlas-fleet-plan-ok,
.atlas-fleet-plan-warning { margin: 0; padding: 7px 9px; border-radius: 7px; font-size: 13px; line-height: 1.35; }
.atlas-fleet-plan-ok { background: rgba(36, 136, 104, .15); color: #8be3c0; }
.atlas-fleet-plan-warning { background: rgba(178, 119, 34, .15); color: #ffd28a; }
.atlas-own-fleet-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.atlas-own-fleet-order { border-color: rgba(79, 194, 236, .28); background: rgba(15, 59, 79, .2); }
.atlas-own-fleet-inspector .system-inspector-copy { margin-bottom: 10px; }

@media (max-width: 1320px) {
  .atlas-local-situation { grid-template-columns: 1fr; }
  .atlas-local-situation > div:last-child { grid-template-columns: repeat(3, minmax(110px, 1fr)); }
}
@media (max-width: 720px) {
  .atlas-local-situation > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-fleet-direct-actions { grid-template-columns: 1fr; }
}
