/* Screen size comparisons (/compare, /compare/<a>-vs-<b>): extra styles on top of app.css. Colors only from tokens. */
.sc-facts b { font-size: 18px; overflow-wrap: anywhere; }

/* Side-by-side drawing */
.sc-fig { margin: 18px 0; padding: 16px; background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); }
.sc-fig svg { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; max-height: 70vh; }
.sc-vis { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.sc-bar { fill: var(--text-3); fill-opacity: .35; }
.sc-outline { fill: none; stroke: var(--text); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sc-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin: 10px auto 0; text-align: center; }
.sc-caps div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.sc-caps b { color: var(--text); font-size: 15px; }
.sc-fig figcaption { margin-top: 14px; font-size: 14px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sc-key { display: inline-flex; align-items: center; gap: 8px; }
.sc-sw { width: 18px; height: 14px; border-radius: 3px; flex: none; }
.sc-sw-vis { background: var(--accent-soft); border: 2px dashed var(--accent); }
.sc-sw-bar { background: var(--text-3); opacity: .5; }
.sc-note { flex-basis: 100%; color: var(--text-3); }

/* Table and notes */
.sc-table tbody th { font-weight: 600; background: none; white-space: normal; min-width: 9em; }
.sc-table td { font-variant-numeric: tabular-nums; }
.sc-table td:nth-child(2), .sc-table td:nth-child(3) { white-space: nowrap; }
.sc-small { font-size: 14px; color: var(--text-3); }
.sc h3 { font-family: var(--font-serif); font-size: 20px; }

/* Picker */
.sc-picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin: 20px 0; }
.sc-pick { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sc-pick label { font-weight: 600; font-size: 15px; }
.sc-picker select.input { width: 100%; min-height: 48px; text-overflow: ellipsis; }
.sc-picker .btn { min-height: 48px; }
@media (max-width: 700px) {
  .sc-picker { grid-template-columns: minmax(0, 1fr); }
  .sc-picker .btn { width: 100%; }
}

/* Curated lists */
.sc-list { list-style: none; padding-left: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 8px; }
.sc-list li { margin: 0; padding: 10px 14px; background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.sc-list a { font-weight: 600; min-height: 24px; }
.sc-list span { color: var(--text-2); font-size: 14px; }
.sc-table td:last-child { min-width: 11em; }
