/* ============================================================
   layout.css — Баннер прототипа, шапка, степпер, основной грид
   ============================================================ */

/* ---- Баннер прототипа ---- */
.proto-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 36px;
  background: rgba(247,207,70,.22);
  border-bottom: 1px solid rgba(247,207,70,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--fuel-text);
  flex-shrink: 0;
  letter-spacing: .01em;
}

/* ---- Основной layout ---- */
.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1;
  padding: var(--space-6) var(--space-5);
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

/* ---- Степпер ---- */
.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-1);
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--fuel-text-muted);
  cursor: default;
  user-select: none;
  padding: 4px 0;
}

.stepper-step.clickable {
  cursor: pointer;
}
.stepper-step.clickable:hover .stepper-label {
  color: var(--fuel-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stepper-step.active .stepper-label {
  color: var(--fuel-text);
  font-weight: 600;
}

.stepper-step.done .stepper-label {
  color: var(--fuel-text-muted);
}

.stepper-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fuel-gray-1);
  color: var(--fuel-text-muted);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 150ms, color 150ms;
}

.stepper-step.active .stepper-num {
  background: var(--fuel-primary);
  color: #fff;
}

.stepper-step.done .stepper-num {
  background: var(--fuel-success);
  color: #fff;
}

.stepper-sep {
  width: 24px;
  height: 1px;
  background: var(--fuel-border);
  margin: 0 var(--space-1);
  flex-shrink: 0;
}

/* ---- Адаптив ---- */
@media (max-width: 768px) {
  .page-content {
    padding: var(--space-4) var(--space-3);
  }
  .stepper { gap: var(--space-1); }
  .stepper-sep { width: 12px; }
  .stepper-label { display: none; }
}
