@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans','Noto Sans SC',system-ui,sans-serif;color:#182632;background:#f4f6f3;font-synthesis:none;--green:#31594b;--soft:#edf2e9;--border:#e0e5e2;--muted:#818887;--header:50px;--bottom:50px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--border);background:#fff;color:inherit;border-radius:6px;padding:9px 13px;font-size:12px;line-height:1.4;transition:background .15s,border-color .15s}button:hover{background:#f1f5f0;border-color:#c4d2c9}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid #659783;outline-offset:3px}a{color:var(--green);text-decoration:none}h1,h2,h3,p{margin-top:0}h2{font-size:15px;font-weight:600;margin:0}.muted{font-size:12px;color:var(--muted)}[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-button{display:grid;place-items:center;padding:0;width:36px;height:36px}.previous-icon{transform:rotate(180deg)}.down-icon{transform:rotate(90deg)}
.app-header{position:sticky;top:0;height:var(--header);z-index:20;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 3.8%;border-bottom:1px solid var(--border);background:#ffffffed;box-shadow:0 2px 9px #253c3005;backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:14px;font-size:16px;font-weight:600;white-space:nowrap;letter-spacing:-.3px;color:#182632}.mark{display:grid;place-items:center;width:27px;height:27px;background:#31584c;color:#fff;font-size:25px;line-height:1;border-radius:5px;box-shadow:inset 0 0 0 1px #ffffff24}.brand .light{border-left:1px solid var(--border);padding-left:14px;font-weight:400;color:#949a98}.head-actions{display:flex;align-items:center;gap:10px}.head-actions>button{height:36px;white-space:nowrap;color:#69717b}.run-nav{display:flex;align-items:center;gap:5px;margin-right:10px;font-size:12px;color:var(--green);white-space:nowrap}.run-nav .icon{width:15px;height:15px}.run-nav #run-position{margin-right:6px;font-weight:600;font-variant-numeric:tabular-nums}.run-nav progress{appearance:none;border:0;width:94px;height:8px;background:#dee4dd;border-radius:6px;overflow:hidden;margin-right:9px}.run-nav progress::-webkit-progress-bar{background:#dee4dd}.run-nav progress::-webkit-progress-value{background:#3e6151;border-radius:6px}.run-nav progress::-moz-progress-bar{background:#3e6151;border-radius:6px}.account-menu{position:relative;font-size:12px;color:#68717a;margin-right:3px}.account-menu>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;padding:8px}.account-menu>summary::-webkit-details-marker{display:none}.account-menu .icon{width:12px;height:12px}.account-popover{position:absolute;right:0;top:34px;min-width:220px;padding:16px;display:flex;align-items:stretch;flex-direction:column;gap:13px;border:1px solid var(--border);border-radius:9px;background:#fff;box-shadow:0 9px 30px #21382c12}.account-popover a{font-size:12px}
main{width:92%;max-width:1840px;margin:0 auto;padding:20px 0 90px}.workspace{display:grid;grid-template-columns:minmax(0,1.39fr) minmax(0,1fr);gap:18px;align-items:start}.evidence-column{display:flex;flex-direction:column;gap:16px;min-width:0}.panel{border:1px solid var(--border);border-radius:10px;background:#fdfefd;box-shadow:0 3px 17px #283b2c03;overflow:hidden}.run-summary{padding:13px 20px 13px}.eyebrow{font-size:13px;letter-spacing:.6px;color:#78877e;font-weight:600;margin:0 0 3px;line-height:20px}h1{font-size:28px;line-height:1.25;font-weight:600;letter-spacing:-.65px;margin:0}.stats{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:7px;font-size:12px;line-height:18px}.pill,.verdict{padding:3px 9px;border-radius:5px;font-size:12px;white-space:nowrap}.core-label{background:#dcebe1;color:#254d3e;font-weight:600;letter-spacing:.1px}.verdict{background:#f5ece2;color:#885a2b}.stat{display:flex;align-items:center;gap:8px}.stat .label{color:#868b8a}.stat b{font-weight:400}.model-stat{background:#f2f4f2;padding:3px 8px;border-radius:5px}.section-head{height:49px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px;border-bottom:1px solid #e7ebe7}.section-head>div{display:flex;align-items:center;gap:12px;min-width:0}.section-head h2{white-space:nowrap}.section-icon{width:20px;height:20px;background:#36594c;color:#fff;border-radius:4px;display:grid;place-items:center;flex-shrink:0}.section-icon .icon{width:14px;height:14px}.task-copy{padding:8px 20px 11px}.task-copy>p{font-size:14px;line-height:20px;color:#747a7b;margin:0}.task-text{font-family:ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f5f1;padding:12px;border-radius:6px;font-size:11px;line-height:1.7;max-height:400px;overflow:auto}
.evidence{margin-top:2px}.evidence-heading{border:0;height:49px;gap:12px}.evidence-heading>div{flex-shrink:0}.video-clock{margin-left:auto;font-size:12px;color:#7d8581;white-space:nowrap;gap:6px!important;font-variant-numeric:tabular-nums}.video-clock .icon{width:16px;height:16px}.video-clock b{font-weight:400}.evidence-heading>.icon-button{width:22px;height:24px;border:0;background:transparent;color:#7b8580;flex-shrink:0}.evidence-heading>.icon-button .icon{width:15px;height:15px}.video-wrap{height:auto;aspect-ratio:16/9;background:#18231d;margin:0 20px 10px;border-radius:7px;overflow:hidden;position:relative;display:grid;place-items:center}.video-wrap video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}.video-wrap:fullscreen{height:100%;width:100%;margin:0;border-radius:0}.video-wrap p{position:absolute;inset:auto 14px 14px;padding:12px;border-radius:5px;background:#16231de6;color:#fff;font-size:12px;line-height:1.6;margin:0}.tabs{display:flex;align-items:center;gap:24px;margin:0 20px;border-bottom:1px solid var(--border);padding:0 6px}.tabs button{background:none;border:0;border-radius:0;padding:12px 5px 11px;font-size:13px;color:#8a908d;white-space:nowrap;border-bottom:2px solid transparent}.tabs button.active{color:#2f5748;border-bottom-color:#3d6b55;font-weight:600}.tabs .tab-count{padding:1px 5px;background:#e8f0e8;border-radius:4px;font-size:11px;margin-left:5px}.tabs #annotate-time{margin-left:auto;font-size:11px;color:#778b7c;padding-inline:0}.evidence-list{height:400px;overflow:auto;margin:0 20px 20px;padding:14px 14px 14px 49px;border:1px solid #e7ebe6;border-radius:7px;scrollbar-width:thin;scrollbar-color:#d9e2d9 transparent;scroll-behavior:smooth}.evidence-list>.task-text,.evidence-list>details{margin-left:-20px;font-size:12px}.step{position:relative;margin:0;padding:0 0 16px 12px;border-left:1px solid #d7e0d7;scroll-margin:12px}.step:last-of-type{border-left-color:transparent;padding-bottom:2px}.timeline-node{position:absolute;left:-41px;top:13px;width:7px;height:7px;border:2px solid #648572;border-radius:50%;background:#fff}.step-marker{position:absolute;left:-13px;top:4px;width:25px;height:25px;border-radius:50%;background:#4b866d;color:white;display:grid;place-items:center;box-shadow:0 0 0 5px #fdfefd}.step-marker .icon{width:14px;height:14px;stroke-width:1.6}.step-content{margin-left:16px;padding:0 0 0 2px;border-radius:6px}.step.selected .step-content{background:#eff5ee;box-shadow:0 0 0 7px #eff5ee}.step-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.step-meta{display:flex;align-items:center;gap:16px;font-size:11px;color:#858e89;margin:2px 0 3px;line-height:20px}.step-number{font-size:12px;line-height:20px;border-radius:4px;padding:0 6px;background:#edf4ec;color:#315d46}.step h3{font-size:12px;font-weight:500;line-height:19px;color:#1a2933;margin:0 0 6px}.step-collapse{border:0;background:#f2f5f2;border-radius:50%;width:28px;height:28px;padding:6px;color:#6f7d74;margin-top:3px}.step-collapse .icon{width:15px;height:15px;transform:rotate(90deg)}.step-collapse[aria-expanded=false] .icon{transform:rotate(0)}.step p{font-size:12px;line-height:1.75;color:#748077;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 9px}.tool-group{background:#f3f5f2;padding:8px 14px;border-radius:8px}.tool-group:empty{display:none}.step details{font-size:11px;line-height:1.5;margin:0}.step summary{cursor:pointer;color:#7a827d;overflow-wrap:anywhere}.step pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,monospace;font-size:11px;line-height:1.7;max-height:320px;overflow:auto;padding:10px;background:#e9eee8;border-radius:5px}.step img{max-width:100%;border-radius:6px;margin:8px 0}.step-mark{border:0;padding:5px 0;font-size:10px;color:#728772;background:transparent}.step .step-mark{opacity:0}.step:hover .step-mark,.step:focus-within .step-mark{opacity:1}
.review{position:sticky;top:69px;max-height:calc(100dvh - 124px);overflow:auto;scrollbar-width:thin;scrollbar-color:#d9e2d9 transparent}.review>.section-head{position:sticky;top:0;height:53px;z-index:2;background:#fdfefd}.comment-icon{width:21px;height:21px;color:#375d4c}.progress{font-size:13px;color:#7c8b7c;white-space:nowrap}.insight{margin:13px 19px 16px;padding:10px 18px 13px;border:1px solid var(--border);border-radius:9px;background:#fff;cursor:pointer;transition:border-color .15s}.insight.selected{border-color:#87a692;box-shadow:0 0 0 2px #dce8df66}.insight:hover{border-color:#c1cfc2}.insight:focus-visible{outline:2px solid #79a18a;outline-offset:2px}.insight-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#8a928e;line-height:20px;margin-bottom:6px}.insight-head .status{font-size:11px;color:#879481}.insight h3{font-size:16px;font-weight:600;line-height:1.65;margin:0 0 5px;color:#172632}.insight p{font-size:13.5px;line-height:1.6;color:#7c818a;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.insight p strong{font-weight:600;color:#3d6550}.evidence-links{display:flex;flex-wrap:wrap;gap:6px 8px;margin:11px 0 11px}.evidence-links button{border:0;background:#eff3e9;color:#6e8063;font-size:12px;line-height:18px;border-radius:4px;min-height:29px;min-width:91px;padding:5px 14px}.evidence-links button:hover{background:#e3ecdc}.judgments{display:flex;align-items:center;gap:8px;border-top:1px solid #edf0ed;padding-top:11px}.judgments button{font-size:12px;white-space:nowrap;padding:8px 12px;line-height:17px}.judgments button.selected{border-color:#6e9a83;background:#f4faf5;color:#265943;box-shadow:inset 0 0 0 1px #6e9a8312}.judgments .edit{margin-left:auto;border:0;background:transparent;padding:8px 2px;font-size:11px;color:#819277}.add-btn{width:calc(100% - 38px);margin:0 19px 18px;border:1px dashed #bdceba;color:#718566;background:#f8faf5;padding:13px}.empty{padding:20px;font-size:13px;line-height:1.8;color:#879082}.text-btn{border:0;background:none;color:var(--green);padding:7px 0}.primary{background:#315d4d;color:#fff;border-color:#315d4d}.primary:hover{background:#244c3d;border-color:#244c3d}
.composer{position:fixed;bottom:0;left:0;width:100%;z-index:25;background:#fffffffa;border-top:1px solid #e3e8e2;box-shadow:0 -3px 14px #263d2a03;backdrop-filter:blur(12px)}.composer-bar{min-height:var(--bottom);padding:7.5px 3.2%;display:flex;align-items:center;gap:12px}.composer-bar>h2{display:flex;align-items:center;gap:11px;font-size:14px;white-space:nowrap;font-weight:600}.composer-bar>h2 .icon{color:#3c634e;width:17px;height:17px}.composer form{flex:1;min-width:180px}.composer textarea{display:block;width:100%;height:35px;min-height:35px;max-height:120px;resize:vertical;line-height:18px;padding:8px 12px;border:1px solid #e2e7e2;border-radius:7px;background:#fff;font-size:12px;color:#334738}.composer textarea::placeholder{color:#95999f}.review-footer{display:flex;align-items:center;gap:8px;white-space:nowrap}.review-footer label{font-size:11px;color:#8c9688;margin-left:5px;margin-right:4px}.review-footer input{width:128px;height:34px;border:1px solid var(--border);border-radius:6px;background:#f5f7f4;padding:8px 10px;font-size:11px;color:#546069}.review-footer button{height:35px;padding:8px 14px;font-size:12px}.revise-button{background:#e6f0e7;color:#315846;border-color:#dbe8de}.revise-button:hover{background:#d9e9dc}.composer-feedback{position:absolute;bottom:calc(100% + 7px);left:4%;right:4%;display:flex;align-items:center;justify-content:flex-end;gap:8px;pointer-events:none}.composer-feedback>span:empty{display:none}.composer-feedback>span{font-size:11px;line-height:1.6;padding:7px 11px;border:1px solid #dce5da;border-radius:6px;background:#fbfdf9f5;color:#62785d;max-width:600px;box-shadow:0 2px 8px #1b36230a;pointer-events:auto}.composer-feedback #revision-context{margin-right:auto}.composer-feedback #save-status{max-width:260px;color:#869180}.sync-warning{position:fixed;left:4%;right:4%;bottom:95px;padding:15px 20px;border:1px solid #decaaa;border-radius:8px;background:#fff8e9;box-shadow:0 5px 20px #58412714;z-index:30;font-size:12px}.sync-warning button{margin:8px 8px 0 0}.sync-warning span{display:block}#revision-history{padding:0 19px 16px;font-size:12px}#revision-history:empty{display:none}#revision-history summary{cursor:pointer;color:#658168}.chat-entry{border-top:1px solid var(--border);padding:12px 0;margin-top:12px}.chat-entry p{white-space:pre-wrap;line-height:1.7;margin:7px 0 12px}#toast{position:fixed;bottom:76px;left:50%;transform:translateX(-50%);background:#2a503e;color:#fff;border-radius:7px;padding:11px 20px;font-size:12px;box-shadow:0 5px 22px #21372522;z-index:40;opacity:0;pointer-events:none;transition:opacity .15s}#toast.show{opacity:1}.run-loading{position:fixed;top:58px;left:50%;transform:translateX(-50%);z-index:30;max-width:80vw;padding:10px 18px;border:1px solid var(--border);border-radius:8px;background:#fcfdfb;box-shadow:0 3px 16px #243d3314;color:var(--green);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Catalog and authentication share the review workspace's quiet styling. */
.auth-card{max-width:440px;margin:70px auto;padding:32px}.auth-card h1{font-size:24px}.auth-card label{display:block;margin:18px 0;font-size:13px}.auth-card input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid var(--border);border-radius:7px}.auth-card form>.primary{width:100%;padding:12px}#auth-error{font-size:13px;color:#9b492e}.intro{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.subtitle{font-size:13px;color:#819084;line-height:1.8;margin:12px 0 0}.suite-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.suite-card{text-align:left;padding:24px;min-height:145px;border-radius:10px;background:#fdfefd}.suite-card>span{font-size:16px;font-weight:600;display:block}.suite-card b{font-size:23px;display:block;margin-top:16px}.suite-card small{font-size:12px;font-weight:400;color:var(--muted)}.suite-card p{color:var(--muted);margin-bottom:0;font-size:12px}.plan-summary{margin-top:24px;padding:18px;font-size:13px}.plan-summary summary{cursor:pointer}#initialization-plan{line-height:1.9;margin-top:12px;color:var(--muted)}.filters{display:flex;gap:12px;padding:20px;flex-wrap:wrap}.filters input,.filters select{font-size:13px;border:1px solid var(--border);border-radius:6px;padding:10px;background:#fff;color:inherit}.filters input{flex:1;min-width:160px}#run-browser{margin-top:24px}.run-row{display:grid;grid-template-columns:minmax(160px,1fr) 70px 85px 20px;align-items:center;gap:20px;padding:18px 24px;border-top:1px solid var(--border);font-size:12px;color:inherit}.run-row:hover{background:#f0f5ec}.run-row b{font-size:14px;font-weight:500}.run-row small{display:block;color:var(--muted);margin-top:7px}.run-row .run-result{color:var(--muted)}.list-pager{display:flex;justify-content:center;align-items:center;gap:20px;padding:20px;font-size:12px}

@media(max-width:1250px){.app-header{padding-inline:3%;gap:12px}.brand{font-size:14px;gap:9px}.head-actions{gap:7px}.head-actions>button{padding-inline:10px}.run-nav progress{width:60px}.workspace{grid-template-columns:minmax(0,1.2fr) minmax(360px,1fr)}.evidence-heading{flex-wrap:wrap;height:auto;min-height:49px;padding-block:12px;row-gap:7px}.video-clock{margin-left:auto}.stats{gap:9px}.composer-bar{gap:9px;padding-inline:3%}.composer-bar>h2{font-size:12px;gap:7px}.review-footer input{width:86px}.review-footer label{display:none}.review-footer button{padding-inline:10px}.judgments{gap:5px}.judgments button{padding-inline:8px}.judgments .edit{font-size:10px}}
@media(max-width:1000px){:root{--header:94px;--bottom:100px}.app-header{height:auto;min-height:var(--header);flex-wrap:wrap;padding:10px 4%;gap:9px}.brand{font-size:15px}.head-actions{width:100%;justify-content:flex-end;gap:8px}.run-nav{margin-right:auto}.run-nav progress{width:66px}.account-menu{margin-right:auto}.workspace{grid-template-columns:minmax(0,1fr) minmax(330px,.9fr);gap:14px}.section-head{padding-inline:15px}.task-copy{padding-inline:15px}.run-summary{padding-inline:15px}h1{font-size:25px}.review{top:calc(var(--header) + 19px);max-height:calc(100dvh - var(--header) - var(--bottom) - 25px)}.insight{margin-inline:12px;padding-inline:13px}.insight h3{font-size:15px}.insight p{font-size:12px}.video-wrap{margin-inline:14px}.tabs{margin-inline:14px;gap:13px}.tabs button{font-size:12px}.tabs #annotate-time{font-size:10px}.evidence-list{margin-inline:14px}.composer-bar{flex-wrap:wrap;padding:8px 4%;gap:8px}.composer-bar>h2{flex:0 0 170px}.composer form{flex:1}.review-footer{width:100%;justify-content:flex-end}.review-footer label{display:block}.review-footer input{width:120px}.review-footer button{height:33px}.run-loading{top:calc(var(--header) + 8px)}main{padding-bottom:125px}}
@media(max-width:760px){.workspace{grid-template-columns:1fr}.review{position:static;max-height:none}.evidence-column{gap:14px}.video-wrap{height:auto;aspect-ratio:16/9}.evidence-list{height:330px}.app-header{position:relative}.brand{font-size:15px}.brand .light{font-size:14px}.head-actions{flex-wrap:wrap;gap:6px;justify-content:flex-start}.run-nav{margin-right:auto}.head-actions>button{height:32px;font-size:11px;padding-inline:9px}.head-actions .account-menu{margin-right:0}.run-nav progress{width:60px}.head-actions #export{display:none}.account-menu .account-popover{right:-40px}.composer-bar>h2{flex-basis:auto;font-size:12px}.composer-bar>h2 .icon{display:none}.composer textarea{font-size:12px}.review-footer input{width:90px}.review-footer button{font-size:11px}.review-footer label{font-size:10px}.composer-feedback{bottom:calc(100% + 5px);align-items:flex-end;flex-direction:column;gap:4px}.composer-feedback>span{max-width:100%;font-size:10px}.composer-feedback #revision-context{margin-right:0}.sync-warning{bottom:140px}.step .step-mark{opacity:1}.judgments .edit{font-size:11px}.suite-grid{grid-template-columns:repeat(2,1fr)}.run-row{gap:8px;padding:16px;grid-template-columns:minmax(120px,1fr) 60px 70px}.run-row>span:last-child{display:none}.auth-card{margin:30px 15px}.run-loading{top:10px}#toast{bottom:125px}}
@media(max-width:420px){.suite-grid{grid-template-columns:1fr}.run-nav progress{display:none}.brand{font-size:14px}.head-actions{gap:4px}.head-actions>button{padding-inline:8px}.composer-bar>h2{width:100%;font-size:11px}.composer form{min-width:100%;flex-basis:100%}.review-footer{gap:6px}.review-footer input{width:68px}.review-footer button{padding-inline:9px}.review-footer label{margin-left:0;margin-right:0}.stats{gap:8px}.stats,.pill,.verdict{font-size:11px}.tabs{gap:12px}.tabs #annotate-time{font-size:9px}.evidence-list{padding-left:30px}.step-meta{gap:10px}.timeline-node{display:none}main{padding-bottom:160px}.insight{margin-inline:14px}.judgments .edit{font-size:10px}#toast{bottom:155px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.judgments button[data-verdict="correct"]{border-color:#86ab96;color:#315d49;background:#fbfdfb}.judgments button.selected{background:#e3efe5;border-color:#608e74;color:#244e38;font-weight:500}

.video-review-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:12px 18px;color:var(--muted);font-size:11px}.video-review-tools button{font-size:11px}

.task-outcome{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:13px;padding-top:12px;border-top:1px solid var(--border);font-size:13px;color:#79847d}
.task-outcome strong{font-size:13px;font-weight:600;padding:4px 9px;border-radius:5px;background:#edf0ed;color:#68716a}
.task-outcome strong[data-result="success"]{color:#2e664b;background:#e6f1e7}.task-outcome strong[data-result="failure"]{color:#905a38;background:#f6ece2}
.task-outcome .text-btn{margin-left:auto;font-size:12px;padding:4px 0}.evidence-list,.video-wrap{scroll-margin-block:12px}
@media(min-width:761px){
  body.review-layout{height:100dvh;overflow:hidden}
  body.review-layout main{height:calc(100dvh - var(--layout-header-height,var(--header)) - var(--layout-footer-height,var(--bottom)));min-height:0;padding-top:20px;padding-bottom:12px}
  body.review-layout #run-view,body.review-layout .workspace{height:100%;min-height:0}
  body.review-layout .workspace{align-items:stretch}
  body.review-layout .evidence-column{height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d9e2d9 transparent}
  body.review-layout .evidence-column>.panel{flex-shrink:0}
  body.review-layout .review{position:relative;top:auto;height:100%;max-height:none;min-height:0;overscroll-behavior:contain}
  body.review-layout .evidence-list{height:auto;max-height:none;overflow:visible}
}

.evidence-links button[data-time]{background:#171b1a;color:#fff}.evidence-links button[data-time]:hover{background:#303633}

.app-header{height:auto;min-height:var(--header);flex-wrap:wrap;padding-block:7px;gap:12px}
.language-switch{margin-left:auto;display:inline-flex;align-items:center;flex-shrink:0;gap:2px;padding:3px;border:1px solid #dce5de;border-radius:999px;background:#eef3ef}
.language-switch button{min-height:28px;padding:4px 11px;border:0;border-radius:999px;background:transparent;color:#68796e;font-size:12px;line-height:20px;white-space:nowrap}
.language-switch button:hover{background:#e0e9e2}
.language-switch button[aria-pressed="true"]{background:#36594c;color:#fff}
.language-switch button:focus-visible{outline:2px solid #659783;outline-offset:2px}
select:focus-visible{outline:2px solid #659783;outline-offset:3px}
.head-actions{flex-wrap:wrap;justify-content:flex-end}
.tabs,.judgments,.review-footer{flex-wrap:wrap}
.tabs{row-gap:6px}
.review>.section-head{height:auto;min-height:53px;padding-block:12px;flex-wrap:wrap}
.review>.section-head h2{white-space:normal}
.run-row>span{overflow-wrap:anywhere}

/* Playback speed stays next to the evidence title; the whole group is one pill. */
.evidence-heading{height:auto;min-height:49px;flex-wrap:wrap;padding-block:9px;row-gap:8px}
.evidence-heading>.playback-speed{display:inline-flex;gap:2px;padding:3px;border:1px solid #efcf57;border-radius:999px;background:#fff1b5}
.playback-speed button{min-width:35px;min-height:27px;padding:3px 9px;border:0;border-radius:999px;background:transparent;color:#665012;font-size:12px;line-height:20px;font-weight:500;font-variant-numeric:tabular-nums}
.playback-speed button:hover{background:#ffe58b}
.playback-speed button[aria-pressed="true"]{background:#f3cc43;color:#332704;box-shadow:0 1px 3px #8d6b1720}
.playback-speed button:focus-visible{outline:2px solid #86630b;outline-offset:2px}
.playback-speed button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){.evidence-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto}.evidence-heading>.playback-speed{grid-row:2;grid-column:1 / -1;justify-self:start}.evidence-heading .video-clock{margin-left:0}}

.task-markdown>:first-child{margin-top:0}.task-markdown>:last-child{margin-bottom:0}
.task-markdown p{margin:0 0 .7em}.task-markdown ul,.task-markdown ol{padding-left:1.5em;margin:.7em 0}
.task-markdown pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f4f1;padding:12px;border-radius:6px}
.task-markdown code{font-size:.9em}.task-markdown table{border-collapse:collapse;display:block;overflow:auto}
.task-markdown th,.task-markdown td{padding:6px 10px;border:1px solid #dce2dc}.task-markdown a{color:#315d4c}
.task-markdown img{max-width:100%}.task-markdown blockquote{border-left:3px solid #bbcbbf;padding-left:12px;margin-left:0}
