.wp-block-sierramet-weather-forecast.sierramet-weather-forecast {
	--sierramet-forecast-border: var(--sierramet-color-border, rgba(15, 23, 42, 0.18));
	--sierramet-forecast-surface: var(--sierramet-card-background, var(--sierramet-color-surface, Canvas));
	--sierramet-forecast-primary: var(--sierramet-color-primary, #0057a8);
	--sierramet-forecast-card-text: var(--sierramet-card-text, #0f172a);
	max-width: 100%;
	min-width: 0;
}

/* Shared accessible text for forecast controls and icon-only table states. */
.sierramet-weather-forecast .sierramet-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sierramet-weather-forecast__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.55rem 1rem;
	align-items: start;
	margin-block-end: 0.85rem;
}

.sierramet-weather-forecast__location,
.sierramet-weather-forecast__location-control {
	min-width: 0;
	margin: 0;
	color: inherit;
	font-size: clamp(1.1rem, 2.1vw, 1.45rem);
	font-weight: 750;
	line-height: 1.2;
}

.sierramet-weather-forecast__location-control select {
	min-height: 2.55rem;
	max-width: 100%;
	padding: 0.4rem 2rem 0.4rem 0.65rem;
	color: var(--sierramet-forecast-card-text);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	background: var(--sierramet-forecast-surface);
	border: 1px solid var(--sierramet-forecast-border);
	border-radius: 0.45rem;
}

.sierramet-weather-forecast__provenance {
	min-width: 0;
	text-align: end;
}

.sierramet-weather-forecast__today-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.sierramet-weather-forecast__today-item {
	min-width: 0;
}

.sierramet-weather-forecast__today-item > h3 {
	margin: 0 0 0.45rem;
	color: inherit;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 750;
	line-height: 1.2;
}

.sierramet-weather-forecast__today-item .sierramet-weather-forecast__provenance {
	margin-block-end: 0.45rem;
	text-align: start;
}

.sierramet-weather-forecast__provenance--shared {
	margin-block-end: 0.85rem;
}

.sierramet-weather-forecast__source,
.sierramet-weather-forecast__updated {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.35;
	overflow-wrap: break-word;
}

.sierramet-weather-forecast__source {
	display: inline-flex;
	padding: 0.18rem 0.5rem;
	color: currentColor;
	border: 1px solid currentColor;
	border-radius: 999px;
}

.sierramet-weather-forecast__updated {
	margin-block-start: 0.22rem;
	color: inherit;
	font-size: 0.76rem;
	font-weight: 500;
	opacity: 0.76;
}

.sierramet-weather-forecast__summary,
.sierramet-weather-forecast__hour,
.sierramet-weather-forecast__day {
	box-sizing: border-box;
	min-width: 0;
	color: var(--sierramet-forecast-card-text);
	background: var(--sierramet-forecast-surface);
	border: 1px solid var(--sierramet-forecast-border);
	border-radius: 0.7rem;
}

.sierramet-weather-forecast__summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.85rem clamp(0.9rem, 3vw, 1.7rem);
	align-items: center;
	padding: clamp(1rem, 3vw, 1.45rem);
}

.sierramet-weather-forecast__summary-main {
	min-width: 0;
}

.sierramet-weather-forecast__eyebrow,
.sierramet-weather-forecast__condition,
.sierramet-weather-forecast__temperatures,
.sierramet-weather-forecast__day-temperatures,
.sierramet-weather-forecast__hour-condition,
.sierramet-weather-forecast__day-condition {
	margin: 0;
}

.sierramet-weather-forecast__eyebrow,
.sierramet-weather-forecast__temperature-label {
	display: block;
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.72;
}

.sierramet-weather-forecast__condition {
	margin-block: 0.14rem 0.58rem;
	font-size: clamp(1rem, 2vw, 1.18rem);
	font-weight: 750;
	line-height: 1.28;
	overflow-wrap: break-word;
}

.sierramet-weather-forecast__temperatures p,
.sierramet-weather-forecast__day-temperatures p {
	margin: 0.12rem 0 0;
	font-size: clamp(1.7rem, 5vw, 2.7rem);
	font-weight: 750;
	line-height: 1;
	letter-spacing: -0.04em;
	white-space: nowrap;
}

.sierramet-weather-forecast__temperatures p span,
.sierramet-weather-forecast__day-temperatures p span {
	font-weight: 550;
	opacity: 0.68;
}

.sierramet-weather-forecast__icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: clamp(3.6rem, 9vw, 5.2rem);
	color: var(--sierramet-forecast-primary);
}

.sierramet-weather-forecast__icon svg {
	display: block;
	width: 100%;
	height: auto;
}

.sierramet-weather-forecast__metrics,
.sierramet-weather-forecast__hour dl,
.sierramet-weather-forecast__day dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
	gap: 0.55rem 0.85rem;
	margin: 0;
}

.sierramet-weather-forecast__summary .sierramet-weather-forecast__metrics {
	grid-column: 1 / -1;
	padding-block-start: 0.78rem;
	border-block-start: 1px solid var(--sierramet-forecast-border);
}

.sierramet-weather-forecast__metrics div,
.sierramet-weather-forecast__hour dl div,
.sierramet-weather-forecast__day dl div {
	min-width: 0;
}

.sierramet-weather-forecast__metrics dt,
.sierramet-weather-forecast__hour dt,
.sierramet-weather-forecast__day dt {
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.25;
	opacity: 0.72;
}

.sierramet-weather-forecast__metrics dd,
.sierramet-weather-forecast__hour dd,
.sierramet-weather-forecast__day dd {
	margin: 0.1rem 0 0;
	font-weight: 750;
	line-height: 1.25;
	overflow-wrap: break-word;
}

.sierramet-weather-forecast__switch {
	display: flex;
	justify-content: flex-end;
	margin-block: 1rem 0.7rem;
}

.sierramet-weather-forecast__panel {
	min-width: 0;
	margin-block-start: 0.75rem;
}

.sierramet-weather-forecast__panel-heading {
	display: flex;
	justify-content: space-between;
	gap: 0.6rem;
	align-items: center;
	min-height: 2.5rem;
	margin-block-end: 0.45rem;
}

.sierramet-weather-forecast__panel-heading > h3 {
	margin: 0;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 750;
}

.sierramet-weather-forecast__panel-heading > h3.is-accessible-title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* The rail is native scrolling first. JS adds compact controls only on overflow. */
.sierramet-weather-forecast__hour-rail {
	display: grid;
	grid-auto-columns: minmax(10rem, 1fr);
	grid-auto-flow: column;
	gap: 0.65rem;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	padding-block: 0.15rem 0.5rem;
	scroll-padding-inline: 0.1rem;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.sierramet-weather-forecast__hour-group,
.sierramet-weather-forecast__hour-list {
	display: contents;
}

.sierramet-weather-forecast__hour-group > h4,
.sierramet-weather-forecast__hour-columns {
	display: none;
}

.sierramet-weather-forecast__hour-list,
.sierramet-weather-forecast__days {
	margin: 0;
	padding: 0;
}

.sierramet-weather-forecast__hour-list > li,
.sierramet-weather-forecast__days > li {
	min-width: 0;
	list-style: none;
}

.sierramet-weather-forecast__hour,
.sierramet-weather-forecast__day {
	display: grid;
	align-content: start;
	gap: 0.45rem;
	height: 100%;
	padding: 0.84rem;
	scroll-snap-align: start;
}

.sierramet-weather-forecast__hour > time,
.sierramet-weather-forecast__day > time {
	font-size: 0.8rem;
	font-weight: 750;
}

.sierramet-weather-forecast__hour-condition {
	display: grid;
	gap: 0.35rem;
	font-size: 0.84rem;
	line-height: 1.3;
	overflow-wrap: break-word;
}

.sierramet-weather-forecast__hour .sierramet-weather-forecast__icon,
.sierramet-weather-forecast__day .sierramet-weather-forecast__icon {
	width: 2.5rem;
}

.sierramet-weather-forecast__hour > strong {
	font-size: 1.5rem;
	line-height: 1;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.sierramet-weather-forecast__day-condition {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.3;
	overflow-wrap: break-word;
}

.sierramet-weather-forecast__day-temperatures p {
	font-size: 1.3rem;
}

.sierramet-weather-forecast__days {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	gap: 0.65rem;
}

/* Progressive hourly navigation appears only after leaving the current day. */
.sierramet-weather-forecast__day-navigation {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(9rem, auto) minmax(0, 1fr);
	align-items: center;
	gap: 0.55rem;
	width: 100%;
	max-width: 100%;
	margin-block: 0.15rem 0.65rem;
	font-size: 0.84rem;
	font-weight: 700;
}

.sierramet-weather-forecast__day-navigation[hidden],
.sierramet-weather-forecast__hour-advance[hidden] {
	display: none;
}

.sierramet-weather-forecast__day-current {
	grid-column: 2;
	text-align: center;
	overflow-wrap: anywhere;
	text-transform: capitalize;
}

.sierramet-weather-forecast__day-navigation button {
	min-width: 0;
	min-height: 2.75rem;
	padding: 0.45rem 0.65rem;
	color: inherit;
	font: inherit;
	font-size: 0.82rem;
	line-height: 1.15;
	background: transparent;
	border: 1px solid var(--sierramet-forecast-border);
	border-radius: 0.5rem;
	cursor: pointer;
}

.sierramet-weather-forecast__day-destination.is-previous {
	grid-column: 1;
	justify-self: start;
	text-align: start;
}

.sierramet-weather-forecast__day-destination.is-next {
	grid-column: 3;
	justify-self: end;
	text-align: end;
}

.sierramet-weather-forecast__day-navigation .is-compact {
	display: none;
}

.sierramet-weather-forecast__hour-advance {
	display: flex;
	justify-content: flex-end;
	margin-block-start: 0.7rem;
}

.sierramet-weather-forecast__hour-advance button {
	min-height: 2.75rem;
	padding: 0.55rem 0.8rem;
	color: var(--sierramet-forecast-primary);
	font: inherit;
	font-size: 0.86rem;
	font-weight: 750;
	line-height: 1.25;
	text-align: end;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 0.5rem;
	cursor: pointer;
}

.sierramet-weather-forecast__empty {
	margin: 0;
	padding: 0.85rem 0;
	font-size: 0.9rem;
	opacity: 0.76;
}

.sierramet-weather-forecast :is(button, select):focus-visible {
	position: relative;
	z-index: 1;
	outline: 3px solid var(--sierramet-forecast-primary);
	outline-offset: 2px;
}

.sierramet-weather-forecast__rain-badge {
	display: inline-block;
	padding: 0.16rem 0.42rem;
	font-weight: 750;
	line-height: 1.2;
	white-space: nowrap;
	border-radius: 999px;
}

.sierramet-weather-forecast__rain-badge.is-light {
	color: #075985;
	background: #e0f2fe;
}

.sierramet-weather-forecast__rain-badge.is-medium {
	color: #0c4a6e;
	background: #7dd3fc;
}

.sierramet-weather-forecast__rain-badge.is-strong {
	color: #fff;
	background: var(--sierramet-forecast-primary);
}

/* A grouped, tabular list: one calm surface per date, not a card per hour. */
.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-rail {
	display: block;
	overflow: visible;
	padding: 0;
	scroll-snap-type: none;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-group {
	display: block;
	min-width: 0;
	color: var(--sierramet-forecast-card-text);
	background: var(--sierramet-forecast-surface);
	border: 1px solid var(--sierramet-forecast-border);
	border-radius: 0.7rem;
	overflow: hidden;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-group + .sierramet-weather-forecast__hour-group {
	margin-block-start: 0.85rem;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-group > h4 {
	display: block;
	padding: 0.7rem 0.84rem 0.45rem;
	margin: 0;
	font-size: 0.84rem;
	font-weight: 750;
	text-transform: capitalize;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-columns,
.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour {
	display: grid;
	grid-template-columns: 3.3rem minmax(7.5rem, 1.3fr) minmax(5.4rem, 0.7fr) repeat(var(--sierramet-hour-metric-count), minmax(5.4rem, 0.8fr));
	column-gap: 0.7rem;
	align-items: center;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-columns {
	padding: 0.4rem 0.84rem;
	color: inherit;
	font-size: 0.72rem;
	font-weight: 650;
	line-height: 1.2;
	opacity: 0.68;
	border-block-end: 1px solid var(--sierramet-forecast-border);
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-list {
	display: block;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-list > li + li {
	border-block-start: 1px solid var(--sierramet-forecast-border);
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour {
	height: auto;
	padding: 0.64rem 0.84rem;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour > time {
	grid-column: 1;
	font-variant-numeric: tabular-nums;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-condition {
	grid-column: 2;
	display: flex;
	gap: 0.45rem;
	align-items: center;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-condition .sierramet-weather-forecast__icon {
	width: 1.8rem;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour > strong {
	grid-column: 3;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-metrics,
.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-metrics > div {
	display: contents;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-metrics dt {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-metrics dd {
	margin: 0;
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

@media (max-width: 48rem) {
	.sierramet-weather-forecast__today-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.sierramet-weather-forecast__summary .sierramet-weather-forecast__metrics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-group {
		overflow-x: auto;
	}

	.sierramet-weather-forecast__panel.is-hour-presentation-rows :is(.sierramet-weather-forecast__hour-columns, .sierramet-weather-forecast__hour) {
		min-width: 41rem;
	}
}

@media (max-width: 30rem) {
	.sierramet-weather-forecast__day-navigation {
		grid-template-columns: minmax(4.4rem, 1fr) minmax(7.5rem, 1.5fr) minmax(4.4rem, 1fr);
		gap: 0.35rem;
		font-size: 0.76rem;
	}

	.sierramet-weather-forecast__day-navigation button {
		padding-inline: 0.5rem;
	}

	.sierramet-weather-forecast__day-navigation .is-wide {
		display: none;
	}

	.sierramet-weather-forecast__day-navigation .is-compact {
		display: inline;
	}

	.sierramet-weather-forecast__hour-advance button {
		width: 100%;
		text-align: center;
	}

	.sierramet-weather-forecast__today-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.sierramet-weather-forecast__header {
		grid-template-columns: minmax(0, 1fr);
	}

	.sierramet-weather-forecast__provenance {
		text-align: start;
	}

	.sierramet-weather-forecast__summary {
		grid-template-columns: minmax(0, 1fr) 3.5rem;
		padding: 1rem;
	}

	.sierramet-weather-forecast__summary .sierramet-weather-forecast__icon {
		width: 3.5rem;
	}

	.sierramet-weather-forecast__summary .sierramet-weather-forecast__metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* One responsive DOM: the rows list reflows rather than cloning cards. */
	.sierramet-weather-forecast__hour-rail,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-rail {
		display: block;
		overflow: visible;
		padding: 0;
	}

	.sierramet-weather-forecast__hour-group,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-group {
		display: block;
		background: transparent;
		border: 0;
		border-radius: 0;
		overflow: visible;
	}

	.sierramet-weather-forecast__hour-group + .sierramet-weather-forecast__hour-group {
		margin-block-start: 0.9rem;
	}

	.sierramet-weather-forecast__hour-group > h4,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-group > h4 {
		display: block;
		padding: 0;
		margin: 0 0 0.35rem;
		font-size: 0.8rem;
		font-weight: 750;
		text-transform: capitalize;
	}

	.sierramet-weather-forecast__hour-columns {
		display: none;
	}

	.sierramet-weather-forecast__hour-list,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-list {
		display: grid;
		gap: 0.45rem;
	}

	.sierramet-weather-forecast__hour-list > li + li,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-list > li + li {
		border: 0;
	}

	.sierramet-weather-forecast__hour,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour {
		display: grid;
		min-width: 0;
		grid-template-columns: 3.3rem minmax(0, 1fr);
		gap: 0.4rem 0.65rem;
		align-items: start;
		padding: 0.7rem;
		background: var(--sierramet-forecast-surface);
		border: 1px solid var(--sierramet-forecast-border);
		border-radius: 0.65rem;
	}

	.sierramet-weather-forecast__hour > time,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour > time {
		grid-column: 1;
		grid-row: 1;
	}

	.sierramet-weather-forecast__hour-condition,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-condition {
		grid-column: 2;
		grid-row: 1;
		display: flex;
		gap: 0.42rem;
		align-items: center;
	}

	.sierramet-weather-forecast__hour-condition .sierramet-weather-forecast__icon {
		width: 2rem;
	}

	.sierramet-weather-forecast__hour > strong,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour > strong {
		grid-column: 1;
		grid-row: 2;
		font-size: 1.15rem;
	}

	.sierramet-weather-forecast__hour-metrics,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-metrics {
		display: grid;
		grid-column: 2;
		grid-row: 2;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.22rem;
		margin: 0;
	}

	.sierramet-weather-forecast__hour-metrics > div,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-metrics > div {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 0.35rem;
		align-items: baseline;
	}

	.sierramet-weather-forecast__hour-metrics dt,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-metrics dt {
		position: static;
		width: auto;
		height: auto;
		padding: 0;
		margin: 0;
		overflow: visible;
		clip: auto;
		white-space: normal;
		border: 0;
		font-size: 0.73rem;
	}

	.sierramet-weather-forecast__hour-metrics dd,
	.sierramet-weather-forecast__panel.is-hour-presentation-rows .sierramet-weather-forecast__hour-metrics dd {
		margin: 0;
		font-size: 0.73rem;
		text-align: end;
	}

	.sierramet-weather-forecast__days {
		grid-template-columns: minmax(0, 1fr);
	}

}

@media (prefers-reduced-motion: reduce) {
	.sierramet-weather-forecast__hour-rail {
		scroll-behavior: auto;
	}
}

/* Semantic table mode: a compact comparison, not a second component. */
.sierramet-weather-forecast__table-wrap {
	min-width: 0;
	color: var(--sierramet-forecast-card-text);
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--sierramet-forecast-border);
	border-radius: 0.7rem;
	background: var(--sierramet-forecast-surface);
}

.sierramet-weather-forecast__table-wrap + .sierramet-weather-forecast__table-wrap {
	margin-block-start: 0.85rem;
}

.sierramet-weather-forecast__table {
	width: 100%;
	width: max-content;
	min-width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.sierramet-weather-forecast__table caption {
	padding: 0.72rem 0.84rem 0.45rem;
	font-size: 0.88rem;
	font-weight: 750;
	text-align: start;
}

.sierramet-weather-forecast__table :is(th, td) {
	padding: 0.62rem 0.84rem;
	vertical-align: middle;
	text-align: start;
	border-block-start: 1px solid var(--sierramet-forecast-border);
}

.sierramet-weather-forecast__table .sierramet-weather-forecast__table-metric {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	text-align: center;
}

.sierramet-weather-forecast__table thead th {
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.2;
	opacity: 0.72;
}

.sierramet-weather-forecast__table .sierramet-weather-forecast__table-identifier {
	width: 1%;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	text-align: start;
}

.sierramet-weather-forecast__table .sierramet-weather-forecast__table-state {
	width: 3.5rem;
	padding-inline: 0.5rem;
	text-align: center;
}

.sierramet-weather-forecast__table-condition {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
}

.sierramet-weather-forecast__table-condition .sierramet-weather-forecast__icon {
	width: 1.75rem;
}

/* The hourly table keeps its temporal anchors while the user scrolls. */
.sierramet-weather-forecast__table--hours {
	border-collapse: separate;
	border-spacing: 0;
}

.sierramet-weather-forecast__table--hours thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	color: var(--sierramet-forecast-card-text);
	background: var(--sierramet-forecast-surface);
	opacity: 1;
}

.sierramet-weather-forecast__table--hours .sierramet-weather-forecast__table-identifier {
	position: sticky;
	left: 0;
	z-index: 1;
	background: var(--sierramet-forecast-surface);
}

.sierramet-weather-forecast__table--hours thead .sierramet-weather-forecast__table-identifier {
	z-index: 3;
}

/* On small screens, preserve the semantic table but let its columns use their
 * actual content width. The scroll container then reveals selected metrics
 * (such as wind) instead of spending the viewport on the time and icon cells. */
@media (max-width: 40rem) {
	.sierramet-weather-forecast__table {
		min-width: 0;
	}

	.sierramet-weather-forecast__table :is(th, td) {
		padding-inline: 0.65rem;
	}

	.sierramet-weather-forecast__table .sierramet-weather-forecast__table-identifier {
		width: auto;
	}

	.sierramet-weather-forecast__table .sierramet-weather-forecast__table-state {
		width: 3rem;
	}
}
