.home-webcam-ticker {
	box-sizing: border-box;
	width: calc(100% - 30px);
	max-width: 668px;
	margin: 8px auto 0;
	text-align: left;
}

.today-advice-panel,
.today-advice-debug {
	box-sizing: border-box;
	width: calc(100% - 30px);
	max-width: 668px;
	margin: 18px auto 22px;
	text-align: left;
}

.today-advice-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 10px;
}

.today-advice-heading h2,
.today-advice-debug h2 {
	margin: 0 0 3px;
	padding: 0;
	color: #243041;
	font-size: 20px;
	line-height: 1.25;
	text-align: left;
}

.today-advice-heading p,
.today-advice-debug > p {
	margin: 0;
	color: #667386;
	font-size: 12px;
	line-height: 1.4;
}

.today-advice-updated {
	flex: 0 0 auto;
	padding-bottom: 2px;
	color: #718095;
	font-size: 10px;
	white-space: nowrap;
}

.today-advice-updated.stale {
	color: #ad2929;
	font-weight: bold;
}

.today-advice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px;
}

.today-advice-card {
	box-sizing: border-box;
	min-height: 92px;
	padding: 7px 8px;
	border: 1px solid #dce3eb;
	border-left: 5px solid #9aa7b5;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(35, 48, 65, 0.05);
	color: #273243;
}

.today-advice-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 7px;
	margin-bottom: 5px;
}

.today-advice-card h3 {
	margin: 1px 0 0;
	padding: 0;
	color: #273243;
	font-size: 12px;
	line-height: 1.25;
	text-align: left;
}

.today-advice-verdict {
	flex: 0 0 auto;
	padding: 2px 5px;
	border-radius: 999px;
	background: #eef1f4;
	color: #586575;
	font-size: 9px;
	font-weight: bold;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.today-advice-window {
	display: block;
	margin-bottom: 3px;
	color: #273243;
	font-size: 13px;
	line-height: 1.25;
}

.today-advice-card p {
	margin: 0;
	color: #657386;
	font-size: 9.5px;
	line-height: 1.3;
}

.today-advice-card .today-advice-outlook {
	margin-top: 5px;
	padding-top: 4px;
	border-top: 1px solid #e3e8ed;
	color: #445267;
	font-weight: bold;
}

.today-advice-good {
	border-left-color: #2f9d57;
	background: linear-gradient(135deg, #fff 72%, #f1faf4);
}

.today-advice-good .today-advice-verdict {
	background: #e3f4e9;
	color: #247a43;
}

.today-advice-possible {
	border-left-color: #d99100;
	background: linear-gradient(135deg, #fff 72%, #fff8e8);
}

.today-advice-possible .today-advice-verdict {
	background: #fff0c9;
	color: #9b6600;
}

.today-advice-not-ideal {
	border-left-color: #d63b3b;
	background: linear-gradient(135deg, #fff 72%, #fff2f2);
}

.today-advice-not-ideal .today-advice-verdict {
	background: #fbe2e2;
	color: #ad2929;
}

.today-advice-note {
	margin: 8px 2px 0;
	color: #7b8796;
	font-size: 9px;
	line-height: 1.35;
}

.home-forecast-title {
	box-sizing: border-box;
	width: calc(100% - 30px);
	max-width: 668px;
	margin: 10px auto 8px;
	padding: 0;
	color: #243041;
	font-size: 17px;
	line-height: 1.25;
	text-align: center;
}

.home-forecast-title a,
.home-forecast-title a:link,
.home-forecast-title a:visited {
	color: #243041;
	text-decoration: none;
}

.home-forecast-title a:hover,
.home-forecast-title a:focus {
	color: #1d5f8f;
	text-decoration: underline;
}

.live-status-panel {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.today-glance-tile.green,
.live-status-row:has(.live-status-value.green) {
	background: linear-gradient(135deg, #fff 72%, #f1faf4);
}

.today-glance-tile.amber,
.live-status-row:has(.live-status-value.amber) {
	background: linear-gradient(135deg, #fff 72%, #fff8e8);
}

.today-glance-tile.red,
.live-status-row:has(.live-status-value.red) {
	background: linear-gradient(135deg, #fff 72%, #fff2f2);
}

.today-glance-tile.purple,
.live-status-row:has(.live-status-value.purple) {
	background: linear-gradient(135deg, #fff 72%, #f7f1ff);
}

.today-glance-tile.grey,
.live-status-row:has(.live-status-value.grey) {
	background: linear-gradient(135deg, #fff 72%, #f3f5f7);
}

.today-advice-debug {
	padding: 14px;
	border: 1px solid #cfd7e0;
	border-radius: 8px;
	background: #f8fafc;
}

.today-advice-debug details {
	margin-top: 10px;
	padding: 9px 10px;
	border: 1px solid #dce3eb;
	border-radius: 6px;
	background: #fff;
}

.today-advice-debug summary {
	cursor: pointer;
	color: #273243;
	font-size: 12px;
	font-weight: bold;
}

.today-advice-debug table {
	width: 100%;
	margin-top: 8px;
	border-collapse: collapse;
	font-size: 10px;
}

.today-advice-debug th,
.today-advice-debug td {
	padding: 5px 6px;
	border-bottom: 1px solid #e7ebef;
	text-align: left;
}

.today-advice-debug-scores {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 8px 0 0;
}

.today-advice-debug-scores span {
	padding: 3px 5px;
	border-radius: 4px;
	background: #eef2f6;
	font-size: 9px;
}

.today-advice-debug pre {
	overflow: auto;
	max-height: 420px;
	padding: 8px;
	background: #f4f6f8;
	font-size: 9px;
	white-space: pre-wrap;
}

@media only screen and (max-width: 520px) {
	.today-advice-panel,
	.today-advice-debug,
	.home-webcam-ticker,
	.home-forecast-title {
		width: calc(100% - 20px);
	}

	.today-advice-heading {
		display: block;
	}

	.today-advice-updated {
		display: block;
		margin-top: 5px;
	}

	.today-advice-grid {
		grid-template-columns: 1fr;
	}

	.today-advice-card {
		min-height: 0;
	}
}
