.setup-hero {
  grid-template-columns: 1fr auto;
}

.setup-hero .portal-hero-note {
  min-width: 200px;
}

.progress-bar {
  position: relative;
  height: 2.2rem;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: var(--radius-sm);
}

.progress-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  z-index: 1;
  mix-blend-mode: difference;
  color: #fff;
}

.portal-step[data-step] {
  transition: opacity 0.2s;
}

.portal-step.step-locked {
  opacity: 0.5;
  pointer-events: none;
}

.portal-step.step-done .portal-step-head h2::after {
  content: ' \2713';
  color: var(--success);
}

.flash-log {
  margin: 0;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: #1e1e2e;
  color: #cdd6f4;
  font-family: "SF Mono", "Fira Code", "Menlo", monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  max-height: 12rem;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

@media (max-width: 860px) {
  .setup-hero {
    grid-template-columns: 1fr;
  }
}
