/* portal-partner — page-area styles for the 2026-10 UX round. Shell + shared components: portal.css.
   Partner pages: dashboard, my referrals, referral detail, log an introduction (+ success), account,
   pending / paused, and the light restyle of the sign-in pages. Phone-first: every rule works at 375px;
   larger screens are min-width overrides. Accent stays on the primary action, the paint chip's edge and
   the eyebrow dot. Money is tabular. */

/* ── Shared bits ─────────────────────────────────────────────────── */
.wf-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--wf-ink); margin-bottom: .45rem; }
.wf-help-tight { margin: -.4rem 0 1rem; }
.wf-pre { white-space: pre-wrap; }
.wf-ref { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.wf-li:focus-visible, .wf-chip-qr:focus-visible, .wf-acc > summary:focus-visible { outline: 2px solid var(--wf-accent); outline-offset: 2px; border-radius: 10px; }
.wf-li { min-height: 64px; }
.wf-li-amount, .wf-num-v, .wf-commission-amount, .wf-dl-money dd { font-variant-numeric: tabular-nums; }
.wf-empty-state p:last-child { margin-bottom: 0; }
.wf-empty-state .btn { min-height: 46px; }
#profile, #payout, #tax, #terms, #password { scroll-margin-top: 76px; }

/* Calm callout (W-9 / terms / decline reason) — one line of text + a link, never shouty */
.wf-note { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; background: var(--wf-warn-weak); border: 1px solid #F1DDB8; color: var(--wf-ink-2); font-size: 14.5px; line-height: 1.45; }
.wf-note-ic { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--wf-warn); color: #fff; font-size: 13px; font-weight: 700; margin-top: 1px; }
.wf-note-body { min-width: 0; }
.wf-note-body p { display: inline; margin: 0 .3em 0 0; }
.wf-note-body a { font-weight: 600; color: var(--wf-ink); white-space: nowrap; }
.wf-note-bad { background: var(--wf-bad-weak); border-color: #F3CFCB; }
.wf-note-bad .wf-note-ic { background: var(--wf-bad); }
.wf-decline-note { display: block !important; margin: .35rem 0 0 !important; white-space: pre-wrap; }

/* ── Dashboard ───────────────────────────────────────────────────── */
.wf-dash-hello h1 { font-size: 26px; letter-spacing: -.025em; line-height: 1.15; margin: 0; }
.wf-dash-hello p { font-size: 14.5px; margin: 4px 0 0; }
@media (min-width: 992px) { .wf-dash-hello h1 { font-size: 32px; } .wf-dash-hello p { font-size: 15px; } }

.wf-dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.wf-dash-main, .wf-dash-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 992px) { .wf-dash { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; } .wf-dash-main, .wf-dash-side { gap: 20px; } }

.wf-dash-log { width: 100%; min-height: 52px; font-size: 16px; }
@media (min-width: 992px) { .wf-dash-log { width: auto; align-self: flex-start; } }

/* The paint chip (DESIGN.md "The one memorable element") */
.wf-chip { position: relative; background: var(--wf-accent-weak); border: 1px solid var(--wf-accent-line); border-left: 8px solid var(--wf-accent); border-radius: var(--wf-r-card); box-shadow: 0 8px 24px rgba(48,48,48,.10); padding: 16px 16px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.wf-chip-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wf-chip-id { display: flex; flex-direction: column; min-width: 0; }
.wf-chip-label { font-size: 12px; font-weight: 600; color: var(--wf-muted); }
.wf-chip-code { font-family: var(--wf-font-display); font-weight: 800; font-size: clamp(34px, 11vw, 46px); line-height: 1; letter-spacing: .06em; color: var(--wf-ink); margin: 4px 0 6px; overflow-wrap: anywhere; }
.wf-chip-link { font-size: 13.5px; color: var(--wf-muted); overflow-wrap: anywhere; }
.wf-chip-qr { flex: none; width: 64px; height: 64px; padding: 4px; background: #fff; border: 1px solid var(--wf-line); border-radius: 10px; cursor: pointer; transition: box-shadow .14s ease, transform .14s ease; }
.wf-chip-qr:hover { box-shadow: var(--wf-shadow-sm); }
.wf-chip-qr:active { transform: scale(.97); }
.wf-chip-qr img { width: 100%; height: 100%; display: block; }
.wf-chip-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wf-chip-btns .btn { min-height: 46px; padding-left: 10px; padding-right: 10px; }
.wf-chip-btns .btn-fox { grid-column: 1 / -1; font-size: 15.5px; }
.wf-chip-btns.is-two .btn-fox { grid-column: auto; }
.wf-chip-btns .btn-secondary { background: rgba(255,255,255,.85); }
.wf-chip-btns .btn.is-copied { border-color: var(--wf-good); color: var(--wf-good); }
@media (min-width: 576px) {
    .wf-chip { padding: 20px 22px; gap: 16px; }
    .wf-chip-qr { width: 88px; height: 88px; padding: 6px; }
    .wf-chip-btns { display: flex; flex-wrap: wrap; }
    .wf-chip-btns .btn { min-height: 42px; padding-left: 16px; padding-right: 16px; }
    .wf-chip-btns .btn-fox { padding-left: 20px; padding-right: 22px; }
}

/* QR sheet */
.wf-qr-sheet { text-align: center; }
.wf-qr-sheet .wf-qr-lg { padding: 12px; }
.wf-qr-code { font-family: var(--wf-font-display); font-weight: 800; font-size: 28px; letter-spacing: .06em; color: var(--wf-ink); margin: 14px 0 4px; }
.wf-qr-note { color: var(--wf-muted); font-size: 14px; margin: 0 auto 4px; max-width: 32ch; }

/* Three numbers */
.wf-nums-card { padding: 16px 14px; }
.wf-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wf-num { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 0 2px; }
.wf-num + .wf-num { border-left: 1px solid var(--wf-line-2); padding-left: 10px; }
.wf-num-v { font-size: clamp(16px, 4.6vw, 26px); font-weight: 700; letter-spacing: -.02em; color: var(--wf-ink); line-height: 1.1; white-space: nowrap; }
.wf-num-l { font-size: 12px; line-height: 1.3; color: var(--wf-muted); font-weight: 500; }
.wf-nums-empty { margin: 0; color: var(--wf-muted); font-size: 14.5px; }
.wf-nums-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--wf-line-2); }
.wf-nums-foot-l { font-size: 13.5px; font-weight: 600; color: var(--wf-ink); }
.wf-nums-foot .wf-help { margin: 2px 0 0; }
@media (min-width: 576px) { .wf-nums-card { padding: 20px 24px; } .wf-num + .wf-num { padding-left: 16px; } .wf-num-l { font-size: 12.5px; } }

/* Recent referrals */
.wf-dash-recent .wf-card-head { margin-bottom: 10px; }
.wf-dash-recent h2 { font-size: 17px !important; margin: 0 !important; }
.wf-dash-guide h2 { font-size: 16px; margin-bottom: 8px; }
.wf-dash-guide ul { margin: 0 0 12px; padding-left: 1.1rem; }
.wf-dash-guide li + li { margin-top: 4px; }
.wf-share-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: .6rem; }
.wf-share-foot .wf-help { margin: 0; }
.wf-share-foot .btn { flex: none; min-height: 40px; }

/* ── My referrals ────────────────────────────────────────────────── */
.wf-seg { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.wf-seg::-webkit-scrollbar { display: none; }
.wf-seg a { flex: none; min-height: 40px; display: inline-flex; align-items: center; gap: 4px; }
.wf-seg a.is-active .wf-tab-count { opacity: .75; }
@media (min-width: 576px) { .wf-seg { margin: 0; padding: 0; } }
.wf-tabs.wf-seg { margin-bottom: 0; }
.wf-ref-list .wf-li-side .wf-pill { flex: none; }

/* ── Referral detail ─────────────────────────────────────────────── */
.wf-progress { padding: 20px 14px 16px; }
.wf-progress .wf-stepper { margin: 0 0 14px; }
.wf-progress-note { margin: 0; padding-top: 12px; border-top: 1px solid var(--wf-line-2); font-size: 14.5px; color: var(--wf-ink-2); }
@media (min-width: 576px) { .wf-progress { padding: 22px 24px 18px; } }
.wf-stepper li.is-stopped { color: var(--wf-bad); font-weight: 600; }
.wf-stepper li.is-done::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); background-size: 10px; background-position: center; background-repeat: no-repeat; }

.wf-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 768px) { .wf-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.wf-detail-grid > .wf-card + .wf-card { margin-top: 0; }
.wf-commission-amount { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--wf-ink); margin: 2px 0 6px; }
.wf-dl-money { margin-top: 12px; }
@media (max-width: 575.98px) { .wf-dl { grid-template-columns: 7.5rem 1fr; } }

/* Partner timeline: plain sentences, newest first */
.wf-tl { list-style: none; margin: 0; padding: 0; }
.wf-tl li { position: relative; display: flex; gap: 12px; padding: 0 0 16px; }
.wf-tl li:last-child { padding-bottom: 0; }
.wf-tl li::before { content: ""; position: absolute; left: 5px; top: 16px; bottom: -2px; width: 2px; background: var(--wf-line-2); }
.wf-tl li:last-child::before { display: none; }
.wf-tl-dot { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; flex: none; background: var(--wf-surface); border: 2px solid var(--wf-faint); position: relative; z-index: 1; }
.wf-tl li.is-good .wf-tl-dot { background: var(--wf-good); border-color: var(--wf-good); }
.wf-tl-body { min-width: 0; }
.wf-tl-text { color: var(--wf-ink); font-weight: 500; font-size: 14.5px; }
.wf-tl-detail { color: var(--wf-ink-2); font-size: 13.5px; margin-top: 2px; }
.wf-tl-when { display: block; color: var(--wf-muted); font-size: 12.5px; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* ── Log an introduction ─────────────────────────────────────────── */
.wf-new { display: flex; flex-direction: column; gap: 16px; max-width: 44rem; }
.wf-new .wf-form-error { margin: 0; }
.wf-new fieldset.wf-card, .wf-new .wf-card { margin: 0; padding: 18px 16px 6px; }
.wf-new fieldset.wf-card > legend { float: left; width: 100%; font-size: 17px; margin: 0 0 14px; }
@media (min-width: 576px) { .wf-new fieldset.wf-card, .wf-new .wf-card { padding: 22px 24px 10px; } }
.wf-new .wf-field .form-control, .wf-new .form-select { min-height: 48px; font-size: 16px; }   /* 16px: no iOS zoom */
.wf-new textarea.form-control { min-height: 96px; }
.wf-new .wf-two-col { gap: 0 14px; }
.input-validation-error, .wf-field .form-control.input-validation-error { border-color: var(--wf-bad) !important; }
.input-validation-error:focus { box-shadow: 0 0 0 3px var(--wf-bad-weak) !important; }

/* Intro-method choice cards: one column on phones, big targets, a visible radio */
.wf-new .wf-choice { grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 576px) { .wf-new .wf-choice { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wf-new .wf-choice label { position: relative; min-height: 62px; padding: 13px 14px 13px 46px; font-size: 14.5px; justify-content: center; transition: border-color .14s ease, box-shadow .14s ease, background .14s ease; }
.wf-new .wf-choice label::before { content: ""; position: absolute; left: 15px; top: 15px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--wf-faint); background: #fff; }
.wf-new .wf-choice input:checked + label { background: var(--wf-surface-2); }
.wf-new .wf-choice input:checked + label::before { border-color: var(--wf-ink); box-shadow: inset 0 0 0 4px #fff; background: var(--wf-ink); }
.wf-new .wf-choice label span { font-size: 13px; line-height: 1.35; }

/* Attestation + the one button + fine print */
.wf-new-submit { padding-bottom: 18px !important; }
.wf-new .wf-attest { display: flex; gap: 12px; padding: 14px; border-radius: 12px; }
.wf-new .wf-attest .form-check-input { width: 24px; height: 24px; margin-top: 1px; border-width: 2px; cursor: pointer; }
.wf-new .wf-attest label { cursor: pointer; font-size: 15px; color: var(--wf-ink); }
.wf-new .wf-form-actions { margin-top: 16px; }
.wf-new .wf-form-actions .btn { min-height: 52px; }
.wf-new .wf-form-fineprint { font-size: 13px; margin-top: 14px; }
.wf-new .wf-form-fineprint p:last-child { margin-bottom: 0; }

/* Success */
.wf-done { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 22px 20px; }
.wf-done-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--wf-good-weak); color: var(--wf-good); margin-bottom: 12px; }
.wf-done-ref { font-family: var(--wf-font-display); font-weight: 800; font-size: clamp(40px, 13vw, 56px); line-height: 1; letter-spacing: .04em; color: var(--wf-ink); font-variant-numeric: tabular-nums; margin-top: 4px; }
.wf-done-who { color: var(--wf-muted); font-size: 15px; margin-top: 6px; }
.wf-next h2 { font-size: 16px !important; }
.wf-next p:last-child { margin-bottom: 0; }
.wf-done-actions { display: flex; flex-direction: column; gap: 10px; }
.wf-done-actions .btn { min-height: 50px; }
@media (min-width: 576px) { .wf-done { padding: 28px 30px; } .wf-done-actions { flex-direction: row; } }

/* ── Account: collapsible cards (all open on desktop via referrals.js) ── */
.wf-acc-list { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; }
.wf-acc { background: var(--wf-surface); border: 1px solid var(--wf-line); border-radius: var(--wf-r-card); box-shadow: var(--wf-shadow-sm); }
.wf-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 16px; }
.wf-acc > summary::-webkit-details-marker { display: none; }
.wf-acc > summary::after { content: ""; width: 16px; height: 16px; flex: none; margin-left: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236C7480' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .14s ease; }
.wf-acc[open] > summary::after { transform: rotate(180deg); }
.wf-acc-title { font-weight: 600; font-size: 16px; color: var(--wf-ink); letter-spacing: -.01em; }
.wf-acc > summary > .wf-pill, .wf-acc-meta { margin-left: auto; }
.wf-acc-meta { color: var(--wf-muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wf-acc-body { padding: 14px 16px 18px; border-top: 1px solid var(--wf-line-2); }
.wf-acc-body .wf-form-actions { margin-top: .75rem; }
.wf-acc-body .form-control, .wf-acc-body .form-select { min-height: 46px; font-size: 16px; }
.wf-acc-body .wf-note { margin-bottom: 12px; }
.wf-acc-lede { margin: 0 0 12px; }
.wf-file { padding: .55rem .7rem; }
@media (min-width: 576px) { .wf-acc > summary { padding: 14px 22px; } .wf-acc-body { padding: 18px 22px 22px; } }

/* ── Pending / paused (public layout) + sign-in pages ───────────── */
.wf-calm, .wf-auth { background: var(--wf-surface); border: 1px solid var(--wf-line); border-radius: 16px; box-shadow: var(--wf-shadow-sm); padding: 26px 20px; }
.wf-calm { max-width: 36rem; }
.wf-calm h1, .wf-auth h1 { font-size: clamp(26px, 6vw, 34px); letter-spacing: -.03em; line-height: 1.12; margin: 0 0 12px; }
.wf-calm-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--wf-tile); color: var(--wf-ink); margin-bottom: 16px; }
.wf-calm-body { font-size: 16px; color: var(--wf-ink-2); }
.wf-calm-body p:last-child { margin-bottom: 0; }
.wf-calm-meta { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--wf-muted); font-size: 14px; overflow-wrap: anywhere; }
.wf-calm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.wf-calm-actions .btn { min-height: 46px; }
.wf-calm-link { font-size: 14.5px; font-weight: 500; }
.wf-auth { max-width: 28rem; }
.wf-auth-msg { max-width: 34rem; }
.wf-auth .wf-lede { font-size: 16px; }
.wf-auth .wf-cta-row { margin-top: 20px; }
.wf-auth .form-control { min-height: 46px; font-size: 16px; }
@media (min-width: 576px) { .wf-calm, .wf-auth { padding: 34px 34px 30px; } }

/* ── Dashboard, calmer (Micah 2026-11-07: "doesn't need to be fancy, just more elegant"). White cards, one
   accent edge on the code card, the numbers always shown, no duplicate "Log an introduction" on desktop
   (the sidebar has it), the guide as a check list, the message as a quiet text block. ─────────────── */
.wf-chip { background: var(--wf-surface); border: 1px solid var(--wf-line); border-left: 4px solid var(--wf-accent); box-shadow: var(--wf-shadow-sm); border-radius: 16px; }
.wf-chip-label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wf-muted); }
.wf-chip-code { color: var(--wf-ink); }
.wf-chip-btns .btn-secondary { background: var(--wf-surface); }
.wf-chip-qr { border-color: var(--wf-line); box-shadow: none; }
@media (min-width: 576px) { .wf-chip { padding: 24px 26px; gap: 18px; } }
@media (min-width: 992px) { .wf-dash-log { display: none; } }

.wf-nums-card { border-radius: 16px; }
.wf-nums { gap: 0; }
.wf-num { gap: 6px; }
.wf-num-l { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wf-muted); }
.wf-num-v { font-size: clamp(20px, 5.4vw, 30px); font-weight: 700; letter-spacing: -.03em; }
.wf-nums-empty { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--wf-line-2); font-size: 13.5px; }
@media (min-width: 576px) { .wf-nums-card { padding: 22px 26px; } .wf-num + .wf-num { padding-left: 22px; } .wf-num-l { font-size: 11px; } }
@media (max-width: 575.98px) { .wf-num-l { font-size: 10px; letter-spacing: .05em; } }

.wf-dash-recent .wf-card-head { margin-bottom: 12px; }
.wf-dash-recent h2 { font-size: 18px !important; letter-spacing: -.02em; }
.wf-dash-recent .wf-empty-state { border-radius: 16px; padding: 34px 22px; }

.wf-dash-guide { border-radius: 16px; }
.wf-dash-guide h2 { font-size: 16px; margin-bottom: 14px; }
.wf-dash-guide .wf-list-yes ul { margin: 0 0 16px; gap: 10px; }
.wf-dash-guide .wf-list-yes li { font-size: 14px; line-height: 1.45; padding-left: 28px; }
.wf-dash-guide .wf-list-yes li::before { width: 18px; height: 18px; background-size: 10px; }

.wf-share { border-radius: 16px; }
.wf-share label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wf-muted); margin-bottom: 10px; }
.wf-share textarea { resize: none; border: 0; background: var(--wf-tile); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.55; color: var(--wf-ink-2); box-shadow: none; }
.wf-share textarea:focus { box-shadow: 0 0 0 2px var(--wf-accent-line); }
.wf-share-foot { margin-top: 12px; }
.wf-chip .wf-chip-link { border: 0; padding: 0; border-radius: 0; font-size: 13.5px; font-weight: 500; color: var(--wf-muted); background: none; }
.wf-num { justify-content: space-between; }

/* ── My referrals (Micah 2026-11-07: "boring"): calm segmented tabs, a five-stage track on each live row,
   and an empty state that shows how a referral moves. ─────────────────────────────────────────── */
.wf-tabs.wf-seg { margin-bottom: 16px; }
.wf-seg { gap: 4px; }
.wf-tabs.wf-seg a { border-radius: 999px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--wf-ink-2); background: transparent; border: 1px solid transparent; text-decoration: none; }
.wf-tabs.wf-seg a:hover { background: var(--wf-surface); border-color: var(--wf-line); color: var(--wf-ink); }
.wf-tabs.wf-seg a.is-active { background: var(--wf-surface); border-color: var(--wf-line); color: var(--wf-ink); box-shadow: var(--wf-shadow-sm); }
.wf-tabs.wf-seg .wf-tab-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--wf-tile); color: var(--wf-muted); font-size: 11.5px; font-weight: 700; }
.wf-tabs.wf-seg a.is-active .wf-tab-count { background: var(--wf-accent-weak); color: var(--wf-accent-600); opacity: 1; }

.wf-ref-list { border-radius: 16px; overflow: hidden; }
.wf-ref-list .wf-li { padding: 16px 20px; gap: 14px; }
.wf-ref-list .wf-li.is-ended .wf-li-title { color: var(--wf-ink-2); }
.wf-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; max-width: 220px; margin-top: 9px; }
.wf-track span { height: 4px; border-radius: 999px; background: var(--wf-line); }
.wf-track span.is-on { background: var(--wf-good); }

.wf-ref-empty { background: var(--wf-surface); border: 1px solid var(--wf-line); border-radius: 18px; box-shadow: var(--wf-shadow-sm); padding: 40px 22px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.wf-ref-empty-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--wf-accent-weak); color: var(--wf-accent-600); margin-bottom: 16px; }
.wf-ref-empty-text { max-width: 26rem; margin: 0 0 24px; font-size: 16px; color: var(--wf-ink-2); line-height: 1.5; }
.wf-stages { list-style: none; margin: 0 0 26px; padding: 0; display: flex; align-items: flex-start; justify-content: center; width: 100%; max-width: 520px; }
.wf-stages li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--wf-ink-2); }
.wf-stages li span { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wf-surface); border: 1.5px solid var(--wf-line); color: var(--wf-muted); font-size: 12.5px; font-weight: 700; }
.wf-stages li:last-child span { border-color: var(--wf-good); color: var(--wf-good); background: var(--wf-good-weak); }
.wf-stages li + li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 1.5px; background: var(--wf-line); }
.wf-ref-empty .btn { min-height: 46px; padding-left: 22px; padding-right: 22px; }
.wf-ref-empty-sm { border-radius: 16px; }
@media (max-width: 575.98px) { .wf-ref-list .wf-li { padding: 14px 16px; } .wf-stages li { font-size: 11px; } .wf-stages li span { width: 26px; height: 26px; } .wf-stages li + li::before { top: 13px; } }

/* ── Log an introduction (Micah 2026-11-07: "boring"): numbered section heads, icon choice cards, an accent
   confirm card, and a "what happens next" rail beside the form on wide screens. ─────────────────────── */
.wf-new-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1200px) { .wf-new-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; } .wf-new-aside { position: sticky; top: 28px; } }
.wf-new { max-width: none; }
.wf-new fieldset.wf-card, .wf-new .wf-card { border-radius: 16px; }
.wf-new fieldset.wf-card > legend { display: flex; align-items: center; gap: 12px; font-size: 18px; letter-spacing: -.015em; margin-bottom: 18px; }
.wf-sec-n { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wf-accent-weak); color: var(--wf-accent-600); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.wf-new .wf-new-either { display: inline-flex; align-items: center; gap: 6px; margin: -4px 0 14px; padding: 5px 10px; border-radius: 999px; background: var(--wf-tile); font-size: 12.5px; }

.wf-new .wf-choice-ic label { padding: 14px 14px 14px 64px; min-height: 72px; border-radius: 14px; }
.wf-new .wf-choice-ic label::before { display: none; }
.wf-new .wf-choice-ic label i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--wf-tile); color: var(--wf-ink-2); transition: background .14s ease, color .14s ease; }
.wf-new .wf-choice-ic label i svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wf-new .wf-choice-ic label:hover { border-color: var(--wf-faint); }
.wf-new .wf-choice-ic input:checked + label { background: var(--wf-surface); border-color: var(--wf-accent); box-shadow: 0 0 0 1px var(--wf-accent); }
.wf-new .wf-choice-ic input:checked + label i { background: var(--wf-accent); color: #fff; }
.wf-new .wf-choice-ic input:checked + label::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--wf-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }

.wf-new-submit { border-color: var(--wf-accent-line) !important; box-shadow: 0 10px 28px rgba(48, 48, 48, .08); }
.wf-new .wf-attest { background: var(--wf-accent-weak); border: 1px solid var(--wf-accent-line); }
.wf-new .wf-form-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding-left: 26px; padding-right: 24px; }
.wf-new .wf-form-actions .btn:disabled svg { opacity: .5; }
@media (max-width: 575.98px) { .wf-new .wf-form-actions .btn { width: 100%; } }

.wf-new-next { padding: 22px 22px 20px; border-radius: 16px; }
.wf-new-next h2 { font-size: 16px; margin: 0 0 16px; letter-spacing: -.01em; }
.wf-new-next ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 0; }
.wf-new-next li { position: relative; display: flex; gap: 12px; padding-bottom: 18px; }
.wf-new-next li:last-child { padding-bottom: 0; }
.wf-new-next li + li::before { content: ""; position: absolute; left: 14.25px; top: -18px; height: 18px; width: 1.5px; background: var(--wf-accent-line); }
.wf-new-next .wf-sec-n { width: 30px; height: 30px; font-size: 13px; }
.wf-new-next li:last-child .wf-sec-n { background: var(--wf-good-weak); color: var(--wf-good); }
.wf-new-next div { display: flex; flex-direction: column; gap: 3px; padding-top: 4px; }
.wf-new-next strong { font-size: 14.5px; color: var(--wf-ink); }
.wf-new-next div span { font-size: 13.5px; line-height: 1.45; color: var(--wf-ink-2); }
