﻿.ns12lr-switcher-form {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ns12lr-switcher-form label {
	font-weight: 600;
}

.ns12lr-switcher-form select,
.ns12lr-switcher-form button {
	min-height: 36px;
}

.ns12lr-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
}

.ns12lr-badge-success {
	background: #d1fae5;
	color: #065f46;
}

.ns12lr-badge-warning {
	background: #fef3c7;
	color: #92400e;
}

.ns12lr-badge-error {
	background: #fee2e2;
	color: #991b1b;
}

.ns12lr-badge-neutral,
.ns12lr-badge-info {
	background: #e5e7eb;
	color: #374151;
}

.ns12lr-front-debug {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	width: min(360px, calc(100vw - 32px));
	border: 1px solid rgba(15, 23, 42, 0.14);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
	color: #111827;
	backdrop-filter: blur(10px);
}

.ns12lr-front-debug[open] {
	padding: 0;
}

.ns12lr-front-debug summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	cursor: pointer;
	list-style: none;
}

.ns12lr-front-debug summary::-webkit-details-marker {
	display: none;
}

.ns12lr-front-debug-header {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.ns12lr-front-debug-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ns12lr-front-debug-summary {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ns12lr-front-debug-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #4b5563;
	white-space: nowrap;
}

.ns12lr-front-debug-toggle-icon {
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.18s ease;
}

.ns12lr-front-debug[open] .ns12lr-front-debug-toggle-icon {
	transform: rotate(225deg) translateY(-1px);
}

.ns12lr-front-debug:not([open]) {
	width: min(300px, calc(100vw - 32px));
}

.ns12lr-front-debug-body {
	padding: 0 14px 14px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ns12lr-front-debug-copy {
	margin: 12px 0;
	font-size: 13px;
	line-height: 1.45;
}

.ns12lr-front-debug-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ns12lr-front-debug-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-top: 1px solid rgba(15, 23, 42, 0.06);
	font-size: 13px;
}

.ns12lr-front-debug-list li:first-child {
	border-top: 0;
}

.ns12lr-front-debug-list strong {
	font-weight: 600;
}

.ns12lr-front-debug-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ns12lr-front-debug-links a {
	color: #0f62fe;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.ns12lr-front-debug-links a:hover,
.ns12lr-front-debug-links a:focus {
	text-decoration: underline;
}

.ns12lr-front-debug-warning {
	border-color: rgba(217, 119, 6, 0.34);
}

.ns12lr-front-debug-ok {
	border-color: rgba(15, 118, 110, 0.26);
}

@media (max-width: 782px) {
	.ns12lr-front-debug {
		right: 10px;
		left: 10px;
		bottom: 10px;
		width: auto;
	}

	.ns12lr-front-debug summary,
	.ns12lr-front-debug-list li {
		flex-direction: column;
		align-items: flex-start;
	}

	.ns12lr-front-debug-toggle {
		align-self: flex-start;
	}
}

