#shell .site-dialog.evidence-panel {
	margin: 0 0 0 auto;
	inset: 0;
	width: min(540px, 100vw);
	max-width: 100vw;
	height: 100dvh;
	max-height: 100dvh;
	border-radius: 0;
}
#shell .evidence-panel header {
	border-bottom: 1px solid var(--line);
}
#shell .evidence-panel footer {
	justify-content: space-between;
}
#shell .evidence-panel footer > :last-child {
	margin-left: auto;
}
#shell .evidence-panel .dialog-body {
	padding: 18px 22px 24px;
}
#shell .pn-sec {
	margin: 0 0 20px;
	overflow-wrap: anywhere;
}
#shell .pn-sec h3 {
	margin: 0 0 8px;
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--muted);
}
#shell .pn-sec ul,
#shell .pn-sec ol {
	padding-left: 22px;
}
#shell .pn-sec li {
	margin-bottom: 5px;
}
#shell .pn-sec ol.release-timeline {
	list-style: none;
	padding: 0;
}
#shell .release-timeline li {
	display: grid;
	grid-template-columns: 22px 1fr auto;
	align-items: start;
	gap: 12px;
	position: relative;
	margin: 0;
	padding-bottom: 16px;
}
#shell .release-timeline li:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 22px;
	bottom: 0;
	border-left: 2px solid var(--line);
}
#shell .stage-dot {
	width: 22px;
	height: 22px;
	border: 2px solid var(--line-2);
	border-radius: 50%;
	background: var(--bg-2);
	display: grid;
	place-items: center;
}
#shell [data-state="done"] > .stage-dot {
	background: var(--green-600);
	border-color: var(--green-600);
	color: white;
}
#shell [data-state="current"] > .stage-dot {
	border-color: var(--blue);
	background: white;
}
#shell [data-state="waiting"] > .stage-dot {
	border-color: var(--amber);
}
#shell [data-state="failed"] > .stage-dot {
	background: var(--red);
	color: white;
}
#shell .release-timeline p,
#shell .release-timeline time,
#shell .release-kpis small {
	font-size: var(--fs-xs);
	color: var(--muted);
}
#shell .release-timeline strong {
	font-size: var(--fs-sm);
}
#shell .release-metric {
	font-size: 24px;
}
#shell .release-metric small {
	font-size: 12px;
}
#shell .release-kpis {
	margin-bottom: 20px;
}
#shell .release-kpis .card {
	padding: 16px 18px;
}
#shell .release-kpis b,
#shell .release-kpis small {
	display: block;
}
#shell .release-kpis b {
	font-size: 13px;
	color: var(--muted);
}
#shell .release-kpis strong {
	display: block;
	font-size: 28px;
	line-height: 1.15;
	margin: 6px 0 4px;
}
#shell .release-kpis .card:nth-child(3) strong {
	color: var(--green-700);
}
#shell .release-tabs .tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
#shell .release-chevron {
	font-size: 20px;
	line-height: 1;
	color: var(--muted);
}
#shell .release-row {
	display: flex;
	align-items: center;
	gap: 14px;
	text-align: left;
	width: 100%;
	padding: 14px 20px;
	border: 0;
	border-top: 1px solid var(--line);
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
#shell .release-row:hover {
	background: var(--bg);
}
#shell .release-summary {
	flex: 1;
	min-width: 0;
	overflow-wrap: anywhere;
}
#shell .release-summary > span {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 12px;
	color: var(--muted);
	margin-top: 4px;
}
#shell .release-id {
	width: 68px;
	font: 12px monospace;
	color: var(--muted);
}
#shell .release-status {
	width: 190px;
	text-align: right;
}
#shell .release-pipe {
	width: 150px;
	display: flex;
	gap: 3px;
}
#shell .release-pipe i {
	flex: 1;
	height: 6px;
	background: var(--bg-3);
	border-radius: 3px;
}
#shell .release-pipe [data-phase="done"] {
	background: var(--green);
}
#shell .release-pipe [data-phase="current"] {
	background: var(--blue);
}
#shell .release-pipe [data-phase="wait"] {
	background: var(--amber);
}
#shell .release-pipe [data-phase="fail"] {
	background: var(--red);
}
#shell .release-empty {
	text-align: center;
	padding: 36px;
}
@media (min-width: 901px) {
	#shell .release-status {
		width: 198px;
		margin-inline-start: -8px;
	}
	#shell .release-status + span {
		width: 18px;
		text-align: center;
	}
}
@media (max-width: 900px) {
	#shell .release-kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	#shell .release-pipe {
		display: none;
	}
	#shell .release-status {
		width: auto;
	}
}
@media (max-width: 650px) {
	#shell .release-row {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 4px;
		padding: 14px 16px;
	}
	#shell .release-summary,
	#shell .release-id {
		grid-column: 1 / -1;
	}
	#shell .site-dialog.evidence-panel {
		width: 100vw;
	}
}
#shell .evidence-panel .kick,
#shell .evidence-status,
#shell .evidence-history {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
#shell .evidence-status small {
	color: var(--muted);
}
#shell .pn-sec .evidence-list {
	display: grid;
	gap: 8px;
	list-style: none;
	padding: 0;
	counter-reset: step;
}
#shell .evidence-list li {
	display: flex;
	align-items: baseline;
	gap: 10px;
	color: var(--ink-2);
	margin: 0;
}
#shell ul.evidence-list li::before {
	content: "";
	flex: 0 0 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--green);
}
#shell ol.evidence-list li::before {
	counter-increment: step;
	content: counter(step);
	background: var(--bg-2);
	border-radius: 50%;
	flex: 0 0 20px;
	text-align: center;
	line-height: 20px;
	font-size: 11px;
	font-weight: 700;
}
#shell .evidence-fields {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 16px;
	font-size: var(--fs-sm);
}
#shell .evidence-fields dt {
	color: var(--muted);
}
#shell .evidence-fields dd {
	margin: 0;
	font-weight: 600;
}
#shell .evidence-note {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 12px 14px;
	margin: 0;
}
#shell .evidence-panel footer {
	justify-content: flex-start;
	flex-wrap: wrap;
}
#shell .evidence-panel footer .btn-primary {
	min-width: 0;
}
#shell .metric-before {
	color: var(--muted);
}
#shell .evidence-panel header .btn {
	width: 36px;
	height: 36px;
	padding: 0;
}
#shell .evidence-panel header button:focus {
	outline: 2px solid var(--green-600);
	outline-offset: 2px;
}
