/* Focused wizard chrome for WizardShell. Prefixed .wizard-shell so Manager's login
   .focus / .focus-card layout is not overridden. Tokens (--surface/--line/--teal-* /
   --fg-* / --r-* / --t / --ease) come from the host app. */

.wizard-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  outline: none;
}

.wizard-shell .focus-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.wizard-shell .focus-top .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-muted);
  font-weight: 500;
  font-size: 14px;
  background: none;
  border: none;
}

.wizard-shell .focus-top .back:hover { color: var(--fg); }

.wizard-shell .focus-top .title {
  margin-left: auto;
  font-size: 13px;
  color: var(--fg-subtle);
  font-weight: 600;
  letter-spacing: .02em;
}

.wizard-shell .focus-top .brand {
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--fg-strong);
  font-size: 16px;
}

.wizard-shell .focus-top .brand span { color: var(--teal-500); }

.wizard-shell .focus-body {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 40px 22px;
  min-height: 0;
}

.wizard-shell .focus-inner {
  width: 100%;
  max-width: 480px;
  animation: wizard-swap var(--t) var(--ease);
}

.wizard-shell.wide .focus-body {
  padding: 18px 22px;
  justify-content: stretch;
}

.wizard-shell.wide .focus-inner {
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: none;
}

@keyframes wizard-swap {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.wizard-shell .focus-foot {
  border-top: 1px solid var(--line);
  padding: 16px 22px;
}

.wizard-shell .focus-foot .pinfo {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.wizard-shell .pbar {
  height: 7px;
  border-radius: var(--r-full);
  background: var(--slate-200);
  overflow: hidden;
}

.wizard-shell .pbar span {
  display: block;
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  transition: width var(--t-slow) var(--ease);
}

.wizard-shell .foot-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.wizard-shell .foot-actions .hint { font-size: 12px; color: var(--fg-subtle); }
.wizard-shell .foot-actions .grow { flex: 1; }

@media (max-width: 820px) {
  .wizard-shell .focus-body { padding: 26px 18px; }
  .wizard-shell.wide .focus-body { padding: 14px 16px; }
}
