/* Training review: one calm, compact workspace, using the Oasis theme tokens. */
.st-workspace.st-batch-preview{max-width:1120px;margin:0 auto;padding:12px 0 28px}
.st-batch-preview .st-workspace-head{padding:0 0 14px}
.st-batch-preview .st-eyebrow{display:none}
.st-batch-preview .st-workspace-head h1{font-size:28px;letter-spacing:-.8px;margin:0}
.st-batch-preview .st-workspace-head p{font-size:15px;margin-top:5px;color:var(--ctp-subtext0)}
.st-batch-preview .st-workspace-tabs{margin-bottom:0;gap:28px}
.st-batch-preview .st-workspace-tabs>:is(a,button){font-size:15px;border-bottom-width:2px;padding-bottom:12px}
.st-batch-preview .st-workspace-tabs>:is(a,button) span{font-size:12px}
.st-batch-preview .st-market-picker{font-size:13px}
.trd{--trd-ink:var(--ctp-text);--trd-muted:color-mix(in srgb,var(--ctp-text) 73%,var(--ctp-surface0));--trd-line:var(--ctp-surface1);width:100%;max-width:1120px;margin:0 auto;color:var(--trd-ink);font-size:15px;line-height:1.5}
.trd button,.trd input,.trd select,.trd textarea{font:inherit}
.trd button{cursor:pointer}
.trd button:disabled{cursor:not-allowed;opacity:.48!important;box-shadow:none}
.trd :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--ctp-mauve);outline-offset:4px}
.trd-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex-shrink:0}
.st-workspace .trd p{font-size:15px;line-height:1.65;color:var(--trd-ink)}
.trd-card,.trd-empty{scroll-margin-top:140px}

/* Secondary navigation and the account assigned by the server. */
.trd-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0 23px}
.trd-tabs{display:flex;align-items:center;gap:3px;min-width:0}
.trd-tabs button{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border-radius:7px;font-size:14px;font-weight:550;color:var(--trd-muted);white-space:nowrap;transition:background .15s,color .15s}
.trd-tabs button:hover{background:var(--ctp-surface1)}
.trd-tabs button.active{background:color-mix(in srgb,var(--ctp-mauve) 9%,var(--ctp-surface0));color:var(--ctp-mauve)}
.trd-tabs .trd-icon{width:15px;height:15px}
.trd-tabs button span{display:inline-flex;justify-content:center;min-width:19px;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;opacity:.85}
.trd-reviewer{display:flex;align-items:center;gap:11px;font-size:12px;color:var(--trd-muted)}
.trd-reviewer>span{display:flex;flex-direction:column;text-align:right;gap:2px}
.trd-reviewer small{font-size:11px}
.trd-account{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--trd-ink)}
.trd-account-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:color-mix(in srgb,var(--ctp-mauve) 11%,var(--ctp-surface0));color:var(--ctp-mauve);font-weight:650}
.trd-account strong{font-weight:600;max-width:160px;overflow-wrap:anywhere}
.trd-account-lock{color:var(--trd-muted)}
.trd-account-lock .trd-icon{width:13px;height:13px}
.trd-batchbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 1px 12px;font-size:12px;color:var(--trd-muted)}
.trd-batchbar>div{display:flex;align-items:center;gap:9px}
.trd-batchbar strong{font-size:12px;font-weight:550;letter-spacing:.02em;color:var(--trd-ink);font-variant-numeric:tabular-nums}
.trd-batchbar .trd-icon{width:15px;height:15px}
.trd-market{display:inline-flex;align-items:center;gap:5px;margin-left:5px;padding-left:12px;border-left:1px solid var(--ctp-surface2);color:var(--trd-ink)}
.trd progress{width:92px;height:4px;border:0;border-radius:4px;overflow:hidden;appearance:none;background:var(--ctp-surface1);color:var(--ctp-mauve);accent-color:var(--ctp-mauve)}
.trd progress::-webkit-progress-bar{background:var(--ctp-surface1);border-radius:4px}
.trd progress::-webkit-progress-value{background:var(--ctp-mauve);border-radius:4px}
.trd progress::-moz-progress-bar{background:var(--ctp-mauve);border-radius:4px}

/* The site is the primary object. Keep metadata quiet and actions nearby. */
.trd-card{border:1px solid var(--trd-line);border-radius:16px;background:var(--ctp-surface0);box-shadow:0 2px 4px #26324703,0 12px 32px #26324706;overflow:hidden}
.trd-site{display:flex;align-items:center;gap:14px;padding:22px 24px;border-bottom:1px solid var(--trd-line)}
.trd-avatar{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border:1px solid var(--trd-line);border-radius:12px;background:var(--ctp-surface0)}
.trd-site>div:nth-child(2){min-width:0;flex:1}
.trd-site-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:5px}
.st-workspace .trd-site h2{font-size:23px;font-weight:650;letter-spacing:-.55px;line-height:1.3;margin:0;overflow-wrap:anywhere}
.trd-site-tags{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--trd-muted)}
.trd-site-tags span{padding:2px 7px;border:1px solid var(--trd-line);border-radius:4px;white-space:nowrap}
.trd-page-link{display:flex;align-items:center;gap:12px;min-width:0;font-size:13px;line-height:1.5;color:var(--trd-muted)}
.trd-page-link .trd-url-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.trd-page-link>span:last-child{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;color:var(--ctp-mauve);font-weight:550}
.trd-page-link .trd-icon{width:12px;height:12px}
.trd-example-counter{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:3px;margin-left:16px}
.trd-example-counter>span{font-size:11px;color:var(--trd-muted)}
.trd-example-counter>strong{font-size:19px;font-weight:600;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.trd-example-counter strong span{font-size:14px;color:var(--trd-muted);font-weight:450}
.trd-card-body{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr)}
.trd-call,.trd-evidence{padding:22px 24px;min-width:0}
.trd-call{border-right:1px solid var(--trd-line)}
.trd-section-label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:550;color:var(--trd-muted);margin-bottom:13px}
.trd-model-mark{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:5px;background:color-mix(in srgb,var(--ctp-mauve) 9%,var(--ctp-surface0));color:var(--ctp-mauve);font-size:12px;font-weight:650}
.trd-verdict{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.trd-class-icon{width:25px;height:25px;object-fit:contain;flex-shrink:0}
.trd-verdict h3{font-size:25px;line-height:1.3;font-weight:650;letter-spacing:-.55px}
.trd-call-meta{display:flex;flex-direction:column;gap:5px;color:var(--trd-muted);font-size:12px}
.trd-saved-time{display:flex;align-items:center;gap:6px}
.trd-saved-time .trd-icon{width:13px;height:13px}
.trd-second-compact{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--trd-muted);margin-top:13px}
.trd-ai-icon{width:17px;height:17px;object-fit:contain;padding:2px;border-radius:4px;background:var(--ctp-mauve);flex-shrink:0}
.trd-second-compact .trd-icon{width:14px;height:14px}
.trd-confidence-heading{justify-content:space-between;gap:12px;color:var(--trd-ink);margin-bottom:16px}
.trd-confidence-heading>span{font-size:11px;color:var(--trd-muted);font-weight:400}
.trd-probability-row{display:grid;grid-template-columns:170px minmax(40px,1fr) 40px;gap:14px;align-items:center;min-height:32px;margin-bottom:8px}
.trd-probability-row:last-child{margin-bottom:0}
.trd-probability-name{display:flex;align-items:center;gap:8px;min-width:0;font-size:14px;line-height:1.35;font-weight:450}
.trd-probability-name>img{width:20px;height:20px;object-fit:contain;flex-shrink:0}
.trd-probability-name>span{min-width:0}
.trd-probability-track{height:10px;overflow:hidden;border-radius:3px;background:var(--ctp-mantle)}
.trd-probability-fill{height:100%;border-radius:3px;min-width:0}
.trd-probability-fill.high{background:#368264}
.trd-probability-fill.medium{background:#c38c30}
.trd-probability-fill.low{background:#cc6e79}
.trd-probability-value{font-size:16px;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.st-workspace .trd-no-probabilities{color:var(--trd-muted);font-size:14px;padding:15px 0}

/* Evidence is available without dominating each review. */
.trd-evidence-details{grid-column:1/-1;border-top:1px solid var(--trd-line);padding:0 24px}
.trd-evidence-details>summary{display:flex;align-items:center;gap:12px;min-height:47px;padding:10px 0;font-size:13px;font-weight:550;list-style:none;cursor:pointer}
.trd-evidence-details>summary::-webkit-details-marker{display:none}
.trd-evidence-title{display:inline-flex;align-items:center;gap:8px}
.trd-evidence-title .trd-icon{width:15px;height:15px;color:var(--trd-muted)}
.trd-context-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:450;color:#896127}
.trd-context-badge .trd-icon{width:13px;height:13px}
.trd-disclosure-arrow{margin-left:auto;width:14px;height:14px;color:var(--trd-muted);transition:transform .15s}
.trd-evidence-details[open] .trd-disclosure-arrow{transform:rotate(90deg)}
.trd-detail-content{padding:3px 0 20px}
.trd-context{border-left:2px solid var(--ctp-mauve);padding:11px 14px;background:var(--ctp-base);border-radius:0 5px 5px 0;margin-bottom:14px;overflow-wrap:anywhere}
.trd-context strong{font-size:13px;font-weight:600}
.st-workspace .trd-context p{font-size:14px;margin:4px 0}
.trd-context>span{font-size:13px;color:var(--trd-muted)}
.trd .trd-evidence-text{white-space:pre-line;overflow-wrap:anywhere;font-size:14px}
.trd-source-meta{font-size:12px;color:var(--trd-muted);margin-top:12px}

/* One primary action, with consistent line icons. */
.trd-decision-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 24px;border-top:1px solid var(--trd-line);background:color-mix(in srgb,var(--ctp-base) 45%,var(--ctp-surface0))}
.trd-decision-bar>div:first-child{display:flex;flex-direction:column;gap:3px}
.trd-decision-bar strong{font-size:14px;font-weight:600}
.trd-decision-bar>div>span{font-size:12px;color:var(--trd-muted)}
.trd-decision-actions{display:flex;align-items:center;gap:9px}
.trd-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border:1px solid var(--ctp-surface2);border-radius:8px;font-size:14px!important;line-height:1.4;font-weight:550!important;background:var(--ctp-surface0);color:var(--trd-ink);transition:background .15s,border-color .15s,box-shadow .15s}
.trd-action .trd-icon{width:16px;height:16px}
.trd-action img{width:18px;height:18px}
.trd .trd-agree{background:var(--ctp-mauve);border-color:var(--ctp-mauve);color:#fff;box-shadow:0 2px 4px color-mix(in srgb,var(--ctp-mauve) 15%,transparent)}
.trd .trd-agree:hover:not(:disabled){background:color-mix(in srgb,var(--ctp-mauve) 88%,#23103d);border-color:color-mix(in srgb,var(--ctp-mauve) 88%,#23103d)}
.trd .trd-correct:hover:not(:disabled){border-color:var(--ctp-mauve);background:color-mix(in srgb,var(--ctp-mauve) 4%,var(--ctp-surface0))}
.trd .trd-reject{color:var(--trd-muted);border-color:transparent;background:transparent;box-shadow:none}
.trd .trd-reject:hover:not(:disabled){color:#a93950;border-color:#f0cbd3;background:#fff5f7}
.trd .trd-footnote{font-size:12px;line-height:1.5;color:var(--trd-muted);margin:13px 2px 0}
.trd-no-repeats{display:flex;align-items:center;gap:7px}
.trd-no-repeats .trd-icon{width:14px;height:14px}
.trd-receipt{display:flex;align-items:center;gap:9px;padding:11px 15px;margin-bottom:14px;border:1px solid #c5e4d2;border-radius:8px;background:#f1f9f4;color:#286448;font-size:14px}
.trd-receipt img{width:18px;height:18px}
.trd-receipt button{margin-left:auto;font-size:13px;font-weight:550}

/* Corrections and rejection reasons stay part of the same card. */
.trd input,.trd select,.trd textarea{min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--ctp-surface2);border-radius:8px;background:var(--ctp-surface0);color:var(--trd-ink)}
.trd input::placeholder,.trd textarea::placeholder{color:var(--trd-muted)}
.trd-form{padding:20px 24px;border-top:1px solid var(--trd-line);background:var(--ctp-base)}
.trd-form-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.trd-form-heading h3{font-size:19px;font-weight:600;letter-spacing:-.3px}
.trd-form-heading button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--trd-line);border-radius:7px;background:var(--ctp-surface0)}
.trd-form-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.trd-form label,.trd-field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:550}
.trd-field>span{display:flex;align-items:center;gap:7px}
.trd-field small{color:var(--trd-muted);font-size:12px;font-weight:400}
.trd-form select,.trd-form textarea{width:100%;font-size:15px;font-weight:400}
.trd-form textarea{resize:vertical;min-height:90px}
.trd-reject-form>p{margin-bottom:16px}
.trd-form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px}
.trd-form-footer>span{font-size:12px;color:var(--trd-muted)}
.trd-form-footer .trd-reject{border-color:#d7acb6;background:#fff5f7;color:#a93950}
.trd-error{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:16px;border:1px solid #e3abb7;border-radius:9px;background:#fff1f2;color:#9b263e}
.trd-error>span{flex:1;overflow-wrap:anywhere}
.trd-error button{flex-shrink:0;color:inherit;border-color:#e3abb7}

/* Pools and the audit history keep the same typographic rhythm. */
.trd-empty{padding:36px 24px;border:1px solid var(--trd-line);border-radius:14px;background:var(--ctp-surface0);text-align:center}
.trd-empty>img{width:36px;height:36px;margin:0 auto 12px}
.trd-empty h2,.trd-empty h3{font-size:23px!important;font-weight:600;letter-spacing:-.4px}
.trd-empty p{max-width:600px;margin:10px auto 20px}
.trd-empty .trd-action{margin:5px}
.trd-pool-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:25px 0 20px}
.trd-pool-heading h2{font-size:23px}
.trd-pool-heading p{margin-top:6px}
.trd-pool-filters{display:flex;gap:9px;flex-wrap:wrap}
.trd-pool-filters input{width:265px}
.trd-pool-filters select{max-width:240px}
.trd-history-table-wrap{overflow:auto;border:1px solid var(--trd-line);border-radius:12px;background:var(--ctp-surface0)}
.trd .trd-history-table{width:100%;min-width:760px;table-layout:auto;border-collapse:collapse}
.trd-history-table th{padding:13px 18px;font-size:12px;font-weight:550;color:var(--trd-muted);text-align:left;white-space:nowrap;background:var(--ctp-base)}
.trd-history-table td{padding:16px 18px;border-top:1px solid var(--trd-line);font-size:14px;line-height:1.5;vertical-align:top}
.trd-history-table td>a,.trd-history-table td>strong{display:block;font-weight:550}
.trd-history-table td>a{color:var(--trd-ink)}
.trd-history-table td>span{display:block;font-size:12px;color:var(--trd-muted);margin-top:5px}
.trd-history-table .trd-outcome{font-size:13px}
.trd-outcome.approved{color:#287247}.trd-outcome.rejected{color:#a42f45}
.trd-text-button{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:13px;font-weight:550;color:var(--ctp-mauve)}
.trd-history-detail td{background:var(--ctp-base)}
.trd-history-detail p{margin:7px 0;overflow-wrap:anywhere}
.trd-history-table td>a.trd-history-domain{display:flex;align-items:center;gap:9px}
.trd-history-domain>.trd-icon{width:12px;height:12px;color:var(--trd-muted)}
.trd-history-domain>span:nth-child(2){min-width:0;overflow-wrap:anywhere}

/* Real favicons retain an initial while loading or if the request fails. */
.trd-site-icon{position:relative;display:inline-grid;place-items:center;width:24px;height:24px;flex:0 0 auto;border-radius:4px;overflow:hidden;background:var(--ctp-surface0);color:var(--ctp-mauve);font-size:14px;font-weight:600}
.trd-site-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0}
.trd-site-icon img.loaded{opacity:1}
.trd-avatar .trd-site-icon{width:30px;height:30px;font-size:22px}

/* Data provenance remains accessible, without a competing banner. */
.trd-source-strip{display:flex;align-items:center;gap:7px;margin-top:23px;padding-top:14px;border-top:1px solid var(--trd-line);font-size:12px;color:var(--trd-muted)}
.trd-source-strip>.trd-icon{width:14px;height:14px}
.trd-source-strip>div{flex:1}
.trd-source-strip strong{font-weight:450}
.trd-source-strip>details{position:relative}
.trd-source-strip summary{padding:5px 0;cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:3px}
.trd-source-strip summary::-webkit-details-marker{display:none}
.trd-source-strip details>div{position:absolute;right:0;bottom:34px;z-index:10;width:380px;max-width:85vw;padding:18px;background:var(--ctp-surface0);border:1px solid var(--ctp-surface2);border-radius:10px;box-shadow:0 10px 30px #23113617}
.trd-source-strip details strong{font-size:14px;font-weight:600;color:var(--trd-ink)}
.trd .trd-source-strip details p{font-size:13px;margin-top:10px;color:var(--trd-muted)}

@media(max-width:1050px){
 .trd-topline{gap:12px}.trd-reviewer>span{display:none}
 .trd-card-body{grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr)}
 .trd-call,.trd-evidence{padding:20px}
 .trd-confidence-heading{flex-wrap:wrap;gap:4px 10px}
 .trd-probability-row{grid-template-columns:154px minmax(35px,1fr) 38px;gap:10px}
 .trd-decision-bar>div:first-child>span{display:none}
 .trd-pool-heading{align-items:stretch;flex-direction:column}
}
@media(max-width:760px){
 .st-workspace.st-batch-preview{padding:6px 0 20px}
 .st-batch-preview .st-workspace-head{gap:14px}
 .st-batch-preview .st-workspace-head h1{font-size:26px}
 .st-batch-preview .st-workspace-head p{font-size:14px}
 .st-batch-preview .st-workspace-tabs{gap:20px}
 .st-batch-preview .st-workspace-tabs>:is(a,button){font-size:14px}
 .trd-topline{flex-wrap:wrap;gap:10px;margin:12px 0 17px}
 .trd-tabs{width:100%;justify-content:space-between;gap:0}
 .trd-tabs button{padding:8px;gap:5px;min-height:40px;font-size:13px}
 .trd-reviewer{width:100%;justify-content:space-between}
 .trd-reviewer>span{display:flex;text-align:left}
 .trd-account{font-size:12px}.trd-account-avatar{width:26px;height:26px}
 .trd-batchbar{flex-wrap:wrap;gap:7px;font-size:11px}
 .trd-batchbar>div{gap:6px}.trd-batchbar strong{font-size:11px}
 .trd-batchbar>div:last-child{justify-content:space-between;width:100%}
 .trd progress{width:80px}
 .trd-market{padding-left:8px;margin-left:2px}
 .trd-card{border-radius:12px}
 .trd-site{position:relative;padding:17px 16px;gap:11px;align-items:flex-start}
 .trd-avatar{width:40px;height:40px;border-radius:10px}
 .trd-avatar .trd-site-icon{width:27px;height:27px}
 .trd-site-heading{gap:5px;margin-bottom:7px;padding-right:34px}
 .st-workspace .trd-site h2{font-size:20px}
 .trd-site-tags{gap:4px;font-size:10px}
 .trd-site-tags span{padding:1px 5px}
 .trd-page-link{flex-wrap:wrap;gap:4px;font-size:12px}
 .trd-url-text{width:100%}
 .trd-example-counter{position:absolute;top:18px;right:15px;margin:0;gap:1px}
 .trd-example-counter>span{font-size:10px}
 .trd-example-counter>strong{font-size:13px}
 .trd-example-counter strong span{font-size:11px}
 .trd-card-body{grid-template-columns:1fr}
 .trd-call,.trd-evidence{padding:17px 16px}
 .trd-call{border-right:0;border-bottom:1px solid var(--trd-line)}
 .trd-section-label{font-size:12px;margin-bottom:10px}
 .trd-verdict h3{font-size:23px}.trd-verdict{margin-bottom:7px}
 .trd-call-meta{gap:4px;font-size:12px}
 .trd-second-compact{margin-top:10px;font-size:12px}
 .trd-confidence-heading{margin-bottom:11px;align-items:baseline}
 .trd-confidence-heading>span{font-size:10px}
 .trd-probability-row{grid-template-columns:150px minmax(30px,1fr) 36px;gap:8px;min-height:30px;margin-bottom:5px}
 .trd-probability-name{font-size:13px;gap:7px}.trd-probability-name>img{width:18px;height:18px}.trd-probability-value{font-size:15px}
 .trd-evidence-details{padding:0 16px}
 .trd-evidence-details>summary{gap:8px;font-size:12px}
 .trd-evidence-title{gap:5px}.trd-context-badge{font-size:10px;gap:4px}
 .trd-context-badge .trd-icon{display:none}
 .trd-decision-bar{padding:15px 16px;display:block}
 .trd-decision-bar>div:first-child{margin-bottom:10px}
 .trd-decision-bar strong{font-size:13px}
 .trd-decision-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .trd-decision-actions .trd-agree{grid-column:1/-1}
 .trd-action{min-height:44px;font-size:14px!important;padding:10px}
 .trd-decision-actions .trd-reject{border-color:var(--ctp-surface2);background:var(--ctp-surface0)}
 .trd .trd-footnote{font-size:11px;align-items:flex-start}
 .trd-no-repeats>.trd-icon{margin-top:1px}
 .trd-form{padding:17px 16px}
 .trd-form-fields{grid-template-columns:1fr;gap:14px}
 .trd-form select,.trd-form textarea,.trd-pool-filters input,.trd-pool-filters select{font-size:16px}
 .trd-form-footer{flex-direction:column;align-items:stretch;gap:12px}
 .trd-form-footer .trd-action{width:100%}
 .trd-form-heading h3{font-size:18px}
 .trd-receipt{flex-wrap:wrap;font-size:13px}.trd-receipt button{margin-left:26px}
 .trd-pool-filters{flex-direction:column}.trd-pool-filters input,.trd-pool-filters select{width:100%;max-width:none}
 .trd-empty{padding:28px 17px}
 .trd .trd-history-table{min-width:0;display:block}.trd-history-table thead{display:none}
 .trd-history-table tbody,.trd-history-table tr,.trd-history-table td{display:block;width:100%}
 .trd-history-table tr{padding:10px 0;border-bottom:2px solid var(--trd-line)}
 .trd-history-table td{border:0;padding:9px 16px;overflow-wrap:anywhere}
 .trd-history-table td[data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:550;color:var(--trd-muted);margin-bottom:4px}
 .trd-history-detail{padding:0!important}.trd-history-detail td{padding:16px}
 .trd-card,.trd-empty{scroll-margin-top:115px}
 .trd-source-strip{font-size:11px;margin-top:18px;padding-top:10px}
}
@media(prefers-reduced-motion:reduce){.trd *{transition:none!important;scroll-behavior:auto!important}}

/* Ten examples per page; evidence and correction controls expand only on request. */
.st-workspace.st-batch-preview,.trd{max-width:1320px}
.trd-batchbar{scroll-margin-top:115px}
.trd-review-list{border:1px solid var(--trd-line);border-radius:12px;background:var(--ctp-surface0);overflow:hidden;box-shadow:0 3px 16px #26324704}
.trd-list-head,.trd-list-row{display:grid;grid-template-columns:minmax(210px,1fr) minmax(145px,.65fr) minmax(285px,1.2fr) 190px;gap:20px;align-items:center;padding:12px 18px}
.trd-list-head{font-size:12px;font-weight:550;color:var(--trd-muted);background:var(--ctp-base)}
.trd-list-row{border-top:1px solid var(--trd-line)}
.trd-list-row>div{min-width:0}
.trd-list-identity{display:flex;align-items:center;gap:8px;margin-bottom:5px;min-width:0}
.trd-list-identity>a{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;font-size:15px;font-weight:600;line-height:1.4;color:var(--trd-ink)}
.trd-list-identity .trd-icon{width:12px;height:12px;color:var(--trd-muted)}
.trd-list-url{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--trd-muted)}
.trd-list-context{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:3px}
.trd-list-context .trd-text-button{min-height:26px;font-size:12px}
.trd-list-context .trd-text-button>.trd-icon{width:13px;height:13px}
.trd-list-context .trd-context-badge{font-size:10px}
.trd-list-label>strong{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:550;line-height:1.4;margin-bottom:5px}
.trd-list-label>strong>img{width:21px;height:21px;object-fit:contain;flex-shrink:0}
.trd-list-label>span{display:block;font-size:11px;line-height:1.5;color:var(--trd-muted)}
.trd-list-confidence .trd-probability-row{grid-template-columns:140px minmax(30px,1fr) 35px;gap:8px;min-height:23px;margin-bottom:1px}
.trd-list-confidence .trd-probability-name{font-size:12px;gap:6px;line-height:1.3}
.trd-list-confidence .trd-probability-name>img{width:16px;height:16px}
.trd-list-confidence .trd-probability-value{font-size:13px}
.trd-list-confidence .trd-probability-track{height:7px;border-radius:2px}
.trd-list-unscored{font-size:12px;color:var(--trd-muted)}
.trd-list-actions{display:flex;align-items:stretch;flex-direction:column;gap:2px}
.trd-list-actions>.trd-action{min-height:35px;padding:7px 9px;font-size:12px!important}
.trd-list-actions>div{display:flex;justify-content:space-between;gap:12px}
.trd-list-actions .trd-text-button{min-height:29px;font-size:12px;justify-content:center}
.trd-list-actions .trd-text-button>.trd-icon{width:14px;height:14px}
.trd-list-actions .trd-list-reject{color:var(--trd-muted)}
.trd-list-actions .trd-list-reject:hover{color:#a93950}
.trd-reviewed-status{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:550}
.trd-reviewed-status.approved{color:#287247}.trd-reviewed-status.rejected{color:#a42f45}
.trd-row-reviewed{background:color-mix(in srgb,var(--ctp-base) 30%,var(--ctp-surface0))}
.trd-row-expanded{background:color-mix(in srgb,var(--ctp-mauve) 3%,var(--ctp-surface0))}
.trd-inline-detail{margin:0 14px 14px;border-radius:10px;box-shadow:none}
.trd-detail-close{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--ctp-base);padding:7px 16px;font-size:12px;color:var(--trd-muted)}
.trd-detail-close>button{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--trd-line);border-radius:6px;background:var(--ctp-surface0)}
.trd-inline-detail .trd-site{padding:15px 20px}
.trd-inline-detail .trd-call,.trd-inline-detail .trd-evidence{padding:16px 20px}
.trd-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 8px;font-size:12px;color:var(--trd-muted)}
.trd-pagination>div{display:flex;align-items:center;gap:15px}
.trd-pagination strong{font-size:13px;color:var(--trd-ink);font-weight:500;white-space:nowrap}
.trd-pagination .trd-action{min-height:36px;font-size:12px!important;padding:8px 11px}
.trd-prev-icon{transform:rotate(180deg)}
/* Shared field treatment across corrections, rejected examples and history. */
.trd-form textarea{border-radius:10px;transition:border-color .15s,box-shadow .15s}
.trd-form textarea:hover{border-color:color-mix(in srgb,var(--ctp-mauve) 40%,var(--ctp-surface2))}
.trd-form textarea:focus{border-color:var(--ctp-mauve);box-shadow:0 0 0 3px color-mix(in srgb,var(--ctp-mauve) 12%,transparent);outline:none}
.trd-field-hint{display:flex;justify-content:space-between;gap:14px;margin-top:7px;font-size:12px;font-weight:400;color:var(--trd-muted)}
.trd-field-hint>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.trd-form-heading button:hover,.trd-detail-close button:hover{background:var(--ctp-base);color:var(--ctp-mauve);border-color:var(--ctp-mauve)}
.trd-pool-heading{align-items:flex-start}
.trd-pool-heading>div:first-child{flex:1;min-width:0}
.trd-pool-filters{flex-shrink:0;max-width:100%}
.trd-pool-filters>.trd-select{width:215px;max-width:100%}
.trd-search-field{display:flex;align-items:center;gap:9px;width:240px;max-width:100%;min-height:44px;padding:0 12px;border:1px solid var(--ctp-surface2);border-radius:9px;background:var(--ctp-surface0);color:var(--trd-muted)}
.trd-search-field:focus-within{border-color:var(--ctp-mauve);box-shadow:0 0 0 3px color-mix(in srgb,var(--ctp-mauve) 10%,transparent)}
.trd .trd-search-field input{width:100%;min-height:42px;padding:8px 0;border:0;border-radius:0;background:transparent;font-size:14px;outline:none!important;box-shadow:none!important}
.trd-search-field>button{display:grid;place-items:center;flex-shrink:0;width:26px;height:28px;border-radius:5px;color:var(--trd-muted)}
.trd-search-field>button:hover{background:var(--ctp-base);color:var(--ctp-mauve)}
.trd-search-field>button .trd-icon{width:14px;height:14px}
.trd-select{min-width:0;width:100%}
.trd-select-trigger{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--ctp-surface2);border-radius:9px;background:var(--ctp-surface0);color:var(--ctp-text);text-align:left;font-size:14px!important;font-weight:400;transition:border-color .15s,box-shadow .15s}
.trd-select-trigger>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trd-select-trigger>img{width:21px;height:21px;object-fit:contain;flex-shrink:0}
.trd-select-leading{width:18px;height:18px;color:var(--trd-muted);flex-shrink:0}
.trd-select-chevron{width:17px;height:17px;flex-shrink:0;color:var(--ctp-subtext0);transition:transform .15s}
.trd-select-trigger:hover:not(:disabled){border-color:color-mix(in srgb,var(--ctp-mauve) 50%,var(--ctp-surface2))}
.trd-select-trigger.is-open{border-color:var(--ctp-mauve);box-shadow:0 0 0 3px color-mix(in srgb,var(--ctp-mauve) 10%,transparent)}
.trd-select-trigger.is-open .trd-select-chevron{transform:rotate(180deg)}
.trd-select-trigger:disabled{background:var(--ctp-base)}
/* These menus are teleported so they are never clipped by a card or table. */
.trd-select-menu{position:fixed;z-index:200;display:flex;flex-direction:column;gap:7px;padding:8px;border:1px solid var(--ctp-surface2);border-radius:12px;background:var(--ctp-surface0);color:var(--ctp-text);box-shadow:0 12px 36px #23113626,0 2px 6px #2311360a;box-sizing:border-box;font-family:inherit;font-size:14px;line-height:1.5;overflow:hidden}
.trd-select-menu *{box-sizing:border-box}
.trd-select-search{display:flex;align-items:center;gap:8px;flex-shrink:0;min-height:40px;padding:0 10px;border:1px solid var(--ctp-surface1);border-radius:7px;background:var(--ctp-base)}
.trd-select-search:focus-within{border-color:var(--ctp-mauve)}
.trd-select-search>svg{width:17px;height:17px;flex-shrink:0;color:var(--ctp-subtext0)}
.trd-select-search>input{width:100%;min-width:0;height:38px;padding:7px 0!important;border:0!important;border-radius:0;background:transparent!important;color:var(--ctp-text);font:inherit;outline:none!important;box-shadow:none!important}
.trd-select-search>input::placeholder{color:var(--ctp-subtext0)}
.trd-select-options{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ctp-surface2) transparent}
.trd-select-option{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:var(--ctp-text);font:inherit;text-align:left;cursor:pointer}
.trd-select-option>span{flex:1;min-width:0;overflow-wrap:anywhere}
.trd-select-option>img{width:22px;height:22px;object-fit:contain;flex-shrink:0}
.trd-select-option>svg{width:17px;height:17px;flex-shrink:0;color:var(--ctp-mauve)}
.trd-select-option:hover,.trd-select-option[data-active="true"]{background:var(--ctp-base)}
.trd-select-option[aria-selected="true"]{color:var(--ctp-mauve);background:color-mix(in srgb,var(--ctp-mauve) 9%,var(--ctp-surface0));font-weight:550}
.trd-select-option:focus-visible{outline:2px solid var(--ctp-mauve);outline-offset:-2px}
.trd-select-no-results{padding:22px 12px;text-align:center;color:var(--ctp-subtext0)}
.trd-empty-icon{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 14px;border:1px solid color-mix(in srgb,var(--ctp-mauve) 18%,var(--ctp-surface0));border-radius:12px;background:color-mix(in srgb,var(--ctp-mauve) 7%,var(--ctp-surface0));color:var(--ctp-mauve)}
.trd-empty-icon .trd-icon{width:21px;height:21px}
.trd-loading{display:flex;flex-direction:column;align-items:center;gap:12px}
.trd-loading strong{font-weight:550}
.trd-loading p{margin:0!important;font-size:13px!important;color:var(--trd-muted)!important}
.trd-spinner{width:26px;height:26px;border:2px solid var(--ctp-surface1);border-top-color:var(--ctp-mauve);border-radius:50%;animation:trd-spin .75s linear infinite}
@keyframes trd-spin{to{transform:rotate(360deg)}}
.trd .trd-history-table .trd-outcome{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:5px;font-size:12px;background:var(--ctp-base)}
.trd-history-table .trd-outcome .trd-icon{width:14px;height:14px}
.trd .trd-history-table .trd-history-label{display:flex;align-items:center;gap:7px;margin-top:9px;color:var(--trd-ink)}
.trd-history-label>img{width:19px;height:19px;object-fit:contain}
.st-workspace .trd .trd-footnote{font-size:12px;color:var(--trd-muted)}
@media(max-width:1100px){.trd-pool-heading{flex-direction:column}.trd-pool-filters{width:100%}.trd-search-field{flex:1}}
@media(max-width:760px){
 .trd-pool-filters>.trd-select,.trd-search-field{width:100%;max-width:none}
 .trd-search-field{flex:auto}
 .trd .trd-search-field input,.trd-select-trigger,.trd-select-search>input{font-size:16px!important}
 .trd-select-option{min-height:44px;font-size:15px}
 .trd-tabs button{gap:5px;padding:8px}
 .trd-tabs .trd-icon{width:13px;height:13px}
 .trd-error{flex-wrap:wrap}
 .trd-field-hint{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.trd-spinner{animation-duration:2s}.trd-select-trigger,.trd-select-chevron,.trd-form textarea{transition:none}}

/* Each review field has its own column; confidence probabilities stay together. */
.st-workspace.st-batch-preview,.trd{max-width:1680px}
.trd{container-type:inline-size;container-name:training-table}
.trd-list-head,.trd-list-row{grid-template-columns:minmax(165px,1.1fr) minmax(0,1.65fr) 48px minmax(0,.85fr) minmax(0,.7fr) minmax(240px,1.7fr) 110px 170px;gap:14px;padding:14px 16px}
.trd-list-row>div{overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.trd-list-identity>a{font-size:13px}.trd-list-label>strong{font-size:13px;margin:0;align-items:flex-start}.trd-list-label>strong>img{width:19px;height:19px}
.trd-list-page>a{color:var(--trd-muted)}.trd-list-page .trd-icon{width:12px;height:12px;margin-left:5px}
.trd-list-model,.trd-list-subtype{color:var(--trd-muted)}
.trd-list-confidence .trd-probability-row{grid-template-columns:130px minmax(20px,1fr) 35px;gap:6px}
.trd-list-context{margin:0;gap:5px}.trd-list-context .trd-context-badge{white-space:normal;font-size:11px}
.trd-list-actions>div{gap:8px}.trd .trd-history-table{min-width:0;table-layout:fixed}
.trd-history-table-wrap{overflow:visible}.trd-history-table :is(th,td){padding:12px 10px;overflow-wrap:anywhere;white-space:normal;font-size:13px}
.trd-history-table th{font-size:12px}.trd-history-table .trd-history-domain{align-items:flex-start}.trd .trd-history-table .trd-history-label{margin:0}
@container training-table (max-width:1150px){
 .trd-list-head{display:none}.trd-list-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px}
 .trd-list-row>div[data-label]::before{content:attr(data-label);display:block;color:var(--trd-muted);font-size:11px;font-weight:600;margin-bottom:7px}
 .trd-list-actions{display:block}.trd-list-actions>.trd-action{width:100%}.trd-list-confidence{grid-column:1/3}.trd-list-actions{grid-column:3;grid-row:3}.trd-list-context{grid-column:3;grid-row:2;display:block}
 .trd .trd-history-table{display:block}.trd-history-table thead{display:none}.trd-history-table tbody{display:block}
 .trd-history-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px;border-bottom:1px solid var(--trd-line)}
 .trd-history-table td{display:block;border:0;width:auto;padding:8px}.trd-history-table td[data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:600;color:var(--trd-muted);margin-bottom:5px}
 .trd-history-table .trd-history-detail{display:block}.trd-history-detail td{width:100%}
}
@container training-table (max-width:650px){
 .trd-list-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px;gap:14px}
 .trd-list-confidence{grid-column:1/-1}.trd-list-context,.trd-list-actions{grid-column:auto;grid-row:auto}
 .trd-list-actions{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:15px}.trd-list-actions>.trd-action{width:auto;flex:1;min-height:44px}.trd-list-actions>div{flex:1;justify-content:space-around}.trd-list-actions::before{display:none!important}
 .trd-list-confidence .trd-probability-row{grid-template-columns:145px minmax(20px,1fr) 35px}
 .trd-history-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container training-table (min-width:1151px){
 .trd-history-table th:nth-child(1){width:16%}.trd-history-table th:nth-child(2){width:14%}.trd-history-table th:nth-child(3),.trd-history-table th:nth-child(4){width:11%}.trd-history-table th:nth-child(5),.trd-history-table th:nth-child(6),.trd-history-table th:nth-child(7),.trd-history-table th:nth-child(8){width:8%}.trd-history-table th:nth-child(9){width:10%}.trd-history-table th:nth-child(10){width:6%}
}
@container training-table (max-width:650px){
 .trd-topline{align-items:stretch}.trd-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;overflow:visible;gap:2px}.trd-tabs button{justify-content:center;gap:4px;padding:8px 4px;font-size:12px}.trd-tabs button .trd-icon{display:none}.trd-tabs button span{font-size:11px;min-width:0}
}
@media(max-width:600px){.st-batch-preview .st-workspace-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.st-batch-preview .st-workspace-tabs>:is(a,button){font-size:13px;white-space:normal;text-align:center}}

/* Expanded rows add evidence only; the site, verdict and scores stay in the row. */
.trd-compact-detail .trd-detail-close{padding:6px 16px;background:var(--ctp-base)}
.trd-compact-detail .trd-detail-close>div{display:flex;align-items:center;gap:8px;min-width:0}
.trd-compact-detail .trd-detail-close>div>.trd-icon{width:15px;height:15px;color:var(--ctp-mauve)}
.trd-compact-detail .trd-detail-close strong{font-size:13px;font-weight:550;color:var(--trd-ink);white-space:nowrap}
.trd-compact-detail .trd-detail-close>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trd-detail-summary{padding:12px 16px}
.trd-read-context{display:flex;align-items:flex-start;gap:8px;margin-bottom:10px;font-size:13px;line-height:1.55}
.trd-read-context>.trd-icon{width:15px;height:15px;margin-top:3px;color:#896127}
.trd-read-context>div{display:flex;gap:6px 12px;flex-wrap:wrap;min-width:0}
.trd-read-context strong{font-weight:550;color:#896127}
.trd-read-context span{overflow-wrap:anywhere;color:var(--trd-muted)}
.trd-evidence-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;font-size:12px;line-height:1.6;color:var(--trd-muted)}
.trd-evidence-meta>span{display:inline-flex;align-items:center;gap:6px}
.trd-evidence-meta .trd-icon{width:13px;height:13px}
.trd-evidence-meta .trd-ai-icon{width:15px;height:15px}
.trd-raw-evidence{margin-top:8px}
.trd-raw-evidence>summary{display:inline-flex;align-items:center;gap:5px;min-height:32px;list-style:none;cursor:pointer;font-size:13px;font-weight:550;color:var(--ctp-mauve)}
.trd-raw-evidence>summary::-webkit-details-marker{display:none}
.trd-raw-evidence>summary .trd-icon{width:13px;height:13px;transition:transform .15s}
.trd-raw-evidence[open]>summary .trd-icon{transform:rotate(90deg)}
.trd-raw-evidence>div{max-width:90ch;margin-top:4px;padding:10px 13px;border-left:2px solid var(--ctp-surface2);background:var(--ctp-base);border-radius:0 6px 6px 0}
.st-workspace .trd-raw-evidence p{margin:0;font-size:14px;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
.trd-raw-evidence>div>span{display:block;margin-top:6px;font-size:12px;color:var(--trd-muted)}
.st-workspace .trd .trd-no-evidence{font-size:13px;color:var(--trd-muted);margin-top:8px}
.trd-compact-detail .trd-form{padding:16px}
.trd-compact-detail .trd-form-heading{margin-bottom:12px}
.trd-compact-detail .trd-form-heading h3{font-size:17px}
@media(max-width:760px){
 .trd-compact-detail .trd-detail-close,.trd-detail-summary{padding-left:12px;padding-right:12px}
 .trd-compact-detail .trd-detail-close>div{gap:6px;flex-wrap:wrap}
 .trd-compact-detail .trd-detail-close>div>span{font-size:11px}
 .trd-compact-detail .trd-form{padding:14px 12px}
 .trd-read-context>div{gap:2px}
 .trd-evidence-meta{gap:5px 12px}
 .trd-raw-evidence>summary{min-height:40px}
}

/* Every displayed market keeps its bundled flag and readable GEO code. */
.trd-geo{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;vertical-align:middle;font-size:inherit;line-height:inherit}
.trd-geo>img{width:18px;height:13px;object-fit:contain;flex-shrink:0;border-radius:2px}
.trd-geo>svg{width:15px;height:15px;flex-shrink:0;color:var(--trd-muted)}
.trd-list-context>.trd-geo{font-size:11px;color:var(--trd-muted)}
.trd-read-location{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}
.trd-read-location>span:not(.trd-geo){overflow-wrap:anywhere;min-width:0}
.trd-read-location>.trd-geo{color:var(--trd-ink);margin-left:3px}
.trd .trd-history-table td>.trd-history-geo{display:flex;align-items:center;gap:6px}
.trd-no-repeats{flex-wrap:wrap}

@container training-table (max-width:1150px){.trd-list-context,.trd-list-actions{grid-column:auto;grid-row:auto}.trd-list-confidence{grid-column:1/3}.trd-list-actions{grid-column:1/-1;display:flex;flex-direction:row}.trd-list-actions>.trd-action{width:auto}.trd-list-actions>div{justify-content:flex-start;gap:20px}}
@container training-table (min-width:1151px){.trd-history-table th:nth-child(1){width:15%}.trd-history-table th:nth-child(2){width:13%}.trd-history-table th:nth-child(3){width:5%}.trd-history-table th:nth-child(4),.trd-history-table th:nth-child(5){width:10%}.trd-history-table th:nth-child(6){width:7%}.trd-history-table th:nth-child(7),.trd-history-table th:nth-child(8){width:8%}.trd-history-table th:nth-child(9){width:6%}.trd-history-table th:nth-child(10){width:11%}.trd-history-table th:nth-child(11){width:7%}}

/* Full page URLs and explicit review controls share the space freed by Model. */
.trd-list-page>a{color:var(--trd-ink);overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:var(--ctp-surface2);text-underline-offset:3px}
.trd-list-page>a:hover{color:var(--ctp-mauve);text-decoration-color:currentColor}
.trd-list-context{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.trd-evidence-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;width:100%;padding:7px 9px;border:1px solid color-mix(in srgb,var(--ctp-mauve) 24%,var(--ctp-surface0));border-radius:7px;background:color-mix(in srgb,var(--ctp-mauve) 6%,var(--ctp-surface0));color:var(--ctp-mauve);font-size:12px!important;font-weight:550;transition:background .15s,border-color .15s}
.trd-evidence-button:hover:not(:disabled),.trd-evidence-button[aria-expanded="true"]{background:color-mix(in srgb,var(--ctp-mauve) 12%,var(--ctp-surface0));border-color:var(--ctp-mauve)}
.trd-evidence-button>.trd-icon{width:14px;height:14px}
.trd-evidence-button>.trd-evidence-chevron{width:12px;height:12px;margin-left:auto;transition:transform .15s}
.trd-evidence-button[aria-expanded="true"]>.trd-evidence-chevron{transform:rotate(90deg)}
.trd-list-context .trd-context-badge{align-items:flex-start;gap:4px;padding:4px 5px;border-radius:5px;background:color-mix(in srgb,#c38c30 10%,var(--ctp-surface0));color:color-mix(in srgb,#996113 80%,var(--trd-ink));font-size:10px;line-height:1.4}
.trd-list-context .trd-context-badge>.trd-icon{width:12px;height:12px;margin-top:1px}
.trd-list-actions{gap:6px}
.trd-list-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.trd-list-actions .trd-action{min-height:34px;padding:7px 6px;border-radius:7px;gap:5px;font-size:12px!important;white-space:nowrap}
.trd-list-actions .trd-action>.trd-icon{width:14px;height:14px}
.trd .trd-agree{background:#287454;border-color:#287454;color:#fff;box-shadow:0 2px 3px #28745412}
.trd .trd-agree:hover:not(:disabled){background:#205d43;border-color:#205d43}
.trd .trd-action.trd-correct{background:color-mix(in srgb,#c38c30 11%,var(--ctp-surface0));border-color:color-mix(in srgb,#c38c30 35%,var(--ctp-surface0));color:color-mix(in srgb,#996113 80%,var(--trd-ink))}
.trd .trd-action.trd-correct:hover:not(:disabled){background:color-mix(in srgb,#c38c30 18%,var(--ctp-surface0));border-color:#c38c30}
.trd .trd-action.trd-reject{background:color-mix(in srgb,#cb586a 8%,var(--ctp-surface0));border-color:color-mix(in srgb,#cb586a 30%,var(--ctp-surface0));color:color-mix(in srgb,#ab3549 80%,var(--trd-ink))}
.trd .trd-action.trd-reject:hover:not(:disabled){background:color-mix(in srgb,#cb586a 15%,var(--ctp-surface0));border-color:#cb586a}
@container training-table (max-width:1150px){
 .trd-list-page{grid-column:span 2}.trd-list-confidence{grid-column:1/3}
 .trd-list-context{grid-column:3;display:flex}
 .trd-list-actions{grid-column:1/-1;display:flex;flex-direction:row;gap:8px;align-items:stretch}
 .trd-list-actions>.trd-action{min-width:170px}.trd-list-actions>div{display:grid;gap:8px;min-width:210px}
 .trd-evidence-button{width:auto;min-width:105px}
}
@container training-table (max-width:650px){
 .trd-list-page{grid-column:1/-1}.trd-list-confidence{grid-column:1/-1}.trd-list-context{grid-column:1/-1}
 .trd-list-actions{display:grid;grid-template-columns:1fr;gap:8px}.trd-list-actions>.trd-action{width:100%;min-height:42px}.trd-list-actions>div{min-width:0}.trd-list-actions .trd-action{min-height:42px}
}
@container training-table (min-width:1151px){
 .trd-history-table th:nth-child(1){width:14%}.trd-history-table th:nth-child(2){width:20%}.trd-history-table th:nth-child(3){width:5%}.trd-history-table th:nth-child(4){width:11%}.trd-history-table th:nth-child(5){width:10%}.trd-history-table th:nth-child(6){width:8%}.trd-history-table th:nth-child(7){width:8%}.trd-history-table th:nth-child(8){width:6%}.trd-history-table th:nth-child(9){width:11%}.trd-history-table th:nth-child(10){width:7%}
}

/* Saved-read provenance stays compact and distinct from a human decision. */
.trd-auth-notice{display:flex;align-items:center;gap:9px;padding:12px 14px;border:1px solid var(--trd-line);border-radius:9px;background:var(--ctp-surface0);color:var(--trd-muted);font-size:13px}
.trd-batch-number{color:var(--trd-ink);font-variant-numeric:tabular-nums}
.trd-row-batch{display:flex;align-items:center;gap:5px;margin-top:7px;color:var(--trd-muted);font-size:10px;letter-spacing:.015em}
.trd-row-batch>.trd-icon{width:12px;height:12px}
.trd-second-read{display:flex;align-items:flex-start;gap:6px;margin-top:8px;padding-top:7px;border-top:1px solid var(--trd-line);color:var(--trd-muted);font-size:11px;line-height:1.4}
.trd-model-label{display:flex;align-items:center;gap:6px;margin-bottom:6px;font-size:11px;font-weight:600;color:var(--trd-muted)}
.trd-model-label .training-model-logo{width:16px;height:16px}
.trd-second-read>img{width:15px;height:15px;object-fit:contain;border-radius:4px;margin-top:1px;flex-shrink:0}
.trd-second-read>span{flex:1;min-width:0}
.trd-second-read small{display:flex;align-items:center;gap:5px;margin-top:3px;font-size:11px;color:var(--trd-ink)}
.trd-second-read small>img{width:15px;height:15px;object-fit:contain}
.trd-second-read small>strong{margin-left:auto;font-variant-numeric:tabular-nums}
.trd-second-read.is-disagreement,.trd-second-read.is-failed{color:color-mix(in srgb,#996113 85%,var(--trd-ink))}
.trd-history-scope{display:block;margin-top:8px;color:var(--trd-muted);font-size:12px}
.trd-reviewer-source{display:block;margin-top:4px;color:var(--trd-muted);font-size:10px}
