/* Ocean Biodiversity Monitor */
.obm-progress { position: relative; height: 2.25rem; border-radius: 8px; background: var(--surface-elevated); border: 1px solid var(--border-subtle); margin: 0.75rem 0 0.5rem; overflow: hidden; }
.obm-progress-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: #0d9488; }
.obm-progress-fill-pa { position: absolute; inset: 0 auto 0 0; width: 0; background: #0f766e; }
.obm-progress-target { position: absolute; top: 0; bottom: 0; left: 30%; border-left: 3px dashed var(--text-primary); }
.obm-progress-target span { position: absolute; left: 0.4rem; top: 50%; transform: translateY(-50%); font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }
.obm-legend { list-style: none; padding: 0; margin: 0.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: var(--fs-sm); color: var(--text-secondary); }
.obm-legend strong { color: var(--text-primary); }
.obm-picker-label { display: block; font-size: var(--fs-sm); color: var(--text-secondary); margin: 0.5rem 0 0.35rem; }
.obm-picker { max-width: 24rem; width: 100%; padding: 0.45rem 0.6rem; border-radius: 6px; border: 1px solid var(--border-subtle); background: var(--surface-elevated); color: var(--text-primary); font: inherit; }
.obm-summary { font-weight: 600; margin: 0.75rem 0 0.25rem; line-height: 1.4; min-height: 1.4em; }
.obm-facts { margin: 0.5rem 0 0; padding-left: 1.1rem; line-height: 1.55; }
.obm-facts li { margin-bottom: 0.4rem; }
/* Part headings: the page answers three questions in turn */
.obm-part-title { margin: var(--space-7) 0 var(--space-1); font-size: var(--fs-xl); }
.obm-part-title + .nx-supporting { margin-bottom: var(--space-3); }
.obm-note { font-size: var(--fs-sm); margin: var(--space-3) 0 0; line-height: 1.5; }
/* Timeline of dated steps: past muted, next highlighted */
.obm-timeline { list-style: none; padding: 0; margin: var(--space-2) 0 0; }
.obm-tl-item { display: grid; grid-template-columns: 8.5rem 12rem minmax(0, 1fr) auto; gap: var(--space-2) var(--space-3); align-items: baseline; padding: var(--space-2) 0; border-bottom: 1px solid var(--border-subtle); font-size: var(--fs-sm); }
.obm-tl-item:last-child { border-bottom: 0; }
.obm-tl-item.is-past { color: var(--text-muted); }
.obm-tl-item.is-next { background: var(--accent-teal-light); border-radius: var(--radius-sm); padding-left: var(--space-2); padding-right: var(--space-2); }
.obm-tl-item.is-next .obm-tl-title, .obm-tl-item.is-next .obm-tl-rel { font-weight: 600; color: var(--text-primary); }
.obm-tl-kind { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); }
.obm-tl-date { font-variant-numeric: tabular-nums; }
.obm-tl-title { min-width: 0; overflow-wrap: anywhere; }
.obm-tl-rel { color: var(--text-secondary); white-space: nowrap; }
@media (max-width: 720px) {
    .obm-tl-item { grid-template-columns: minmax(0, 1fr) auto; }
    .obm-tl-title, .obm-tl-date { grid-column: 1 / -1; }
}
.obm-st--party { color: var(--status-green); font-weight: 600; }
.obm-st--not-signed { color: var(--status-red); }
/* From high-seas-treaty-implementation-tracker */
.hst-table-wrap { max-height: 32rem; overflow-y: auto; }
.hst-table thead th { position: sticky; top: 0; background: var(--surface-elevated); z-index: 1; }
.hst-table th[scope="row"] { text-align: left; font-weight: 600; }
.hst-table td { white-space: nowrap; }
.hst-picker-label { display: block; font-size: var(--fs-sm); color: var(--text-secondary); margin: 0.5rem 0 0.35rem; }
.hst-picker { max-width: 24rem; width: 100%; padding: 0.45rem 0.6rem; border-radius: 6px; border: 1px solid var(--border-subtle); background: var(--surface-elevated); color: var(--text-primary); font: inherit; }
.hst-summary { font-weight: 600; margin: 0.75rem 0 0.5rem; }
.hst-facts { margin: 0.5rem 0 0; padding-left: 1.1rem; line-height: 1.55; }
.hst-facts li { margin-bottom: 0.4rem; }
/* From deep-sea-mining-governance-tracker */
.dsm-table th[scope="row"] { text-align: left; font-weight: 600; white-space: normal; min-width: 14rem; }
.dsm-picker-label { display: block; font-size: var(--fs-sm); color: var(--text-secondary); margin: 0.5rem 0 0.35rem; }
.dsm-picker { max-width: 24rem; width: 100%; padding: 0.45rem 0.6rem; border-radius: 6px; border: 1px solid var(--border-subtle); background: var(--surface-elevated); color: var(--text-primary); font: inherit; }
.dsm-summary { font-weight: 600; margin: 0.75rem 0 0.5rem; }
.dsm-facts { margin: 0.5rem 0 0; padding-left: 1.1rem; line-height: 1.55; }
.dsm-facts li { margin-bottom: 0.4rem; }
