#shell .ai-page .card-h,
.ai-fact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	padding: 16px 20px 8px;
}
#shell .ai-page .release-kpis strong small {
	display: inline;
	font-size: 16px;
}
#shell .ai-page .release-kpis .card:nth-child(3) strong {
	color: var(--red);
}
#shell .ai-page .release-kpis .card:last-child strong {
	font-size: 20px;
	color: var(--ink);
}
.ai-page .aig th:not(:first-child),
.ai-page .aig td:not(:first-child) {
	text-align: center;
	width: 14%;
}
.ai-cell {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 112px;
	height: 30px;
	border-radius: 8px;
	border: 1px solid transparent;
	font: 700 var(--fs-xs) var(--font);
	cursor: pointer;
}
.ai-state {
	background: var(--bg-2);
	color: var(--muted);
}
.ai-state.cited {
	background: var(--green-600);
	color: white;
}
.ai-state.mentioned {
	background: var(--green-50);
	color: var(--green-700);
}
.ai-state.wrong {
	background: var(--red-50);
	color: var(--red);
}
.ai-state.pending {
	background: white;
	border: 1px dashed var(--line-2);
}
.ai-cell:hover {
	border-color: var(--line-2);
}
.ai-legend,
.ai-legend span {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	font-size: var(--fs-xs);
	color: var(--muted);
}
.ai-legend i {
	width: 10px;
	height: 10px;
	border-radius: 3px;
}
.ai-legend {
	gap: 12px;
}
.ai-facts {
	margin-top: 20px;
}
.ai-fact {
	padding: 12px 20px;
	border-top: 1px solid var(--line);
}
.ai-fact div {
	flex: 1;
}
.ai-fact small {
	display: block;
	color: var(--muted);
}
.ai-short {
	display: none;
}
@media (max-width: 1050px) {
	.ai-cell {
		min-width: 0;
		width: 100%;
	}
}
@media (max-width: 700px) {
	.ai-page .ai-full {
		display: none;
	}
	.ai-short {
		display: inline;
	}
	.ai-page .aig td,
	.ai-page .aig th {
		padding: 8px 4px;
	}
	.ai-cell {
		min-width: 28px;
	}
	.ai-fact div {
		min-width: 60%;
	}
}
#shell :is(.ai-page, .portfolio-head, .changes-head, .overview) .ai-illustrative {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px dashed var(--line-2);
	border-radius: var(--r-pill);
	padding: 3px 10px;
	color: var(--muted);
	font-size: var(--fs-xs);
}
#shell .ai-page .card-h {
	padding: 18px 20px 0;
}
.ai-page .tbl-wrap,
.ai-facts .card-h {
	margin-top: 8px;
}
.ai-page .ai-facts .card-h {
	margin: 0 0 8px;
}
.ai-legend span {
	font-weight: 600;
	color: var(--ink-2);
}
.ai-legend .wrong {
	border: 1px solid #f0c3b8;
}
#shell .ai-fact .b-red {
	background: var(--red-50);
	color: var(--red);
}
.ai-fact {
	padding: 14px 20px;
	gap: 14px;
}
.ai-fact:first-of-type,
.ai-facts .card-h + .ai-fact {
	border-top: 0;
}
.ai-cell svg {
	vertical-align: middle;
}
.ai-baseline {
	padding: 16px;
	margin-bottom: 20px;
}
