:root {
	--bg: #0b0c10;
	--bg-soft: #12131a;
	--surface: #171923;
	--surface-2: #1e2130;
	--text: #ebedf1;
	--text-soft: #aeb3c2;
	--muted: #8b90a3;
	--brand: #5dd6ff;
	--brand-2: #7c4dff;
	--ok: #22c55e;
	--warn: #f59e0b;
	--err: #ef4444;
	--border: #2a2f44;
	--shadow: 0 10px 30px rgba(0, 0, 0, .35);
	--radius: 16px;
	--radius-sm: 12px;
	--radius-xs: 10px;
	--space: 16px;
	--sidebar-w: 300px;
}

@media (prefers-color-scheme: light) {
	html[data-theme="auto"] {
		--bg: #f7f7fb;
		--bg-soft: #ffffff;
		--surface: #ffffff;
		--surface-2: #f1f3f9;
		--text: #0c0d12;
		--text-soft: #53586a;
		--muted: #707792;
		--brand: #0066ff;
		--brand-2: #7c4dff;
		--border: #e5e7ef;
		--shadow: 0 10px 30px rgba(16, 24, 40, .08);
	}
}

html[data-theme="light"] {
	--bg: #f7f7fb;
	--bg-soft: #ffffff;
	--surface: #ffffff;
	--surface-2: #f1f3f9;
	--text: #0c0d12;
	--text-soft: #53586a;
	--muted: #707792;
	--brand: #0066ff;
	--brand-2: #7c4dff;
	--border: #e5e7ef;
	--shadow: 0 10px 30px rgba(16, 24, 40, .08);
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	color: var(--text);
	background: var(--bg);
	position: relative;
	overflow-x: hidden;
}

body::before{
	content:"";
	position: fixed;
	inset: -2rem;
	z-index: -1;
	pointer-events: none;

	background:
		radial-gradient(60vmax 40vmax at 120% -10%, rgba(124,77,255,.15), transparent 50%),
		radial-gradient(50vmax 35vmax at -10% 110%, rgba(93,214,255,.18), transparent 50%);
	background-repeat: no-repeat, no-repeat;
	background-position: 120% -10%, -10% 110%;
	background-size: 60vmax 40vmax, 50vmax 35vmax;

	will-change: transform, opacity;
	transform: translateZ(0);
}

@supports (height: 1svh) {
	body::before{
		background-size: 60svw 40svh, 50svw 35svh;
	}
}

.app {
	display: grid;
	grid-template-columns: var(--sidebar-w) 1fr;
	min-height: 100dvh;
}

.sidebar {
	position: sticky;
	top: 0;
	align-self: start;
	height: 100dvh;
	overflow: auto;
	background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
	border-right: 1px solid var(--border);
	padding: 22px 18px;
	box-shadow: var(--shadow);
	z-index: 5;
	transition: transform .25s cubic-bezier(.22,.61,.36,1);
	will-change: transform;
}

.nav-search {
	position: relative;
	margin: 10px 0 14px;
}

.nav-search input {
	width: 100%;
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 10px 12px 10px 34px;
	outline: none;
}

.nav-search .bi {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted);
}

.category {
	margin: 14px 0;
}

.cat-title {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--muted);
	margin: 10px 8px;
}

.cat-items {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 6px;
}

.cat-items li a {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	transition: transform .1s ease, background .2s ease, border-color .2s ease;
}

.cat-items li a .emoji {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	display: inline-grid;
	place-items: center;
	text-align: center;
}

.cat-items li a .emoji img {
	width: 22px;
	height: 22px;
	display: block;
	object-fit: contain;
	image-rendering: pixelated;
}

.cat-items li a.active {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 24%, transparent);
}

.cat-items li a:hover {
	transform: translateY(-1px);
	background: color-mix(in oklab, var(--surface) 85%, var(--brand) 15%);
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 9;
	backdrop-filter: saturate(140%) blur(10px);
	background: color-mix(in oklab, var(--bg) 85%, transparent);
	border-bottom: 1px solid var(--border);
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 18px;
}

.left-group {
	display: flex;
	gap: 10px;
	align-items: center;
}

.right-group {
	display: flex;
	gap: 8px;
	align-items: center;
}

.icon-btn {
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: transform .1s ease, background .2s ease;
}

.icon-btn:hover {
	transform: translateY(-1px);
	background: var(--surface-2);
}

.content {
	min-height: 100dvh;
}

.container-main {
	margin: 0 auto;
	padding: 24px;
}

.hero {
	display: grid;
	gap: 18px;
	padding: 26px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 90%, var(--brand) 10%), var(--surface)) padding-box,
		radial-gradient(600px 300px at 0% 0%, color-mix(in oklab, var(--brand) 25%, transparent), transparent) border-box;
	box-shadow: var(--shadow);
}

.hero h1 {
	font-size: clamp(24px, 3vw, 36px);
	margin: 0;
	letter-spacing: .3px;
}

.hero p {
	margin: 0;
	color: var(--text-soft);
}

.hero .badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.badge-soft {
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	font-size: 12px;
	color: var(--muted);
}

.grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}

.col-12 {
	grid-column: span 12;
}

.col-6 {
	grid-column: span 6;
}

.col-4 {
	grid-column: span 4;
}

@media (max-width: 900px) {
	.col-6,
	.col-4 {
		grid-column: span 12;
	}
}

.input,
textarea.input,
select.input {
	width: 100%;
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	padding: 10px 12px;
	outline: none;
	transition: border-color .15s ease, background .2s ease;
}

.input:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 22%, transparent);
}

.btn {
	background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 90%, #fff), var(--brand));
	color: white;
	border: 0;
	padding: 10px 14px;
	border-radius: 12px;
	cursor: pointer;
	font-weight: 600;
	letter-spacing: .2px;
	transition: transform .08s ease, filter .2s ease;
}

.btn:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.btn-ghost {
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
}

.row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	align-items: center;
}

.mono {
	font-size: 13px;
}

pre.codebox {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	padding: 12px;
	overflow: auto;
	text-wrap: auto;
}

.sidebar-drawer {
	display: none;
}

@media (max-width: 1024px) {
	.app {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: fixed;
		left: 0;
		top: 0;
		transform: translateX(-100%);
		transition: transform .2s cubic-bezier(.22,.61,.36,1);
	}

	body.sidebar-open .sidebar {
		transform: translateX(0);
	}

	.sidebar-drawer {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, .35);
		backdrop-filter: blur(1px);
		opacity: 0;
		pointer-events: none;
		transition: opacity .2s ease;
	}

	body.sidebar-open .sidebar-drawer {
		opacity: 1;
		pointer-events: auto;
	}
}

.hidden {
	display: none !important;
}

.k {
	color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
	*:not(.sidebar):not(.content):not(.sidebar-drawer) {
		transition: none !important;
		animation: none !important;
	}
}

body.sidebar-collapsed .app {
	grid-template-columns: 1fr;
}

.sidebar {
	transition: transform .22s ease;
}

@media (min-width: 1025px) {
	.app {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: fixed;
		left: 0;
		top: 0;
		width: var(--sidebar-w);
		height: 100dvh;
		transform: translateX(0);
	}

	.content {
		margin-left: var(--sidebar-w);
		transition: margin-left .22s cubic-bezier(.22,.61,.36,1);
	}

	body.sidebar-collapsed .sidebar {
		transform: translateX(-100%);
	}

	body.sidebar-collapsed .content {
		margin-left: 0;
	}
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.nomove {
	pointer-events: none;
}

br {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
}

hr {
	border-color: var(--border);
	opacity: .6;
	margin: 10px 0 16px;
}

::-webkit-scrollbar {
	display: none;
}

.main {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow), 0 1rem 2rem rgba(0, 0, 0, .12), 0 .25rem .5rem rgba(0, 0, 0, .06);
}

.main-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--border);
	background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 92%, var(--brand) 8%), var(--surface));
	border-top-left-radius: var(--radius);
	border-top-right-radius: var(--radius);
	min-width: 0;
	max-width: 100%;
}

.main-title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	font-weight: 800;
	letter-spacing: .2px;
	word-wrap: break-word;
}

.notice {
	background: color-mix(in oklab, var(--surface-2) 86%, var(--brand) 14%);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px;
	color: var(--text);
	box-shadow: var(--shadow);
	font-size: 13px;
	line-height: 1.5;
	margin-top: 15px;
}

















/* Формы */
.ui-input {
	width: 100%;
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
	outline: none;
	padding: 12px 14px;
	transition: border-color .15s ease, background .2s ease, box-shadow .2s ease;
	height: var(--field-h);
	min-width: 0;
}

.ui-input::placeholder {
	color: var(--text-soft);
}

.ui-input:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 22%, transparent);
	position: relative;
	z-index: 1;
}

.ui-controls-row {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 12px;
}

.ui-segment {
	flex: 1 1 auto;
	min-width: 420px;
	display: flex;
	align-items: stretch;
}

.ui-segment .ui-input:first-child {
	border-radius: 12px 0 0 12px;
}

.ui-segment .ui-input:last-child {
	border-radius: 0 12px 12px 0;
}

.ui-segment .ui-check--segment{
	height:var(--field-h);
	padding:0 14px;
	border-radius:0;
	background:var(--surface-2);
	border:1px solid var(--border);
	box-shadow:none;
	transform:none;
	font-size:13px;
	font-weight:700;
	letter-spacing:.2px;
}

.ui-segment .ui-check--segment:first-child{
	border-radius:12px 0 0 12px;
}

.ui-segment .ui-check--segment:last-child{
	border-radius:0 12px 12px 0;
}

.ui-segment .ui-check--segment:hover{
	background:var(--surface-2);
	border-color:var(--border);
	box-shadow:none;
	transform:none;
}

.ui-segment .ui-check--segment span{
	white-space:nowrap;
}

.ui-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 90%, #fff), var(--brand));
	color: #fff;
	border: 0;
	padding: 0 18px;
	border-radius: 12px;
	font-weight: 700;
	letter-spacing: .2px;
	cursor: pointer;
	transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
	min-width: 140px;
	box-shadow: 0 12px 26px color-mix(in oklab, var(--brand) 22%, transparent);
	height: 50px;
}

.ui-btn:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.ui-btn:active {
	transform: translateY(0);
}

.ui-btn-ghost {
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
	box-shadow: none;
}

.ui-input {
	height: var(--field-h);
	line-height: normal;
	padding: 12px 14px;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: none;
}

@supports (-webkit-touch-callout: none) {
	select.ui-input {
		height: calc(var(--field-h) - 2px);
	}
}

@media (max-width:680px) {
	.ui-controls-row {
		flex-direction: column;
		align-items: stretch;
	}

	.ui-segment {
		flex-direction: column;
		gap: 10px;
		min-width: 0;
	}

	.ui-segment .ui-input {
		border-radius: 12px !important;
		border-left: 1px solid var(--border) !important;
	}

	.ui-segment .ui-input:not(:first-child) {
		border-left: 1px solid var(--border) !important;
	}

	.ui-segment .ui-input:first-child,
	.ui-segment .ui-input:last-child {
		border-radius: 12px;
		border-left: 1px solid var(--border);
	}

	.ui-controls-row {
		flex-direction: column;
		align-items: stretch;
	}

	.ui-actions-stretch .ui-btn {
		width: 100%;
		height: 46px;
	}
}

.ui-segment .ui-input {
	border-radius: 0;
}

.ui-segment .ui-input:first-child {
	border-radius: 12px 0 0 12px;
}

.ui-segment .ui-input:last-child  {
	border-radius: 0 12px 12px 0;
}

.ui-segment .ui-input:only-child {
	border-radius: 12px;
}

.ui-check {
	display:inline-flex;
	align-items:center;
	gap:8px;
	padding:8px 10px;
	border:1px solid var(--border);
	border-radius:12px;
	background:var(--surface);
	color:var(--text);
	font-size:13px;
	font-weight:700;
	letter-spacing:.2px;
	cursor:pointer;
	user-select:none;
	transition:transform .08s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ui-check:hover {
	transform:translateY(-1px);
	background:color-mix(in oklab, var(--surface) 85%, var(--brand) 15%);
	border-color:color-mix(in oklab, var(--border) 60%, var(--brand) 40%);
}

.ui-check-input {
	width:18px;
	height:18px;
	margin:0;
	accent-color:var(--brand);
}

.ui-check:has(.ui-check-input:disabled) {
	opacity:.7;
	cursor:not-allowed;
	transform:none;
}

.ui-btn--building {
	background: linear-gradient(
		180deg,
		color-mix(in oklab, var(--warn) 92%, #fff 8%),
		var(--warn)
	);
	box-shadow: 0 12px 26px color-mix(in oklab, var(--warn) 24%, transparent);
	cursor: wait;
	position: relative;
	padding-right: 34px;
}

.ui-btn--building:hover {
	transform: translateY(0);
	filter: brightness(1.02);
}

.ui-btn--building::after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 999px;
	border: 2px solid color-mix(in oklab, #ffffff 55%, transparent);
	border-top-color: #ffffff;
	animation: ui-btn-spinner .6s linear infinite;
	box-sizing: border-box;
	position: absolute;
	right: 14px;
	margin-left: 0;
}

a.ui-btn{
	text-decoration:none;
}

a.ui-btn:hover,
a.ui-btn:focus,
a.ui-btn:active,
a.ui-btn:visited{
	text-decoration:none;
}

@keyframes ui-btn-spinner {
	to { transform: rotate(360deg); }
}

.ui-btn:disabled {
	opacity: .9;
	pointer-events: none;
}

.ui-input--invalid {
	border-color: var(--err) !important;
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--err) 22%, transparent) !important;
}

.ui-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	vertical-align: middle;
}

.ui-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.ui-switch-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background: color-mix(in oklab, var(--border) 60%, transparent);
	border: 1px solid var(--border);
	border-radius: 999px;
	transition: 0.15s;
}

.ui-switch-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	top: 2px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	box-shadow: var(--shadow);
	transition: 0.15s;
}

.ui-switch input:checked + .ui-switch-slider {
	background: color-mix(in oklab, var(--brand) 55%, transparent);
	border-color: color-mix(in oklab, var(--brand) 55%, var(--border));
}

.ui-switch input:checked + .ui-switch-slider:before {
	transform: translateX(20px);
}

.ui-switch input:disabled + .ui-switch-slider {
	opacity: 0.6;
	cursor: not-allowed;
}

.ui-details{
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	background: var(--surface-2);
	overflow: hidden;
	margin: 12px 0;
}

.ui-details-summary{
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	cursor: pointer;
	user-select: none;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--text);
	background: color-mix(in oklab, var(--surface-2) 90%, var(--brand) 10%);
	border-bottom: 1px solid transparent;
}

.ui-details-summary::-webkit-details-marker{
	display: none;
}

.ui-details[open] .ui-details-summary{
	border-bottom-color: var(--border);
	background: color-mix(in oklab, var(--surface-2) 86%, var(--brand) 14%);
}

.ui-details-body{
	padding: 12px;
}

.ui-form-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	align-items: end;
}

.ui-field{
	min-width: 0;
}

.ui-label{
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--muted);
	margin-bottom: 6px;
}

.ui-textarea{
	height: auto;
	min-height: 140px;
	line-height: 1.5;
	resize: vertical;
	padding-top: 12px;
	padding-bottom: 12px;
	border-radius: 12px;
}

@media (max-width: 680px){
	.ui-textarea{
		min-height: 170px;
	}
}







/* Таблицы с результатами */
.ui-table-wrap {
	border-bottom-left-radius: var(--radius);
	border-bottom-right-radius: var(--radius);
	background: var(--surface-2);
	overflow: auto;
}

.ui-table {
	width: 100%;
	border-spacing: 0;
	min-width: 720px;
}

.ui-table thead th {
	position: sticky;
	top: 0;
	background: color-mix(in oklab, var(--surface) 92%, var(--brand) 8%);
	color: var(--text);
	text-align: left;
	font-weight: 700;
	font-size: 13px;
	border-bottom: 1px solid var(--border);
	padding: 10px 12px;
	max-width: 250px;
}

.ui-table tbody td {
	border-top: 1px solid var(--border);
	padding: 10px 12px;
	vertical-align: top;
	max-width: 250px;
}

.ui-table-hover tbody tr:hover td {
	background: color-mix(in oklab, var(--surface-2) 88%, var(--brand) 12%);
}

.ui-table td {
	background: transparent;
	padding: 0;
	border: 0;
	color: var(--text);
	font-size: 13px;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ui-mobile-card {
	border: 1px solid var(--border) !important;
	overflow: hidden;
	background: var(--surface-2);
	box-shadow: var(--shadow);
	border-radius: var(--radius);
}

.ui-mobile-head {
	background: color-mix(in oklab, var(--surface) 92%, var(--brand) 8%);
	color: var(--text);
	padding: 8px 12px;
	text-align: center;
	font-weight: 700;
}

.ui-mobile-row {
	border-top: 1px solid var(--border);
	padding: 10px 12px;
}

.ui-mobile-label {
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 4px;
}

.ui-mobile-value {
	word-break: break-word;
	font-size: .92rem;
}










/* Результат выполнения формы */

.result {
	margin-top: 15px
}

.result h2 {
	margin: 1rem 0 .4rem;
	font-size: 1rem;
	color: var(--text-soft);
	font-weight: 800;
}

.result code {
	display: block;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: .6rem;
	padding: .85rem 1rem .75rem;
	white-space: pre-wrap;
	word-break: break-word;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: .92rem;
	color: var(--text);
	user-select: all;
}

.result h2 a.btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	border-radius: 12px;
	padding: .45rem .7rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	border: 0;
}

.result h2 a.btn-success {
	background: var(--ok)
}

.result h2 a.btn-danger {
	background: var(--err)
}

.result h2 a.btn:hover {
	filter: brightness(1.05)
}






/* Инсталляторы */
.installers-col-4 {
	grid-column: span 4;
}

.installers-card {
	padding: 10px 10px 12px;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 14px;
	display: grid;
	margin-top: 10px;
}

.installers-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 4px;
}

.installers-card-title {
	font-size: 13px;
	font-weight: 700;
}

.installers-toggle-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: var(--muted);
	cursor: pointer;
	white-space: nowrap;
}

.installers-toggle-all input {
	margin: 0;
}

.installers-list {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 10px;
	padding: 10px;
}

.installers-col {
	padding: 0;
	gap: 6px;
	overflow-y: auto;
	display: grid;
}

.installers-item {
	grid-template-columns: 20px 1fr;
	border-radius: var(--radius-xs);
	padding: 7px 9px;
	cursor: pointer;
	display: grid;
	gap: 10px;
	align-items: center;
	border: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text);
	text-decoration: none;
	transition: transform .12s ease, background .2s ease, border-color .2s ease;
	min-width: 0;
	max-width: 100%;
}

.installers-item:hover {
	background: color-mix(in oklab, var(--surface-2) 88%, var(--brand) 12%);
	border-color: color-mix(in oklab, var(--border) 60%, var(--brand) 40%);
}

.installers-item-body {
	min-width: 0;
}

.installers-item-name {
	font-size: 13px;
	color: var(--text);
	word-break: break-word;
}

.installer-checkbox {
	margin: 0;
}

@media (max-width: 900px) {
	.installers-col-4 {
		grid-column: span 12;
	}
	.installers-list {
		max-height: none;
	}
}

.installers-settings {
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	background: var(--surface-2);
	overflow: hidden;
	margin: 10px 0 12px;
}

.installers-settings-summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	cursor: pointer;
	user-select: none;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--text);
	background: color-mix(in oklab, var(--surface-2) 90%, var(--brand) 10%);
	border-bottom: 1px solid transparent;
}

.installers-settings-summary::-webkit-details-marker {
	display: none;
}

.installers-settings[open] .installers-settings-summary {
	border-bottom-color: var(--border);
	background: color-mix(in oklab, var(--surface-2) 86%, var(--brand) 14%);
}

.installers-settings-body {
	padding: 12px;
}

.installers-settings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.installers-field {
	min-width: 0;
}

.installers-label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--muted);
	margin-bottom: 6px;
}

.installers-field-inline {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.installers-subfield {
	min-width: 0;
}

.installers-custom-wrap {
	margin-top: 8px;
	display: none;
}

.installers-item:has(.installer-checkbox:checked) .installers-custom-wrap {
	display: block;
}

.installers-custom-name {
	height: 42px;
	padding: 10px 12px;
	border-radius: 12px;
	font-size: 12px;
	background: var(--surface);
}

.installers-custom-name:disabled {
	opacity: .75;
	cursor: not-allowed;
}

@media (max-width:900px) {
	.installers-settings-grid {
		grid-template-columns: 1fr;
	}

	.installers-field-inline {
		grid-template-columns: 1fr;
	}
}