/* The Transparency score and "Where their votes place them" on an official's page (Lane SC1), from the score package's
   scorebreakdown.css. Site tokens from site.css. No inline style: the bar is SVG, the panel a details element. */
.sbx-headrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.sbx-hook{font-size:20px;line-height:28px;font-weight:600;color:var(--ink);margin:4px 0 0}
.sbx-new{display:inline-flex;align-items:center;min-height:28px;padding:2px 10px;border:1.5px solid var(--brand);border-radius:999px;font-size:13px;line-height:18px;font-weight:600;color:var(--brand);background:var(--raised)}
.sbx-fig{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px}
.sbx-num{font-family:var(--data);font-weight:500;font-size:clamp(28px,7vw,36px);line-height:40px;font-variant-numeric:tabular-nums;color:var(--ink)}
.sbx-num.mark{font-size:clamp(28px,7vw,36px);line-height:40px}
.sbx-of{font-size:15px;color:var(--muted)}
.sbx-range{font-size:16px;line-height:24px;color:var(--ink)}
.sbx-rn{font-family:var(--data);font-weight:500;font-variant-numeric:tabular-nums}
.sbx-sure{font-size:15px;line-height:23px;color:var(--muted)}
.sbx-sure strong{color:var(--ink)}
.sbx-noscore{font-family:var(--display);font-weight:600;font-size:22px;line-height:30px;color:var(--ink)}
.sbx-none{font-size:16px;color:var(--muted)}
.sbx{max-width:760px;background:var(--raised);border:1px solid var(--line);border-radius:8px}
.sbx[open]{border-color:var(--edge)}
.sbx-sum{display:flex;align-items:center;min-height:48px;padding:10px 16px;cursor:pointer;list-style:none;font-size:16px;font-weight:600;color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.sbx-sum::-webkit-details-marker{display:none}
.sbx-sum::before{content:"";flex:none;width:8px;height:8px;margin-right:12px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.sbx[open]>.sbx-sum::before{transform:rotate(45deg)}
.sbx-sum:hover{background:var(--inset)}
.sbx[open]>.sbx-sum{text-decoration:none}
.sbx-opened{display:none}.sbx[open]>.sbx-sum .sbx-opened{display:inline}.sbx[open]>.sbx-sum .sbx-closed{display:none}
.sbx-panel{padding:4px 16px 20px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.sbx-bar{display:block;width:100%;height:16px;margin:12px 0 4px;border-radius:4px}
.sbx-rest{fill:var(--inset)}
.sbx-s1,.sbx-k1{fill:var(--brand);background:var(--brand)}.sbx-s2,.sbx-k2{fill:#3f8a77;background:#3f8a77}.sbx-s3,.sbx-k3{fill:#7bb3a3;background:#7bb3a3}
.sbx-s4,.sbx-k4{fill:#c79a12;background:#c79a12}.sbx-s5,.sbx-k5{fill:#8a5a00;background:#8a5a00}.sbx-s6,.sbx-k6{fill:var(--other);background:var(--other)}
.sbx-h{margin:12px 0 0;font-family:var(--display);font-weight:600;font-size:17px;line-height:24px}
.sbx-parts{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.sbx-parts li{display:grid;grid-template-columns:12px minmax(0,1fr);gap:12px}
.sbx-key{width:12px;height:12px;border-radius:2px;margin-top:7px}
.sbx-part{display:flex;flex-direction:column;gap:4px;min-width:0}
.sbx-line{display:flex;justify-content:space-between;gap:4px 12px;flex-wrap:wrap}
.sbx-pts{font-family:var(--data);font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
.sbx-what,.sbx-why{font-size:15px;line-height:23px;color:var(--ink)}
.sbx-math{font-size:14px;line-height:21px;color:var(--muted)}
.sbx-missing{padding-left:20px;margin:0;display:grid;gap:8px;font-size:15px;line-height:23px;color:var(--ink)}
.sbx-w{color:var(--muted)}
.sbx-rows{list-style:none;padding:0;margin:0}
.sbx-rows li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid var(--inset);font-size:15px}
.sbx-rw{color:var(--muted);text-align:right}
.sbx-num-s{font-family:var(--data);font-weight:500}
.sbx-foot{margin-top:8px;font-size:14px;line-height:21px;color:var(--muted)}
/* the answers behind the diamond */
.sp-sec .mq-dia-box{max-width:560px}
.sp-list{margin:0;padding-left:22px;display:grid;gap:10px}
.sp-list li{font-size:15px;line-height:23px}
.sp-q{display:block;font-weight:600;color:var(--ink)}
.sp-a{display:block}
.sp-s{display:block;font-size:14px;line-height:21px;color:var(--muted)}
@media (prefers-reduced-motion:no-preference){.sbx[open] .sbx-panel{animation:sbx-in .15s ease-out}@keyframes sbx-in{from{opacity:0}to{opacity:1}}}
@media print{.sbx-panel{display:flex}}
