/* Weight & balance — local additions */
.wb-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: end;
  margin-bottom: 0.9rem;
}
.wb-toolbar .field-block { margin: 0; flex: 1 1 12rem; }
.table-wrap { overflow-x: auto; margin: 0.4rem 0 0.7rem; }
.data-table input.input { min-width: 4.5rem; }
.data-table select {
  width: 100%;
  padding: 0.4rem 0.4rem;
  border: 1px solid #2c3a52;
  border-radius: 8px;
  background: #0b101b;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}
.data-table td.moment, .data-table td.weight-ro {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
}
.preset-note {
  margin: 0.4rem 0 0.8rem;
  padding: 0.75rem 0.85rem;
  border-left: 3px solid var(--gold);
  background: rgba(232, 184, 74, 0.08);
  border-radius: 0 10px 10px 0;
  color: #f0d9a0;
  font-size: 0.86rem;
}
.totals-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}
@media (min-width: 640px) {
  .totals-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.total-card {
  padding: 0.8rem 0.85rem;
  background: #0c121f;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.total-card.is-out { border-color: rgba(240, 113, 103, 0.45); }
.total-card.is-in { border-color: rgba(125, 207, 125, 0.35); }
.envelope-plot { min-height: 280px; }
.envelope-plot svg { width: 100%; height: auto; }
.loadout-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: end; }
.loadout-row .input { flex: 1 1 10rem; }
