/* Clarity/compact experiment rail, run table and exact-pair reviews; geometry owns no content. */
.role-test-layout{display:grid;grid-template-columns:232px minmax(0,1fr);gap:24px;align-items:start;min-width:0}
.role-test-layout>nav{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.role-test-layout>nav button{text-align:left;overflow-wrap:anywhere;min-height:44px;font-size:16px}.role-test-layout>nav button[aria-current=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.role-test-layout>nav p{font-size:14px;overflow-wrap:anywhere;margin:0 0 8px}
.role-test-reader{min-width:0;overflow-wrap:anywhere;font-size:16px;line-height:1.5}
.role-test-columns{display:grid;grid-template-columns:minmax(0,var(--column-left,50fr)) 12px minmax(0,var(--column-right,50fr));align-items:stretch;margin-top:16px;min-width:0}
.role-test-timeline{display:grid;grid-template-columns:subgrid;grid-column:1/-1;grid-row:1;row-gap:16px;min-width:0}
.role-test-timeline>*{grid-column:1/-1;min-width:0}
.role-test-pair{display:grid;grid-template-columns:subgrid;grid-template-rows:auto auto;align-items:stretch;border:1px solid var(--border-strong);border-radius:16px;background:var(--surface);min-width:0}
.role-test-pair-reading{grid-column:1;grid-row:1;min-width:0;padding:0}.role-test-pair-reading>.role-test-verdict,.role-test-pair-reading>.role-test-links{margin:12px}
.role-test-review-column{display:flex;flex-direction:column;gap:12px;grid-column:3;grid-row:1/span 2;min-width:0;padding:12px;border-left:1px solid var(--line)}
.role-test-review-track{grid-row:1;min-width:0}
.role-test-review-sticky{position:static;background:var(--surface)}
.role-test-review-sticky.role-test-review-static{position:static}
.role-test-review-sticky>.role-test-review{margin-bottom:0}
.role-test-review-details{grid-row:2;margin-top:16px;min-width:0}
.role-test-event-identity{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;font-size:14px;margin:12px 0 16px}
.role-test-event-identity dt{color:var(--muted)}.role-test-event-identity dd{margin:0;overflow-wrap:anywhere}
.role-test-review-details h4{margin:12px 0 6px}
.role-test-reader .hint,.role-test-reader summary{font-size:14px}
.role-test-separator{grid-column:2;grid-row:1;z-index:1;align-self:stretch;min-height:80px;cursor:col-resize;touch-action:none;position:relative}
.role-test-separator::before{content:"";position:absolute;top:0;bottom:0;left:5px;width:2px;background:var(--line)}
.role-test-separator:hover::before,.role-test-separator:focus-visible::before{background:var(--teal)}
.role-test-separator:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
.role-test-columns.columns-stacked{grid-template-columns:minmax(0,1fr);gap:16px}
.role-test-columns.columns-stacked .role-test-pair-reading,.role-test-columns.columns-stacked .role-test-review-column{grid-column:1;grid-row:auto}
.role-test-columns.columns-stacked .role-test-review-column{display:block;padding-top:0}
.role-test-columns.columns-stacked .role-test-review-sticky{position:static}
.role-test-separator[hidden]{display:none}
.role-test-reader button,.role-test-modal button{min-height:44px;font-size:16px;line-height:1.5}
.role-test-reader button[aria-pressed=true]{border-color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.role-test-reader button:focus-visible,.role-test-reader a:focus-visible,.role-test-ratings label:focus-within{outline:2px solid var(--teal);outline-offset:2px}
.role-test-reader h2{margin:0 0 8px}.role-test-reader h3{margin:0 0 10px;font-size:18px}.role-test-reader h4{margin:0;font-size:inherit}
.role-test-reader p{margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}
.role-test-reader pre,.role-test-modal pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-height:26rem;overflow:auto;background:var(--soft);padding:10px;margin:6px 0}
.role-test-reader details{margin:8px 0}.role-test-reader summary{cursor:pointer;color:var(--muted)}
.role-test-run,.role-test-change,.role-test-summary{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}
.role-test-pair-reading>.role-test-run:first-child{border:0;padding:0;margin:0}
.role-test-pair-reading>.role-test-change:first-child{border-top:0;margin-top:0;padding-top:0}
.role-test-run-unavailable{font-size:14px;color:var(--muted)}
.role-test-timeline>.role-test-run:first-child{margin-top:0;padding-top:0;border-top:0}
.role-test-change{border-left:3px solid var(--teal);padding-left:12px}
.role-test-dialog{margin:0;padding:0 0 12px;font-size:18px}.role-test-dialog strong{display:block;font-weight:600;padding:12px 12px 0}.role-test-dialog>p{padding:0 12px;margin:8px 0 0}
.role-test-dialog .role-test-question{font-weight:600;margin:0;padding:12px;background:var(--preview,#eaf3ff);border-bottom:1px solid var(--line);border-radius:16px 0 0 0}.role-test-dialog .role-test-question p{margin:0}
.role-test-dialog>p:last-child{margin-bottom:0}
.role-test-verdict{padding:12px;background:var(--soft);border:1px solid var(--line);border-radius:8px;margin:10px 0}
.role-test-verdict-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin-bottom:8px}
.role-test-metrics{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--muted);font-size:14px}.role-test-metrics span{overflow-wrap:anywhere}
.role-test-links{display:flex;gap:16px;flex-wrap:wrap;font-size:14px}
.role-test-review{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:12px 0;min-width:0}
.role-test-ratings{display:flex;flex:0 0 auto;min-width:0;flex-wrap:wrap;gap:8px}.role-test-ratings label{display:inline-flex;align-items:center;cursor:pointer;min-width:44px;min-height:44px}
.role-test-review-actions{display:none;align-items:center;flex-wrap:wrap;gap:12px}
.role-test-review-actions:has(>button:not([hidden])){display:flex}
.role-test-review-actions>button{flex:0 0 auto}.role-test-review-heading>.role-test-save-status:empty{display:none}
.role-test-ratings input.sr-only{margin:0;width:1px;height:1px}
.role-test-inline-comment{width:100%;min-width:0}
.role-test-review-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;min-width:0}
.role-test-review-heading>h4{font-size:14px;font-weight:600}
.role-test-review-heading>.role-test-save-status{margin:0;font-size:14px}
.role-test-examiner>a{display:inline-flex;align-items:center;min-height:44px;margin-left:auto;flex-shrink:0}
.role-test-inline-comment>textarea{width:100%;min-height:104px;font:inherit;resize:vertical}
.role-test-save-status,.role-test-human-comment,.role-test-review>details{margin:0}
.role-test-diff-block{margin:10px 0}.role-test-reader pre.role-test-diff-added{background:#eaf6ee;border-left:3px solid #27834b}.role-test-reader pre.role-test-diff-removed{background:#fff0ef;border-left:3px solid #bc4740}
.role-test-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;width:min(820px,calc(100vw - 32px));max-height:min(88dvh,calc(100dvh - 48px));overflow:auto;border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:var(--paper);color:var(--ink);box-shadow:0 14px 70px #17324d40}
.role-test-modal::backdrop{background:#17324d1a}.role-test-modal h3{margin:0 0 12px}.role-test-modal button{margin:8px 8px 0 0}.role-test-modal textarea{font:inherit;max-height:50dvh}
.role-test-modal-positioned{left:var(--role-modal-left);top:var(--role-modal-top);transform:none}
.role-test-modal-title{cursor:grab;touch-action:none;user-select:none;position:sticky;top:0;background:var(--paper)}.role-test-modal-title.role-test-dragging{cursor:grabbing}

@media(max-width:1050px){.role-test-layout{grid-template-columns:minmax(0,1fr);gap:16px}.role-test-layout>nav{flex-direction:row;flex-wrap:wrap}.role-test-layout>nav p{width:100%}.role-test-review-column{border-left:0;border-top:1px solid var(--line)}.role-test-columns{grid-template-columns:minmax(0,1fr);gap:16px}.role-test-separator{display:none}.role-test-pair-reading,.role-test-review-column{grid-column:1;grid-row:auto}.role-test-review-column{display:block;padding-top:0}.role-test-review-sticky{position:static}}
@media(max-width:600px){.role-test-verdict{padding:10px}.role-test-metrics{gap:4px 8px}.role-test-modal{padding:14px}}

.role-test-table-scroll{width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin:16px 0}.role-test-table-scroll table{width:100%;min-width:780px;table-layout:fixed;border-collapse:collapse;text-align:left}.role-test-table-scroll th,.role-test-table-scroll td{padding:12px;border-bottom:1px solid var(--line);vertical-align:top}.role-test-table-scroll th{font-weight:700;background:var(--table-head,var(--soft))}.role-test-table-scroll th:nth-child(1){width:24%}.role-test-table-scroll th:nth-child(2){width:28%}.role-test-table-scroll th:nth-child(3){width:34%}.role-test-table-scroll th:nth-child(4){width:14%;min-width:104px}.role-test-table-scroll td{overflow-wrap:anywhere}.role-test-run-row{cursor:pointer;height:44px}.role-test-run-row:hover,.role-test-run-row:active{background:var(--accent-soft)}.role-test-run-row:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}.role-test-table-scroll .role-test-review-count-cell{min-width:104px;white-space:nowrap;overflow-wrap:normal}.role-test-review-count{font-variant-numeric:tabular-nums;white-space:nowrap}.role-test-examiner{display:flex;align-items:center;gap:8px;font-size:14px}.role-test-examiner>.icon{width:24px;height:24px;flex:0 0 24px}.role-test-settings{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--accent-soft)}.role-test-review-actions a{display:inline-flex;align-items:center;min-height:44px}.role-test-review-column>.role-test-review{margin:0}
