/* Approved Human check concept, within the existing authenticated shell. */
.human-check{max-width:1220px;margin:0 auto;padding:32px 30px 48px;line-height:1.55;color:var(--text);}
.human-check h1{font:700 38px/1.2 'Plus Jakarta Sans',sans-serif;letter-spacing:-1px;margin:0 0 12px;}
.human-check>p{color:var(--muted);margin:0 0 24px;}
.human-check [role=alert]:empty{display:none;}
.human-check [role=status]:empty{margin:0;padding:0;min-height:0;}
.human-check [role=status]:not(:empty){padding:14px 18px;background:var(--accent-tint);border-left:3px solid var(--accent);color:var(--text);}
.human-check [role=alert]:not(:empty){padding:14px 18px;background:var(--red-tint);border-left:3px solid var(--red);color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;}
.human-check>div>p{color:var(--muted);font-size:14px;margin:18px 0;}
.human-question{padding:20px 24px;margin:20px 0;background:#edf6f2;border:1px solid #c6dfd4;border-radius:8px;}
.human-question>p:first-child{font-size:12px;text-transform:uppercase;letter-spacing:1.2px;color:var(--muted);font-weight:700;margin:0 0 8px;}
.human-question h2{font-size:24px;margin:0 0 12px;line-height:1.35;}
.human-question p{margin:6px 0;font-size:14px;}
.human-question p:nth-of-type(2){font-weight:700;color:#125d48;}
.human-section{position:relative;padding:22px 24px;margin:18px 0;background:var(--surface);border:1px solid var(--outline);border-radius:8px;min-width:0;}
.human-section>h2{font-size:20px;line-height:1.35;margin:0 0 20px;padding-right:245px;}
.human-section button{margin:8px 10px 4px 0;min-height:44px;white-space:normal;}
.human-section>button:nth-of-type(1){position:absolute;top:10px;right:142px;border-color:transparent;}
.human-section>button:nth-of-type(2){position:absolute;top:10px;right:14px;background:var(--accent);color:white;border-color:var(--accent);}
.human-section>button:disabled{opacity:.65;}
.human-section blockquote{margin:12px 0 8px;padding:14px 18px;background:var(--surface2);border-left:3px solid #bdcec5;font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere;}
.human-section p{margin:10px 0;overflow-wrap:anywhere;}
.human-section a{display:inline-block;font-size:13px;margin-bottom:10px;}
.human-section a+details{font-size:13px;}
.human-check label{display:block;font-size:14px;font-weight:600;margin:20px 0 8px;}
.human-check textarea{display:block;width:100%;max-width:760px;min-height:64px;padding:12px;margin:8px 0;border:1px solid var(--outline);border-radius:5px;background:var(--surface);color:var(--text);font-size:14px;resize:vertical;}
.human-check>div>button{margin:6px 12px 6px 0;min-height:44px;white-space:normal;}
.human-check button:focus-visible,.human-check a:focus-visible,.human-check summary:focus-visible,.human-check textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px;}
.human-section>.human-correction:not([hidden]){border-top:1px solid var(--outline);margin-top:18px;padding-top:2px;}
@media(max-width:699px){
 .human-check{padding:24px 14px 36px;}.human-check h1{font-size:31px;}.human-question{padding:18px 16px;}.human-question h2{font-size:21px;}
 .human-section{padding:18px 16px;}.human-section>h2{padding-right:0;margin-bottom:14px;}
 .human-section>button:nth-of-type(1),.human-section>button:nth-of-type(2){position:static;}
 .human-check>div>button{margin-right:8px;}.human-section blockquote{padding:12px;font-size:15px;}
}

.human-queue{display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--muted);font-size:14px;margin:20px 0 12px;}
.human-queue p{margin:0;}.human-queue button{min-height:44px;flex-shrink:0;}
.human-check button{font-size:14px;font-weight:600;border-radius:5px;}
.human-evidence{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;}
.human-evidence>div>span,.human-evidence summary{font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);}
.human-evidence summary{cursor:pointer;}.human-evidence>div>p{font-size:13px;color:var(--muted);}
.human-evidence>div:nth-child(2)>p{color:var(--text);font-size:15px;}
.human-section h2{margin-bottom:16px;}.human-question{margin-top:12px;}
@media(max-width:699px){.human-evidence{grid-template-columns:minmax(0,1fr);gap:14px;}.human-queue{gap:12px;}.human-check button{font-size:13px;}}

.human-section[hidden]{display:none;}
.human-queue{flex-wrap:wrap;}
.human-picker label{margin:0;flex:1 1 240px;min-width:0;}
.human-picker select,.human-picker input{display:block;min-height:44px;width:100%;max-width:100%;box-sizing:border-box;}

.human-picker{display:flex;flex-wrap:wrap;gap:18px;margin:20px 0 12px;}

.human-program{flex:1 1 240px;min-width:0;}
.human-program h2{font:700 32px/1.2 'Plus Jakarta Sans',sans-serif;letter-spacing:-.6px;color:var(--text);margin:0 0 8px;overflow-wrap:anywhere;}
.human-program-meta{font-size:14px;overflow-wrap:anywhere;}
@media(max-width:699px){.human-program h2{font-size:28px;}}

.human-task{max-width:960px;padding-top:20px;}
.human-task .human-question{padding:0;background:none;border:0;display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;}
.human-task .human-question>p:first-child{font-size:14px;text-transform:none;letter-spacing:0;margin:0;}
.human-task .human-section{padding:12px 16px;margin:10px 0;}
.human-task .human-section>h2{font-size:14px;margin:0 0 8px;padding:0;color:var(--muted);}
.human-task .human-section article p{margin:4px 0;font-weight:600;}
.human-task .human-section blockquote{padding:8px 12px;margin:4px 0 10px;font-size:14px;}
.human-task>div>button{display:inline-block;min-width:120px;}
.human-task .human-correction input{width:100%;min-height:44px;box-sizing:border-box;}
.human-task .human-actions{display:flex;gap:12px;margin:12px 0;}
.human-task .human-actions button{flex:1;min-height:44px;}

.human-task .human-section>.human-section-wrong{position:static;background:none;color:var(--text);border:1px solid var(--outline);font-size:13px;}
.human-not-checkable,.human-done-missing{overflow-wrap:anywhere;}

.human-decision[hidden]{display:none;}
.human-check .human-actions{display:flex;flex-wrap:wrap;gap:8px;}
.human-check .human-actions button{flex:1;min-width:72px;min-height:44px;margin:4px 0;}
.human-check .sv-btn:disabled{opacity:.55;cursor:not-allowed;}
.human-check button[hidden]{display:none;}
.human-decision mark{background:var(--surface2);color:var(--text);font-weight:600;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;}
.human-decision .human-impact{font-size:14px;font-weight:600;}
.human-auto-confirmed{overflow-wrap:anywhere;}
