/*
	Dev harness chrome: positioning and harness-only controls layered over the sidepanel.
	Shared component styling lives in components.css; tokens in tokens.css.
*/

body {
	height: 100vh;
	margin: 0;
}

.harness-controls[hidden] {
	display: none;
}

.harness-controls {
	border: none;
	border-left: 1px solid var(--color-border);
	bottom: 0;
	display: flex;
	flex-direction: column;
	font-family: monospace;
	gap: var(--space-5);
	overflow-y: auto;
	padding: var(--space-6);
	position: fixed;
	right: 0;
	top: 0;
	width: 280px;
	z-index: 10;
}

.harness-controls .field {
	font-family: monospace;
	font-size: var(--font-size-small);
	margin-bottom: var(--space-4);
}

.harness-controls .btn {
	width: 100%;
}

.harness-section {
	display: flex;
	flex-direction: column;
	padding-top: var(--space-5);
}

.harness-section__label {
	display: block;
	margin-bottom: var(--space-2);
}

.app-shell {
	height: 100%;
	overflow: hidden;
}

.harness-settings-toggle {
	background-color: var(--color-text-muted);
	border: none;
	cursor: pointer;
	height: 20px;
	margin-left: auto;
	margin-right: var(--space-3);
	mask-image: url("../images/icons/cog.svg");
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
	padding: var(--space-1);
	position: relative;
	width: 20px;
	z-index: 11;
	-webkit-mask-image: url("../images/icons/cog.svg");
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
}

.harness-settings-toggle:hover {
	background-color: var(--color-text);
}
