:root {
  --wz-ink: #183f3d;
  --wz-ink-soft: #526d69;
  --wz-teal: #0d9488;
  --wz-teal-dark: #0f766e;
  --wz-teal-pale: #ccfbf1;
  --wz-paper: #fffdfa;
  --wz-canvas: #f3f6f3;
  --wz-line: #d7e1dc;
  --wz-line-strong: #b9ccc5;
  --wz-orange: #f97316;
  --wz-orange-pale: #ffedd5;
  --wz-danger: #a13e36;
  --wz-shadow: 0 18px 45px rgba(22, 62, 59, 0.09);
  --wz-radius-lg: 22px;
  --wz-radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--wz-canvas);
}

body.wizard-page {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  color: var(--wz-ink);
  background:
    radial-gradient(circle at 91% 4%, rgba(215, 102, 56, 0.08), transparent 25rem),
    linear-gradient(180deg, #f8faf7 0, var(--wz-canvas) 28rem);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

.wizard-page button,
.wizard-page input,
.wizard-page select {
  font: inherit;
}

.wizard-page button,
.wizard-page a {
  -webkit-tap-highlight-color: transparent;
}

.wizard-page a {
  color: inherit;
}

.wizard-page :focus-visible {
  outline: 3px solid #155f5b;
  outline-offset: 3px;
}

.wizard-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wizard-skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--wz-ink);
  color: #fff;
  transform: translateY(-200%);
}

.wizard-skip-link:focus {
  transform: none;
}

/* ---------- 顶栏 ---------- */
.wizard-topbar {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 26px;
  border-bottom: 1px solid var(--wz-line);
  background: rgba(255, 253, 250, 0.86);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.wizard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wizard-brand img {
  border-radius: 10px;
}

.wizard-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.wizard-brand strong {
  font-size: 17px;
  color: var(--wz-ink);
}

.wizard-brand small {
  font-size: 12px;
  color: var(--wz-ink-soft);
}

.wizard-primary-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.wizard-primary-nav a {
  padding: 7px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  color: var(--wz-ink-soft);
}

.wizard-primary-nav a:hover {
  background: var(--wz-teal-pale);
  color: var(--wz-teal-dark);
}

.wizard-primary-nav a[aria-current="page"] {
  background: var(--wz-teal-pale);
  color: var(--wz-teal-dark);
  font-weight: 600;
}

.wizard-back-link {
  font-size: 13px;
  color: var(--wz-teal);
  text-decoration: none;
  white-space: nowrap;
}

.wizard-back-link:hover {
  text-decoration: underline;
}

/* ---------- 主体 ---------- */
.wizard-shell {
  width: min(1120px, 100% - 32px);
  margin: 26px auto 90px;
}

.wizard-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--wz-orange);
  margin-bottom: 6px;
}

.wizard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.wizard-heading h1 {
  margin: 0;
  font-size: 26px;
  color: var(--wz-ink);
}

.wizard-heading p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--wz-ink-soft);
}

.wizard-student-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--wz-line);
  border-radius: 999px;
  background: var(--wz-paper);
  box-shadow: var(--wz-shadow);
  flex-shrink: 0;
}

.wizard-chip-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--wz-teal);
  color: #fff;
  font-weight: 700;
}

.wizard-student-chip span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.wizard-student-chip strong {
  font-size: 14px;
  color: var(--wz-ink);
}

.wizard-student-chip small {
  font-size: 12px;
  color: var(--wz-ink-soft);
}

/* ---------- 步骤条 ---------- */
.wizard-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.wizard-steps button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 8px;
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius-md);
  background: var(--wz-paper);
  color: var(--wz-ink-soft);
  font-size: 14px;
  font-weight: 600;
  cursor: default;
}

.wizard-steps button[aria-selected="true"] {
  border-color: var(--wz-teal);
  background: var(--wz-teal);
  color: #fff;
}

.wizard-steps button:not([disabled]) {
  cursor: pointer;
}

.wizard-steps button:not([disabled]):hover {
  border-color: var(--wz-teal);
  color: var(--wz-teal-dark);
}

.wizard-steps button:not([disabled])[aria-selected="true"]:hover {
  color: #fff;
}

.wizard-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 12px;
}

.wizard-steps button[aria-selected="true"] .wizard-step-no {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

/* ---------- 面板 ---------- */
.wizard-panel {
  padding: 24px;
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius-lg);
  background: var(--wz-paper);
  box-shadow: var(--wz-shadow);
}

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

.wizard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.wizard-panel-head h2 {
  margin: 0;
  font-size: 19px;
  color: var(--wz-ink);
}

.wizard-panel-head p {
  margin: 5px 0 0;
  font-size: 13px;
  color: var(--wz-ink-soft);
  max-width: 640px;
}

.wizard-text-link {
  font-size: 13px;
  color: var(--wz-teal);
  text-decoration: none;
  white-space: nowrap;
}

.wizard-text-link:hover {
  text-decoration: underline;
}

/* ---------- 按钮 ---------- */
.wizard-primary-button,
.wizard-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.wizard-primary-button {
  background: var(--wz-teal);
  color: #fff;
}

.wizard-primary-button:hover {
  background: var(--wz-teal-dark);
}

.wizard-secondary-button {
  background: var(--wz-paper);
  color: var(--wz-ink);
  border-color: var(--wz-line-strong);
}

.wizard-secondary-button:hover {
  border-color: var(--wz-teal);
  color: var(--wz-teal-dark);
}

.wizard-primary-button:disabled,
.wizard-secondary-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---------- 搜索 ---------- */
.wizard-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius-md);
  background: #fff;
  color: var(--wz-ink-soft);
}

.wizard-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--wz-ink);
  background: transparent;
}

.wizard-search:focus-within {
  border-color: var(--wz-teal);
}

/* ---------- Step1 学员 ---------- */
.wizard-student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  max-height: 430px;
  overflow-y: auto;
  padding: 2px;
}

.wizard-student-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--wz-line);
  border-radius: var(--wz-radius-md);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.wizard-student-card:hover {
  border-color: var(--wz-teal);
  transform: translateY(-1px);
}

.wizard-student-card.selected {
  border-color: var(--wz-teal);
  background: var(--wz-teal-pale);
}

.wizard-student-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--wz-teal-pale);
  color: var(--wz-teal-dark);
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}

.wizard-student-card.selected .wizard-student-avatar {
  background: var(--wz-teal);
  color: #fff;
}

.wizard-student-card span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.wizard-student-card strong {
  font-size: 14px;
  color: var(--wz-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizard-student-card small {
  font-size: 12px;
  color: var(--wz-ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizard-skeleton {
  height: 72px;
  border-radius: var(--wz-radius-md);
  background: linear-gradient(90deg, #eef3ef 25%, #f7faf7 50%, #eef3ef 75%);
  background-size: 200% 100%;
  animation: wizard-shimmer 1.4s infinite;
}

@keyframes wizard-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.wizard-empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  color: var(--wz-ink-soft);
  font-size: 14px;
}

/* ---------- Step2 评估 ---------- */
.wizard-notice {
  padding: 12px 16px;
  margin-bottom: 14px;
  border: 1px solid #ecd9a8;
  border-radius: var(--wz-radius-md);
  background: #fff8e6;
  color: #7a5c1e;
  font-size: 13px;
}

.wizard-assess-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.wizard-card {
  padding: 16px;
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius-md);
  background: #fbfdfb;
}

.wizard-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--wz-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wizard-card h3 small {
  font-size: 12px;
  font-weight: 400;
  color: var(--wz-orange);
}

.wizard-card-hint {
  margin: 4px 0 12px;
  font-size: 12px;
  color: var(--wz-ink-soft);
}

.wizard-record-list {
  font-size: 13px;
  color: var(--wz-ink-soft);
  max-height: 300px;
  overflow-y: auto;
}

.wizard-record-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  margin-bottom: 6px;
  border: 1px solid var(--wz-line);
  border-radius: 10px;
  background: #fff;
}

.wizard-record-item strong {
  color: var(--wz-ink);
  font-weight: 600;
}

.wizard-record-item small {
  display: block;
  margin-top: 2px;
  color: var(--wz-ink-soft);
}

.wizard-record-item a {
  color: var(--wz-teal);
  font-size: 12px;
  white-space: nowrap;
  align-self: center;
}

.wizard-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}

.wizard-tool-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--wz-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
}

.wizard-tool-card:hover {
  border-color: var(--wz-teal);
}

.wizard-tool-card.picked {
  border-color: var(--wz-teal);
  background: var(--wz-teal-pale);
}

.wizard-tool-emoji {
  font-size: 18px;
}

.wizard-tool-card span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.wizard-tool-card strong {
  font-size: 13px;
  color: var(--wz-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizard-tool-card small {
  font-size: 11px;
  color: var(--wz-ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizard-tool-card .wizard-tool-check {
  margin-left: auto;
  color: var(--wz-teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Step3 目标 ---------- */
.wizard-goal-counter {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--wz-teal-pale);
  color: var(--wz-teal-dark);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.wizard-goal-counter.full {
  background: var(--wz-orange-pale);
  color: var(--wz-orange);
}

.wizard-goal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.wizard-goal-tabs button {
  padding: 7px 14px;
  border: 1px solid var(--wz-line);
  border-radius: 999px;
  background: #fff;
  color: var(--wz-ink-soft);
  font-size: 13px;
  cursor: pointer;
}

.wizard-goal-tabs button.active {
  border-color: var(--wz-teal);
  background: var(--wz-teal);
  color: #fff;
  font-weight: 600;
}

.wizard-goal-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding: 2px;
}

.wizard-goal-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1.5px solid var(--wz-line);
  border-radius: var(--wz-radius-md);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s;
}

.wizard-goal-card:hover {
  border-color: var(--wz-teal);
}

.wizard-goal-card.picked {
  border-color: var(--wz-teal);
  background: var(--wz-teal-pale);
}

.wizard-goal-card input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--wz-teal);
  flex-shrink: 0;
}

.wizard-goal-card span {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  min-width: 0;
}

.wizard-goal-card strong {
  font-size: 14px;
  color: var(--wz-ink);
  font-weight: 600;
}

.wizard-goal-card small {
  font-size: 12px;
  color: var(--wz-ink-soft);
  margin-top: 3px;
}

.wizard-custom-goal {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--wz-line-strong);
}

.wizard-custom-goal input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--wz-line);
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  color: var(--wz-ink);
}

.wizard-custom-goal input:focus {
  border-color: var(--wz-teal);
}

.wizard-custom-goal select {
  padding: 10px 12px;
  border: 1px solid var(--wz-line);
  border-radius: 12px;
  background: #fff;
  color: var(--wz-ink);
  outline: none;
  max-width: 150px;
}

.wizard-picked-goals {
  margin-top: 16px;
}

.wizard-picked-goals h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--wz-ink);
}

.wizard-picked-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--wz-line);
  border-radius: 12px;
  background: #fbfdfb;
}

.wizard-picked-item input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid var(--wz-line);
  border-radius: 8px;
  outline: none;
  font-size: 13px;
  color: var(--wz-ink);
  background: #fff;
}

.wizard-picked-item input[type="text"]:focus {
  border-color: var(--wz-teal);
}

.wizard-picked-item .wizard-picked-domain {
  font-size: 12px;
  color: var(--wz-ink-soft);
  white-space: nowrap;
}

.wizard-picked-item .wizard-picked-remove {
  border: none;
  background: none;
  color: var(--wz-danger);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.wizard-picked-item .wizard-picked-remove:hover {
  text-decoration: underline;
}

/* ---------- Step4 内容 ---------- */
.wizard-material-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.wizard-material-tabs button {
  padding: 7px 14px;
  border: 1px solid var(--wz-line);
  border-radius: 999px;
  background: #fff;
  color: var(--wz-ink-soft);
  font-size: 13px;
  cursor: pointer;
}

.wizard-material-tabs button.active {
  border-color: var(--wz-teal);
  background: var(--wz-teal);
  color: #fff;
  font-weight: 600;
}

.wizard-material-list {
  max-height: 360px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}

.wizard-material-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--wz-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s;
}

.wizard-material-item:hover {
  border-color: var(--wz-teal);
}

.wizard-material-item.picked {
  border-color: var(--wz-teal);
  background: var(--wz-teal-pale);
}

.wizard-material-item span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.wizard-material-item strong {
  font-size: 13px;
  color: var(--wz-ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizard-material-item small {
  font-size: 11px;
  color: var(--wz-ink-soft);
}

.wizard-material-item .wizard-tool-check {
  margin-left: auto;
  color: var(--wz-teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Step5 计划 ---------- */
.wizard-plan-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.wizard-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--wz-ink-soft);
}

.wizard-field > span {
  font-weight: 600;
}

.wizard-field em {
  color: var(--wz-orange);
  font-style: normal;
}

.wizard-field input,
.wizard-field select {
  padding: 10px 14px;
  border: 1px solid var(--wz-line);
  border-radius: 12px;
  background: #fff;
  color: var(--wz-ink);
  outline: none;
  font-size: 14px;
}

.wizard-field input:focus,
.wizard-field select:focus {
  border-color: var(--wz-teal);
}

.wizard-plan-form .wizard-field:first-child {
  flex: 2 1 320px;
}

.wizard-plan-form .wizard-field:first-child input {
  width: 100%;
}

.wizard-plan-preview {
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius-md);
  background: #fbfdfb;
  max-height: 420px;
  overflow-y: auto;
}

.wizard-preview-empty {
  padding: 30px;
  text-align: center;
  color: var(--wz-ink-soft);
  font-size: 14px;
}

.wizard-preview-block {
  padding: 14px 18px;
  border-bottom: 1px solid var(--wz-line);
}

.wizard-preview-block:last-child {
  border-bottom: none;
}

.wizard-preview-block h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--wz-teal-dark);
}

.wizard-preview-block p {
  margin: 3px 0;
  font-size: 13px;
  color: var(--wz-ink);
  line-height: 1.6;
}

.wizard-preview-block ul {
  margin: 4px 0 0;
  padding-left: 20px;
  font-size: 13px;
  color: var(--wz-ink);
  line-height: 1.7;
}

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

.wizard-save-btn {
  font-size: 16px;
  padding: 12px 28px;
}

.wizard-save-hint {
  font-size: 12px;
  color: var(--wz-ink-soft);
}

/* ---------- 成功页 ---------- */
.wizard-done {
  padding: 48px 20px;
  text-align: center;
}

.wizard-done-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wz-teal);
  color: #fff;
  font-size: 32px;
  margin-bottom: 16px;
}

.wizard-done h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--wz-ink);
}

.wizard-done p {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--wz-ink-soft);
}

.wizard-done-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- 底部导航 ---------- */
.wizard-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.wizard-footer .wizard-primary-button,
.wizard-footer .wizard-secondary-button {
  min-width: 120px;
  padding: 12px 24px;
}

/* ---------- 弹窗 ---------- */
.wizard-dialog {
  width: min(480px, 100% - 32px);
  border: none;
  border-radius: var(--wz-radius-lg);
  padding: 0;
  box-shadow: var(--wz-shadow);
}

.wizard-dialog::backdrop {
  background: rgba(20, 50, 48, 0.35);
}

.wizard-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 22px 12px;
  border-bottom: 1px solid var(--wz-line);
}

.wizard-dialog-head h2 {
  margin: 0;
  font-size: 17px;
  color: var(--wz-ink);
}

.wizard-dialog-close {
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--wz-ink-soft);
  cursor: pointer;
}

.wizard-dialog-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wizard-type-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wizard-type-buttons button {
  padding: 7px 12px;
  border: 1px solid var(--wz-line);
  border-radius: 999px;
  background: #fff;
  color: var(--wz-ink-soft);
  font-size: 13px;
  cursor: pointer;
}

.wizard-type-buttons button.active {
  border-color: var(--wz-teal);
  background: var(--wz-teal);
  color: #fff;
  font-weight: 600;
}

.wizard-dialog-hint {
  margin: 0;
  font-size: 12px;
  color: var(--wz-ink-soft);
}

.wizard-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ---------- 状态提示 ---------- */
.wizard-live-status {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--wz-ink);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
  max-width: min(90vw, 560px);
}

.wizard-live-status.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wizard-live-status.error {
  background: var(--wz-danger);
}

@media (max-width: 760px) {
  .wizard-topbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
  }
  .wizard-primary-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }
  .wizard-steps button {
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    padding: 9px 4px;
  }
  .wizard-panel {
    padding: 16px;
  }
  .wizard-heading {
    flex-direction: column;
  }
  .wizard-custom-goal {
    flex-wrap: wrap;
  }
  .wizard-custom-goal input {
    flex-basis: 100%;
  }
}
