:root {
  --density-profile: "1080p";
  --density-safe-pad: 14px;
  --density-grid-gap: 14px;
  --density-left-rail: 196px;
  --density-right-rail: 360px;
  --density-stage-min: 570px;
  --density-core-size: min(52vw, 520px);
  --density-holo-width: min(62vw, 600px);
  --density-holo-height: min(48vw, 450px);
  --density-panel-pad: 12px;
  --density-card-pad: 11px;
  --density-ribbon-min: 48px;
  --density-ribbon-columns: repeat(8, minmax(0, 1fr)) 144px;
}

body {
  font-size: 13px;
}

.system-ribbon {
  padding: 7px 10px;
  gap: 8px;
}

.ribbon-stat {
  font-size: 11px;
}

.ribbon-stat strong {
  font-size: 12px;
}

.action-rail {
  top: 72px;
  height: calc(100vh - 88px);
  gap: 9px;
  padding: 12px;
  overflow: hidden;
}

.brand {
  gap: 2px;
  padding-bottom: 8px;
}

.brand strong {
  font-size: 19px;
}

.voice-console {
  gap: 8px;
  padding: 10px;
}

.voice-console-header {
  gap: 8px;
}

.mode-list,
.rail-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mode-button,
.rail-button {
  min-height: 34px;
  padding: 6px 8px;
  font-size: 10px;
  line-height: 1.12;
  text-align: center;
  overflow-wrap: anywhere;
}

.ptt-button {
  width: 98px;
  min-height: 0;
  padding: 10px;
  gap: 4px;
}

.ptt-core {
  width: 31px;
  height: 31px;
}

.ptt-copy strong {
  font-size: 16px;
}

.ptt-copy span {
  font-size: 8px;
  line-height: 1;
}

.voice-readout {
  min-height: 58px;
}

.voice-readout strong {
  font-size: 12px;
  line-height: 1.1;
}

.operations-pane {
  grid-template-rows: auto minmax(570px, 1fr) auto;
}

.operations-band {
  gap: 10px;
}

.title-block .mode {
  font-size: 32px;
}

.title-block h1,
.title-block h2,
.holo-panel h2 {
  font-size: 17px;
}

.processing-matrix {
  top: 100px;
  gap: 5px;
}

.process-cell {
  height: 19px;
  font-size: 9px;
  line-height: 18px;
}

.process-console {
  bottom: 84px;
  width: min(270px, calc(100% - 32px));
  padding: 10px;
}

.process-stream {
  max-height: 112px;
}

.interaction-status {
  bottom: 92px;
  min-width: 220px;
  max-width: min(310px, calc(100% - 36px));
}

.gesture-video,
.gesture-canvas {
  width: 130px;
  height: 86px;
}

.reactor-center {
  width: 96px;
  height: 96px;
}

.reactor-center strong {
  font-size: 29px;
}

.reactor-center span {
  bottom: 20px;
}

.orbit-dot {
  width: 36px;
  height: 36px;
}

.telemetry-node {
  min-width: 166px;
}

.metric-node {
  min-height: 88px;
  padding: 10px;
  gap: 6px;
}

.metric-node strong {
  font-size: 18px;
}

.metric-node .metric-note {
  font-size: 10px;
  line-height: 1.25;
}

.signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-signal-card {
  min-height: 126px;
  padding: 10px;
}

.signal-summary {
  font-size: 10px;
  line-height: 1.32;
}

.source-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.source-row {
  display: grid;
  align-content: space-between;
  gap: 7px;
}

.trace-item {
  grid-template-columns: 112px minmax(0, 1fr);
}
