/* Species Extinction Tracker */
.sx-picker-label { display: block; font-size: var(--fs-sm); color: var(--text-secondary); margin: 0.75rem 0 0.35rem; }
.sx-picker { max-width: 24rem; width: 100%; min-height: 2.5rem; margin-bottom: 0.9rem; padding: 0.45rem 0.6rem; border-radius: 6px; border: 1px solid var(--border-subtle); background: var(--surface-elevated); color: var(--text-primary); font: inherit; }
.sx-summary { font-size: var(--fs-lg, 1.1rem); font-weight: 600; margin: 0.5rem 0 0.6rem; line-height: 1.4; min-height: 1.4em; }
.sx-sub { font-size: var(--fs-md, 1rem); font-weight: 700; margin: 0.5rem 0 0.4rem; }
.sx-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.sx-tables > div { min-width: 0; }
.sx-table th[scope="row"] { text-align: left; font-weight: 600; }
.sx-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sx-link-btn { font: inherit; background: none; border: 0; padding: 0; color: var(--accent-teal, #2dd4bf); cursor: pointer; text-align: left; min-height: 1.5rem; min-width: 1.5rem; }
[data-theme="light"] .sx-link-btn { color: #0f766e; }
.sx-facts { margin: 0.5rem 0 0; padding-left: 1.1rem; line-height: 1.55; }
.sx-facts li { margin-bottom: 0.4rem; }
.chart-wrap--short { --chart-h: 240px; }
@media (max-width: 900px) { .sx-tables { grid-template-columns: 1fr; } }
