/* ==========================================================================
   Console Interativo Real — Moldura, Chrome, Abas e Painéis
   ========================================================================== */

.au-hero__stage {
  min-width: 0;
}

.au-console {
  background: var(--au-console);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 rgba(216, 168, 78, 0.22),
    0 28px 64px -24px rgba(0, 0, 0, 0.78);
  overflow: hidden;
}

.au-console__chrome {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--au-line);
  background: #0d1016;
}

.au-console__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--au-line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--au-muted);
}

.au-led {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: var(--r-sm);
  background: var(--au-green);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
  flex: none;
}

.au-console__id {
  color: var(--au-ink);
  font-weight: 500;
}

.au-console__env {
  margin-left: auto;
  color: var(--au-gold);
}

/* Abas clicáveis */
.au-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.au-tab {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--au-line);
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--au-muted);
  padding: 11px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.au-tab:last-child {
  border-right: 0;
}

.au-tab__num {
  color: rgba(216, 168, 78, 0.65);
  margin-right: 4px;
}

.au-tab:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--au-ink);
}

.au-tab.is-active {
  background: var(--au-console);
  color: var(--au-ink);
  border-bottom-color: var(--au-gold);
}

.au-tab.is-active .au-tab__num {
  color: var(--au-gold-light);
}

/* Painéis */
.au-panel {
  padding: 18px;
  min-height: 336px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.au-panel[hidden] {
  display: none;
}

@media (max-width: 639px) {
  .au-tab {
    font-size: 10.5px;
    padding: 10px 6px;
  }

  .au-tab__num {
    display: none;
  }
}
