/* Onboarding page and Start now. Mobile first; uses the theme's tokens, with fallbacks. */
.pw-onb .wrap { display: grid; gap: 24px; justify-items: start; }
.pw-onb .section-head { margin-bottom: 0; }
.pw-onb-form { display: grid; gap: 10px; width: 100%; max-width: 420px; }
.pw-onb-form label { font-weight: 700; }
.pw-onb-form input[type="email"] { padding: 12px 14px; border: 2px solid currentColor; font: inherit; }
.pw-onb-form input:focus-visible { outline: 3px solid var(--orange, #ee3b0c); outline-offset: 2px; }
.pw-onb-next { display: grid; gap: 10px; justify-items: start; padding-top: 20px; border-top: 2px solid currentColor; }

/* Progress: folder tabs on wide screens, a plain count on phones. */
.pwo-progress { width: 100%; }
.pwo-progress ol { display: none; margin: 0; padding: 0; list-style: none; }
.pwo-progress li { padding: 8px 14px 6px; border: 3px solid var(--line, #d3d0c7); border-bottom: 0; font: 700 0.85rem var(--sans, sans-serif); color: var(--muted, #5f5e59); }
.pwo-progress li span { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pwo-progress li[aria-current] { border-color: var(--ink, #0d0d0d); color: var(--ink, #0d0d0d); background: var(--paper, #fff); }
.pwo-progress li[aria-current] span { color: var(--orange-text, #c42f06); }
.pwo-progress a { color: var(--ink, #0d0d0d); }
.pwo-count { margin: 0; padding-bottom: 8px; border-bottom: 3px solid var(--ink, #0d0d0d); font: 700 0.8rem var(--sans, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; }
@media (min-width: 700px) {
	.pwo-progress ol { display: flex; gap: 6px; border-bottom: 3px solid var(--ink, #0d0d0d); }
	.pwo-progress li[aria-current] { margin-bottom: -3px; padding-bottom: 9px; }
	.pwo-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.pwo-form { display: grid; gap: 28px; width: 100%; max-width: 640px; }
.pwo-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pwo-field > label, .pwo-field legend { padding: 0; font-weight: 700; font-size: 1.05rem; }
.pwo-field legend { margin-bottom: 8px; }
.pwo-optional { font-weight: 400; color: var(--muted, #5f5e59); }
.pwo-hint { margin: 0; font-size: 0.92rem; color: var(--muted, #5f5e59); }
.pwo-input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 14px; border: 2px solid var(--ink, #0d0d0d); border-radius: 0; background: var(--paper, #fff); font: inherit; color: inherit; }
textarea.pwo-input { min-height: 0; resize: vertical; }
.pwo-input:focus-visible, .pwo-check input:focus-visible, .pwo-route input:focus-visible, .pwo-link:focus-visible { outline: 3px solid var(--orange, #ee3b0c); outline-offset: 2px; }
.pwo-invalid .pwo-input { border-color: var(--orange-text, #c42f06); border-width: 3px; }
.pwo-error { margin: 0; font-weight: 700; color: var(--orange-text, #c42f06); }
.pwo-errors { width: 100%; max-width: 640px; box-sizing: border-box; padding: 16px 18px; border: 3px solid var(--orange-text, #c42f06); }
.pwo-errors h2 { margin: 0 0 8px; }
.pwo-errors ul { margin: 0; padding-left: 1.2em; }
.pwo-errors a { color: var(--orange-text, #c42f06); font-weight: 700; }
.pwo-checks { display: grid; gap: 8px; }
.pwo-inline { grid-template-columns: repeat(2, minmax(0, 140px)); }
.pwo-check { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 6px 12px; border: 2px solid var(--line, #d3d0c7); font-weight: 400; cursor: pointer; }
.pwo-check:has(input:checked) { border-color: var(--ink, #0d0d0d); }
.pwo-check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--orange, #ee3b0c); }
.pwo-list ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pwo-add { justify-self: start; min-height: 44px; }
.pwo-add[hidden] { display: none; }
.pwo-sub { margin-top: 6px; font-weight: 700; }
.pwo-help-body { display: grid; gap: 16px; }
.pwo-help-body p { margin: 0; }
.pwo-prompt { display: grid; gap: 10px; justify-items: start; }
.pwo-prompt-box { display: grid; gap: 6px; width: 100%; }
.pwo-prompt-box textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 2px dashed var(--ink, #0d0d0d); font: 0.85rem/1.45 ui-monospace, monospace; }
.pwo-prompt-box[hidden] { display: none; }
.pwo-copied { font-weight: 700; color: var(--orange-text, #c42f06); }
.pwo-howto { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.pwo-privacy { padding: 10px 12px; background: var(--orange-soft, #fde3d9); }
.pwo-saved { min-height: 1.4em; margin: 0; font-size: 0.9rem; color: var(--muted, #5f5e59); }
.pwo-actions .btn { min-width: 160px; }
.pwo-back { font-size: 0.95rem; }
.pwo-recap { display: grid; gap: 0; width: 100%; max-width: 720px; margin: 0; border-top: 3px solid var(--ink, #0d0d0d); }
.pwo-recap div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line, #d3d0c7); }
.pwo-recap dt { font-weight: 700; }
.pwo-recap dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 700px) { .pwo-recap div { grid-template-columns: 240px 1fr; gap: 16px; } }

/* Step 2 contact fields and step 3 routes. */
.pwo-contact .pwo-check { justify-self: start; min-height: 40px; border-color: transparent; padding-inline: 0; }
.pwo-routes legend { margin-bottom: 10px; }
.pwo-route-cards { display: grid; gap: 12px; }
.pwo-route { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 2px solid var(--ink, #0d0d0d); cursor: pointer; }
.pwo-route:has(input:checked) { border-color: var(--orange, #ee3b0c); box-shadow: inset 0 0 0 2px var(--orange, #ee3b0c); }
.pwo-route input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--orange, #ee3b0c); }
.pwo-route > span { display: grid; gap: 4px; }
.pwo-route > span > span { font-size: 0.95rem; color: var(--muted, #5f5e59); }
.pwo-panel { display: grid; gap: 18px; padding: 18px; border: 2px solid var(--line, #d3d0c7); }
.pwo-panel[hidden] { display: none; }
.pwo-panel h2 { margin: 0; }
.pwo-skip-finish { display: grid; gap: 4px; justify-items: start; margin: 0; }
.pwo-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
@media (min-width: 700px) { .pwo-route-cards { grid-template-columns: 1fr 1fr; } }

/* My Website Project. */
.pwo-section { display: grid; gap: 14px; width: 100%; max-width: 720px; padding-top: 20px; border-top: 3px solid var(--ink, #0d0d0d); }
.pwo-section h2, .pwo-section h3, .pwo-section p { margin: 0; }
.pwo-status { font-size: 1.15rem; }
.pwo-needed, .pwo-notice { padding: 12px 14px; background: var(--orange-soft, #fde3d9); }
.pwo-notice { margin: 0; font-weight: 700; }
.pwo-changes { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line, #d3d0c7); }
.pwo-changes li { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line, #d3d0c7); overflow-wrap: anywhere; }
.pwo-tag { justify-self: start; padding: 2px 8px; border: 2px solid var(--ink, #0d0d0d); font: 700 0.75rem var(--sans, sans-serif); letter-spacing: 0.08em; text-transform: uppercase; }
select.pwo-input { appearance: auto; }
.pwo-signout p { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: center; }
.pwo-ref { white-space: nowrap; }

/* Photos & videos. */
.pwo-uploader { display: grid; gap: 18px; }
.pwo-uploader[hidden] { display: none; }
.pwo-consent { align-items: flex-start; padding-block: 10px; }
.pwo-consent input { margin-top: 2px; }
.pwo-file { width: 100%; box-sizing: border-box; min-height: 52px; padding: 10px; border: 2px dashed var(--ink, #0d0d0d); background: var(--paper, #fff); font: inherit; }
.pwo-file:focus-visible { outline: 3px solid var(--orange, #ee3b0c); outline-offset: 2px; }
.pwo-queue, .pwo-files { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.pwo-queue li { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line, #d3d0c7); overflow-wrap: anywhere; }
.pwo-queue progress { width: 100%; height: 10px; accent-color: var(--orange, #ee3b0c); }
.pwo-queue .pwo-failed [data-pwo-status] { font-weight: 700; color: var(--orange-text, #c42f06); }
.pwo-files { border-top: 1px solid var(--line, #d3d0c7); }
.pwo-files li { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line, #d3d0c7); overflow-wrap: anywhere; }
.pwo-files p { margin: 0; }
.pwo-media-form { display: grid; gap: 6px; }
.pwo-media-form label { font-weight: 700; font-size: 0.95rem; }
.pwo-media-form .btn { justify-self: start; }
