/* Create flow final UX pass — Steps 1–6 */
.create-page .wizard-draft-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin: -8px 0 22px;
  padding: 11px 13px;
  border: 1px solid rgba(75, 136, 130, .14);
  border-radius: 14px;
  background: rgba(255, 254, 250, .72);
}
.create-page .wizard-draft-tools.is-restored {
  border-color: rgba(75, 136, 130, .28);
  background: rgba(223, 238, 234, .48);
}
.create-page .wizard-draft-tools p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.create-page .wizard-draft-tools p strong {
  color: var(--ink);
  font-weight: 850;
}
.create-page .wizard-draft-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}
.create-page .wizard-draft-actions .button {
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
}
.create-page .step-explanation {
  margin-top: -4px;
  border-bottom: 1px solid rgba(75, 136, 130, .12);
}
.create-page .step-explanation summary {
  width: fit-content;
  cursor: pointer;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  list-style-position: inside;
}
.create-page .step-explanation[open] summary { margin-bottom: 10px; }
.create-page .step-explanation-body {
  display: grid;
  gap: 9px;
  padding-bottom: 4px;
}
.create-page .step-helper {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.create-page .field-error {
  display: block;
  margin-top: 7px;
  padding: 9px 11px;
  color: #7b3027;
  border: 1px solid rgba(155, 61, 49, .24);
  border-radius: 10px;
  background: rgba(255, 240, 237, .82);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}
.create-page [aria-invalid="true"] {
  border-color: #9b3d31 !important;
  box-shadow: 0 0 0 3px rgba(155, 61, 49, .10);
}
.create-page .wizard-step h3 {
  max-width: 620px;
  text-wrap: balance;
}
.create-page .option,
.create-page .button,
.create-page input,
.create-page textarea,
.create-page select,
.create-page summary {
  -webkit-tap-highlight-color: transparent;
}
.create-page .field input:focus-visible,
.create-page .field textarea:focus-visible,
.create-page .field select:focus-visible,
.create-page .option:focus-visible,
.create-page .button:focus-visible,
.create-page .step-explanation summary:focus-visible {
  outline: 3px solid rgba(11, 99, 206, .78);
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .create-page { scroll-padding-bottom: 104px; }
  .create-page .wizard-draft-tools { margin-bottom: 17px; }
}
@media (max-width: 560px) {
  .create-page .wizard-draft-tools {
    display: grid;
    gap: 9px;
    margin: -5px 0 16px;
    padding: 10px 11px;
  }
  .create-page .wizard-draft-actions { justify-content: flex-start; }
  .create-page .wizard-draft-actions .button { min-height: 42px; }
  .create-page .step-explanation { padding-bottom: 2px; }
  .create-page .step-explanation summary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .create-page .field input,
  .create-page .field textarea,
  .create-page .field select,
  .create-page .extra-choice-field input {
    min-height: 48px;
    font-size: 16px;
  }
  .create-page .field textarea { min-height: 138px; }
  .create-page .wizard-actions { gap: 8px; }
  .create-page .wizard-actions .button {
    min-width: 104px;
    min-height: 48px;
  }
  .create-page .wizard-actions .button.primary { flex: 1 1 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .create-page .progress-track span { transition: none; }
}
