/* Layout: one phone-width column, one step per screen, progress strip of photo slots up top */
.app { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }

.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.slot { aspect-ratio: 3 / 4; max-width: 100%; border-radius: 8px; border: 1.5px dashed var(--line); background: var(--surface); overflow: hidden; position: relative; padding: 0; min-height: 0; cursor: pointer; color: var(--muted); font: 600 11px var(--mono); }
.slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot.done { border-style: solid; border-color: var(--ok); }
.slot.current { border-style: solid; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.slot:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.checklist .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 600 12px var(--mono); }

.guide { background: var(--guide-bg); border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 5 / 6; max-width: 100%; position: relative; overflow: hidden; display: grid; place-items: center; }
.guide svg { width: 72%; height: auto; color: var(--ink); }
.guide img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide .corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--accent); }
.c1 { top: 12px; left: 12px; border-right: 0 !important; border-bottom: 0 !important; border-radius: 6px 0 0 0; }
.c2 { top: 12px; right: 12px; border-left: 0 !important; border-bottom: 0 !important; border-radius: 0 6px 0 0; }
.c3 { bottom: 12px; left: 12px; border-right: 0 !important; border-top: 0 !important; border-radius: 0 0 0 6px; }
.c4 { bottom: 12px; right: 12px; border-left: 0 !important; border-top: 0 !important; border-radius: 0 0 6px 0; }
.badge { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: var(--ok); color: var(--surface); font: 600 12px var(--mono); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }

.tips { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.tips b { color: var(--ink); font-weight: 600; }
.file-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

form { display: flex; flex-direction: column; gap: 16px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .legend { font-weight: 600; font-size: 15px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 99px; border: 1.5px solid var(--line); font-size: 15px; background: var(--surface); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); font-weight: 600; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.review-grid figure { margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.review-grid img, .review-grid .skipped { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.review-grid .skipped { display: grid; place-items: center; border-style: dashed; color: var(--muted); font: 600 11px var(--mono); }
.review-grid figcaption { font-size: 12px; color: var(--muted); line-height: 1.3; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }

.progress { height: 6px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--cta); width: 0; transition: width .2s; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.ref { font-family: var(--mono); font-size: 15px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; align-self: flex-start; user-select: all; }
.phone { font-weight: 600; user-select: all; white-space: nowrap; }
