.capture-dialog{padding:0;border:1px solid #e3e7eb;border-radius:24px;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 40px);box-shadow:0 30px 100px #101a3040;background:#fff;overscroll-behavior:contain}.capture-dialog.wide{width:min(700px,calc(100% - 32px))}.capture-dialog::backdrop{background:#10202b85;backdrop-filter:blur(5px)}.capture-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 28px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:3}.capture-head .eyebrow{font-size:9px;letter-spacing:.12em;color:var(--muted)}.capture-head h2{font-size:23px;margin-top:8px}.capture-head .icon-button{flex-shrink:0;border:0;background:#f4f5f7}.capture-body{padding:24px 28px}.capture-field{display:flex;flex-wrap:wrap;gap:8px;font-size:13px}.capture-field input,.capture-field textarea,.capture-field select{width:100%;font-size:14px}.capture-tabs{display:flex;padding:4px;background:#f2f4f6;border-radius:12px;margin:20px 0;gap:5px}.capture-tabs button{border:0;background:transparent;flex:1;font-size:13px;border-radius:9px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 6px}.capture-tabs button.selected{background:#fff;color:var(--blue);box-shadow:0 2px 5px #1a21300a}.camera-stage{position:relative;background:#172327;border-radius:16px;aspect-ratio:16/9;overflow:hidden;color:#fff}.camera-stage video{width:100%;height:100%;object-fit:contain}.camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px;text-align:center;background:radial-gradient(ellipse at 30% 20%,#344542,#172327)}.camera-placeholder>svg{color:var(--lime);margin-bottom:16px}.camera-placeholder h3{font-size:18px;margin-bottom:10px}.camera-placeholder p{color:#c0cdca;font-size:13px}.frame-corner{position:absolute;width:20px;height:20px;border-color:#e9f7d880;border-style:solid;pointer-events:none}.tl{top:16px;left:16px;border-width:1px 0 0 1px}.tr{top:16px;right:16px;border-width:1px 1px 0 0}.bl{bottom:16px;left:16px;border-width:0 0 1px 1px}.br{bottom:16px;right:16px;border-width:0 1px 1px 0}.record-timer{position:absolute;top:20px;left:24px;display:flex;gap:8px;align-items:center;font:12px var(--mono);background:#10171cc9;padding:5px 10px;border-radius:6px}.record-timer i,.record-button i{width:10px;height:10px;border-radius:50%;background:#f15151}.camera-controls{display:flex;justify-content:center;gap:10px;margin:18px 0 12px}.record-button{color:#c32d2d;border-color:#edbebe}.capture-hint{font-size:12px;color:var(--muted);text-align:center;line-height:1.7}.upload-zone{min-height:250px;border:1.5px dashed #bdc7d3;border-radius:16px;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;background:#fafbfe;text-align:center;padding:28px;cursor:pointer}.upload-zone>svg{color:var(--blue)}.upload-zone strong{font-size:18px}.upload-zone>span:not(.button){font-size:12px;font-weight:400;color:var(--muted)}.upload-zone.dragging{background:var(--blue-soft);border-color:var(--blue)}.file-input{width:100%;font-size:12px;margin-top:10px;border:0;padding:8px 0}.capture-dialog video:not(#camera-live){width:100%;max-height:340px;min-height:160px;object-fit:contain;border-radius:14px;background:#101719}.preview-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);padding:10px 0 16px}.preview-meta .button{font-size:12px;padding:6px 9px}.capture-form{display:grid;gap:18px}.optional{font-weight:400;color:var(--muted)}.consent-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;font-weight:400;padding:12px;border-radius:10px;background:#f6f8fa}.consent-check input{width:18px;height:18px;min-height:18px;flex-shrink:0;margin:2px 0 0;accent-color:var(--blue)}.save-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.capture-status{font-size:13px;margin:16px 0;color:#365c3b;min-height:20px}.capture-status.is-error{color:#b33232}.local-notice{display:flex;gap:9px;align-items:flex-start;padding:13px 0;border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.7}.local-notice svg{margin-top:1px}.save-success{text-align:center}.success-mark{display:inline-flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:50%;background:var(--lime);margin:12px 0 24px}.save-success h3{font-size:22px}.save-success p{margin:12px 0;font-size:14px}.save-success .save-actions{justify-content:center;margin:26px 0 20px}.guide-title{padding:24px;border-radius:16px;background:#eaf4d9}.guide-title.blue{background:#eaf0ff}.guide-title.peach{background:#ffeddf}.guide-title.lavender{background:#efebfc}.guide-title.sand{background:#f6f0df}.guide-title.mint{background:#e1f1e9}.guide-title h3{font-size:26px;margin:20px 0 12px}.guide-title p{font-size:14px}.guide-steps{list-style:none;padding:0;margin:24px 0}.guide-steps li{display:flex;gap:16px;margin:18px 0;align-items:flex-start;font-size:14px}.guide-steps li span{font:12px var(--mono);color:var(--blue);padding-top:3px}.example-preview{display:flex;flex-direction:column;gap:15px;align-items:center;justify-content:center;min-height:220px;border-radius:16px;background:#f0f3ed;text-align:center}.example-preview>svg{color:#779b42}.example-preview p{font-size:13px;color:var(--muted)}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.detail-actions .button{padding:10px 13px;font-size:12px}.delete-confirm{border:1px solid #f0caca;background:#fff8f8;padding:16px;border-radius:12px;font-size:13px;margin-top:20px}.delete-confirm .save-actions{margin-top:16px}@media(max-width:540px){.capture-dialog,.capture-dialog.wide{width:calc(100% - 16px);max-height:calc(100dvh - 20px);border-radius:20px}.capture-head{padding:18px}.capture-head h2{font-size:19px}.capture-head .eyebrow{font-size:8px}.capture-body{padding:18px}.camera-stage{aspect-ratio:4/3}.camera-placeholder{padding:24px}.camera-placeholder h3{font-size:17px}.capture-tabs button{font-size:12px;gap:6px}.save-actions .button{flex:1;padding:11px 12px;font-size:12px}.consent-check{font-size:11px}.guide-title h3{font-size:23px}.local-notice{font-size:11px}.upload-zone{padding:24px 16px;min-height:230px}}
