/* Rocky Mountain Journal: Colorado Snowpack Tracker */
.rmj-spt {
	--spt-green: #2a4a1a;
	--spt-dark: #2C3340;
	--spt-ink: #1a1a1a;
	--spt-mist: #f4f4f2;
	--spt-muted: #4b5563;
	--spt-rule: #e5e7eb;
	--spt-serif: 'Libre Baskerville', Georgia, serif;
	display: flex;
	flex-direction: column;
	gap: 56px;
	color: var(--spt-ink);
	font-size: 16px;
	line-height: 1.5;
	min-width: 0;
}
.rmj-spt *, .rmj-spt *::before, .rmj-spt *::after { box-sizing: border-box; }
.rmj-spt--empty { padding: 24px; background: var(--spt-mist); }
.rmj-spt .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rmj-spt__status { display: flex; flex-direction: column; gap: 10px; margin-bottom: -28px; }
.rmj-spt__asof { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: var(--spt-green); }
.rmj-spt__offseason { margin: 0; padding: 12px 16px; background: var(--spt-mist); border-left: 4px solid var(--spt-green); font-size: 15px; }

.rmj-spt__section { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rmj-spt__head { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: baseline; }
.rmj-spt__head--stack { flex-direction: column; align-items: flex-start; }
.rmj-spt__title { margin: 0; font-family: var(--spt-serif); font-size: 26px; line-height: 1.25; font-weight: 700; }
.rmj-spt__title--rule { padding-bottom: 10px; border-bottom: 3px solid var(--spt-green); }
.rmj-spt__kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--spt-green); }
.rmj-spt__sub, .rmj-spt__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--spt-muted); }
.rmj-spt__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--spt-green); text-decoration: none; }
.rmj-spt__link:hover { text-decoration: underline; }

/* Tiles */
.rmj-spt__tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.rmj-spt__tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--spt-mist); }
.rmj-spt__tile--dark { background: var(--spt-dark); color: #fff; }
.rmj-spt__tile-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--spt-muted); }
.rmj-spt__tile--dark .rmj-spt__tile-label, .rmj-spt__tile--dark .rmj-spt__tile-note { color: #fff; opacity: 0.88; }
.rmj-spt__tile-value { font-family: var(--spt-serif); font-size: 42px; font-weight: 700; line-height: 1.05; }
.rmj-spt__tile-value small { font-size: 20px; }
.rmj-spt__tile-note { font-size: 13px; line-height: 1.45; color: var(--spt-muted); }

/* Legend */
.rmj-spt__legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.rmj-spt__legend li { display: inline-flex; align-items: center; gap: 8px; }

/* Season chart */
.rmj-spt__chart { position: relative; border: 1px solid var(--spt-rule); padding: 16px 12px 8px; overflow-x: auto; touch-action: pan-y; }
.rmj-spt__chart:focus-visible { outline: 2px solid var(--spt-green); outline-offset: 2px; }
.rmj-spt__chart-inner { position: relative; min-width: 640px; }
.rmj-spt__chart svg { display: block; width: 100%; height: auto; font-family: inherit; }
.rmj-spt__grid path { stroke: var(--spt-rule); stroke-width: 1; fill: none; }
.rmj-spt__ylab text, .rmj-spt__xlab text { font-size: 15px; fill: var(--spt-muted); }
.rmj-spt__tick { stroke: #d1d5db; stroke-width: 1; }
.rmj-spt__line { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.rmj-spt__line--cur { stroke: var(--spt-green); stroke-width: 4; }
.rmj-spt__line--median { stroke: var(--spt-muted); stroke-width: 2.5; stroke-dasharray: 7 5; }
.rmj-spt__line--prev { stroke: #a9b4c2; stroke-width: 2.5; }
.rmj-spt__today { stroke: var(--spt-green); stroke-width: 1; stroke-dasharray: 3 4; }
.rmj-spt__annot { font-size: 15px; fill: #374151; }
.rmj-spt__annot--soft { fill: var(--spt-muted); }
.rmj-spt__callout rect { fill: #fff; stroke: var(--spt-green); stroke-width: 1.5; }
.rmj-spt__callout text { font-size: 15px; fill: #374151; }
.rmj-spt__callout .rmj-spt__callout-strong { font-weight: 700; fill: var(--spt-green); }
.rmj-spt__chart.is-hovering .rmj-spt__callout, .rmj-spt__chart.is-hovering .rmj-spt__today { opacity: 0.15; }
.rmj-spt__cursor-line { stroke: var(--spt-ink); stroke-width: 1; }
.rmj-spt__cursor-dot { stroke: #fff; stroke-width: 2; }
.rmj-spt__cursor-dot--cur { fill: var(--spt-green); }
.rmj-spt__cursor-dot--median { fill: var(--spt-muted); }
.rmj-spt__cursor-dot--prev { fill: #8a96a6; }
.rmj-spt__tip { position: absolute; top: 8px; z-index: 5; min-width: 190px; padding: 10px 12px; background: #fff; border: 1px solid var(--spt-dark); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); font-size: 13px; line-height: 1.45; pointer-events: none; }
.rmj-spt__tip strong { display: block; margin-bottom: 4px; font-size: 14px; }
.rmj-spt__tip span { display: flex; justify-content: space-between; gap: 16px; }
.rmj-spt__tip i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; font-style: normal; vertical-align: -1px; }

/* Two columns */
.rmj-spt__two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.rmj-spt__col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* Basin bars */
.rmj-spt__bars { display: flex; flex-direction: column; gap: 14px; }
.rmj-spt__bar { display: flex; flex-direction: column; gap: 6px; }
.rmj-spt__bar-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.rmj-spt__bar-name { font-weight: 600; }
.rmj-spt__bar-name span { font-weight: 400; color: #6b7280; }
.rmj-spt__bar-val { font-weight: 700; }
.rmj-spt__bar-track { position: relative; height: 14px; background: #eef0f2; }
.rmj-spt__bar-fill { height: 100%; }
.rmj-spt__bar-fill.is-above { background: var(--spt-green); }
.rmj-spt__bar-fill.is-below { background: #b4500e; }
.rmj-spt__bar-normal { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--spt-ink); }
.rmj-spt__bar-scale { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--spt-muted); }
.rmj-spt__gains { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--spt-mist); }
.rmj-spt__gains ol { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.45; }
.rmj-spt__gains p { margin: 0; font-size: 14px; }

/* Map */
.rmj-spt__map { position: relative; }
.rmj-spt__map svg { display: block; width: 100%; height: auto; background: #fbfbfa; border: 1px solid var(--spt-rule); }
.rmj-spt__state { fill: #fff; stroke: var(--spt-dark); stroke-width: 2; }
.rmj-spt__city { fill: var(--spt-ink); }
.rmj-spt__city-label { font-size: 13px; fill: #374151; }
.rmj-spt__plains { font-size: 13px; fill: #6b7280; }
.rmj-spt__dot { stroke: #fff; stroke-width: 1.5; cursor: pointer; }
.rmj-spt__dot--mid { stroke: #6b7280; }
.rmj-spt__dot.is-active { stroke: var(--spt-ink); stroke-width: 3; }
.rmj-spt__tip--map { top: auto; min-width: 0; white-space: nowrap; }
.rmj-spt__map-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.rmj-spt__map-legend li { display: inline-flex; align-items: center; gap: 6px; }

/* Table */
.rmj-spt__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rmj-spt__pill { min-height: 44px; padding: 0 16px; border: 2px solid var(--spt-green); background: #fff; color: var(--spt-green); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rmj-spt__pill[aria-pressed="true"] { background: var(--spt-green); color: #fff; }
.rmj-spt__pill:focus-visible, .rmj-spt__sort:focus-visible, .rmj-spt__more:focus-visible { outline: 2px solid var(--spt-green); outline-offset: 2px; }
.rmj-spt__table-wrap { overflow-x: auto; border: 1px solid var(--spt-rule); }
.rmj-spt__table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; margin: 0; }
.rmj-spt__table thead { background: var(--spt-mist); }
.rmj-spt__table th, .rmj-spt__table td { padding: 11px 14px; border: 0; border-top: 1px solid var(--spt-rule); text-align: left; white-space: nowrap; background: none; }
.rmj-spt__table thead th { padding: 0 14px; border-top: 0; }
.rmj-spt__table .is-right { text-align: right; }
.rmj-spt__table thead th.is-right .rmj-spt__sort { justify-content: flex-end; width: 100%; }
.rmj-spt__table tbody th { font-weight: 600; }
.rmj-spt__table .is-strong { font-weight: 700; }
.rmj-spt__table .is-up { color: var(--spt-green); font-weight: 600; }
.rmj-spt__table .is-down { color: #9a3c0b; font-weight: 600; }
.rmj-spt__table .is-flat { color: #6b7280; }
.rmj-spt__sort { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--spt-ink); cursor: pointer; }
.rmj-spt__sort:hover { color: var(--spt-green); text-decoration: underline; }
.rmj-spt__pct { display: inline-block; min-width: 52px; padding: 3px 8px; font-weight: 700; text-align: center; color: var(--spt-ink); }
.rmj-spt__pct--0 { background: #b4500e; color: #fff; }
.rmj-spt__pct--1 { background: #f2b77c; }
.rmj-spt__pct--2 { background: #d9dcdf; }
.rmj-spt__pct--3 { background: #7fa06a; }
.rmj-spt__pct--4 { background: #2a4a1a; color: #fff; }
.rmj-spt__pct---1 { color: #6b7280; }
.rmj-spt__table tbody tr.is-hidden { display: none; }
.rmj-spt__more { align-self: flex-start; min-height: 46px; padding: 0 22px; border: 2px solid var(--spt-green); background: #fff; color: var(--spt-green); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.rmj-spt__more:hover { background: var(--spt-green); color: #fff; }

/* Updates + about */
.rmj-spt__updates { display: flex; flex-direction: column; gap: 16px; }
.rmj-spt__update { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--spt-rule); color: inherit; text-decoration: none; }
.rmj-spt__update:hover .rmj-spt__update-title { text-decoration: underline; }
.rmj-spt__update-date { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--spt-green); }
.rmj-spt__update-title { font-family: var(--spt-serif); font-size: 18px; font-weight: 700; line-height: 1.35; }
.rmj-spt__about { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--spt-mist); }
.rmj-spt__about p { margin: 0; font-size: 14px; line-height: 1.6; }

/* Ad slot from the theme */
.rmj-spt .rmj-ad--tracker { margin: 0; }

/* Mini card */
.rmj-spt-mini { display: flex; flex-direction: column; gap: 8px; max-width: 420px; padding: 18px 20px; background: #2C3340; color: #fff; }
.rmj-spt-mini__top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.rmj-spt-mini__asof { opacity: 0.85; }
.rmj-spt-mini__value { font-family: 'Libre Baskerville', Georgia, serif; font-size: 40px; font-weight: 700; line-height: 1.05; }
.rmj-spt-mini__value span { font-family: inherit; font-size: 16px; font-weight: 400; }
.rmj-spt-mini__note { margin: 0; font-size: 14px; line-height: 1.45; opacity: 0.9; }
.rmj-spt-mini__chart { display: block; width: 100%; height: auto; margin-top: 4px; }
.rmj-spt-mini .rmj-spt__line--cur { stroke: #a7cf8f; stroke-width: 3.5; fill: none; }
.rmj-spt-mini .rmj-spt__line--median { stroke: #cbd2db; stroke-width: 2; stroke-dasharray: 6 4; fill: none; }
.rmj-spt-mini__base { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.rmj-spt-mini__axis { font-size: 12px; fill: #fff; opacity: 0.85; }
.rmj-spt-mini__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; text-decoration: none; }
.rmj-spt-mini__link:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1180px) {
	.rmj-spt__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rmj-spt__two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.rmj-spt { gap: 44px; }
	.rmj-spt__status { margin-bottom: -20px; }
	.rmj-spt__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.rmj-spt__tile { padding: 16px; }
	.rmj-spt__tile-value { font-size: 34px; }
	.rmj-spt__tile--dark { grid-column: 1 / -1; }
	.rmj-spt__title { font-size: 22px; }
}

/* Hold our own type against the theme's article styles. */
.rmj-spt h2.rmj-spt__kicker, .rmj-spt h3.rmj-spt__kicker { margin: 0; font-family: inherit; font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--spt-green); }
.rmj-spt h2.rmj-spt__title { margin: 0; font-family: var(--spt-serif); font-size: 26px; line-height: 1.25; }
.rmj-spt p, .rmj-spt ol, .rmj-spt ul { margin-top: 0; margin-bottom: 0; }
.rmj-spt__cursor[hidden] { display: none; }
@media (max-width: 640px) { .rmj-spt h2.rmj-spt__title { font-size: 22px; } }
