/* Public /c capture page. Layered on cloud-kit.css tokens; mobile-first single column. */
.consent { max-width: 34rem; margin-inline: auto; }
.consent__list { margin: 0; padding-left: 1.25rem; display: grid; gap: .75rem; font-size: 1.0625rem; line-height: 1.45; }
.consent__accept { margin: 0; font-size: .9375rem; color: var(--ink-soft, inherit); }
.consent__actions { display: flex; flex-direction: column-reverse; gap: .75rem; }
.consent__btn { width: 100%; min-height: 3rem; text-align: center; }
@media (min-width: 30rem) { .consent__actions { flex-direction: row; justify-content: flex-end; } .consent__btn { width: auto; min-width: 9rem; } }
.capture { max-width: 34rem; margin-inline: auto; }
.capture__stage { width: 100%; min-height: 18rem; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--primary-tint); }
.capture__stage:not(:empty) { border-style: solid; }
.password { max-width: 34rem; margin-inline: auto; }
.password__form { display: grid; gap: .75rem; }
.password__label { font-weight: 600; }
.password__input { width: 100%; min-height: 3rem; padding: .5rem .75rem; font: inherit; border: 2px solid var(--line); border-radius: var(--radius); }
.password__btn { width: 100%; min-height: 3rem; }
.password__error { margin: 0; color: #b3261e; font-weight: 600; }

/* ---- B3: live camera capture (mobile-first; tap targets >= 3rem) ---- */
.capture__title { margin: 0 0 .75rem; font-size: 1.5rem; text-align: center; }
.capture__stage { min-height: 0; border: 0; background: none; }
.capture__stage:not(:empty) { border: 0; }
.cap-live, .cap-review { display: grid; gap: .875rem; }
.cap-live { touch-action: pan-x pan-y; } /* disable pinch-zoom (page-lock, goal #4) but keep single-finger page+picker scroll on the flowing cloud page; iOS pinch is caught by the gesturestart guard in public-capture.js */
.cap-live[hidden], .cap-review[hidden] { display: none; }
.cap-frame { position: relative; width: 100%; aspect-ratio: 3 / 4; background: #0e1424; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(23, 32, 51, .18); }
.cap-frame__media, .cap-frame__overlay { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cap-frame__media { object-fit: cover; }
.cap-frame__overlay { object-fit: fill; pointer-events: none; }
.cap-frame__overlay[hidden] { display: none; }
.cap-countdown { position: absolute; inset: 0; display: grid; place-items: center; font-size: 7rem; font-weight: 700; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); background: rgba(14, 20, 36, .25); }
.cap-countdown[hidden] { display: none; }
.cap-error { padding: 1rem; border: 1px solid var(--bloom-edge); background: var(--bloom-wash); color: var(--bloom-ink); border-radius: var(--radius); display: grid; gap: .75rem; }
.cap-error[hidden] { display: none; }
.cap-error__text { margin: 0; font-weight: 600; }
.cap-picker { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .125rem .5rem; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.cap-picker[hidden] { display: none; }
.cap-chip { flex: 0 0 auto; scroll-snap-align: start; min-width: 4.5rem; min-height: 3.5rem; display: grid; justify-items: center; gap: .25rem; padding: .375rem .5rem; font: inherit; font-size: .8125rem; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.cap-chip.is-current { border-color: var(--primary); background: var(--primary-tint); font-weight: 600; }
.cap-chip__img { width: 3rem; height: 3.75rem; object-fit: contain; background: repeating-conic-gradient(#e9edf8 0% 25%, #fff 0% 50%) 50% / 12px 12px; border-radius: 4px; }
.cap-actions { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; }
.cap-zoom { justify-self: end; display: inline-flex; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.cap-zoom__btn { width: 3rem; min-width: 2.75rem; height: 3.25rem; padding: 0; font: inherit; font-size: 1.5rem; font-weight: 600; line-height: 1; color: var(--primary-deep); background: transparent; border: 0; cursor: pointer; touch-action: manipulation; }
.cap-zoom__btn + .cap-zoom__btn { border-left: 2px solid var(--line); }
.cap-zoom__btn:active:not(:disabled) { background: var(--primary-tint); }
.cap-zoom__btn:disabled { opacity: .35; cursor: not-allowed; }
.cap-zoom__btn:focus-visible { outline: 3px solid var(--primary-deep); outline-offset: -3px; }
.cap-actions--review { grid-template-columns: 1fr 1fr; }
.cap-btn { min-height: 3.25rem; width: 100%; }
.cap-btn--side { justify-self: start; width: auto; min-width: 5rem; }
.cap-shutter { width: 5rem; height: 5rem; padding: 0; border-radius: 50%; border: 0; background: var(--primary); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(43, 79, 181, .4); }
.cap-shutter__ring { width: 4rem; height: 4rem; border-radius: 50%; border: 3px solid #fff; }
.cap-shutter:active:not(:disabled) { transform: scale(.95); background: var(--primary-deep); }
.cap-shutter:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.cap-shutter:focus-visible, .cap-chip:focus-visible { outline: 3px solid var(--primary-deep); outline-offset: 3px; }
.cap-result { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(23, 32, 51, .18); }
.cap-phone { display: grid; gap: .375rem; }
.cap-phone__label { font-weight: 600; }
.cap-phone__opt { font-weight: 400; color: var(--ink-soft); }
.cap-phone__input { width: 100%; min-height: 3rem; padding: .5rem .75rem; font: inherit; border: 2px solid var(--field-border); border-radius: var(--radius); }
.cap-phone__input[aria-invalid="true"] { border-color: #b3261e; }
.cap-phone__error { margin: 0; color: #b3261e; font-weight: 600; font-size: .9375rem; }
.cap-phone__error[hidden] { display: none; }
.cap-status { margin: .875rem 0 0; padding: .5rem .875rem; text-align: center; border-radius: 999px; font-size: .9375rem; font-weight: 600; background: var(--primary-tint); color: var(--primary-deep); }
.cap-status[hidden] { display: none; }
.cap-status[data-state="sent"] { background: var(--save-wash); color: var(--save); }
.cap-status[data-state="retry"] { background: var(--honey-wash); color: var(--honey); }
@media (min-width: 40rem) { .cap-frame { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .cap-shutter:active:not(:disabled) { transform: none; } }
