.capture-dialog{width:min(920px,96vw);max-height:94dvh;overflow:auto;padding:24px;border:1px solid var(--line,#ccd9d4);border-radius:20px;background:var(--linen-paper,#fff);color:var(--ink,#193a32)}
.capture-dialog::backdrop{background:#071d25b3}.capture-dialog [hidden]{display:none!important}
.capture-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.capture-heading h2{margin:0}
.capture-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr);gap:22px;margin-top:16px}
.capture-preview{display:block;width:100%;height:auto;background:#20332e;border-radius:12px;touch-action:none;cursor:crosshair}
.capture-status{min-height:1.5em;line-height:1.5}.capture-advice{padding-left:20px;line-height:1.6}.capture-advice li{margin:10px 0}
.capture-advice [data-kind="warning"]::marker{color:#b67822}.capture-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:16px}
.capture-dialog button{min-height:44px}.capture-ocr-controls{display:flex;gap:8px;flex-wrap:wrap}.capture-ocr-controls input{width:150px;max-width:100%;padding:10px}
.capture-help{font-size:.9em;line-height:1.6;opacity:.85}.capture-dialog progress{width:100%}
.capture-photo-help{margin-top:12px}
@media(max-width:650px){.capture-grid{grid-template-columns:1fr}.capture-dialog{padding:16px}.capture-actions{justify-content:stretch}.capture-actions button{flex:1}}
