.capture-controls{margin:12px 0 12px;padding:0 2px;color:var(--ink,#203730)}
.capture-controls[hidden]{display:none}
.capture-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.capture-actions button,.capture-result-actions button{font:inherit;font-size:13px;font-weight:600;border:1px solid #afbbb1;border-radius:22px;background:transparent;color:inherit;min-height:42px;padding:9px 17px;cursor:pointer}
.capture-actions button:hover:not(:disabled){background:#e5ebe2}
.capture-actions button:disabled{opacity:.5;cursor:default}
.capture-actions button[hidden]{display:none}
.capture-actions .is-recording{background:#8a302b;color:#fff;border-color:#8a302b}
.capture-help{font-size:12px;line-height:1.5;margin:7px 0 0;color:#596c63;max-width:70ch}
.capture-dialog{box-sizing:border-box;border:1px solid #c2cec1;border-radius:14px;padding:0;width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;background:#f8f7f0;color:#203730;box-shadow:0 18px 80px #05151055}
.capture-dialog::backdrop{background:#07150ec4}
.capture-dialog-body{padding:20px}
.capture-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.capture-dialog-heading h2{font-size:21px;line-height:1.3;margin:0}
.capture-close{font:inherit;font-size:25px;line-height:1;border:1px solid #ccd3c8;background:transparent;color:inherit;border-radius:50%;width:42px;height:42px;flex-shrink:0;cursor:pointer}
.capture-result-media{background:#11241b;border-radius:7px;overflow:hidden;display:flex;justify-content:center;align-items:center;min-height:80px}
.capture-result-media img,.capture-result-media video{display:block;width:100%;max-height:48dvh;object-fit:contain}
.capture-result-place{font-size:17px;font-weight:600;margin:15px 0 4px}
.capture-result-detail,.capture-result-source,.capture-result-note,.capture-result-status{font-size:12px;line-height:1.6;margin:4px 0;color:#52665b}
.capture-result-source a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.capture-result-note{margin-top:12px}
.capture-result-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}
.capture-result-actions .capture-save{background:#285e4c;color:#fff;border-color:#285e4c}
.capture-result-actions .capture-discard{margin-left:auto;border-color:transparent;font-weight:400}
.capture-result-actions button[hidden]{display:none}
.capture-result-status:empty{display:none}
.capture-result-status{margin-top:10px}
.capture-dialog button:focus-visible,.capture-controls button:focus-visible{outline:2px solid #285e4c;outline-offset:3px}
@media(max-width:600px){.capture-controls{margin-top:9px}.capture-actions button{min-height:44px;padding:9px 14px}.capture-help{font-size:11px}.capture-dialog-body{padding:15px}.capture-dialog-heading h2{font-size:19px}.capture-result-media img,.capture-result-media video{max-height:43dvh}.capture-result-actions button{min-height:44px}}
