/* Keep v1.3 additions aligned with the shared v1.1 TDesign theme. */
.v13-model-picker .v13-model-toggle{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:0!important;height:auto!important;min-width:0!important;margin:0!important;padding:0!important;line-height:1!important;border:0!important;border-left:1px solid var(--td-line,#e7e7e7)!important;border-radius:0 3px 3px 0!important;background:transparent!important;color:#74777d!important;transform:none!important}
.v13-model-toggle .v13-model-chevron{display:block;width:16px!important;height:16px!important;flex:none;pointer-events:none;transition:transform .18s ease}
.v13-model-toggle[aria-expanded=true] .v13-model-chevron{transform:rotate(180deg)}
.v13-model-picker .v13-model-toggle:hover{background:var(--td-brand-light,#ecf2fe)!important;color:var(--td-brand,#0052d9)!important}
.v13-model-popup{border-color:var(--td-line,#e7e7e7);border-radius:4px;box-shadow:0 6px 20px #00000014}
.v13-model-popup b{color:#1d2129;font-size:13px;font-weight:500}
.v13-model-popup small,.v13-model-status,.v13-model-help{color:#74777d}
.v13-model-popup [role=option]:hover,.v13-model-popup [aria-selected=true]{background:var(--td-brand-light,#ecf2fe)}
.v13-model-help{background:#fafafa;border-color:#e7e7e7}
.v13-model-picker>input{padding-right:48px!important}
.v13-check-form .v13-secret-control button{display:flex;align-items:center;justify-content:center;line-height:1;transform:none!important;border-radius:0 3px 3px 0!important}
.v13-check-form .field>small,.v13-mode-description,.v13-form-footnote,.v13-plan-detail{color:#74777d}
.v13-check-modes small{color:#74777d}
.v13-summary{gap:16px;border-color:#e7e7e7}
.v13-summary span{font-size:12px;color:#74777d;min-width:0;line-height:1.8}
.v13-summary b{font-size:26px;color:#1d2129}
.v13-status{border-radius:4px;font-size:12px;line-height:1.6}
.v13-issue{background:#fff0ed;color:#d54941}
.v13-review{background:#fff1e9;color:#a75b00}
.v13-pass{background:#e8f8f2;color:#078d5c}
.v13-requirement{background:#fff8ec;border-color:#e6a23c;border-radius:0 4px 4px 0;font-size:12px}
.v13-monitor-metrics{gap:16px}
.v13-monitor-metrics>div{background:#f7f9fc;border:1px solid #e7e7e7;border-radius:4px;padding:18px;min-width:0}
.v13-monitor-metrics small{color:#74777d;line-height:1.7}
.v13-monitor-metrics b{color:#1d2129;font-size:22px;font-weight:600;line-height:1.6}
.v13-monitor-metrics b .sub{font-size:11px;font-weight:400}
.v13-live-status{background:#f5f8ff;border-color:#e1e9f9}
.v13-live-orbit{color:var(--td-brand,#0052d9)}
.v13-live-orbit span{border-color:#d9e7ff;border-top-color:var(--td-brand,#0052d9)}
.v13-live-progress progress{accent-color:var(--td-brand,#0052d9)}
.v13-typing i{background:var(--td-brand,#0052d9)}
.v13-conversation{border-color:#e7e7e7;border-radius:6px;background:#fff;padding:20px}
.v13-conversation.is-current{border-color:#0052d9}
.v13-conversation header{flex-wrap:wrap}
.v13-conversation header span,.v13-message b,.v13-verdict{color:#74777d}
.v13-message{border-radius:4px;background:#f3f3f3}
.v13-role-user{background:#ecf2fe}
.v13-role-assistant{background:#f5f8f7}
.v13-message pre{font-size:13px;line-height:1.8}
.v13-verdict{border-color:#e7e7e7}
.v13-wait{color:#0052d9}
.v13-final-result{border-top:3px solid #0052d9!important}
.v13-final-result h3{color:#1d2129;line-height:1.6}
.v13-final-result p{line-height:1.9;overflow-wrap:anywhere}
.v13-material-actions{gap:10px}
#v13-materials-form textarea,#v13-billing-form textarea{box-sizing:border-box;max-width:100%;border:1px solid #dcdcdc;border-radius:4px;padding:12px;font-size:13px;line-height:1.7}
#v13-materials-form textarea:focus,#v13-billing-form textarea:focus{outline:2px solid #0052d926;border-color:#0052d9}
.v13-confirm-actions{flex-wrap:wrap}
.v13-detect-confirm>p,.v13-detect-confirm dt{color:#74777d}
@media(max-width:700px){
 .v13-monitor-metrics{gap:10px}.v13-monitor-metrics>div{padding:13px}.v13-monitor-metrics b{font-size:18px}
 .v13-summary{gap:12px}.v13-summary b{font-size:23px}
 .v13-conversation{padding:14px}.v13-conversation header{gap:8px}
 .v13-material-actions>.btn{white-space:normal;text-align:center}
}
@media(prefers-reduced-motion:reduce){.v13-model-toggle .v13-model-chevron{transition:none}}
@media print{.v13-final-result{border-top-color:#444!important}.v13-monitor-metrics>div{break-inside:avoid}}

/* Report reading order: verdict, measurements, decisions, then optional evidence. */
.v13-report-page{max-width:1200px;margin:auto}
.v13-report-page .page-head{margin-bottom:24px!important}
.v13-result-overview{border-top:3px solid #0052d9!important}
.v13-result-overview.issue{border-top-color:#d54941!important}
.v13-result-overview.pending{border-top-color:#e6a23c!important}
.v13-result-label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#74777d;margin-bottom:16px}
.v13-result-overview h2{font-size:24px!important;font-weight:600!important;margin:0 0 10px!important;color:#1d2129!important}
.v13-result-overview h3{font-size:16px!important;line-height:1.7;margin:0 0 10px!important;color:#424b57}
.v13-result-answer{font-size:14px;line-height:1.9;max-width:1000px;margin:0 0 20px;overflow-wrap:anywhere}
.v13-result-counts{display:flex;flex-wrap:wrap;gap:12px 28px;padding:16px 0;border-top:1px solid #edf0f4}
.v13-result-counts span{font-size:12px;color:#74777d;display:flex;align-items:baseline;gap:7px}
.v13-result-counts b{font-size:23px;color:#1d2129;font-weight:600}
.v13-result-counts span:nth-child(2) b{color:#d54941}
.v13-result-scope{font-size:12px!important;color:#74777d;line-height:1.8;margin:6px 0 0}
.v13-result-next{display:flex;gap:14px;background:#f5f8ff;border-radius:4px;padding:14px 16px;margin-top:18px;font-size:13px;line-height:1.8}
.v13-result-next b{white-space:nowrap;color:#0052d9}.v13-result-next span{overflow-wrap:anywhere}
.v13-result-issues{padding:14px 16px;background:#fff8ec;border-radius:4px;font-size:13px;line-height:1.8;margin-top:14px}
.v13-result-issues ul{padding-left:20px;margin:6px 0}.v13-result-issues small{color:#74777d}
.v13-result-boundary{font-size:12px;line-height:1.8;margin-top:14px}.v13-result-boundary summary{cursor:pointer;color:#74777d}
.v13-key-observations h2{font-size:16px!important;margin:0 0 18px!important}
.v13-key-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.v13-key-metrics>div{min-width:0;padding-right:16px;border-right:1px solid #edf0f4}.v13-key-metrics>div:last-child{border:0}
.v13-key-metrics small,.v13-key-metrics span{display:block;color:#74777d;font-size:11px;line-height:1.8}
.v13-key-metrics strong{display:block;font-size:25px;color:#1d2129;margin:8px 0;font-weight:600;overflow-wrap:anywhere}
.v13-key-observations>.v13-result-scope{margin-top:18px}
.v13-decision-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}
.v13-decision-grid article{padding:20px;border:1px solid #e7e7e7;border-radius:6px;background:#fff;min-width:0}
.v13-decision-grid h3{font-size:14px!important;color:#1d2129;margin:0 0 12px!important;font-weight:600}
.v13-decision-grid p{font-size:13px;line-height:1.8;color:#424b57;overflow-wrap:anywhere;margin:0 0 10px}
.v13-decision-grid small{font-size:11px;line-height:1.8;color:#74777d;display:block}
.v13-report-details-title{display:flex;align-items:center;gap:14px;margin:28px 0 16px}
.v13-report-details-title h2{font-size:16px!important;margin:0!important}.v13-report-details-title span{font-size:12px;color:#74777d}
.v13-report-fold>summary{font-size:14px;font-weight:500;color:#424b57;cursor:pointer;line-height:1.7;overflow-wrap:anywhere}
.v13-report-fold[open]>summary{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #edf0f4;color:#0052d9}
.v13-report-fold>.panel{border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}
.v13-report-fold pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:500px;overflow:auto;font-size:12px;line-height:1.7}
.v13-report-materials h2{font-size:15px!important}.v13-report-materials>p{font-size:12px;color:#74777d;line-height:1.8}
.v13-report-materials summary{font-size:13px;cursor:pointer}
@media(max-width:700px){.v13-key-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.v13-key-metrics>div:nth-child(2){border:0}.v13-key-metrics strong{font-size:22px}.v13-decision-grid{grid-template-columns:1fr;gap:10px}.v13-decision-grid article{padding:16px}.v13-result-overview h2{font-size:21px!important}.v13-result-answer{font-size:13px}.v13-result-counts{gap:12px 20px}.v13-result-next{flex-direction:column;gap:5px}.v13-report-page .head-actions{flex-wrap:wrap}.v13-report-details-title{flex-wrap:wrap}}

.v13-material-shortlist{padding-left:20px;font-size:12px;line-height:1.9;color:#74777d}

body:not([data-ui-route="home"]) #main .v13-report-page .v13-result-overview{border-top:3px solid #0052d9!important}
body:not([data-ui-route="home"]) #main .v13-report-page .v13-result-overview.issue{border-top-color:#d54941!important}
body:not([data-ui-route="home"]) #main .v13-report-page .v13-result-overview.pending{border-top-color:#e6a23c!important}
body:not([data-ui-route="home"]) #main .v13-report-page .v13-result-overview h2{font-size:24px!important;font-weight:600!important;color:#1d2129!important}
@media(max-width:700px){body:not([data-ui-route="home"]) #main .v13-report-page .v13-result-overview h2{font-size:21px!important}}
