/* Registration wizard (builds on public.css tokens). */
.reg-test { margin: 12px 0 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0; margin: 18px 0 14px; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line); min-width: 0; }
.steps .num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: var(--surface-2); color: var(--ink-2); flex: none; }
.steps .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps li.done { border-top-color: var(--brand); color: var(--ink-2); }
.steps li.done .num { background: var(--brand-soft); color: var(--brand); }
.steps li.cur { border-top-color: var(--brand); color: var(--ink); font-weight: 600; }
.steps li.cur .num { background: var(--brand); color: var(--brand-ink); }
.steps.off { display: none; }
.err-summary { margin-bottom: 14px; }
.err-summary ul { margin: 6px 0 0; padding-left: 18px; }

.need { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); }
.need li + li { margin-top: 4px; }
/* #reg: stronger than ".pub h3 { margin: 0 }" (public.css), which removed the space above these headings */
#reg .fees-h { margin: 28px 0 8px; font-size: 15px; }
.fees-wrap { max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.fees-wrap .tbl th { position: sticky; top: 0; background: var(--surface); }
.fees-wrap .tbl .grp td { background: var(--surface-2); font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 5px 10px; }
#reg .sub-h { font-size: 16px; margin: 22px 0 6px; }
.sub-h .opt, h3 .opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.sub-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 14px; background: var(--surface); }
.sub-card h3 { margin-bottom: 2px; }
.sub-card > .hint { margin: 0 0 10px; }
.choice { margin-top: 2px; }

.learner-list { display: grid; gap: 10px; margin: 12px 0; }
.learner { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.learner .bar { align-self: stretch; border-radius: 4px; background: var(--k, var(--brand)); }
.learner b { display: block; }
.learner .meta { color: var(--ink-2); font-size: 14px; }
.learner .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.editor { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.editor .opt-card + .opt-card { margin-top: 8px; }
.editor .opt-card select { margin-top: 8px; }
.editor .opt-card:not(:has(input:checked)) select { display: none; }
.review-note { margin: 8px 0 0; }
#greekNote { margin-top: 8px; }
.ed-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.add-btn { margin-top: 4px; width: 100%; border-style: dashed; }

.review { display: grid; gap: 10px; }
.rv { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.rv-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rv-h h3 { flex: 1; font-size: 15px; }
.rv dl { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 3px 12px; margin: 0; font-size: 14px; }
.rv dt { color: var(--muted); }
.rv dd { margin: 0; word-break: break-word; }
.ack { margin-top: 12px; }
.check + details.more { margin: 0 0 6px 30px; }
.decl { margin-top: 12px; }
.captcha { margin-top: 16px; min-height: 78px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.wiz-nav { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.wiz-nav .grow { flex: 1; }
.wiz-nav .btn { min-width: 120px; }
.busy { position: relative; pointer-events: none; opacity: .75; }
.busy::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; margin-left: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

.done { text-align: center; }
.done-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px; background: var(--good-bg); color: var(--good); font-size: 28px; font-weight: 700; }
.done .next { text-align: left; margin: 16px auto; max-width: 560px; padding-left: 22px; }
.done .next li + li { margin-top: 8px; }
.done .tbl { max-width: 560px; margin: 0 auto 16px; text-align: left; }

@media (max-width: 640px) {
  .steps { gap: 4px; }
  .steps .lbl { display: none; }
  .steps li.cur .lbl { display: inline; }
  .steps li { justify-content: center; }
  .steps li.cur { justify-content: flex-start; grid-column: span 1; }
  .wiz-nav { position: sticky; bottom: 0; background: var(--page); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); margin: 12px 0 0; border-top: 1px solid var(--line); z-index: 20; }
  .wiz-nav .btn { min-width: 0; flex: 1; }
  .wiz-nav .grow { display: none; }
  .learner { grid-template-columns: 4px minmax(0, 1fr); }
  .learner .acts { grid-column: 2; justify-content: flex-start; }
  .rv dl { grid-template-columns: minmax(0, 1fr); }
  .rv dt { margin-top: 4px; }
  .check + details.more { margin-left: 0; }
}

/* guide links in "Before you start" */
#reg .guide-link { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
#reg .guide-link .btn { text-decoration: none; }
#reg .guide-video { margin: 8px 0 12px; }
#reg .guide-video video { width: 100%; max-height: 70vh; border-radius: 10px; background: #000; display: block; }
