:root {
  --bg: #e7eef5;
  --card: #fff;
  --ink: #1c2833;
  --muted: #5d6d7e;
  --line: #d5dee8;
  --blue: #1f6feb;
  --blue-d: #164e9c;
  --ok: #1e8449;
  --bad: #c0392b;
  --amber: #b9770e;
  --r: 12px;
}
* { box-sizing: border-box; }
body.am-game-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Segoe UI", sans-serif;
}
.am-game-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 1rem;
  background: #E41B18;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .85rem;
  position: sticky;
  top: 0;
  z-index: 20;
}
.am-game-bar a { color: #fff; font-weight: 700; text-decoration: none; }
.am-game-bar__brand { font-weight: 600; }
.am-game-main { flex: 1; min-height: 0; }
.am-game-footer {
  padding: .65rem 1rem;
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  background: #0a0a0a;
}
.st-shell { max-width: 1440px; margin: 0 auto; padding: .75rem 1rem 1.25rem; }
.st-top { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; margin-bottom: .75rem; }
.st-top h1 { margin: 0; font-size: 1.45rem; }
.st-sub { margin: .15rem 0 0; color: var(--muted); font-size: .85rem; }
.st-status { display: flex; flex-wrap: wrap; gap: .4rem .8rem; background: var(--card); border-radius: var(--r); padding: .55rem .8rem; flex: 1; }
.st-status b { color: var(--blue-d); }
.st-actions { display: flex; gap: .4rem; }
.st-btn, button.st-btn {
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  padding: .55rem .8rem;
  cursor: pointer;
  font-size: .85rem;
}
.st-btn:disabled { background: #aeb6bf; cursor: not-allowed; }
.st-btn.st-poor { background: #aeb6bf; }
.st-btn-ghost { background: #34495e; }
.st-btn-small { padding: .3rem .5rem; font-size: .75rem; background: #2471a3; }
.st-btn-bad { background: var(--bad); }
.st-grid {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) minmax(300px, 360px);
  gap: .75rem;
  align-items: start;
}
.st-card {
  background: var(--card);
  border-radius: var(--r);
  padding: .8rem;
  box-shadow: 0 6px 18px rgba(20, 40, 70, .06);
}
.st-card h2 { margin: 0 0 .45rem; font-size: 1rem; }
.st-gap { margin-top: .9rem; }
.st-hint { margin: 0 0 .45rem; color: var(--muted); font-size: .78rem; }
/* BAU-UI stamp:20270534bau */
/* BAU2 stamp:20270537bau2 */
.st-makers, .st-presets { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .45rem; }
.st-bus-tools { margin: 0 0 .45rem; }
.st-bus-tools #bus-search-hint { margin: .25rem 0 0; }
.st-bus-tools input[type="search"] {
  width: 100%;
  border: 1px solid #c5d0dc;
  border-radius: 8px;
  padding: .4rem .5rem;
  font: inherit;
  background: #fff;
}
.st-orders {
  margin: 0 0 .65rem;
  padding: 0 0 .15rem;
  border-bottom: 1px solid #e8eef4;
}
.st-order-summary {
  margin: 0 0 .45rem;
  font-size: .75rem;
  color: var(--muted);
}
.st-orders h3 {
  margin: 0 0 .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}
.st-order-group {
  margin: 0 0 .5rem;
  padding: 0 0 0 .5rem;
  border-left: 3px solid #c5d0dc;
}
.st-order-group-ordered { border-left-color: #94a3b8; }
.st-order-group-build { border-left-color: #d97706; }
.st-order-group-ready { border-left-color: #16a34a; }
.st-order-group-title {
  margin: 0 0 .25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.st-order-count {
  display: inline-block;
  min-width: 1.1rem;
  padding: 0 .28rem;
  border-radius: 999px;
  background: #e8eef4;
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0;
  text-transform: none;
}
.st-sat-pending {
  grid-template-columns: auto 1fr 1fr;
  cursor: default;
  background: #f7fafc;
}
.st-sat-pending .st-order-badge {
  grid-row: 1 / span 2;
  align-self: center;
  display: inline-block;
  padding: .18rem .4rem;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.st-order-meta { min-width: 0; }
.st-order-ordered .st-order-badge { background: #e8eef4; color: #334155; }
.st-order-build .st-order-badge { background: #fff3cd; color: #92400e; }
.st-order-ready .st-order-badge { background: #dcfce7; color: #166534; }
.st-orders-fleet { margin-top: .55rem; border-bottom: 0; border-top: 1px solid #e8eef4; padding-top: .55rem; }
.st-bus-meta { display: block; }
.st-preset-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  max-width: 100%;
}
.st-preset-chip .st-sat-img {
  width: 28px;
  height: 28px;
}
.st-preset-chip span { line-height: 1.2; }
.st-chip {
  border: 1px solid var(--line);
  background: #f7fafc;
  color: var(--ink);
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .72rem;
  cursor: pointer;
}
.st-chip.on { background: #1f6feb; color: #fff; border-color: #1f6feb; }
.st-bus {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fbfcfd;
  border-radius: 10px;
  padding: .45rem .55rem;
  margin-bottom: .35rem;
  cursor: pointer;
  color: inherit;
}
.st-bus.on { border-color: var(--blue); background: #eef5ff; }
.st-bus-copy { flex: 1 1 auto; min-width: 0; }
.st-bus strong { display: block; }
.st-bus span, .st-meta { color: var(--muted); font-size: .75rem; }
/* SAT-IMAGE */
.st-sat-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  background: #e8eef5;
  flex: 0 0 auto;
  display: block;
}
.st-sat-img-lg {
  width: 64px;
  height: 64px;
}
.st-sat-img.st-sat-img-miss,
span.st-sat-img-miss {
  background:
    linear-gradient(145deg, #d5dee8 0%, #eef2f6 55%, #dce4ec 100%);
  box-shadow: inset 0 0 0 1px rgba(36, 113, 163, .12);
}
.st-used-row {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-bottom: .35rem;
}
.st-used-row .st-hint { margin-bottom: 0; }
/* /SAT-IMAGE */
.st-list { max-height: 240px; overflow: auto; }
label.st-field { display: block; font-size: .75rem; font-weight: 700; margin: .4rem 0 .15rem; }
select, input[type="text"], input[type="range"] { width: 100%; }
select, input[type="text"] {
  border: 1px solid #c5d0dc;
  border-radius: 8px;
  padding: .4rem .5rem;
  font: inherit;
  background: #fff;
}
.st-quote { font-size: .8rem; background: #f4f7fb; border-radius: 8px; padding: .45rem .55rem; margin: .45rem 0; }
.st-sat {
  display: grid;
  grid-template-columns: 44px 1fr 1fr;
  gap: .35rem .5rem;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: .45rem .55rem;
  margin-bottom: .35rem;
  cursor: pointer;
  color: inherit;
}
.st-sat > .st-sat-img {
  grid-row: 1 / span 2;
  align-self: center;
}
.st-sat-main { min-width: 0; }
.st-sat.on { border-color: var(--blue); background: #eef5ff; }
.st-sat small { display: block; color: var(--muted); }
.st-meter { height: 6px; background: #e5e8eb; border-radius: 99px; overflow: hidden; margin-top: .2rem; }
.st-meter span { display: block; height: 100%; background: var(--ok); }
.st-meter.warn span { background: var(--amber); }
.st-meter.bad span { background: var(--bad); }
.st-tp {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .45rem .55rem;
  margin-bottom: .4rem;
  font-size: .82rem;
  background: #fff;
}
/* APPLICANT-HOVER-TP */
.st-tp.st-tp-suggest {
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px var(--blue);
  border-radius: 6px;
}
.st-sat.st-sat-suggest {
  border-color: var(--blue);
  background: #eef5ff;
}
.st-svc {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border-radius: 999px;
  padding: .12rem .45rem;
  background: #d6eaf8;
  font-size: .75rem;
}
.st-multifeed { color: var(--muted); font-size: .68rem; }
.st-logo {
  height: 18px;
  width: auto;
  max-width: 32px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: .28rem;
  flex: 0 0 auto;
}
/* SYSTEM-LOGOS */
.st-sys-logo {
  height: 18px;
  width: auto;
  max-width: 36px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: .28rem;
  flex: 0 0 auto;
}
/* /SYSTEM-LOGOS */
.st-svc button, .st-pool button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.st-pool button {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .2rem .5rem;
  margin: 0 .25rem .25rem 0;
  background: #fff;
}
.st-pool button.on { background: #1f6feb; color: #fff; border-color: #1f6feb; }
.st-tag { font-size: .68rem; color: var(--muted); }
.st-bouquet {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .2rem;
  font-size: .72rem;
  font-weight: 700;
  color: #9a4d12;
  background: #fdebd0;
  border-radius: 999px;
  padding: .12rem .5rem;
}
.st-bouquet .st-btn { margin-left: .35rem; padding: .05rem .35rem; }
.st-offer {
  border: 1px solid var(--line);
  border-radius: .5rem;
  padding: .45rem .55rem;
  margin: 0 0 .45rem;
}
.st-offer .st-hint { margin: .2rem 0 .35rem; }
.st-offer select { width: auto; max-width: 14rem; }
.st-offer.st-wholesale-ask.is-ready {
  border-color: #3d9a6a;
  background: rgba(61, 154, 106, .08);
}
.st-offer.st-wholesale-ask.is-blocked {
  border-color: #c47a2a;
  background: rgba(196, 122, 42, .06);
}
.st-offer.st-wholesale-ask.is-howto {
  border-color: #5a7a9a;
  background: rgba(90, 122, 154, .07);
}
.st-howto {
  margin: .35rem 0 .15rem;
  padding: .35rem .45rem;
  border-left: 3px solid #5a7a9a;
  background: rgba(0, 0, 0, .04);
  border-radius: 0 .35rem .35rem 0;
}
.st-howto-title {
  margin: 0 0 .25rem;
  font-size: .78rem;
  font-weight: 700;
}
.st-howto ol {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: .72rem;
  line-height: 1.35;
}
.st-howto li { margin: .12rem 0; }
.st-howto li.is-done { opacity: .72; text-decoration: line-through; }
.st-howto-n { font-weight: 700; margin-right: .15rem; }
.st-quota-prog {
  margin: .2rem 0 .35rem;
  font-size: .72rem;
  line-height: 1.3;
}
.st-quota-prog .is-met { color: #2f7a52; font-weight: 700; }
.st-quota-prog .is-miss { color: #a04000; font-weight: 700; }
.st-tag-ready {
  background: rgba(61, 154, 106, .22);
  color: #1f5c3a;
}
.st-btn-ready {
  background: #3d9a6a;
  border-color: #2f7a52;
  color: #fff;
}
.st-hint.st-ok { color: #2f7a52; }
.st-tp select, .st-svc select { width: auto; max-width: 9.5rem; font: inherit; font-size: .75rem; padding: .1rem .2rem; }
.st-pkg { flex-wrap: wrap; }
.st-pkg-list { max-height: 14rem; }
.st-pkg-swap { display: inline-flex; align-items: center; gap: .25rem; }
.st-pkg-swap select { width: auto; max-width: 8.5rem; font: inherit; font-size: .72rem; padding: .1rem .2rem; }
.st-pkg-migrate { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; width: 100%; margin-top: .35rem; }
.st-pkg-migrate select,
.st-pkg-migrate input[type="text"],
.st-pkg-migrate input[type="number"] { font: inherit; font-size: .72rem; padding: .1rem .25rem; max-width: 11rem; }
.st-pkg-migrate-create { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.st-check {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
.st-check input { width: auto; }
.st-slot-title { margin: .35rem 0 .1rem; font-size: .78rem; }
.st-slot-list { max-height: 8.5rem; overflow: auto; }
.st-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  min-height: 1.3rem;
  font-size: .72rem;
  line-height: 1.2;
}
.st-slot.is-owned,
.st-slot.is-closed { color: var(--muted); }
.st-slot .st-btn { padding: .1rem .38rem; }
.st-orbit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .12rem .28rem;
  padding: .14rem 0;
  border-bottom: 1px solid #f0f3f6;
  font-size: .74rem;
}
.st-bird,
.st-rival {
  display: inline-block;
  border-radius: 999px;
  padding: 0 .38rem;
  font-size: .68rem;
  line-height: 1.45;
}
.st-bird { background: var(--blue); color: #fff; }
.st-rival {
  background: #fff;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-left-style: solid;
}
.st-rnd { padding: .2rem 0; border-bottom: 1px solid #f0f3f6; }
.st-rnd-top { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.st-rnd-top b { font-size: .78rem; }
.st-rnd .st-hint { margin: .04rem 0 .16rem; }
.st-pips { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.st-pip { width: 6px; height: 6px; border-radius: 99px; background: #d5dee8; }
.st-pip.on { background: var(--blue); }
.st-rnd .st-btn { margin-top: .05rem; }
#log { max-height: 220px; overflow: auto; font-size: .78rem; }
#log div { padding: .15rem 0; border-bottom: 1px solid #f0f3f6; }
#chart { width: 100%; height: 120px; display: block; }
.st-toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  background: #1c2833;
  color: #fff;
  padding: .7rem 1rem;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  max-width: min(520px, 92vw);
  z-index: 30;
}
.st-toast.show { opacity: 1; }
.st-toast.success { background: var(--ok); }
.st-toast.error { background: var(--bad); }
.st-end {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 24, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 1rem;
}
.st-end[hidden] { display: none; }
.st-end-box { background: #fff; border-radius: 14px; padding: 1.2rem; max-width: 420px; width: 100%; }
.st-off { opacity: .55; }
.st-import { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .55rem; }
.st-dialog {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 24, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 35;
  padding: 1rem;
}
.st-dialog[hidden] { display: none; }
.st-dialog-box {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  max-width: 520px;
  width: 100%;
  max-height: min(80vh, 640px);
  overflow: auto;
}
.st-dialog-box h2 { margin: 0 0 .35rem; font-size: 1.05rem; }
.st-op-box { max-width: 640px; }
.st-op {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
  width: 100%;
  margin: 0 0 .4rem;
  padding: .5rem .65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.st-op:hover { border-color: var(--blue); }
.st-op b { font-size: .92rem; }
.st-op span { font-size: .75rem; color: var(--muted); }
.st-market { max-height: 16rem; }
#rivals { max-height: 16rem; overflow: auto; }
.st-countries { display: grid; grid-template-columns: 1fr 1fr; gap: .28rem .7rem; margin: 0 0 .65rem; }
.st-country { display: flex; gap: .35rem; align-items: center; font-size: .82rem; }
.st-pool-filter { display: flex; gap: .4rem; align-items: center; font-size: .82rem; margin: 0 0 .45rem; }
.st-pool-filter select { font: inherit; }
.st-more-pool { margin-top: .35rem; }
.st-freq { color: var(--muted); font-size: .72rem; font-variant-numeric: tabular-nums; }
.st-freq-plan { margin: 0 0 .35rem; font-size: .75rem; }
@media (max-width: 1200px) {
  .st-grid { grid-template-columns: minmax(250px, 290px) minmax(0, 1fr); }
  .st-col-right { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .st-grid { grid-template-columns: 1fr; }
}
input.st-num {
  width: 100%;
  border: 1px solid #c5d0dc;
  border-radius: 8px;
  padding: .4rem .5rem;
  font: inherit;
  background: #fff;
  margin-bottom: .35rem;
}
.st-loan {
  font-size: .78rem;
  border-top: 1px solid var(--line);
  margin-top: .45rem;
  padding-top: .35rem;
}
.st-loan b { color: var(--blue-d); }
.st-loan-bad b { color: #9a3412; }
.st-loan-offer {
  font-size: .78rem;
  border: 1px solid var(--line);
  margin: .4rem 0;
  padding: .4rem .5rem;
}
.st-loan-offer b { color: var(--blue-d); }
.st-loan-refi { border-color: #b45309; }
.st-loan-refuse { color: #9a3412; }
#loans .st-btn, #equity .st-btn { margin: .15rem 0 .35rem; }
#loans .st-loan-repay { margin-top: .25rem; }
#issue-proceeds { font-size: .78rem; margin: .15rem 0 .35rem; }
.st-dbs {
  display: inline-block;
  margin-left: .35rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: #b45309;
  color: #fff;
  font-style: normal;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .03em;
  vertical-align: 1px;
}
.st-dbs-line { color: #9a3412; }
/* CONTRACTS-DEPTH */
.st-contract {
  display: inline-block;
  padding: 0 .35rem;
  border-radius: 999px;
  background: #1e8449;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.45;
}
.st-contract-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .35rem;
}
/* GUI-2027: top bar, columns, tabs */
.st-topbar {
  position: sticky;
  top: 2.2rem;
  z-index: 15;
  align-items: center;
  background: var(--bg);
  padding: .35rem 0;
  margin-bottom: .5rem;
}
.st-brand h1 { font-size: 1.25rem; }
.st-topbar .st-status { align-items: center; gap: .3rem 1.1rem; }
.st-status > span { display: inline-flex; align-items: baseline; gap: .3rem; font-size: .82rem; white-space: nowrap; }
.st-status > span small { color: var(--muted); }
.st-status > .st-meta { flex-basis: 100%; white-space: normal; }
.st-status b.st-neg { color: var(--bad); }
.st-status b.st-pos { color: var(--ok); }
.st-actions .st-btn#btn-year { padding: .65rem 1.1rem; font-size: .92rem; }
.st-col { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.st-fold { padding: 0; }
.st-fold > summary {
  cursor: pointer;
  padding: .65rem .8rem;
  font-weight: 700;
  font-size: .95rem;
  list-style: none;
}
.st-fold > summary::-webkit-details-marker { display: none; }
.st-fold > summary::before { content: '▸'; display: inline-block; width: 1rem; color: var(--muted); }
.st-fold[open] > summary::before { content: '▾'; }
.st-fold > :not(summary) { padding: 0 .8rem .8rem; display: block; }
.st-fold #order > h2 { display: none; }
.st-tabs { display: flex; gap: .25rem; background: var(--card); border-radius: var(--r); padding: .25rem; }
.st-tab {
  flex: 1;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  padding: .45rem .3rem;
  cursor: pointer;
}
.st-tab.on { background: var(--blue); color: #fff; }
.st-pane[hidden] { display: none; }
.st-sub-title { margin: .2rem 0 .4rem; font-size: .9rem; display: flex; align-items: baseline; gap: .4rem; }
/* GUI-2027: selected satellite */
.st-sat-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .4rem; }
.st-sat-head-copy { flex: 1 1 12rem; min-width: 0; }
/* PLAT-UI stamp:20270421platui */
/* GROUND-BIZ stamp:20270505biz */
/* GNSS stamp:20270531gnss */
.st-ground { margin-top: .45rem; }
.st-gnss { margin-top: .45rem; }
.st-gnss-cap { margin: .35rem 0; }
.st-gnss-batches { display: flex; flex-wrap: wrap; gap: .35rem; margin: .35rem 0; }
.st-leo { margin-top: .45rem; }
.st-leo-cap { margin: .35rem 0; }
.st-leo-batches { display: flex; flex-wrap: wrap; gap: .35rem; margin: .35rem 0; }
.st-leo-custom { display: flex; flex-wrap: wrap; align-items: end; gap: .4rem; margin: .35rem 0 .15rem; }
.st-leo-custom .st-field { margin: 0; }
.st-leo-custom input[type="number"] { width: 5.5rem; }
.st-leo-money { margin-top: .55rem; padding-top: .45rem; border-top: 1px solid var(--line, rgba(127,127,127,.25)); }
.st-leo-tariffs { display: flex; flex-direction: column; gap: .35rem; margin: .35rem 0; }
.st-leo-tariff { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .55rem; }
.st-leo-pkg-on { display: inline-flex; align-items: center; gap: .3rem; margin: 0; }
.st-leo-tariff input[type="number"] { width: 4.2rem; }
.st-leo-postures { display: flex; flex-wrap: wrap; gap: .3rem; margin: .35rem 0; }
.st-leo-postures .st-btn.st-on { outline: 1px solid var(--ok, #3a8); }
.st-leo-mkt { display: flex; flex-wrap: wrap; align-items: end; gap: .4rem; margin: .35rem 0; }
.st-leo-offers, .st-leo-deals { margin-top: .4rem; }
.st-leo-offer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; margin: .3rem 0; padding: .3rem 0; border-top: 1px dashed var(--line, rgba(127,127,127,.2)); }
.st-leo-offer-actions { display: flex; flex-wrap: wrap; gap: .3rem; align-items: start; }
.st-hint.st-warn { color: #a04000; }
/* SUCCESSOR-CONFIG */
.st-succ-panel {
  flex: 1 1 100%;
  margin-top: .35rem;
  padding: .55rem .65rem;
  background: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
}
.st-succ-title { margin: 0 0 .4rem; font-size: .88rem; font-weight: 700; }
.st-succ-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: .4rem .55rem;
  margin-bottom: .4rem;
}
.st-succ-bandplan { margin: .2rem 0 .45rem; }
.st-succ-flags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .7rem;
  margin: .25rem 0 .45rem;
}
.st-succ-quote {
  margin: .25rem 0 .45rem;
  font-size: .8rem;
  color: var(--muted);
}
.st-succ-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.st-succ-banner {
  margin: 0 0 .45rem;
  padding: .4rem .55rem;
  border-radius: 6px;
  font-size: .8rem;
  line-height: 1.35;
}
.st-succ-banner ul { margin: .25rem 0 0 1.1rem; padding: 0; }
.st-succ-worse {
  background: #fdecea;
  color: #8a1f11;
  border: 1px solid #f5c6cb;
}
.st-succ-reco {
  background: #fff6e5;
  color: #7a4a00;
  border: 1px solid #f0d9a8;
}
.st-succ-reco-inline { color: #7a4a00; flex: 1 1 100%; margin: 0; }
/* /SUCCESSOR-CONFIG */
.st-plat-line .st-plat-label {
  display: inline-block;
  margin-right: .25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}
.st-plat-line .st-dbs { margin-left: .25rem; }
/* /PLAT-UI */
.st-sat-line { margin: 0 0 .15rem; font-size: .85rem; }
/* SAT-RENAME */
.st-sat-name { display: flex; align-items: center; gap: .35rem; margin: 0 0 .15rem; font-size: 1rem; }
.st-rename-btn { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: .9rem; padding: .1rem .3rem; border-radius: 4px; }
.st-rename-btn:hover, .st-rename-btn:focus-visible { color: inherit; background: rgba(36, 113, 163, .15); }
.st-sat-rename input { flex: 1 1 12rem; max-width: 20rem; padding: .25rem .4rem; font: inherit; font-size: .9rem; }
/* /SAT-RENAME */
.st-sat-meters { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; min-width: 220px; font-size: .75rem; color: var(--muted); }
.st-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .6rem;
  align-items: flex-end;
  padding: .45rem .55rem;
  margin-bottom: .5rem;
  background: #f4f7fb;
  border-radius: 10px;
}
.st-toolbar label.st-field { margin: 0; }
.st-toolbar select { width: auto; max-width: 13rem; }
.st-drop-hint { margin-bottom: .5rem; }
/* GUI-2027: transponder rows */
.st-tp-head, .st-tp-body, .st-tp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .45rem; }
.st-tp-head > b { font-size: .88rem; }
.st-mode {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--blue-d);
  background: #eaf2fd;
  border-radius: 6px;
  padding: .05rem .4rem;
}
.st-cap { display: inline-flex; align-items: center; gap: .35rem; }
.st-cap-bar { display: inline-block; width: 90px; height: 7px; background: #e5e8eb; border-radius: 99px; overflow: hidden; }
.st-cap-bar span { display: block; height: 100%; background: var(--ok); }
.st-cap-bar.warn span { background: var(--amber); }
.st-cap-bar.bad span { background: var(--bad); }
.st-badge {
  font-size: .66rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .05rem .45rem;
  background: #eef1f4;
  color: var(--muted);
}
.st-badge-off { background: #fdecea; color: var(--bad); }
.st-badge-pay { background: #fdebd0; color: #9a4d12; }
/* DSR-PACKAGE */
.st-badge-dsr { background: #e7f6ee; color: #1b6b3a; }
.st-tp-dsr .st-dsr-hint { margin: .15rem 0 .25rem; font-size: .72rem; }
/* DATA-PRODUCTS / KA-BAND */
.st-badge-isp { background: #e8f4fc; color: #0b5f8a; }
.st-badge-mcpc { background: #e8f0e4; color: #2f5d34; }
.st-badge-scpc { background: #e7eef8; color: #1f4b7a; }
.st-isp { display: inline-flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.st-empty { font-style: italic; }
.st-tp-actions { padding-top: .1rem; border-top: 1px dashed #e6ebf0; }
.st-tp-actions select.st-add { max-width: 12rem; font-weight: 700; color: var(--blue-d); }
.st-tech { flex-basis: 100%; }
.st-tech > summary { cursor: pointer; font-size: .72rem; font-weight: 700; color: var(--muted); }
.st-tech-body { display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: center; padding-top: .3rem; }
/* CODEC-SWITCH / MODE-UPGRADE */
.st-mux-meta { opacity: .85; }
.st-tp.st-off { background: #f7f8f9; }
.st-tp-head[draggable="true"] { cursor: grab; }
.st-tp.st-tp-over { box-shadow: inset 0 0 0 2px var(--ok); background: #eafaf1; }
body.st-dragging .st-tp:not(.st-tp-suggest) { opacity: .45; }
.st-move { display: inline-flex; gap: .3rem; align-items: center; }
.st-move select { max-width: 16rem; }
.st-move-none { color: var(--bad); }
/* GUI-2027 / EASY-ASSIGN: pool list */
.st-pool-tools { display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: center; margin-bottom: .45rem; }
.st-pool-chips { display: flex; flex-wrap: wrap; gap: .3rem; flex: 1 1 100%; }
.st-chip {
  border: 1px solid #c5d0dc;
  background: #fff;
  border-radius: 999px;
  padding: .15rem .6rem;
  font: inherit;
  font-size: .72rem;
  cursor: pointer;
  color: inherit;
}
.st-chip.on { background: #1d4e89; color: #fff; border-color: #1d4e89; }
.st-spark {
  order: 5;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.4rem;
}
.st-spark svg { flex: 1; height: 2.2rem; }
.st-spark polyline { stroke: #1d6fbf; stroke-width: 2.2; }
.st-spark small { font-weight: 700; white-space: nowrap; }
.st-tp-selectbar {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .6rem;
  align-items: center;
  margin: .35rem 0 .55rem;
  padding: .4rem .6rem;
  background: #f3f7fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .78rem;
}
.st-tp-select-note { color: var(--muted); }
.st-isp-ads { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .3rem 0; font-weight: 600; }
.st-isp-ads select { width: auto; max-width: 14rem; }
.st-tp-check { display: inline-flex; margin-right: .3rem; }
.st-tp-check input { margin: 0; }
.st-pool-tools input[type="search"] {
  flex: 1 1 9rem;
  border: 1px solid #c5d0dc;
  border-radius: 8px;
  padding: .35rem .5rem;
  font: inherit;
  font-size: .8rem;
}
.st-pool-tools .st-pool-filter { margin: 0; }
.st-pool-tools select { width: auto; max-width: 9rem; }
#pool.st-pool {
  max-height: 32rem;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: .4rem;
  align-content: start;
}
#pool .st-more-pool,
#pool > .st-hint,
#pool > .st-pool-audio { grid-column: 1 / -1; }
.st-pool-item {
  display: flex;
  align-items: stretch;
  gap: .35rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .35rem .35rem .35rem .5rem;
  margin-bottom: 0;
  background: #fff;
}
.st-pool-item[draggable="true"] { cursor: grab; }
.st-pool-item.on { border-color: var(--blue); background: #eef5ff; }
.st-pool-item.st-nofit { opacity: .7; }
.st-pool .st-pool-item button.st-pool-pick {
  flex: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .1rem .3rem;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  font-size: .8rem;
  color: inherit;
}
.st-pool-pick small { color: var(--muted); font-size: .7rem; }
.st-pool-item.st-feed { border-color: #9bb8d9; }
.st-pool-item.st-want-audio { border-color: #b9a57a; }
.st-pool-audio { display: flex; flex-wrap: wrap; gap: .25rem .55rem; align-items: center; margin: 0 0 .45rem; padding: .35rem .5rem; background: #f7f3ea; border-radius: 8px; font-size: .72rem; }
.st-tv-audio { display: inline-flex; flex-wrap: wrap; gap: .15rem .35rem; align-items: center; margin-left: .25rem; }
.st-feed-ask { display: block; margin: .15rem 0 0; font-size: .68rem; color: var(--muted); }
.st-pool .st-pool-item button.st-quick {
  border-radius: 7px;
  margin: 0;
  border: 0;
  color: #fff;
  background: var(--ok);
  padding: .25rem .5rem;
  font-weight: 700;
}
.st-pool .st-pool-item button.st-quick:disabled { background: #aeb6bf; }

/* QOL: fleet load, year table, shortcuts */
.st-fleet-sum { display: grid; gap: .2rem; margin: 0 0 .55rem; padding: .45rem .6rem; background: #f3f7fb; border: 1px solid var(--line); border-radius: 8px; font-size: .8rem; }
.st-fleet-sum b { color: var(--blue-d); }
.st-fleet-sum small { color: var(--muted); font-size: .72rem; }
.st-fleet-sum small.st-neg { color: var(--bad); }
.st-tp-use { display: inline-block; margin-left: .3rem; padding: 0 .3rem; border-radius: 6px; background: #e8edf2; color: var(--muted); font-size: .66rem; font-style: normal; font-weight: 600; }
.st-tp-use.st-tp-use-free { background: #fdf2e0; color: var(--amber); }
.st-pool-tools .st-btn-small { padding: .2rem .5rem; }
.st-years { width: 100%; border-collapse: collapse; font-size: .78rem; }
.st-years th, .st-years td { padding: .2rem .35rem; border-bottom: 1px solid var(--line); text-align: right; }
.st-years th:first-child, .st-years td:first-child { text-align: left; }
.st-years th { color: var(--muted); font-weight: 600; }
.st-years .st-neg { color: var(--bad); }
.st-years .st-pos { color: var(--ok); }
.st-keys { display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; margin: .5rem 0 .8rem; font-size: .85rem; }
.st-keys dt { font-weight: 700; font-family: ui-monospace, Consolas, monospace; background: #eef2f6; border: 1px solid var(--line); border-radius: 5px; padding: 0 .4rem; text-align: center; }
.st-keys dd { margin: 0; }
.st-mode[title] { cursor: help; }

/* INTRO-SHELL stamp:20271123intro02 ? structural overlay; theme.css restyles */
.st-intro {
  position: fixed;
  inset: 0;
  z-index: 28;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: #000;
  color: #fff;
}
.st-intro[hidden],
.st-intro.st-intro--done { display: none !important; }
.st-intro.st-intro--leaving {
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.st-intro__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.st-intro__stars,
.st-intro__glow,
.st-intro__orbit,
.st-intro__earth,
.st-intro__veil {
  position: absolute;
  inset: -20%;
}
.st-intro__earth,
.st-intro__veil { inset: 0; }
.st-intro__stars {
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,.3), transparent);
  animation: st-intro-drift 28s linear infinite;
  opacity: .7;
}
.st-intro__orbit {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  margin: auto;
  inset: 12%;
  animation: st-intro-spin 42s linear infinite;
}
.st-intro__orbit--b {
  inset: 22%;
  border-color: rgba(255, 255, 255, .07);
  animation-duration: 56s;
  animation-direction: reverse;
}
.st-intro__glow {
  inset: 20% 25%;
  background: radial-gradient(ellipse at 50% 45%, rgba(255,255,255,.1), transparent 65%);
  animation: st-intro-pulse 4.5s ease-in-out infinite;
}
.st-intro__stage {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  text-align: center;
  display: grid;
  gap: 1.1rem;
}
.st-intro__fleet {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  min-height: 7rem;
}
.st-intro__sat {
  margin: 0;
  width: 6.5rem;
  animation: st-intro-float 3.6s ease-in-out infinite;
}
.st-intro__sat:nth-child(2) { animation-delay: .25s; }
.st-intro__sat:nth-child(3) { animation-delay: .5s; }
.st-intro__sat:nth-child(4) { animation-delay: .75s; }
.st-intro__sat:nth-child(5) { animation-delay: 1s; }
.st-intro__sat:nth-child(6) { animation-delay: 1.25s; }
.st-intro__frame {
  display: block;
  overflow: hidden;
}
.st-intro__img,
.st-intro__sat .st-sat-img {
  width: 6.5rem;
  height: 4.6rem;
  object-fit: cover;
  border-radius: 0;
  background: #0a0a0a;
  border: 0;
  display: block;
}
.st-intro__caption {
  margin: .3rem 0 0;
  font-size: .68rem;
  color: rgba(232, 236, 244, .72);
}
.st-intro__title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
}
.st-intro__tag {
  margin: .35rem 0 0;
  color: rgba(183, 192, 208, .9);
  font-size: .92rem;
}
.st-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: center;
}
@keyframes st-intro-spin { to { transform: rotate(360deg); } }
@keyframes st-intro-drift { to { transform: translate3d(-2%, -1%, 0); } }
@keyframes st-intro-pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes st-intro-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .st-intro__stars,
  .st-intro__orbit,
  .st-intro__glow,
  .st-intro__earth,
  .st-intro__sat { animation: none !important; }
}

/* FINHUD stamp:20271123finhud03 ? finance strip always above ops in command HUD */
.st-hud {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
  flex: 1;
}
.st-kpi-strip--finance {
  order: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: stretch;
}
.st-kpi-strip--ops {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: stretch;
}
.st-kpi-strip--legacy[hidden] { display: none !important; }
/* Theme toggle lives in actions ? never reorder finance out of the HUD */
.st-command__actions #btn-theme { order: -1; }

/* TP-CONFIG: interactive payload deck + order band steps */
.st-tp-deck {
  margin: .45rem 0 .55rem;
  padding: .55rem .65rem;
  background: linear-gradient(165deg, #f7fafc 0%, #eef4fa 100%);
  border: 1px solid #d5dee8;
  border-radius: 10px;
}
.st-tp-deck-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .6rem;
  margin-bottom: .4rem;
}
.st-tp-deck-head strong { font-size: .88rem; }
.st-tp-deck-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .35rem .45rem;
  margin-bottom: .35rem;
}
.st-tp-deck-pick .st-tp-pick { flex: 1 1 12rem; margin: 0; }
.st-tp-deck-pick select { width: 100%; max-width: none; }
.st-tp-deck-live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .55rem;
  margin-bottom: .25rem;
}
.st-tp-beam { margin: .15rem 0 .35rem; font-size: .72rem; }
.st-tp-deck-form {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  align-items: flex-end;
  margin-bottom: .4rem;
}
.st-tp-deck-form .st-field { margin: 0; min-width: 9rem; }
.st-tp-deck-enc { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.st-tp-deck-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .45rem;
  align-items: center;
  padding-top: .3rem;
  border-top: 1px dashed #d7e0ea;
}
.st-tp.st-tp-focus {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(36, 113, 163, .35);
  background: #f3f8fd;
}
.st-tp-head[data-tp-select] { cursor: pointer; }
.st-band-steps {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  margin: .35rem 0 .2rem;
}
.st-band-step {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .35rem;
  background: #fff;
  border: 1px solid #d5dee8;
  border-radius: 8px;
}
.st-band-step-label { font-weight: 700; font-size: .75rem; min-width: 1.4rem; }
.st-band-step input[type="number"] {
  width: 3.2rem;
  text-align: center;
  padding: .2rem .25rem;
  border: 1px solid #c5d0dc;
  border-radius: 6px;
  font: inherit;
  font-size: .8rem;
}
.st-band-preview {
  margin: .2rem 0 0;
  font-size: .75rem;
  color: var(--muted);
}
.st-band-preview.st-warn { color: var(--bad); font-weight: 600; }
.st-tp-step {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.st-tp-step input[type="range"] { flex: 1 1 auto; }
.st-mode-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: .2rem 0 .45rem;
}
.st-mode-chips .st-chip {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
}
