/* ── Command dock refinement: stacked trays + voice states ── */ #command-dock { --dock-voice-width: 8.75rem; --dock-location-pinned-height: 0px; --dock-presets-pinned-height: 0px; --dock-pinned-stack-height: 0px; --dock-lower-pinned-height: 0px; --dock-unified-width: calc( var(--dock-side-compact) * 2 + var(--dock-voice-width) ); --dock-location-open: max(34rem, calc(var(--dock-unified-width) + 0.75rem)); --dock-presets-open: max(34rem, calc(var(--dock-unified-width) + 0.75rem)); } #command-dock .panel-title, #command-dock .location-toolbar-label { display: inline-flex; align-items: center; gap: 0.42rem; color: var(--dock-label-color); font-size: var(--dock-label-font-size); font-weight: var(--dock-label-font-weight); letter-spacing: var(--dock-label-letter-spacing); } #command-dock .dock-label-icon { display: inline-block; flex: 0 0 1rem; width: 1rem; height: 1rem; background: rgba(232, 234, 237, 0.3); mask-position: center; mask-repeat: no-repeat; mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; transition: background-color 160ms ease, filter 160ms ease; } #command-dock .dock-label-icon-location { mask-image: url('/location.svg'); -webkit-mask-image: url('/location.svg'); } #command-dock .dock-label-icon-presets { mask-image: url('/visual-presets.svg'); -webkit-mask-image: url('/visual-presets.svg'); } #command-dock :is(#location-bar, #control-panel):hover .dock-label-icon, #command-dock :is(#location-bar, #control-panel).dock-pinned .dock-label-icon { background: var(--accent); filter: drop-shadow(0 0 0.35rem rgba(0, 212, 255, 0.28)); } #command-dock :is(#location-bar, #control-panel):hover .location-toolbar-label, #command-dock :is(#location-bar, #control-panel):hover .panel-title { color: var(--accent); } #command-dock #control-panel .panel-header { justify-content: center; } #command-dock #location-bar .dock-tray-toggle { display: flex; box-sizing: border-box; width: 100%; min-width: 0; padding: 0; color: inherit; background: transparent; border: 0; font: inherit; cursor: pointer; outline: none; } #command-dock #location-bar .dock-tray-toggle:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 3px; border-radius: 3px; } #command-dock #control-panel .dock-tray-toggle { box-sizing: border-box; width: 100%; color: inherit; background: transparent; border: 0; font: inherit; cursor: pointer; outline: none; } #command-dock #control-panel .dock-tray-toggle:focus-visible { outline: 1px solid color-mix(in srgb, var(--accent) 80%, transparent); outline-offset: 3px; border-radius: 3px; } #command-dock #control-panel .panel-title { justify-content: center; width: 100%; text-align: center; } #command-dock #control-panel .panel-divider { display: none; } #command-dock .location-toolbar-label, #command-dock #control-panel .panel-title { position: relative; padding-bottom: 0.4rem; } #command-dock .location-toolbar-label::after, #command-dock #control-panel .panel-title::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; display: block; height: 1px; } #command-dock .location-toolbar-label::after { background: linear-gradient(to right, rgba(232, 234, 237, 0.3), transparent); } #command-dock #control-panel .panel-title::after { background: linear-gradient(to left, rgba(232, 234, 237, 0.3), transparent); } #command-dock .panel-title::after, #command-dock .location-toolbar-label::after, #command-dock #control-panel .panel-title::after { content: none; display: none; } #command-dock .dock-popover-content { padding: 0.7rem; } #command-dock .dock-pin-btn { position: relative; top: auto; right: auto; align-self: flex-end; display: none; place-items: center; width: 1.65rem; min-width: 1.65rem; height: 1.65rem; margin: -1.48rem -0.22rem 0.25rem 0; padding: 0; border-radius: 50%; background: rgba(8, 24, 34, 0.96); box-shadow: 0 0.35rem 0.9rem rgba(0, 0, 0, 0.5); transform: translateY(-0.12rem); } #command-dock #location-bar:not(.collapsed) .dock-pin-btn, #command-dock #control-panel:not(.collapsed) .dock-pin-btn { display: grid; } #command-dock .dock-pin-btn img { width: 0.9rem; height: 0.9rem; opacity: 0.58; transition: opacity 160ms ease, transform 160ms ease; } #command-dock #location-bar .dock-pin-btn { align-self: flex-start; margin-right: 0; margin-left: -0.22rem; } #command-dock .dock-pin-btn:hover img, #command-dock .dock-pin-btn[aria-pressed='true'] img { opacity: 1; transform: rotate(-12deg) scale(1.08); } #command-dock.dock-has-pinned-tray #location-bar:not(.collapsed):not(.dock-pinned) .dock-popover-content, #command-dock.dock-has-pinned-tray #control-panel:not(.collapsed):not(.dock-pinned) .dock-popover-content { bottom: calc(100% + 1.2rem + var(--dock-pinned-stack-height)); } #command-dock.dock-has-two-pinned-trays .dock-pinned-top.dock-pinned:not(.collapsed) .dock-popover-content { bottom: calc(100% + 1.2rem + var(--dock-lower-pinned-height)); } #command-dock.dock-has-pinned-tray .gev-voice-error-tray { bottom: calc(100% + 1.7rem + var(--dock-pinned-stack-height)); } #command-dock .location-pill, #command-dock .poi-pill, #command-dock .btn-label { font-size: 0.56rem; } #command-dock #location-search, #command-dock #location-search.expanded { font-size: 0.68rem; } #command-dock > #gev-voice-control { grid-template-columns: 3rem minmax(0, 1fr); grid-template-rows: 0.8rem 2.25rem 0.85rem; gap: 0.12rem 0.28rem; width: var(--dock-voice-width); flex-basis: var(--dock-voice-width); height: 5.35rem; margin-top: -0.97rem; margin-bottom: -0.97rem; padding: 0.32rem 0.38rem 0.3rem; overflow: visible; } #command-dock .gev-voice-heading { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: flex-start; gap: 0.35rem; min-width: 0; } #command-dock .gev-voice-kicker { position: static; padding-right: 0; font-size: 0.46rem; font-weight: 500; letter-spacing: 0.08rem; } #command-dock #gev-voice-button { grid-column: 1; grid-row: 1 / 4; align-self: center; width: 2.65rem; height: 4.15rem; background: transparent; border: 0; border-radius: 0; box-shadow: none; } #command-dock .gev-mic-orbit { flex: 0 0 2.45rem; width: 2.45rem; height: 2.45rem; aspect-ratio: 1; box-sizing: border-box; background: rgba(0, 212, 255, 0.06); border: 1px solid rgba(0, 212, 255, 0.48); border-radius: 50%; box-shadow: 0 0 0 0.18rem rgba(0, 212, 255, 0.06), 0 0 0.9rem rgba(0, 212, 255, 0.12); } #command-dock .gev-mic-label { display: block; margin-top: 0.18rem; font-size: 0.42rem; letter-spacing: 0.035rem; } #command-dock .gev-voice-visualizer { grid-column: 2; grid-row: 2; align-self: stretch; box-sizing: border-box; height: 2.25rem; padding: 0.3rem 0.05rem 0.12rem; overflow: hidden; visibility: visible; opacity: 0.54; transform: none; transition: opacity 180ms ease; } #command-dock #gev-voice-control[data-status='connecting'] .gev-voice-visualizer, #command-dock #gev-voice-control[data-status='listening'] .gev-voice-visualizer, #command-dock #gev-voice-control[data-status='executing'] .gev-voice-visualizer { visibility: visible; opacity: 1; transform: none; } #command-dock #gev-voice-status { position: static; width: auto; padding-top: 0; color: var(--accent); font-size: 0.43rem; text-align: left; } #command-dock #gev-voice-detail { grid-column: 2; grid-row: 3; align-self: start; padding-top: 0.12rem; max-width: 100%; overflow: hidden; font-size: 0.39rem; font-weight: 500; letter-spacing: 0.035rem; text-align: left; text-overflow: ellipsis; white-space: nowrap; } #command-dock #gev-voice-control[data-status='connecting'] #gev-voice-detail, #command-dock #gev-voice-control[data-status='listening'] #gev-voice-detail, #command-dock #gev-voice-control[data-status='executing'] #gev-voice-detail { grid-row: 3; font-size: 0.43rem; } #command-dock #gev-voice-control[data-status='error'] { display: grid; align-items: initial; width: var(--dock-voice-width); border-color: rgba(255, 92, 110, 0.58); border-radius: 0.4rem; } #command-dock #gev-voice-control[data-status='error'] .gev-voice-readout { display: contents; } #command-dock #gev-voice-control[data-status='error'] #gev-voice-detail { max-width: none; overflow: hidden; color: #ffb4bd; line-height: 1.2; text-align: center; text-overflow: ellipsis; white-space: nowrap; } #command-dock .gev-voice-error-tray { position: absolute; bottom: calc(100% + 0.7rem); left: 50%; z-index: 8; width: clamp(19rem, 29vw, 24rem); padding: 0.85rem 0.9rem; visibility: hidden; opacity: 0; color: rgba(255, 220, 224, 0.92); background: rgba(34, 10, 16, 0.96); border: 1px solid rgba(255, 92, 110, 0.5); border-radius: 0.42rem; box-shadow: 0 0.9rem 2.2rem rgba(0, 0, 0, 0.62), 0 0 1.4rem rgba(255, 92, 110, 0.08); backdrop-filter: blur(28px) saturate(1.25); -webkit-backdrop-filter: blur(28px) saturate(1.25); pointer-events: none; transform: translate(-50%, 0.55rem) scale(0.985); transform-origin: bottom center; transition: opacity 180ms ease, visibility 180ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1); } /* The side wings sit at z-index 100 (controls.css, location.css), so their open trays would cover the alert; lift the voice column while it shows. */ #command-dock > #gev-voice-control[data-status='error']:not(.error-dismissed) { z-index: 101; } #command-dock #gev-voice-control[data-status='error']:not(.error-dismissed) .gev-voice-error-tray { visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); } #command-dock .gev-voice-error-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; color: #ff8f9d; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1rem; } #command-dock .gev-voice-error-dismiss { padding: 0.25rem 0.42rem; color: rgba(255, 220, 224, 0.72); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 143, 157, 0.32); border-radius: 0.2rem; font-family: var(--font-mono); font-size: 0.43rem; letter-spacing: 0.06rem; cursor: pointer; } #command-dock #gev-voice-error-detail { margin-top: 0.65rem; color: rgba(255, 232, 235, 0.92); font-family: var(--font-sans); font-size: 0.78rem; line-height: 1.45; } #command-dock .gev-voice-error-hint { margin-top: 0.5rem; color: rgba(255, 196, 203, 0.58); font-family: var(--font-mono); font-size: 0.52rem; line-height: 1.45; letter-spacing: 0.035rem; } /* From 1200px the attribution row sits on the bottom edge, on the Power Up baseline, below the raised command dock (command-dock.css). It stops 26rem short of the right edge, clear of the corner row (Power Up and the language picker), and wraps rather than running under it. Below 1200px the dock keeps to the bottom edge and the row sits above it. */ body:not(.ui-clean-view):not(.recording-mode) #cesium-credits, body:not(.ui-clean-view):not(.recording-mode):has( #intel-hud[data-variant='minimal'].active ) #cesium-credits { right: auto; bottom: 1rem; left: 1.5rem; width: auto !important; max-width: calc(100vw - 3rem); text-align: left; } body:not(.ui-clean-view):not(.recording-mode) #gev-credits, body:not(.ui-clean-view):not(.recording-mode):has( #intel-hud[data-variant='minimal'].active ) #gev-credits { right: auto; bottom: 1rem; left: 1.5rem; width: max-content !important; max-width: calc(100vw - 1.5rem - 26rem); white-space: normal; text-align: left; } #intel-hud[data-variant='tactical'] .hud-bottom-left, #intel-hud[data-variant='tactical'] .hud-bottom-right { bottom: calc(2vh + 6.5rem + var(--world-timeline-lift, 0px)); } #intel-hud[data-variant='minimal'] .hud-bottom-left { bottom: calc(2vh + 5.4rem + var(--world-timeline-lift, 0px)); } :root[data-scope-mask='off'] #intel-hud[data-variant='minimal'] .hud-bottom-left { bottom: calc(2vh + 6.5rem + var(--world-timeline-lift, 0px)); } #intel-hud[data-variant='minimal'] .hud-bottom-bar { bottom: calc(2vh + 9rem + var(--world-timeline-lift, 0px)); } /* The coordinate readout shares the bottom-left corner with the attribution row below 1200px: it sits clear of the row's 28px logo line, with a 6px gap (from 1200px, rail-split.css). */ #intel-hud:is([data-variant='tactical'], [data-variant='minimal']) .hud-bottom-left, :root[data-scope-mask='off'] #intel-hud[data-variant='minimal'] .hud-bottom-left { bottom: calc(2vh + 7.125rem + var(--world-timeline-lift, 0px)); } @media (max-width: 1199px) { body:not(.ui-clean-view):not(.recording-mode) #cesium-credits, body:not(.ui-clean-view):not(.recording-mode):has( #intel-hud[data-variant='minimal'].active ) #cesium-credits, body:not(.ui-clean-view):not(.recording-mode) #gev-credits, body:not(.ui-clean-view):not(.recording-mode):has( #intel-hud[data-variant='minimal'].active ) #gev-credits { bottom: calc(2vh + 5rem + var(--world-timeline-lift, 0px)); width: auto !important; max-width: calc(100vw - 3rem); white-space: nowrap; } } @media (min-width: 1200px) { /* Cesium draws the line in an absolutely placed box inside the empty #cesium-credits anchor, so the cap and the wrapping go on that box. */ #cesium-credits .cesium-widget-credits { width: max-content; max-width: calc(100vw - 1.5rem - 26rem); white-space: normal; } /* Right to left, the corner row sits at the bottom left (locale-picker.css), so the attribution row takes the bottom right. Expanded Context places it itself (context-dock.css). */ /* The Minimal HUD's placement above names #intel-hud too: matched here, so right to left wins over it. */ html[dir='rtl'] body:not(.context-docked):not(.ui-clean-view):not(.recording-mode) :is(#cesium-credits, #gev-credits), html[dir='rtl'] body:not(.context-docked):not(.ui-clean-view):not(.recording-mode):has( #intel-hud[data-variant='minimal'].active ) :is(#cesium-credits, #gev-credits) { right: 1.5rem; left: auto; text-align: right; } html[dir='rtl'] body:not(.context-docked):not(.ui-clean-view):not(.recording-mode) #cesium-credits .cesium-widget-credits { right: 0; left: auto; } } @media (max-width: 900px) { body:not(.ui-clean-view):not(.recording-mode) #cesium-credits, body:not(.ui-clean-view):not(.recording-mode):has( #intel-hud[data-variant='minimal'].active ) #cesium-credits { bottom: calc(2vh + 5rem + var(--world-timeline-lift, 0px)); left: 0.75rem; max-width: calc(100vw - 1.5rem); } body:not(.ui-clean-view):not(.recording-mode) #gev-credits, body:not(.ui-clean-view):not(.recording-mode):has( #intel-hud[data-variant='minimal'].active ) #gev-credits { bottom: calc(2vh + 5rem + var(--world-timeline-lift, 0px)); left: 0.75rem; max-width: calc(100vw - 1.5rem); } #command-dock .gev-voice-error-tray { width: min(24rem, calc(100vw - 1.5rem)); } /* The wings shrink to --dock-side-compact at this width, open or closed (an open tray pops out above the dock), which is too narrow for the text labels; they would spill over the voice control and take its taps. The wings show only their icon; the toggles keep their aria-label. */ :root #command-dock :is(#location-bar, #control-panel) .panel-title, :root #command-dock :is(#location-bar, #control-panel) .location-toolbar-label { font-size: 0; letter-spacing: 0; /* The empty text is still a flex item; drop the gap it would claim. */ gap: 0; } :root #command-dock :is(#location-bar, #control-panel) .panel-title::after, :root #command-dock :is(#location-bar, #control-panel) .location-toolbar-label::after { content: none; } } @media (max-width: 620px) { #command-dock { --dock-side-compact: 3.25rem; --dock-voice-width: 8.75rem; } #left-panel-stack { bottom: calc(50vh + 8px); } }