.capture-photo-card{max-width:1000px;margin-left:auto;margin-right:auto}.capture-unit{padding-bottom:16px;margin-bottom:24px;border-bottom:1px solid var(--line)}.capture-unit .field{margin:0}.capture-photo-heading{display:flex;gap:24px;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.capture-photo-heading h2{font-size:23px;margin:10px 0 12px}.capture-photo-heading p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}.capture-photo-card .v-pick-row{margin-bottom:24px}.capture-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.capture-previews figure{margin:0}.capture-preview-button{display:block;width:100%;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface-soft);cursor:zoom-in;color:var(--ink)}.capture-preview-button img{width:100%;height:220px;object-fit:contain;display:block;padding:12px}.capture-preview-button>span{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;padding:10px;border-top:1px solid var(--line);background:var(--surface)}.capture-preview-button svg{width:15px;height:15px}.capture-previews figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-top:8px}.capture-cache-status{font-size:12px;color:var(--green);margin:18px 0;min-height:20px}.capture-legibility{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;padding:20px 22px;margin:28px 0 24px}.capture-legibility .check-row{margin:12px 0 0;padding:0;line-height:1.8;font-size:13px}.capture-legibility input{width:20px;height:20px;min-width:20px}.capture-loading,.capture-success{max-width:800px;margin:32px auto;text-align:center;padding:48px 36px!important}.capture-loading h2,.capture-success h2{margin:24px 0 16px;font-size:25px}.capture-loading>p,.capture-success>p{max-width:58ch;margin:16px auto 24px;color:var(--muted);font-size:13px;line-height:1.8}.capture-loading .text-button{display:flex;margin:12px auto}.capture-loading>.spinner{display:block;margin:0 auto;width:34px;height:34px}.capture-reading-icon{display:inline-flex;position:relative;align-items:center;justify-content:center;width:86px;height:86px;background:var(--surface-soft);border-radius:24px;color:var(--green)}.capture-reading-icon>svg{width:36px;height:36px}.capture-reading-icon>.spinner{position:absolute;width:100%;height:100%;border-radius:24px;border-width:2px}.capture-progress{display:flex;gap:20px;justify-content:center;list-style:none;padding:0;margin:32px 0}.capture-progress li{font-size:12px;color:var(--muted);padding:12px 0;border-bottom:2px solid var(--line)}.capture-progress li.complete{color:var(--green);border-color:var(--green)}.capture-progress li.current{font-weight:650;color:var(--ink);border-color:var(--focus)}.capture-success-icon{display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;background:var(--surface-soft);color:var(--green);margin:0 auto}.capture-success-icon svg{width:36px;height:36px}.capture-success .form-actions{justify-content:center}.capture-manual-photo{padding:24px}.capture-manual-gallery{display:flex;flex-wrap:wrap;gap:20px;justify-content:flex-start}.capture-manual-gallery button{padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;max-width:100%;width:270px;display:block;background:var(--surface-soft);color:var(--ink);cursor:zoom-in}.capture-manual-gallery img{width:100%;height:280px;object-fit:contain;display:block;padding:14px}.capture-manual-gallery span{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;padding:12px;border-top:1px solid var(--line);background:var(--surface)}.capture-manual-gallery svg{width:16px;height:16px}.manual-capture-form .v-votes{display:block}.manual-capture-form #capture-reference{display:none}.manual-capture-form .v-side{margin-top:28px}.manual-capture-form #capture-sum{max-width:700px}.manual-capture-form .capture-candidate-row{max-width:800px}.capture-zoom-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin:20px 0}.capture-zoom-viewport{max-height:65dvh;overflow:auto;padding:16px;background:var(--surface-soft);border:1px solid var(--line);border-radius:10px}.capture-zoom-viewport img{display:block;width:100%;max-width:100%;height:auto;transform-origin:top left}.acta-findings .field{margin-top:18px}.acta-findings summary{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.finding-dismissed{opacity:.8;background:var(--surface-soft)!important;border-color:var(--line)!important;color:var(--muted)!important}#finding-controls{margin:20px 0 32px}#finding-controls .form-error{margin-top:16px}
@media(max-width:700px){.capture-photo-heading{display:block}.capture-photo-heading .text-button{margin-top:12px}.capture-photo-heading h2{font-size:21px}.capture-previews{grid-template-columns:1fr;gap:18px}.capture-preview-button img{height:300px}.capture-photo-card .v-pick-row{gap:14px}.capture-photo-card .v-pick{min-height:110px}.capture-legibility{padding:18px}.capture-photo-card .form-actions .button{width:100%}.capture-progress{gap:12px}.capture-progress li{font-size:10px}.capture-loading,.capture-success{padding:32px 22px!important}.capture-loading h2,.capture-success h2{font-size:22px}.capture-manual-gallery{justify-content:center}.capture-manual-gallery button{width:100%}.capture-manual-gallery img{height:330px}.capture-manual-photo .card-header{margin-bottom:20px}.acta-findings summary{flex-wrap:wrap}}

.capture-manual-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.capture-manual-gallery button:only-child{grid-column:1/-1;width:100%;max-width:100%}.capture-manual-gallery button:only-child img{height:400px}.capture-previews:has(figure:only-child){grid-template-columns:minmax(0,360px);justify-content:center}.manual-capture-form .v-nav{position:static;background:transparent;box-shadow:none;border-top:1px solid var(--line);padding-top:24px}@media(max-width:700px){.capture-manual-gallery{grid-template-columns:1fr}.capture-manual-gallery button:only-child img{height:340px}}

.capture-retake-section{margin-top:32px;padding-top:28px;border-top:1px solid var(--line)}.capture-retake-section>p{color:var(--muted);line-height:1.8;margin:14px 0 24px}.capture-retake-section .v-pick-row{margin-top:24px}.capture-retake-section .capture-previews{margin-bottom:24px}.capture-manual-photo>h3{margin:24px 0 12px}.capture-manual-photo .capture-manual-gallery button{width:100%;max-width:100%}.acta-photo-tabs{flex-wrap:wrap;gap:8px}.acta-photo-tab{font-size:11px!important;white-space:normal}.acta-removed-photos{padding:20px;border:1px solid var(--line);border-radius:12px;margin:24px 0}.acta-removed-photos p{line-height:1.7;margin-top:18px}#modal[role=alertdialog] p{line-height:1.8;margin:20px 0}#modal[role=alertdialog] .form-actions{margin-top:28px}
