/* Build 118 controls layout. Every rule is scoped to html[data-controls="new"],
   so the classic arrangement (data-controls="classic") is untouched. The three
   looks keep their skins; this file only places the groups. Eric's standing
   order for it: symmetry, balance and precision. Desktop: a status strip
   across the top between the ship's name and the Menu; two side panels of the
   same width, top and title bar, the selected contact on the left and the
   Sensors rail (Contacts, Ship & fleet, Missions, then the flight readout) on
   the right, each only as tall as its content; Flight (with Navigate under the
   speed controls) and Tactical in the bottom corners at that same width; the View puck bottom-centre. On a phone the groups stack
   over a six-button bar. Desktop positions are constants (the strip's height
   and the Menu's width are fixed), so nothing moves when a panel hides or a
   line of text grows; only the phone stack is positioned by the heights
   controls-layout.js measures (--card-h, --flight-h, --tactical-h, --bar-h).
   "body" in the selectors outranks the look rules in glass-ui.css. */
html[data-controls="new"] body{--c-edge:12px;--c-gap:8px;--c-top:10px;--c-strip:78px;--c-menu:282px;--c-panel-top:calc(var(--c-top) + var(--c-strip) + var(--c-gap));--c-scan-top:calc(var(--c-top) + 54px);--c-scan-h:128px;--c-left-top:calc(var(--c-scan-top) + var(--c-scan-h) + var(--c-gap));--c-dock:min(234px,calc(20vw - 12px));--deck-width:var(--c-dock);--deck-edge:var(--c-edge);--edge:var(--c-edge);
 --pane-fill:var(--deck-glass);--pane-edge:#89b8ce70;--pane-radius:10px;--pane-shadow:inset 0 1px 0 #d3f4ff26,0 4px 14px #0002;--pane-blur:blur(6px);--pane-accent:2px;--pane-amber:var(--amber);--pane-blue:var(--blue);--pane-button:rgba(18,35,51,.78)}
html[data-controls="new"] body{--rest-opacity:.55}
/* Rest and wake: a pane rests translucent and comes to full strength under the pointer (hover devices only). */
@media(hover:hover){
 html[data-controls="new"] body #sim .pane-rest:not([data-pane-hidden="true"]){opacity:var(--rest-opacity);transition:opacity .35s ease}
 html[data-controls="new"] body #sim .pane-rest[data-awake="true"]:not([data-pane-hidden="true"]),html[data-controls="new"] body #sim .pane-rest:hover:not([data-pane-hidden="true"]),html[data-controls="new"] body #sim .pane-rest:focus-within:not([data-pane-hidden="true"]){opacity:1}
 html[data-controls="new"].red-alert body #sim #bridgePanel.pane-rest{opacity:1}
}
html[data-controls="new"] body #sim .deck-glass{border-radius:var(--pane-radius)}
html[data-controls="new"] body #sim :is(#bridgePanel,#targetPanel,#sensorsPanel,#controlsBar){background:var(--pane-fill);border:1px solid var(--pane-edge);border-radius:var(--pane-radius);box-shadow:var(--pane-shadow);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);text-shadow:0 1px 2px #000,0 0 4px #000}
html[data-controls="new"] body #sim #targetPanel{border-top:var(--pane-accent) solid var(--pane-amber)}
html[data-controls="new"] body #sim #sensorsPanel{border-top:var(--pane-accent) solid var(--pane-blue)}

/* ---- Header: identity left, Menu right, the same in every look ---- */
html[data-controls="new"] body #sim header{top:var(--c-top);left:var(--c-edge);right:var(--c-edge);height:auto;min-height:48px;align-items:flex-start;gap:12px}
html[data-controls="new"] body #sim .identity{width:auto;flex:0 0 auto;gap:7px;height:48px;align-items:center}
html[data-controls="new"] body #sim .identity .eyebrow{display:none}
html[data-controls="new"] body #sim .identity .delta{display:block;width:19px;height:23px;flex:0 0 19px}
html[data-controls="new"] body #sim h1{font-size:19px;line-height:20px;letter-spacing:.4px;white-space:nowrap}
html[data-controls="new"] body #sim h1 span{font-size:8.5px;letter-spacing:1.6px;margin:1px 0 0}
html[data-controls="new"] body #sim .header-actions{position:relative;top:auto;left:auto;right:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px;width:max-content;max-width:min(46vw,520px);margin-left:auto;padding:0;overflow:visible;pointer-events:auto}
html[data-controls="new"] body #sim .header-actions .scorebox{position:static;flex:1 1 100%;width:100%;height:20px;margin:0 0 2px;gap:6px;justify-content:flex-end}
html[data-controls="new"] body #sim .header-actions .scorebox small{font-size:0;white-space:nowrap}
html[data-controls="new"] body #sim .header-actions .scorebox small::before{content:'SCORE';font-size:8px;letter-spacing:1.2px}
html[data-controls="new"] body #sim .header-actions .scorebox b{font-size:17px;letter-spacing:2px}
html[data-controls="new"] body #sim .scorebox .score-pill{position:static;width:auto;min-width:0;height:18px;min-height:18px;margin:0;padding:0 7px;font-size:10px;line-height:16px;letter-spacing:.3px;border-radius:9px;background:#101929bb;color:#c8d8e8;white-space:nowrap;opacity:var(--rest-opacity);transition:opacity .3s ease}
html[data-controls="new"] body #sim .scorebox #fullscreen{display:block;font-size:12px;padding:0 6px}
html[data-controls="new"] body #sim .scorebox #labelsToggle[aria-pressed="true"]{color:#d6fff2;border-color:#92e8d1;background:#17493fe0}
html[data-controls="new"] body #sim .scorebox[data-awake="true"] .score-pill,html[data-controls="new"] body #sim .scorebox .score-pill:hover,html[data-controls="new"] body #sim .scorebox .score-pill:focus-visible{opacity:1}
html[data-controls="new"] body #sim .scorebox{gap:5px}
/* Build 218 r2: the play mode leads the score row where the look switch was, at its 62 px; Autonomous wears the teal of a
   pressed pill, Manual amber, Semi-autonomous the plain pill. */
html[data-controls="new"] body #sim .scorebox #playModeQuick{box-sizing:border-box;width:62px;min-width:62px;max-width:62px;flex:0 0 62px;margin:0;padding:0 4px;text-align:center;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim .scorebox #playModeQuick[data-mode="auto"]{color:#d6fff2;border-color:#92e8d1;background:#17493fe0}
html[data-controls="new"] body #sim .scorebox #playModeQuick[data-mode="manual"]{color:#ffe7bd;border-color:#e0a650;background:#4a3212e0}
html[data-controls="new"] body #sim .header-actions>button{flex:0 0 auto;width:auto;height:26px;padding:0 6px;font-size:11px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#101929bb;--glass-menu-font:11px}
/* Build 119: in Clear the classic pale "sound on" button kept its dark text under the new layout's dark
   background, so its label vanished; keep the classic pale look here. The glass looks style it themselves. */
html[data-controls="new"] body #sim .header-actions>#sound[aria-pressed="true"]{background:#a8d8ed;color:#0a2130;border-color:#c5ecff}
html[data-controls="new"] body #sim .header-actions>#gameMenu{width:66px}
html[data-controls="new"] body #sim .header-actions>#help{width:50px}
html[data-controls="new"] body #sim .header-actions>#sound{width:56px}
html[data-controls="new"] body #sim .header-actions>#sound[aria-pressed="false"]{color:#93a3b8;border-style:dashed}
html[data-controls="new"] body #sim .header-actions>#pauseButton{width:64px;min-width:0}
html[data-controls="new"] body #sim .header-actions>button#fullscreen{display:none}
html[data-controls="new"] body #sim .header-actions>button.menu-icon{width:30px;min-width:30px;padding:0;font-size:0}
html[data-controls="new"] body #sim .header-actions>button.menu-icon::before{content:'\2691';font-size:14px;line-height:24px;color:#ffd2a7}
html[data-controls="new"] body #sim #gameMenu[data-glass-label]{font-size:0}
html[data-controls="new"] body #sim #gameMenu[data-glass-label]::before{content:attr(data-glass-label);font-size:11px}
/* ---- Status strip: condition and hull · Current Task · bridge updates ---- */
html[data-controls="new"] body #sim #bridgePanel{position:absolute;top:var(--c-top);left:calc(var(--c-edge) + 236px);right:calc(var(--c-edge) + var(--c-menu) + 12px);bottom:auto!important;width:auto;height:var(--c-strip);min-height:var(--c-strip);max-height:var(--c-strip);display:grid;grid-template-columns:minmax(188px,220px) minmax(160px,230px) minmax(120px,1fr);gap:0 12px;align-items:stretch;padding:4px 30px 4px 8px;z-index:3;pointer-events:auto;overflow:hidden}
html[data-controls="new"] body #sim #bridgePanel .mission-brief{display:contents}
html[data-controls="new"] body #sim #bridgePanel #alertBanner{position:static;top:auto;left:auto;width:auto;height:auto;min-height:0;padding:1px 8px 1px 0;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;gap:1px;justify-content:center;opacity:1}
html[data-controls="new"] body #sim #bridgePanel #alertBanner strong{font-size:10px;letter-spacing:1.4px}
html[data-controls="new"] body #sim #bridgePanel #alertBanner #alertDetail{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Build 123 (Eric, Oct 27): the shield readout names its weakest face, so shields and hull stack on their own lines. */
html[data-controls="new"] body #sim #bridgePanel #enterpriseStatus .ship-status{margin:1px 0 0;gap:3px;grid-template-columns:1fr}
html[data-controls="new"] body #sim #bridgePanel #enterpriseStatus label{font-size:10px;line-height:12px;margin:0 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
html[data-controls="new"] body #sim #bridgePanel #enterpriseStatus .ship-status>div{min-width:0;width:100%}
html[data-controls="new"] body #sim #bridgePanel #enterpriseStatus .meter{height:2px;margin:0}
html[data-controls="new"].red-alert body #sim #bridgePanel{box-shadow:inset 3px 0 #ff9a80,0 0 20px #eb5a371c}
html[data-controls="new"] body #sim #bridgePanel .current-task{margin:0;padding:0 8px 0 0;border-left:0;border-right:1px solid var(--line);min-width:0;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
html[data-controls="new"] body #sim #bridgePanel .current-task:has(#taskChoice:not([hidden])) #taskDetail{display:none}
html[data-controls="new"] body #sim #bridgePanel .task-heading{height:12px;margin-bottom:1px}
html[data-controls="new"] body #sim #bridgePanel #taskName{font-size:13px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #bridgePanel #taskDetail{-webkit-line-clamp:2;margin:1px 0 0;font-size:11px;line-height:13px}
html[data-controls="new"] body #sim #bridgePanel #taskChoice{margin-top:3px;display:flex;gap:4px}
html[data-controls="new"] body #sim #bridgePanel #taskChoice button{height:22px;min-height:0;padding:0 8px;font-size:11px}
html[data-controls="new"] body #sim #bridgePanel #taskChoice[hidden]{display:none}
html[data-controls="new"] body #sim #bridgePanel .bridge-updates{margin:0;padding:0;border:0;min-height:0;max-height:68px;display:flex;flex-direction:column;justify-content:center;gap:2px;overflow:hidden}
html[data-controls="new"] body #sim #bridgePanel .bridge-updates #message{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;padding:0;font-size:12px;line-height:15px;height:auto;max-height:30px}
html[data-controls="new"] body #sim #bridgePanel .scan-receipt{margin:0;min-width:0}
html[data-controls="new"] body #sim #bridgePanel .scan-receipt summary{display:block;font-size:10px;line-height:13px;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Build 120 (Eric, Oct 26): the latest scan reading no longer drops over the view under Status, where the
   transporter line also runs; it opens in its own card under the insignia and the Contact panel moves down. */
html[data-controls="new"] body #sim #bridgePanel .scan-receipt[open] #scanReading{display:none}
/* Build 123 (Eric, Oct 27): the scan reading has one home, tucked under the insignia, at a fixed height; it appears and
   disappears there and nothing below it moves. Empty, the slot is a sensor instrument standing by. */
html[data-controls="new"] body #sim #scanNote{position:absolute;left:var(--c-edge);top:var(--c-scan-top);width:var(--c-dock);height:var(--c-scan-h);overflow:hidden;box-sizing:border-box;margin:0;padding:6px 8px 7px;background:var(--pane-fill);border:1px solid var(--pane-edge);border-left:2px solid #89cafa;border-radius:var(--pane-radius);box-shadow:var(--pane-shadow);backdrop-filter:var(--pane-blur);-webkit-backdrop-filter:var(--pane-blur);max-height:28vh;overflow:auto;scrollbar-width:thin;z-index:6;pointer-events:auto}
html[data-controls="new"] body #sim #scanNote[hidden]{display:block}
html[data-controls="new"] body #sim #scanNote[data-state="standby"]{border-left-color:#5f8ba8;background:color-mix(in srgb,var(--pane-fill) 72%,transparent)}
html[data-controls="new"] body #sim #scanNote[data-state="standby"] :is(.scan-note-head,#scanNoteText){display:none}
html[data-controls="new"] body #sim #scanNote[data-state="scan"] .scan-note-standby{display:none}
html[data-controls="new"] body #sim #scanNote .scan-note-standby{height:100%;display:flex;flex-direction:column;justify-content:center;gap:7px;color:#9fc3d6}
html[data-controls="new"] body #sim #scanNote .scan-standby-eyebrow{font-size:9px;letter-spacing:1.6px;color:#8fb8cf}
html[data-controls="new"] body #sim #scanNote .scan-note-standby small{font-size:10.5px;line-height:13px;color:#86a9bd}
html[data-controls="new"] body #sim #scanNote .scan-sweep{position:relative;display:block;height:1px;background:#2f4e63;overflow:hidden}
html[data-controls="new"] body #sim #scanNote .scan-sweep::after{content:'';position:absolute;top:0;bottom:0;left:-30%;width:30%;background:linear-gradient(90deg,transparent,#9fe3ff 55%,transparent);animation:scanSweep 4.2s cubic-bezier(.45,0,.55,1) infinite}
@keyframes scanSweep{0%{left:-30%}70%{left:100%}100%{left:100%}}
html[data-controls="new"] body #sim #scanNote #scanNoteAge{margin-left:auto;flex:none;font-size:9px;letter-spacing:.4px;color:#7fb0c6;white-space:nowrap}
html[data-controls="new"] body #sim #scanNote.is-fresh #scanNoteText{animation:scanPrint .55s cubic-bezier(.2,.7,.2,1) both}
html[data-controls="new"] body #sim #scanNote.is-fresh::after{content:'';position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,#bff0ff,transparent);animation:scanPrintLine .55s ease-out both}
@keyframes scanPrint{from{clip-path:inset(0 100% 0 0);opacity:.4}to{clip-path:inset(0 0 0 0);opacity:1}}
@keyframes scanPrintLine{from{transform:translateY(0);opacity:1}to{transform:translateY(var(--c-scan-h));opacity:0}}
@media(prefers-reduced-motion:reduce){html[data-controls="new"] body #sim #scanNote .scan-sweep::after,html[data-controls="new"] body #sim #scanNote.is-fresh #scanNoteText,html[data-controls="new"] body #sim #scanNote.is-fresh::after{animation:none}}
html[data-controls="new"] body #sim #scanNote .scan-note-head{display:flex;align-items:center;justify-content:space-between;gap:6px}
html[data-controls="new"] body #sim #scanNote #scanNoteName{font-size:10px;line-height:13px;font-weight:600;letter-spacing:.04em;color:#a9eddb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #scanNote #scanNoteClose{flex:none;width:18px;height:18px;padding:0;border:0;background:transparent;color:#cfe6f3;font-size:14px;line-height:16px;cursor:pointer}
html[data-controls="new"] body #sim #scanNote #scanNoteText{margin:3px 0 0;font-size:11.5px;line-height:15px;color:#d5ecec;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden}
/* Build 126 (Eric, Oct 29: "Besides the scan messages in the upper left, put useful tips there for the Captain"): when no
   fresh scan is printing, the same slot carries the captain's tip, amber-edged, with its one-click answer when there is one. */
html[data-controls="new"] body #sim #scanNote[data-state="tip"]{border-left-color:#f2c46d}
html[data-controls="new"] body #sim #scanNote[data-state="tip"] .scan-note-standby{display:none}
html[data-controls="new"] body #sim #scanNote[data-state="tip"] #scanNoteName{color:#f6d58e;letter-spacing:.08em}
html[data-controls="new"] body #sim #scanNote[data-state="tip"] #scanNoteText{-webkit-line-clamp:5;font-size:11px;line-height:14px;white-space:normal}
html[data-controls="new"] body #sim #scanNote #scanNoteAction{display:block;margin-top:4px;height:20px;min-height:0;max-width:100%;padding:0 8px;font-size:10.5px;line-height:18px;border-radius:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #scanNote #scanNoteAction[hidden],html[data-controls="new"] body #sim #bridgePanel .captain-tip{display:none}
/* Build 141 (Eric, Nov 1): the box is 128 px tall (was 92; a tip's button was cut off) and, while another ship is
   watched, holds the Watching card in fixed places with steady digits; the floating pill is then not shown. A scan
   reading may run to 6 lines (was 4) and a tip to 5 (was 3). */
html[data-controls="new"] body #sim #scanNote .scan-watch{display:none}
html[data-controls="new"] body #sim #scanNote[data-state="watch"]{border-left-color:#8fdcf2}
html[data-controls="new"] body #sim #scanNote[data-state="watch"][data-side="hostile"]{border-left-color:#ffb98a}
html[data-controls="new"] body #sim #scanNote[data-state="watch"] :is(.scan-note-head,#scanNoteText,.scan-note-standby){display:none}
html[data-controls="new"] body #sim #scanNote[data-state="watch"] .scan-watch{display:flex;flex-direction:column;height:100%;min-width:0}
html[data-controls="new"] body #sim #scanNote .scan-watch-head{display:flex;align-items:center;justify-content:space-between;gap:6px;height:20px}
html[data-controls="new"] body #sim #scanNote .scan-watch-eyebrow{font-size:9px;letter-spacing:1.6px;color:#8fdcf2}
html[data-controls="new"] body #sim #scanNote #scanWatchHome{flex:none;height:20px;min-height:0;padding:0 8px;font-size:10.5px;line-height:18px;border-radius:5px;white-space:nowrap}
html[data-controls="new"] body #sim #scanNote #scanWatchHome kbd{font-size:9.5px}
html[data-controls="new"] body #sim #scanNote #scanWatchName{margin-top:4px;font-size:13px;line-height:17px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #scanNote[data-side="hostile"] #scanWatchName{color:#ffc58f}
html[data-controls="new"] body #sim #scanNote #scanWatchLine{font-size:10.5px;line-height:14px;color:#9fc3d6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #scanNote .scan-watch-stats{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:0 6px;margin:auto 0 0;padding-top:5px;border-top:1px solid #ffffff1a}
html[data-controls="new"] body #sim #scanNote .scan-watch-stats div{min-width:0}
html[data-controls="new"] body #sim #scanNote .scan-watch-stats dt{font-size:8.5px;line-height:11px;letter-spacing:1.2px;text-transform:uppercase;color:#7fb0c6}
html[data-controls="new"] body #sim #scanNote .scan-watch-stats dd{margin:0;font-size:12px;line-height:16px;color:#d5ecec;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:701px){html[data-controls="new"] body #sim #rideCard{display:none}}
html[data-controls="new"] body #sim #bridgePanel .bridge-log-link{margin:0;padding:0;width:auto;height:13px;align-self:flex-start;font-size:10px;line-height:13px;letter-spacing:0;background:transparent;border:0;box-shadow:none;color:#9bd8f3}
html[data-controls="new"] body #sim #bridgePanel .panel-dismiss{right:3px;top:3px;width:22px;height:22px;font-size:18px;border-radius:6px}
html[data-controls="new"] body #sim #showBridge{top:var(--c-top);left:calc(var(--c-edge) + 236px);right:auto;transform:none}

/* ---- The two side panels share one convention: width, top, an information row that stays and a chevron that folds the rest (Build 119) ---- */
html[data-controls="new"] body #sim :is(#targetPanel,#sensorsPanel){position:absolute;top:var(--c-panel-top);bottom:auto!important;width:var(--c-dock);height:auto;max-height:calc(100% - var(--c-panel-top) - 52px - var(--c-edge) - var(--c-gap));display:flex;flex-direction:column;padding:0 0 4px;overflow:hidden;z-index:3;pointer-events:auto}
html[data-controls="new"] body #sim #sensorsPanel{right:var(--c-edge);left:auto}
/* Build 138 (Eric's screenshot, Oct 31): the rails reserved a fixed 52px above the bottom, room for the collapsed Tactical
   and Flight boxes only. With Tactical open (and the separation controls filling the right rail) the rail ran over the
   Tactical heading. Each rail now stops above the box under it, whatever its height; its body scrolls. */
html[data-controls="new"] body #sim #sensorsPanel{max-height:calc(100% - var(--c-panel-top) - max(52px,var(--tactical-h,40px) + 12px) - var(--c-edge) - var(--c-gap))}
html[data-controls="new"] body #sim #targetPanel{max-height:calc(100% - var(--c-panel-top) - max(52px,var(--flight-h,40px) + 12px) - var(--c-edge) - var(--c-gap))}
html[data-controls="new"] body #sim #targetPanel{left:var(--c-edge);right:auto}
/* The contact panel sits under the scan slot and never moves (Build 123). */
html[data-controls="new"] body #sim #targetPanel{top:var(--c-left-top);max-height:calc(100% - var(--c-left-top) - 52px - var(--c-edge) - var(--c-gap))}
html[data-controls="new"] body #sim .pane-fold{display:flex;align-items:center;justify-content:center;width:16px;height:18px;min-height:0;padding:0;border:0;border-radius:4px;background:transparent;color:var(--blue);font-size:10px;line-height:18px;box-shadow:none}
html[data-controls="new"] body #sim #targetPanel .pane-fold{color:var(--amber)}
html[data-controls="new"] body #sim .pane-fold .deck-chevron{font-size:10px;transition:transform .15s ease}
html[data-controls="new"] body #sim [data-collapsed="true"] .pane-fold .deck-chevron{transform:rotate(180deg)}
/* The fold fades like a pane (.35s), then the folded part takes no room. */
html[data-controls="new"] body #sim #sensorsPanel #sensorBody{max-height:100vh;opacity:1;transition:max-height .35s ease,opacity .35s ease,overflow 0s linear .35s}
html[data-controls="new"] body #sim #sensorsPanel[data-collapsed="true"] #sensorBody{max-height:0;min-height:0;opacity:0;overflow:hidden;padding-top:0;padding-bottom:0;pointer-events:none;transition:max-height .35s ease,opacity .35s ease}
html[data-controls="new"] body #sim #targetPanel .target-command-strip{max-height:420px;opacity:1;transition:max-height .35s ease,opacity .35s ease,padding .35s ease,overflow 0s linear .35s}
html[data-controls="new"] body #sim #targetPanel[data-collapsed="true"] .target-command-strip{max-height:0;opacity:0;overflow:hidden;padding-top:0;padding-bottom:0;pointer-events:none;transition:max-height .35s ease,opacity .35s ease,padding .35s ease}
/* Flight folds its Navigate section and Tactical its weapons and shields the same way: the deck
   owner sets [hidden] and inert, and here [hidden] fades and closes instead of snapping away. */
html[data-controls="new"] body #sim #helmDetails{max-height:260px;opacity:1;transition:max-height .35s ease,opacity .35s ease,margin .35s ease,padding .35s ease,border-color .35s ease,overflow 0s linear .35s}
html[data-controls="new"] body #sim #helmDetails[hidden]{display:block!important;max-height:0;opacity:0;overflow:hidden;margin-top:0;padding-top:0;border-top-color:transparent;pointer-events:none;transition:max-height .35s ease,opacity .35s ease,margin .35s ease,padding .35s ease,border-color .35s ease}
html[data-controls="new"] body #sim #tacticalDetails{max-height:480px;opacity:1;transition:max-height .35s ease,opacity .35s ease,margin .35s ease,overflow 0s linear .35s}
html[data-controls="new"] body #sim #tacticalDetails[hidden]{display:grid!important;max-height:0;opacity:0;overflow:hidden;margin-top:0;pointer-events:none;transition:max-height .35s ease,opacity .35s ease,margin .35s ease}
@media(prefers-reduced-motion:reduce){html[data-controls="new"] body #sim :is(#sensorBody,.target-command-strip,#helmDetails,#tacticalDetails){transition:none}}
html[data-controls="new"] body #sim .pane-tools{display:flex;align-items:center;gap:1px;grid-column:2;grid-row:1;align-self:center}
html[data-controls="new"] body #sim .pane-info{display:flex;align-items:center;justify-content:center;width:16px;height:18px;min-height:0;padding:0;border:0;border-radius:4px;background:transparent;color:var(--blue);font-size:13px;line-height:18px;box-shadow:none}
html[data-controls="new"] body #sim .pane-info:disabled{opacity:.35}
html[data-controls="new"] body #sim #targetPanel .target-summary{cursor:pointer}
html[data-controls="new"] body #sim #targetPanel #targetName.contact-info::after{display:none}
html[data-controls="new"] body #sim :is(#targetPanel,#sensorsPanel)[data-collapsed="true"]{padding-bottom:4px}

/* ---- Right rail: Contacts · Ship & fleet · Missions, then the flight readout ---- */
html[data-controls="new"] body #sim #sensorsPanel .rail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 26px;gap:3px;flex:none;margin:4px 6px 4px;align-items:center}
html[data-controls="new"] body #sim #sensorsPanel .rail-tabs button:not(.pane-fold){height:24px;min-height:0;padding:0 1px;font-size:10px;line-height:22px;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:5px;background:#10212fb0;color:var(--muted)}
html[data-controls="new"] body #sim #sensorsPanel .rail-tabs button.active{background:#314565;color:#edf5ff;box-shadow:inset 0 -2px #a8e8f4}
html[data-controls="new"] body #sim #sensorsPanel .rail-tabs #sensorToggle{display:none}
/* Below about 1110 px the panel is too narrow for three equal tabs to show 'Ship & fleet' whole, so
   that tab takes the room its longer name needs. */
@media(min-width:701px) and (max-width:1110px){html[data-controls="new"] body #sim #sensorsPanel .rail-tabs{grid-template-columns:minmax(0,1fr) minmax(0,1.22fr) minmax(0,1fr) 26px}html[data-controls="new"] body #sim #sensorsPanel .rail-tabs button:not(.pane-fold){font-size:9.5px}}
html[data-controls="new"] body #sim #sensorsPanel .rail-tabs .pane-fold{width:100%;height:24px;border-radius:5px;background:#10212fb0}
html[data-controls="new"] body #sim #sensorsPanel .rail-tabs .pane-fold:hover{background:#314565}
/* The flight readout, at the foot of the panel under every tab; the tabs fold above it. */
html[data-controls="new"] body #sim #sensorsPanel .rail-status{flex:none;margin:5px 6px 0;padding:5px 0 0;border-top:1px solid #83b3ca40}
html[data-controls="new"] body #sim #sensorsPanel .rail-status .deck-radar{min-height:46px;gap:9px}
html[data-controls="new"] body #sim #sensorsPanel .rail-status #radar{width:46px;height:46px}
html[data-controls="new"] body #sim #sensorsPanel #sensorBody{flex:0 1 auto;min-height:0;padding:0 6px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:auto}
html[data-controls="new"] body #sim #sensorsPanel .rail-pane{display:flex;flex-direction:column;min-height:0;flex:none}
html[data-controls="new"] body #sim #sensorsPanel .rail-pane[hidden]{display:none!important}
html[data-controls="new"] body #sim #sensorsPanel .sensor-help{display:block;margin:0 0 4px;font-size:9.5px;line-height:12px}
html[data-controls="new"] body #sim #sensorsPanel .contact-filter{margin:0 0 4px;gap:3px}
html[data-controls="new"] body #sim #sensorsPanel .contact-filter button{padding:3px 2px;font-size:10px}
html[data-controls="new"] body #sim #sensorsPanel #contacts{flex:none;min-height:0;max-height:218px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
html[data-controls="new"] body #sim #sensorsPanel .contact{min-height:31px;padding:4px 2px;font-size:11.5px}
html[data-controls="new"] body #sim #sensorsPanel .contact small{font-size:9.5px}
html[data-controls="new"] body #sim #sensorsPanel :is(.wave-status,.battle-strength,.crew-combat-readout){margin:4px 0 0;font-size:10.5px;line-height:13px}
html[data-controls="new"] body #sim #helmDock #sector{height:auto;margin:0 0 5px;font-size:9.5px;letter-spacing:1.2px;color:var(--amber)}
html[data-controls="new"] body #sim #helmDock #navigateDock{position:static;width:auto;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:auto}
html[data-controls="new"] body #sim #helmDock #navigateDock .deck-heading{margin:0 0 5px;height:14px}
html[data-controls="new"] body #sim #helmDock #navigateDock .deck-heading-toggle{color:var(--blue);font-size:9px;letter-spacing:1px;font-weight:600;height:14px;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}
html[data-controls="new"] body #sim #helmDock #patrol{height:14px;min-height:0;font-size:10px;line-height:14px;padding:0;border:0;background:transparent;color:#aad5ca;box-shadow:none;white-space:nowrap}
html[data-controls="new"] body #sim #helmDock #patrol[aria-pressed="true"]{color:#c8ffe9}
html[data-controls="new"] body #sim #helmDock #patrol::before{content:'';display:inline-block;width:13px;height:6px;margin-right:4px;vertical-align:1px;background:#516a6d;border-radius:5px;box-shadow:inset 7px 0 #afc7ce}
html[data-controls="new"] body #sim #helmDock #patrol[aria-pressed="true"]::before{background:#5fa693;box-shadow:inset -7px 0 #dcffed}
html[data-controls="new"] body #sim #helmDetails :is(button,select):not(#patrol):not(.deck-heading-toggle){height:28px;min-height:26px;padding:0 5px;font-size:10.5px;line-height:1.15;border-radius:4px;min-width:0}
/* Build 123 fourth pass (Eric, Oct 28): the signal order shares Engage's row instead of adding a row; with a local
   destination (no warp factor) Engage takes the warp factor's place too. */
html[data-controls="new"] body #sim #helmDock .deck-navigation-controls{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr) 42px;gap:3px}
@media(max-width:1180px){html[data-controls="new"] body #sim #helmDock .deck-navigation-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px}}
html[data-controls="new"] body #sim #helmDock #destination{grid-column:1/-1;width:100%;line-height:26px}
html[data-controls="new"] body #sim #helmDock .deck-warp-factor{grid-column:3;grid-row:2;height:28px}
html[data-controls="new"] body #sim #helmDock #warpFactor{padding:0 1px;height:28px}
html[data-controls="new"] body #sim #helmDock #engage{grid-column:2;grid-row:2;overflow:hidden;text-overflow:ellipsis;background:#9edaff;color:#0c2b42;border-color:#bfe9ff;font-weight:600;white-space:nowrap}
html[data-controls="new"] body #sim #helmDock #engage kbd{display:none}
html[data-controls="new"] body #sim #helmDock #navigateDock[data-local="true"] #engage{grid-column:2/-1}
html[data-controls="new"] body #sim #helmDock #navigateDock #navSignal{grid-column:1;grid-row:2;gap:3px;padding:0 4px;overflow:hidden;text-overflow:ellipsis;background:#123a36;color:#c8fff0;border-color:#6fd8bd88;font-weight:600}
html[data-controls="new"] body #sim #helmDock .deck-navigation-details{grid-row:3}
html[data-controls="new"] body #sim #helmDock #routeInfo{margin:3px 0;font-size:10px;line-height:13px;color:#c5dfed;white-space:normal}
/* The open destination list grows Flight upward; on a short screen it shortens (to three rows at
   least) so Flight stops short of the contact card. */
html[data-controls="new"] body #sim #helmDock .deck-navigate[data-expanded="true"] #destination{height:clamp(84px,calc(100vh - 556px),140px);min-height:clamp(84px,calc(100vh - 556px),140px);padding:0;background:rgba(0,0,0,.16)}
html[data-controls="new"] body #sim #rail-ship #saucerStrip{margin:0 0 5px}
html[data-controls="new"] body #sim #rail-ship .fleet-strip{margin:0 0 5px;border-top:0;padding-top:0}
html[data-controls="new"] body #sim #rail-ship .fleet-buttons button{font-size:10.5px;min-height:28px;padding:3px}
html[data-controls="new"] body #sim #rail-ship .posture-control{font-size:10.5px}
html[data-controls="new"] body #sim #rail-ship #fleetStatus{font-size:10.5px;line-height:13px}
html[data-controls="new"] body #sim #rail-ship .battle-call{margin:0 0 5px}
html[data-controls="new"] body #sim #rail-ship .battle-call p{display:none}
html[data-controls="new"] body #sim #rail-ship .battle-call button{min-height:28px;font-size:10.5px}
html[data-controls="new"] body #sim #rail-ship #shipSystems{width:100%;height:28px;min-height:28px;padding:0 6px;font-size:10.5px;white-space:nowrap;grid-column:auto}
html[data-controls="new"] body #sim #rail-missions #missionTitle{height:auto;font-size:18px;line-height:22px;white-space:normal;margin:0 0 3px}
html[data-controls="new"] body #sim #rail-missions #sectorCharacter{display:block;margin:0 0 6px;font-size:11px;line-height:1.35}
html[data-controls="new"] body #sim #rail-missions .mission-badges{height:auto;flex-wrap:wrap;margin:0 0 6px;gap:3px}
html[data-controls="new"] body #sim #rail-missions :is(#missions,#voyage){width:100%;height:28px;min-height:28px;margin:0 0 4px;padding:0 6px;font-size:10.5px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;grid-column:auto}
html[data-controls="new"] body #sim #showSensors{top:var(--c-panel-top);right:var(--c-edge)}

/* ---- Left panel: the selected contact ---- */
html[data-controls="new"] body #sim #targetPanel{gap:0;grid-template-rows:none;grid-template-columns:none}
html[data-controls="new"] body #sim #targetPanel :is(.target-panel-hide,.target-panel-toggle,.target-label-toggle){display:none}
html[data-controls="new"] body #sim #targetPanel .target-summary{display:flex;flex-direction:column;gap:2px;padding:4px 6px 0;flex:none}
html[data-controls="new"] body #sim #targetPanel .target-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:0 6px;height:auto;padding:0;align-items:center}
html[data-controls="new"] body #sim #targetPanel #targetType{display:none}
html[data-controls="new"] body #sim #targetPanel #targetName{grid-column:1;grid-row:1;height:18px;font-size:14px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:0;cursor:pointer}
html[data-controls="new"] body #sim #targetPanel #scanLabel{grid-column:2;grid-row:2;padding:0 4px;font-size:9px;line-height:14px}
html[data-controls="new"] body #sim #targetPanel #targetRange{grid-column:1;grid-row:2;max-width:none;height:14px;font-size:10px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #targetPanel .health{position:static;height:2px;margin:2px 0 1px}
html[data-controls="new"] body #sim #targetPanel #targetHint{height:28px;max-height:28px;margin:0;font-size:10.5px;line-height:14px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html[data-controls="new"] body #sim #targetPanel .proximity-readout{height:17px;min-height:17px;margin:2px 0 0;padding:2px 6px;gap:0 8px;font-size:10.5px;line-height:13px;background:transparent;border-left:2px solid #89cafa;flex:none;display:flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden}
html[data-controls="new"] body #sim #targetPanel .proximity-readout strong{display:none}
html[data-controls="new"] body #sim #targetPanel .proximity-readout span{line-height:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #targetPanel .proximity-readout span:empty{display:none}
html[data-controls="new"] body #sim #targetPanel .target-command-strip{display:flex;flex-direction:column;gap:4px;padding:4px 6px 0;flex:none}
html[data-controls="new"] body #sim #targetPanel .target-actions{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:3px}
html[data-controls="new"] body #sim #targetPanel .target-actions button{height:26px;min-height:26px;padding:0 3px;font-size:10.5px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #targetPanel .target-actions kbd{display:none}
html[data-controls="new"] body #sim #targetPanel .target-more-toggle{width:100%;height:24px;min-height:24px;font-size:10.5px}
html[data-controls="new"] body #sim #targetPanel .target-more-panel{display:contents}
html[data-controls="new"] body #sim #targetPanel[data-compact="true"] .target-more-panel{position:static;display:flex;flex-direction:column;gap:4px;width:auto;padding:0;border:0;background:transparent;box-shadow:none}
html[data-controls="new"] body #sim #targetPanel .target-more-panel[hidden]{display:none!important}
html[data-controls="new"] body #sim #targetPanel .target-secondary-actions{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:3px}
html[data-controls="new"] body #sim #targetPanel .target-secondary-actions button{height:26px;min-height:26px;padding:0 3px;font-size:10.5px;line-height:24px;white-space:nowrap}
html[data-controls="new"] body #sim #targetPanel .target-secondary-actions kbd{display:none}
html[data-controls="new"] body #sim #targetPanel .tractor-controls{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;gap:3px;grid-column:auto;grid-row:auto;border-top:1px solid #8ac8e640;padding-top:4px}
html[data-controls="new"] body #sim #targetPanel .tractor-heading{flex-direction:row;justify-content:space-between;height:auto;gap:6px;font-size:9px}
html[data-controls="new"] body #sim #targetPanel .tractor-heading strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9.5px;line-height:13px}
html[data-controls="new"] body #sim #targetPanel .tractor-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
html[data-controls="new"] body #sim #targetPanel .tractor-actions button{height:24px;min-height:24px;padding:0 2px;font-size:10px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #targetPanel .tractor-actions #towOutpost{grid-column:span 2}
html[data-controls="new"] body #sim #targetPanel[data-compact="true"]{height:auto;grid-template-columns:none;grid-template-rows:none;gap:0}
html[data-controls="new"] body #sim #targetPanel[data-compact="true"] .target-summary{display:flex}
html[data-controls="new"] body #sim #targetPanel[data-compact="true"] .target-heading{grid-column:auto;grid-row:auto;height:auto}
html[data-controls="new"] body #sim #targetPanel[data-compact="true"] #targetName{grid-column:1/-1;grid-row:1;font-size:14px;line-height:18px;height:auto}
html[data-controls="new"] body #sim #targetPanel[data-compact="true"] #targetHint{grid-column:auto;grid-row:auto;height:28px;white-space:normal}
html[data-controls="new"] body #sim #targetPanel[data-compact="true"] .target-command-strip{grid-column:auto;grid-row:auto;display:flex;grid-template-columns:none;grid-template-rows:none}
html[data-controls="new"] body #sim #targetPanel[data-compact="true"] .target-actions{grid-template-rows:auto}
html[data-controls="new"] body #sim #targetPanel[data-compact="true"] .proximity-readout{display:none}
html[data-controls="new"] body #sim #showTarget{top:var(--c-left-top);left:var(--c-edge);right:auto;transform:none}

/* ---- Bottom corners: Flight left, Tactical right; the View puck centre ---- */
html[data-controls="new"] body #sim .control-deck{left:var(--c-edge);right:var(--c-edge)}
html[data-controls="new"] body #sim .deck-port{width:var(--c-dock)}
html[data-controls="new"] body #sim #helmDock{width:var(--c-dock);padding:4px 6px 4px}
html[data-controls="new"] body #sim .deck-helm-row{grid-template-columns:50px minmax(0,1fr) 86px;gap:3px}
html[data-controls="new"] body #sim .control-deck #stop{font-size:10px;padding:0 3px}
html[data-controls="new"] body #sim .control-deck #stop kbd{display:none}
html[data-controls="new"] body #sim .deck-throttle{grid-template-columns:17px minmax(0,1fr) 17px}
html[data-controls="new"] body #sim .deck-throttle-menu{left:17px;right:17px}
html[data-controls="new"] body #sim .deck-throttle #throttle{font-size:10px;padding:0 1px;white-space:nowrap;overflow:hidden}
html[data-controls="new"] body #sim .deck-turbo-group{grid-template-columns:minmax(0,1fr) 20px 30px}
html[data-controls="new"] body #sim .control-deck #turboFactor{font-size:9px}
/* Clear has no Turbo lock button (a double press on Turbo locks it), so its Flight row has no empty
   lock column: All stop keeps its width and the speed setter and Turbo share the rest edge to edge. */
html[data-controls="new"] body #sim .deck-helm-row{grid-template-columns:44px minmax(0,1fr) minmax(0,1fr)}
html[data-controls="new"] body #sim .deck-turbo-group{grid-template-columns:minmax(0,1fr) 28px}
/* Below about 1110 px the Turbo lock squeezed the speed setter until Auto wrapped (Compact, Bridge);
   there every look uses the Clear row, and a double press on Turbo still locks it. */
@media(min-width:701px) and (max-width:1110px){html[data-controls="new"] body #sim .control-deck #turboLock{display:none}html[data-controls="new"] body #sim .deck-helm-row{grid-template-columns:44px minmax(0,1fr) minmax(0,1fr)}html[data-controls="new"] body #sim .deck-turbo-group{grid-template-columns:minmax(0,1fr) 28px}}
html[data-controls="new"] body #sim .control-deck #turbo{font-size:10px;padding:0 3px}
html[data-controls="new"] body #sim #tacticalDock{position:absolute;right:0;bottom:0;width:var(--c-dock);padding:3px 5px 4px;pointer-events:auto}
/* Folded, Tactical is one line: the title beside the cargo chip. The fading weapons section takes a
   row of its own below them, so it never pushes the chip down. */
html[data-controls="new"] body #sim #tacticalDock[data-expanded="false"]{row-gap:0;grid-template-columns:auto minmax(0,1fr)}
html[data-controls="new"] body #sim #tacticalDock[data-expanded="false"] #tacticalToggle{grid-row:1;grid-column:1}
html[data-controls="new"] body #sim #tacticalDock[data-expanded="false"] #cargo{grid-row:1;grid-column:2}
html[data-controls="new"] body #sim #tacticalDock[data-expanded="false"] #tacticalDetails{grid-row:2;grid-column:1/-1}
html[data-controls="new"] body #sim #tacticalDock .deck-weapons{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:3px}
html[data-controls="new"] body #sim #tacticalDock .deck-weapons button{font-size:10px;padding:3px 4px}
html[data-controls="new"] body #sim #tacticalDock .deck-weapons kbd{display:none}
/* Build 186: the quantum row has room to name its key, as Enemy target and Target rock do. */
html[data-controls="new"] body #sim #tacticalDock .deck-weapons .deck-quantum kbd{display:inline-block}
html[data-controls="new"] body #sim #tacticalDock .deck-launchers{gap:3px}
html[data-controls="new"] body #sim #tacticalDock #autoTarget{height:24px;min-height:24px;padding:0 6px;font-size:10px;background:rgba(18,35,51,.78)}
html[data-controls="new"] body #sim #tacticalDock #autoTarget strong{font-size:9px}
html[data-controls="new"] body #sim #tacticalDock .deck-combat-actions{grid-template-columns:40px 48px minmax(0,1fr) minmax(0,1fr);gap:3px}
html[data-controls="new"] body #sim #tacticalDock .deck-combat-actions button{font-size:8.5px;padding:0 2px;height:26px}
html[data-controls="new"] body #sim #tacticalDock .shield-controls{margin:0;padding:4px 5px 5px;background:transparent;border:1px solid #83b3ca40;border-radius:6px;display:grid;gap:3px;pointer-events:auto}
html[data-controls="new"] body #sim #tacticalDock .shield-heading{margin:0;line-height:12px;font-size:9px;letter-spacing:.6px;display:flex;justify-content:space-between;gap:4px}
html[data-controls="new"] body #sim #tacticalDock .shield-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}
html[data-controls="new"] body #sim #tacticalDock .shield-modes button{height:24px;min-height:24px;padding:0 2px;font-size:10px;line-height:22px}
html[data-controls="new"] body #sim #tacticalDock .shield-power{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:3px}
html[data-controls="new"] body #sim #tacticalDock #shieldDivert{width:100%;margin:0;height:26px;min-height:26px;padding:0 3px;font-size:10px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #tacticalDock #shieldBoost{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:100%;height:26px;min-height:26px;margin:0;padding:0 2px;font-size:9px;line-height:10px;text-align:center;background:rgba(18,35,51,.78);border:1px solid #88b9d04a;border-radius:4px;color:#c9dceb;white-space:nowrap}
html[data-controls="new"] body #sim #tacticalDock #shieldBoost small{margin:0;font-size:8px;line-height:9px;color:#93a6bf}
html[data-controls="new"] body #sim #tacticalDock .deck-cargo-actions #refine{min-width:70px;font-size:8.5px;padding:0 4px}
html[data-controls="new"] body #sim #tacticalDock[data-expanded="true"] .deck-cargo-open{width:calc(100% - 78px);font-size:9px;padding:0 4px}
html[data-controls="new"] body #sim .deck-view[data-expanded="true"] .deck-view-toggle{height:16px;min-height:16px;padding:0 3px}
html[data-controls="new"] body #sim .deck-view[data-expanded="true"] .deck-view-toggle::before{font-size:8px;letter-spacing:1px}
html[data-controls="new"] body #sim .deck-view[data-expanded="true"] .deck-view-toggle::after{font-size:11px}

/* ---- Overlays follow the strip and sit between the side panels ---- */
html[data-controls="new"] body #sim :is(#transportPanel,#warpLabel,.squadron-alert){top:calc(var(--c-panel-top) + 2px);left:calc(var(--c-dock) + var(--c-edge) + 16px);right:calc(var(--c-dock) + var(--c-edge) + 16px)}
/* Build 149 (Eric, Nov 2, with a screenshot: "move the transporter progress bar to the upper right. Shorten it so it fits about the Sensors menu, below the buttons"): on wider screens the transport line and its percentage sit in the gap between the top-right buttons and the Sensors box, as wide as the box. Phones keep the full-width line. */
@media(min-width:701px){html[data-controls="new"] body #sim #transportPanel{top:calc(var(--c-panel-top) - 20px);left:auto;right:var(--c-edge);width:var(--c-dock)}}
html[data-controls="new"] body #sim .mission-briefing{top:calc(var(--c-panel-top) + 2px)}
html[data-controls="new"] body #sim .viewscreen-frame{top:var(--c-panel-top);left:var(--c-edge);right:var(--c-edge);bottom:calc(var(--c-edge) + max(var(--flight-h,52px),var(--tactical-h,40px)) + 8px)}
html[data-controls="new"] body #sim :is(#crewReturn,#crewLaunch){display:none!important}
html[data-controls="new"] body #sim #controlsBar{display:none}

/* ---- Phone portrait: the groups stack over a six-button bar ---- */
@media(max-width:700px){
 html[data-controls="new"] body{--c-edge:8px;--c-gap:6px;--c-top:6px;--c-strip:98px;--c-scan-top:var(--c-panel-top);--c-scan-h:0px}
 html[data-controls="new"] body #sim #scanNote{display:none}
 html[data-controls="new"] body #sim{min-height:0;height:100dvh}
 html[data-controls="new"] body #sim header{top:var(--c-top);left:var(--c-edge);right:var(--c-edge);min-height:0;height:auto}
 html[data-controls="new"] body #sim .identity{display:none}
 html[data-controls="new"] body #sim .header-actions{max-width:none;width:100%;margin:0;justify-content:flex-end}
 html[data-controls="new"] body #sim .header-actions .scorebox .score-pill{opacity:1}
 html[data-controls="new"] body #sim .header-actions .scorebox{height:22px;margin:0}
 /* Build 218 r2: no room for the play-mode pill beside the status line on a phone; Voyages, Standing orders keeps the choice */
 html[data-controls="new"] body #sim .header-actions .scorebox #playModeQuick{display:none}
 html[data-controls="new"] body #sim .header-actions>button{display:none}
 html[data-controls="new"].controls-menu-open body #sim .header-actions{position:absolute;top:30px;left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;background:rgba(8,18,31,.96);border:1px solid #6f9bbc;border-radius:12px;box-shadow:0 12px 35px #0009;z-index:9}
 html[data-controls="new"].controls-menu-open body #sim .header-actions .scorebox{display:none}
 html[data-controls="new"].controls-menu-open body #sim .header-actions>button{display:block;height:44px;min-height:44px;font-size:14px;line-height:42px;width:100%}
 html[data-controls="new"].controls-menu-open body #sim .header-actions>button.menu-icon{font-size:14px}
 html[data-controls="new"].controls-menu-open body #sim .header-actions>button.menu-icon::before{content:'\2691  ';font-size:14px}
 html[data-controls="new"].controls-menu-open body #sim #gameMenu[data-glass-label]::before{font-size:14px}
 html[data-controls="new"] body #sim #bridgePanel{top:calc(var(--c-top) + 26px);left:var(--c-edge);right:var(--c-edge);grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr auto;gap:2px 8px;padding:4px 26px 4px 6px}
 html[data-controls="new"] body #sim #bridgePanel #alertBanner{padding-right:6px}
 html[data-controls="new"] body #sim #bridgePanel .current-task{border-right:0;padding-right:0}
 html[data-controls="new"] body #sim #bridgePanel .bridge-updates{grid-column:1/-1;max-height:30px;border-top:1px solid var(--line);padding-top:2px}
 html[data-controls="new"] body #sim #bridgePanel .bridge-updates #message{-webkit-line-clamp:1;max-height:15px;font-size:11px}
 html[data-controls="new"] body #sim #bridgePanel .scan-receipt{display:none}
 html[data-controls="new"] body #sim #showBridge{top:calc(var(--c-top) + 26px)}
 html[data-controls="new"] body #sim #controlsBar{display:grid;position:absolute;left:var(--c-edge);right:var(--c-edge);bottom:max(var(--c-edge),env(safe-area-inset-bottom));z-index:5;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;padding:3px;pointer-events:auto}
 html[data-controls="new"] body #sim #controlsBar button{height:44px;min-height:44px;padding:0 2px;font-size:11px;line-height:1.1;white-space:normal;border-radius:9px;background:rgba(18,35,51,.78)}
 html[data-controls="new"] body #sim #controlsBar button[aria-expanded="true"]{background:#345670;border-color:#a3d9ff;color:#fff}
 html[data-controls="new"] body #sim .control-deck{left:var(--c-edge);right:var(--c-edge);bottom:max(var(--c-edge),env(safe-area-inset-bottom))}
 html[data-controls="new"] body #sim #tacticalDock{left:0;right:0;width:auto;bottom:calc(var(--bar-h,50px) + var(--c-gap))}
 html[data-controls="new"] body #sim .deck-port{left:0;right:0;width:auto;bottom:calc(var(--bar-h,50px) + var(--tactical-h,36px) + var(--c-gap) * 2)}
 html[data-controls="new"] body #sim #helmDock{width:auto;min-height:0}
 html[data-controls="new"] body #sim .deck-helm-row{grid-template-columns:74px minmax(0,1fr) 120px;gap:4px}
 html[data-controls="new"] body #sim .deck-turbo-group{grid-column:auto;grid-template-columns:minmax(0,1fr) 24px 34px}
 html[data-controls="new"] body #sim :is(.deck-helm-row,.deck-turbo-group,.deck-throttle) button{height:44px;min-height:44px;font-size:13px}
 html[data-controls="new"] body #sim #tacticalDock .deck-tactical-toggle,html[data-controls="new"] body #sim #tacticalDock .deck-cargo-open{height:40px;min-height:40px}
 html[data-controls="new"] body #sim #tacticalDock .deck-weapons button{height:44px;min-height:44px;font-size:12px}
 html[data-controls="new"] body #sim #tacticalDock :is(.deck-combat-actions button,.shield-modes button,#shieldDivert,#shieldBoost,#autoTarget){height:36px;min-height:36px;font-size:11px}
 html[data-controls="new"] body #sim #tacticalDock .shield-power{grid-template-columns:minmax(0,1fr) 110px}
 html[data-controls="new"] body #sim :is(#targetPanel,#showTarget){top:auto;left:var(--c-edge);right:var(--c-edge);width:auto;max-height:none;transform:none;bottom:calc(max(var(--c-edge),env(safe-area-inset-bottom)) + var(--bar-h,50px) + var(--tactical-h,36px) + var(--flight-h,56px) + var(--c-gap) * 3)!important}
 html[data-controls="new"] body #sim #targetPanel .target-actions button,html[data-controls="new"] body #sim #targetPanel .target-secondary-actions button,html[data-controls="new"] body #sim #targetPanel .tractor-actions button,html[data-controls="new"] body #sim #targetPanel .target-more-toggle{height:40px;min-height:40px;font-size:13px;line-height:38px}
 html[data-controls="new"] body #sim #targetPanel .target-actions,html[data-controls="new"] body #sim #targetPanel .target-secondary-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
 html[data-controls="new"] body #sim #targetPanel .tractor-actions{grid-template-columns:repeat(5,minmax(0,1fr))}
 html[data-controls="new"] body #sim #targetPanel .tractor-actions #towOutpost{grid-column:auto}
 html[data-controls="new"] body #sim .touch-helm{left:var(--c-edge);bottom:calc(max(var(--c-edge),env(safe-area-inset-bottom)) + var(--bar-h,50px) + var(--tactical-h,36px) + var(--flight-h,56px) + var(--card-h,0px) + var(--c-gap) * 4);grid-template-columns:repeat(3,40px);grid-template-rows:40px 40px;gap:4px}
 html[data-controls="new"] body #sim .touch-helm button{font-size:16px}
 html[data-controls="new"] body #sim #sensorsPanel{top:auto;left:var(--c-edge);right:var(--c-edge);width:auto;bottom:calc(max(var(--c-edge),env(safe-area-inset-bottom)) + var(--bar-h,50px) + var(--c-gap))!important;max-height:min(62dvh,calc(100dvh - var(--c-top) - 26px - var(--c-strip) - var(--bar-h,50px) - 32px));z-index:6;background:rgba(8,18,31,.94);border-color:#6f9bbc;box-shadow:0 12px 35px #0009}
 html[data-controls="new"] body #sim #sensorsPanel .rail-tabs button:not(.pane-fold){height:36px;min-height:36px;font-size:12px}
 html[data-controls="new"] body #sim #sensorsPanel :is(.contact-filter button,.fleet-buttons button,#callBattle,#shipSystems,#missions,#voyage,#quickSeparate,#saucerStrip button){min-height:44px;height:auto;font-size:14px}
 html[data-controls="new"] body #sim #helmDock :is(#destination,#warpFactor,#engage){min-height:44px;height:auto;font-size:14px}
 html[data-controls="new"] body #sim #helmDock #navigateDock #navSignal{min-height:44px;height:auto;font-size:14px}
 html[data-controls="new"] body #sim #sensorsPanel .contact{min-height:44px;font-size:14px}
 html[data-controls="new"] body #sim #sensorsPanel #contacts{max-height:calc(44px * 6)}
 html[data-controls="new"] body #sim #showSensors{display:none!important}
 html[data-controls="new"] body #sim #viewDock .deck-view-heading{display:none}
 html[data-controls="new"] body #sim #viewDock{left:var(--c-edge);right:var(--c-edge);width:auto;max-width:none;transform:none;bottom:calc(max(var(--c-edge),env(safe-area-inset-bottom)) + var(--bar-h,50px) + var(--c-gap));padding:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;z-index:8}
 html[data-controls="new"] body #sim #viewDock[data-expanded="true"]{width:auto;padding:8px;background:rgba(8,18,31,.94);border:1px solid #6f9bbc;border-radius:12px}
 html[data-controls="new"] body #sim #viewDetails button{height:44px;min-height:44px;font-size:13px}
 html[data-controls="new"] body #sim .viewscreen-frame{display:none}
 html[data-controls="new"] body #sim :is(#transportPanel,#warpLabel,.squadron-alert){left:var(--c-edge);right:var(--c-edge)}
}

/* ---- Phone landscape and other short screens: the desktop arrangement, tighter ---- */
@media(min-width:701px) and (max-height:520px){
 html[data-controls="new"] body{--c-dock:min(234px,calc(27vw - 16px));--c-top:6px;--c-edge:8px}
 html[data-controls="new"] body #sim .identity{display:none}
 html[data-controls="new"] body #sim #showBridge{left:var(--c-edge)}
 html[data-controls="new"] body #sim #bridgePanel{left:var(--c-edge);min-height:0;grid-template-columns:minmax(140px,160px) minmax(130px,200px) minmax(0,1fr);padding:3px 28px 3px 8px}
 html[data-controls="new"] body #sim #bridgePanel .bridge-updates{max-height:34px}
 html[data-controls="new"] body #sim #bridgePanel .bridge-updates #message{-webkit-line-clamp:1;max-height:15px}
 html[data-controls="new"] body #sim #sensorsPanel #contacts{max-height:124px}
 html[data-controls="new"] body #sim #sensorsPanel .rail-tabs button:not(.pane-fold){font-size:8.5px;letter-spacing:-.1px}
 html[data-controls="new"] body #sim .deck-helm-row{grid-template-columns:46px minmax(0,1fr) 80px}
 html[data-controls="new"] body #sim .deck-turbo-group{grid-template-columns:minmax(0,1fr) 18px 28px}
}
@media(prefers-reduced-transparency:reduce){
 html[data-controls="new"] body #sim :is(#sensorsPanel,#targetPanel,#controlsBar,#viewDock){background:rgba(12,20,34,.9)}
}

/* Build 157: reserved ETA row and explicit control-family dimensions. */
html[data-controls="new"] body #sim #targetPanel .target-eta{display:flex;height:20px;min-height:20px;max-height:20px;line-height:20px;font-size:10px}
html[data-controls="new"] body #sim #targetPanel :is(.target-actions,.target-secondary-actions)>button{height:26px;min-height:26px;max-height:26px;min-width:0;width:100%;overflow:hidden;text-overflow:ellipsis}
html[data-controls="new"] body #sim #targetPanel .tractor-actions>button{height:24px;min-height:24px;max-height:24px;min-width:0;width:100%}

html[data-controls="new"] body #sim .impulse-presets{grid-template-columns:repeat(3,minmax(0,1fr));height:26px;min-height:26px;max-height:26px}
html[data-controls="new"] body #sim .impulse-presets>button{width:100%;height:26px;min-height:26px;max-height:26px;line-height:24px;font-size:11px}
html[data-controls="new"] body #sim .deck-turbo-group:has(#turboFactor[hidden]){grid-template-columns:minmax(0,1fr) 20px}
html[data-controls="new"] body #sim .deck-turbo-group:has(#turboFactor[hidden]){grid-template-columns:minmax(0,1fr)}
@media(min-width:701px) and (max-width:1110px){html[data-controls="new"] body #sim .deck-turbo-group:has(#turboFactor[hidden]){grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){html[data-controls="new"] body #sim .impulse-presets{height:44px;min-height:44px;max-height:44px}html[data-controls="new"] body #sim .impulse-presets>button{height:44px;min-height:44px;max-height:44px;line-height:42px;font-size:13px}}

@media(max-width:700px){html[data-controls="new"] body #sim #targetPanel :is(.target-actions,.target-secondary-actions,.tractor-actions)>button{height:44px;min-height:44px;max-height:44px;line-height:42px}}

/* Dynamic copy owns fixed slots, including scan progress and travel mode. */
html[data-controls="new"] body #sim #targetPanel .target-heading{grid-template-columns:minmax(0,1fr) 20px}
html[data-controls="new"] body #sim #targetPanel #targetRange{grid-column:1/-1;padding-right:70px;box-sizing:border-box}
html[data-controls="new"] body #sim #targetPanel #scanLabel{grid-column:1/-1;grid-row:2;justify-self:end;width:68px;min-width:68px;max-width:68px;height:14px;box-sizing:border-box;overflow:hidden;white-space:nowrap}
html[data-controls="new"] body #sim #patrol{box-sizing:border-box;width:88px;min-width:88px;max-width:88px;flex:0 0 88px;height:22px;min-height:22px;max-height:22px;overflow:hidden;white-space:nowrap}
html[data-controls="new"] body #sim #rail-ship .fleet-buttons button{height:30px;min-height:30px;max-height:30px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){html[data-controls="new"] body #sim #rail-ship .fleet-buttons button,html[data-controls="new"] body #sim #patrol{height:44px;min-height:44px;max-height:44px}html[data-controls="new"] body #sim .nav-drive-type{height:44px;min-height:44px}}

html[data-controls="new"] body #sim #helmDock #navigateDock[data-local="true"] #engage{grid-column:2}
html[data-controls="new"] body #sim #helmDock #navigateDock #engage{justify-self:stretch;width:100%}
html[data-controls="new"] body #sim #helmDock .nav-drive-type{height:28px;min-height:28px;max-height:28px}
@media(max-width:700px){html[data-controls="new"] body #sim #helmDock .nav-drive-type{height:44px;min-height:44px;max-height:44px}}

html[data-controls="new"] body #sim #targetPanel .target-heading{grid-template-rows:18px 14px 14px;height:46px;min-height:46px;max-height:46px}
html[data-controls="new"] body #sim #targetPanel #targetCondition{grid-column:1/-1;grid-row:3}
/* Fixed-size Flight instrument families. Live values never size their track. */
html[data-controls="new"] body #sim .flight-strip{display:grid;grid-template-columns:118px minmax(0,1fr);grid-template-rows:27px 14px;gap:0 5px;height:41px;min-height:41px;max-height:41px;margin:3px 0 5px;padding:0;overflow:hidden;font-variant-numeric:tabular-nums;border-bottom:1px solid #83b3ca40}
html[data-controls="new"] body #sim .flight-strip>div{min-width:0;overflow:hidden}
html[data-controls="new"] body #sim .flight-strip span{display:block;font-size:8px;line-height:10px;letter-spacing:.8px;color:#9cb6c7}
html[data-controls="new"] body #sim .flight-strip output{display:block;height:17px;line-height:17px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;color:#e8f6ff}
html[data-controls="new"] body #sim .flight-strip .flight-limit{grid-column:1/-1;height:14px;line-height:14px;font-size:9px;color:#a8d8cf}
html[data-controls="new"] body #sim #flightSection{width:92px;text-align:right;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:9px}
html[data-controls="new"] body #sim .deck-helm-row{grid-template-columns:44px 66px minmax(0,1fr)}
html[data-controls="new"] body #sim .deck-turbo-group{grid-template-columns:minmax(0,1fr) 20px 42px}
html[data-controls="new"] body #sim #turboFactor{display:block;width:42px;min-width:42px;max-width:42px;height:26px;min-height:26px;padding:0 1px;font-size:10px;font-variant-numeric:tabular-nums}
html[data-controls="new"] body #sim .cruise-row{display:grid;grid-template-columns:58px minmax(0,1fr) 28px 35px;gap:3px;align-items:center;height:26px;min-height:26px;max-height:26px;margin-top:5px}
html[data-controls="new"] body #sim .cruise-row :is(input,button){box-sizing:border-box;width:100%;height:26px;min-height:26px;max-height:26px;margin:0;padding:0 4px;font-size:10px;line-height:24px;min-width:0;border:1px solid #88b9d04a;border-radius:4px;background:#142b3bbb;color:#e5f4ff;font-variant-numeric:tabular-nums}
html[data-controls="new"] body #sim .cruise-row>span{font-size:9px;text-align:center;color:#afc7d6;white-space:nowrap}
html[data-controls="new"] body #sim #cruiseToggle[aria-pressed="true"]{background:#205a51;color:#d7fff0;border-color:#8edfc3}
html[data-controls="new"] body #sim #cruiseSpeed[aria-invalid="true"]{border-color:#ffab83}
@media(min-width:701px) and (max-width:1110px){html[data-controls="new"] body #sim .deck-helm-row{grid-template-columns:40px 62px minmax(0,1fr)}html[data-controls="new"] body #sim .deck-turbo-group{grid-template-columns:minmax(0,1fr) 36px}html[data-controls="new"] body #sim #turboFactor{width:36px;min-width:36px;max-width:36px}}
@media(max-width:700px){html[data-controls="new"] body #sim .flight-strip{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:32px 16px;height:48px;min-height:48px;max-height:48px}html[data-controls="new"] body #sim .flight-strip output{font-size:14px;line-height:20px;height:20px}html[data-controls="new"] body #sim .flight-strip .flight-limit{font-size:11px;height:16px;line-height:16px}html[data-controls="new"] body #sim .deck-helm-row{grid-template-columns:74px minmax(0,1fr) 144px}html[data-controls="new"] body #sim .deck-turbo-group{grid-template-columns:minmax(0,1fr) 44px 44px}html[data-controls="new"] body #sim #turboFactor{width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;font-size:13px}html[data-controls="new"] body #sim .cruise-row{grid-template-columns:72px minmax(0,1fr) 34px 44px;height:44px;min-height:44px;max-height:44px}html[data-controls="new"] body #sim .cruise-row :is(input,button){height:44px;min-height:44px;max-height:44px;line-height:42px;font-size:13px}}
/* ID-scoped component rules override older look-specific grid recipes. */
html[data-controls="new"] body #sim #helmDock>.deck-helm-row{grid-template-columns:44px 66px minmax(0,1fr)}
html[data-controls="new"] body #sim #helmDock .deck-throttle{grid-template-columns:17px minmax(0,1fr) 17px}
html[data-controls="new"] body #sim #helmDock .deck-turbo-group{grid-template-columns:minmax(0,1fr) 20px 42px}
html[data-controls="new"] body #sim #helmDock :is(#stop,#speedDown,#throttle,#speedUp,#turbo,#turboFactor,#turboLock){height:30px;min-height:30px;max-height:30px}
html[data-controls="new"] body #sim #helmDock #turboLock{display:inline-flex;width:20px;min-width:20px;max-width:20px;align-items:center;justify-content:center;padding:0}
html[data-controls="new"] body #sim #helmDock #turboFactor{width:42px;min-width:42px;max-width:42px}
html[data-controls="new"] body #sim #helmDock .flight-strip #speedActual{width:100%;min-width:0;max-width:100%;text-align:left;height:17px;min-height:17px;max-height:17px}
html[data-controls="new"] body #sim #helmDock #helmDetails:not([hidden]){max-height:360px}
html[data-controls="new"] body #sim #targetPanel[data-dock-fitted="true"]{min-height:0;overflow:hidden}
html[data-controls="new"] body #sim #targetPanel[data-dock-fitted="true"] #targetCommandStrip{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
@media(min-width:701px) and (max-width:1110px){html[data-controls="new"] body #sim #helmDock>.deck-helm-row{grid-template-columns:40px 62px minmax(0,1fr)}html[data-controls="new"] body #sim #helmDock .deck-turbo-group{grid-template-columns:minmax(0,1fr) 36px}html[data-controls="new"] body #sim #helmDock #turboLock{display:none}html[data-controls="new"] body #sim #helmDock #turboFactor{width:36px;min-width:36px;max-width:36px}}
@media(max-width:700px){html[data-controls="new"] body #sim #helmDock>.deck-helm-row{grid-template-columns:74px minmax(0,1fr) 144px}html[data-controls="new"] body #sim #helmDock .deck-turbo-group{grid-template-columns:minmax(0,1fr) 44px 44px}html[data-controls="new"] body #sim #helmDock :is(#stop,#speedDown,#throttle,#speedUp,#turbo,#turboFactor,#turboLock){height:44px;min-height:44px;max-height:44px}html[data-controls="new"] body #sim #helmDock #turboLock{display:inline-flex;width:44px;min-width:44px;max-width:44px}html[data-controls="new"] body #sim #helmDock #turboFactor{width:44px;min-width:44px;max-width:44px}html[data-controls="new"] body #sim #helmDock .flight-strip #speedActual{height:20px;min-height:20px;max-height:20px}}
@media(max-width:700px){html[data-controls="new"] body #sim #helmDock>.deck-helm-row{grid-template-columns:64px minmax(0,1fr);grid-template-rows:44px 44px;gap:4px;height:92px}html[data-controls="new"] body #sim #helmDock .deck-throttle{grid-column:2;grid-row:1;grid-template-columns:44px minmax(44px,1fr) 44px}html[data-controls="new"] body #sim #helmDock .deck-turbo-group{grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,1fr) 44px 72px}html[data-controls="new"] body #sim #helmDock #turboFactor{width:72px;min-width:72px;max-width:72px}}

/* Phone keeps a complete touch row and scrolls expanded navigation within its corner. */
@media(max-width:700px){html[data-controls="new"] body #sim #helmDock #helmDetails .cruise-row :is(#cruiseToggle,#cruiseSpeed,#cruiseNow){height:44px;min-height:44px;max-height:44px;line-height:42px}html[data-controls="new"] body #sim #helmDock #helmDetails:not([hidden]){max-height:min(150px,18dvh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}}

/* Flight's complete reading/background surface folds its details. Commands
   and nested Navigation keep their own pointer/keyboard actions. */
html[data-controls="new"] body #sim #helmDock{cursor:pointer}
html[data-controls="new"] body #sim #helmDock :is(.flight-strip,.course-eta){cursor:pointer}
html[data-controls="new"] body #sim #helmDock input{cursor:text}
