/* Capture, document review and inline reauthentication. */
.wp-review-outcome{padding:22px;margin:18px 0;border:1px solid #77c4a4;border-radius:18px;background:#effbf5;color:#133a2b;scroll-margin-top:80px;box-shadow:0 8px 24px #17462b08}
.wp-review-outcome h3{margin:0 0 12px;font-size:1.2rem}.wp-review-outcome[data-state=approved] h3:before,.wp-review-outcome[data-state=active] h3:before{content:'✓';display:inline-grid;place-items:center;margin-right:10px;width:30px;height:30px;border-radius:50%;background:#19734a;color:white}
.wp-review-outcome p{line-height:1.55;overflow-wrap:anywhere}.wp-review-outcome dl{display:grid;grid-template-columns:minmax(100px,.75fr) minmax(0,1fr);gap:8px;font-size:.92rem}.wp-review-outcome dd{margin:0;overflow-wrap:anywhere}.wp-review-outcome dt{font-weight:650}
.wp-review-outcome[data-state=rejected],.wp-review-outcome[data-state=suspended],.wp-review-outcome[data-state=changes_requested]{background:#f8fafc;border-color:#c5d0df;color:#20384c}
.wp-next-step{margin:14px 0;padding:14px;border:1px solid #e5c787;background:#fff9eb;color:#614815;border-radius:12px}.wp-next-step li{margin:8px 0;line-height:1.45}.wp-outcome-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.wp-after-decision{margin:24px 0;border:1px solid #d8e1ea;border-radius:16px;padding:18px;background:#f8fafc}.wp-after-decision>summary{cursor:pointer;font-weight:700;min-height:28px}.wp-after-decision>p{line-height:1.5;color:#536271}
.wp-reviewed-warnings{margin:14px 0;padding:12px;border-radius:10px;background:#f1f5f9;color:#475569}.wp-reviewed-warnings summary{cursor:pointer;font-weight:650}.wp-reviewed-warnings .wp-review-issue{border-left-color:#94a3b8;background:#e9eef4;color:#475569}
#chatModal[data-layout=camera]{padding:0;background:#090c12;color:#fff}
#chatModal[data-layout=camera] .wc-dialog{width:min(100%,620px);max-height:100dvh;border-radius:24px;background:#090c12;color:#fff}
#chatModal[data-layout=camera] #chatModalBody{padding:0;overflow:auto;background:#090c12;color:#fff}
.wc-capture-stage{position:relative;overflow:hidden;background:#000;min-height:240px;height:min(59dvh,660px);border-radius:18px}
.wc-capture-stage video{width:100%;height:100%;object-fit:contain}.wc-capture-stage video.is-front{transform:scaleX(-1)}
.wc-capture-hint{position:absolute;inset:auto 20px 16px;padding:12px 16px;border-radius:16px;background:#111c;line-height:1.5;text-align:center;color:#fff}
.wc-capture-timer{position:absolute;top:16px;left:50%;transform:translateX(-50%);padding:6px 12px;border-radius:999px;background:#161b25cf;font-variant-numeric:tabular-nums;font-weight:700;color:#fff}
.is-recording .wc-capture-timer{background:#ad182b}.is-recording .wc-capture-timer:before{content:'●';margin-right:8px}
.wc-capture-controls{display:grid;grid-template-columns:1fr 1.4fr 1fr;align-items:center;gap:10px;padding:14px 12px}
.wc-capture-controls button,.wc-capture-modes button,.wc-capture-native{min-height:48px;border:1px solid #ffffff35;background:#202634;color:#fff;border-radius:16px;font:inherit;padding:10px;cursor:pointer}
.wc-capture-controls .wc-capture-shutter{min-height:76px;border:5px solid #c7f6fb;border-radius:38px;background:#e3fbfd;color:#083944;font-weight:800}
.is-recording~.wc-capture-controls .wc-capture-shutter{background:#db263d;color:white}
.wc-capture-modes{display:flex;justify-content:center;gap:12px;padding:12px 12px 0}.wc-capture-modes [aria-pressed=true]{background:#d6f7fa;color:#063540;font-weight:700}
.wc-capture-native{display:block;margin:0 auto 10px;padding:10px 20px}.wc-capture-help{display:block;padding:0 20px max(18px,env(safe-area-inset-bottom));text-align:center;color:#ccd4e1}
.wc-capture-controls button:disabled,.wc-capture-modes button:disabled{opacity:.5}
.wp-review-intro{padding:20px 0}.wp-official-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.wp-official-links a{padding:11px 14px;border:1px solid #cbd5e1;border-radius:12px;color:#17437d;background:#f5f9ff;overflow-wrap:anywhere}
.wp-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.wp-review-card{min-width:0;margin:0!important;overflow:hidden;scroll-margin-top:80px}
.wp-document-preview{background:#f1f5f9;border-radius:14px;margin-bottom:12px;min-height:70px;overflow:hidden}.wp-preview-open{display:flex;flex-direction:column;gap:8px;width:100%;border:0!important;background:transparent!important;color:#15365c!important;min-height:64px;text-align:center;padding:8px!important}.wp-preview-open img{height:220px;width:100%;object-fit:contain;border-radius:8px}
.wp-review-issue{border-left:3px solid #d78b15;padding:10px 12px;margin:12px 0;background:#fff7e8;border-radius:8px;color:#654511}.wp-review-issue p{margin:6px 0}.wp-review-issue dl{display:grid;grid-template-columns:100px 1fr;gap:7px;font-size:.92rem}.wp-review-issue dd{margin:0;overflow-wrap:anywhere}.wp-review-issue dt{font-weight:650}
.wp-requested-changes{padding:18px;border:1px solid #ecba70;border-radius:16px;background:#fff7e9;margin:18px 0}.wp-requested-changes li{padding:10px 0}.wp-correction-editor{margin:24px 0;padding:20px;border:1px solid #d8e1ea;border-radius:18px;background:#f8fafc}.wp-correction-row{display:grid;gap:10px;border-top:1px solid #d8e1ea;padding:16px 0}.wp-correction-row textarea{min-height:85px}
.wp-reauth{width:min(92vw,450px);box-sizing:border-box;padding:24px;border:0;border-radius:22px;box-shadow:0 20px 80px #0004;background:white;color:#132338;max-height:90dvh;overflow:auto}.wp-reauth::backdrop{background:#101b2ccb;backdrop-filter:blur(5px)}.wp-reauth form{display:grid;gap:14px}.wp-reauth h2,.wp-reauth p{margin:0}.wp-reauth label{display:grid;gap:8px}.wp-reauth input{box-sizing:border-box;width:100%;min-height:48px;padding:12px;border:1px solid #bac7d6;border-radius:12px;font-size:16px}.wp-reauth button{min-height:48px;padding:12px;border-radius:12px;font-size:16px}.wp-reauth [role=alert]{color:#b42318}
@media(max-width:600px){#chatModal[data-layout=camera] .wc-dialog{width:100%;border-radius:0;max-height:100dvh}.wc-capture-stage{border-radius:0;height:55dvh}.wc-capture-controls button{font-size:.86rem}.wp-review-grid{grid-template-columns:1fr}.wp-official-links{flex-direction:column}}

.wp-review-outcome[data-state=review_required]{background:#fff9eb;border-color:#e5c787;color:#614815}
