/* ==========================================================================
   STAAD Helper — CAD Workstation Chrome
   Title bar · Menus · Ribbon tabs/panels · Floating quick-view panels ·
   ViewCube · Command line · Status bar · Dockable inspector tray
   ========================================================================== */

/* --------------------------------------------------------------------------
   App chrome root (title bar + ribbon), stacked above the workspace
   -------------------------------------------------------------------------- */
#app-chrome {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-medium);
  user-select: none;
  z-index: 200;
}

/* --------------------------------------------------------------------------
   Title bar — 32px: logo · menus · model pill · badges
   -------------------------------------------------------------------------- */
#title-bar {
  height: 32px;
  display: flex;
  align-items: center;
  background: #0a0a0d;
  border-bottom: 1px solid var(--border-subtle);
  padding-right: 10px;
  flex-shrink: 0;
}

#title-app-logo {
  width: 44px;
  height: 32px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  color: #fff;
}
#title-app-logo svg { width: 18px; height: 18px; }

#title-bar { position: relative; }
#title-app-name {
  position: absolute;
  left: 50%;
  top: 0;
  height: 32px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
}
.title-spacer { flex: 1; }

.title-menu { position: relative; height: 32px; }

.title-menu-item {
  height: 32px;
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: color 0.1s, background 0.1s;
}
.title-menu-item:hover, .title-menu.open .title-menu-item {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.menu-dropdown {
  display: none;
  position: absolute;
  top: 32px;
  left: 0;
  min-width: 230px;
  background: #121217;
  border: 1px solid var(--border-medium);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  padding: 4px;
  z-index: 500;
  flex-direction: column;
}
.title-menu.open .menu-dropdown { display: flex; }

.menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  font-size: 11.5px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  border-radius: 2px;
  white-space: nowrap;
}
.menu-item svg { width: 13px; height: 13px; flex-shrink: 0; }
.menu-item:hover { background: var(--color-accent); color: #fff; }
.menu-item .menu-key {
  margin-left: auto;
  padding-left: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
}
.menu-item:hover .menu-key { color: rgba(255, 255, 255, 0.8); }
.menu-sep { height: 1px; background: var(--border-subtle); margin: 4px 2px; }

/* Model status pill lives in the status bar */
#sb-model-pill { padding: 0 8px; }
#sb-model-pill .model-status-indicator { height: 18px; padding: 0 8px; font-size: 10px; gap: 5px; max-width: 420px; }
#sb-model-pill .model-name-text { max-width: 220px; }
#sb-model-pill .solver-chip { font-size: 9.5px; padding: 0 5px; }
#sb-model-pill .btn-unload { width: 14px; height: 14px; font-size: 10px; line-height: 14px; }

.title-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
  padding: 2px 7px;
  margin-left: 8px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Ribbon tab strip — 28px
   -------------------------------------------------------------------------- */
#ribbon-tabs {
  height: 28px;
  display: flex;
  align-items: flex-end;
  background: #0c0c10;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 8px 0 0;
  flex-shrink: 0;
}

.ribbon-tab {
  height: 28px;
  padding: 0 16px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px solid transparent;
  border-bottom: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s, background 0.12s;
}
.ribbon-tab:hover { color: var(--text-secondary); }
.ribbon-tab.active {
  color: var(--text-primary);
  background: #0e0e12;
  border-color: var(--border-medium);
  margin-bottom: -1px;
  padding-bottom: 1px;
}

#ribbon-collapse {
  margin-left: auto;
  align-self: center;
  width: 22px;
  height: 20px;
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ribbon-collapse svg { width: 12px; height: 12px; transition: transform 0.15s; }
#ribbon-collapse:hover { color: var(--text-primary); border-color: var(--border-subtle); }
#app-chrome.ribbon-collapsed #ribbon-collapse svg { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   Ribbon panel — 92px of grouped tools
   -------------------------------------------------------------------------- */
#ribbon-panel {
  height: 92px;
  background: #0e0e12;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  flex-shrink: 0;
  scrollbar-width: none;
}
#ribbon-panel::-webkit-scrollbar { display: none; }
#app-chrome.ribbon-collapsed #ribbon-panel { display: none; }

.ribbon-tab-pane { display: none; align-items: stretch; height: 100%; padding: 0 6px; }
.ribbon-tab-pane.active { display: flex; }

.rb-group {
  display: flex;
  flex-direction: column;
  padding: 5px 6px 0;
  border-right: 1px solid var(--border-subtle);
  min-width: 0;
}
.rb-group:last-child { border-right: none; }

.rb-group-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-top: auto;
  padding: 3px 4px 4px;
  white-space: nowrap;
}

.rb-tools { display: flex; align-items: center; gap: 2px; flex: 1; }
.rb-col { display: flex; flex-direction: column; gap: 1px; justify-content: center; }

/* Large button: icon over label */
.rb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 54px;
  height: 64px;
  padding: 4px 4px;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 2px;
  transition: background 0.1s, color 0.1s, border-color 0.1s;
  flex-shrink: 0;
}
.rb-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.rb-btn .rb-label {
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  max-width: 62px;
}
.rb-btn:hover { color: var(--text-primary); background: var(--bg-surface-hover); border-color: var(--border-subtle); }
.rb-btn.active { color: #60a5fa; background: var(--color-accent-subtle); border-color: var(--color-accent-border); }
.rb-btn.rb-primary { color: #93c5fd; }
.rb-btn.rb-primary:hover { color: #fff; background: var(--color-accent); border-color: var(--color-accent); }
.rb-btn.rb-danger:hover { color: var(--color-fail); background: var(--color-fail-subtle); border-color: var(--color-fail-border); }
.rb-btn.disabled, .rb-btn-sm.disabled { opacity: 0.35; pointer-events: none; }

/* Small button: inline icon + label */
.rb-btn-sm {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 7px;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 2px;
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.1s, color 0.1s, border-color 0.1s;
}
.rb-btn-sm svg { width: 13px; height: 13px; flex-shrink: 0; }
.rb-btn-sm .rb-swatch { width: 8px; height: 8px; border-radius: 1px; flex-shrink: 0; }
.rb-btn-sm:hover { color: var(--text-primary); background: var(--bg-surface-hover); border-color: var(--border-subtle); }
.rb-btn-sm.active { color: #60a5fa; background: var(--color-accent-subtle); border-color: var(--color-accent-border); }

/* Inline KPI tiles on the Analysis tab */
.rb-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 64px;
  gap: 2px;
  padding: 0 6px;
}
.rb-kpi .rb-kpi-val { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--text-primary); }
.rb-kpi .rb-kpi-lbl { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); }
.rb-kpi.pass .rb-kpi-val { color: var(--color-pass); }
.rb-kpi.warn .rb-kpi-val { color: var(--color-warn); }
.rb-kpi.fail .rb-kpi-val { color: var(--color-fail); }
.rb-kpi.dcr .rb-kpi-val { color: #60a5fa; }

/* --------------------------------------------------------------------------
   Floating quick-view panels inside the viewport (draggable by header)
   -------------------------------------------------------------------------- */
.float-panel {
  position: absolute;
  z-index: 40;
  background: rgba(14, 14, 19, 0.94);
  border: 1px solid var(--border-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  min-width: 120px;
}
.float-panel.hidden { display: none; }
.float-panel.dragging { box-shadow: 0 0 0 1px var(--color-accent), 0 14px 36px rgba(0, 0, 0, 0.7); opacity: 0.96; }

.fp-head {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 0 6px;
  background: #16161c;
  border-bottom: 1px solid var(--border-subtle);
  cursor: grab;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  user-select: none;
}
.fp-head:active, .float-panel.dragging .fp-head { cursor: grabbing; }
.fp-grip { width: 10px; height: 10px; color: var(--text-dim); flex-shrink: 0; }
.fp-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-close {
  width: 16px;
  height: 16px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  border-radius: 2px;
}
.fp-close:hover { color: var(--text-primary); background: var(--bg-surface-hover); }
.fp-body { padding: 6px; }

/* Default placements — overridden inline once a panel is dragged */
/* Defaults are laid out so the panels can never collide: telemetry top-left
   (leaves room for the ViewCube), display bottom-left, legend bottom-right,
   both clear of the one-line command bar. Wide rows wrap instead of overflowing. */
#fp-telemetry { top: 14px; left: 14px; max-width: calc(100% - 28px - 130px); }
#fp-display { bottom: 44px; left: 14px; max-width: calc(100% - 28px - 220px); }
#fp-legend { bottom: 44px; right: 14px; }
#fp-display .floating-toolbar { flex-wrap: wrap; }

/* Re-skin the legacy HUD/toolbar/legend so they sit inside panels */
.float-panel .viewport-hud,
.float-panel .floating-toolbar,
.float-panel .stress-legend {
  position: static;
  transform: none;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}
#fp-telemetry .viewport-hud { flex-wrap: wrap; }
#fp-legend .stress-legend { width: 200px; }

/* --------------------------------------------------------------------------
   ViewCube — top right
   -------------------------------------------------------------------------- */
#viewcube-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
#viewcube-wrap.hidden { display: none; }
#viewcube {
  width: 112px;
  height: 112px;
  opacity: 0.78;
  transition: opacity 0.15s;
}
#viewcube:hover, #viewcube.hover { opacity: 1; }
#viewcube canvas { display: block; }

.viewcube-tools { display: flex; gap: 2px; }
.viewcube-tools button {
  width: 24px;
  height: 22px;
  background: rgba(14, 14, 19, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.viewcube-tools button svg { width: 12px; height: 12px; }
.viewcube-tools button:hover { color: var(--text-primary); border-color: var(--border-medium); background: var(--bg-surface-hover); }

/* --------------------------------------------------------------------------
   Command line — docked at the bottom of the viewport
   -------------------------------------------------------------------------- */
#cmd-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  z-index: 46;
  background: rgba(10, 10, 14, 0.96);
  border-top: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#cmd-bar.hidden { display: none; }
#cmd-output {
  flex: 0 1 34%;
  min-width: 0;
  padding: 0 10px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-right: 1px solid var(--border-subtle);
}
#cmd-output div { overflow: hidden; text-overflow: ellipsis; }
.cmd-row { flex: 1; min-width: 0; display: flex; align-items: center; height: 100%; padding: 0 6px 0 10px; gap: 8px; }
.cmd-prompt { color: #60a5fa; font-weight: 700; white-space: nowrap; }
#cmd-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: inherit;
  text-transform: uppercase;
}
#cmd-input::placeholder { color: var(--text-dim); text-transform: none; }
#cmd-bar .fp-close { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Status bar — 24px fixed bottom
   -------------------------------------------------------------------------- */
#status-bar {
  height: 24px;
  flex-shrink: 0;
  background: #07070b;
  border-top: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 0;
  z-index: 200;
  user-select: none;
  overflow: hidden;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-right: 1px solid var(--border-subtle);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}
.sb-item:first-child { padding-left: 0; }
.sb-item svg { width: 11px; height: 11px; flex-shrink: 0; }
.sb-item .sb-val { font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary); }
.sb-item .sb-val.live { color: #60a5fa; }
.sb-item .sb-val.pass { color: var(--color-pass); }
.sb-item .sb-val.fail { color: var(--color-fail); }
.sb-coords { gap: 10px; }
.sb-coords .sb-axis { font-weight: 700; }
.sb-coords .sb-axis.x { color: #ef4444; }
.sb-coords .sb-axis.y { color: #10b981; }
.sb-coords .sb-axis.z { color: #3b82f6; }
.sb-coords .sb-val { min-width: 58px; text-align: right; display: inline-block; }
.sb-spacer { flex: 1; border: none; }

.sb-toggle {
  height: 18px;
  padding: 0 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: none;
  border: 1px solid transparent;
  color: var(--text-dim);
  cursor: pointer;
  border-radius: 2px;
}
.sb-toggle:hover { color: var(--text-primary); border-color: var(--border-subtle); }
.sb-toggle.active { color: #60a5fa; background: var(--color-accent-subtle); border-color: var(--color-accent-border); }

/* --------------------------------------------------------------------------
   Dockable inspector tray
   -------------------------------------------------------------------------- */
.inspector-sidebar { transition: width 0.15s ease, min-width 0.15s ease; }
.inspector-sidebar.collapsed { width: 0; min-width: 0; border-left: none; overflow: hidden; }

.sidebar-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sidebar-header .sidebar-title { flex: 1; min-width: 0; }
#btn-inspector-collapse {
  width: 20px;
  height: 20px;
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
#btn-inspector-collapse svg { width: 12px; height: 12px; }
#btn-inspector-collapse:hover { color: var(--text-primary); border-color: var(--border-subtle); background: var(--bg-surface-hover); }

/* Keep toasts clear of the status bar and command line */
.toast-container { bottom: 40px; right: 16px; }

/* Wrapping so panel content never spills past its own box */
#fp-telemetry .viewport-hud, #fp-telemetry .hud-metrics, #fp-telemetry .filter-tabs { flex-wrap: wrap; }
#fp-telemetry .metric-cell, #fp-telemetry .tab-btn { white-space: nowrap; }

/* Narrow desktop / tablet-landscape: drop secondary chrome so nothing collides */
@media (max-width: 1100px) {
  .title-badge, #sb-model-pill .solver-chip { display: none; }
  #sb-model-pill .model-name-text { max-width: 140px; }
  #fp-legend { display: none; }
  #fp-telemetry .metric-label, #fp-telemetry .tab-count-badge { display: none; }
}

/* --------------------------------------------------------------------------
   Left quick-tool toolbar (icon-only, replaces the old floating panels)
   -------------------------------------------------------------------------- */
@media (min-width: 761px) { #fp-telemetry, #fp-display, #fp-legend { display: none !important; } }

#left-toolbar {
  width: 40px;
  flex-shrink: 0;
  background: #0e0e12;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  overflow-y: auto;
  scrollbar-width: none;
  z-index: 35;
}
#left-toolbar::-webkit-scrollbar { display: none; }
#left-toolbar.hidden { display: none; }
.lt-btn {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--text-secondary);
  cursor: pointer;
}
.lt-btn svg { width: 18px; height: 18px; }
.lt-btn:hover { color: var(--text-primary); background: var(--bg-surface-hover); border-color: var(--border-subtle); }
.lt-btn.active { color: #60a5fa; background: var(--color-accent-subtle); border-color: var(--color-accent-border); }
.lt-btn.disabled { opacity: 0.35; pointer-events: none; }
.lt-sep { width: 20px; height: 1px; background: var(--border-subtle); margin: 4px 0; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Circular quick-tool menu: hub in the middle, a category button on each side
   (N View · E Style · S Show · W Filter). A category opens a sub tool bar.
   -------------------------------------------------------------------------- */
#quick-radial {
  --qr-r: 58px;      /* hub centre -> category centre (set by JS, grows near edges) */
  position: absolute;
  left: 200px;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 48;
}
#quick-radial.hidden { display: none; }
.qr-ring {
  position: absolute;
  left: 0; top: 0;
  width: calc(var(--qr-r) * 2);
  height: calc(var(--qr-r) * 2);
  border-radius: 50%;
  border: 1px dashed rgba(96, 165, 250, 0.3);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
#quick-radial.open .qr-ring { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.qr-hub {
  position: absolute;
  left: 0; top: 0;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #14141b;
  border: 1px solid var(--color-accent-border);
  color: #60a5fa;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  touch-action: none;
  z-index: 2;
}
.qr-hub svg { width: 22px; height: 22px; }
.qr-hub:hover { background: #1b1b26; }
#quick-radial.dragging .qr-hub { cursor: grabbing; box-shadow: 0 0 0 2px var(--color-accent), 0 10px 26px rgba(0, 0, 0, 0.7); }

.qr-cat {
  position: absolute;
  left: 0; top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 20, 27, 0.97);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.2);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.1s, color 0.1s, border-color 0.1s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}
.qr-cat svg { width: 19px; height: 19px; }
#quick-radial.open .qr-cat { opacity: 1; pointer-events: auto; }
#quick-radial.open .qr-cat { transform: translate(-50%, -50%) translate(var(--cx, 0px), var(--cy, 0px)); }
.qr-cat:hover { color: #fff; border-color: var(--color-accent); }
.qr-cat.active { color: #fff; background: var(--color-accent); border-color: var(--color-accent); }
#quick-radial.dragging .qr-cat { transition: none; }

/* Sub tool bars — one open at a time, placed outward from their category */
.qr-sub {
  position: absolute;
  left: 0; top: 0;
  display: none;
  gap: 2px;
  padding: 3px;
  background: rgba(14, 14, 19, 0.97);
  border: 1px solid var(--border-medium);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 3;
}
.qr-sub.show { display: flex; animation: qr-fade 0.15s ease; }
@keyframes qr-fade { from { opacity: 0; } to { opacity: 1; } }
.qr-tool {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--text-secondary);
  cursor: pointer;
}
.qr-tool svg { width: 18px; height: 18px; }
.qr-tool:hover { color: var(--text-primary); background: var(--bg-surface-hover); border-color: var(--border-subtle); }
.qr-tool.active { color: #60a5fa; background: var(--color-accent-subtle); border-color: var(--color-accent-border); }
.qr-tool.disabled { opacity: 0.35; pointer-events: none; }

/* Status bar extras */
.sb-kpis { gap: 12px; }
.sb-kpis b { font-weight: 700; }
.sb-item .sb-val.warn { color: var(--color-warn); }
.sb-grad { width: 80px; height: 6px; margin: 0; }
@media (max-width: 1800px) { .sb-opt { display: none; } }
@media (max-width: 1150px) { .sb-opt2, .sb-coords { gap: 6px; } .sb-opt2 { display: none; } }
@media (max-width: 1150px) { .sb-kpis span:first-child { display: none; } }
