/* match tab. Everything scoped under .t-match. */
.t-match .m-top{margin-bottom:6px}
.t-match .m-top .slider-row{margin-bottom:6px}
.t-match .m-hint{margin:0 0 16px}
.t-match .m-stats .stat small{text-transform:none;letter-spacing:0;font-weight:400;font-size:12px}
.t-match .m-chart{padding:16px;margin:0 0 18px}
.t-match .m-chart__head{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:space-between;align-items:baseline;margin-bottom:8px}
.t-match .m-chart__head .split__title{margin:0}
.t-match .legend{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;font-size:12px;color:var(--muted)}
.t-match .legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.t-match .k-same{background:var(--blue)}
.t-match .k-cross{background:color-mix(in srgb,var(--blue) 38%,var(--cloth))}
.t-match .k-neg{background:var(--coral)}
.t-match .m-hist{touch-action:pan-y;cursor:ew-resize;user-select:none}
.t-match svg.hist{display:block;width:100%;height:auto}
.t-match .h-grid{stroke:var(--line);stroke-width:1}
.t-match .h-tick{font:400 10px var(--geist);fill:var(--muted)}
.t-match .h-same{fill:var(--blue)}
.t-match .h-cross{fill:color-mix(in srgb,var(--blue) 38%,var(--cloth))}
.t-match .h-neg{fill:var(--coral)}
.t-match .h-line line{stroke:var(--ink);stroke-width:2;stroke-dasharray:5 3}
.t-match .h-line rect{fill:var(--ink)}
.t-match .h-line text{font:500 11px var(--geist);fill:var(--paper)}
.t-match .m-cards{display:grid;gap:12px}
.t-match .m-pair{padding:14px 16px;border:1px solid transparent}
.t-match .m-pair[data-state=ok]{border-color:color-mix(in srgb,var(--blue) 45%,var(--cloth))}
.t-match .m-pair[data-state=bad]{border-color:var(--coral)}
.t-match .m-pair__head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:12px}
.t-match .m-score{font:300 26px/1 var(--geist);letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin-right:6px}
.t-match .m-flag{margin-left:auto}
.t-match .m-pair__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.t-match .m-side{min-width:0;padding:12px 14px;border-radius:10px;background:var(--paper)}
.t-match .m-side__top{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px}
.t-match .m-title{display:block;font-weight:500;font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.t-match .m-desc{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.t-match mark{background:none;color:inherit;border-radius:3px;padding:0 1px}
.t-match mark.d-del{background:color-mix(in srgb,var(--coral) 28%,transparent);text-decoration:line-through;text-decoration-thickness:1px}
.t-match mark.d-add{background:color-mix(in srgb,var(--blue-l) 24%,transparent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.t-match .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.t-match .m-pair:focus{outline:none}
.t-match .m-note{margin:10px 0 0}
.t-match .m-more{justify-self:start}
.t-match .m-presets{margin-bottom:6px}
.t-match .m-group{margin:0 0 12px}
.t-match .m-group__head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:10px}
.t-match .m-lines{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:14px}
.t-match .m-lines li{padding:8px 12px;border-radius:10px;background:var(--paper);overflow-wrap:anywhere}
.t-match .m-lines .mono{color:var(--muted);margin-right:6px}
.t-match .m-alone{margin:12px 0}
.t-match .m-alone summary{cursor:pointer;font-size:14px;margin-bottom:8px}
@media (max-width:760px){
  .t-match .m-pair__body{grid-template-columns:1fr}
  .t-match .m-flag{margin-left:0}
}
@media (prefers-reduced-motion:reduce){.t-match *{transition:none!important;animation:none!important}}
