.cs-design .cs-controls {align-items:flex-end; gap:10px 15px}
.cs-design .cs-controls select,.cs-comparison .cs-controls select {max-width:100%; width:100%}
.cs-design .cs-controls label {flex:1 1 145px; min-width:0}
.cs-design .cs-controls label:first-child {flex-basis:200px}
.cs-design .note {margin:15px 0 4px; line-height:1.55}
.cs-scope {font-size:12px; font-weight:600; color:#596273; margin:0}
.cs-result {font-variant-numeric:tabular-nums}
.cs-heading {display:flex; align-items:center; justify-content:space-between; gap:12px}
.cs-heading h2 {margin:3px 0 0}
.cs-kicker {font-size:12px; font-weight:650; color:#5a537e; margin:0}
.cs-intro {font-size:13px; color:#51586b; margin:12px 0 16px; line-height:1.5}
.cs-grid {display:grid; align-items:start; grid-template-columns:minmax(0, 2.6fr) minmax(220px, 1fr); gap:16px}
.cs-figure {background:#fbfbff; border:1px solid #dfe1ed; border-radius:8px; min-width:0; overflow:hidden}
.cs-legend {display:flex; flex-wrap:wrap; gap:5px 15px; padding:13px 14px 0}
.cs-legend span {display:inline-flex; align-items:center; gap:5px; color:#424a5f; font-size:12px; font-weight:600}
.cs-chart {width:100%; min-height:285px}
.cs-chart svg {display:block; width:100%; height:auto; overflow:visible}
.cs-chart text {font:12px system-ui,sans-serif; fill:#565e71}
.cs-point {cursor:pointer}
.cs-point:hover> :last-child,.cs-point:focus> :last-child {stroke:#18223d; stroke-width:2.2px}
.cs-point:focus-visible {outline:2px solid #7770bd}
.cs-inspect {padding:17px 18px; background:#f3f3fb; border:1px solid #dfe0ee; border-radius:8px; min-width:0}
.cs-inspect h3 {font-size:16px; margin:7px 0 18px; overflow-wrap:anywhere; line-height:1.35}
.cs-big {font-size:clamp(25px,3vw,38px); line-height:1.1; letter-spacing:-.04em; font-weight:650; color:#353067; margin:0}
.cs-caption {margin:5px 0 14px; font-size:12px; color:#555d70}
.cs-inspect dl {margin:0; display:grid; gap:6px; font-size:12px}
.cs-inspect dl div {display:flex; gap:8px; justify-content:space-between}
.cs-inspect dt {color:#555e70}
.cs-inspect dd {margin:0; font-weight:600; text-align:right; overflow-wrap:anywhere}
.cs-reason,.cs-no-data {font-size:13px; color:#665630; line-height:1.5}
.cs-source {margin-top:12px; padding-top:10px; border-top:1px solid #d7d9e8; font-size:12px}
.cs-source summary {font-weight:650; color:#413977; cursor:pointer}
.cs-source p {margin:9px 0; color:#49536a; overflow-wrap:anywhere}
.cs-source strong,.cs-source a {display:block}
.cs-source strong {margin-bottom:2px}
.cs-source a {margin-top:4px}
.cs-no-data {margin:40px 22px}
.cs-observations {margin-top:15px; border-top:1px solid #e0e1ec; padding-top:12px}
.cs-observations summary,.cs-comparison summary {cursor:pointer; font-weight:650; color:#413977}
.cs-observations summary {font-size:14px}
.cs-table-scroll {overflow:auto; max-width:100%}
.cs-table-scroll table {border-collapse:collapse; font-size:12px; margin-top:12px; width:100%; white-space:nowrap}
.cs-table-scroll td,.cs-table-scroll th {padding:7px 9px; text-align:left; border-bottom:1px solid #e4e5ef}
.cs-text-btn {border:0; padding:0; color:#473f92; background:transparent; font:inherit; text-decoration:underline; cursor:pointer}
.cs-table-scroll .cs-active-row td {background:#f0eff9}
.cs-text-btn[aria-pressed=true] {font-weight:700}
.cs-secondary {padding-block:16px}
.cs-comparison .cs-controls {margin:10px 0 12px}
.cs-comparison .cs-controls label {max-width:100%}
.cs-ranks {display:grid; gap:3px}
.cs-rank {width:100%; display:grid; grid-template-columns:minmax(8em,1fr) minmax(60px,1.25fr) minmax(5.3em,.4fr) minmax(105px,.55fr); align-items:center; gap:10px;
  background:#fafafe; border:1px solid transparent; border-radius:4px; padding:6px 10px; font:inherit; font-size:12px; text-align:left; cursor:pointer; color:#363e52}
.cs-rank:hover,.cs-rank:focus-visible,.cs-rank[aria-pressed=true] {border-color:#9995c6; background:#f1f0fb}
.cs-rank small,.cs-rank strong {text-align:right}
.cs-rank-track {position:relative; height:14px; background:linear-gradient(90deg,transparent calc(50% - .5px),#8b8da1 calc(50% - .5px),#8b8da1 calc(50% + .5px),transparent calc(50% + .5px))}
.cs-rank-track i {position:absolute; top:4px; height:6px; border-radius:1px}
.cs-plus {left:50%; background:#39776d}
.cs-minus {right:50%; background:#ad6b39}
@media(max-width:820px) {
  .cs-grid {grid-template-columns:1fr}
  .cs-inspect h3 {margin-bottom:8px}
  .cs-inspect dl {margin-top:9px}
}
@media(max-width:480px) {
  .cs-design .cs-controls label,.cs-comparison .cs-controls label {flex:1 1 130px}
  .cs-heading {align-items:flex-start}
  .cs-heading .subtle {font-size:12px; white-space:nowrap}
  .cs-legend {gap:4px 8px; padding:9px 8px 0}
  .cs-legend span {font-size:11px}
  .cs-chart text {font-size:11px}
  .cs-rank {grid-template-columns:minmax(73px,1.2fr) minmax(35px,.55fr) minmax(50px,.5fr); gap:5px}
  .cs-rank small {grid-column:1 / -1; text-align:left; color:#54586b}
}
