
.rt-shell { padding-top: 12px; }

.rt-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }

.rt-provider-options, .rt-routes { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

[data-review-triage] button, .rt-fixture-select, .rt-paste { font: inherit; }

[data-review-triage] button { cursor: pointer; }

[data-review-triage] button:disabled { cursor: default; }

[data-review-triage] button:focus-visible, .rt-fixture-select:focus-visible { outline: 3px solid var(--focus, #1d4ed8); outline-offset: 3px; }

.rt-provider-option { background: #fff; color: var(--rt-muted); border: 1px solid var(--rt-line); border-radius: 7px; padding: 9px 11px; min-height: 40px; font-size: 12px !important; font-weight: 650 !important; }

.rt-provider-option[aria-pressed='true'] { color: #fff; background: var(--rt-ink); border-color: var(--rt-ink); }

.rt-provider-option:hover:not(:disabled) { border-color: var(--rt-ink); }

.rt-routes { font-size: 12px; }

.rt-recorded { color: #334155; background: #f1f5f9; border: 1px solid #cbd5e1; padding: 4px 6px; border-radius: 4px; font-weight: 650; }

.rt-route-disabled { color: #62728a; border: 1px dashed #b9c7d7; border-radius: 4px; padding: 4px 6px; background: none; font-size: 12px !important; }

.rt-fixture-control { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 650; }

.rt-fixture-control > span { flex: none; }

.rt-fixture-select { color: var(--rt-ink); background: #fff; border: 1px solid #aab8c9; border-radius: 7px; min-width: 0; width: 100%; padding: 9px 10px; font-size: 13px; min-height: 42px; }

.rt-contract { background: transparent; border: 0; border-radius: 0; margin: 3px 0 10px; }

.rt-contract summary { padding: 7px 0; font-size: 12px; font-weight: 600; }

.rt-contract p { margin: 0 0 10px; padding: 8px 11px; background: #edf2f8; border-left: 3px solid #8ea2bc; font-size: 12px; color: #394c66; }

.rt-editor { overflow: hidden; border-radius: 10px; background: var(--rt-code); border: 1px solid #25364f; box-shadow: 0 7px 18px -14px #142039; }

.rt-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; background: #192940; border-bottom: 1px solid #2a3c55; color: #e0e9f6; }

.rt-filename { font-family: var(--mono, monospace); font-size: 12px; font-weight: 600; }

.rt-line-key { color: #adbbd0; font-size: 12px; }

.rt-diff { overflow: auto; overscroll-behavior-x: contain; max-height: 330px; padding: 6px 0; scrollbar-color: #506888 #17253a; }

.rt-diff-row { display: grid; grid-template-columns: 28px 28px minmax(max-content, 1fr); width: max-content; min-width: 100%; align-items: stretch; font: 12px/1.55 var(--mono, monospace); color: #e5eaf3; }

.rt-diff-row.rt-diff-hunk { display: block; min-width: 100%; color: #94badf; background: #172c48; padding: 6px 10px; font-size: 12px; }

.rt-line-number { display: grid; place-items: center; background: transparent; border: 0; border-right: 1px solid #2c3a4c; border-radius: 0; color: #99a9bd; padding: 4px 0; min-height: 30px; font-family: inherit !important; font-size: 12px !important; }

.rt-source-line { display: block; width: 100%; text-align: left; color: inherit; background: transparent; border: 0; border-radius: 0; white-space: pre; padding: 4px 12px 4px 8px; font-family: inherit !important; font-size: inherit !important; min-height: 30px; }

.rt-diff-added { background: #143e35; color: #bdf5d8; }

.rt-diff-removed { background: #452733; color: #ffd1d7; }

.rt-diff-row button:hover { background: #ffffff12; }

.rt-diff-row button[aria-pressed='true'] { background: #ffd577; color: #513400; box-shadow: inset 0 0 0 1px #ffefb5; }

.rt-diff-row button.rt-model-line:not([aria-pressed='true']) { box-shadow: inset 0 -2px 0 #f9b880; }

[data-review-triage] .rt-diff-row button:focus-visible { outline: 2px solid #ffd577; outline-offset: -3px; }

.rt-actions { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; }

.rt-actions button { border-radius: 6px; min-height: 42px; padding: 8px 12px; font-size: 12px; font-weight: 650; }

.rt-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }

.rt-choice { color: var(--rt-ink); background: #fff; border: 1px solid #aab8c9; }

.rt-choice:hover:not(:disabled) { background: #edf2f8; border-color: var(--rt-ink); }

.rt-choice[aria-pressed='true'] { background: var(--rt-ink); border-color: var(--rt-ink); color: #fff; }

.rt-reveal { color: #fff; background: var(--rt-ink); border: 1px solid var(--rt-ink); }

.rt-reveal:disabled { color: var(--rt-muted); background: transparent; border-color: var(--rt-line); opacity: 1; }

.rt-next { margin-left: auto; padding-left: 8px !important; padding-right: 8px !important; color: var(--rt-muted); background: transparent; border: 1px solid transparent; }

.rt-next:hover, .rt-reveal:hover { border-color: var(--rt-ink); }

.rt-actions button:disabled { opacity: .5; }

.rt-status { font-size: 12px; line-height: 1.5; font-weight: 600; margin: 10px 0 12px; min-height: 18px; }

.rt-result-provider { display: table; max-width: 100%; margin: 0 0 7px; padding: 4px 7px; background: #e3f7ed; border: 1px solid #b6dfcb; border-radius: 4px; color: #075939; font-size: 12px; line-height: 1.4; font-weight: 650; }

.rt-result-provider[data-provider='codiv'] { background: var(--oj-bg); color: var(--oj); border-color: #cbd5e1; }

.rt-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.rt-arm { background: #fff; border: 1px solid var(--rt-line); border-radius: 9px; padding: 12px; min-width: 0; min-height: 0; }

.rt-arm h3 { margin: 0 0 10px; color: var(--rt-muted); font-size: 12px; font-weight: 650; }

.rt-arm[data-verdict='flag'] { border-color: #dfa5ad; box-shadow: inset 0 3px 0 #c74557; }

.rt-arm[data-verdict='clear'] { border-color: #94a3b8; box-shadow: inset 0 3px 0 #475569; }

.rt-verdict { color: var(--rt-green); font-size: 27px; line-height: 1; letter-spacing: -.025em; font-weight: 750; margin: 0 0 13px; }

.rt-arm[data-verdict='flag'] .rt-verdict { color: var(--rt-red); }

.rt-metrics { display: grid; gap: 4px; margin-bottom: 8px; }

.rt-metric { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 3px 8px; font-size: 12px; color: var(--rt-muted); }

.rt-metric strong { color: var(--rt-ink); font-variant-numeric: tabular-nums; font-size: 12px; }

.rt-score-meter { grid-column: 1 / -1; width: 100%; height: 4px; margin-bottom: 3px; appearance: none; border: 0; background: #e2e8f0; }

.rt-score-meter::-webkit-meter-bar { background: #e2e8f0; border: 0; border-radius: 2px; }

.rt-score-meter::-webkit-meter-optimum-value { background: var(--oj); border-radius: 2px; }

.rt-arm[data-verdict="flag"] .rt-score-meter::-webkit-meter-optimum-value { background: #be123c; }

.rt-chosen-line { font: 600 12px var(--mono, monospace); color: var(--rt-ink); margin: 7px 0 3px; }

.rt-mechanism { margin: 0; color: var(--rt-muted); font-size: 12px; overflow-wrap: anywhere; }

.rt-gate-stop, .rt-pending-result { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: var(--rt-muted); }

.rt-details, .rt-own-diff { border: 0; border-top: 1px solid var(--rt-line); border-radius: 0; background: transparent; margin: 13px 0 0; }

.rt-details[hidden] { display: none; }

.rt-details summary, .rt-own-diff summary { font-size: 12px; padding: 11px 0; font-weight: 600; }

.rt-details-body { font-size: 12px; line-height: 1.5; color: var(--rt-muted); overflow-wrap: anywhere; }

.rt-details-body p { margin: 0 0 11px; }

.rt-source-link { display: inline-block; margin-bottom: 10px; font-weight: 600; }

.rt-raw-answers { max-height: 350px; font-size: 12px; }

.rt-paste-label { display: block; font-size: 12px; color: var(--rt-muted); }

.rt-paste { display: block; width: 100%; min-height: 65px; margin: 10px 0; resize: vertical; padding: 10px; background: #edf1f6; border: 1px dashed #aab8c9; border-radius: 6px; font-size: 12px; color: #566b84; }
