.abst{--bg:#101926;--panel:#182536;--yellow:#fac828;--cyan:#53d7f2;--fg:#eaf2ff;--muted:#aabfd4;box-sizing:border-box;width:100%;max-width:none;padding:16px 12px;background:var(--bg);color:var(--fg);border-radius:6px;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.35;overflow:hidden}.abst *{box-sizing:border-box}.abst h2,.abst h3,.abst p{margin:0}.abst-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 5px 15px}.abst-header h2{font-size:clamp(19px,2vw,27px);line-height:1.2;color:var(--fg);font-weight:700}.abst-header p{font-size:12px;color:var(--muted);margin-top:5px}.abst-refresh{font-size:11px;color:var(--muted);text-align:right}.abst-grid{display:grid;grid-template-columns:minmax(205px,20fr) minmax(330px,47fr) minmax(290px,33fr);gap:7px;min-height:640px}.abst-panel{min-width:0;background:var(--panel);padding:15px 12px;display:flex;flex-direction:column}.abst-panel h3{font-size:16px;color:var(--yellow);font-weight:700;line-height:1.25;margin:0 0 10px}.abst-sub{font-size:11px;color:var(--muted);min-height:25px}.abst-group-label{font-size:12px;display:flex;align-items:center;gap:6px;margin:3px 0 10px}.abst-group-label select{background:#fff;color:#121212;border:1px solid #889ab0;border-radius:2px;padding:3px 6px;font-size:12px;max-width:150px}.abst-roster{background:#101c2d;flex:1;min-height:390px;max-height:740px;overflow-y:auto;padding:12px 10px;font:12px/1.4 Consolas,'Courier New',monospace;scrollbar-color:#74869a #101c2d}.abst-roster .abst-agency{color:var(--yellow);font-size:13px;font-weight:bold;margin:0 0 3px}.abst-roster .abst-person{padding:0 0 7px 10px;overflow-wrap:anywhere}.abst-roster .abst-person-name{color:#fff}.abst-roster .abst-person-detail{color:#a9c8e7;font-size:11px}.abst-roster .abst-section{margin-bottom:19px}.abst-chart-holder{flex:1;min-height:340px;display:flex;align-items:center;justify-content:center;padding:8px 0}.abst-chart-holder canvas{display:block;width:100%;height:auto;max-width:100%;max-height:570px}.abst-orbit-holder canvas{max-height:540px}.abst-metrics{text-align:center;color:#c7e6ff;font:12px/1.5 Consolas,'Courier New',monospace;white-space:pre-line;min-height:60px;padding:7px 0}.abst-caveat{text-align:center;font-size:10px;color:var(--muted);max-width:360px;align-self:center;padding:0 5px 8px}.abst-footer{padding:10px 6px 2px;color:var(--muted);font-size:11px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.abst-failure{color:#ffb1a4}.abst-warning{color:#ffdf82}@media(max-width:1050px){.abst-grid{grid-template-columns:minmax(190px,1fr) minmax(300px,2fr)}.abst-solar{grid-column:1/-1}.abst-orbit-holder canvas{max-width:490px}.abst-roster{max-height:630px}}@media(max-width:650px){.abst{padding:12px 8px}.abst-header{display:block}.abst-refresh{text-align:left;padding-top:6px}.abst-grid{grid-template-columns:minmax(0,1fr)}.abst-solar{grid-column:auto}.abst-panel{padding:12px}.abst-people .abst-roster{max-height:330px;min-height:230px}.abst-chart-holder{min-height:190px}.abst-iss .abst-chart-holder{min-height:220px}.abst-roster{min-height:230px}.abst-header h2{font-size:21px}}

/* Astronaut roster cards — v1.0.2 (scoped to the plugin) */
.abst-people .abst-group-label{justify-content:space-between;gap:8px;color:var(--muted);font-size:11px;margin:5px 0 12px}
.abst-people .abst-group-label select{width:54%;min-width:0;max-width:180px;background:#101c2d;color:#f4f8ff;border:1px solid #486078;border-radius:5px;padding:5px 8px;font-size:12px}
.abst-people .abst-roster{padding:10px 8px 14px;background:#101c2d;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.35;scrollbar-width:thin}
.abst-people .abst-section{margin:0 0 18px}
.abst-people .abst-agency{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;color:var(--yellow);font-size:12px;line-height:1.3;font-weight:700;overflow-wrap:normal;word-break:normal;margin:2px 2px 8px}
.abst-people .abst-agency-name{min-width:0;overflow-wrap:break-word}
.abst-people .abst-agency-count{flex-shrink:0;font:700 11px/1.3 Arial,Helvetica,sans-serif;color:#101926;background:var(--yellow);border-radius:99px;padding:2px 7px}
.abst-people .abst-members{display:grid;gap:6px}
.abst-people .abst-person{position:relative;margin:0;padding:9px 10px 9px 11px;background:#1b2e43;border:1px solid #2b425a;border-left:3px solid #49b9da;border-radius:5px;overflow-wrap:normal;word-break:normal}
.abst-people .abst-person-name{font-size:13px;line-height:1.3;font-weight:700;color:#f5f9ff;overflow-wrap:break-word}
.abst-people .abst-person-facts{display:flex;flex-wrap:wrap;column-gap:11px;row-gap:5px;margin-top:7px}
.abst-people .abst-fact{display:flex;flex-direction:column;gap:1px;min-width:0}
.abst-people .abst-fact-caption{font-size:9px;letter-spacing:.07em;color:#91abc1;font-weight:700}
.abst-people .abst-fact-value{font:600 11px/1.35 Consolas,'Courier New',monospace;color:#d8eaff;white-space:normal}
.abst-people .abst-person-status{display:inline-block;margin-top:7px;font-size:10px;font-weight:700;line-height:1.3;color:#c5d6e8}
.abst-people .abst-person-status.abst-status-active{color:#7fdfab}
.abst-people .abst-person-secondary{margin-top:4px;color:#9eb8ce;font-size:10.5px;line-height:1.3;overflow-wrap:break-word}
.abst-people .abst-roster-empty{padding:12px;color:var(--muted)}
@media (max-width:650px){.abst-people .abst-roster{max-height:420px}}

/* v1.0.3 — layout and card refinements */
.abst{width:min(1800px,calc(100vw - 28px));max-width:none;position:relative;left:50%;transform:translateX(-50%);padding:18px 17px;border:1px solid #1a3248;box-shadow:0 8px 32px #0003}
.abst-header-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.abst-fullscreen{appearance:none;background:#1c354b!important;color:#e8f5ff!important;border:1px solid #45657c!important;border-radius:5px!important;padding:7px 12px!important;line-height:1.2!important;font:600 12px Arial,sans-serif!important;cursor:pointer}
.abst-fullscreen:hover,.abst-fullscreen:focus-visible{background:#28506b!important;outline:2px solid #5ac8f0;outline-offset:2px}
.abst:fullscreen{height:100vh;width:100vw;max-width:none;left:auto;transform:none;overflow-y:auto;border:0;border-radius:0;padding:20px}
.abst:fullscreen .abst-grid{min-height:calc(100vh - 130px)}
.abst-grid{grid-template-columns:minmax(230px,21fr) minmax(440px,46fr) minmax(330px,33fr);gap:9px}
.abst-people .abst-roster{padding:8px 7px}
.abst-people .abst-section{margin-bottom:14px}
.abst-people .abst-agency{margin:5px 1px 7px;font-size:12px}
.abst-people .abst-members{gap:5px}
.abst-people .abst-person{padding:7px 9px 7px 10px}
.abst-people .abst-person-name{font-size:12.5px}
.abst-people .abst-person-facts{margin-top:5px;gap:14px}
.abst-people .abst-fact-caption{font-size:9px}
.abst-people .abst-fact-value{font-size:11px;color:#fff;font-weight:700}
.abst-people .abst-person-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:5px}
.abst-people .abst-person-status,.abst-people .abst-person-secondary{margin-top:0;font-size:10px}
.abst-track-legend{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;color:#b5cee2;font:11px/1.5 Arial,sans-serif;margin:0 0 2px}
.abst-legend-dot{display:inline-block;vertical-align:middle;width:22px;margin-right:5px;border-top:3px solid #fac828}
.abst-prediction-dot{border-top:3px dashed #b2a0ff}
.abst-solar-legend{text-align:center;font:10px/1.4 Arial,sans-serif;color:#b5cee2;margin:0 10px 4px}
@media(max-width:1130px){.abst-grid{grid-template-columns:minmax(230px,1fr) minmax(350px,2fr)}.abst-solar{grid-column:1/-1}}
@media(max-width:670px){.abst{width:calc(100vw - 14px);padding:12px 8px}.abst-grid{grid-template-columns:minmax(0,1fr)}.abst-solar{grid-column:auto}.abst-header-actions{justify-content:flex-start;margin-top:10px}}


/* v1.0.4: viewport-centred layout, without horizontal overflow in Escapade.
   In v1.0.3, left:50% used the theme content column as its reference, so
   centering the wide element pushed its right edge off the viewport. */
.abst,
.abst:fullscreen {
  box-sizing: border-box;
}
.abst:not(:fullscreen) {
  position: relative;
  left: auto;
  transform: none;
  width: min(1800px, calc(100vw - 32px));
  max-width: none;
  margin-left: max(calc(50% - 50vw + 16px), calc(50% - 900px));
  margin-right: 0;
}
/* Don't impose three columns that are wider than the visitor's viewport. */
.abst-grid {
  grid-template-columns: minmax(0, 21fr) minmax(0, 46fr) minmax(0, 33fr);
  min-height: 0;
  align-items: stretch;
}
.abst-header { align-items: flex-start; }
.abst-header > div:first-child { min-width: 0; }
.abst-header-actions { flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; }
.abst-refresh { white-space: nowrap; }
.abst-fullscreen { flex-shrink: 0; white-space: nowrap; }
/* Keep the world map large, but bring statistics immediately below it. */
.abst-chart-holder {
  flex: 0 0 auto;
  min-height: 0;
  padding: 9px 0 5px;
  margin: 16px 0 0;
}
.abst-iss .abst-chart-holder canvas {
  width: 100%;
  height: auto;
  max-height: none;
}
.abst-orbit-holder { margin: 8px 0 0; }
.abst-orbit-holder canvas {
  width: min(100%, 490px);
  max-width: 100%;
  height: auto;
  max-height: none;
  margin-inline: auto;
}
.abst-iss .abst-metrics { min-height: 0; padding: 3px 0 7px; }
.abst-solar .abst-metrics { min-height: 0; padding: 4px 0 7px; }
.abst-track-legend { margin-top: 4px; }
.abst-solar-legend { margin-top: 2px; }
.abst-iss .abst-sub, .abst-solar .abst-sub { min-height: 22px; }
.abst-people .abst-roster { max-height: 670px; }
.abst-panel { overflow: hidden; }
.abst-people .abst-roster { min-width: 0; }
.abst-people .abst-person-bottom { flex-wrap: wrap; }
.abst:fullscreen {
  position: fixed;
  inset: 0;
  transform: none;
  margin: 0;
  width: 100vw;
  max-width: none;
  overflow: auto;
}
@media (max-width: 1180px) {
  .abst-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .abst-solar { grid-column: 1 / -1; }
  .abst-header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .abst-refresh { white-space: normal; }
  .abst-orbit-holder canvas { width: min(100%, 440px); }
}
@media (max-width: 690px) {
  .abst:not(:fullscreen) {
    width: calc(100vw - 16px);
    margin-left: calc(50% - 50vw + 8px);
    padding: 12px 8px;
  }
  .abst-header { display: block; }
  .abst-header-actions { justify-content: space-between; margin-top: 9px; }
  .abst-grid { grid-template-columns: minmax(0, 1fr); }
  .abst-solar { grid-column: auto; }
  .abst-people .abst-roster { max-height: 400px; }
  .abst-iss .abst-chart-holder { min-height: 0; }
  .abst-orbit-holder canvas { width: min(100%, 440px); }
}

/* v1.0.5 — Current station/vehicle on each astronaut card. */
.abst-people .abst-person-whereabouts{display:flex;gap:4px 7px;flex-wrap:wrap;align-items:baseline;margin-top:5px;font:11px/1.3 Arial,sans-serif}
.abst-people .abst-person-whereabouts-label{color:#9eb8ce;font-size:9px;font-weight:700;letter-spacing:.04em}
.abst-people .abst-person-whereabouts-value{color:#86dcf3;font-size:11px;font-weight:700;overflow-wrap:anywhere}
.abst-people .abst-person-vehicle{margin-top:3px;color:#adc6dc;font:10px/1.3 Arial,sans-serif;overflow-wrap:anywhere}
.abst-people .abst-person-vehicle-label{color:#8ca8bd}
.abst-people .abst-person-facts{margin-top:6px}
