.live-overview { display: flex; flex-direction: column; gap: 5px; max-width: 360px; font-size: 12px; color: var(--text-primary); }
.live-overview span, .live-overview small { color: var(--text-secondary); }
.cockpit-hud { max-width: min(540px, calc(100% - var(--sidebar-width) - 90px)); }
.hud-telemetry-data { min-width: 0; flex: 1; }
.hud-device-name { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hud-name-wrapper, .hud-badges-row { flex-wrap: wrap; min-width: 0; }
.speed-gauge-widget { flex-shrink: 0; }
.hud-address-row { width: 100%; }
:root { --neon-cyan: var(--neon-blue); --bg-card: var(--bg-glass-card); }
.topbar-stats > .stat-pill { display: none; }
.is-stale { color: #f8b84e !important; }
[data-theme="light"] .is-stale { color: #8a5000 !important; }
[data-theme="light"] { --text-muted: #526275; --text-dim: #526275; --neon-cyan: #006b87; --neon-emerald: #087443; }
[data-theme="light"] .grid-item, [data-theme="light"] .panel-tabs { background: #edf2f7; }
[data-theme="light"] .brand-title-white { color: #172b3a; }
[data-theme="light"] .tab-btn.active, [data-theme="light"] .filter-chip.active { background: #d5edf8; color: #124660; border-color: #2287ad; box-shadow: none; }
[data-theme="light"] .telemetry-card, [data-theme="light"] .playback-box { box-shadow: 0 3px 12px #20344612; }
[data-theme="light"] .acc-on { color: #087443; }
[data-theme="light"] .acc-off { color: #526275; }
[data-theme="light"] .timeline-graph { color: #006b87; }
[data-theme="light"] .mobile-nav-item.active { color: #006b87; }
.timeline-graph { height: 115px; border-bottom: 1px solid var(--border-glass); color: var(--neon-cyan); background: var(--bg-card); }
#speed-timeline { width: 100%; height: 100%; cursor: crosshair; }
.timeline-scale { font-size: 11px; color: var(--text-secondary); line-height: 1.5; }
.timeline-events { display: grid; gap: 6px; max-height: 250px; overflow-y: auto; margin: 14px 0; }
.timeline-event { min-height: 44px; text-align: left; padding: 10px; border: 1px solid var(--border-glass); border-radius: 8px; background: var(--bg-card); color: var(--text-primary); cursor: pointer; font: inherit; font-size: 12px; }
.timeline-event:hover, .timeline-event:focus-visible { border-color: var(--neon-cyan); }
.event-alert { border-left: 3px solid #e6a52d; }
.event-stop { border-left: 3px solid #419eec; }
.relay-action-label { display: block; margin: 12px 0 6px; }
#relay-action, #btn-background-push, #btn-return-live { min-height: 44px; }
#push-status { font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.auth-card { max-height: calc(100dvh - 32px); overflow: auto; }
.auth-body, .auth-subtitle { color: var(--text-secondary); }
.auth-card input, .auth-card button { min-height: 44px; }
.google-btn-container { min-height: 48px; }
@media (max-width: 991px) {
  .cockpit-hud { max-width: none; }
  .hud-panel { align-items: flex-start; }
  .hud-badges-row { gap: 4px; }
  #hud-power-badge, #hud-relay-badge { font-size: 9px; }
  .topbar { flex-wrap: wrap; height: auto; }
  .topbar { padding: 6px 12px; gap: 4px; flex-shrink: 0; }
  .brand-logo-ahres { width: 30px; height: 30px; }
  .topbar-actions { display: flex; align-items: center; gap: 6px; order: 2; width: 100%; }
  .topbar-actions button { min-width: 44px; min-height: 44px; }
  .topbar-actions .user-info-text, .topbar-actions .user-avatar-pic { display: none; }
  .topbar-actions .user-profile-badge { padding: 0; border: 0; }
  .hud-details-row, .hud-brand-tag, #hud-power-badge, #hud-relay-badge { display: none; }
  .hud-panel { padding: 10px; gap: 10px; }
  .hud-device-name { font-size: 11px; }
  .hud-name-wrapper { gap: 4px; }
  .hud-address-row { padding: 5px 0; border: 0; background: transparent; }
  .app-container { height: 100dvh; }
  .workspace { min-height: 0; height: auto; }
  .topbar-stats { display: flex !important; order: 3; width: 100%; padding: 6px 0; }
  .live-overview { max-width: none; flex: 1; font-size: 11px; }
  .live-overview small { display: none; }
  .topbar-stats #badge-connection { font-size: 10px; }
  .auth-card { width: calc(100vw - 32px); padding: 20px; }
  #btn-return-live { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
