/* /midterms/ retrospective (retro.js). Uses the guide's .mt tokens (--pan, --on-*, --pD/--pR, --ff-cx). */
.mt-rx{margin:0 0 40px;font-family:var(--ff-cx);color:var(--on)}
.mt-rx__h h2{margin:0;font:900 clamp(26px,4vw,38px)/1.08 var(--ff-cx);color:var(--on-1);text-wrap:balance}
.mt-rx__as{margin:6px 0 18px;font:600 14px/1.4 var(--ff-cx);color:var(--on-3)}
.mt-rx__h3{margin:34px 0 12px;font:900 22px/1.1 var(--ff-cx);color:var(--on-1)}
.mt-rx__ctls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:760px){.mt-rx__ctls{grid-template-columns:1fr}}
.mt-rx__ctl{background:var(--pan);border-radius:var(--cx-rb,6px);padding:14px 16px}
.mt-rx__ctlh{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.mt-rx__ctlh b{font:900 18px/1 var(--ff-cx);color:var(--on-1)}
.mt-rx__won{font:800 11px/1 var(--ff-cx);letter-spacing:.05em;text-transform:uppercase;padding:5px 7px;border-radius:3px;color:#fff}
.mt-rx__won--D{background:var(--pD)}.mt-rx__won--R{background:var(--pR)}
.mt-rx__bar{display:flex;height:14px;margin:12px 0 8px;border-radius:3px;overflow:hidden;background:var(--pan-3)}
.mt-rx__bar i{display:block;height:100%}.mt-rx__bar .d{background:var(--pD)}.mt-rx__bar .r{background:var(--pR)}.mt-rx__bar .u{background:var(--px)}
.mt-rx__nums{display:flex;justify-content:space-between;font:800 15px/1 var(--ff-cx)}
.mt-rx__nums .d{color:var(--pD)}.mt-rx__nums .r{color:var(--pR)}.mt-rx__nums .u{color:var(--on-3);font-weight:700}
.mt-rx__note{margin:8px 0 0;font:500 12px/1.35 var(--ff-cx);color:var(--on-3)}
.mt-rx__open{margin-top:16px;border:2px solid var(--live);border-radius:var(--cx-rb,6px);padding:12px 14px}
.mt-rx__open h3{margin:0 0 10px;font:900 17px/1 var(--ff-cx);color:var(--on-1);display:flex;align-items:center;gap:8px}
.mt-rx__open h3 span{font:800 12px/1 var(--ff-cx);background:var(--live);color:#111;padding:4px 8px;border-radius:999px}
.mt-rx__open ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px}
.mt-rx__oi{display:grid;gap:3px;padding:10px 12px;border-radius:var(--cx-rb,6px);background:var(--pan);cursor:pointer}
.mt-rx__oi:hover,.mt-rx__oi:focus-visible{outline:2px solid var(--on-2)}
.mt-rx__oi b{font:800 15px/1.2 var(--ff-cx);color:var(--on-1)}.mt-rx__oi span{font:500 13px/1.3 var(--ff-cx);color:var(--on-2)}
.mt-rx__oi em{justify-self:start;font:800 10.5px/1 var(--ff-cx);letter-spacing:.06em;text-transform:uppercase;font-style:normal;padding:5px 7px;border-radius:3px;background:var(--live);color:#111}
.mt-rx__oi--called em{background:var(--pan-3);color:var(--on-1)}
.mt-rx__nat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.4fr);gap:20px;align-items:start}
@media (max-width:860px){.mt-rx__nat{grid-template-columns:1fr}}
.mt-rx__big{margin:0 0 12px;font:600 16px/1.3 var(--ff-cx);color:var(--on-2)}
.mt-rx__big b{display:block;font:900 54px/1 var(--ff-cx)}.mt-rx__big b.d{color:var(--pD)}.mt-rx__big b.r{color:var(--pR)}
.mt-rx__ratio{margin:0 0 12px;font:600 15px/1.45 var(--ff-cx);color:var(--on)}
.mt-rx__dl a{font:800 14px/1 var(--ff-cx);color:var(--on-1)}
.mt-rx__map,.mt-rx__smap{position:relative;min-width:0}
.mt-rx__map svg,.mt-rx__smap svg{display:block;width:100%;height:auto}
.mt-rx__key{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px;font:700 12.5px/1 var(--ff-cx);color:var(--on-2)}
.mt-rx__key i{display:inline-block;width:14px;height:10px;margin-right:6px;vertical-align:-1px;border-radius:2px}
.mt-rx__tip{position:absolute;z-index:3;max-width:220px;padding:8px 10px;border-radius:6px;background:var(--on-1);color:var(--pan);font:500 13px/1.35 var(--ff-cx);pointer-events:none;box-shadow:0 4px 18px rgba(0,0,0,.25)}
.mt-rx__tip b{font-weight:800}
.mt-rx__tabs{display:inline-flex;margin-bottom:12px}
.mt-rx__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.mt-rx__card{display:grid;gap:6px;text-align:left;padding:12px 13px;border:0;border-radius:var(--cx-rb,6px);background:var(--pan);color:var(--on);cursor:pointer;font-family:var(--ff-cx)}
.mt-rx__card:hover,.mt-rx__card:focus-visible{outline:2px solid var(--on-2)}
.mt-rx__card--wait,.mt-rx__card--count{box-shadow:inset 0 0 0 2px var(--live)}
.mt-rx__ch{display:flex;justify-content:space-between;align-items:center;gap:6px}
.mt-rx__ch b{font:900 16px/1.1 var(--ff-cx);color:var(--on-1)}
.mt-rx__ch em{font:800 10px/1 var(--ff-cx);letter-spacing:.06em;text-transform:uppercase;font-style:normal;padding:4px 6px;border-radius:3px;background:var(--pan-3);color:var(--on-1)}
.mt-rx__ch em.s-wait,.mt-rx__ch em.s-count{background:var(--live);color:#111}
.mt-rx__cand{position:relative;display:flex;justify-content:space-between;gap:8px;padding:5px 7px;border-radius:3px;background:var(--pan-2);overflow:hidden;font:600 13.5px/1.2 var(--ff-cx)}
.mt-rx__cand i{position:absolute;left:0;top:0;bottom:0;opacity:.28}
.mt-rx__cand i.pDEM{background:var(--pD)}.mt-rx__cand i.pGOP,.mt-rx__cand i.pR{background:var(--pR)}.mt-rx__cand i.pD{background:var(--pD)}.mt-rx__cand i.pI,.mt-rx__cand i.pIND{background:var(--pI)}
.mt-rx__cand span,.mt-rx__cand b{position:relative}.mt-rx__cand.is-won{font-weight:800;color:var(--on-1)}
.mt-rx__cf{margin:0;font:600 12px/1 var(--ff-cx);color:var(--on-3)}
.mt-rx__panel{margin-top:18px;padding:16px;border-radius:var(--cx-rb,6px);background:var(--pan)}
.mt-rx__ph{display:flex;justify-content:space-between;align-items:center}
.mt-rx__ph h3{margin:0;font:900 22px/1.1 var(--ff-cx);color:var(--on-1)}
.mt-rx__x{border:0;background:var(--pan-3);color:var(--on-1);width:34px;height:34px;border-radius:50%;font:700 20px/1 var(--ff-cx);cursor:pointer}
.mt-rx__ps{margin:6px 0 12px;font:600 14px/1.4 var(--ff-cx);color:var(--on-2)}
.mt-rx__mt{display:inline-flex;margin-bottom:10px}
.mt-rx__smap{max-width:720px}
.mt-rx__tw{margin-top:14px;max-height:420px;overflow:auto;border-top:2px solid var(--on-1)}
.mt-rx__t{width:100%;border-collapse:collapse;font:500 13.5px/1.3 var(--ff-cx)}
.mt-rx__t th{position:sticky;top:0;background:var(--pan);text-align:left;font:800 11px/1 var(--ff-cx);letter-spacing:.06em;text-transform:uppercase;color:var(--on-3);padding:10px 8px}
.mt-rx__t td{padding:7px 8px;border-top:1px solid var(--pan-3);white-space:nowrap}
.mt-rx__t td.d{color:var(--pD);font-weight:800}.mt-rx__t td.r{color:var(--pR);font-weight:800}
.mt-rx__t tr.is-open td:last-child{color:var(--live-t);font-weight:800}
.mt-rx__still{margin:10px 0 0;font:500 13.5px/1.5 var(--ff-cx);color:var(--on-2)}.mt-rx__still b{color:var(--on-1)}.mt-rx__still a{color:var(--on-1)}
.mt-rx__mn{margin:6px 0 0;font:500 12.5px/1.4 var(--ff-cx);color:var(--on-3)}
.mt-rx__ratio b.d{color:var(--pD)}.mt-rx__ratio b.r{color:var(--pR)}
.mt-rx__big b{font-size:48px}
