/* v0.9.5 visual-precision corrections.
   One scoped foreground masking layer; existing cockpit art itself remains unchanged. */
.v095-cockpit-foreground{display:none;position:absolute;inset:0;pointer-events:none;z-index:5;background:url('/assets/cockpit-v073-desktop.png') center/100% 100% no-repeat}
@supports (clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,10% 10%,90% 10%,90% 90%,10% 90%,10% 10%)){
 .v073-stage:has(.has-destination)>.v095-cockpit-foreground,
 .v073-cockpit.story-mode .v095-cockpit-foreground{display:block;
   clip-path:polygon(evenodd,
    0 0,100% 0,100% 100%,0 100%,0 0,
    7% 4%,93% 4%,99% 15%,99% 55.5%,97% 57.2%,3% 57.2%,1% 55.5%,1% 15%,7% 4%);
 }
}
/* Media may only paint inside the Observation Deck window, never on its framing. */
.v073-stage:has(.has-destination) .v073-window{isolation:isolate;overflow:hidden}
.v073-window .v073-deck-body{position:relative;isolation:isolate;overflow:hidden}
.v073-window .v073-deck-body>.v073-window-media{z-index:0;overflow:hidden;pointer-events:none}
.v073-window .v073-deck-body>.v073-window-media figcaption,
.v073-window .v073-deck-body>.v073-window-media a{pointer-events:auto}
.v073-window .v073-deck-body>.v073-destination-content{z-index:2}
.v073-window .v074-media-destination-earth-orbit img{object-fit:cover;object-position:50% 48%;filter:contrast(1.04)}
.v073-window .v074-media-destination-earth-orbit figcaption{font-size:7px}
/* Engineering correction: render the copy on the physical instrument face,
   not inside a second floating bordered panel. */
.v074-instruments{z-index:10}
.v074-instruments .v074-instrument-left,.v074-instruments .v092-dispatch-instrument{
  box-sizing:border-box;overflow:hidden;border:none;border-radius:0;
  background:linear-gradient(160deg,rgba(2,14,26,.30),rgba(6,31,45,.23));
  box-shadow:none;outline:none;isolation:isolate;
  display:flex;flex-direction:column;justify-content:center;gap:3px;
  padding:7px 12px;
}
.v074-instruments .v074-instrument-left{
 left:14%;width:17.5%;top:63.7%;height:8.2%;transform:none;
 clip-path:polygon(4% 0,100% 0,97% 100%,0 100%);
 padding-left:14px;padding-right:14px;
}
.v074-instruments .v092-dispatch-instrument{
 left:63.8%;width:17%;max-width:17%;top:63.7%;height:8.2%;
 transform:none;clip-path:polygon(3% 0,100% 0,97% 100%,0 100%);
 padding-left:13px;padding-right:15px;
}
.v074-instruments .v074-instrument-left span,.v074-instruments .v092-dispatch-instrument span{font-size:clamp(7px,.61vw,10px);letter-spacing:.045em;line-height:1.15}
.v074-instruments .v074-instrument-left strong,.v074-instruments .v092-dispatch-instrument strong{font-size:clamp(10px,.89vw,14px);font-weight:500;line-height:1.15;white-space:nowrap}
.v074-instruments .v074-instrument-left small,.v074-instruments .v092-dispatch-instrument small{font-size:clamp(5px,.45vw,8px);line-height:1.15;letter-spacing:0}
.v074-instruments .v092-dispatch-instrument svg{width:12px;height:12px}
.v074-instruments .v092-dispatch-instrument .v091-new{font-size:8px}
.v074-instruments .v074-instrument-left svg{height:11px;width:55%;margin-left:35%;flex-shrink:0}
.v074-instruments .v092-dispatch-instrument:hover{background:linear-gradient(160deg,rgba(4,38,56,.55),rgba(2,32,49,.42))}
.v074-instruments .v092-dispatch-instrument:focus-visible{outline:2px solid #c7f4ff;outline-offset:-3px}
/* Refine the same approved contextual tablet, not a second dialog. */
.v073-overlay-layer .v091-mission-sheet{
 background:linear-gradient(130deg,rgba(6,29,49,.67),rgba(4,16,32,.73));
 border:1px solid rgba(128,217,246,.65);
 box-shadow:0 22px 60px rgba(0,0,0,.6),inset 0 0 0 1px rgba(164,230,251,.12),inset 0 0 25px rgba(63,145,196,.09);
 backdrop-filter:blur(7px) saturate(125%);
 -webkit-backdrop-filter:blur(7px) saturate(125%);
}
.v091-mission-sheet:before{content:'';display:block;position:absolute;inset:5px;pointer-events:none;border:1px solid rgba(94,191,232,.18);border-radius:7px}
.v091-mission-sheet .v092-tablet-row{position:relative}
.v091-mission-sheet .v092-tablet-row:before{content:'';position:absolute;left:0;top:0;width:22px;height:1px;background:#6cd4ef80}
.v091-mission-sheet .v092-tablet-index{color:#7cdbfa}
.v091-mission-sheet .v092-tablet-footer{letter-spacing:.12em}
@media(max-width:850px){
 .v095-cockpit-foreground{background-image:url('/assets/cockpit-v073-mobile.png')}
 @supports (clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,10% 10%,90% 10%,90% 90%,10% 90%,10% 10%)){
  .v073-stage:has(.has-destination)>.v095-cockpit-foreground,
  .v073-cockpit.story-mode .v095-cockpit-foreground{
   clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,
    12% 4.5%,88% 4.5%,98.5% 12%,98.5% 63.8%,95% 65.5%,5% 65.5%,1.5% 63.8%,1.5% 12%,12% 4.5%)
  }
 }
 .v074-instruments .v074-instrument-left{top:70.1%;left:35.4%;width:29.1%;height:4.4%;min-height:27px;clip-path:polygon(4% 0,97% 0,100% 100%,0 100%);padding:3px 7px;gap:0}
 .v074-instruments .v074-instrument-left span{font-size:6px}
 .v074-instruments .v074-instrument-left strong{font-size:8px}
 .v074-instruments .v074-instrument-left small{font-size:4px}
 /* Mobile cockpit has one physical central instrument: Dispatch owns it on Deck,
    Exploration View returns in Journey; never paint two displays into one bay. */
 .v073-cockpit.deck-mode .v074-instruments .v074-instrument-left{display:none}
 .v074-instruments .v092-dispatch-instrument{
   top:calc(70.1% - 8px);left:35.4%;width:29.1%;max-width:29.1%;
   height:44px;min-height:44px;clip-path:none;padding:8px 6px 8px;background:transparent;overflow:visible;
 }
 .v074-instruments .v092-dispatch-instrument:before{
   content:'';position:absolute;left:0;right:0;top:8px;height:27px;
   border:1px solid rgba(89,191,230,.26);border-radius:4px;
   background:linear-gradient(110deg,#041a27dc,#071d2dcc);z-index:0;
   pointer-events:none;
 }
 .v074-instruments .v092-dispatch-instrument span,
 .v074-instruments .v092-dispatch-instrument strong{position:relative;z-index:1}
 .v074-instruments .v092-dispatch-instrument span{font-size:6px}
 .v074-instruments .v092-dispatch-instrument strong{font-size:7px}
 .v074-instruments .v092-dispatch-instrument:before{z-index:0}
 .v074-instruments .v092-dispatch-instrument:focus-visible{outline:2px solid #c7f4ff;outline-offset:0}
 .v073-overlay-layer .v091-mission-sheet{backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
}
@media(prefers-reduced-transparency:reduce){
 .v073-overlay-layer .v091-mission-sheet{background:#081a29;backdrop-filter:none;-webkit-backdrop-filter:none}
}
