/* New person / project wizard (Round 2, mockup 06) — loaded by admin.html.
   Ported value-for-value from mockups/overhaul/06-new-wizard.html; the `wz-`
   prefix keeps it clear of the profile pane's classes. */

  .wz { max-width: 980px; }
  .wz [hidden] { display: none !important; }
  .wz-crumbs { font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; margin-bottom: 14px; }
  .wz-crumbs a { color: var(--navy-700); text-decoration: none; }
  .wz-crumbs code { font-family: inherit; color: var(--ink-4); }
  .wz-title { font-family: var(--font-display); color: var(--navy-800); font-size: 27px; font-weight: 600; line-height: 1.1; margin: 0 0 4px; text-wrap: balance; }
  .wz-lede { color: var(--ink-3); font-size: 14px; margin: 0 0 22px; max-width: 62ch; }
  .wz-lede[hidden] { display: none; }

  /* Stepper band — remembers what each finished step answered */
  .wz-stepper { display: flex; border: 1px solid var(--hairline-strong); border-radius: var(--r-md); background: var(--paper); overflow: hidden; margin-bottom: 22px; }
  .wz-step { flex: 1; display: flex; gap: 11px; align-items: center; padding: 12px 16px; border: 0; border-right: 1px solid var(--hairline); position: relative; min-width: 0; background: none; text-align: left; cursor: default; font: inherit; color: inherit; }
  .wz-step:last-child { border-right: 0; }
  .wz-step > span:last-child { min-width: 0; flex: 1; }
  .wz-step .n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; flex: none; border: 1.5px solid var(--hairline-strong); color: var(--ink-4); }
  .wz-step .lbl { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); white-space: nowrap; }
  .wz-step .sub { display: block; font-size: 12px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wz-step.is-done { cursor: pointer; }
  .wz-step.is-done .n { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
  .wz-step.is-done .lbl { color: var(--ink-2); }
  .wz-step.is-done .sub { color: var(--success); font-weight: 600; }
  .wz-step.is-done:hover { background: var(--canvas); }
  .wz-step.is-current .n { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
  .wz-step.is-current .lbl { color: var(--navy-800); }
  .wz-step.is-current .sub { color: var(--ink-3); }
  .wz-step.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--navy-800); }

  /* Cards */
  .wz-card { background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 22px 24px; margin-bottom: 18px; border: 1px solid var(--hairline-strong); }
  .wz-card h2 { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin: 0 0 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
  .wz-card h2 .count { color: var(--ink-4); font-weight: 500; letter-spacing: 0; text-transform: none; }
  .wz-card h2 .zone { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-size: 11px; letter-spacing: 0.08em; padding: 3px 10px; border-radius: var(--r-pill); background: var(--canvas-2); color: var(--navy-700); }
  .wz-card h2 .zone svg { width: 11px; height: 11px; }
  .wz-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .wz-form--one { grid-template-columns: 1fr; }
  .wz-form label { display: block; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
  .wz-form input, .wz-form textarea, .wz-form select { display: block; width: 100%; font: inherit; font-size: 14px; border: 1.5px solid var(--hairline-strong); border-radius: 8px; padding: 9px 11px; margin-top: 5px; background: var(--paper); color: var(--ink-2); box-sizing: border-box; }
  .wz-form input:focus, .wz-form textarea:focus, .wz-form select:focus { outline: 2px solid var(--navy-500); outline-offset: 1px; border-color: var(--navy-500); }
  .wz-form input.is-invalid, .wz-form textarea.is-invalid { border-color: #b03a3a; }
  .wz-form .full { grid-column: 1 / -1; }
  .wz-form textarea { min-height: 110px; resize: vertical; }
  .wz-form .help { display: block; font-size: 12px; color: var(--ink-4); margin-top: 4px; text-transform: none; letter-spacing: 0; font-weight: 400; }
  .wz-form .help.req { display: inline; margin-left: 4px; }
  @media (max-width: 900px) { .wz-form { grid-template-columns: 1fr; } }

  /* Type choice cards */
  .wz-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 6px; }
  .wz-kind { cursor: pointer; border: 1.5px solid var(--hairline-strong); border-radius: var(--r-md); padding: 16px 16px 14px; background: var(--paper); display: grid; gap: 8px; position: relative; }
  .wz-kind input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
  .wz-kind:has(input:checked) { border-color: var(--navy-800); box-shadow: 0 0 0 2px var(--navy-800) inset; background: var(--canvas-2); }
  .wz-kind:has(input:focus-visible) { outline: 2px solid var(--navy-500); outline-offset: 2px; }
  .wz-kind:has(input:disabled) { cursor: default; opacity: .55; }
  .wz-kind:has(input:disabled):has(input:checked) { opacity: 1; }
  .wz-kind svg { width: 22px; height: 22px; color: var(--navy-700); }
  .wz-kind b { color: var(--navy-800); font-size: 14.5px; display: block; }
  .wz-kind span { font-size: 12.5px; color: var(--ink-3); }
  .wz-kind em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }
  @media (max-width: 900px) { .wz-kinds { grid-template-columns: 1fr; } }

  /* Photo row: the shared crop widget on the left, text on the right */
  .wz-photo-row { display: grid; grid-template-columns: 244px minmax(0,1fr); gap: 20px; align-items: start; }
  .wz-photo-row .photo-widget__row { display: grid; gap: 10px; }
  .wz-photo-row .photo-preview { width: 244px; height: 305px; border-radius: var(--r-md); background: var(--canvas) center/cover no-repeat; border: 1.5px dashed var(--hairline-strong); flex: none; }
  .wz-photo-row .photo-preview[style*="background-image"] { border-style: solid; }
  .wz-photo-row .photo-widget__controls { display: flex; flex-direction: row; gap: 8px; flex-wrap: wrap; align-items: center; }
  .wz-photo-row label.photo-widget__file { font: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--navy-800); display: inline-flex; align-items: center; margin: 0; padding: 6px 11px; align-self: auto; }
  .wz-photo-row .photo-widget__controls .btn--sm { font-size: 12.5px; padding: 6px 11px; }
  .wz-photo-row .photo-widget__msg { font-size: 12px; color: var(--ink-3); width: 100%; }
  .wz-photo-row.is-invalid .photo-preview { border-color: #b03a3a; }
  .wz-photo-row .photo-widget:has(.photo-editor:not([hidden])) .photo-widget__row { display: none; }
  .wz-photo-row .photo-editor { max-width: none; }
  .wz-photo-row .photo-viewport { width: 244px; height: auto; aspect-ratio: 4 / 5; }
  @media (max-width: 900px) { .wz-photo-row { grid-template-columns: 1fr; } }

  /* Costs */
  .wz-costs { display: grid; gap: 8px; }
  .wz-cost { display: grid; grid-template-columns: minmax(0,1fr) 180px 32px; gap: 10px; align-items: center; }
  .wz-cost input { font: inherit; font-size: 14px; border: 1.5px solid var(--hairline-strong); border-radius: 8px; padding: 8px 10px; min-width: 0; width: 100%; box-sizing: border-box; }
  .wz-cost input:focus { outline: 2px solid var(--navy-500); outline-offset: 1px; border-color: var(--navy-500); }
  .wz-cost .rm { background: none; border: 0; color: var(--ink-4); cursor: pointer; font-size: 18px; line-height: 1; font-family: inherit; }
  .wz-cost-add { margin-top: 10px; }
  .wz-cost-total { display: flex; justify-content: space-between; border-top: 2px solid var(--hairline-strong); padding-top: 10px; margin-top: 8px; font-weight: 700; color: var(--navy-800); }
  .wz-cost-total span:last-child { font-variant-numeric: tabular-nums; }

  /* Radios (campaign, visibility) */
  .wz-radios { display: grid; gap: 8px; }
  .wz-radio { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; align-items: start; border: 1.5px solid var(--hairline-strong); border-radius: var(--r-sm); padding: 12px 14px; cursor: pointer; background: var(--paper); font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-2); }
  .wz-radio:has(input:checked) { border-color: var(--navy-800); background: var(--canvas-2); }
  .wz-radio:has(input:disabled) { opacity: .5; cursor: not-allowed; }
  .wz-radio > input { margin: 3px 0 0; accent-color: var(--navy-800); width: auto; display: inline-block; }
  .wz-radio b { color: var(--navy-800); display: block; font-size: 13.5px; }
  .wz-radio span { color: var(--ink-3); font-size: 12.5px; }
  .wz-radio .inline { margin-top: 8px; display: none; }
  .wz-radio:has(input:checked) .inline { display: block; }
  .wz-radio .inline input[type="text"] { font: inherit; font-size: 13.5px; border: 1.5px solid var(--hairline-strong); border-radius: 8px; padding: 7px 10px; width: 100%; max-width: 380px; box-sizing: border-box; margin: 0; }
  .wz-publish { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
  .wz-publish .wz-radio { padding: 14px 16px; }
  .wz-publish .wz-radio.warn:has(input:checked) { border-color: #8a6d1e; background: #f6efd8; }
  @media (max-width: 900px) { .wz-publish { grid-template-columns: 1fr; } }

  /* Review checklist */
  .wz-check { display: grid; }
  .wz-ck { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--canvas-3); }
  .wz-ck:last-child { border-bottom: 0; }
  .wz-ck .dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
  .wz-ck.ok .dot { background: #e7f2ea; color: var(--success); }
  .wz-ck.miss .dot { background: #f6efd8; color: #8a6d1e; }
  .wz-ck b { color: var(--ink-2); font-weight: 600; }
  .wz-ck .sub { color: var(--ink-4); font-size: 12.5px; display: block; }
  .wz-ck a { color: var(--navy-700); font-weight: 600; text-decoration: none; font-size: 12.5px; white-space: nowrap; }

  /* Nav row — buttons, not links */
  .wz-nav { display: flex; gap: 10px; align-items: center; padding-top: 4px; flex-wrap: wrap; }
  .wz-nav .spacer { flex: 1; }
  .wz-nav .hint { color: var(--ink-4); font-size: 12.5px; }
  .wz-nav .hint.err { color: #b03a3a; font-weight: 600; }
  .wz-nav .btn svg { width: 13px; height: 13px; }
  .wz-nav .btn--back svg { margin-right: 6px; }
  .wz-nav .btn--next svg { margin-left: 6px; }
  .wz-nav .btn[disabled] { opacity: .45; cursor: not-allowed; }

  /* Field lives in the internal record, not on the website */
  .wz-form .wz-internal { display: inline-block; margin-left: 6px; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--r-pill); background: var(--navy-700); color: #fff; vertical-align: middle; font-weight: 600; }
