.lane { padding-block: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.lane:last-child { padding-bottom: 0; }
.lane-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; }
.lane h3 { font-size: 18px; }
.english { font: 600 11px var(--mono); color: var(--subtle); letter-spacing: .09em; }
.metrics { display: flex; align-items: center; gap: clamp(10px, 2vw, 32px); margin: 0; }
.metrics dt { font-size: 12px; color: var(--subtle); }
.metrics dd { font: 650 23px/1.25 var(--mono); margin: 0; overflow-wrap: anywhere; }
.strip,.axis,.request,.outcome,.evidence { grid-column: 1 / -1; }
.strip { position: relative; height: 46px; margin-top: 10px; border: 1px solid #758d84; border-radius: 4px; overflow: hidden; }
.segment { position: absolute; inset-block: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
  overflow: hidden; white-space: nowrap; border-right: 1px solid #fff; font: 600 14px/1.35 var(--mono); }
.segment:last-child { border-right: 0; }
.segment small { font: 12px/1.2 "Microsoft YaHei", sans-serif; }
.segment b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.free { color: #243c36; background: repeating-linear-gradient(135deg,#e7eee6 0 5px,#d1ded3 5px 7px); }
.c0 { background: #763e54; color: #fff; }
.c1 { background: #176c63; color: #fff; }
.c2 { background: #2a6284; color: #fff; }
.c3 { background: #996024; color: #fff; }
.c4 { background: #565883; color: #fff; }
.c5 { background: #307741; color: #fff; }
.c6 { background: #8a4c39; color: #fff; }
.c7 { background: #3c6777; color: #fff; }
.assigned { box-shadow: inset 0 0 0 3px #0758b3, inset 0 0 0 4px white; }
.request { border: 1px dashed var(--danger); height: 12px; background: #fff4f3; border-radius: 2px; margin-top: 8px; }
.request + .strip { margin-top: 3px; }
.axis { position: relative; margin: 3px 0; min-height: 16px; }
.tick { position: absolute; color: var(--subtle); font: 11px/15px var(--mono); white-space: nowrap; }
.outcome { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.failed,.invalid { color: var(--danger); }
.evidence { margin-top: 8px; }
.candidates { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 12px; }
.rule { color: var(--subtle); }
.candidate { font-family: var(--mono); border: 1px solid var(--line); border-radius: 3px; padding: 2px 6px; }
.candidate.selected { color: #114c3f; background: #e0f1e3; border-color: #84ab91; }
details { margin-top: 6px; font-size: 13px; color: var(--subtle); }
summary { cursor: pointer; width: fit-content; padding: 3px 0; }
.block-list,.checks { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; padding: 0; margin: 6px 0; }
.checks { color: var(--teal); }
.timeline-grid { margin-top: 12px; }
.timeline-row,.timeline-head { display: grid; grid-template-columns: minmax(86px, .5fr) repeat(var(--sides),minmax(0, 1fr)); gap: 12px; align-items: center; }
.timeline-head { font-size: 12px; color: var(--subtle); padding: 4px 8px; }
.timeline-row { width: 100%; text-align: left; border-radius: 0; border: 0; border-top: 1px solid var(--line); padding: 7px 8px; }
.timeline-row[aria-current=step] { background: #edf6ee; }
.timeline-row code { font-size: 12px; }
.strip.mini { height: 13px; margin: 0; border: 0; border-radius: 2px; }
@media(max-width: 900px) {
  .lane { display: block; }
  .metrics { margin-block: 7px; }
  .timeline-row,.timeline-head { gap: 6px; }
}
@media(max-width: 440px) {
  .timeline-row,.timeline-head { grid-template-columns: 75px repeat(var(--sides), minmax(0,1fr)); }
  .metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
}
