/* Dashboard terminal — responsive overrides & legacy compat */

/* ── Stack layout ─────────────────────────────────────────────── */
.dash-term-page {
  position: relative;
  z-index: 1;
}

.dash-term-stack {
  display: flex;
  flex-direction: column;
  gap: var(--g-5);
  width: 100%;
}

/* ── Welcome compat ───────────────────────────────────────────── */
.dash-welcome { padding-top: 0; }

.dash-welcome .nx-welcome-inner {
  max-width: none;
  width: 100%;
}

/* ── Legacy dash-* aliases (classes in dashboard.css use inst-*) ── */
.dash-panel--fit { flex: 0 0 auto; }

/* ── Responsive fixes ─────────────────────────────────────────── */
@media (max-width: 720px) {
  .dash-term-page { overflow: visible; }
  .dash-term-stack { gap: var(--g-4); }
}

@media (max-height: 640px) {
  .dash-term-page { min-height: auto; }
}
