/* MIGoRIX UI SYSTEM v1 - Visual refinement for fullscreen navigation hub */

.migorix-hub {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background-color: transparent;
  pointer-events: none;
  color: #e6edf3;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.migorix-hub.is-active {
  display: block;
  pointer-events: auto;
}

.migorix-hub-close {
  display: none;
}

.migorix-hub-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(8, 15, 26, 0.48);
  z-index: 1051;
}

.migorix-hub-surface {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
  justify-content: flex-start;
  z-index: 1052;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0;
  border: none;
  background-color: rgba(8, 15, 26, 0.92);
}

.migorix-tab-rail {
  width: 56px;
  flex: 0 0 56px;
  min-height: 0;
  height: auto;
  border-radius: 0 18px 18px 0;
  background: rgba(8, 15, 26, 0.92);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: none;
}

.migorix-tab-button {
  font-size: 18px;
  line-height: 1;
  opacity: 0.8;
  text-align: center;
  user-select: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.migorix-tab-button svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.migorix-tab-button.active {
  opacity: 1;
  background-color: rgba(77, 163, 255, 0.08);
  border-radius: 0;
}

.migorix-hub-content {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-height: 0;
  border-radius: 0;
  background: rgba(8, 15, 26, 0.92);
  border: none;
  padding: 0;
  overflow-y: auto;
  box-shadow: none;
  display: block;
  color: #8b9aad;
  font-size: 14px;
  line-height: 1.5;
}

.migorix-hub-content > .system-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4da3ff;
  margin-bottom: 6px;
  opacity: 0.7;
}

.migorix-hub-content > .ai-title {
  font-size: 16px;
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 6px;
  opacity: 0.85;
}

.migorix-hub-content > .context-text {
  font-size: 14px;
  color: #8b9aad;
  margin-bottom: 6px;
  opacity: 0.7;
}

.migorix-hub-content > .divider {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 6px;
}

.migorix-hub-content > .ambient-line {
  font-size: 12px;
  color: #8b9aad;
  margin-bottom: 4px;
  opacity: 0.6;
}

@media (max-width: 430px) {
  .migorix-hub-content {
    min-width: 0;
    overflow-x: hidden;
  }
}

