.ops-bench { border: 1px solid #cddada; border-radius: 5px; }
.ops-bench h2, .ops-bench h3, .ops-bench p { margin: 0; }
.ops-bench h2 { font-size: clamp(24px,2.5vw,39px); line-height: 1.25; font-weight: 570; letter-spacing: -.045em; }
.ops-bench h3 { font-size: 19px; font-weight: 570; }
.ops-top, .ops-comparison, .ops-decision { padding: clamp(18px,2.8vw,38px); }
.ops-top, .ops-comparison header, .ops-decision { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 24px; }
.ops-top { background: #eef6f6; border-bottom: 1px solid #cddada; }
.ops-top .rubric { margin-bottom: 8px; color: #406765; }
.ops-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ops-bench button { cursor:pointer; transition:background-color var(--ui-motion),border-color var(--ui-motion),color var(--ui-motion); }
.ops-tabs button:not([aria-pressed=true]):is(:hover,:focus-visible), .ops-event:not([aria-pressed=true]):is(:hover,:focus-visible) { background:#f0f5f3; border-color:#aabad4; }
.ops-bench #ops-choose:is(:hover,:focus-visible){background:#c6e1dc;border-color:#698d87}
.ops-tabs button, #ops-choose { border: 1px solid #c5d5d5; background: white; color: #2f4546; border-radius: 4px; padding: 8px 13px; font-size: 14px; }
.ops-tabs button[aria-pressed="true"], #ops-choose { color: #134f4c; background: #daedeb; border-color: #7aa6a1; }
.ops-records { display: grid; grid-template-columns: 1fr 1fr; }
.ops-records > div, .ops-records > article { min-width: 0; padding: clamp(18px,2.8vw,38px); }
.ops-records > article { border-left: 1px solid #d4dede; background: #f6f8fa; }
#ops-evidence { display: grid; margin-top: 10px; }
.ops-event { padding: 11px 6px; text-align: left; display: grid; grid-template-columns: 55px 1fr; gap: 8px; background: transparent; border: 0; border-top: 1px solid #d2dddd; }
.ops-event[aria-pressed="true"] { background: #edf6f5; box-shadow: inset 2px 0 #438980; }
.ops-event time { font: 600 14px/1.6 ui-monospace,monospace; color: #336963; }
.ops-event span { color: #253b3d; font-size: 15px; line-height: 1.5; }
#ops-trace small { color: #526c70; overflow-wrap: anywhere; }
#ops-trace h3 { margin-top: 9px; }
#ops-trace p, .ops-decision p, #ops-condition { color: #526061; font-size: 15px; line-height: 1.65; margin-top: 8px; }
.ops-comparison, .ops-decision { border-top: 1px solid #d2dddd; }
.ops-comparison header { align-items: flex-start; margin-bottom: 18px; }
.ops-comparison header > div:first-child { max-width: 42em; }
.ops-metrics { margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #d5dede; }
.ops-metrics div { padding: 16px 10px 7px 0; }
.ops-metrics dt { color: #496163; font-size: 14px; }
.ops-metrics dd { margin: 4px 0 0; font-size: clamp(19px,2.2vw,31px); color: #184d55; font-weight: 570; font-variant-numeric: tabular-nums; }
#ops-plan > p { font-size: 15px; line-height: 1.75; margin-top: 6px; }
.ops-decision { background: #f7faf9; align-items: flex-start; }
.ops-decision > div:first-child { max-width: 43em; }
.ops-decision #ops-selected { font-size: 13px; }
.ops-replay, .ops-share { border-top: 1px solid var(--line); padding: 16px clamp(18px,2.8vw,38px); background: var(--surface,#fff); }
.ops-replay summary { width: fit-content; cursor: pointer; font-weight: 560; }
.ops-replay ol { margin: 14px 0 0; padding: 0; list-style: none; }
.ops-replay li { display: grid; grid-template-columns: 65px 1fr auto; align-items: baseline; gap: 6px 12px; border-top: 1px solid var(--line); padding: 10px 0; font-size: 15px; }
.ops-replay time { font: 600 14px/1.6 var(--font-mono,ui-monospace),monospace; color: var(--teal); }
.ops-replay button, .ops-share button, .ops-share a { background: transparent; color: var(--teal); border: 0; font-size: 14px; text-decoration: underline; text-underline-offset: .2em; padding: 0; }
.ops-share { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 20px; }
.ops-share span { color: var(--muted); font-size: 13px; }
.ops-share input { flex: 1 1 200px; min-width: 0; padding: 6px; border: 1px solid var(--line); }
#ops-trace { scroll-margin-top: calc(var(--shell-height) + 16px); }
@media (max-width: 760px) {
  .ops-replay li { grid-template-columns: 50px minmax(0,1fr); }
  .ops-replay button { justify-self: start; grid-column: 2; }
  .ops-records { grid-template-columns: 1fr; }
  .ops-records > article { border-left: 0; border-top: 1px solid #d4dede; }
}
