.capture-page{min-width:0;color:var(--text-primary,#243746)}
.capture-card{background:#fff;border:1px solid #e0e8ef;border-radius:10px;padding:20px;margin-bottom:16px;min-width:0}
.capture-card header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}
.capture-card h2{font-size:18px;margin:0 0 6px}.capture-card h3{font-size:15px;margin:16px 0 10px}
.capture-card p{line-height:1.6;margin:8px 0}.capture-card a{color:#08798b}.capture-card small{display:block;color:#61778a;font-size:12px;margin-top:5px}
.capture-review-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.capture-card label{display:flex;flex-direction:column;gap:8px;font-size:14px;margin:14px 0}
.capture-card input:not([type=checkbox]),.capture-card select,.capture-card textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd8e2;border-radius:6px;padding:10px;font:inherit;background:#fff;color:#243746}
.capture-card input:focus,.capture-card textarea:focus,.capture-card select:focus{outline:2px solid #08798b;outline-offset:1px}
.capture-card .capture-check{flex-direction:row;align-items:flex-start;gap:8px;min-width:0;line-height:1.5;white-space:normal;overflow-wrap:anywhere}.capture-card .capture-check input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-width:18px;min-height:18px;margin:2px 0 0}
.capture-card blockquote{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;padding:16px;background:#f5f8fa;border-left:3px solid #0b7b8d}
.capture-card details{border-top:1px solid #e0e8ef;padding-top:12px;margin-top:16px}.capture-card summary{cursor:pointer;font-weight:600;padding:6px 0}
.capture-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px}.capture-card button{border:1px solid #cbd8e2;background:white;border-radius:6px;min-height:40px;padding:9px 14px;color:#325267;cursor:pointer;font:inherit}.capture-card button.is-primary{background:#0b7588;color:white;border-color:#0b7588}
.capture-hint{font-size:12px;color:#52697d}.capture-warning{color:#984b0a;background:#fff5e9;padding:10px}.capture-empty{padding:32px;text-align:center}
.capture-scroll{overflow-x:auto;max-width:100%}.capture-card table{border-collapse:collapse;width:100%;font-size:14px}.capture-card th,.capture-card td{text-align:left;padding:13px 12px;border-bottom:1px solid #e4ecf2;vertical-align:top}.capture-card th{background:#f5f8fa;color:#415e72;white-space:nowrap}.capture-card td{min-width:100px;overflow-wrap:anywhere}
.capture-detail-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px;margin:0}.capture-detail-fields>div{padding:12px 0;border-bottom:1px solid #e4ecf2}.capture-detail-fields dt{color:#61778a;font-size:12px}.capture-detail-fields dd{margin:5px 0 0;font-weight:600;overflow-wrap:anywhere}.capture-detail-section{padding-top:8px}.capture-log-detail .capture-detail-section p{white-space:pre-wrap}
.capture-page.is-mobile .capture-card{padding:16px}.capture-page.is-mobile .capture-actions{position:sticky;bottom:0;background:#fff;padding:12px 0;justify-content:stretch}.capture-page.is-mobile .capture-actions button{flex:1;min-height:44px}.capture-page.is-mobile .capture-review-grid{grid-template-columns:1fr}.capture-page.is-mobile input,.capture-page.is-mobile select,.capture-page.is-mobile textarea{font-size:16px}
.capture-page.is-mobile .capture-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.capture-page.is-mobile .capture-record-list article{padding:14px 0}
@media(max-width:960px){.capture-review-grid{grid-template-columns:1fr}.capture-card{padding:16px}.capture-card header{align-items:flex-start}}

.capture-evidence{display:block;max-width:100%;max-height:400px;object-fit:contain;margin:10px auto}
.capture-card .capture-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:0 0 16px}.capture-card .capture-filters label{margin:0;flex:1;min-width:160px}.capture-filters a{padding:10px}
.capture-voice-input{padding:12px;border:1px solid #c9dfe5;border-radius:8px;background:#f7fbfc}.capture-voice-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.capture-card .capture-voice-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border-color:#0b7588;background:#e9f5f7;color:#08677a;font-weight:600}.capture-card .capture-voice-toolbar button.is-recording{border-color:#b94b41;background:#fff0ed;color:#a5342b}.capture-voice-toolbar>span{flex:1;min-width:140px;color:#52697d;font-size:12px;line-height:1.5}.capture-voice-input label{margin-bottom:10px}
.capture-list-summary{display:flex;align-items:center;justify-content:space-between;margin:2px 2px 14px;color:#19364e}.capture-list-summary strong{font-size:15px}.capture-list-summary span{color:#73879a;font-size:12px}
.capture-page.is-mobile .capture-record-list{display:grid;gap:12px}
.capture-page.is-mobile .capture-record-list>.capture-record-card{display:block;min-width:0;margin:0;padding:16px;border:1px solid #e2eaf2;border-radius:15px;background:#fff;box-shadow:0 4px 14px rgb(21 54 91 / 5%)}
.capture-record-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.capture-record-card__source{min-width:0;overflow:hidden;color:#687d91;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.capture-record-card__source b{color:#59718a;font-weight:600}
.capture-record-card__status{flex:none;padding:4px 9px;border-radius:6px;background:#fff4df;color:#a7680d;font-size:11px;font-weight:600}
.capture-record-card--confirmed .capture-record-card__status{background:#eaf8ef;color:#228351}.capture-record-card--returned .capture-record-card__status{background:#f1f4f7;color:#687d91}
.capture-record-card h3{margin:13px 0 14px;color:#17324b;font-size:16px;line-height:1.4}
.capture-record-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:0}.capture-record-card dt{color:#8393a2;font-size:11px}.capture-record-card dd{margin:4px 0 0;color:#243f55;font-size:13px;font-weight:600}
.capture-record-card__action{display:flex;align-items:center;justify-content:space-between;min-height:42px;margin-top:14px;padding:12px 0 0;border-top:1px solid #e8edf3;color:#087c94;font-size:13px;font-weight:600;text-decoration:none}.capture-record-card__action span:last-child{font-size:22px;font-weight:400;line-height:14px}
.capture-header-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}

/* M21: keep the capture, candidate and confirmation steps visually distinct. */
.capture-page.is-mobile .capture-mobile-editor{padding:0;border:0;background:transparent;box-shadow:none}
.capture-mobile-editor .capture-mobile-head{align-items:flex-end;margin:0 0 14px;padding:0 2px}
.capture-mobile-head>div{min-width:0}
.capture-mobile-head>div>span{display:block;margin-bottom:4px;color:#0b7285;font-size:11px;font-weight:700;letter-spacing:.08em}
.capture-mobile-head h2{margin:0;color:#17324b;font-size:20px;line-height:1.3}
.capture-mobile-head>a{flex:0 0 auto;padding:6px 0;color:#0b7285;font-size:12px;font-weight:600;text-decoration:none}
.capture-mobile-form{min-width:0}
.capture-mobile-panel{min-width:0;margin:0 0 12px;padding:16px;border:1px solid #dce6ec;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgb(24 55 76 / 4%)}
.capture-step-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.capture-step-title>span{display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;border-radius:8px;background:#e7f3f5;color:#087386;font-size:11px;font-weight:750}
.capture-step-title>div{min-width:0}
.capture-step-title h3{margin:0;color:#17324b;font-size:15px;line-height:1.3}
.capture-step-title p{margin:3px 0 0;color:#687d8c;font-size:11px;line-height:1.4}
.capture-mobile-form .capture-mobile-panel label{margin:12px 0 0;color:#425c70;font-size:12px;font-weight:600}
.capture-mobile-form .capture-mobile-panel :is(input:not([type=checkbox]),select,textarea){border-color:#cbd9e2;background:#fbfdfe;color:#17324b;font-weight:400}
.capture-mobile-form .capture-mobile-panel :is(input:not([type=checkbox]),select,textarea):focus{border-color:#0b7285;background:#fff}
.capture-mobile-form .capture-task-fields label:first-child{margin-top:0}
.capture-task-panel small{color:#6e8393;font-size:11px;font-weight:400}
.capture-page.is-mobile .capture-voice-input{border-color:#bddde2;background:#f2f9fa;box-shadow:inset 3px 0 0 #0b7285}
.capture-voice-input .capture-step-title>span{background:#d9eef1}
.capture-voice-input .capture-voice-toolbar{display:grid;gap:7px}
.capture-card .capture-voice-toolbar button{width:100%;min-height:50px;border-color:#0b7285;border-radius:8px;background:#0b7285;color:#fff;font-size:14px}
.capture-card .capture-voice-toolbar button.is-recording{border-color:#b94b41;background:#b94b41;color:#fff}
.capture-voice-toolbar>span{min-width:0;text-align:center;color:#5b7383;font-size:11px}
.capture-mobile-form .capture-voice-input label{margin-top:13px}
.capture-voice-input textarea{min-height:76px}
.capture-card .capture-voice-input [data-action="capture-voice"]{width:100%;min-height:40px;margin-top:11px;border-color:#9fc7d0;background:#fff;color:#0b7285;font-size:12px;font-weight:650}
.capture-voice-input .capture-hint{margin:8px 0 0;color:#5b7383;font-size:11px}
.capture-card .capture-text-source{margin:0 2px 12px;padding:0;border:0}
.capture-text-source summary{color:#0b7285;font-size:12px}
.capture-text-source[open]{padding:0 12px 12px;border:1px solid #dce6ec;border-radius:9px;background:#fff}
.capture-mobile-form .capture-review-panel input[type=file]{min-height:60px;padding:9px;border-style:dashed;background:#f8fbfd}
.capture-card .capture-review-panel [data-action="capture-attach"]{width:100%;min-height:38px;margin-top:10px;border-color:#c5d8e2;color:#0b7285;font-size:12px}
.capture-mobile-form .capture-review-panel .capture-check{margin-top:18px;padding-top:14px;border-top:1px solid #e7edf1;color:#30495e;font-size:12px}
.capture-page.is-mobile .capture-mobile-form>.capture-actions{z-index:4;margin:0 -2px;padding:10px 2px 12px;border-top:1px solid #dce6ec;background:#fff;box-shadow:0 -6px 12px rgb(24 55 76 / 5%)}
.capture-page.is-mobile .capture-mobile-form>.capture-actions button{border-radius:8px;font-size:13px;font-weight:650}
