.command-viewer{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#0b171e;color:#f4f4ee;overflow:hidden}
.command-viewer::backdrop{background:#071017}
.command-viewer[open]{display:flex;flex-direction:column}
.command-head{padding:19px 26px;display:flex;gap:28px;align-items:center;border-bottom:1px solid #2b414c;flex:none}
.command-head>div{margin-right:auto;min-width:180px}.command-head strong{font:700 21px Manrope}.command-head>div>span{display:block;font-size:12px;color:#9eb4be;margin-top:6px}
.command-head nav{display:flex;gap:6px}.command-head nav button{border-color:transparent;color:#b5c6cd;padding:10px 16px}
.command-head nav button[aria-pressed=true]{background:#233e4b;color:#fff;border-color:#41626f}
.command-close{border:0!important;color:#afc0c8!important}.command-close span{font-size:26px;vertical-align:middle;margin-left:12px}
.command-body{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;padding:14px 18px;overflow:auto}
.command-screen{width:min(100%,calc((100dvh - 175px)*var(--map-ratio)));aspect-ratio:var(--map-ratio);position:relative;flex:none;border:1px solid #2c424b;box-shadow:0 12px 60px #0005}
.command-screen>img{width:100%;height:100%;display:block;object-fit:contain}
.command-hotspot{position:absolute;width:3.5%;min-width:34px;aspect-ratio:1;padding:0!important;transform:translate(-50%,-50%);border:1px solid #ff7770!important;border-radius:50%!important;background:#ff6b6315!important;box-shadow:0 0 0 7px #ff6b6315}
.command-hotspot>span{position:absolute;inset:0;border:2px solid #ff776f;border-radius:50%;animation:command-pulse 2.8s ease-out infinite}
.command-hotspot:hover{box-shadow:0 0 0 10px #ff6b6335}.command-hotspot:focus-visible{outline:3px solid white}
.command-caption{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:12px 26px 17px;flex:none;border-top:1px solid #263e49;color:#acbfc8;font-size:12px;line-height:1.5}
.command-caption p{margin:0;max-width:1000px}.command-route{border:0!important;font-size:13px!important;white-space:nowrap;color:#8edbd6!important;padding:8px 0!important}.command-route span{margin-left:15px}
.canvas.opening .hero-open{position:absolute;left:4.69%;top:83.05%;font-size:1.4cqw;font-family:Manrope;background:#64d9dd;color:#10232d;border:0;padding:.9cqw 1.5cqw;border-radius:3px;z-index:2}
body[data-deck=metering] .stage{width:min(96vw,calc((100dvh - 135px)*1.77778));margin-top:12px;border-color:#1d2b32;border-radius:4px}
body[data-deck=metering] .deck-footer{width:min(96vw,calc((100dvh - 135px)*1.77778));margin-top:10px}
body[data-deck=metering] .bar{min-height:60px;padding:12px 2vw}
body[data-deck=metering] .actions #command-open{color:#8be1de;border-color:#496870}
@keyframes command-pulse{0%{transform:scale(.8);opacity:.9}100%{transform:scale(2.1);opacity:0}}
@media(max-width:760px){.command-head{padding:14px;flex-wrap:wrap;gap:12px}.command-head>div{min-width:140px}.command-head strong{font-size:18px}.command-head nav{order:3;width:100%;justify-content:space-between}.command-head nav button{padding:9px;font-size:12px}.command-close{font-size:12px}.command-body{padding:6px}.command-screen{width:min(100%,calc((100dvh - 250px)*var(--map-ratio)))}.command-caption{display:block;padding:12px 16px}.command-route{margin-top:8px}.command-head nav{overflow:auto}.command-hotspot{min-width:26px}.canvas.opening .hero-open{position:static;font-size:16px;order:7;padding:14px}.bar #command-open{font-size:11px}.bar .actions>a:first-child{display:none}body[data-deck=metering] .stage{width:100%;margin:0}body[data-deck=metering] .deck-footer{width:auto}.canvas.command .text.title{font-size:30px!important}}
@media(prefers-reduced-motion:reduce){.command-hotspot>span{animation:none}}
