.updates-panel {
	display: none !important;
}
.layout.updates-mode .updates-panel {
	display: block !important;
}
/* ===== UPDATES TAB ===== */
:root {
	--info: #2563eb;
} /* blue for "improved" tags */
html[data-theme='dark'] {
	--info: #6aa8ff;
}

.updates-panel {
	display: none !important;
}
.layout.updates-mode {
	grid-template-columns: 1fr 3fr;
} /* 25% sidebar / 75% updates */
.layout.updates-mode .updates-panel {
	display: block !important;
	min-width: 0;
}
.layout.updates-mode .results {
	display: none;
}

.side-title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	color: var(--ink);
	letter-spacing: -0.01em;
}

/* the list itself has NO background, so each update can be its own box */
.updates-list {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.update {
	position: relative;
	overflow: hidden;
	padding: 20px 22px 20px 26px;
	border-radius: 12px;
	background: var(--surface);
	outline: 1px solid transparent;
	outline-offset: -1px;
	transition:
		outline-color 0.25s ease,
		background-color 0.25s ease;
}
.update::before {
	/* colored strip on the left edge */
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--border);
	transition: background 0.25s ease;
}
.update:hover {
	outline-color: color-mix(in srgb, var(--ink) 22%, transparent);
}
.update:hover::before {
	background: var(--accent);
}

.update.latest {
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--surface)) 0%, var(--surface) 65%);
}
.update.latest::before {
	background: var(--accent);
}

.update-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
}
.update-ver {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--ink);
	font-size: 11px;
	font-weight: 800;
}
.update.latest .update-ver {
	background: var(--accent);
	color: #000;
}
.update-date {
	color: var(--ink-soft);
	font-size: 12px;
	font-weight: 400;
}

.update h3 {
	margin: 0 0 10px;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.update ul {
	margin: 0;
	padding-left: 18px;
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.75;
	font-weight: 400;
}
.update li {
	margin: 4px 0;
}
.update li strong {
	color: var(--ink);
	font-weight: 700;
}

.tag {
	display: inline-block;
	margin-right: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.tag.new {
	background: color-mix(in srgb, #1db954 20%, transparent);
	color: #1db954;
	border: 1px solid color-mix(in srgb, #1db954 40%, transparent);
}
.tag.improved {
	background: color-mix(in srgb, #38bdf8 20%, transparent);
	color: #38bdf8;
	border: 1px solid color-mix(in srgb, #38bdf8 40%, transparent);
}
.tag.resolved {
	background: color-mix(in srgb, #34d399 20%, transparent);
	color: #34d399;
	border: 1px solid color-mix(in srgb, #34d399 40%, transparent);
}
.tag.unresolved {
	background: color-mix(in srgb, #f87171 20%, transparent);
	color: #f87171;
	border: 1px solid color-mix(in srgb, #f87171 40%, transparent);
}
@media (max-width: 880px) {
	.layout.updates-mode {
		grid-template-columns: 1fr;
	} /* stack on phones */
}
#rightP {
	position: absolute;
	right: 50px;
}
/* #rightP2::after {
	content: 'ᯤ';
	position: absolute;
	right: 20%;
	top: -0px;
	font-size: 260px;
	line-height: 1;
	color: #ffffff14;
	transform: rotate(13deg);
	font-weight: 800;
} */
#rightP::after {
	content: '♫';
	position: absolute;
	right: 7%;
	top: -35px;
	font-size: 260px;
	line-height: 1;
	color: #ffffff14;
	transform: rotate(13deg);
	font-weight: 800;
}
.mode-btn svg {
	width: 1.2em;
	transform: translateX(-40%);
	height: 1.2em;
	vertical-align: middle;
	margin-left: 4px;
}
svg {
	width: 1.2em;
	transform: translate(-35%, -10%);
	height: 1.2em;
	margin-left: 4px;
	vertical-align: middle;
}
.section-title {
	margin-bottom: 10px;
}
.section-title::after {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background: var(--border);
	margin-top: 10px;
}

/* Hour-of-day heat map */
.hm-hours,
.hm-hours-labels {
	display: grid;
	grid-template-columns: repeat(24, minmax(0, 1fr));
	gap: 3px;
}
.hm-hours .hm-c {
	width: auto;
	height: 44px;
}
.hm-hours-labels {
	margin-top: 4px;
	color: var(--ink-soft);
	font-family: 'Space Mono', monospace;
	font-size: 9px;
}
.hm-hours-labels span {
	white-space: nowrap;
}
