.console-shell {
	display: grid;
	height: calc(100vh - 68px);
	grid-template-columns: 318px minmax(0, 1fr);
}

.control-rail {
	display: flex;
	min-height: 0;
	flex-direction: column;
	overflow: auto;
	border-right: 1px solid var(--line-strong);
	background: var(--paper);
}

.rail-intro {
	padding: 30px 26px 27px;
}

.eyebrow {
	margin: 0 0 12px;
}

.rail-intro h1 {
	margin: 0;
	font-size: clamp(23px, 2vw, 28px);
	font-weight: 780;
	letter-spacing: -0.045em;
	line-height: 1.16;
}

.rail-intro > p:last-child {
	margin: 16px 0 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.65;
}

.control-group {
	padding: 22px 26px 24px;
	border-top: 1px solid var(--line);
}

.group-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 17px;
}

.group-heading h2 {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.field-label {
	display: block;
	margin-bottom: 7px;
}

.select-shell {
	position: relative;
}

.select-shell::after {
	position: absolute;
	top: 50%;
	right: 13px;
	width: 6px;
	height: 6px;
	border-right: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	content: "";
	pointer-events: none;
	transform: translateY(-70%) rotate(45deg);
}

select {
	width: 100%;
	height: 42px;
	appearance: none;
	padding: 0 36px 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: 3px;
	background: #fff;
	color: var(--ink);
	font-size: 12px;
	font-weight: 720;
}

select:disabled {
	color: var(--muted-light);
	cursor: wait;
}

.artifact-facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 18px 0 0;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.artifact-facts div {
	min-width: 0;
	padding: 11px 10px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.artifact-facts dt {
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 9px;
	font-weight: 650;
}

.artifact-facts dd {
	margin: 0;
	overflow: hidden;
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.export-actions {
	display: grid;
	gap: 9px;
}

.action {
	display: flex;
	min-height: 54px;
	align-items: center;
	justify-content: space-between;
	padding: 9px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 3px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	text-align: left;
}

.action span {
	display: grid;
	gap: 3px;
}

.action strong {
	font-size: 12px;
}

.action small {
	color: var(--muted);
	font-size: 9px;
}

.action b {
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	font-weight: 600;
}

.action-primary {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.action-primary small {
	color: #c9c9c5;
}

.action:not(:disabled):hover {
	border-color: var(--accent);
	color: var(--accent-dark);
}

.action-primary:not(:disabled):hover {
	border-color: var(--accent-dark);
	background: var(--accent-dark);
	color: #fff;
}

.action:disabled,
.utility-actions button:disabled {
	opacity: 0.42;
	cursor: not-allowed;
}

.export-note {
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 10px;
	line-height: 1.55;
}

.utility-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.utility-actions button {
	height: 42px;
	border: 0;
	background: var(--panel);
	color: var(--ink-soft);
	cursor: pointer;
	font-size: 10px;
	font-weight: 700;
}

.utility-actions button + button {
	border-left: 1px solid var(--line);
}

.utility-actions button:not(:disabled):hover {
	background: #e7e7e2;
	color: var(--accent-dark);
}

.rail-footer {
	display: flex;
	justify-content: space-between;
	margin-top: auto;
	padding: 18px 26px;
}

