.u-badge,
.u-delta {
	display: inline-flex;
	flex: none;
	align-items: center;
	height: 22px;
	padding: 0 8px;
	border: 1px solid color-mix(in srgb, var(--tone) 32%, transparent);
	border-radius: var(--radius-control);
	background: color-mix(in srgb, var(--tone) 12%, transparent);
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--tone-text);
	white-space: nowrap;
}
.u-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: var(--radius-input);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition-property: background-color, border-color, color;
	transition-duration: var(--motion-instant);
	transition-timing-function: var(--ease-standard);
}
.u-btn.u-md {
	height: 36px;
	padding: 0 14px;
}
.u-btn.u-lg {
	height: 40px;
	padding: 0 16px;
}
.u-btn-solid {
	background: var(--product);
	color: var(--product-on);
}
.u-btn-solid:hover {
	background: var(--product-hover);
}
.u-btn-solid:active {
	background: var(--product-active);
}
.u-btn-outline {
	border-color: var(--sep);
	background: var(--card);
}
.u-btn-outline:hover {
	border-color: var(--input);
	background: var(--hover);
}
.u-btn-ghost {
	color: var(--text2);
}
.u-btn-ghost:hover {
	background: var(--hover);
	color: var(--text);
}
.u-btn.u-icon {
	width: 32px;
	padding: 0;
	border-radius: var(--radius-pill);
}
.u-btn[disabled] {
	opacity: 0.6;
	cursor: default;
}
.u-spin {
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: u-spin var(--motion-hero) linear infinite;
}
@keyframes u-spin {
	to {
		transform: rotate(1turn);
	}
}
.u-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--sep);
	border-radius: var(--radius-card);
	background: var(--card);
	box-shadow: var(--shadow-card);
}
.u-card-h {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 24px 0;
}
.u-card-t {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2941;
}
.u-card-d {
	margin-top: 4px;
	color: var(--text2);
}
.u-card-c {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
	min-width: 0;
	padding: 16px 24px 24px;
}
.u-crumb ol {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--text2);
}
.u-crumb li {
	display: flex;
	gap: 6px;
	white-space: nowrap;
}
.u-crumb li + li::before {
	content: "›";
}
.u-crumb a:hover,
.u-crumb [aria-current="page"] {
	color: var(--text);
}
.u-dialog {
	width: min(640px, calc(100vw - 32px));
	max-height: calc(100dvh - 64px);
	margin: 15vh auto auto;
	border: 1px solid var(--sep);
	border-radius: var(--radius-card);
	background: var(--raised);
	color: var(--text);
	box-shadow: var(--shadow-pop);
}
.u-dialog::backdrop {
	background: var(--scrim);
}
.u-dialog-h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 8px 0 16px;
}
.u-dialog-t {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text2);
}
.u-ic {
	width: 16px;
	height: 16px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.u-kbd {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border: 1px solid var(--sep);
	border-radius: 5px;
	background: var(--page);
	font: 400 12px / 1 var(--mono);
	color: var(--text2);
}
.u-kpi {
	gap: 6px;
	padding: 20px 24px 0;
	overflow: hidden;
}
.u-kpi-h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 24px;
}
.u-kpi-l {
	color: var(--text2);
}
.u-kpi-v {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}
.u-kpi-c {
	font-size: 12px;
	line-height: 16px;
	color: var(--text2);
}
.u-kpi > :last-child:not(.u-spark) {
	margin-bottom: 20px;
}
.u-kpi .u-spark {
	width: calc(100% + 48px);
	margin: 8px -24px 0;
}
.u-markdown {
	min-width: 0;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
.u-markdown > :first-child {
	margin-top: 0;
}
.u-markdown > :last-child {
	margin-bottom: 0;
}
.u-markdown :is(p, ul, ol, blockquote, pre, table) {
	margin: 0 0 12px;
}
.u-markdown :is(h1, h2, h3, h4) {
	margin: 20px 0 8px;
	font-weight: 600;
	line-height: 1.25;
}
.u-markdown h1 {
	font-size: 24px;
}
.u-markdown h2 {
	font-size: 21px;
}
.u-markdown h3 {
	font-size: 17px;
}
.u-markdown h4 {
	font-size: 14px;
}
.u-markdown :is(ul, ol) {
	padding-left: 24px;
}
.u-markdown ul {
	list-style: disc;
}
.u-markdown ol {
	list-style: decimal;
}
.u-markdown li + li {
	margin-top: 4px;
}
.u-markdown a {
	color: var(--product-text);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.u-markdown blockquote {
	padding-left: 12px;
	border-left: 3px solid var(--sep);
	color: var(--text2);
}
.u-markdown code {
	padding: 1px 4px;
	border-radius: var(--radius-control);
	background: var(--fill);
	font-family: var(--mono);
	font-size: 0.92em;
}
.u-markdown pre {
	padding: 12px;
	border: 1px solid var(--sep);
	border-radius: var(--radius-input);
	background: var(--raised);
	overflow-x: auto;
}
.u-markdown pre code {
	padding: 0;
	background: none;
	font-size: 12px;
}
.u-markdown table {
	border-collapse: collapse;
}
.u-markdown :is(th, td) {
	padding: 6px 12px;
	border: 1px solid var(--sep);
	text-align: start;
}
.u-markdown th {
	font-weight: 600;
}
.u-markdown hr {
	margin: 16px 0;
	border: 0;
	border-top: 1px solid var(--sep);
}
