/* Passport Photo Print Sheet: step-by-step wizard. Shared tool styles cover the drop zone and buttons. */
.wizard .wz-progress { height: 6px; background: var(--line, #e5e7eb); border-radius: 999px; overflow: hidden; }
.wizard .wz-bar { height: 100%; width: 0; background: var(--accent, #2563eb); border-radius: 999px; transition: width .45s ease; }
.wizard .wz-count { font-size: 14px; font-weight: 600; margin: 14px 0 10px; }
.wizard .wz-dots { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; }
.wizard .wz-dots li { height: 30px; border-radius: 8px; background: var(--line, #e5e7eb); font-size: 13px; display: flex; align-items: center; justify-content: center; color: var(--ink-3, #666); transition: background .3s ease, color .3s ease, transform .3s ease; }
.wizard .wz-dots li.is-done { background: color-mix(in srgb, var(--accent, #2563eb) 30%, transparent); color: var(--ink, #111); }
.wizard .wz-dots li.is-current { background: var(--accent, #2563eb); color: #fff; transform: scale(1.1); }
.wizard .wz-step { display: none; }
.wizard .wz-step.is-active { display: block; animation: wzIn .42s ease both; }
@keyframes wzIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.wizard .wz-kicker { font-size: 13px; color: var(--ink-3, #666); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .04em; }
.wizard .wz-step h2 { font-size: 1.35rem; margin: 0 0 8px; outline: none; }
.wizard .wz-lead { margin: 0 0 18px; color: var(--ink-2, #444); }
.wizard .wz-toggle { margin: 6px 0 12px; }
.wizard .wz-note { padding: 12px 14px; border-radius: 10px; background: var(--line, #f1f5f9); font-size: 14px; margin: 14px 0; }
.wizard .wz-note:empty { display: none; }
.wizard .wz-note.is-ok { background: #e6f6ec; color: #14532d; }
.wizard .wz-note.is-error { background: #fdecec; color: #7f1d1d; }
.wizard .wz-cut { display: block; max-width: 220px; margin: 12px auto 0; border-radius: 8px; background: #eeeeee; }
.wizard .wz-custom { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.wizard .wz-custom[hidden] { display: none; }
.wizard .wz-summary { list-style: none; padding: 0; margin: 0 0 16px; }
.wizard .wz-summary li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line, #eee); font-size: 15px; }
.wizard .wz-summary span:first-child { color: var(--ink-3, #666); }
.wizard .wz-summary span:last-child { text-align: right; overflow-wrap: anywhere; }
.wizard .wz-preview { display: block; width: 100%; max-width: 560px; margin: 4px auto 18px; border: 1px solid var(--line-strong, #ccc); border-radius: 10px; background: #fff; }
.wizard .wz-actions { display: grid; gap: 12px; }
.wizard .wz-actions-row { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.wizard .wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.wizard .wz-nav .btn[hidden] { display: none; }
.wizard .wz-nav [data-next] { min-width: 140px; }
.wizard .wz-busy { display: inline-flex; align-items: center; gap: 10px; }
.wizard .wz-busy i { animation: wzSpin 1s linear infinite; }
@keyframes wzSpin { to { transform: rotate(360deg); } }
.wizard .swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 8px; }
.wizard .swatch { width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--line-strong, #ccc); cursor: pointer; padding: 0; transition: transform .2s ease; }
.wizard .swatch:hover { transform: scale(1.08); }
.wizard .swatch:focus-visible { outline: 3px solid var(--accent, #2563eb); outline-offset: 2px; }
.wizard .swatch-custom { display: inline-flex; align-items: center; }
.wizard .swatch-custom input[type="color"] { width: 40px; height: 40px; padding: 0; border: 2px solid var(--line-strong, #ccc); border-radius: 999px; background: none; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .wizard .wz-step.is-active, .wizard .wz-bar, .wizard .wz-dots li, .wizard .swatch { animation: none; transition: none; }
  .wizard .wz-busy i { animation: none; }
}
