/* A fixed instrument layout: changing orders, telemetry and limits never
   resize a control or move its neighbours. Disclosure remains intentional. */
#helmDock .speed-scale-console{--speed-permitted:100%;--speed-normal:69.0909%;min-width:0}
#helmDock .speed-zone-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;height:22px;min-height:22px;max-height:22px;font-size:10px;color:#afc7d6;font-variant-numeric:tabular-nums}
#helmDock .speed-zone-line>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#helmDock .speed-zone-line>output{white-space:nowrap}
html[data-controls="new"] body #sim #helmDock .speed-main-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:30px;gap:4px;height:30px;min-height:30px;max-height:30px}
html[data-controls="new"] body #sim #helmDock .speed-main-actions>button{box-sizing:border-box;min-width:0;width:100%;height:30px;min-height:30px;max-height:30px;padding:0 3px;font-size:11px;white-space:nowrap}
#helmDock .speed-main-actions kbd{display:none}
#helmDock .speed-main-actions #backAway[aria-pressed="true"]{background:#b3a0de;color:#132339}
#helmDock .speed-scale-bands{display:grid;grid-template-columns:53.636fr 15.455fr 30.909fr;margin-top:9px;height:14px;color:#afc7d6;font-size:9px;line-height:14px;letter-spacing:.05em}
#helmDock .speed-scale-bands>span:last-child{text-align:right}
#helmDock .speed-turbo-blocked .speed-turbo-label{opacity:.5;text-decoration:line-through}
#helmDock .speed-scale-track{position:relative;display:grid;align-items:center;height:36px;margin:0 9px}
#helmDock .speed-track-fill{position:absolute;left:0;right:0;height:7px;top:14px;border-radius:4px;background:linear-gradient(to right,#b9a5e0 0 var(--speed-permitted),transparent var(--speed-permitted) 100%),repeating-linear-gradient(135deg,#2c3a50,#2c3a50 4px,#496078 4px,#496078 5px);pointer-events:none}
html[data-controls="new"] body #sim #helmDock input#speedScale,#helmDock input#speedScale{box-sizing:content-box;appearance:none;-webkit-appearance:none;position:relative;width:calc(100% + 18px);min-width:0;height:36px;min-height:36px;max-height:36px;margin:0 -9px;padding:0;background:transparent;border:0;border-radius:0;cursor:ew-resize;touch-action:pan-y}
#helmDock input#speedScale:focus-visible{outline:2px solid #c5b7ed;outline-offset:0}
#helmDock input#speedScale::-webkit-slider-runnable-track{height:7px;background:transparent}
#helmDock input#speedScale::-webkit-slider-thumb{-webkit-appearance:none;box-sizing:border-box;width:18px;height:23px;margin-top:-8px;border:2px solid #142239;border-radius:4px;background:#e5f4ff}
#helmDock input#speedScale::-moz-range-track{height:7px;background:transparent}
#helmDock input#speedScale::-moz-range-thumb{box-sizing:border-box;width:18px;height:23px;border:2px solid #142239;border-radius:4px;background:#e5f4ff}
#helmDock .speed-scale-ticks{position:relative;height:15px;font-size:9px;color:#afc7d6;font-variant-numeric:tabular-nums}
#helmDock .speed-scale-ticks>span{position:absolute;top:0}
#helmDock .speed-scale-ticks>span:nth-child(1){left:0}
#helmDock .speed-scale-ticks>span:nth-child(2){left:42.727%;transform:translateX(-50%)}
#helmDock .speed-scale-ticks>span:nth-child(3){left:69.091%;transform:translateX(-50%)}
#helmDock .speed-scale-ticks>span:nth-child(4){right:0}
#helmDock .speed-preset-label{height:16px;margin:4px 0;color:#afc7d6;font-size:10px;line-height:16px;letter-spacing:.07em}
html[data-controls="new"] body #sim #helmDock .speed-fine-presets{display:grid;grid-template-columns:26px repeat(3,minmax(0,1fr)) 26px;gap:4px;height:30px;min-height:30px;max-height:30px;margin:0}
html[data-controls="new"] body #sim #helmDock .speed-fine-presets>button{box-sizing:border-box;width:100%;min-width:0;height:30px;min-height:30px;max-height:30px;padding:0 3px;font-size:12px;line-height:28px;border-radius:4px}
#helmDock .speed-turbo-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:5px;height:30px}
#helmDock .speed-turbo-presets>button{box-sizing:border-box;width:100%;min-width:0;height:30px;min-height:30px;max-height:30px;padding:0 3px;line-height:28px;font-size:11px}
#helmDock .speed-turbo-presets>button:disabled,#helmDock .speed-turbo-presets>button[aria-disabled="true"]{opacity:.38}
#helmDock .speed-advanced-turbo{margin-bottom:8px}
#helmDock .speed-advanced-turbo .deck-turbo-group{display:grid;grid-template-columns:minmax(0,1fr) 28px 56px;gap:4px}
#helmDock .flight-strip>div{min-width:0}
#helmDock .flight-strip output{overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
@media(max-width:700px){
 html[data-controls="new"] body #sim #helmDock .speed-main-actions{grid-template-rows:44px;height:44px;min-height:44px;max-height:44px}
 html[data-controls="new"] body #sim #helmDock .speed-main-actions>button{height:44px;min-height:44px;max-height:44px;font-size:13px}
 html[data-controls="new"] body #sim #helmDock .speed-fine-presets{grid-template-columns:44px repeat(3,minmax(0,1fr)) 44px;height:44px;min-height:44px;max-height:44px}
 html[data-controls="new"] body #sim #helmDock .speed-fine-presets>button{height:44px;min-height:44px;max-height:44px;line-height:42px;font-size:13px}
 #helmDock .speed-turbo-presets{height:44px}
 #helmDock .speed-turbo-presets>button{height:44px;min-height:44px;max-height:44px;line-height:42px;font-size:13px}
 #helmDock .speed-scale-bands,#helmDock .speed-scale-ticks{font-size:11px}
 #helmDock .speed-zone-line{font-size:11px}
 html[data-controls="new"] body #sim #helmDock input#speedScale{height:44px;min-height:44px;max-height:44px}
 #helmDock .speed-scale-track{height:44px}#helmDock .speed-track-fill{top:18px}
}

html[data-controls="new"] body #sim #helmDock #navigateDock{position:static;box-sizing:border-box;width:100%;min-height:0;margin-top:5px;padding:0;border:0;background:transparent;box-shadow:none}
html[data-controls="new"] body #sim #helmDock #navigateDock .deck-heading{height:24px;min-height:24px;max-height:24px;margin:0 0 5px}
html[data-controls="new"] body #sim #helmDock #navigateDock .deck-navigation-controls :is(button,select){box-sizing:border-box;height:28px;min-height:28px;max-height:28px;padding:0 5px;font-size:10.5px;line-height:26px;border-radius:4px;min-width:0}
@media(max-width:700px){
 html[data-controls="new"] body #sim #helmDock #navigateDock .deck-heading{height:44px;min-height:44px;max-height:44px}
 html[data-controls="new"] body #sim #helmDock #navigateDock .deck-heading-toggle{height:44px;min-height:44px;max-height:44px;font-size:12px}
 html[data-controls="new"] body #sim #helmDock #navigateDock .deck-navigation-controls :is(button,select){height:44px;min-height:44px;max-height:44px;line-height:42px;font-size:13px}
 html[data-controls="new"] body #sim #helmDock #navigateDock .deck-warp-factor{height:44px}
 html[data-controls="new"] body #sim #helmDock #navigateDock #destination[size]:not([size="1"]){height:132px;min-height:132px;max-height:132px}
}
@media(max-width:700px) and (max-height:720px){
 html[data-controls="new"] body #sim #helmDock{max-height:calc(100dvh - 200px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 html[data-controls="new"] body #sim #helmDock .speed-main-actions{position:sticky;top:0;z-index:2;background:#101d31}
}
