/* Instruments stay below the navigation while the canvas extends behind it. */
.mission-overlay { position:absolute; inset:var(--viewport-header,0px) 0 0; z-index:4; pointer-events:none; }
.mission-overlay #mission-retry { pointer-events:auto; }

/* Scene-first composition. Only a short update floats over the image. */
.mission-update{position:absolute;z-index:5;right:var(--scene-gutter);bottom:calc(var(--mission-dock-height,50px) + 24px);width:280px;max-width:calc(100% - 2 * var(--scene-gutter));padding:9px 12px 10px;color:#e3e2d9;background:rgb(8 13 17 / 32%);backdrop-filter:blur(4px);border:1px solid rgb(199 211 194 / 8%);border-radius:3px;pointer-events:none;opacity:var(--shot-opacity,1);font-weight:400;text-shadow:0 1px 3px #0006;}
.update-kicker{display:flex;align-items:center;gap:7px;color:#b4bfb5;font-size:9px;line-height:1.4;letter-spacing:.09em;margin:0 0 5px;}.update-kicker i{width:4px;height:4px;border-radius:50%;background:#c6ba9e;flex:none}.mission-update h3{font-size:16px;font-weight:450;line-height:1.5;letter-spacing:.01em;margin:0 0 6px;}.mission-update ul{list-style:none;margin:0;padding:0;display:grid;gap:3px}.mission-update li{display:flex;align-items:baseline;gap:8px;font-size:12px;line-height:1.55;color:#d2d8cf}.mission-update li>span{flex:none;width:2.2em;color:#cfaf89;font-size:10px;letter-spacing:.06em}.mission-update li>p{margin:0;min-width:0;overflow-wrap:anywhere}.mission-update li[data-state="active"]>span{color:#b9d6d0}.mission-update li[data-state="done"]>span{color:#b3c3ad}.mission-update li[data-state="queued"]>span,.mission-update li[data-state="dormant"]>span{color:#adbcac}.mission-update li[data-state="invalid"]>span{color:#efbc8f}.mission-update li[data-state="recurring"]>span{color:#abcfbc}.mission-update[data-alert="true"] .update-kicker i{background:#d7a46f}.mission-update[data-alert="true"] h3{color:#ead6bc}
[data-shot="aerial"] .mission-update,[data-shot="ares"] .mission-update{top:102px;bottom:auto;right:var(--scene-gutter)}
[data-shot="region"] .mission-update{left:48%;right:auto;bottom:calc(var(--mission-dock-height,50px) + 24px)}
[data-shot="return"] .mission-update{top:102px;bottom:auto}
.screen-mode .mission-visual .mission-dock{display:block;grid-area:2/1;padding:0 0 8px;margin-inline:var(--scene-gutter);border:0;min-width:0;}
.screen-mode .mission-visual .expedition-transport{display:flex;gap:16px;height:48px;border-top:1px solid #a3b19c26;border-bottom:0;background:transparent;}
.screen-mode .mission-visual .expedition-chapters{gap:18px}.screen-mode .mission-visual .expedition-chapters button{height:46px;font-size:10px;letter-spacing:.12em}.screen-mode .mission-visual .expedition-transport>button{width:38px;height:44px;padding:10px;background:none;flex:none;color:#bdc6b7;border:0}
.mission-next { display:none; }
.screen-mode .mission-main{padding:clamp(60px,8cqh,90px) var(--scene-gutter) 34px;align-items:center}.screen-mode .mission-hero .hero-copy{width:min(40vw,530px)}.screen-mode .mission-hero .hero-manifesto{font-size:clamp(19px,2.8cqh,27px)}
.three-viewport::after{background:linear-gradient(90deg,#060809ed 0%,#060809b0 28%,#0608090d 57%,transparent 78%),linear-gradient(0deg,#060809e8 0%,#06080950 10%,transparent 27%,transparent 88%,#06080920)}
.world-labels{opacity:var(--shot-opacity,1)}.world-label>svg{position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible;fill:none;stroke:#bac7b3;stroke-width:.65;opacity:.6}.world-label>span{border-radius:1px;background:#0c1012a8}.orbit-message{display:none!important}.three-mark{left:var(--scene-gutter);right:auto;bottom:calc(var(--mission-dock-height,50px) + 15px);font-size:7px;opacity:.6}.scene-scale{right:var(--scene-gutter);bottom:calc(var(--mission-dock-height,50px) + 17px)!important;font-size:8px;opacity:.65}
.mission-notes{width:min(560px,calc(100vw - 36px));max-height:calc(100dvh - 60px);padding:26px;background:#10171c;color:#bcc7bb;border:1px solid #75867466;border-radius:4px;overflow:auto;overscroll-behavior:contain;font-size:13px;line-height:1.9}.mission-notes::backdrop{background:#030608bd;backdrop-filter:blur(6px)}.mission-notes form{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.mission-notes h3{font-size:20px;font-weight:450;color:#e8e2d5}.mission-notes form button{width:36px;height:36px;background:transparent;color:#b9c4b6;font-size:25px;line-height:1}.mission-notes p+p{margin-top:15px}.mission-notes a{text-decoration:underline;text-underline-offset:3px}.mission-notes-source{font-size:11px;color:#94a38f}
.three-viewport:fullscreen .mission-update{bottom:30px;right:30px;left:auto;top:auto}.three-viewport:fullscreen .three-mark{bottom:12px}.three-viewport:fullscreen .scene-scale{bottom:12px!important}
@media(min-width:1800px){.mission-update{width:300px;padding:11px 14px}.mission-update h3{font-size:18px}.mission-update li{font-size:13px}.update-kicker{font-size:10px}}
@media(max-width:1199px) and (min-width:901px){.mission-update{width:280px;padding:8px 10px}.mission-update h3{font-size:15px}.mission-update li{font-size:11px}.screen-mode .mission-hero .hero-manifesto{font-size:20px}}
@media(max-width:900px){
  .mission-update{width:280px;padding:8px 10px;right:var(--scene-gutter);bottom:calc(var(--mission-dock-height,50px) + 26px)}.mission-update h3{font-size:15px;line-height:1.5;margin-bottom:5px}.mission-update li{font-size:12px;gap:8px;line-height:1.55}.mission-update li:nth-child(n+5){display:none}.update-kicker{font-size:8px;margin-bottom:5px}.mission-update li>span{font-size:9px}.mission-update ul{gap:3px}
  [data-shot="region"] .mission-update{left:var(--scene-gutter);right:auto;bottom:calc(var(--mission-dock-height,50px) + 26px)}
  [data-shot="aerial"] .mission-update,[data-shot="return"] .mission-update,[data-shot="ares"] .mission-update{left:auto;right:var(--scene-gutter);top:auto;bottom:calc(var(--mission-dock-height,50px) + 26px)}
  .screen-mode .mission-main{align-items:flex-start;padding-top:68px}.screen-mode .mission-hero .hero-copy{width:100%;max-width:440px}.screen-mode .mission-hero .hero-manifesto{font-size:19px}.three-mark{display:none}.three-viewport::after{background:linear-gradient(180deg,#06080995 0%,#06080988 23%,#06080905 44%,transparent 68%,#060809d9 94%,#060809)}
}
@media(max-width:760px){
  .screen-mode .mission-main{padding:61px var(--scene-gutter) 20px}.screen-mode .hero-copy .eyebrow{display:none}.screen-mode .mission-hero h1{font-size:clamp(34px,10.5cqw,44px)}.screen-mode .mission-hero .hero-manifesto{font-size:16px;margin-top:10px;line-height:1.5}.screen-mode .hero-lead{display:block;font-size:10px;line-height:1.7;margin-top:7px}.screen-mode .hero-lead br{display:none}.screen-mode .hero-actions{margin-top:13px;gap:17px}.screen-mode .hero-actions .button{min-height:37px;padding:8px 13px;font-size:10px}.screen-mode .hero-actions .text-link{font-size:10px}
  .mission-update{width:280px;padding:8px 10px;bottom:calc(var(--mission-dock-height,46px) + 21px)}.mission-update h3{font-size:15px}.mission-update li{font-size:12px}.update-kicker{font-size:8px}
  [data-shot="region"] .mission-update{left:var(--scene-gutter);bottom:calc(var(--mission-dock-height,46px) + 21px)}
  [data-shot="aerial"] .mission-update,[data-shot="ares"] .mission-update{left:var(--scene-gutter);right:auto;top:auto;bottom:calc(var(--mission-dock-height,46px) + 21px)}
  [data-shot="return"] .mission-update{left:auto;right:var(--scene-gutter);top:calc(var(--mission-copy-bottom,285px) + 16px);bottom:auto}
  .screen-mode .mission-visual .mission-dock{padding-bottom:5px}.screen-mode .mission-visual .expedition-transport{height:43px;gap:5px}.screen-mode .mission-visual .expedition-chapters{gap:3px}.screen-mode .mission-visual .expedition-chapters button{height:40px;font-size:9px;letter-spacing:.04em}.screen-mode .mission-visual .expedition-transport>button{width:28px;height:40px;padding:7px}.screen-mode .mission-visual .expedition-transport svg{width:16px;height:16px}
  .mission-notes{padding:21px;font-size:12px;line-height:1.85}.mission-notes-source{font-size:10px}.scene-compass{opacity:.5}
}
@media(max-height:700px) and (max-width:760px){
  .screen-mode .mission-main{padding-top:54px}.screen-mode .mission-hero h1{font-size:clamp(30px,9.5cqw,37px)}.screen-mode .mission-hero .hero-manifesto{font-size:14px;margin-top:8px}.screen-mode .hero-lead{display:none}.screen-mode .hero-actions{margin-top:10px}.screen-mode .hero-actions .button{min-height:33px;font-size:9px}.screen-mode .hero-actions .text-link{font-size:9px}.mission-update{width:260px;padding:7px 9px}.mission-update h3{font-size:14px;margin-bottom:5px}.mission-update li{font-size:11px}.mission-update li:nth-child(n+4){display:none}.update-kicker{font-size:8px;margin-bottom:5px}.scene-scale{display:none!important}
  [data-shot="return"] .mission-update{top:auto;bottom:calc(var(--mission-dock-height,46px) + 21px)}
}
@media(max-height:520px){
  .screen-mode .mission-main{padding-top:46px;align-items:flex-start}.screen-mode .mission-hero .hero-copy{width:42%;max-width:400px}.screen-mode .mission-hero h1{font-size:30px}.screen-mode .mission-hero .hero-manifesto{font-size:13px;margin-top:9px}.screen-mode .hero-lead,.screen-mode .hero-actions .text-link{display:none}.screen-mode .hero-actions{margin-top:11px}.screen-mode .hero-actions .button{min-height:33px;padding-block:8px;font-size:9px}.mission-update{width:230px;right:var(--scene-gutter);padding:7px 9px;bottom:calc(var(--mission-dock-height,46px) + 18px)}.mission-update h3{font-size:14px}.mission-update li{font-size:11px}.mission-update li:nth-child(n+4){display:none}.update-kicker{font-size:8px;margin-bottom:5px}
  [data-shot] .mission-update{top:auto;left:auto;right:var(--scene-gutter);bottom:calc(var(--mission-dock-height,46px) + 18px)}
  .screen-mode .mission-visual .expedition-transport{height:38px}.screen-mode .mission-visual .expedition-chapters button{height:36px}.screen-mode .mission-visual .expedition-transport>button{height:36px}.scene-compass{display:none}.scene-scale{display:none!important}
}
@media(prefers-reduced-motion:reduce){.mission-update{backdrop-filter:none}}
@media(max-height:520px){.screen-mode .expedition-heading{display:none}.screen-mode .view-caption{top:13px;font-size:6px}.screen-mode #view-hint{font-size:8px}}
@media(max-width:760px) and (min-height:521px) and (max-height:600px){.mission-update li:nth-child(n+3){display:none}}
.mission-update li{display:grid;grid-template-columns:2.2em minmax(0,1fr) auto;column-gap:7px}.mission-update li>span{width:auto}.mission-update li>em{font-size:10px;font-style:normal;white-space:nowrap;color:#b5c9be;letter-spacing:.02em}.mission-update li[data-state="waiting"]>em,.mission-update li[data-state="invalid"]>em{color:#edbd8f}.mission-update li[data-state="queued"]>em{color:#adb6a8}.mission-decision{margin:6px 0 0;color:#d8c6a7;font-size:10px;line-height:1.5}
@media(max-width:900px){.mission-update li>em{font-size:9px}.mission-decision{font-size:9px}}
@media(max-height:520px){.mission-decision{font-size:9px;line-height:1.4}}
@media(max-width:760px) and (orientation:portrait){
  :is([data-shot="region"],[data-shot="return"]) .mission-update{inset:auto var(--scene-gutter) calc(var(--mission-dock-height,46px) + 12px) auto}
  :is([data-shot="region"],[data-shot="return"]) .three-viewport:fullscreen .mission-update{bottom:12px}
  :is([data-shot="region"],[data-shot="return"]) .scene-scale{top:120px;bottom:auto!important}
}

/* Route instruments share the map's scene frame and keep details on demand. */
.mission-update[data-hud="trial"] {
  background:linear-gradient(120deg,#18242cdb,#10191dce);
  border-color:#a7c3c239;
  text-shadow:none;
}
.mission-update .trial-title {
  position:static;
  width:auto;
  height:auto;
  min-height:0;
  clip-path:none;
  overflow:visible;
  white-space:normal;
  margin:0 84px 7px 0;
  color:#ebf0e9;
  font-size:16px;
  line-height:1.35;
  opacity:1;
}
.trial-details {
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  gap:4px 10px;
  margin:0;
  padding-top:6px;
  border-top:1px solid #b6c9cb26;
  color:#b7c8cd;
  font-size:11px;
  line-height:1.45;
}
.trial-details dd { margin:0; color:#e1eae6; }
.mission-update[data-hud="route"] {
  --route-blue:#a6def1;
  background:linear-gradient(120deg,#16232ee0,#0d171dca);
  border-color:#b7d9e23d;
  color:#eaf1ef;
  text-shadow:none;
}
.route-hud-header,
.route-hud-kicker,
.route-hud-header button,
.route-key span {
  display:flex;
  align-items:center;
}
.route-hud-header { justify-content:space-between; gap:8px; }
.route-hud-kicker { gap:6px; font-size:10px; line-height:1.5; white-space:nowrap; color:#b2c9cd; }
.route-hud-kicker svg,
.route-hud-header button svg,
.route-leg svg {
  width:14px;
  height:14px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.route-hud-kicker svg { color:var(--route-blue); }
.route-status { border-inline-start:1px solid #9ebac346; padding-inline-start:6px; color:#e1eae4; white-space:normal; }
.route-hud-header button {
  gap:4px;
  min-height:30px;
  margin-block:-3px;
  padding:0 6px;
  border-radius:2px;
  background:#b0ced30b;
  color:#d3e8ed;
  pointer-events:auto;
  font-size:10px;
  line-height:1.3;
  white-space:nowrap;
}
.route-hud-header button:hover,
.mission-update[data-hud="route"] .resource-compare-open:hover { background:#bfe3ec22; color:#f1f8f5; }
.mission-update[data-hud="route"] .route-leg {
  position:static;
  display:flex;
  align-items:center;
  gap:9px;
  width:auto;
  height:auto;
  min-height:0;
  margin:3px 0 5px;
  overflow:visible;
  clip-path:none;
  opacity:1;
  color:#eef3ee;
  font-size:18px;
  font-weight:500;
  line-height:1.3;
}
.route-leg svg { width:18px; height:13px; color:#b5cfcc; }
.route-options { width:100%; border-spacing:0; font-size:12px; line-height:1.35; font-variant-numeric:tabular-nums; }
.route-options :is(th,td) { padding:3px 4px; text-align:right; font-weight:400; white-space:nowrap; }
.route-options th:first-child { text-align:left; }
.route-options thead { color:#b3c5c7; font-size:10px; }
.route-options thead th { white-space:normal; }
.route-options tbody th { color:#d9e4e2; }
.route-options small,
.route-distance small { color:#b6cbd0; font-size:9px; }
.route-selected { background:#9ad5e919; color:var(--route-blue); }
.route-options .route-selected th { color:inherit; }
.route-options i,
.route-key i { display:inline-block; width:12px; border-top:2px solid #8dcac2; }
.route-options i { margin:0 5px 3px 0; }
.route-options .route-candidate,
.route-key .route-candidate { border-color:#b8afa0; border-top-style:dashed; }
.route-options .route-planned,
[data-shot="region"] .route-key .route-planned { border-color:#e2b98d; }
.route-key .route-driven { border-color:#f1ecd6; }
.route-meter { display:grid; height:17px; align-items:center; padding-inline:4px; }
.route-profile { display:none; width:100%; height:100%; overflow:visible; }
.route-profile path { fill:none; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.route-profile-direct { stroke:#b8afa0; opacity:.7; stroke-dasharray:4 4; }
.route-profile-planned { stroke:#e2b98d; }
.route-profile-driven { stroke:#f1ecd6; }
.route-profile-end { fill:#192329; stroke:#e2b98d; stroke-width:1; }
.route-profile-position { fill:#d0eff8; stroke:#376273; stroke-width:1.2; }
.route-profile text { fill:#b3c5c7; font-size:9px; }
.route-rail { position:relative; height:2px; background:#adc9d25e; }
.route-rail::before {
  content:"";
  display:block;
  width:var(--route-position,0%);
  height:100%;
  background:linear-gradient(90deg,#6e9eab,var(--route-blue));
}
.route-rail::after,
.route-position { position:absolute; top:50%; transform:translate(-50%,-50%); }
.route-rail::after { content:""; left:100%; width:6px; height:6px; border:1px solid #b6c9c9; border-radius:50%; }
.route-position {
  z-index:1;
  left:var(--route-position,0%);
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--route-blue);
  box-shadow:0 0 0 2px #19333c;
}
.route-distance { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:1px 0 0; font-variant-numeric:tabular-nums; }
.route-distance>div { display:flex; justify-content:space-between; align-items:baseline; gap:6px; padding:3px 6px; background:#a4cad20c; }
.route-distance dt { color:#bfd1d4; font-size:10px; }
.route-distance dd { margin:0; color:var(--route-blue); font-size:17px; line-height:1.2; white-space:nowrap; }
.route-distance>div+div dd { color:#e7efeb; }
.route-tradeoff {
  display:flex;
  justify-content:space-between;
  gap:6px;
  margin:5px 0 0;
  padding:4px 5px 0;
  border-top:1px solid #9ab6c234;
  color:#b9cbd1;
  font-variant-numeric:tabular-nums;
  line-height:1.25;
  white-space:nowrap;
}
.route-tradeoff dt { font-size:10px; }
.route-tradeoff dd { margin:1px 0 0; color:#e5efed; font-size:12px; }
.route-tradeoff-arrow { color:#a0b9bf; }
.route-tradeoff strong,
#mission-route-cost { color:var(--route-blue); font-weight:500; }
[data-route-mode="select"] .route-tradeoff { justify-content:flex-start; column-gap:14px; }
[data-route-mode="select"] .route-tradeoff>div { display:flex; align-items:baseline; gap:5px; }
.route-key { display:none; gap:9px; margin:6px 0 0; color:#c0ced0; font-size:9px; line-height:1.4; }
.route-key span { gap:4px; white-space:nowrap; }
:is([data-shot="region"],[data-shot="return"]) .route-key { display:flex; }
.route-conditions { display:flex; align-items:center; min-height:24px; padding:3px 78px 0 0; color:#c3d0cc; font-size:10px; line-height:1.35; }
.mission-update[data-hud="route"] .resource-compare-open { top:auto; bottom:4px; height:28px; right:6px; color:#b8cbd2; font-size:10px; }

.resource-comparison.route-matrix { width:min(430px,calc(100vw - 28px)); background:#121c23f5; border-color:#84b4c866; }
.route-matrix .resource-comparison-heading { margin-bottom:10px; }
.route-matrix-table { width:100%; border-spacing:0; font-size:clamp(10px,3vw,13px); line-height:1.45; font-variant-numeric:tabular-nums; }
.route-matrix-table caption { text-align:left; color:#b6c9d0; font-size:11px; margin-bottom:8px; }
.route-matrix-table :is(th,td) { padding:8px 4px; border-bottom:1px solid #8dabba2b; text-align:center; white-space:nowrap; font-weight:400; }
.route-matrix-table th { color:#bfced1; }
.route-matrix-table th:first-child { text-align:left; }
.route-matrix-table small { color:#b3c7cd; }
.route-matrix-table .route-matrix-slope { display:block; margin-top:1px; }
.route-matrix-table .route-matrix-same,
.route-matrix-table .route-matrix-missing { color:#a4b2b6; }
.route-matrix-table [aria-current="true"] { color:#b6ebfc; background:#9ad5e91c; }
.route-matrix-detail { margin-top:16px; }
.route-matrix-detail caption { color:#e5efed; font-size:14px; }
.route-matrix-detail :is(th,td) { padding-block:5px; }
.route-matrix-detail tr>:last-child { color:#b6ebfc; }
.route-matrix-note { margin-top:12px; color:#c1cdcb; font-size:11px; line-height:1.55; }
@media (max-height:600px) {
  .resource-comparison.route-matrix { padding-block:11px; }
  .route-matrix-table :is(th,td) { padding-block:6px; }
  .route-matrix-detail { margin-top:12px; }
  .route-matrix-detail :is(th,td) { padding-block:4px; }
  .route-matrix-note { margin-top:8px; }
}

@media (min-width:1800px) {
  .mission-update[data-hud="route"] .route-leg { font-size:20px; }
  .route-options { font-size:13px; }
  .route-distance dd { font-size:19px; }
  .route-conditions { font-size:11px; }
}
@media (max-height:700px) and (max-width:760px), (max-height:520px) {
  .mission-update[data-hud="route"] .route-leg { gap:7px; margin:2px 0 4px; font-size:16px; }
  .route-options :is(th,td) { padding-block:2px; }
  .route-meter { height:15px; }
  .route-distance dd { font-size:15px; }
  .route-conditions { min-height:20px; padding-top:2px; }
  .mission-update[data-hud="route"] .resource-compare-open { bottom:3px; height:24px; }
}
@media (max-height:520px) {
  .route-hud-header { gap:5px; }
  .route-hud-kicker { gap:4px; }
  .route-options { font-size:11px; }
  .route-options :is(th,td) { padding-inline:3px; }
  .route-options i { width:9px; margin-inline-end:4px; }
  :lang(en) .route-distance>div { display:grid; gap:1px; }
}
@media (pointer:coarse) {
  .route-hud-header button { position:relative; }
  .route-hud-header button::after { content:""; position:absolute; inset:-8px -4px; }
  .mission-update .resource-compare-open::after { content:""; position:absolute; inset:-8px 0; }
}

.mission-notes-tasks {
  margin-bottom:18px;
  padding:10px 12px;
  background:#94b7c00c;
  border:1px solid #97b9c228;
  border-radius:3px;
}
.mission-notes-tasks h4 { margin:0 0 4px; color:#e3eee8; font-size:13px; font-weight:500; }
.mission-notes-tasks ul { margin:0; padding:0; list-style:none; }
.mission-notes-tasks li {
  display:grid;
  grid-template-columns:2.2em minmax(0,1fr) auto;
  align-items:baseline;
  gap:8px;
  padding:4px 0;
  line-height:1.55;
}
.mission-notes-tasks li+li { border-top:1px solid #9fb4b019; }
.mission-notes-tasks li>span { color:#a6bfca; }
.mission-notes-tasks li>em { color:#b9ccbf; white-space:nowrap; font-size:11px; font-style:normal; }
.mission-notes-tasks li:is([data-state="waiting"],[data-state="invalid"])>em { color:#f0bd87; }

@media (max-width:760px) and (orientation:portrait) {
  .screen-mode .mission-main { padding-top:clamp(42px,7.2cqh,56px); }
  .mission-intro { margin-top:7px; color:#c1bdb4; font-size:11px; line-height:1.65; }
  .screen-mode .mission-intro :is(.hero-lead,.hero-actions) { display:inline; margin:0; font-size:inherit; line-height:inherit; }
  .screen-mode .mission-intro .hero-actions .button { display:none; }
  .screen-mode .mission-intro .text-link {
    position:relative;
    display:inline-flex;
    gap:4px;
    align-items:center;
    min-height:22px;
    margin-inline-start:6px;
    color:#b5d7dd;
    font-size:inherit;
    white-space:nowrap;
  }
  .mission-intro .text-link svg { width:12px; height:12px; }
  .mission-visual[data-shot] .mission-update {
    inset:auto var(--scene-gutter) calc(var(--mission-dock-height,48px) + 10px) auto;
    width:300px;
    padding:7px 9px;
  }
  .mission-visual .three-viewport:fullscreen .mission-update { bottom:12px; }
  .mission-visual .scene-scale { top:120px; bottom:auto!important; }
  .mission-update[data-hud="route"] .route-leg { margin:1px 0 3px; font-size:17px; }
  .route-options :is(th,td) { padding-block:2px; }
  .route-meter { height:13px; }
  [data-route-leg*="pathfinder"] .route-meter:has(.route-profile [d]) { height:42px; padding:0; }
  [data-route-leg*="pathfinder"] .route-meter:has(.route-profile [d]) .route-rail { display:none; }
  [data-route-leg*="pathfinder"] .route-meter:has(.route-profile [d]) .route-profile { display:block; }
  .route-distance>div { padding-block:2px; }
  .route-distance dd { font-size:16px; }
  .route-key { margin-top:4px; }
  .route-conditions { padding-top:2px; min-height:20px; }
  .mission-update[data-hud="route"] .resource-compare-open { bottom:3px; height:24px; }
}
@media (max-width:760px) and (max-height:700px) and (orientation:portrait) {
  .screen-mode .mission-hero .hero-manifesto { display:inline-block; }
  .mission-intro { display:inline; margin:0 0 0 5px; }
  .screen-mode .mission-intro .hero-lead { display:none; }
  .screen-mode .mission-intro .text-link { margin-inline-start:0; }
}
@media (max-width:760px) and (orientation:portrait) and (pointer:coarse) {
  .mission-intro .text-link::after { content:""; position:absolute; inset:-9px 0; }
}
@media (max-width:950px) and (max-height:520px) and (orientation:landscape) and (pointer:coarse) {
  .screen-mode .mission-hero .hero-actions { display:none; }
}
@media (max-width:760px),
       (max-width:950px) and (max-height:520px) and (orientation:landscape) and (pointer:coarse) {
  #mission-fullscreen { display:none; }
  .mission-next {
    display:inline-flex;
    flex:none;
    align-items:center;
    justify-content:flex-end;
    height:100%;
    min-width:44px;
    white-space:nowrap;
  }
  .mission-next > span { display:flex; }
  .mission-next:focus-visible { outline-offset:1px; }
}
@media (max-width:760px) {
  .mission-next > span { display:block; }
}
