:root {
	--ds-ink: #111111;
	--ds-paper: #ffffff;
	--ds-muted: #555555;
	--ds-line: #d9d9d9;
	--ds-surface: #f5f5f5;
	--ds-focus: #000000;
}

body[data-ds-product-shell="true"] .layout-main-section,
body[data-ds-product-shell="true"] .widget {
	background: var(--ds-paper);
	color: var(--ds-ink);
}

body[data-ds-product-shell="true"] .widget.shortcut-widget-box {
	border: 1px solid var(--ds-line);
	box-shadow: none;
}

body[data-ds-product-shell="true"] .widget.shortcut-widget-box:hover {
	border-color: var(--ds-ink);
}

body[data-ds-product-shell="true"] .layout-main-section {
	font-size: 1rem;
}

body[data-ds-product-shell="true"] .keyboard-shortcut,
body[data-ds-product-shell="true"] .text-muted,
body[data-ds-product-shell="true"] .h4,
body[data-ds-product-shell="true"] .text-secondary {
	color: var(--ds-muted) !important;
}

body[data-ds-product-shell="true"] .avatar-frame.standard-image {
	background-color: var(--ds-surface) !important;
	color: var(--ds-ink) !important;
}

body[data-ds-product-shell="true"][data-ds-text-scale="large"] .layout-main-section {
	font-size: 1.125rem;
}

body[data-ds-product-shell="true"][data-ds-text-scale="x-large"] .layout-main-section {
	font-size: 1.25rem;
}

body[data-ds-product-shell="true"][data-ds-focus-mode="enhanced"] :focus-visible,
body[data-ds-product-shell="true"] .ds-accessibility-trigger:focus-visible {
	outline: 3px solid var(--ds-focus) !important;
	outline-offset: 3px !important;
}

body[data-ds-product-shell="true"][data-ds-motion-mode="reduced"] *,
body[data-ds-product-shell="true"][data-ds-motion-mode="reduced"] *::before,
body[data-ds-product-shell="true"][data-ds-motion-mode="reduced"] *::after {
	scroll-behavior: auto !important;
	transition-delay: 0s !important;
	transition-duration: 0.01ms !important;
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
}

.ds-kicker {
	color: var(--ds-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ds-project-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 1px;
	margin: 0 0 1rem;
	border: 1px solid var(--ds-line);
	background: var(--ds-line);
}

.ds-project-overview__item {
	min-width: 0;
	padding: 0.75rem;
	background: var(--ds-paper);
}

.ds-project-overview__item dt {
	color: var(--ds-muted);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.ds-project-overview__item dd {
	margin: 0.25rem 0 0;
	overflow-wrap: anywhere;
	color: var(--ds-ink);
}

@media (max-width: 36rem) {
	.ds-project-overview {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	body[data-ds-product-shell="true"][data-ds-motion-mode="system"] *,
	body[data-ds-product-shell="true"][data-ds-motion-mode="system"] *::before,
	body[data-ds-product-shell="true"][data-ds-motion-mode="system"] *::after {
		scroll-behavior: auto !important;
		transition-delay: 0s !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

.ds-command-center {
	max-width: 88rem;
	margin: 0 auto;
	padding: 1rem 0 3rem;
	color: var(--ds-ink);
}

.ds-command-center p {
	margin: 0;
	color: var(--ds-muted);
}

.ds-command-center__hero {
	display: grid;
	grid-template-columns: minmax(18rem, 1fr) auto;
	gap: 1.25rem 2rem;
	padding: 1.5rem;
	border: 1px solid var(--ds-line);
	background: var(--ds-paper);
}

.ds-command-center__hero h2,
.ds-command-center__next h3,
.ds-command-center__section-heading h3,
.ds-command-center__stage h3,
.ds-command-center__item h4 {
	margin: 0;
	color: var(--ds-ink);
}

.ds-command-center__hero h2 {
	margin: 0.15rem 0 0.45rem;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.ds-command-center__hero-actions,
.ds-command-center__project-row,
.ds-command-center__item footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.ds-command-center__project-picker {
	grid-column: 1 / -1;
	padding-top: 1rem;
	border-top: 1px solid var(--ds-line);
}

.ds-command-center__project-picker label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.ds-command-center__project-picker select {
	min-width: min(32rem, 100%);
	max-width: 42rem;
}

.ds-command-center__metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 1rem;
	border: 1px solid var(--ds-line);
	background: var(--ds-line);
	gap: 1px;
}

.ds-command-center__metric {
	display: grid;
	gap: 0.15rem;
	padding: 1rem;
	background: var(--ds-paper);
}

.ds-command-center__metric span,
.ds-command-center__metric small {
	color: var(--ds-muted);
}

.ds-command-center__metric strong {
	font-size: 1.75rem;
	font-variant-numeric: tabular-nums;
}

.ds-command-center__next {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
	padding: 1rem 1.25rem;
	border-left: 0.25rem solid var(--ds-ink);
	background: var(--ds-surface);
}

.ds-command-center__next h3 {
	margin: 0.15rem 0 0.25rem;
	font-size: 1.1rem;
}

.ds-command-center__tabs {
	display: flex;
	gap: 0;
	margin-top: 1.5rem;
	overflow-x: auto;
	border-bottom: 1px solid var(--ds-line);
}

.ds-command-center__tabs button {
	padding: 0.75rem 1rem;
	white-space: nowrap;
	border: 0;
	border-bottom: 0.15rem solid transparent;
	background: transparent;
	color: var(--ds-muted);
	font-weight: 600;
}

.ds-command-center__tabs button:hover,
.ds-command-center__tabs button:focus-visible,
.ds-command-center__tabs button.is-active {
	border-bottom-color: var(--ds-ink);
	color: var(--ds-ink);
	outline: none;
}

.ds-command-center__stages {
	display: grid;
	gap: 1rem;
	margin-top: 1rem;
}

.ds-command-center__stage,
.ds-command-center__pipeline {
	padding: 1.25rem;
	border: 1px solid var(--ds-line);
	background: var(--ds-paper);
}

.ds-command-center__stage > header,
.ds-command-center__section-heading {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.ds-command-center__stage h3,
.ds-command-center__section-heading h3 {
	font-size: 1.15rem;
}

.ds-command-center__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.ds-command-center__item {
	display: flex;
	min-width: 0;
	min-height: 13rem;
	flex-direction: column;
	padding: 1rem;
	border: 1px solid var(--ds-line);
}

.ds-command-center__item-heading {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.75rem;
}

.ds-command-center__item-heading h4 {
	font-size: 1rem;
}

.ds-command-center__item-heading > strong {
	display: grid;
	width: 2.25rem;
	height: 2.25rem;
	place-items: center;
	border-radius: 50%;
	background: var(--ds-surface);
	font-variant-numeric: tabular-nums;
}

.ds-command-center__item ul {
	display: grid;
	gap: 0.35rem;
	margin: 0.85rem 0;
	padding: 0;
	list-style: none;
}

.ds-command-center__item li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.ds-command-center__item li button {
	min-width: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: transparent;
	color: var(--ds-ink);
	text-align: left;
	text-decoration: underline;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ds-command-center__item li span {
	flex: 0 0 auto;
	padding: 0.1rem 0.4rem;
	border-radius: 1rem;
	background: var(--ds-surface);
	color: var(--ds-muted);
	font-size: 0.7rem;
}

.ds-command-center__item footer {
	margin-top: auto;
	padding-top: 0.75rem;
}

.ds-command-center__empty-copy {
	margin: 1rem 0 !important;
	font-style: italic;
}

.ds-command-center__pipeline {
	margin-top: 1rem;
}

.ds-command-center__pipeline-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--ds-line);
	background: var(--ds-line);
}

.ds-command-center__pipeline-grid article {
	position: relative;
	min-height: 8rem;
	padding: 1rem;
	background: var(--ds-paper);
}

.ds-command-center__pipeline-grid article > span {
	color: var(--ds-muted);
	font-size: 0.75rem;
}

.ds-command-center__pipeline-grid article > strong {
	display: block;
	margin: 0.75rem 0 0.25rem;
	font-size: 1.75rem;
}

.ds-command-center__state,
.ds-command-center__empty {
	padding: 3rem 1rem;
	text-align: center;
}

.ds-command-center__state--error {
	border: 1px solid var(--ds-line);
}

.ds-storage-readiness {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
	gap: 2rem;
	margin-top: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--ds-line);
	border-left: 0.25rem solid var(--ds-ink);
	background: var(--ds-paper);
}

.ds-storage-readiness.is-blocked {
	border-left-style: dashed;
}

.ds-storage-readiness h3,
.ds-storage-readiness p {
	margin: 0.25rem 0 0;
}

.ds-storage-readiness ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ds-storage-readiness li {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.35rem 0;
	border-bottom: 1px solid var(--ds-line);
	text-transform: capitalize;
}

.ds-storage-readiness .is-ready {
	color: var(--ds-ink);
}

.ds-storage-readiness .is-blocked,
.ds-command-center__blocked {
	color: var(--ds-muted);
}

.ds-command-center__blocked {
	margin: 0.75rem 0 0;
	font-size: 0.8rem;
}

.ds-studio-app {
	max-width: 88rem;
}

.ds-studio-app__main {
	min-width: 0;
}

.ds-studio-app__projects {
	margin-top: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--ds-line);
	background: var(--ds-paper);
}

.ds-studio-app__table {
	display: grid;
	border: 1px solid var(--ds-line);
}

.ds-studio-app__table-head,
.ds-studio-app__table > button {
	display: grid;
	grid-template-columns: minmax(14rem, 2fr) minmax(9rem, 1fr) minmax(9rem, 1fr) minmax(9rem, 1fr);
	gap: 1rem;
	align-items: center;
	padding: 0.75rem 1rem;
}

.ds-studio-app__table-head {
	background: var(--ds-surface);
	color: var(--ds-muted);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.ds-studio-app__table > button {
	border: 0;
	border-top: 1px solid var(--ds-line);
	background: var(--ds-paper);
	color: var(--ds-ink);
	text-align: left;
}

.ds-studio-app__table > button:hover,
.ds-studio-app__table > button:focus-visible {
	background: var(--ds-surface);
	outline: 0.1rem solid var(--ds-focus);
	outline-offset: -0.1rem;
}

.ds-studio-app__table > button span {
	overflow: hidden;
	color: var(--ds-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 64rem) {
	.ds-command-center__metrics,
	.ds-command-center__pipeline-grid,
	.ds-storage-readiness {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 48rem) {
	.ds-command-center__hero,
	.ds-command-center__items {
		grid-template-columns: 1fr;
	}

	.ds-command-center__hero-actions {
		justify-content: flex-start;
	}

	.ds-command-center__next,
	.ds-command-center__stage > header,
	.ds-command-center__section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.ds-studio-app__table {
		overflow-x: auto;
	}

	.ds-studio-app__table-head,
	.ds-studio-app__table > button {
		width: 44rem;
	}
}

@media (max-width: 30rem) {
	.ds-command-center__metrics,
	.ds-command-center__pipeline-grid {
		grid-template-columns: 1fr;
	}

	.ds-command-center__project-row {
		align-items: stretch;
		flex-direction: column;
	}
}
