/**
 * Abannet Engineering Tools — Winbox / RouterOS UI · v6.52.0
 */

/* ─── Section Shell ─── */
.eng-tools-section {
	background: var(--gradient-dark);
	position: relative;
	overflow: hidden;
	max-width: 100%;
	--eng-glyph-select-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Crect x='12' y='4' width='8' height='14' rx='4' fill='rgba(15,23,42,0.55)' stroke='rgba(148,163,184,0.42)' stroke-width='0.8'/%3E%3Cline x1='13.5' y1='9' x2='18.5' y2='9' stroke='rgba(34,211,238,0.55)' stroke-width='0.75' stroke-linecap='round'/%3E%3Cpath d='M14 11.5L15.5 14.5L17 11.5' fill='%2322d3ee'/%3E%3C/svg%3E");
	--eng-glyph-select-winbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Crect x='12' y='4' width='8' height='14' rx='4' fill='%23eef1f4' stroke='%23b0bcc8' stroke-width='0.8'/%3E%3Cline x1='13.5' y1='9' x2='18.5' y2='9' stroke='%2394a7b8' stroke-width='0.75' stroke-linecap='round'/%3E%3Cpath d='M14 11.5L15.5 14.5L17 11.5' fill='%233d6988'/%3E%3C/svg%3E");
	--eng-glyph-select-winbox-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Crect x='12' y='4' width='8' height='14' rx='4' fill='%23e4ebf1' stroke='%2393a8b5' stroke-width='0.85'/%3E%3Cline x1='13.5' y1='9' x2='18.5' y2='9' stroke='%237891a3' stroke-width='0.8' stroke-linecap='round'/%3E%3Cpath d='M14 11.5L15.5 14.5L17 11.5' fill='%232a5570'/%3E%3C/svg%3E");
}

.eng-tools-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 10%, transparent 70%);
	pointer-events: none;
}

.eng-tools-header {
	position: relative;
}

.eng-tools-header .section-badge {
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ─── Compact Network Hero + Shell (v6.51.0) ─── */
body.abannet-network-tools-page.abannet-inner-page #main-content.site-main {
	padding-top: calc(var(--header-height, 72px) + 24px) !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
	background: #ffffff;
}

body.abannet-network-tools-page .abannet-engineering-center,
body.abannet-network-tools-page .eng-tools-section--page.eng-tools-section--compact,
body.abannet-network-tools-page #engineering-tools.eng-tools-section {
	margin-top: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 12px !important;
	background: #ffffff;
}

body.abannet-network-tools-page .eng-tools-section.section {
	padding-top: 0 !important;
	padding-bottom: 12px !important;
}

body.abannet-network-tools-page .eng-tools-section--winbox {
	background: #ffffff;
}

body.abannet-network-tools-page .eng-tools-section--winbox::before {
	display: none;
}

/* Unified quantum head — hero + tabs seamless (no gray divider) */
.eng-shell__head {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 42%, #f8fafc 100%);
	border-bottom: none;
}

.eng-quantum-layer {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.eng-q-hex {
	position: absolute;
	inset: -20% -10%;
	opacity: 0.45;
	background-image:
		linear-gradient(30deg, rgba(6, 182, 212, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(6, 182, 212, 0.06) 87.5%, rgba(6, 182, 212, 0.06)),
		linear-gradient(150deg, rgba(6, 182, 212, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(6, 182, 212, 0.06) 87.5%, rgba(6, 182, 212, 0.06)),
		linear-gradient(30deg, rgba(16, 185, 129, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(16, 185, 129, 0.04) 87.5%, rgba(16, 185, 129, 0.04)),
		linear-gradient(150deg, rgba(16, 185, 129, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(16, 185, 129, 0.04) 87.5%, rgba(16, 185, 129, 0.04));
	background-size: 28px 48px;
	background-position: 0 0, 0 0, 14px 24px, 14px 24px;
	animation: eng-q-grid-drift 18s linear infinite;
}

@keyframes eng-q-grid-drift {
	to { background-position: 28px 48px, 28px 48px, 42px 72px, 42px 72px; }
}

.eng-q-orbit {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(6, 182, 212, 0.18);
	box-shadow: 0 0 24px rgba(6, 182, 212, 0.08);
}

.eng-q-orbit--a {
	width: 180px;
	height: 180px;
	top: -60px;
	left: -40px;
	animation: eng-q-spin 22s linear infinite;
}

.eng-q-orbit--b {
	width: 120px;
	height: 120px;
	bottom: -30px;
	right: 8%;
	border-color: rgba(16, 185, 129, 0.2);
	animation: eng-q-spin 16s linear infinite reverse;
}

@keyframes eng-q-spin {
	to { transform: rotate(360deg); }
}

.eng-q-pulse {
	position: absolute;
	top: 50%;
	right: 12%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #06b6d4;
	box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
	animation: eng-q-pulse 2.4s ease-out infinite;
}

@keyframes eng-q-pulse {
	0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.55); opacity: 1; }
	70% { box-shadow: 0 0 0 14px rgba(6, 182, 212, 0); opacity: 0.4; }
	100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); opacity: 1; }
}

.eng-shell__head .eng-hero {
	background: transparent;
	padding-bottom: 4px;
	position: relative;
	z-index: 1;
}

.eng-shell__head .eng-tools-tabs {
	position: relative;
	z-index: 1;
}

.eng-shell__head .eng-hero::before {
	background:
		radial-gradient(circle at 8% 60%, rgba(6, 182, 212, 0.08), transparent 42%),
		radial-gradient(circle at 92% 30%, rgba(16, 185, 129, 0.07), transparent 38%);
}

.eng-shell__head .eng-hero__kicker {
	color: #0e7490;
	text-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.eng-hero__facts {
	position: relative;
	z-index: 1;
	margin-top: 6px;
	max-width: 100%;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.eng-facts-track {
	display: flex;
	gap: 10px;
	width: max-content;
	animation: eng-facts-scroll 32s linear infinite;
}

.eng-facts-track:hover {
	animation-play-state: paused;
}

@keyframes eng-facts-scroll {
	to { transform: translateX(-50%); }
}

.eng-fact-chip {
	flex-shrink: 0;
	padding: 2px 8px;
	font-size: 0.5625rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f766e;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(6, 182, 212, 0.22);
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 0 8px rgba(6, 182, 212, 0.08);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eng-fact-chip:hover {
	border-color: rgba(16, 185, 129, 0.45);
	box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.eng-tab-tier {
	display: block;
	margin-top: 2px;
	font-size: 0.5rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	letter-spacing: 0.08em;
	line-height: 1;
	opacity: 0.72;
}

.eng-tab-tier--free {
	color: #059669;
}

.eng-tab-tier--paid {
	color: #7c3aed;
}

.eng-tab--paid:hover .eng-tab-tier--paid,
.eng-tab--paid.is-active .eng-tab-tier--paid {
	opacity: 1;
	text-shadow: 0 0 8px rgba(124, 58, 237, 0.35);
}

.eng-tools-tabs--flush {
	margin-bottom: 0 !important;
}

.link-wb__map .leaflet-control-attribution,
.link-wb__map-wrap .leaflet-control-attribution {
	display: none !important;
}

.link-wb__map-credit {
	margin: 0 0 12px;
	padding: 0 4px;
	font-size: 0.5625rem;
	color: #94a3b8;
	text-align: left;
	opacity: 0.85;
}

/* ─── PRO access chip + modal (v6.44.0) ─── */
.eng-access-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-inline-start: auto;
}

.eng-hero__meta {
	width: 100%;
}

.eng-access-chip__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px 3px 8px;
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #5b21b6;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(124, 58, 237, 0.28);
	border-radius: 999px;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.eng-access-chip__btn:hover {
	border-color: rgba(124, 58, 237, 0.45);
	box-shadow: 0 0 14px rgba(124, 58, 237, 0.15);
	transform: translateY(-1px);
}

.eng-access-chip__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #7c3aed;
	box-shadow: 0 0 8px rgba(124, 58, 237, 0.55);
}

.eng-access-chip--active .eng-access-chip__btn {
	color: #047857;
	border-color: rgba(16, 185, 129, 0.35);
}

.eng-access-chip--active .eng-access-chip__badge {
	color: #059669;
	background: rgba(16, 185, 129, 0.12);
}

.eng-access-chip--expired .eng-access-chip__btn {
	color: #b45309;
	border-color: rgba(245, 158, 11, 0.35);
}

.eng-access-chip__email {
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eng-access-chip__badge {
	padding: 1px 5px;
	font-size: 0.5rem;
	font-weight: 800;
	color: #7c3aed;
	background: rgba(124, 58, 237, 0.1);
	border-radius: 4px;
}

.eng-access-chip__logout {
	padding: 2px 6px;
	font-size: 0.5625rem;
	font-weight: 600;
	color: #64748b;
	background: transparent;
	border: none;
	cursor: pointer;
}

.eng-access-chip__logout:hover {
	color: #0f172a;
}

.eng-access-chip__trial {
	font-size: 0.5625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0e7490;
}

.eng-access-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding:
		calc(var(--header-height, 72px) + 10px)
		max(12px, env(safe-area-inset-right))
		max(12px, env(safe-area-inset-bottom))
		max(12px, env(safe-area-inset-left));
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.eng-access-modal[hidden] {
	display: none !important;
}

body.eng-access-modal-open {
	overflow: hidden;
}

.eng-access-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(4px);
}

.eng-access-modal__panel {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	width: min(92vw, 272px);
	margin: auto;
	padding: 12px 12px 10px;
	background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
	border: 1px solid rgba(6, 182, 212, 0.22);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.eng-access-modal__close {
	position: absolute;
	top: 6px;
	left: 8px;
	width: 24px;
	height: 24px;
	font-size: 1.1rem;
	line-height: 1;
	color: #64748b;
	background: transparent;
	border: none;
	cursor: pointer;
}

.eng-access-modal__title {
	margin: 0 0 4px;
	padding-inline-start: 22px;
	font-size: 0.8125rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.35;
}

.eng-access-modal__lead {
	margin: 0 0 8px;
	font-size: 0.625rem;
	line-height: 1.5;
	color: #64748b;
}

.eng-access-modal__msg {
	margin: 0 0 8px;
	padding: 6px 8px;
	font-size: 0.625rem;
	line-height: 1.4;
	border-radius: 7px;
}

.eng-access-modal__msg.is-error {
	color: #b91c1c;
	background: rgba(254, 226, 226, 0.85);
	border: 1px solid rgba(248, 113, 113, 0.35);
}

.eng-access-modal__msg.is-success {
	color: #047857;
	background: rgba(209, 250, 229, 0.85);
	border: 1px solid rgba(52, 211, 153, 0.35);
}

.eng-access-form__label {
	display: block;
	margin-bottom: 3px;
	font-size: 0.625rem;
	font-weight: 600;
	color: #475569;
}

.eng-access-form__input {
	display: block;
	width: 100%;
	margin-bottom: 8px;
	padding: 7px 9px;
	font-size: 0.75rem;
	color: #0f172a;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 7px;
}

.eng-access-form__input:focus {
	outline: none;
	border-color: rgba(6, 182, 212, 0.55);
	box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}

.eng-access-form__input--otp {
	letter-spacing: 0.25em;
	text-align: center;
	font-family: 'JetBrains Mono', Consolas, monospace;
}

.eng-access-form__submit {
	width: 100%;
	padding: 8px 12px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, #06b6d4, #10b981);
	border: none;
	border-radius: 7px;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.eng-access-form__submit:hover:not(:disabled) {
	transform: translateY(-1px);
}

.eng-access-form__submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

/* PRO login slide-verify (compact) */
.eng-access-modal .slide-verify--access {
	position: relative;
	margin: 6px 0 8px;
}

.eng-access-modal .slide-verify--access .slide-verify__track {
	position: relative;
	height: 32px;
	border-radius: 999px;
	background: rgba(241, 245, 249, 0.95);
	border: 1px solid rgba(148, 163, 184, 0.35);
	overflow: hidden;
	user-select: none;
	touch-action: none;
	direction: ltr;
}

.eng-access-modal .slide-verify--access .slide-verify__hint {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 44px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}

.eng-access-modal .slide-verify--access .slide-verify__fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(0, 229, 255, 0.12), rgba(0, 229, 255, 0.22));
}

.eng-access-modal .slide-verify--access .slide-verify__handle {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 50%;
	cursor: grab;
	background: linear-gradient(145deg, #0e7490, #00b4d8);
	color: #fff;
	box-shadow: 0 2px 10px rgba(14, 116, 144, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	will-change: transform;
}

.eng-access-modal .slide-verify--access .slide-verify__handle:active {
	cursor: grabbing;
}

.eng-access-modal .slide-verify--access .slide-verify__handle-glow {
	display: none;
}

.eng-access-modal .slide-verify--access.is-verified .slide-verify__track {
	border-color: rgba(16, 185, 129, 0.45);
}

.eng-access-modal .slide-verify--access.is-verified .slide-verify__hint {
	color: #047857;
}

.eng-access-modal .slide-verify--access .slide-verify__particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: visible;
}

.eng-panel--locked {
	position: relative;
}

.eng-panel-lock {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(72px, 12vh, 120px) 20px 20px;
	background: rgba(248, 250, 252, 0.72);
	backdrop-filter: blur(3px);
	border-radius: inherit;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.eng-panel.is-active.eng-panel--locked .eng-panel-lock {
	position: fixed;
	inset: 0;
	z-index: 100000;
	align-items: center;
	padding:
		calc(var(--header-height, 72px) + 10px)
		16px
		max(16px, env(safe-area-inset-bottom));
	border-radius: 0;
}

.eng-panel-lock__box {
	max-width: min(92vw, 240px);
	padding: 12px;
	text-align: center;
	background: #fff;
	border: 1px solid rgba(124, 58, 237, 0.2);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.eng-panel-lock__title {
	margin: 0 0 8px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #334155;
	line-height: 1.45;
}

.eng-panel-lock__btn {
	padding: 7px 12px;
	font-size: 0.6875rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, #7c3aed, #06b6d4);
	border: none;
	border-radius: 7px;
	cursor: pointer;
}

@media (max-width: 480px) {
	.eng-access-modal__panel {
		width: min(94vw, 260px);
		padding: 10px 10px 9px;
	}

	.eng-access-modal__title {
		font-size: 0.75rem;
	}

	.eng-access-modal__lead {
		font-size: 0.6rem;
	}
}

@media (max-width: 640px) {
	.eng-access-chip {
		margin-inline-start: 0;
		width: 100%;
		justify-content: flex-start;
	}

	.eng-hero__meta {
		gap: 6px 8px;
	}
}

body.abannet-network-tools-page .eng-tools-container {
	padding-top: 0;
	padding-bottom: 0;
	max-width: min(var(--container-max, 1200px), calc(100% - 24px));
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
}

body.abannet-network-tools-page .eng-shell {
	margin-top: 0;
	border-radius: 0 0 14px 14px;
	border-top: none;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

@media (max-width: 768px) {
	body.abannet-network-tools-page .eng-tools-container {
		padding-left: 8px;
		padding-right: 8px;
	}

	body.abannet-network-tools-page .eng-shell {
		border-radius: 0 0 10px 10px;
	}
}

.eng-shell {
	max-width: 1100px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 14px;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

.eng-hero {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 12px 16px;
	margin: 0;
	padding: 10px 14px 8px;
	border: none;
	border-radius: 0;
	background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.95) 100%);
	box-shadow: none;
	overflow: hidden;
	isolation: isolate;
}

.eng-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 12% 50%, rgba(16, 185, 129, 0.07), transparent 40%),
		radial-gradient(circle at 88% 40%, rgba(59, 130, 246, 0.06), transparent 36%);
	pointer-events: none;
	z-index: 0;
}

.eng-hero::after {
	content: '';
	position: absolute;
	inset: -40% -20%;
	background: linear-gradient(105deg, transparent 42%, rgba(16, 185, 129, 0.07) 50%, transparent 58%);
	animation: eng-hero-scan 5.5s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}

@keyframes eng-hero-scan {
	0%, 100% { transform: translateX(-30%); opacity: 0; }
	15% { opacity: 1; }
	50% { transform: translateX(30%); opacity: 1; }
	85% { opacity: 0; }
}

.eng-hero__viz,
.eng-hero__body {
	position: relative;
	z-index: 1;
}

.eng-hero__viz {
	flex-shrink: 0;
	width: 92px;
	height: 60px;
	padding: 5px;
	border-radius: 10px;
	background: #f1f5f9;
	border: 1px solid rgba(15, 23, 42, 0.08);
}

.eng-hero__mesh {
	display: block;
	width: 100%;
	height: 100%;
}

.eng-hero__link {
	stroke: #94a3b8;
	stroke-width: 1.3;
	stroke-dasharray: 3 7;
	animation: eng-hero-link-flow 2.4s linear infinite;
}

.eng-hero__link--b { animation-delay: -0.6s; }
.eng-hero__link--c { animation-delay: -1.2s; stroke-opacity: 0.65; }
.eng-hero__link--d { animation-delay: -1.8s; }

@keyframes eng-hero-link-flow {
	to { stroke-dashoffset: -20; }
}

.eng-hero__node {
	fill: #cbd5e1;
	stroke: #64748b;
	stroke-width: 1;
}

.eng-hero__node--b {
	fill: #10b981;
	stroke: #059669;
	animation: eng-hero-node-pulse 2.2s ease-in-out infinite;
}

.eng-hero__ripple {
	pointer-events: none;
}

.eng-hero__node--a { animation: eng-hero-node-pulse 2.2s ease-in-out infinite 0.4s; }
.eng-hero__node--c { animation: eng-hero-node-pulse 2.2s ease-in-out infinite 0.9s; }

@keyframes eng-hero-node-pulse {
	0%, 100% { opacity: 0.65; }
	50% { opacity: 1; }
}

.eng-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 2px;
}

.eng-hero__kicker {
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.eng-hero__status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px 8px;
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #047857;
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.28);
	border-radius: 999px;
}

.eng-hero__status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
	animation: eng-hero-status-pulse 2s ease-out infinite;
}

@keyframes eng-hero-status-pulse {
	0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
	70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
	100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.eng-hero__title {
	margin: 0 0 4px;
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	font-weight: 800;
	line-height: 1.25;
	color: #0f172a;
	letter-spacing: -0.01em;
}

.eng-hero__desc {
	margin: 0;
	max-width: 62ch;
	font-size: 0.6875rem;
	line-height: 1.5;
	color: #64748b;
}

.eng-tools-hub {
	position: relative;
	max-width: none;
	margin: 0;
	width: 100%;
}

.eng-tools-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
	padding: 6px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(12px);
}

.eng-tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 18px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	color: rgba(255, 255, 255, 0.6);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.35s var(--ease-out-expo);
	text-decoration: none;
}

a.eng-tab {
	color: rgba(255, 255, 255, 0.6);
}

a.eng-tab:hover {
	color: rgba(255, 255, 255, 0.9);
}

a.eng-tab:focus-visible {
	outline: 2px solid rgba(16, 185, 129, 0.55);
	outline-offset: 2px;
}

.eng-tab:hover {
	color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.04);
}

.eng-tab.is-active {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
	box-shadow: none;
}

.eng-tab-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 6px;
	transition: background 0.25s ease, color 0.25s ease;
}

.eng-tab.is-active .eng-tab-icon {
	background: var(--gradient-brand);
	color: #fff;
}

.eng-tab-icon svg {
	width: 20px;
	height: 20px;
	display: block;
	transform: translateZ(0);
	backface-visibility: hidden;
	will-change: transform, opacity;
	animation: none;
	opacity: 1;
}

/* v6.52.0 — static icons; single-cycle hover; active ambient pulse */
.eng-tab:not(.is-active)[data-icon-anim="rotate"]:hover .eng-tab-icon svg {
	animation: abannet-hover-rotate 0.48s ease;
}

.eng-tab:not(.is-active)[data-icon-anim="lift"]:hover .eng-tab-icon svg {
	animation: abannet-hover-lift 0.42s ease;
}

.eng-tab:not(.is-active)[data-icon-anim="flash"]:hover .eng-tab-icon svg {
	animation: abannet-hover-flash 0.45s ease;
}

.eng-tab:not(.is-active)[data-icon-anim="shiver"]:hover .eng-tab-icon svg {
	animation: abannet-hover-shiver 0.5s ease;
}

.eng-tab.is-active .eng-tab-icon svg {
	animation: abannet-active-pulse 2.5s ease-in-out infinite;
}

@keyframes abannet-hover-rotate {
	0%, 100% { transform: rotate(0deg) translateZ(0); }
	50% { transform: rotate(5deg) translateZ(0); }
}

@keyframes abannet-hover-lift {
	0%, 100% { transform: translateY(0) translateZ(0); }
	50% { transform: translateY(-2px) translateZ(0); }
}

@keyframes abannet-hover-flash {
	0%, 100% { opacity: 1; }
	35% { opacity: 0.45; }
	70% { opacity: 1; }
}

@keyframes abannet-hover-shiver {
	0%, 100% { transform: translateX(0) translateZ(0); }
	20% { transform: translateX(-2px) translateZ(0); }
	40% { transform: translateX(2px) translateZ(0); }
	60% { transform: translateX(-1px) translateZ(0); }
	80% { transform: translateX(1px) translateZ(0); }
}

@keyframes abannet-active-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

@media (max-width: 640px) {
	.eng-hero {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 8px 12px 6px;
	}

	.eng-hero__viz {
		width: 100%;
		max-width: 100px;
		justify-self: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eng-hero::after,
	.eng-hero__link,
	.eng-hero__node,
	.eng-hero__ripple,
	.eng-hero__status-dot,
	.eng-tab-icon svg,
	.eng-tab.is-active .eng-tab-icon svg {
		animation: none !important;
	}

	.abannet-map-tower__pulse {
		animation: none !important;
	}

	.abannet-map-site-icon svg {
		filter: none;
	}

	.link-wb__map-wrap .abannet-map-marker-tooltip {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
	.eng-q-hex,
	.eng-q-orbit,
	.eng-q-pulse,
	.eng-facts-track {
		animation: none !important;
	}
}

/* ─── Tab Hub ─── */
.eng-panel {
	animation: panel-in 0.45s var(--ease-out-expo);
	will-change: opacity, transform;
	transform: translateZ(0);
	backface-visibility: hidden;
}

.eng-panel[hidden] {
	display: none;
}

@keyframes panel-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ─── Bento Container ─── */
.eng-bento {
	background: rgba(3, 7, 18, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	position: relative;
}

.eng-bento::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
}

.eng-bento-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}

.eng-input-zone {
	padding: 28px 24px;
	border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.eng-output-zone {
	padding: 28px 24px;
	background: rgba(0, 0, 0, 0.2);
	display: grid;
	gap: 14px;
	align-content: start;
}

.eng-tool-title {
	margin-bottom: 28px;
}

.eng-tool-badge {
	display: inline-block;
	padding: 4px 10px;
	background: rgba(34, 211, 238, 0.12);
	border: 1px solid rgba(34, 211, 238, 0.25);
	border-radius: 6px;
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--color-accent);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.eng-tool-title h3 {
	font-size: 1.375rem;
	font-weight: 800;
	color: #fff;
	margin-bottom: 8px;
	letter-spacing: -0.02em;
}

.eng-tool-title p {
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.7;
}

/* ─── Form Fields ─── */
.eng-field {
	margin-bottom: 22px;
}

.eng-field label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.875rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 10px;
}

.eng-cidr-value,
.eng-distance-value {
	color: var(--color-accent);
	font-size: 0.9375rem;
	direction: ltr;
}

.eng-input,
.eng-select {
	width: 100%;
	padding: 14px 16px;
	font-family: inherit;
	font-size: 1rem;
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
	border: 1.5px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-md);
	transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.eng-input--mono {
	font-family: 'Consolas', 'Courier New', monospace;
	letter-spacing: 0.04em;
}

.eng-input:focus,
.eng-select:focus {
	outline: none;
	border-color: var(--color-primary);
	background-color: rgba(59, 130, 246, 0.08);
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.eng-select:focus {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='2.2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 14px 14px;
}

.eng-select {
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: rgba(255, 255, 255, 0.05);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='2.2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 14px 14px;
	padding-right: 30px;
	padding-left: 14px;
}

.eng-select option {
	background: #0f172a;
	color: #fff;
}

.eng-select:disabled,
.eng-tools-section select:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.eng-hint {
	display: block;
	margin-top: 8px;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.4);
}

.eng-error {
	margin-top: 12px;
	padding: 12px 16px;
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.3);
	border-radius: var(--radius-sm);
	color: #fca5a5;
	font-size: 0.875rem;
}

.eng-bento.has-error .eng-input {
	border-color: rgba(239, 68, 68, 0.5);
}

/* ─── Sliders ─── */
.eng-cidr-control {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.eng-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 6px;
	outline: none;
	cursor: pointer;
	direction: ltr;
}

.eng-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	background: var(--gradient-brand);
	border-radius: 50%;
	box-shadow: 0 0 16px rgba(34, 211, 238, 0.5);
	cursor: pointer;
	transition: transform 0.2s var(--ease-spring);
}

.eng-slider::-webkit-slider-thumb:hover {
	transform: scale(1.15);
}

.eng-slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	background: var(--color-primary);
	border: none;
	border-radius: 50%;
	box-shadow: 0 0 16px rgba(34, 211, 238, 0.5);
	cursor: pointer;
}

.eng-slider-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	direction: ltr;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.35);
}

/* ─── Cyber Output Cards ─── */
.cyber-card {
	padding: 18px 20px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-md);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cyber-card:hover {
	border-color: rgba(34, 211, 238, 0.25);
	box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
}

.cyber-card-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 8px;
	letter-spacing: 0.02em;
}

.cyber-card-value {
	display: block;
	font-size: 1.125rem;
	font-weight: 700;
	color: #fff;
	font-family: 'Consolas', 'Courier New', monospace;
	word-break: break-all;
}

.cyber-card--accent {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(34, 211, 238, 0.08));
	border-color: rgba(59, 130, 246, 0.25);
}

.cyber-card--accent .cyber-card-value {
	font-size: 1.75rem;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-family: var(--font-family);
}

.cyber-card--gauge .cyber-card-value--percent {
	font-family: var(--font-family);
	font-size: 1.5rem;
	margin-top: 8px;
}

.cyber-card-note {
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.75;
	margin: 0;
}

/* ─── Stability Gauge ─── */
.stability-gauge {
	height: 8px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	overflow: hidden;
	margin: 10px 0 4px;
}

.stability-gauge-bar {
	height: 100%;
	background: var(--gradient-brand);
	border-radius: 8px;
	transition: width 0.6s var(--ease-out-expo);
	box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

/* ─── Feasibility Banner ─── */
.feasibility-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-radius: var(--radius-md);
	margin-bottom: 6px;
	font-size: 0.9375rem;
	border: 1px solid transparent;
}

.feasibility-banner--high {
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.3);
	color: #6ee7b7;
}

.feasibility-banner--medium {
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(245, 158, 11, 0.3);
	color: #fcd34d;
}

.feasibility-banner--low {
	background: rgba(239, 68, 68, 0.1);
	border-color: rgba(239, 68, 68, 0.3);
	color: #fca5a5;
}

.feasibility-pulse {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
	animation: feas-pulse 2s ease infinite;
}

.feasibility-banner--high .feasibility-pulse { background: #10b981; box-shadow: 0 0 12px #10b981; }
.feasibility-banner--medium .feasibility-pulse { background: #f59e0b; box-shadow: 0 0 12px #f59e0b; }
.feasibility-banner--low .feasibility-pulse { background: #ef4444; box-shadow: 0 0 12px #ef4444; }

@keyframes feas-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.6; transform: scale(1.3); }
}

/* ─── Micro CTA ─── */
.btn-micro-cta {
	width: 100%;
	margin-top: 8px;
	justify-content: center;
	font-size: 0.9375rem;
}

.eng-output-zone--wireless {
	gap: 12px;
}

/* ─── 5.8 GHz Site Survey ─── */
.eng-spectrum-note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	padding: 12px 14px;
	background: rgba(34, 211, 238, 0.06);
	border: 1px solid rgba(34, 211, 238, 0.15);
	border-radius: var(--radius-sm);
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.65);
}

.eng-spectrum-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-accent);
	box-shadow: 0 0 10px var(--color-accent);
	animation: feas-pulse 2s ease infinite;
	flex-shrink: 0;
}

.cyber-card--spectrum {
	border-color: rgba(34, 211, 238, 0.2);
	background: rgba(34, 211, 238, 0.05);
}

.cyber-card--spectrum .cyber-card-value {
	font-family: var(--font-family);
	font-size: 1.0625rem;
}

.cyber-card--hardware {
	border-color: rgba(59, 130, 246, 0.2);
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(15, 23, 42, 0.4));
}

.hardware-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.hardware-brand {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hardware-brand--mikrotik {
	background: rgba(59, 130, 246, 0.2);
	color: #93c5fd;
	border: 1px solid rgba(59, 130, 246, 0.35);
}

.hardware-brand--mimosa {
	background: rgba(168, 85, 247, 0.15);
	color: #d8b4fe;
	border: 1px solid rgba(168, 85, 247, 0.35);
}

.hardware-tier {
	font-size: 0.6875rem;
	color: rgba(255, 255, 255, 0.4);
	font-weight: 500;
}

.cyber-card-value--hardware {
	font-size: 1.0625rem;
	line-height: 1.5;
	margin-bottom: 10px;
}

.hardware-desc,
.stability-scenario {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.75;
	margin: 8px 0 0;
}

.btn-survey-cta {
	border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ─── Bandwidth Radio Group ─── */
.eng-bw-value {
	color: var(--color-accent);
	font-size: 0.9375rem;
}

.eng-bw-radio {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.eng-bw-option {
	position: relative;
	cursor: pointer;
}

.eng-bw-option input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.eng-bw-option span {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1.5px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-sm);
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.65);
	transition: all 0.3s var(--ease-out-expo);
}

.eng-bw-option input:focus + span {
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.eng-bw-option input:checked + span {
	background: rgba(59, 130, 246, 0.15);
	border-color: rgba(34, 211, 238, 0.5);
	color: #fff;
	box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.eng-bw-option:hover span {
	border-color: rgba(59, 130, 246, 0.35);
	color: rgba(255, 255, 255, 0.9);
}

/* ─── RF Link Budget (v6.36.0) ─── */
.eng-link-budget {
	margin: 10px 0 14px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
}

.eng-link-budget__title {
	margin: 0 0 8px;
	font-size: 0.6875rem;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.eng-link-budget__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eng-link-budget__label {
	display: block;
	margin-bottom: 3px;
	font-size: 0.5625rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.eng-link-budget__val {
	display: block;
	font-size: 0.8125rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #f8fafc;
	line-height: 1.3;
}

.eng-rssi-health {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 10px;
	font-size: 0.625rem;
	font-weight: 800;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

.eng-rssi-health[hidden] {
	display: none;
}

.eng-rssi-health--excellent {
	color: #065f46;
	background: rgba(16, 185, 129, 0.22);
	border: 1px solid rgba(16, 185, 129, 0.35);
}

.eng-rssi-health--good {
	color: #1e40af;
	background: rgba(59, 130, 246, 0.18);
	border: 1px solid rgba(59, 130, 246, 0.3);
}

.eng-rssi-health--fair {
	color: #92400e;
	background: rgba(251, 191, 36, 0.2);
	border: 1px solid rgba(251, 191, 36, 0.35);
}

.eng-rssi-health--bad {
	color: #991b1b;
	background: rgba(239, 68, 68, 0.18);
	border: 1px solid rgba(239, 68, 68, 0.32);
}

.cyber-card-note--fresnel strong {
	display: block;
	margin-bottom: 6px;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #22d3ee;
}

.eng-tools-section--winbox .eng-link-budget {
	background: rgba(0, 0, 0, 0.22);
	border-color: var(--wb-border-light);
}

.eng-tools-section--winbox .eng-link-budget__title {
	color: var(--wb-green-hover);
}

.eng-tools-section--winbox .eng-link-budget__val {
	color: var(--wb-text);
}

.eng-tools-section--winbox .eng-link-budget__label {
	color: var(--wb-text-muted);
}

@media (max-width: 640px) {
	.eng-link-budget__grid {
		grid-template-columns: 1fr;
	}
}

/* ─── KML Export Block ─── */
.eng-kml-block {
	margin-top: 24px;
	padding: 20px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(34, 211, 238, 0.15);
	border-radius: var(--radius-md);
}

.eng-kml-title {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.875rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
	margin-bottom: 16px;
}

.eng-kml-icon {
	font-size: 1.125rem;
	flex-shrink: 0;
}

.eng-kml-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 16px;
}

.eng-field--inline {
	margin-bottom: 0;
}

.eng-kml-hint {
	margin-top: 10px;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.4);
}

.btn-kml-export {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 20px;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(34, 211, 238, 0.15));
	border: 1px solid rgba(34, 211, 238, 0.4);
	border-radius: var(--radius-md);
	color: var(--color-accent);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.35s var(--ease-out-expo);
}

.btn-kml-export:hover {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(34, 211, 238, 0.25));
	border-color: var(--color-accent);
	color: #fff;
	box-shadow: 0 0 30px rgba(34, 211, 238, 0.25);
	transform: translateY(-2px);
}

.btn-kml-export:focus {
	outline: none;
	box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2), 0 0 30px rgba(34, 211, 238, 0.25);
}

.btn-kml-glow {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
	transform: translateX(-100%);
	animation: kml-shine 3s ease infinite;
	pointer-events: none;
}

@keyframes kml-shine {
	0%, 100% { transform: translateX(-100%); }
	50% { transform: translateX(100%); }
}

/* ─── Tech Params & Fresnel ─── */
.cyber-card--tech {
	border-color: rgba(129, 140, 248, 0.2);
	background: rgba(129, 140, 248, 0.05);
}

.tech-params-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tech-params-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.55);
}

.tech-params-list li:last-child {
	border-bottom: none;
}

.tech-params-list strong {
	color: #fff;
	font-family: 'Consolas', 'Courier New', monospace;
	font-size: 0.9375rem;
}

.cyber-card--warning {
	border-color: rgba(245, 158, 11, 0.25);
	background: rgba(245, 158, 11, 0.06);
}

.cyber-card--warning .cyber-card-label {
	color: #fcd34d;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
	.eng-bento-grid {
		grid-template-columns: 1fr;
	}

	.eng-input-zone {
		border-left: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	}

	.eng-tools-tabs {
		flex-direction: column;
	}

	.eng-tab {
		justify-content: flex-start;
	}
}

/* ─── Tool 3: MikroTik Link Provisioner · v6.94.2 5×2 grid ─── */
.eng-bento--radio-provision {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.eng-tool-title--provision {
	margin: 0;
	padding: 6px 10px;
	direction: rtl;
	text-align: right;
	border: 1px solid #c8cdd3;
	border-radius: 999px;
	background: linear-gradient(180deg, #f4f6f8 0%, #e8ecf0 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 1px 3px rgba(45, 70, 90, 0.08);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eng-tool-title--provision:hover {
	border-color: #7a9cb5;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 2px 8px rgba(61, 105, 136, 0.14);
}

.eng-tool-title--provision__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 6px 8px;
	margin-bottom: 2px;
}

.eng-tool-title--provision h3 {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 800;
	color: #2a3f52;
}

.eng-tool-title--provision p {
	margin: 0;
	font-size: 0.625rem;
	color: #5c6f82;
	line-height: 1.4;
}

.eng-tool-badge--provision {
	display: inline-flex;
	padding: 2px 8px;
	font-size: 0.5625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #3d6988;
	background: rgba(61, 105, 136, 0.1);
	border: 1px solid rgba(61, 105, 136, 0.28);
	border-radius: 999px;
}

.link-wb__provision-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 5px 6px;
	padding: 6px 8px;
	direction: ltr;
	text-align: left;
	background: linear-gradient(165deg, #eef1f4 0%, #e4e9ee 55%, #dfe5eb 100%);
	border: 1px solid #c5ccd4;
	border-radius: 12px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.7),
		0 2px 10px rgba(42, 63, 82, 0.06);
}

.link-wb__field-group {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
}

.link-wb__field-group--topo {
	grid-column: 1 / -1;
	direction: rtl;
	text-align: right;
}

.link-wb__field-group--topo .link-wb__field-label {
	text-align: right;
}

/* Override WinBox eng-input sharp corners inside provision form */
.eng-tools-section--winbox .link-wb__provision-grid .eng-input,
.eng-tools-section--winbox .link-wb__provision-grid .eng-select,
.link-wb__provision-grid .link-wb__provision-input {
	border-radius: 999px !important;
}

.eng-tools-section--winbox .link-wb__provision-grid .eng-input {
	padding: 4px 10px;
	font-size: 0.6875rem;
	color: #1e2f3d;
	background: linear-gradient(180deg, #fafbfc 0%, #f0f3f6 100%);
	border: 1px solid #b8c2cc;
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.06),
		0 1px 0 rgba(255, 255, 255, 0.8);
}

.link-wb__field-label {
	display: block;
	width: 100%;
	margin: 0 0 3px;
	padding: 0;
	font-size: 0.6875rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #243647;
	text-align: left;
	line-height: 1.3;
	letter-spacing: 0.015em;
}

.link-wb__provision-notice {
	display: block;
	margin: 0 0 6px;
	padding: 6px 10px;
	font-size: 0.6875rem;
	font-weight: 700;
	color: #0f2438;
	line-height: 1.55;
	text-align: right;
	direction: rtl;
	background: linear-gradient(135deg, rgba(61, 105, 136, 0.12) 0%, rgba(52, 211, 153, 0.07) 100%);
	border: 1.5px solid rgba(61, 105, 136, 0.32);
	border-radius: 8px;
	box-shadow: 0 1px 6px rgba(61, 105, 136, 0.1);
	cursor: default;
	transition:
		border-color 0.2s ease,
		box-shadow 0.22s ease,
		transform 0.2s ease,
		background 0.2s ease;
}

.link-wb__provision-notice:hover {
	border-color: rgba(6, 182, 212, 0.55);
	background: linear-gradient(135deg, rgba(61, 105, 136, 0.16) 0%, rgba(52, 211, 153, 0.11) 100%);
	box-shadow:
		0 4px 14px rgba(6, 182, 212, 0.16),
		0 0 0 1px rgba(6, 182, 212, 0.12);
	transform: translateY(-1px);
}

.link-wb__provision-notice__title {
	display: block;
	margin-bottom: 3px;
	font-size: 0.75rem;
	font-weight: 900;
	color: #0c4a6e;
	letter-spacing: 0.02em;
}

.link-wb__provision-notice__line {
	display: block;
	font-weight: 700;
	color: #1a2f42;
}

.link-wb__provision-notice__line + .link-wb__provision-notice__line {
	margin-top: 2px;
}

.link-wb__provision-notice strong {
	font-weight: 900;
	color: #0c4a6e;
}

.link-wb__field-group.is-locked {
	opacity: 0.72;
}

.link-wb__field-group.is-locked .link-wb__provision-input,
.link-wb__field-group.is-locked .link-wb__topo-btn {
	pointer-events: none;
	cursor: not-allowed;
}

.link-wb__provision-input:not(select) {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 1.75rem;
	padding: 4px 10px;
	font-size: 0.6875rem;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #1e2f3d;
	background-color: #f5f7f9;
	background-image: linear-gradient(180deg, #fafbfc 0%, #f0f3f6 100%);
	background-repeat: no-repeat;
	border: 1px solid #b8c2cc;
	border-radius: 999px;
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.06),
		0 1px 0 rgba(255, 255, 255, 0.8);
	transition:
		border-color 0.4s ease,
		box-shadow 0.45s ease,
		background-color 0.35s ease,
		transform 0.25s ease;
}

select.link-wb__provision-input,
.link-wb__provision-grid select.eng-select {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 1.75rem;
	padding: 4px 26px 4px 10px;
	font-size: 0.6875rem;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #1e2f3d;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #f5f7f9;
	background-image: var(--eng-glyph-select-winbox), linear-gradient(180deg, #fafbfc 0%, #f0f3f6 100%);
	background-repeat: no-repeat, no-repeat;
	background-position: right 5px center, 0 0;
	background-size: 16px 16px, auto;
	border: 1px solid #b8c2cc;
	border-radius: 999px;
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.06),
		0 1px 0 rgba(255, 255, 255, 0.8);
	transition:
		border-color 0.4s ease,
		box-shadow 0.45s ease,
		background-color 0.35s ease,
		transform 0.25s ease;
}

.link-wb__provision-grid .link-wb__provision-input:not(select):hover,
.link-wb__provision-grid .eng-input:hover,
select.link-wb__provision-input:hover,
.link-wb__provision-grid select.eng-select:hover {
	border-color: rgba(34, 211, 238, 0.5);
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.04),
		0 0 10px rgba(34, 211, 238, 0.22),
		0 0 18px rgba(52, 211, 153, 0.14),
		0 0 28px rgba(34, 211, 238, 0.08);
	transform: translateY(-1px);
}

.link-wb__provision-input:not(select):hover {
	border-color: rgba(34, 211, 238, 0.5);
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.04),
		0 0 10px rgba(34, 211, 238, 0.22),
		0 0 18px rgba(52, 211, 153, 0.14),
		0 0 28px rgba(34, 211, 238, 0.08);
}

.link-wb__provision-input:not(select):focus,
.eng-tools-section--winbox .link-wb__provision-grid .eng-input:focus {
	outline: none;
	border-color: rgba(34, 211, 238, 0.65);
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.03),
		0 0 0 2px rgba(52, 211, 153, 0.2),
		0 0 14px rgba(34, 211, 238, 0.3),
		0 0 22px rgba(52, 211, 153, 0.18);
	background-color: #fff;
	background-image: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

select.link-wb__provision-input:focus,
.link-wb__provision-grid select.eng-select:focus {
	outline: none;
	border-color: rgba(34, 211, 238, 0.65);
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.03),
		0 0 0 2px rgba(52, 211, 153, 0.2),
		0 0 14px rgba(34, 211, 238, 0.3),
		0 0 22px rgba(52, 211, 153, 0.18);
	background-color: #fff;
	background-image: var(--eng-glyph-select-winbox-hover), linear-gradient(180deg, #fff 0%, #f8fafc 100%);
	background-repeat: no-repeat, no-repeat;
	background-position: right 5px center, 0 0;
	background-size: 16px 16px, auto;
}

select.link-wb__provision-input:hover,
.link-wb__provision-grid select.eng-select:hover {
	background-image: var(--eng-glyph-select-winbox-hover), linear-gradient(180deg, #fafbfc 0%, #f0f3f6 100%);
	background-repeat: no-repeat, no-repeat;
	background-position: right 5px center, 0 0;
	background-size: 16px 16px, auto;
}

.link-wb__freq-select,
.link-wb__channel-select,
.link-wb__hw-select,
.link-wb__climate-select,
.link-wb__terrain-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: right 5px center;
	background-size: 16px 16px;
	background-image: var(--eng-glyph-select-winbox);
}

.link-wb__freq-select:hover,
.link-wb__freq-select:focus,
.link-wb__channel-select:hover,
.link-wb__channel-select:focus,
.link-wb__hw-select:hover,
.link-wb__hw-select:focus,
.link-wb__climate-select:hover,
.link-wb__climate-select:focus,
.link-wb__terrain-select:hover,
.link-wb__terrain-select:focus {
	background-image: var(--eng-glyph-select-winbox-hover);
}

.link-wb__provision-input.is-invalid {
	border-color: rgba(185, 60, 60, 0.65);
}

.link-wb__provision-input.is-valid {
	border-color: rgba(46, 125, 90, 0.55);
}

.link-wb__topo-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 5px 8px;
	direction: rtl;
}

.link-wb__topo-toggle {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	padding: 2px;
	background: linear-gradient(180deg, #d8dee5 0%, #cdd5de 100%);
	border: 1px solid #b0bac5;
	border-radius: 999px;
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.1),
		0 1px 0 rgba(255, 255, 255, 0.65);
}

.link-wb__topo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-size: 0.625rem;
	font-weight: 700;
	text-align: center;
	color: #4a5f72;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition:
		color 0.15s ease,
		background 0.15s ease,
		border-color 0.15s ease,
		box-shadow 0.15s ease,
		transform 0.12s ease;
}

.link-wb__topo-btn span {
	font-size: inherit;
	font-weight: inherit;
}

.link-wb__topo-btn:hover {
	color: #2a4a62;
	background: rgba(255, 255, 255, 0.55);
	border-color: rgba(61, 105, 136, 0.25);
	box-shadow: 0 1px 4px rgba(61, 105, 136, 0.12);
	transform: translateY(-1px);
}

.link-wb__topo-btn.is-active {
	color: #f4f8fb;
	background: linear-gradient(180deg, #4a7a9a 0%, #3d6988 48%, #345f7c 100%);
	border-color: #2d5369;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		inset 0 -1px 2px rgba(20, 40, 55, 0.25),
		0 2px 6px rgba(45, 83, 105, 0.28);
	transform: translateY(0);
}

.link-wb__provision-hint {
	flex: 1;
	min-width: 140px;
	margin: 0;
	padding: 4px 10px;
	font-size: 0.625rem;
	color: #4a6278;
	line-height: 1.4;
	text-align: right;
	direction: rtl;
	background: rgba(61, 105, 136, 0.08);
	border: 1px dashed rgba(61, 105, 136, 0.28);
	border-radius: 999px;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	padding-top: 0;
	padding-bottom: 0;
	border-width: 0;
	transition:
		opacity 0.2s ease,
		max-height 0.2s ease,
		padding 0.2s ease,
		border-width 0.2s ease;
}

.link-wb__provision-hint.is-visible {
	opacity: 1;
	max-height: 4rem;
	padding-top: 5px;
	padding-bottom: 5px;
	border-width: 1px;
}

.link-wb__provision-hint strong {
	color: #2d5369;
	font-weight: 700;
}

.link-wb__psk-row {
	display: flex;
	align-items: stretch;
	gap: 5px;
}

.link-wb__password-field {
	position: relative;
	flex: 1;
	min-width: 0;
}

.link-wb__password-field .link-wb__provision-input {
	padding-right: 1.85rem;
}

.link-wb__password-toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	color: #64748b;
	background: transparent;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transform: translateY(-50%);
	transition: color 0.2s ease, background 0.2s ease;
}

.link-wb__password-toggle:hover {
	color: #0891b2;
	background: rgba(6, 182, 212, 0.1);
}

.link-wb__password-icon--hide[hidden] {
	display: none;
}

.link-wb__psk-gen {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 1.75rem;
	padding: 0;
	color: #3d6988;
	background: linear-gradient(180deg, #f4f7fa 0%, #e8edf2 100%);
	border: 1px solid #b8c2cc;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition: border-color 0.4s ease, box-shadow 0.45s ease, transform 0.25s ease;
}

.link-wb__psk-gen:hover {
	border-color: rgba(34, 211, 238, 0.5);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 0 10px rgba(34, 211, 238, 0.2),
		0 0 16px rgba(52, 211, 153, 0.12);
	transform: translateY(-1px);
}

.link-wb__provision-terminals {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	user-select: none;
	-webkit-user-select: none;
}

.link-wb__terminal-box {
	display: flex;
	flex-direction: column;
	min-height: 0;
	background: #0a0a0f;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
}

.link-wb__terminal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
	padding: 4px 8px;
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.link-wb__terminal-title {
	flex: 1;
	min-width: 0;
	font-size: 0.6875rem;
	font-weight: 700;
	color: #cbd5e1;
	text-align: right;
	line-height: 1.35;
}

.link-wb__terminal-copy {
	flex-shrink: 0;
	padding: 5px 10px;
	font-size: 0.625rem;
	font-family: inherit;
	font-weight: 700;
	color: #e2e8f0;
	background: rgba(61, 105, 136, 0.2);
	border: 1px solid rgba(61, 105, 136, 0.4);
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.15s ease;
}

.link-wb__terminal-copy:hover {
	background: rgba(61, 105, 136, 0.32);
	border-color: rgba(122, 156, 181, 0.55);
	box-shadow: 0 2px 8px rgba(61, 105, 136, 0.22);
}

.link-wb__terminal-copy.is-copied {
	color: #6ee7b7;
	background: rgba(16, 185, 129, 0.18);
	border-color: rgba(52, 211, 153, 0.55);
	box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
	transform: scale(1.02);
}

.link-wb__terminal-body {
	flex: 1 1 auto;
	margin: 0;
	padding: 8px 10px;
	max-height: 130px;
	min-height: 72px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	font-family: 'Fira Code', 'Courier New', Consolas, monospace;
	font-size: 0.6875rem;
	line-height: 1.45;
	color: #e2e8f0;
	background: #050508;
	text-align: left;
	direction: ltr;
	unicode-bidi: isolate;
	white-space: pre;
	word-break: normal;
	overflow-wrap: normal;
	tab-size: 4;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-touch-callout: none;
	cursor: default;
}

.link-wb__terminal-code {
	display: block;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	background: transparent;
	text-align: left;
	direction: ltr;
	unicode-bidi: plaintext;
	white-space: pre;
	word-break: normal;
	overflow-wrap: normal;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-touch-callout: none;
	pointer-events: none;
}

@media (max-width: 1200px) {
	.link-wb__provision-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.link-wb__provision-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.link-wb__provision-terminals {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.link-wb__provision-grid {
		grid-template-columns: 1fr;
		gap: 5px;
		padding: 6px;
	}

	.link-wb__topo-row {
		flex-direction: column;
		align-items: flex-end;
	}
}

/* ─── Legacy Tool 3: Troubleshooter (retained selectors) ─── */
.eng-bento-grid--troubleshoot {
	grid-template-columns: 1fr 1.1fr;
}

.eng-slider--signal {
	accent-color: #22d3ee;
}

.eng-slider--ccq {
	accent-color: #a78bfa;
}

.eng-rssi-value,
.eng-ccq-value {
	color: var(--color-accent);
	font-weight: 700;
}

.eng-output-zone--diag {
	gap: 16px;
}

.diag-health-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	padding: 16px 20px;
	border-radius: var(--radius-md);
	border: 1px solid transparent;
	margin-bottom: 4px;
}

.diag-health-banner--good {
	background: rgba(34, 197, 94, 0.1);
	border-color: rgba(34, 197, 94, 0.3);
	color: #86efac;
}

.diag-health-banner--warn {
	background: rgba(251, 191, 36, 0.1);
	border-color: rgba(251, 191, 36, 0.35);
	color: #fde68a;
}

.diag-health-banner--crit {
	background: rgba(239, 68, 68, 0.12);
	border-color: rgba(239, 68, 68, 0.35);
	color: #fca5a5;
}

.diag-health-score {
	margin-right: auto;
	font-family: var(--font-mono, 'Courier New', monospace);
	font-size: 0.8125rem;
	opacity: 0.9;
	letter-spacing: 0.04em;
}

.cyber-card--terminal {
	padding: 0;
	overflow: hidden;
	border-color: rgba(34, 211, 238, 0.2);
	background: rgba(2, 8, 23, 0.85);
}

.cyber-card--terminal .cyber-card-label {
	padding: 16px 20px 0;
}

.diag-terminal {
	margin: 12px 16px 16px;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(34, 211, 238, 0.15);
	background: linear-gradient(180deg, rgba(0, 12, 28, 0.95) 0%, rgba(2, 6, 18, 0.98) 100%);
	box-shadow:
		inset 0 0 40px rgba(34, 211, 238, 0.04),
		0 8px 32px rgba(0, 0, 0, 0.35);
	position: relative;
}

.diag-terminal::after {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 2px,
		rgba(34, 211, 238, 0.02) 2px,
		rgba(34, 211, 238, 0.02) 4px
	);
	pointer-events: none;
	border-radius: inherit;
}

.diag-terminal-header {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.02);
}

.term-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.term-dot-red { background: #ef4444; }
.term-dot-yellow { background: #eab308; }
.term-dot-green { background: #22c55e; }

.term-title {
	margin-right: auto;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.45);
	font-family: var(--font-mono, 'Courier New', monospace);
}

.diag-terminal-body {
	margin: 0;
	padding: 14px 16px 8px;
	font-family: var(--font-mono, 'Consolas', 'Courier New', monospace);
	font-size: 0.8125rem;
	line-height: 1.65;
	color: #4ade80;
	text-shadow: 0 0 8px rgba(74, 222, 128, 0.35);
	white-space: pre-wrap;
	word-break: break-word;
	min-height: 7.5em;
}

.diag-terminal-cursor-line {
	padding: 0 16px 14px;
	font-family: var(--font-mono, 'Consolas', 'Courier New', monospace);
	font-size: 0.75rem;
	color: #22d3ee;
	opacity: 0.85;
}

.terminal-cursor {
	display: inline-block;
	width: 8px;
	height: 1.1em;
	margin-right: 2px;
	vertical-align: text-bottom;
	background: #22d3ee;
	box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
	animation: term-blink 1s step-end infinite;
}

@keyframes term-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

.cyber-card--diag-metrics {
	border-color: rgba(167, 139, 250, 0.2);
}

.cyber-card--diagnosis {
	border-color: rgba(59, 130, 246, 0.25);
	background: rgba(59, 130, 246, 0.06);
}

.diag-cause-list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.diag-cause-list li {
	position: relative;
	padding: 12px 14px 12px 36px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: var(--radius-sm);
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.diag-cause-list li::before {
	content: '▸';
	position: absolute;
	right: 14px;
	top: 12px;
	color: var(--color-accent);
	font-weight: 700;
}

/* ─── Extended tabs (6 tools) ─── */
.eng-tools-tabs--extended {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.eng-tools-tabs--extended .eng-tab {
	flex: unset;
	min-height: 34px;
	padding: 6px 8px;
}

.eng-tools-tabs--extended .eng-tab-label {
	font-size: 0.8125rem;
}

/* ─── Tool 4: IPv6 Planner ─── */
.eng-bento-grid--ipv6,
.eng-bento-grid--tunnel,
.eng-bento-grid--radiocfg {
	grid-template-columns: 1fr 1.1fr;
}

.eng-bento--tunnel-provision .link-wb__provision-grid--tunnel {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}


.tunnel-wb__mtu-box {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	margin: 0;
	padding: 5px 10px;
	direction: ltr;
	text-align: left;
	background: rgba(61, 105, 136, 0.08);
	border: 1px solid rgba(61, 105, 136, 0.22);
	border-radius: 10px;
}

.tunnel-wb__mtu-box-label {
	margin: 0;
	font-size: 0.625rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #243647;
}

.tunnel-wb__mtu-box-label em {
	font-style: normal;
	font-weight: 600;
	color: #3d6988;
}

.tunnel-wb__mtu-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tunnel-wb__mtu-metrics li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	font-size: 0.625rem;
	color: #5c6f82;
}

.tunnel-wb__mtu-metrics strong {
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-size: 0.6875rem;
	font-weight: 700;
	color: #1e3a52;
}

.eng-bento--tunnel-provision .link-wb__field-group--topo {
	direction: ltr;
	text-align: left;
}

.eng-bento--tunnel-provision .link-wb__field-group--topo .link-wb__field-label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	text-align: left;
	direction: ltr;
}

@media (max-width: 1200px) {
	.eng-bento--tunnel-provision .link-wb__provision-grid--tunnel {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.eng-bento--tunnel-provision .link-wb__provision-grid--tunnel {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.eng-bento--tunnel-provision .link-wb__provision-grid--tunnel {
		grid-template-columns: 1fr;
	}
}

/* ─── Tool 6: Cyber Security Firewall Provisioner · v7.72.0 ─── */
.eng-bento--firewall-provision .eng-tool-title--provision {
	border-color: rgba(34, 211, 238, 0.28);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 253, 255, 0.55) 42%, rgba(240, 249, 255, 0.78) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 2px 12px rgba(34, 211, 238, 0.1),
		0 1px 3px rgba(45, 70, 90, 0.06);
}

.eng-bento--firewall-provision .eng-tool-title--provision:hover {
	border-color: rgba(34, 211, 238, 0.55);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.98),
		0 4px 20px rgba(34, 211, 238, 0.18),
		0 0 0 1px rgba(52, 211, 153, 0.12);
}

.eng-bento--firewall-provision .eng-tool-badge--provision {
	background: linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(34, 211, 238, 0.14) 100%);
	border-color: rgba(34, 211, 238, 0.35);
	color: #0c4a6e;
	box-shadow: 0 0 14px rgba(34, 211, 238, 0.12);
}

.eng-wb__quick-guide,
.firewall-wb__quick-guide {
	margin: 0 0 10px;
	padding: 8px 12px 7px;
	border-radius: 10px;
	text-align: right;
	background: linear-gradient(135deg, rgba(61, 105, 136, 0.1) 0%, rgba(34, 211, 238, 0.06) 55%, rgba(52, 211, 153, 0.05) 100%);
	border: 1px solid rgba(34, 211, 238, 0.28);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		0 2px 10px rgba(34, 211, 238, 0.08);
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.eng-wb__quick-guide:hover,
.firewall-wb__quick-guide:hover {
	border-color: rgba(34, 211, 238, 0.5);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.75),
		0 4px 16px rgba(34, 211, 238, 0.14);
	transform: translateY(-1px);
}

.eng-wb__quick-guide__head,
.firewall-wb__quick-guide__head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	margin-bottom: 4px;
}

.eng-wb__quick-guide__icon,
.firewall-wb__quick-guide__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: #0891b2;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(34, 211, 238, 0.35);
	animation: fw-guide-icon-pulse 2.4s ease-in-out infinite;
}

@keyframes fw-guide-icon-pulse {
	0%, 100% { box-shadow: 0 0 0 rgba(34, 211, 238, 0); }
	50% { box-shadow: 0 0 10px rgba(34, 211, 238, 0.35); }
}

.eng-wb__quick-guide__title,
.firewall-wb__quick-guide__title {
	font-size: 0.6875rem;
	font-weight: 900;
	color: #0c4a6e;
	letter-spacing: 0.02em;
}

.eng-wb__quick-guide__line,
.firewall-wb__quick-guide__line {
	margin: 0 0 3px;
	padding: 0;
	font-size: 0.625rem;
	font-weight: 700;
	color: #1a2f42;
	line-height: 1.45;
}

.eng-wb__quick-guide__flow,
.firewall-wb__quick-guide__flow {
	display: block;
	margin: 0 0 4px;
	padding: 4px 8px;
	border-radius: 6px;
	background: rgba(15, 23, 42, 0.04);
	border: 1px solid rgba(34, 211, 238, 0.15);
	text-align: left;
}

.firewall-wb__guide-step {
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f766e;
	letter-spacing: 0.01em;
}

.firewall-wb__guide-step strong {
	font-weight: 900;
	color: #0c4a6e;
}

.eng-bento--subnet-wb > .eng-wb__quick-guide,
.eng-bento--radio-provision > .eng-wb__quick-guide,
.eng-bento--tunnel-provision > .eng-wb__quick-guide {
	margin-bottom: 10px;
}

.eng-guides {
	margin-top: 18px;
	padding: 14px 16px 12px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(248, 250, 252, 0.92) 0%, rgba(236, 254, 255, 0.55) 100%);
	border: 1px solid rgba(34, 211, 238, 0.22);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.8),
		0 4px 18px rgba(15, 23, 42, 0.06);
}

.eng-guides__head {
	margin-bottom: 12px;
	text-align: right;
}

.eng-guides__title {
	margin: 0 0 4px;
	font-size: 0.9375rem;
	font-weight: 900;
	color: #0c4a6e;
}

.eng-guides__lead {
	margin: 0 0 6px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #334155;
	line-height: 1.5;
}

.eng-guides__blog-link {
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 800;
	color: #0891b2;
	text-decoration: none;
}

.eng-guides__blog-link:hover {
	color: #0e7490;
	text-decoration: underline;
}

.eng-guides__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px;
}

.eng-guide-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(184, 194, 204, 0.42);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eng-guide-card:hover {
	border-color: rgba(34, 211, 238, 0.45);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 0 8px rgba(6, 182, 212, 0.12);
}

.eng-guide-card__title {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 900;
	color: #1e293b;
	line-height: 1.35;
}

.eng-guide-card__excerpt {
	margin: 0;
	flex: 1 1 auto;
	font-size: 0.625rem;
	font-weight: 600;
	color: #475569;
	line-height: 1.55;
}

.eng-guide-card__cta {
	align-self: flex-start;
	font-size: 0.625rem;
	font-weight: 800;
	color: #0e7490;
	text-decoration: none;
}

.eng-guide-card__cta:hover {
	color: #0891b2;
	text-decoration: underline;
}

.eng-guide-card__cta--tool {
	margin-inline-start: 8px;
	color: #64748b;
	font-weight: 700;
}

.eng-guide-card__cta--tool:hover {
	color: #0e7490;
}

@media (max-width: 900px) {
	.eng-guides__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.firewall-wb__perf-caution--inline {
	display: block;
	margin: 0;
	padding: 0;
	font-size: 0.5625rem;
	font-weight: 600;
	color: #64748b;
	line-height: 1.4;
	text-align: right;
	direction: rtl;
	cursor: default;
	transition: color 0.25s ease, text-shadow 0.25s ease;
}

.firewall-wb__perf-caution--inline:hover,
.firewall-wb__perf-caution--inline:focus-visible {
	color: #dc2626;
	text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.firewall-wb__perf-caution--inline strong {
	font-weight: 800;
	color: inherit;
}

.firewall-wb__perf-caution--inline:hover strong {
	color: #b91c1c;
}

.eng-bento--firewall-provision .link-wb__provision-grid--firewall {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.firewall-wb__glass-panel {
	grid-column: 1 / -1;
	padding: 14px 16px;
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.52) 0%,
		rgba(245, 248, 252, 0.28) 48%,
		rgba(236, 244, 250, 0.38) 100%
	);
	border: 1px solid rgba(184, 194, 204, 0.45);
	border-radius: 14px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.75),
		0 4px 24px rgba(30, 47, 61, 0.06);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition:
		border-color 0.35s ease,
		box-shadow 0.4s ease,
		transform 0.3s ease,
		background 0.35s ease;
}

.firewall-wb__glass-panel:hover {
	transform: translateY(-2px);
	border-color: rgba(34, 211, 238, 0.35);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 8px 32px rgba(34, 211, 238, 0.12),
		0 4px 16px rgba(30, 47, 61, 0.06);
}

.firewall-wb__glass-panel--network:hover {
	border-color: rgba(52, 211, 153, 0.5);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 8px 28px rgba(52, 211, 153, 0.14),
		0 0 0 1px rgba(52, 211, 153, 0.08);
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.58) 0%,
		rgba(236, 253, 245, 0.32) 48%,
		rgba(236, 244, 250, 0.4) 100%
	);
}

.firewall-wb__glass-panel--core:hover {
	border-color: rgba(61, 105, 136, 0.55);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 8px 28px rgba(61, 105, 136, 0.14),
		0 0 0 1px rgba(34, 211, 238, 0.1);
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.58) 0%,
		rgba(240, 247, 252, 0.35) 48%,
		rgba(236, 244, 250, 0.42) 100%
	);
}

.firewall-wb__glass-panel--ips:hover {
	border-color: rgba(239, 68, 68, 0.5);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 8px 28px rgba(239, 68, 68, 0.12),
		0 0 0 1px rgba(239, 68, 68, 0.08);
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.58) 0%,
		rgba(254, 242, 242, 0.28) 48%,
		rgba(236, 244, 250, 0.38) 100%
	);
}

.firewall-wb__glass-panel:hover .firewall-wb__panel-icon {
	transform: scale(1.12);
	border-color: rgba(34, 211, 238, 0.45);
	box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}

.firewall-wb__glass-panel--network:hover .firewall-wb__panel-icon--network {
	box-shadow: 0 0 14px rgba(52, 211, 153, 0.4);
}

.firewall-wb__glass-panel--core:hover .firewall-wb__panel-icon--core {
	box-shadow: 0 0 14px rgba(61, 105, 136, 0.35);
}

.firewall-wb__glass-panel--ips:hover .firewall-wb__panel-icon--ips {
	box-shadow: 0 0 14px rgba(239, 68, 68, 0.35);
}

.firewall-wb__glass-panel:hover .firewall-wb__panel-title {
	color: #0f2744;
}

.firewall-wb__glass-panel--ips {
	border-left: 3px solid rgba(239, 68, 68, 0.45);
}

.firewall-wb__glass-panel--core {
	border-left: 3px solid rgba(61, 105, 136, 0.5);
}

.firewall-wb__glass-panel--network {
	border-left: 3px solid rgba(52, 211, 153, 0.45);
}

.firewall-wb__panel-title {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: row;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 0.6875rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #1e3a52;
	letter-spacing: 0.02em;
	direction: rtl;
	text-align: right;
	transition: color 0.3s ease;
}

.firewall-wb__panel-label {
	flex: 1 1 auto;
	min-width: 0;
}

.firewall-wb__panel-label em {
	font-style: normal;
	font-weight: 600;
	color: #5c6f82;
}

.firewall-wb__panel-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid rgba(184, 194, 204, 0.4);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		border-color 0.3s ease;
}

.firewall-wb__panel-icon svg {
	display: block;
}

.firewall-wb__panel-icon--network {
	color: #059669;
	animation: fw-icon-network-pulse 2.4s ease-in-out infinite;
}

.firewall-wb__panel-icon--core {
	color: #3d6988;
	animation: fw-icon-shield-lift 2.8s ease-in-out infinite;
}

.firewall-wb__panel-icon--ips {
	color: #dc2626;
	animation: fw-icon-ips-glow 2.2s ease-in-out infinite;
}

@keyframes fw-icon-network-pulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 rgba(52, 211, 153, 0);
	}
	50% {
		transform: scale(1.06);
		box-shadow: 0 0 10px rgba(52, 211, 153, 0.35);
	}
}

@keyframes fw-icon-shield-lift {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-2px);
		box-shadow: 0 3px 8px rgba(61, 105, 136, 0.2);
	}
}

@keyframes fw-icon-ips-glow {
	0%, 100% {
		opacity: 0.88;
		filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0));
	}
	50% {
		opacity: 1;
		filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.55));
	}
}

.firewall-wb__module-badge {
	display: inline-block;
	margin-inline-start: 4px;
	padding: 1px 6px;
	font-size: 0.5625rem;
	font-weight: 800;
	font-family: inherit;
	color: #b45309;
	background: linear-gradient(135deg, rgba(251, 191, 36, 0.22) 0%, rgba(245, 158, 11, 0.14) 100%);
	border: 1px solid rgba(245, 158, 11, 0.35);
	border-radius: 999px;
	letter-spacing: 0.01em;
	animation: fw-badge-shimmer 2.6s ease-in-out infinite;
}

@keyframes fw-badge-shimmer {
	0%, 100% {
		opacity: 0.92;
	}
	50% {
		opacity: 1;
		box-shadow: 0 0 8px rgba(245, 158, 11, 0.25);
	}
}

.firewall-wb__module--corporate:has(input:checked) .firewall-wb__module-badge {
	color: #047857;
	background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(16, 185, 129, 0.12) 100%);
	border-color: rgba(16, 185, 129, 0.4);
}

.eng-bento--firewall-provision {
	--fw-input-h: 28px;
	--fw-btn: 26px;
	--fw-btn-gap: 4px;
	--fw-focus-glow: 0 0 8px rgba(6, 182, 212, 0.25);
}

.firewall-wb__network-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px 10px;
	align-items: start;
	box-sizing: border-box;
}

.firewall-wb__network-grid--symmetric {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.firewall-wb__net-col {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	box-sizing: border-box;
}

.firewall-wb__net-col--lan {
	grid-column: auto;
}

.firewall-wb__net-slot {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: var(--fw-input-h);
	box-sizing: border-box;
}

.firewall-wb__net-input {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: var(--fw-input-h);
	min-height: var(--fw-input-h);
	padding: 5px 8px;
	font-size: 0.625rem;
}

.firewall-wb__lan-stack {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.firewall-wb__lan-extra {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: 4.5rem;
	overflow-y: auto;
	overflow-x: hidden;
	padding-inline-end: 2px;
	scrollbar-width: thin;
}

.firewall-wb__lan-extra[hidden] {
	display: none !important;
}

.firewall-wb__lan-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--fw-btn);
	gap: var(--fw-btn-gap);
	align-items: center;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.firewall-wb__lan-row--primary {
	min-height: var(--fw-input-h);
}

.firewall-wb__lan-row .firewall-wb__net-input,
.firewall-wb__lan-row .link-wb__provision-input {
	width: 100%;
	min-width: 0;
	margin: 0;
}

.firewall-wb__lan-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: var(--fw-btn);
	height: var(--fw-btn);
	padding: 0;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0c4a6e;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(34, 211, 238, 0.4);
	border-radius: 6px;
	cursor: pointer;
	box-sizing: border-box;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		color 0.2s ease;
}

.firewall-wb__lan-btn:hover {
	border-color: rgba(34, 211, 238, 0.7);
	box-shadow: 0 0 8px rgba(34, 211, 238, 0.18);
	color: #0891b2;
}

.firewall-wb__lan-btn--remove {
	font-size: 1rem;
	color: #b91c1c;
	border-color: rgba(239, 68, 68, 0.32);
}

.firewall-wb__lan-btn--remove:hover {
	border-color: rgba(239, 68, 68, 0.5);
	color: #dc2626;
}

.eng-bento--firewall-provision .firewall-wb__network-grid--symmetric .link-wb__field-label {
	font-size: 0.5625rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.eng-bento--firewall-provision .link-wb__provision-input.is-invalid {
	border-color: rgba(220, 38, 38, 0.75);
	background-color: rgba(254, 242, 242, 0.45);
	box-shadow:
		inset 0 1px 2px rgba(220, 38, 38, 0.06),
		0 0 0 2px rgba(239, 68, 68, 0.12),
		0 0 14px rgba(239, 68, 68, 0.15);
}

.eng-bento--firewall-provision .link-wb__provision-input.is-valid:not(:focus) {
	border-color: rgba(16, 185, 129, 0.45);
}

.firewall-wb__modules--single-row {
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	padding-bottom: 2px;
}

.firewall-wb__modules--single-row .firewall-wb__module {
	flex: 0 0 auto;
	white-space: nowrap;
	padding: 6px 11px;
	font-size: 0.625rem;
}

.firewall-wb__modules--single-row .firewall-wb__module em {
	font-size: 0.5625rem;
}

.eng-bento--firewall-provision .firewall-wb__field .link-wb__provision-input:not(select),
.eng-bento--firewall-provision .firewall-wb__net-input.link-wb__provision-input:not(select) {
	background-color: rgba(255, 255, 255, 0.38);
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(240, 245, 250, 0.42) 100%);
	border-color: rgba(184, 194, 204, 0.48);
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.03),
		0 1px 0 rgba(255, 255, 255, 0.7);
}

.eng-bento--firewall-provision .firewall-wb__field .link-wb__provision-input:not(select):hover,
.eng-bento--firewall-provision .firewall-wb__net-input.link-wb__provision-input:not(select):hover {
	border-color: rgba(34, 211, 238, 0.55);
	background-color: rgba(255, 255, 255, 0.58);
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.02),
		0 0 12px rgba(34, 211, 238, 0.22),
		0 0 22px rgba(52, 211, 153, 0.14);
	transform: translateY(-1px);
}

.eng-bento--firewall-provision .firewall-wb__field .link-wb__provision-input:not(select):focus,
.eng-bento--firewall-provision .firewall-wb__net-input.link-wb__provision-input:not(select):focus {
	outline: none;
	border-color: rgba(34, 211, 238, 0.7);
	background-color: rgba(255, 255, 255, 0.82);
	box-shadow:
		inset 0 1px 2px rgba(30, 47, 61, 0.03),
		0 0 0 2px rgba(34, 211, 238, 0.2),
		var(--fw-focus-glow);
	transform: translateY(-1px);
}

.firewall-wb__field-hint {
	margin: 4px 0 0;
	padding: 0 10px;
	font-size: 0.625rem;
	font-weight: 500;
	color: #5c6f82;
	line-height: 1.35;
}

.firewall-wb__modules {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
}

.firewall-wb__module {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 7px 13px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #243647;
	background: rgba(255, 255, 255, 0.35);
	border: 1px solid rgba(184, 194, 204, 0.48);
	border-radius: 999px;
	cursor: pointer;
	user-select: none;
	transition:
		border-color 0.35s ease,
		box-shadow 0.4s ease,
		background-color 0.3s ease,
		transform 0.25s ease;
}

.firewall-wb__module--ips {
	background: rgba(254, 242, 242, 0.35);
	border-color: rgba(239, 68, 68, 0.22);
}

.firewall-wb__module:hover {
	border-color: rgba(34, 211, 238, 0.5);
	background: rgba(255, 255, 255, 0.62);
	box-shadow:
		0 0 12px rgba(34, 211, 238, 0.18),
		0 0 20px rgba(52, 211, 153, 0.1);
	transform: translateY(-1px);
}

.firewall-wb__module--ips:hover {
	border-color: rgba(239, 68, 68, 0.35);
	box-shadow:
		0 0 12px rgba(239, 68, 68, 0.12),
		0 0 18px rgba(34, 211, 238, 0.08);
}

.firewall-wb__module input {
	accent-color: #3d6988;
}

.firewall-wb__module em {
	font-style: normal;
	font-weight: 500;
	color: #5c6f82;
}

.firewall-wb__module:has(input:checked) {
	background: linear-gradient(135deg, rgba(61, 105, 136, 0.14) 0%, rgba(34, 211, 238, 0.08) 100%);
	border-color: rgba(34, 211, 238, 0.45);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.6),
		0 0 10px rgba(34, 211, 238, 0.15);
}

.firewall-wb__module--ips:has(input:checked) {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(61, 105, 136, 0.08) 100%);
	border-color: rgba(239, 68, 68, 0.38);
}

.firewall-wb__module:has(input:disabled) {
	opacity: 0.72;
	cursor: default;
	transform: none;
}

.link-wb__unified-terminal-box {
	width: 100%;
	margin-top: 4px;
	padding-top: 4px;
}

.link-wb__terminal-box--unified {
	width: 100%;
	border-color: rgba(34, 211, 238, 0.12);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.28),
		0 0 0 1px rgba(34, 211, 238, 0.06);
}

.link-wb__terminal-body--unified {
	min-height: 13rem;
	max-height: min(44vh, 24rem);
}

@media (max-width: 900px) {
	.firewall-wb__network-grid--symmetric {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.firewall-wb__net-col--lan {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.firewall-wb__network-grid--symmetric {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ipv6-tour {
	margin-top: 20px;
	padding: 18px;
	background: rgba(34, 211, 238, 0.04);
	border: 1px solid rgba(34, 211, 238, 0.15);
	border-radius: var(--radius-md);
}

.ipv6-tour-title {
	margin: 0 0 12px;
	font-size: 0.9375rem;
	color: #22d3ee;
}

.ipv6-tour-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.ipv6-tour-step {
	padding: 8px 14px;
	font-size: 0.8125rem;
	font-family: inherit;
	color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.ipv6-tour-step:hover,
.ipv6-tour-step.is-active {
	color: #22d3ee;
	border-color: rgba(34, 211, 238, 0.45);
	background: rgba(34, 211, 238, 0.08);
}

.ipv6-tour-panel {
	font-size: 0.875rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
}

.ipv6-tour-panel p {
	margin: 0;
}

.ipv6-header-viz {
	display: flex;
	gap: 12px;
	margin-top: 14px;
}

.ipv6-header-viz span {
	flex: 1;
	padding: 10px 12px;
	font-size: 0.75rem;
	font-family: var(--font-mono, monospace);
	text-align: center;
	border-radius: var(--radius-sm);
}

.hdr-v4 {
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #fca5a5;
}

.hdr-v6 {
	background: rgba(34, 211, 238, 0.12);
	border: 1px solid rgba(34, 211, 238, 0.35);
	color: #67e8f9;
	box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.cyber-card--matrix {
	border-color: rgba(74, 222, 128, 0.25);
	background: rgba(0, 0, 0, 0.45);
}

.matrix-terminal {
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid rgba(74, 222, 128, 0.2);
}

.matrix-terminal-header {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(74, 222, 128, 0.15);
	background: rgba(74, 222, 128, 0.04);
}

.matrix-terminal-body {
	margin: 0;
	padding: 16px;
	font-family: var(--font-mono, 'Consolas', monospace);
	font-size: 0.8125rem;
	line-height: 1.7;
	color: #4ade80;
	text-shadow: 0 0 10px rgba(74, 222, 128, 0.5), 0 0 24px rgba(74, 222, 128, 0.2);
	white-space: pre-wrap;
	word-break: break-all;
	min-height: 10em;
	background: rgba(0, 0, 0, 0.6);
	animation: matrix-glow 3s ease-in-out infinite alternate;
}

@keyframes matrix-glow {
	0% { box-shadow: inset 0 0 30px rgba(74, 222, 128, 0.05); }
	100% { box-shadow: inset 0 0 50px rgba(74, 222, 128, 0.12); }
}

/* ─── Tool 5: Tunnel Optimizer ─── */
.eng-slider--cyan {
	accent-color: #22d3ee;
}

.tunnel-edu-note {
	margin-top: 16px;
	padding: 14px 16px;
	font-size: 0.875rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.8);
	background: rgba(59, 130, 246, 0.08);
	border: 1px solid rgba(59, 130, 246, 0.2);
	border-radius: var(--radius-sm);
}

.tunnel-edu-note strong {
	display: block;
	margin-bottom: 6px;
	color: #60a5fa;
}

.cyber-card--tunnel-metrics {
	border-color: rgba(34, 211, 238, 0.2);
}

.cyber-card--packet {
	border-color: rgba(167, 139, 250, 0.25);
}

.packet-viz {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 8px;
}

.pkt-layer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	font-size: 0.8125rem;
	font-family: var(--font-mono, monospace);
	transition: transform 0.2s, box-shadow 0.2s;
}

.pkt-layer:hover {
	transform: translateX(-4px);
}

.pkt-layer span {
	font-weight: 600;
}

.pkt-layer em {
	font-style: normal;
	opacity: 0.75;
	font-size: 0.75rem;
}

.pkt-layer--outer {
	background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.08));
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #fca5a5;
}

.pkt-layer--tunnel {
	background: linear-gradient(90deg, rgba(234, 179, 8, 0.25), rgba(234, 179, 8, 0.08));
	border: 1px solid rgba(234, 179, 8, 0.4);
	color: #fde047;
	box-shadow: 0 0 16px rgba(234, 179, 8, 0.15);
}

.pkt-layer--inner {
	background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.08));
	border: 1px solid rgba(59, 130, 246, 0.35);
	color: #93c5fd;
}

.pkt-layer--payload {
	background: linear-gradient(90deg, rgba(74, 222, 128, 0.2), rgba(74, 222, 128, 0.08));
	border: 1px solid rgba(74, 222, 128, 0.35);
	color: #86efac;
	min-height: 48px;
}

/* ─── Tool 6: Radio Config Generator ─── */
.cyber-card--code-editor {
	border-color: rgba(255, 255, 255, 0.12);
	background: #0a0a0f;
	padding: 0;
	overflow: hidden;
}

.code-editor-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
}

.code-editor-header .cyber-card-label {
	margin: 0;
}

.btn-copy-script {
	padding: 8px 16px;
	font-size: 0.8125rem;
	font-family: inherit;
	font-weight: 600;
	color: #0a0a0f;
	background: linear-gradient(135deg, #22d3ee, #4ade80);
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: opacity 0.2s, transform 0.15s;
}

.btn-copy-script:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.code-editor-wrap {
	max-height: 420px;
	overflow: auto;
}

.code-editor-body {
	margin: 0;
	padding: 18px 20px;
	font-family: var(--font-mono, 'Consolas', 'Courier New', monospace);
	font-size: 0.8125rem;
	line-height: 1.65;
	color: #e2e8f0;
	white-space: pre-wrap;
	word-break: break-word;
	background: #050508;
	min-height: 280px;
}

.code-editor-hint {
	margin: 0;
	padding: 8px 16px 14px;
	font-size: 0.8125rem;
	color: #4ade80;
	text-align: left;
}

@media (max-width: 900px) {
	.eng-bento-grid--troubleshoot,
	.eng-bento-grid--ipv6,
	.eng-bento-grid--tunnel,
	.eng-bento-grid--radiocfg {
		grid-template-columns: 1fr;
	}

	.eng-tools-tabs--extended {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.eng-input-zone,
	.eng-output-zone {
		padding: 24px 18px;
	}

	.eng-bw-radio {
		grid-template-columns: repeat(2, 1fr);
	}

	.eng-kml-fields {
		grid-template-columns: 1fr;
	}

	.eng-tab-label {
		font-size: 0.875rem;
	}

	.eng-tools-tabs--extended {
		grid-template-columns: 1fr;
	}

	.eng-tools-tabs {
		flex-direction: column;
	}

	.eng-tab {
		padding: 12px 14px;
	}

	.cyber-card-value {
		font-size: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eng-panel,
	.feasibility-pulse,
	.stability-gauge-bar,
	.terminal-cursor,
	.matrix-terminal-body {
		animation: none !important;
		transition: none !important;
	}
}

/* ─── Quantum Dark Glass (v6.4.0) ─── */
.eng-tools-section--quantum {
	background: var(--gradient-dark);
	color: #fff;
}

.eng-tools-section--quantum .section-title,
.eng-tools-section--quantum .section-desc {
	color: rgba(255, 255, 255, 0.88);
}

.eng-tools-section--quantum .eng-input,
.eng-tools-section--quantum .eng-select {
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
}

.eng-tools-section--quantum .eng-input:focus,
.eng-tools-section--quantum .eng-select:focus {
	outline: none;
	border-color: #00e5ff;
	box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
	background: rgba(15, 23, 42, 0.75);
}

.eng-tools-section--quantum .cyber-card {
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.eng-tools-section--quantum .cyber-card:hover {
	border-color: rgba(0, 229, 255, 0.35);
	box-shadow: 0 0 16px rgba(0, 229, 255, 0.12);
}

.eng-tools-section--quantum .cyber-card-value {
	color: #00e5ff;
	font-size: 1.375rem;
	font-weight: 700;
	font-family: 'Consolas', 'Courier New', monospace;
	letter-spacing: 0.02em;
	text-shadow:
		0 0 12px rgba(0, 229, 255, 0.45),
		0 0 28px rgba(0, 229, 255, 0.2);
}

.eng-tools-section--quantum .cyber-card--accent {
	background: rgba(15, 23, 42, 0.72);
	border-color: rgba(0, 229, 255, 0.28);
}

.eng-tools-section--quantum .cyber-card--accent .cyber-card-value {
	font-size: 2rem;
	-webkit-text-fill-color: #00e5ff;
	background: none;
	color: #00e5ff;
}

.eng-tools-section--quantum .eng-output-zone {
	background: rgba(0, 0, 0, 0.18);
}

.eng-tools-section--quantum .eng-bento {
	background: rgba(3, 7, 18, 0.72);
	border-color: rgba(255, 255, 255, 0.08);
}

.eng-tools-section--quantum .eng-tools-tabs {
	background: rgba(15, 23, 42, 0.55);
	border-color: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
}

.eng-tools-section--quantum .eng-tab.is-active {
	background: rgba(0, 229, 255, 0.1);
	border-color: rgba(0, 229, 255, 0.35);
	box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

/* ─── v6.5.0 Compact page + VLSM ─── */
.eng-tools-section--compact {
	padding: 14px 0 18px;
}

.eng-tools-section--page .eng-tools-header {
	margin-bottom: 18px;
}

.eng-tools-section--page .eng-hero {
	margin-bottom: 0;
}

.eng-tools-section--page .section-title {
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.eng-tools-section--page .section-desc {
	font-size: 0.875rem;
	margin-bottom: 0;
}

.eng-tool-title--compact {
	margin-bottom: 16px;
}

.eng-tool-title--compact h3 {
	font-size: 1.125rem;
	margin-bottom: 4px;
}

.eng-tool-title--compact p {
	font-size: 0.8125rem;
}

.eng-bento--subnet-wb {
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.subnet-wb {
	padding: 8px 10px 10px;
	background: rgba(240, 244, 250, 0.4) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 8px;
	color: #1e293b;
}

.subnet-wb__toolbar {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin-bottom: 8px;
}

.subnet-wb__toolbar-left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	flex: 0 1 auto;
}

.subnet-wb__version {
	display: inline-flex;
	padding: 2px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.subnet-wb__ver-btn {
	padding: 4px 10px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	background: transparent;
	border: none;
	border-radius: 4px;
	transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.subnet-wb__ver-btn:hover {
	color: #059669;
	background: rgba(16, 185, 129, 0.08);
}

.subnet-wb__ver-btn.is-active {
	color: #fff;
	background: linear-gradient(180deg, #10b981 0%, #059669 100%);
	box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}

.subnet-wb__inputs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}

.subnet-wb__inline-label {
	font-size: 0.625rem;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.subnet-wb__input {
	padding: 4px 8px;
	font-size: 0.8125rem;
	font-weight: 500;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #1e293b;
	text-align: left;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.subnet-wb__input--ip {
	width: 148px;
	max-width: 100%;
}

.subnet-wb__input--uplink {
	width: 88px;
	max-width: 100%;
}

.subnet-wb__input:focus {
	border-color: #10b981;
	box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.subnet-wb__strip {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
	padding: 8px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.4);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.subnet-wb__strip--3d {
	box-shadow:
		0 3px 10px rgba(15, 23, 42, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.subnet-wb__chip--3d {
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	min-width: 88px;
	padding: 7px 10px;
	border-radius: 7px;
	background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
	border: 1px solid rgba(0, 0, 0, 0.07);
	box-shadow:
		0 3px 6px rgba(15, 23, 42, 0.07),
		inset 0 1px 0 rgba(255, 255, 255, 1);
	transform: translateY(0);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease;
	cursor: default;
}

.subnet-wb__chip--3d:hover {
	transform: translateY(-3px);
	border-color: rgba(16, 185, 129, 0.45);
	background: linear-gradient(165deg, #ecfdf5 0%, #f0fdf4 100%);
	box-shadow:
		0 8px 18px rgba(16, 185, 129, 0.14),
		0 3px 8px rgba(15, 23, 42, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 1);
}

.subnet-wb__chip--3d em {
	font-style: normal;
	font-size: 0.5625rem;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.subnet-wb__chip--3d b {
	font-weight: 800;
	font-size: 0.8125rem;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
	line-height: 1.3;
}

.subnet-wb [data-chip-ipv6] {
	display: none;
}

.subnet-wb.is-ipv6 [data-chip-hide-ipv6] {
	display: none !important;
}

.subnet-wb.is-ipv6 [data-chip-ipv6] {
	display: inline-flex !important;
}

.subnet-wb.is-ipv6 .subnet-wb__chip--3d b,
.subnet-wb.is-ipv6 .subnet-wb__out,
.subnet-wb.is-ipv6 .subnet-wb__pane code {
	font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
	color: #1e293b;
}

.subnet-wb__ipv6-hint {
	margin: 0 0 6px;
	padding: 4px 8px;
	font-size: 0.625rem;
	font-weight: 600;
	color: #059669;
	background: rgba(16, 185, 129, 0.08);
	border: 1px solid rgba(16, 185, 129, 0.18);
	border-radius: 5px;
}

.subnet-wb__ipv6-hint[hidden] {
	display: none;
}

.subnet-wb__chip {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	padding: 3px 7px;
	font-size: 0.6875rem;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(0, 0, 0, 0.05);
	transition: border-color 0.15s ease, background 0.15s ease;
}

.subnet-wb__chip:hover {
	border-color: rgba(16, 185, 129, 0.25);
	background: rgba(255, 255, 255, 0.95);
}

.subnet-wb__chip em {
	font-style: normal;
	font-size: 0.5625rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
}

.subnet-wb__chip b {
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #334155;
}

.subnet-wb__table-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 4px;
}

.subnet-wb__table-title {
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
}

.subnet-wb__add-btn {
	padding: 3px 10px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #059669;
	cursor: pointer;
	background: rgba(16, 185, 129, 0.08);
	border: 1px solid rgba(16, 185, 129, 0.22);
	border-radius: 999px;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.subnet-wb__add-btn:hover {
	background: rgba(16, 185, 129, 0.14);
	border-color: rgba(16, 185, 129, 0.35);
}

.subnet-wb__warn {
	margin: 0 0 4px;
	padding: 4px 8px;
	font-size: 0.6875rem;
	color: #b45309;
	background: rgba(251, 191, 36, 0.1);
	border: 1px solid rgba(251, 191, 36, 0.22);
	border-radius: 5px;
}

.subnet-wb__warn[hidden] {
	display: none;
}

.subnet-wb__status {
	margin: 0;
	margin-left: auto;
	flex-shrink: 0;
	text-align: right;
	font-size: 0.75rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
	white-space: nowrap;
}

.subnet-wb__status[hidden] {
	display: none;
}

.subnet-wb__status.is-ok {
	color: #059669;
}

.subnet-wb__status.is-warn {
	color: #b45309;
}

.subnet-wb__table-wrap {
	margin-bottom: 8px;
	overflow-x: auto;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.4);
}

.subnet-wb__grid {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.6875rem;
}

.subnet-wb__grid--aligned {
	table-layout: fixed;
}

.subnet-wb__col-name {
	width: 12%;
}

.subnet-wb__col-id {
	width: 8%;
}

.subnet-wb__col-hosts {
	width: 9%;
}

.subnet-wb__col-range {
	width: 26%;
}

.subnet-wb__col-network {
	width: 22%;
}

.subnet-wb__col-gw {
	width: 15%;
}

.subnet-wb__col-id,
.subnet-wb__col-hosts {
	text-align: center;
}

.subnet-wb__col-id .subnet-wb__cell-input,
.subnet-wb__col-hosts .subnet-wb__cell-input {
	margin-inline: auto;
	display: block;
}

.subnet-wb.is-ipv6 .subnet-wb__col-hosts--disabled .subnet-wb__cell-input--hosts {
	opacity: 0.42;
	cursor: not-allowed;
	background: rgba(241, 245, 249, 0.92);
	color: #94a3b8;
	border-color: rgba(0, 0, 0, 0.05);
}

.subnet-wb__grid--aligned .subnet-wb__col-range,
.subnet-wb__grid--aligned .subnet-wb__col-network,
.subnet-wb__grid--aligned .subnet-wb__col-gw {
	max-width: 0;
}

.subnet-wb__grid th {
	padding: 4px 6px;
	text-align: right;
	font-size: 0.625rem;
	font-weight: 600;
	color: #64748b;
	text-transform: none;
	letter-spacing: 0;
	background: rgba(255, 255, 255, 0.5);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	white-space: nowrap;
}

.subnet-wb__grid th[dir="ltr"] {
	text-align: left;
}

.subnet-wb__th-act {
	width: 28px;
}

.subnet-wb__grid td {
	padding: 3px 4px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
	vertical-align: middle;
}

.subnet-wb__grid tr:last-child td {
	border-bottom: none;
}

.subnet-wb__grid tbody tr:hover {
	background: rgba(16, 185, 129, 0.04);
}

.subnet-wb__cell-input {
	padding: 3px 5px;
	font-size: 0.75rem;
	font-weight: 500;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #1e293b;
	text-align: left;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 4px;
	outline: none;
	transition: border-color 0.15s ease;
}

.subnet-wb__cell-input--name {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.subnet-wb__cell-input--id,
.subnet-wb__cell-input--hosts {
	width: 52px;
	min-width: 52px;
	max-width: 52px;
	text-align: center;
	box-sizing: border-box;
}

.subnet-wb__cell-input:focus {
	border-color: #10b981;
}

.subnet-wb__out {
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-size: 0.625rem;
	font-weight: 500;
	color: #475569;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.subnet-wb__act {
	width: 28px;
	text-align: center;
}

.subnet-wb__rm-btn {
	width: 22px;
	height: 22px;
	padding: 0;
	font-size: 0.875rem;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 4px;
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.subnet-wb__rm-btn:hover {
	color: #dc2626;
	background: rgba(239, 68, 68, 0.08);
	border-color: rgba(239, 68, 68, 0.2);
}

.subnet-wb__code {
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.45);
	overflow: hidden;
	direction: ltr;
	text-align: left;
}

.subnet-wb__code-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 4px 6px;
	background: rgba(255, 255, 255, 0.55);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.subnet-wb__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
}

.subnet-wb__tab {
	padding: 3px 7px;
	font-size: 0.625rem;
	font-weight: 500;
	color: #64748b;
	cursor: pointer;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 4px;
	transition: color 0.15s ease, background 0.15s ease;
}

.subnet-wb__tab:hover {
	color: #059669;
	background: rgba(16, 185, 129, 0.06);
}

.subnet-wb__tab--iac {
	font-size: 0.5625rem;
	padding: 3px 6px;
}

.subnet-wb__tab.is-active {
	color: #059669;
	font-weight: 600;
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.2);
}

.subnet-wb__copy {
	flex-shrink: 0;
	padding: 3px 10px;
	font-size: 0.625rem;
	font-weight: 600;
	color: #1e293b;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	transition: background 0.15s ease, color 0.15s ease;
}

.subnet-wb__copy:hover {
	color: #059669;
	border-color: rgba(16, 185, 129, 0.3);
}

.subnet-wb__copy.is-copied {
	color: #fff !important;
	background: #059669 !important;
	border-color: #059669 !important;
}

.subnet-wb__import {
	margin: 0;
	padding: 4px 8px;
	font-size: 0.625rem;
	line-height: 1.4;
	color: #64748b;
	background: rgba(16, 185, 129, 0.04);
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
	direction: ltr;
	text-align: left;
}

.subnet-wb__pane {
	margin: 0;
	padding: 8px 10px;
	max-height: 140px;
	overflow: auto;
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-size: 0.6875rem;
	line-height: 1.5;
	color: #334155;
	white-space: pre;
	word-break: normal;
	background: rgba(248, 250, 252, 0.8);
	direction: ltr;
	text-align: left;
}

.subnet-wb__pane[hidden] {
	display: none;
}

.subnet-wb__pane code {
	display: block;
	width: 100%;
	color: inherit;
	direction: ltr;
	text-align: left;
	unicode-bidi: plaintext;
}

.eng-tools-tabs--extended {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
	.subnet-wb__inputs {
		width: 100%;
	}

	.subnet-wb__input--ip {
		flex: 1;
		min-width: 120px;
	}

	.eng-tools-tabs--extended {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ═══════════════════════════════════════════════════════════
   Winbox / RouterOS Engineering Theme (v6.25.0)
   ═══════════════════════════════════════════════════════════ */

.abannet-network-tools-page #main-content.site-main {
	background: #ffffff;
}

.eng-tools-section--winbox {
	--wb-bg: #2e2e2e;
	--wb-bg-deep: #252525;
	--wb-panel: #3a3a3a;
	--wb-panel-alt: #454545;
	--wb-toolbar: #505050;
	--wb-border: #1a1a1a;
	--wb-border-light: #5a5a5a;
	--wb-text: #ececec;
	--wb-text-muted: #b0b0b0;
	--wb-green: #6d9b2d;
	--wb-green-hover: #7eb035;
	--wb-green-dark: #4a6a1a;
	--wb-blue: #4a7eb8;
	--wb-blue-dark: #3a638f;
	--wb-input-bg: #ffffff;
	--wb-input-text: #1a1a1a;
	--wb-input-border: #8a8a8a;
	--wb-terminal: #141414;
	--wb-terminal-text: #c8f0a0;

	background: #ffffff;
	color: var(--wb-text);
}

.eng-tools-section--winbox::before {
	background-image: repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(0, 0, 0, 0.04) 8px, rgba(0, 0, 0, 0.04) 9px);
	opacity: 0.6;
	mask-image: none;
}

.eng-winbox-titlebar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	padding: 6px 12px;
	background: linear-gradient(180deg, var(--wb-blue) 0%, var(--wb-blue-dark) 100%);
	border: 1px solid #2a5080;
	border-radius: 4px 4px 0 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.eng-winbox-titlebar__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	font-size: 0.875rem;
	font-weight: 900;
	color: #fff;
	background: var(--wb-green);
	border: 1px solid var(--wb-green-dark);
	border-radius: 3px;
}

.eng-winbox-titlebar__text {
	font-size: 0.75rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.02em;
}

.eng-tools-section--winbox .section-badge,
.eng-winbox-badge {
	background: var(--wb-panel-alt) !important;
	color: var(--wb-green-hover) !important;
	border: 1px solid var(--wb-border-light) !important;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.eng-tools-section--winbox .eng-shell {
	background: rgba(255, 255, 255, 0.99);
	border-color: rgba(15, 23, 42, 0.1);
}

.eng-tools-section--winbox .eng-shell__head .eng-hero {
	background: transparent;
	border-bottom: none;
	padding-bottom: 4px;
}

.eng-tools-section--winbox .eng-hero__title {
	color: #0f172a;
}

.eng-tools-section--winbox .eng-hero__desc {
	color: #64748b;
}

.eng-tools-section--winbox .eng-hero__kicker {
	color: #0e7490;
}

.eng-tools-section--winbox .eng-hero__viz {
	background: rgba(255, 255, 255, 0.85);
	border-color: rgba(6, 182, 212, 0.15);
	box-shadow: 0 0 16px rgba(6, 182, 212, 0.08);
}

.eng-tools-section--winbox .section-title { color: var(--wb-text); font-weight: 800; }
.eng-tools-section--winbox .section-desc { color: var(--wb-text-muted); }

.eng-tools-section--winbox .eng-shell__head .eng-tools-tabs,
.eng-tools-section--winbox .eng-tools-tabs--flush {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 4px;
	margin: 0;
	padding: 2px 6px 8px;
	background: transparent;
	border: none;
	border-top: none;
	border-radius: 0;
	backdrop-filter: none;
}

.eng-tools-section--winbox .eng-tools-tabs {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 3px;
	margin: 0;
	padding: 3px 5px 4px;
	background: linear-gradient(180deg, #f1f5f9 0%, #e8ecf1 100%);
	border: none;
	border-top: 1px solid rgba(15, 23, 42, 0.07);
	border-radius: 0;
	backdrop-filter: none;
}

.eng-tools-section--winbox .eng-tab {
	flex-direction: column;
	gap: 2px;
	padding: 4px 3px 3px;
	border-radius: 7px;
	font-size: 0.625rem;
	font-weight: 600;
	line-height: 1.2;
	color: #475569;
	border: 1px solid transparent;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.eng-tools-section--winbox .eng-tab:hover {
	color: #0f172a;
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(6, 182, 212, 0.22);
	box-shadow: 0 2px 10px rgba(6, 182, 212, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.eng-tools-section--winbox .eng-tab--paid:hover {
	border-color: rgba(124, 58, 237, 0.28);
	box-shadow: 0 2px 10px rgba(124, 58, 237, 0.08);
}

.eng-tools-section--winbox .eng-tab.is-active {
	color: #0f172a;
	background: #fff;
	border-color: rgba(16, 185, 129, 0.28);
	border-bottom-color: rgba(16, 185, 129, 0.28);
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.07), inset 0 2px 0 #10b981;
}

.eng-tools-section--winbox .eng-tab-icon {
	width: 20px;
	height: 20px;
	background: #e2e8f0;
	border: none;
	border-radius: 6px;
	color: #475569;
	transition: background 0.2s ease, color 0.2s ease;
}

.eng-tools-section--winbox .eng-tab-icon svg {
	width: 20px;
	height: 20px;
}

.eng-tools-section--winbox .eng-tab.is-active .eng-tab-icon {
	background: linear-gradient(145deg, #10b981, #059669);
	border: none;
	color: #fff;
	box-shadow: none;
	animation: none;
}

.eng-tools-section--winbox .eng-tab.is-active .eng-tab-icon svg {
	animation: abannet-active-pulse 2.5s ease-in-out infinite;
}

.eng-tools-section--winbox .eng-tab-label {
	font-size: 0.625rem;
	text-align: center;
}

.eng-tools-section--winbox .eng-tab-tier {
	margin-top: 1px;
	font-size: 0.4375rem;
}

.eng-tools-section--winbox .eng-tools-hub {
	border-top: 1px solid rgba(15, 23, 42, 0.06);
}

@media (max-width: 900px) {
	.eng-tools-section--winbox .eng-shell__head .eng-tools-tabs,
	.eng-tools-section--winbox .eng-tools-tabs--flush,
	.eng-tools-section--winbox .eng-tools-tabs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.eng-tools-section--winbox .eng-shell__head .eng-tools-tabs,
	.eng-tools-section--winbox .eng-tools-tabs--flush,
	.eng-tools-section--winbox .eng-tools-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eng-tools-section--winbox .eng-tab-label {
		font-size: 0.5625rem;
	}
}

.eng-tools-section--winbox .eng-bento {
	background: var(--wb-panel);
	border: 1px solid var(--wb-border);
	border-radius: 0 0 4px 4px;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.eng-tools-section--winbox .eng-bento::before { display: none; }

.eng-tools-section--winbox .eng-bento--subnet-wb {
	background: transparent;
	border: none;
	box-shadow: none;
}

.eng-tools-section--winbox .subnet-wb {
	background: rgba(240, 244, 250, 0.4) !important;
	border-color: rgba(0, 0, 0, 0.06);
}

.eng-tools-section--winbox .eng-input--mono {
	font-family: 'JetBrains Mono', 'Fira Code', 'Lucida Console', monospace !important;
	font-size: 0.8125rem;
}

.eng-tools-section--winbox .eng-input-zone,
.eng-tools-section--winbox .eng-output-zone {
	border-left-color: var(--wb-border);
	background: var(--wb-panel);
}

.eng-tools-section--winbox .eng-input,
.eng-tools-section--winbox .eng-select:not(.link-wb__provision-input) {
	padding: 6px 8px;
	font-size: 0.875rem;
	color: var(--wb-input-text);
	background-color: var(--wb-input-bg);
	border: 1px solid var(--wb-input-border);
	border-radius: 2px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.eng-tools-section--winbox .eng-input:focus {
	border-color: var(--wb-blue);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 2px rgba(74, 126, 184, 0.35);
	background-color: #fff;
}

.eng-tools-section--winbox .eng-select:not(.link-wb__provision-input) {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	padding-right: 28px;
	padding-left: 8px;
	background-color: var(--wb-input-bg);
	background-image: var(--eng-glyph-select-winbox);
	background-repeat: no-repeat;
	background-position: right 5px center;
	background-size: 16px 16px;
}

.eng-tools-section--winbox .eng-select:not(.link-wb__provision-input):focus {
	border-color: var(--wb-blue);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 2px rgba(74, 126, 184, 0.35);
	background-color: #fff;
	background-image: var(--eng-glyph-select-winbox-hover);
	background-repeat: no-repeat;
	background-position: right 5px center;
	background-size: 16px 16px;
}

.eng-tools-section--winbox .eng-select option { background: #fff; color: #1a1a1a; }
.eng-tools-section--winbox .eng-field label { color: var(--wb-text); font-size: 0.8125rem; }
.eng-tools-section--winbox .eng-hint { color: var(--wb-text-muted); }
.eng-tools-section--winbox .eng-tool-badge { background: var(--wb-bg-deep); border-color: var(--wb-green); color: var(--wb-green-hover); border-radius: 2px; }
.eng-tools-section--winbox .eng-tool-title h3 { color: var(--wb-text); font-size: 1.125rem; }
.eng-tools-section--winbox .eng-tool-title p { color: var(--wb-text-muted); }

.eng-tools-section--winbox .cyber-card {
	padding: 12px 14px;
	background: var(--wb-panel-alt);
	border: 1px solid var(--wb-border);
	border-radius: 2px;
}

.eng-tools-section--winbox .cyber-card:hover { border-color: var(--wb-border-light); box-shadow: none; }
.eng-tools-section--winbox .cyber-card-label { color: var(--wb-text-muted); font-size: 0.6875rem; text-transform: uppercase; }
.eng-tools-section--winbox .cyber-card-value { color: var(--wb-green-hover); font-size: 1rem; text-shadow: none; }
.eng-tools-section--winbox .cyber-card--accent .cyber-card-value { color: var(--wb-green-hover); -webkit-text-fill-color: var(--wb-green-hover); }
.eng-tools-section--winbox .cyber-card-note { color: var(--wb-text-muted); }

.eng-tools-section--winbox .stability-gauge { background: var(--wb-bg-deep); }
.eng-tools-section--winbox .stability-gauge-bar { background: linear-gradient(90deg, var(--wb-green-dark), var(--wb-green-hover)); box-shadow: none; }
.eng-tools-section--winbox .eng-slider { background: var(--wb-bg-deep); height: 5px; }
.eng-tools-section--winbox .eng-slider::-webkit-slider-thumb { background: linear-gradient(180deg, var(--wb-green-hover), var(--wb-green-dark)); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); width: 16px; height: 16px; }
.eng-tools-section--winbox .eng-slider-labels { color: var(--wb-text-muted); }

.eng-tools-section--winbox .eng-winbox-btn,
.eng-tools-section--winbox .mikrotik-copy-btn {
	color: #fff !important;
	background: linear-gradient(180deg, var(--wb-green-hover) 0%, var(--wb-green) 100%) !important;
	border: 1px solid var(--wb-green-dark) !important;
	border-radius: 3px !important;
	font-weight: 700 !important;
}

.eng-tools-section--winbox .mikrotik-script-body { color: var(--wb-terminal-text); max-height: 260px; }
.eng-tools-section--winbox .diag-terminal-body,
.eng-tools-section--winbox .code-editor-body,
.eng-tools-section--winbox .link-wb__terminal-body { color: var(--wb-terminal-text); }
.eng-tools-section--winbox .btn-copy-script { color: #fff; background: linear-gradient(180deg, var(--wb-green-hover), var(--wb-green)); border: 1px solid var(--wb-green-dark); }
.eng-tools-section--winbox .eng-error { background: #4a2020; border-color: #7f1d1d; color: #fca5a5; }

/* ═══════════════════════════════════════════════════════════
   Port Check & IP Lookup (v6.35.0) — Visual Diagnostic Grid
   ═══════════════════════════════════════════════════════════ */

.diag-wb__toolbar {
	margin-bottom: 4px;
}

.diag-wb__host-wrap {
	position: relative;
	display: inline-flex;
}

.diag-host-history {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 20;
	margin: 0;
	padding: 4px 0;
	list-style: none;
	max-height: 160px;
	overflow-y: auto;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.14);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.diag-host-history[hidden] {
	display: none;
}

.diag-host-history__item {
	padding: 6px 10px;
	font-size: 0.75rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
	cursor: pointer;
	transition: background 0.12s ease, color 0.12s ease;
}

.diag-host-history__item:hover,
.diag-host-history__item:focus {
	background: rgba(16, 185, 129, 0.1);
	color: #047857;
}

.eng-tools-section--winbox .diag-host-history {
	background: #ffffff;
	border-color: rgba(15, 23, 42, 0.16);
}

.eng-tools-section--winbox .diag-host-history__item {
	color: #0f172a;
}

.diag-wb__input--host {
	width: 168px;
}

.diag-wb__input--port {
	width: 72px;
}

.diag-wb__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 10px;
	margin-bottom: 6px;
	padding: 0 2px;
}

.diag-wb__presets,
.diag-wb__checks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.diag-wb__preset {
	padding: 2px 8px;
	font-size: 0.625rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.diag-wb__preset:hover,
.diag-wb__preset.is-active {
	color: #059669;
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.25);
}

.diag-wb__check {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.625rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	user-select: none;
}

.diag-wb__check input {
	width: 12px;
	height: 12px;
	margin: 0;
	accent-color: #10B981;
	cursor: pointer;
}

.diag-wb__check:has(input:checked) span {
	color: #059669;
}

.diag-wb__run {
	flex-shrink: 0;
}

.diag-wb__results {
	margin-top: 6px;
}

.diag-wb__results-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 6px;
	padding: 0 2px;
}

.diag-wb__session {
	margin-right: auto;
	font-size: 0.625rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
}

.diag-wb__session[hidden] {
	display: none;
}

.diag-wb__loader {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: auto;
	font-size: 0.625rem;
	font-weight: 600;
	color: #059669;
}

.diag-wb__loader[hidden] {
	display: none;
}

.diag-wb__spinner {
	width: 12px;
	height: 12px;
	border: 2px solid rgba(16, 185, 129, 0.2);
	border-top-color: #10B981;
	border-radius: 50%;
	animation: diag-radar-spin 0.75s linear infinite;
}

@keyframes diag-radar-spin {
	to { transform: rotate(360deg); }
}

/* ── Results grid ── */
.diag-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px;
	padding: 10px;
	background: rgba(248, 250, 252, 0.92);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.diag-grid__empty {
	grid-column: 1 / -1;
	padding: 18px 14px;
	text-align: center;
	background: #ffffff;
	border: 1px dashed rgba(15, 23, 42, 0.14);
	border-radius: 8px;
}

.diag-grid__empty[hidden] {
	display: none;
}

.diag-grid__empty p {
	margin: 0;
	font-size: 0.6875rem;
	color: #64748b;
}

.diag-card {
	opacity: 0;
	transform: translateY(8px);
	padding: 12px 14px;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 8px;
	box-shadow:
		0 2px 10px rgba(15, 23, 42, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.95);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.diag-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.diag-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.diag-card__title {
	font-size: 0.6875rem;
	font-weight: 800;
	color: #0f172a;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.diag-card__meta {
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #475569;
}

.diag-card__body--center {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.diag-card__sub {
	margin: 0;
	font-size: 0.625rem;
	color: #64748b;
	text-align: center;
}

.diag-card__error {
	margin: 0;
	font-size: 0.75rem;
	color: #EF4444;
}

.diag-card--error {
	border-color: rgba(239, 68, 68, 0.2);
	background: rgba(254, 242, 242, 0.7);
}

.probe-status-badge {
	display: inline-block;
	padding: 6px 16px;
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1;
	color: #FFFFFF;
	border-radius: 4px;
	letter-spacing: 0.06em;
}

.probe-status-badge--open {
	background: #10B981;
}

.probe-status-badge--closed {
	background: #EF4444;
}

/* ── Ping visualization ── */
.ping-dots {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 1.125rem;
	line-height: 1;
}

.ping-dot {
	color: #CBD5E1;
	transition: color 0.25s ease;
}

.ping-dot--ok {
	color: #10B981;
}

.ping-dot--loss {
	color: #EF4444;
}

.ping-rtt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.ping-rtt__value {
	font-size: 1.625rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
	line-height: 1.1;
}

.ping-rtt__label {
	font-size: 0.625rem;
	font-weight: 700;
	color: #475569;
}

/* ── Traceroute timeline ── */
.trace-tree {
	margin: 0;
	padding: 0 0 0 18px;
	list-style: none;
	border-right: 2px dotted rgba(71, 85, 105, 0.45);
}

.trace-hop {
	position: relative;
	display: grid;
	grid-template-columns: 28px 1fr auto;
	gap: 6px 8px;
	align-items: center;
	padding: 6px 0 6px 10px;
	font-size: 0.6875rem;
	color: #0f172a;
}

.trace-hop::before {
	content: '';
	position: absolute;
	right: -23px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: #10B981;
	border: 2px solid #ffffff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35);
}

.trace-hop__num {
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #475569;
}

.trace-hop__ip {
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-weight: 700;
	color: #0f172a;
}

.trace-hop__lat {
	padding: 2px 8px;
	font-size: 0.625rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #047857;
	background: rgba(16, 185, 129, 0.14);
	border: 1px solid rgba(16, 185, 129, 0.22);
	border-radius: 999px;
}

/* ── Whois metadata card ── */
.whois-kv {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.whois-kv__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 7px 10px;
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 5px;
}

.whois-kv__row dt {
	margin: 0;
	font-size: 0.625rem;
	font-weight: 700;
	color: #475569;
}

.whois-kv__row dd {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
	text-align: left;
}

.eng-tools-section--winbox .diag-wb__preset {
	color: var(--wb-text-muted, #b0b0b0);
	background: var(--wb-panel-alt, #454545);
	border-color: var(--wb-border-light, #5a5a5a);
}

.eng-tools-section--winbox .diag-wb__check {
	color: var(--wb-text-muted, #b0b0b0);
}

/* Light frosted cards on subnet-wb panel — dark readable text */
.eng-tools-section--winbox .diag-grid {
	background: rgba(255, 255, 255, 0.78);
	border-color: rgba(15, 23, 42, 0.12);
}

.eng-tools-section--winbox .diag-card {
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.14);
	box-shadow: 0 3px 14px rgba(15, 23, 42, 0.1);
}

.eng-tools-section--winbox .diag-card__title {
	color: #0f172a;
}

.eng-tools-section--winbox .diag-card__meta,
.eng-tools-section--winbox .diag-wb__session,
.eng-tools-section--winbox .diag-card__sub,
.eng-tools-section--winbox .ping-rtt__label,
.eng-tools-section--winbox .whois-kv__row dt,
.eng-tools-section--winbox .trace-hop__num {
	color: #475569;
}

.eng-tools-section--winbox .ping-rtt__value,
.eng-tools-section--winbox .trace-hop,
.eng-tools-section--winbox .trace-hop__ip,
.eng-tools-section--winbox .whois-kv__row dd {
	color: #0f172a;
}

.eng-tools-section--winbox .diag-grid__empty {
	background: #ffffff;
	border-color: rgba(15, 23, 42, 0.14);
}

.eng-tools-section--winbox .diag-grid__empty p {
	color: #64748b;
}

.eng-tools-section--winbox .whois-kv__row {
	background: #f1f5f9;
	border-color: rgba(15, 23, 42, 0.1);
}

.eng-tools-section--winbox .diag-wb__results-head .subnet-wb__table-title {
	color: #334155;
}

/* ═══════════════════════════════════════════════════════════
   Wireless Link & Site Survey (v6.37.0)
   ═══════════════════════════════════════════════════════════ */

.link-wb__toolbar {
	margin-bottom: 4px;
}

.link-wb__dist-val {
	min-width: 3.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
}

.link-wb__exec {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 10px;
}

.link-wb__global-params {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 12px;
	padding: 7px 10px;
	background: rgba(248, 250, 252, 0.9);
	border: 1px solid rgba(15, 23, 42, 0.07);
	border-radius: 10px;
}

/* v6.61.0 — RF head single inline row + accent frequency */
.link-wb__rf-head {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0 0 10px;
	padding: 10px 14px;
	background: rgba(15, 23, 42, 0.03);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(226, 232, 240, 0.8);
	border-radius: 12px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.link-wb__rf-head-row--inline {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px 14px;
	width: 100%;
}

.link-wb__rf-head-freq {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 0 0 auto;
	min-width: 8.5rem;
}

.link-wb__rf-head-freq--accent .link-wb__rf-head-freq-label {
	color: #991b1b;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-shadow: 0 0 10px rgba(239, 68, 68, 0.42);
}

.link-wb__rf-head-pol {
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex: 1 1 auto;
	min-width: 0;
	align-items: center;
	justify-content: center;
	padding-top: 2px;
}

.link-wb__rf-head-metric {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 0 0 auto;
}

.link-wb__rf-head-metric--noise {
	flex: 0 0 auto;
}

.link-wb__rf-head-freq-label {
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.link-wb__freq-select--head {
	min-width: 8.5rem;
	min-height: 2rem;
	padding: 6px 28px 6px 12px;
	font-size: 0.875rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #7f1d1d;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid rgba(239, 68, 68, 0.42);
	border-radius: 8px;
	box-shadow:
		0 0 0 1px rgba(239, 68, 68, 0.12),
		0 0 14px rgba(239, 68, 68, 0.22),
		inset 0 0 12px rgba(239, 68, 68, 0.06);
	transition:
		border-color 0.22s ease,
		box-shadow 0.22s ease;
}

.link-wb__freq-select--head:hover {
	border-color: rgba(239, 68, 68, 0.58);
	box-shadow:
		0 0 0 1px rgba(239, 68, 68, 0.18),
		0 0 18px rgba(239, 68, 68, 0.32),
		inset 0 0 14px rgba(239, 68, 68, 0.08);
}

.link-wb__freq-select--head:focus {
	outline: none;
	border-color: rgba(220, 38, 38, 0.65);
	box-shadow:
		0 0 0 2px rgba(239, 68, 68, 0.22),
		0 0 22px rgba(239, 68, 68, 0.38),
		inset 0 0 16px rgba(239, 68, 68, 0.1);
}

.link-wb__rf-head-row--inline .link-wb__pol-caps--console {
	flex-wrap: nowrap;
	justify-content: center;
}

.link-wb__rf-head-row--inline .link-wb__channel-select--console,
.link-wb__rf-head-row--inline .link-wb__metric-input-wrap {
	min-width: 5.5rem;
}

@media (max-width: 1100px) {
	.link-wb__rf-head-row--inline {
		flex-wrap: wrap;
	}
}

@media (max-width: 720px) {
	.link-wb__rf-head-row--inline {
		flex-direction: column;
		align-items: stretch;
	}

	.link-wb__rf-head-pol {
		flex-basis: 100%;
	}

	.link-wb__rf-head-row--inline .link-wb__pol-caps--console {
		flex-wrap: wrap;
	}
}

.link-wb__site-hw {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 8px;
	padding: 8px 9px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 10px;
}

.link-wb__site-hw-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 0;
}

.link-wb__site-hw-label {
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.link-wb__hw-select--site {
	width: 100%;
	padding: 6px 24px 6px 8px;
	font-size: 0.6875rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #1e293b;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 8px;
}

.link-wb__site-hw .link-wb__hw-meta {
	margin: 0;
	padding: 4px 8px;
	background: rgba(241, 245, 249, 0.9);
	border: 1px solid rgba(15, 23, 42, 0.05);
	border-radius: 6px;
	line-height: 1.45;
}

.link-wb__site-hw .link-wb__matrix-field--power {
	margin-top: 2px;
}

/* v6.56.0 — frosted RF global console */
.link-wb__global-console {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px 18px;
	margin: 0 0 10px;
	padding: 10px 16px;
	background: rgba(15, 23, 42, 0.03);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(226, 232, 240, 0.8);
	border-radius: 12px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.link-wb__global-console__block {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.link-wb__global-console__block--pol {
	flex: 1 1 280px;
}

.link-wb__global-console__block--metric {
	flex: 0 0 auto;
}

.link-wb__global-console__label {
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.2;
}

.link-wb__pol-caps--console {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
}

.link-wb__pol-cap--console span {
	display: inline-flex;
	align-items: center;
	min-height: 2rem;
	padding: 5px 10px;
	font-size: 0.6875rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #475569;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition:
		color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
		background 0.22s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-wb__pol-cap--console:hover span {
	color: #0f172a;
	border-color: rgba(100, 116, 139, 0.45);
	box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.link-wb__pol-cap--console input:checked + span {
	color: #065f46;
	background: linear-gradient(180deg, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.08) 100%);
	border-color: rgba(16, 185, 129, 0.4);
	box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12), 0 2px 8px rgba(16, 185, 129, 0.12);
}

.link-wb__channel-select--console {
	min-width: 108px;
	padding: 5px 28px 5px 10px;
	font-size: 0.6875rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	cursor: pointer;
	transition:
		border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-wb__channel-select--console:hover {
	border-color: rgba(100, 116, 139, 0.5);
	box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.link-wb__channel-select--console:focus {
	outline: none;
	border-color: rgba(16, 185, 129, 0.45);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}

.link-wb__metric-input-wrap {
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	overflow: hidden;
	transition:
		border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-wb__metric-input-wrap:hover {
	border-color: rgba(100, 116, 139, 0.5);
	box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.link-wb__metric-input-wrap:focus-within {
	border-color: rgba(16, 185, 129, 0.45);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
	transform: none;
}

.link-wb__noise-input--console {
	width: 52px;
	padding: 5px 6px 5px 10px;
	font-size: 0.6875rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
	background: transparent;
	border: none;
	text-align: right;
	-moz-appearance: textfield;
}

.link-wb__noise-input--console::-webkit-outer-spin-button,
.link-wb__noise-input--console::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.link-wb__noise-input--console:focus {
	outline: none;
}

.link-wb__metric-unit {
	padding: 5px 10px 5px 4px;
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
	background: rgba(248, 250, 252, 0.95);
	border-left: 1px solid rgba(226, 232, 240, 0.9);
	white-space: nowrap;
}

.link-wb__stage--matrix .link-wb__stage-desc {
	margin-top: 1px;
	font-size: 0.625rem;
	color: #64748b;
	line-height: 1.45;
	opacity: 0.92;
}

@media (max-width: 720px) {
	.link-wb__global-console {
		padding: 8px 12px;
		gap: 8px 12px;
	}

	.link-wb__global-console__block--pol {
		flex-basis: 100%;
	}

	.link-wb__pol-cap--console span {
		font-size: 0.625rem;
		padding: 4px 8px;
	}
}

.link-wb__global-params-group {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.link-wb__global-params-group--pol {
	flex: 1 1 auto;
	min-width: 0;
}

.link-wb__global-params-compact {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	flex: 0 0 auto;
}

.link-wb__global-params-compact > span {
	font-size: 0.625rem;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.link-wb__global-params-compact--noise .link-wb__noise-input--compact {
	width: 58px;
	padding-inline: 6px;
	text-align: center;
}

.link-wb__channel-select--compact {
	width: 72px;
	min-width: 72px;
	padding: 4px 6px;
	font-size: 0.6875rem;
}

.link-wb__noise-input--compact {
	padding: 4px 6px;
	font-size: 0.6875rem;
}

.link-wb__global-pol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	padding: 8px 10px;
	background: rgba(248, 250, 252, 0.9);
	border: 1px solid rgba(15, 23, 42, 0.07);
	border-radius: 10px;
}

.link-wb__global-pol-label {
	font-size: 0.6875rem;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.link-wb__pol-caps {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.link-wb__pol-cap {
	position: relative;
	cursor: pointer;
}

.link-wb__pol-cap input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.link-wb__pol-cap span {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	font-size: 0.625rem;
	font-weight: 700;
	color: #475569;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 999px;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.link-wb__pol-cap input:checked + span {
	color: #047857;
	background: rgba(16, 185, 129, 0.12);
	border-color: rgba(16, 185, 129, 0.35);
}

.link-wb__pol-cap:hover span {
	border-color: rgba(16, 185, 129, 0.28);
}

.link-wb__global-rf {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
	margin: 0 0 12px;
	padding: 8px 10px;
	background: rgba(248, 250, 252, 0.9);
	border: 1px solid rgba(15, 23, 42, 0.07);
	border-radius: 10px;
}

.link-wb__global-rf .link-wb__global-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 140px;
}

.link-wb__global-rf .link-wb__global-field span {
	font-size: 0.6875rem;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.link-wb__channel-select,
.link-wb__noise-input {
	padding: 6px 10px;
	font-size: 0.75rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 8px;
}

.link-wb__global-field .link-wb__field-unit {
	font-size: 0.625rem;
	font-style: normal;
	font-weight: 600;
	color: #94a3b8;
	margin-top: 2px;
}

.link-wb__history {
	margin: 0 0 12px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	backdrop-filter: blur(8px);
}

.link-wb__history-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.link-wb__history-head--fa {
	direction: rtl;
	text-align: right;
}

.link-wb__history-title {
	font-size: 0.75rem;
	font-weight: 700;
	color: #334155;
}

.link-wb__history-hint {
	font-size: 0.625rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.link-wb__history-tags {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
}

.link-wb__history-empty {
	font-size: 0.6875rem;
	font-weight: 500;
	color: #94a3b8;
	white-space: nowrap;
}

.link-wb__history-tag {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 6px 4px 10px;
	font-size: 0.6875rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #475569;
	background: rgba(248, 250, 252, 0.88);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	transition:
		background 0.22s cubic-bezier(0.4, 0, 0.2, 1),
		border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
		color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.link-wb__history-tag-text {
	pointer-events: none;
}

.link-wb__history-tag-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.125rem;
	height: 1.125rem;
	padding: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
	color: #94a3b8;
	background: rgba(15, 23, 42, 0.05);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	flex-shrink: 0;
	transition:
		color 0.18s ease,
		background 0.18s ease,
		transform 0.18s ease;
}

.link-wb__history-tag-remove:hover {
	color: #dc2626;
	background: rgba(239, 68, 68, 0.14);
	transform: scale(1.08);
}

.link-wb__history-tag:hover {
	color: #0f766e;
	border-color: rgba(20, 184, 166, 0.45);
	background: rgba(240, 253, 250, 0.95);
	box-shadow:
		0 0 0 1px rgba(20, 184, 166, 0.22),
		0 0 12px rgba(6, 182, 212, 0.18);
	transform: translateY(-1px);
}

.link-wb__history-tag.is-active {
	color: #047857;
	border-color: rgba(16, 185, 129, 0.4);
	background: rgba(16, 185, 129, 0.14);
}

.link-wb__capacity-banner {
	margin: 0 0 10px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	direction: rtl;
	text-align: right;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.link-wb__capacity-label {
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__capacity-banner--fa .link-wb__capacity-val {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.55;
	color: #0f172a;
	text-align: right;
}

.link-wb__capacity-banner--warn {
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(245, 158, 11, 0.28);
}

.link-wb__capacity-banner--warn .link-wb__capacity-val {
	color: #b45309;
}

.link-wb__capacity-banner--ok {
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.22);
}

.link-wb__capacity-banner--ok .link-wb__capacity-val {
	color: #047857;
}

.link-wb__kpi-val--availability {
	font-family: 'JetBrains Mono', Consolas, monospace;
}

.link-wb__kpi--availability.link-wb__kpi--ok .link-wb__kpi-val {
	color: #047857;
}

.link-wb__kpi {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	min-height: 64px;
}

.link-wb__kpi-label {
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__kpi-val {
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.45;
	color: #0f172a;
}

.link-wb__kpi--ok {
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.22);
}

.link-wb__kpi--ok .link-wb__kpi-val {
	color: #047857;
}

.link-wb__kpi--blocked {
	background: rgba(185, 28, 28, 0.12);
	border-color: rgba(153, 27, 27, 0.28);
}

.link-wb__kpi--blocked .link-wb__kpi-label {
	color: #991b1b;
}

.link-wb__kpi--blocked .link-wb__kpi-val {
	color: #7f1d1d;
}

.link-wb__kpi--warn {
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(245, 158, 11, 0.22);
}

.link-wb__kpi--warn .link-wb__kpi-val {
	color: #b45309;
}

.link-wb__advisor {
	margin: 0 0 10px;
	padding: 10px 12px;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.6;
	border-radius: 8px;
	border: 1px solid transparent;
	direction: rtl;
	text-align: right;
}

.link-wb__advisor[hidden] {
	display: none;
}

.link-wb__advisor--strategic {
	color: #991b1b;
	background: rgba(239, 68, 68, 0.08);
	border-color: rgba(239, 68, 68, 0.18);
}

.link-wb__advisor--warn {
	color: #b45309;
	background: rgba(245, 158, 11, 0.08);
	border-color: rgba(245, 158, 11, 0.18);
}

.link-wb__advisor--info {
	color: #475569;
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(15, 23, 42, 0.08);
}

.link-wb__hw-line {
	margin: 0 0 4px;
	font-size: 0.875rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
}

.link-wb__hw-meta {
	margin: 0 0 6px;
	font-size: 0.6875rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
	line-height: 1.5;
}

.link-wb__rf-drawer {
	margin-top: 8px;
	margin-bottom: 8px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.55);
}

.link-wb__rf-drawer-toggle {
	padding: 8px 12px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.link-wb__rf-drawer-toggle::-webkit-details-marker {
	display: none;
}

.link-wb__rf-drawer[open] .link-wb__rf-drawer-toggle {
	color: #059669;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.link-wb__rf-drawer--layer3 {
	border: 1px solid rgba(5, 150, 105, 0.18);
	border-radius: 10px;
	background: linear-gradient(165deg, rgba(248, 250, 252, 0.98) 0%, rgba(236, 253, 245, 0.45) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 4px 18px rgba(15, 23, 42, 0.04);
	overflow: hidden;
}

.link-wb__rf-drawer--layer3 .link-wb__rf-drawer-toggle {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.link-wb__rf-drawer--layer3[open] .link-wb__rf-drawer-toggle {
	background: linear-gradient(90deg, rgba(236, 253, 245, 0.65), transparent);
}

.link-wb__rf-grid--telemetry {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(9.25rem, 1fr));
	gap: 8px;
	padding: 12px 14px 14px;
}

.link-wb__rf-grid--telemetry .link-wb__rf-cell {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 8px 10px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid rgba(15, 23, 42, 0.07);
	border-radius: 8px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.link-wb__rf-grid--telemetry .link-wb__rf-cell:hover {
	border-color: rgba(5, 150, 105, 0.28);
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.link-wb__rf-grid--telemetry .link-wb__rf-cell--blocked {
	background: linear-gradient(135deg, rgba(254, 242, 242, 0.98) 0%, rgba(254, 226, 226, 0.55) 100%);
	border-color: rgba(220, 38, 38, 0.38);
	box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.12);
}

.link-wb__rf-grid--telemetry .link-wb__rf-cell--blocked em {
	color: #b91c1c;
}

.link-wb__rf-grid--telemetry .link-wb__rf-cell--blocked .link-wb__nums-en {
	color: #991b1b;
}

.link-wb__rf-grid--telemetry .link-wb__rf-cell--premium {
	background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(209, 250, 229, 0.55) 100%);
	border-color: rgba(5, 150, 105, 0.38);
	box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.link-wb__rf-grid--telemetry em {
	font-size: 0.625rem;
	font-weight: 600;
	font-style: normal;
	color: #64748b;
	letter-spacing: 0.015em;
	line-height: 1.35;
}

.link-wb__rf-grid--telemetry .link-wb__rf-cell--premium em {
	color: #047857;
}

.link-wb__rf-grid--telemetry .link-wb__nums-en {
	font-size: 0.6875rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace;
	font-variant-numeric: tabular-nums;
	color: #1e293b;
	line-height: 1.4;
}

.link-wb__rf-grid--telemetry .link-wb__rf-cell--premium .link-wb__nums-en {
	color: #065f46;
}

.link-wb__rf-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 12px;
	padding: 10px 12px 12px;
}

.link-wb__rf-grid span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px 8px;
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.05);
	border-radius: 6px;
}

.link-wb__rf-grid em {
	font-size: 0.625rem;
	font-weight: 600;
	font-style: normal;
	color: #94a3b8;
}

.link-wb__rf-grid b {
	font-size: 0.6875rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #334155;
}

.eng-tools-section--winbox .link-wb__kpi {
	background: rgba(255, 255, 255, 0.9);
}

.eng-tools-section--winbox .link-wb__kpi--ok {
	background: rgba(16, 185, 129, 0.12);
}

.eng-tools-section--winbox .link-wb__rf-drawer {
	background: rgba(255, 255, 255, 0.85);
}

.link-wb__map-wrap {
	position: relative;
	margin-bottom: 16px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.72);
}

.link-wb__map-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 6px;
	padding: 4px 8px;
	background: rgba(248, 250, 252, 0.95);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.link-wb__map-head .link-wb__map-place {
	flex: 1 1 auto;
	padding: 0;
	background: transparent;
	border-bottom: none;
	direction: rtl;
	text-align: right;
	gap: 4px;
}

.link-wb__map-place-btns {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	direction: ltr;
	text-align: left;
}

.link-wb__map-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-inline-start: auto;
	position: relative;
	z-index: 5;
}

.link-wb__map-tool-btn {
	padding: 2px 10px;
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 999px;
	transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.link-wb__map-tool-btn:hover,
.link-wb__map-tool-btn.is-active,
.link-wb__map-tool-btn[aria-pressed="true"] {
	color: #047857;
	background: rgba(16, 185, 129, 0.12);
	border-color: rgba(16, 185, 129, 0.28);
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
	transform: translateY(-1px);
}

.link-wb__map-wrap--expanded #abannet-survey-map,
#abannet-survey-map.link-wb__map--expanded {
	height: 300px;
	min-height: 300px;
	max-height: 300px;
}

.link-wb__stage-head-meta {
	display: flex;
	justify-content: flex-end;
	margin-top: 6px;
}

.link-wb__stage-head--sites .link-wb__stage-head-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px 14px;
	flex-wrap: nowrap;
}

.link-wb__stage-head--sites .link-wb__stage-head-row .link-wb__stage-title {
	flex: 1 1 auto;
	min-width: 0;
}

.link-wb__dist-badge--inline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #0d9488;
	background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(6, 182, 212, 0.07) 100%);
	border: 1px solid rgba(20, 184, 166, 0.24);
	border-radius: 999px;
	flex-shrink: 0;
	cursor: default;
	transition:
		box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-wb__dist-badge--inline:hover {
	border-color: rgba(20, 184, 166, 0.48);
	background: linear-gradient(135deg, rgba(20, 184, 166, 0.16) 0%, rgba(6, 182, 212, 0.12) 100%);
	box-shadow:
		0 0 0 1px rgba(20, 184, 166, 0.14),
		0 0 14px rgba(20, 184, 166, 0.32),
		0 0 26px rgba(6, 182, 212, 0.2);
	transform: translateY(-1px);
}

.link-wb__dist-badge--inline .link-wb__dist-val {
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-weight: 800;
	color: #0f766e;
	transition: color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-wb__dist-badge--inline:hover .link-wb__dist-val {
	color: #0d9488;
}

.link-wb__exec--fa {
	direction: rtl;
	text-align: right;
}

.link-wb__exec--fa .link-wb__kpi {
	text-align: right;
	align-items: flex-end;
}

.link-wb__exec--fa .link-wb__kpi-label {
	width: 100%;
	text-align: right;
	line-height: 1.35;
}

.link-wb__exec--fa .link-wb__kpi-val {
	width: 100%;
	text-align: right;
	direction: rtl;
	unicode-bidi: plaintext;
	font-size: 0.8125rem;
	line-height: 1.55;
	font-weight: 600;
}

.link-wb__kpi-val--ltr-nums {
	unicode-bidi: embed;
	direction: ltr;
	text-align: left;
	display: inline-block;
	width: 100%;
}

.link-wb__exec--fa .link-wb__kpi-val--ltr-nums {
	text-align: right;
	direction: rtl;
	unicode-bidi: plaintext;
}

.link-wb__exec--fa .link-wb__kpi--signal .link-wb__kpi-val {
	unicode-bidi: plaintext;
}

.link-wb__rssi-meter {
	display: flex;
	flex-direction: column;
	gap: 7px;
	width: 100%;
	margin-top: 2px;
}

.link-wb__rssi-meter-track {
	position: relative;
	height: 12px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.1);
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.14);
	overflow: hidden;
}

.link-wb__rssi-meter-fill {
	position: relative;
	z-index: 1;
	height: 100%;
	width: 0;
	border-radius: inherit;
	transition: background 0.35s ease;
	box-shadow:
		0 0 10px rgba(239, 68, 68, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.link-wb__rssi-meter-sheen {
	position: absolute;
	z-index: 2;
	inset: 0;
	background: linear-gradient(
		105deg,
		transparent 0%,
		rgba(255, 255, 255, 0.15) 42%,
		rgba(255, 255, 255, 0.45) 50%,
		rgba(255, 255, 255, 0.15) 58%,
		transparent 100%
	);
	background-size: 220% 100%;
	animation: linkWbRssiSheen 2.2s linear infinite;
	pointer-events: none;
	mix-blend-mode: soft-light;
}

.link-wb__rssi-meter-readout {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 1rem;
}

.link-wb__rssi-meter-live-dot {
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ef4444;
	box-shadow: 0 0 8px rgba(239, 68, 68, 0.55);
	animation: linkWbRssiLiveBlink 1.2s ease-in-out infinite;
}

.link-wb__rssi-meter-grade {
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1.35;
	color: #334155;
	text-align: left;
	direction: ltr;
	unicode-bidi: embed;
}

.link-wb__exec--fa .link-wb__rssi-meter-grade {
	text-align: right;
}

.link-wb__rssi-meter--stable .link-wb__rssi-meter-live-dot {
	background: #22c55e;
	box-shadow: 0 0 8px rgba(34, 197, 94, 0.65);
}

.link-wb__rssi-meter--stable .link-wb__rssi-meter-grade {
	color: #15803d;
}

.link-wb__rssi-meter--unstable .link-wb__rssi-meter-live-dot {
	background: #f59e0b;
	box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.link-wb__rssi-meter--unstable .link-wb__rssi-meter-grade {
	color: #b45309;
}

.link-wb__rssi-meter--blocked .link-wb__rssi-meter-live-dot {
	background: #ef4444;
	box-shadow: 0 0 10px rgba(239, 68, 68, 0.75);
	animation: linkWbRssiLiveBlink 0.65s ease-in-out infinite;
}

.link-wb__rssi-meter--blocked .link-wb__rssi-meter-grade {
	color: #b91c1c;
}

.link-wb__rssi-meter--blocked .link-wb__rssi-meter-fill {
	box-shadow:
		0 0 12px rgba(239, 68, 68, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@keyframes linkWbRssiSheen {
	0% {
		background-position: 120% 0;
	}
	100% {
		background-position: -120% 0;
	}
}

@keyframes linkWbRssiLiveBlink {
	0%,
	100% {
		opacity: 0.5;
		transform: scale(0.9);
	}
	50% {
		opacity: 1;
		transform: scale(1.1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.link-wb__rssi-meter-sheen,
	.link-wb__rssi-meter-live-dot {
		animation: none;
	}
}

.link-wb__map-wrap--expanded #abannet-survey-map {
	height: 300px;
	min-height: 300px;
	max-height: 300px;
}

.link-wb__map-wrap:fullscreen {
	display: flex;
	flex-direction: column;
	padding: 10px;
	background: #f8fafc;
	border-radius: 0;
}

.link-wb__map-wrap:fullscreen .link-wb__map-head {
	flex-shrink: 0;
}

.link-wb__map-wrap:fullscreen #abannet-survey-map {
	flex: 1 1 auto;
	height: auto;
	min-height: 0;
	max-height: none;
}

.link-wb__map-wrap:fullscreen .link-wb__map-credit {
	flex-shrink: 0;
	margin: 6px 0 0;
}

.link-wb__map-place {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 0;
	background: transparent;
	border-bottom: none;
}

.link-wb__map-place-label {
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__map-place-btn {
	padding: 2px 10px;
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 999px;
	transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.link-wb__map-place-btn:hover {
	color: #047857;
	background: rgba(16, 185, 129, 0.12);
	border-color: rgba(16, 185, 129, 0.28);
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
	transform: translateY(-1px);
}

.link-wb__map-place-btn--kml {
	margin-inline-start: auto;
}

#abannet-survey-map.link-wb__map {
	height: 350px;
	min-height: 350px;
	width: 100%;
	border-radius: 0 0 8px 8px;
	z-index: 1;
}

#abannet-survey-map.link-wb__map--compact,
.link-wb__map-wrap--compact #abannet-survey-map {
	height: 180px;
	min-height: 180px;
	max-height: 180px;
}

#abannet-survey-map.link-wb__map .leaflet-container {
	height: 100%;
	width: 100%;
	background: #e2e8f0;
	font-family: inherit;
}

.link-wb__map-wrap .leaflet-tile-pane {
	filter: grayscale(28%) saturate(0.9) contrast(0.98);
}

.link-wb__map-wrap .leaflet-control-zoom a {
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(15, 23, 42, 0.12);
	color: #475569;
}

.link-wb__map-wrap .abannet-needle-pin-wrap {
	background: transparent !important;
	border: none !important;
}

.abannet-needle-pin {
	width: 28px;
	height: 38px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
	filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.28));
}

.abannet-needle-pin__svg {
	display: block;
	width: 28px;
	height: 38px;
	overflow: visible;
}

.leaflet-marker-icon.abannet-needle-pin-wrap {
	background: transparent !important;
	border: none !important;
}

/* v6.55.0 — needle-pin permanent tooltips */
.link-wb__map-wrap .abannet-map-marker-tooltip {
	margin: 0 !important;
	padding: 3px 9px !important;
	background: rgba(255, 255, 255, 0.88) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(15, 23, 42, 0.1) !important;
	border-radius: 999px !important;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1) !important;
	color: #475569 !important;
	font-family: 'JetBrains Mono', Consolas, monospace !important;
	font-size: 0.625rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
}

.link-wb__map-wrap .abannet-map-marker-tooltip--pop {
	color: #334155 !important;
}

.link-wb__map-wrap .abannet-map-marker-tooltip--client {
	color: #047857 !important;
}

.link-wb__map-wrap .leaflet-tooltip-top.abannet-map-marker-tooltip::before {
	display: none;
}

.link-wb__map-wrap .leaflet-tooltip.abannet-map-marker-tooltip {
	pointer-events: none;
}

.link-wb--enterprise .link-wb__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.link-wb__toolbar-left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.link-wb__toolbar-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.link-wb__freq-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__freq-select {
	min-width: 5.5rem;
	padding: 4px 22px 4px 8px;
	font-size: 0.6875rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #334155;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 8px;
}

.link-wb__pdf-btn[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

.link-wb__site-name-label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.link-wb__site-name {
	width: 100%;
	padding: 6px 8px;
	font-size: 0.8125rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
	background: rgba(248, 250, 252, 0.9);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
}

.link-wb__site-name:disabled {
	opacity: 0.72;
	cursor: not-allowed;
}

.link-wb__panel--hw-budget {
	margin-bottom: 10px;
}

.link-wb__hw-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding: 10px 12px 12px;
}

.link-wb__hw-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__hw-field--toggle {
	flex-direction: row;
	align-items: center;
	gap: 8px;
	padding-top: 18px;
}

.link-wb__hw-select {
	width: 100%;
	padding: 6px 24px 6px 8px;
	font-size: 0.75rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #334155;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
}

.link-wb__hw-input {
	width: 100%;
	padding: 6px 8px;
	font-size: 0.75rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #334155;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
}

.link-wb__hw-input:disabled {
	opacity: 0.55;
}

.link-wb__align-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 6px;
	margin: 0 0 10px;
	padding: 0 4px 8px;
}

.link-wb__align-grid span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px 8px;
	background: rgba(248, 250, 252, 0.85);
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 6px;
}

.link-wb__align-grid em {
	font-size: 0.625rem;
	font-weight: 600;
	font-style: normal;
	color: #94a3b8;
}

.link-wb__align-grid b {
	font-size: 0.6875rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #334155;
}

@media (max-width: 640px) {
	.link-wb__hw-grid,
	.link-wb__align-grid {
		grid-template-columns: 1fr;
	}

	.link-wb__hw-field--toggle {
		padding-top: 0;
	}
}

.eng-tools-section--winbox .link-wb__map-wrap {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(15, 23, 42, 0.1);
}

.link-wb__profile-wrap {
	margin-bottom: 4px;
	padding: 8px 10px 0;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.55);
	filter: saturate(0.92);
}

.link-wb__profile-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.link-wb__profile-label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__path-verdict {
	flex: 0 0 auto;
	padding: 3px 10px;
	font-size: 0.625rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	letter-spacing: 0.04em;
	border-radius: 999px;
	border: 1px solid transparent;
}

.link-wb__path-verdict--los {
	color: #047857;
	background: rgba(16, 185, 129, 0.14);
	border-color: rgba(16, 185, 129, 0.35);
}

.link-wb__path-verdict--near {
	color: #b45309;
	background: rgba(245, 158, 11, 0.14);
	border-color: rgba(245, 158, 11, 0.35);
}

.link-wb__path-verdict--nlos {
	color: #b91c1c;
	background: rgba(239, 68, 68, 0.12);
	border-color: rgba(239, 68, 68, 0.32);
}

.link-wb__profile-canvas {
	display: block;
	width: 100%;
	height: 280px;
	border-radius: 6px;
	cursor: crosshair;
	touch-action: none;
}

.link-wb__path-tooltip {
	position: absolute;
	z-index: 4;
	min-width: 190px;
	max-width: 240px;
	padding: 8px 10px;
	font-size: 0.625rem;
	font-weight: 600;
	color: #334155;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	backdrop-filter: blur(10px);
	pointer-events: none;
}

.link-wb__path-tooltip-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 4px;
}

.link-wb__path-tooltip-row:last-child {
	margin-bottom: 0;
}

.link-wb__path-tooltip-row em {
	font-style: normal;
	font-weight: 600;
	color: #94a3b8;
}

.link-wb__path-tooltip-row b {
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-weight: 700;
	color: #0f172a;
}

.link-wb__path-tooltip-row--fa em {
	font-family: Tahoma, 'Segoe UI', sans-serif;
}

.link-wb__path-tooltip-row--ok b {
	color: #16a34a;
}

.link-wb__path-tooltip-row--caution b {
	color: #2563eb;
}

.link-wb__path-tooltip-row--warn b {
	color: #d97706;
}

.link-wb__path-tooltip-row--bad b {
	color: #dc2626;
}

.link-wb__kpi--los {
	border-color: rgba(16, 185, 129, 0.28);
	background: rgba(16, 185, 129, 0.08);
}

.link-wb__kpi--los .link-wb__kpi-val {
	color: #047857;
}

.link-wb__kpi--near {
	border-color: rgba(245, 158, 11, 0.28);
	background: rgba(245, 158, 11, 0.08);
}

.link-wb__kpi--near .link-wb__kpi-val {
	color: #b45309;
}

.link-wb__kpi--nlos {
	border-color: rgba(239, 68, 68, 0.28);
	background: rgba(239, 68, 68, 0.08);
}

.link-wb__kpi--nlos .link-wb__kpi-label,
.link-wb__kpi--nlos .link-wb__kpi-val {
	color: #b91c1c;
}

/* v6.43 — Workflow stages, schematic profile, action bar */
.link-wb--workflow .link-wb__flow {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 10px;
}

.link-wb__stage {
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	filter: saturate(0.92);
}

.link-wb__stage-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px 14px;
	margin-bottom: 10px;
}

.link-wb__stage-head--fa {
	direction: rtl;
	text-align: right;
}

.link-wb__stage-head--fa .link-wb__stage-head-body {
	flex: 1 1 auto;
	min-width: 0;
}

.link-wb__stage-head--sites .link-wb__stage-head-body {
	text-align: right;
}

.link-wb__stage-head--sites {
	align-items: center;
	margin-bottom: 8px;
}

.link-wb__stage-head--sites .link-wb__stage-desc {
	margin-top: 2px;
}

.link-wb__stage-head--sites .link-wb__dist-badge--stage {
	margin-inline-start: 0;
	flex-shrink: 0;
}

.link-wb__site-stack-head--fa {
	direction: rtl;
	text-align: right;
}

.link-wb__site-stack-head--fa .link-wb__site-stack-head-text {
	flex: 1 1 auto;
	min-width: 0;
}

.link-wb--workflow .link-wb__rf-block-label {
	text-align: right;
	direction: rtl;
}

.link-wb--workflow [dir="ltr"],
.link-wb--workflow .link-wb__nums-en,
.link-wb--workflow .link-wb__col-rf-global,
.link-wb--workflow .link-wb__rf-block--tx,
.link-wb--workflow .link-wb__rf-block--rx,
.link-wb--workflow .link-wb__site-fields,
.link-wb--workflow .link-wb__meta--stage {
	text-align: left;
}

.link-wb__stage-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	font-size: 0.75rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #1E293B;
	background: rgba(148, 163, 184, 0.18);
	border-radius: 999px;
}

.link-wb__stage-title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: #1E293B;
}

.link-wb__stage-desc {
	margin: 2px 0 0;
	font-size: 0.6875rem;
	color: #64748b;
}

.link-wb__dist-badge--stage {
	margin-inline-start: auto;
}

/* legacy — overridden by --sites */

.link-wb__elev-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.link-wb__tower-field {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.link-wb__meta--stage {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.link-wb__stage--budget .link-wb__hw-grid {
	padding: 0;
}

.link-wb__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.link-wb__actions--rtl-end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	direction: rtl;
	justify-content: flex-start;
}

.link-wb__action-btn {
	padding: 11px 14px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #1E293B;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 10px;
	transition:
		background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
		color 0.22s ease;
	will-change: transform;
}

.link-wb__actions--rtl-end .link-wb__action-btn--primary,
.link-wb__actions--rtl-end .link-wb__action-btn--pdf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 11rem;
	max-width: 13.5rem;
	padding: 11px 14px;
	font-size: 0.8125rem;
	line-height: 1.2;
	white-space: nowrap;
}

.link-wb__action-btn-label {
	overflow: hidden;
	text-overflow: ellipsis;
}

.link-wb__action-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.link-wb__action-btn-icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.link-wb__eval-wave {
	opacity: 0.35;
	animation: link-wb-eval-wave 1.7s ease-in-out infinite;
}

.link-wb__eval-wave--2 {
	animation-delay: 0.28s;
}

.link-wb__eval-wave--3 {
	animation-delay: 0.56s;
}

@keyframes link-wb-eval-wave {
	0%, 100% {
		opacity: 0.22;
	}
	50% {
		opacity: 1;
	}
}

.link-wb__action-btn--primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #fff;
	background: #64748b;
	border-color: rgba(100, 116, 139, 0.45);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.link-wb__action-btn--primary:hover:not(:disabled):not(.is-running):not(.is-neon-flash) {
	background: linear-gradient(135deg, #10b981, #059669);
	border-color: rgba(16, 185, 129, 0.55);
	box-shadow: 0 0 18px rgba(16, 185, 129, 0.42);
	transform: translateY(-1px);
}

.link-wb__action-btn--primary:active:not(:disabled),
.link-wb__action-btn--primary.is-neon-flash {
	background: linear-gradient(135deg, #34d399 0%, #10b981 45%, #06b6d4 100%);
	border-color: rgba(52, 211, 153, 0.75);
	box-shadow:
		0 0 28px rgba(16, 185, 129, 0.7),
		0 0 48px rgba(6, 182, 212, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transform: translateY(0) scale(0.99);
}

.link-wb__action-btn--primary.is-running {
	opacity: 0.88;
	cursor: wait;
}

.link-wb__action-btn--pdf {
	color: #1E293B;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.06));
	border-color: rgba(16, 185, 129, 0.28);
}

.link-wb__action-btn--pdf:hover:not(:disabled) {
	color: #065f46;
	background: rgba(16, 185, 129, 0.2);
	border-color: rgba(16, 185, 129, 0.42);
	box-shadow: 0 0 12px rgba(16, 185, 129, 0.28);
	transform: translateY(-1px);
}

.link-wb__action-btn--pdf[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.link-wb__action-btn--ghost {
	color: #475569;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.14);
}

.link-wb__action-btn--ghost:hover:not(:disabled) {
	color: #991b1b;
	border-color: rgba(239, 68, 68, 0.35);
	background: rgba(239, 68, 68, 0.15);
	box-shadow: 0 0 10px rgba(239, 68, 68, 0.08);
	transform: translateY(-1px);
}

.link-wb__stage--map {
	margin-bottom: 8px;
}

.link-wb__stage--map .link-wb__stage-head {
	margin-bottom: 4px;
	gap: 4px 8px;
	align-items: center;
}

.link-wb__stage--map .link-wb__stage-num {
	min-width: 1.625rem;
	height: 1.625rem;
	font-size: 0.6875rem;
}

.link-wb__stage--map .link-wb__stage-title {
	font-size: 0.8125rem;
	line-height: 1.3;
}

.link-wb__stage--map .link-wb__stage-desc {
	margin-top: 1px;
	font-size: 0.625rem;
	line-height: 1.35;
}

.link-wb__stage--map .link-wb__map-wrap--compact {
	margin-top: 0;
}

.link-wb__stage--map .link-wb__elev-status {
	margin: 0 0 4px;
	padding: 4px 8px;
	font-size: 0.6875rem;
}

.link-wb__profile-wrap--schematic {
	position: relative;
}

.link-wb__profile-stage {
	position: relative;
}

.link-wb__schematic-labels {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
}

.link-wb__schematic-labels.is-visible {
	opacity: 1;
	visibility: visible;
}

.link-wb__schematic-node {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	width: auto;
	min-width: 0;
	max-width: 120px;
	transition: top 0.2s ease, left 0.2s ease;
}

.link-wb__schematic-node--tx {
	align-items: flex-start;
}

.link-wb__schematic-node--rx {
	align-items: flex-end;
}

.link-wb__schematic-micro {
	position: absolute;
	top: 0;
	left: calc(100% + 4px);
	padding: 1px 4px;
	font-size: 0.5rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #475569;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 3px;
	white-space: nowrap;
	line-height: 1.25;
}

.link-wb__schematic-node--rx .link-wb__schematic-micro {
	left: auto;
	right: calc(100% + 4px);
	color: #047857;
}

.link-wb__schematic-site {
	max-width: 110px;
	padding: 2px 6px;
	font-size: 0.5625rem;
	font-weight: 800;
	color: #0f172a;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 4px;
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.link-wb__schematic-node--rx .link-wb__schematic-site {
	text-align: right;
}

.link-wb__antenna-svg {
	display: none;
}

.link-wb__schematic-telemetry {
	display: none;
}

.link-wb__terrain-caps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 10px;
	padding: 8px 10px;
	background: rgba(248, 250, 252, 0.85);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 10px;
}

.link-wb__terrain-label {
	font-size: 0.6875rem;
	font-weight: 800;
	color: #334155;
	white-space: nowrap;
}

.link-wb__terrain-opts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.link-wb__terrain-cap {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	font-size: 0.625rem;
	font-weight: 700;
	color: #475569;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 999px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.link-wb__terrain-cap:has(input:checked) {
	color: #0f172a;
	background: rgba(99, 102, 241, 0.08);
	border-color: rgba(99, 102, 241, 0.35);
}

.link-wb__terrain-cap input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.link-wb__fresnel-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
	font-size: 0.5625rem;
	font-weight: 700;
}

.link-wb__fresnel-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #64748b;
}

.link-wb__fresnel-legend-item::before {
	content: '';
	width: 14px;
	height: 8px;
	border-radius: 2px;
	border: 1px solid transparent;
}

.link-wb__fresnel-legend-item--f1::before {
	background: rgba(22, 163, 74, 0.35);
	border-color: #16A34A;
}

.link-wb__fresnel-legend-item--f60::before {
	background: rgba(37, 99, 235, 0.32);
	border-color: #2563EB;
}

.link-wb__fresnel-legend-item--los::before {
	background: transparent;
	border-style: dashed;
	border-color: #EC4899;
}

@media (max-width: 720px) {
	.link-wb__actions,
	.link-wb__elev-row,
	.link-wb__coords-grid {
		grid-template-columns: 1fr;
	}

	.link-wb__dist-badge--stage {
		margin-inline-start: 0;
	}

	.link-wb__schematic-node {
		transform: scale(0.88);
	}
}

.link-wb__stage--dual .link-wb__dual-cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	direction: rtl;
	margin-bottom: 12px;
}

.link-wb__other-params {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px 14px;
	align-items: end;
	margin-bottom: 12px;
	padding: 10px 12px;
	background: rgba(248, 250, 252, 0.9);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 10px;
}

.link-wb__other-params--fa .link-wb__other-field span {
	font-size: 0.625rem;
	font-weight: 800;
	color: #334155;
}

.link-wb__climate-select,
.link-wb__terrain-select {
	min-width: 0;
	width: 100%;
	padding: 5px 22px 5px 8px;
	font-size: 0.625rem;
	font-weight: 600;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 6px;
	background: #fff;
}

.link-wb__other-params--fa .link-wb__other-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.link-wb__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.link-wb__other-params-title {
	font-size: 0.6875rem;
	font-weight: 800;
	color: #334155;
}

.link-wb__misc-input {
	width: 4.5rem;
	padding: 4px 8px;
	font-size: 0.6875rem;
	font-family: 'JetBrains Mono', Consolas, monospace;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 6px;
	background: #fff;
}

.link-wb__other-hint {
	margin: 0;
	flex: 1 1 100%;
	font-size: 0.5625rem;
	font-weight: 600;
	color: #94a3b8;
}

.link-wb__align-grid--results {
	margin-top: 8px;
}

.link-wb__site-col--rx {
	order: 1;
}

.link-wb__site-col--tx {
	order: 2;
}

.link-wb__site-col {
	padding: 9px 11px;
	background: rgba(248, 250, 252, 0.72);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.link-wb__site-col:hover {
	border-color: rgba(16, 185, 129, 0.22);
	box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.06);
}

.link-wb__site-col--tx {
	border-top: 3px solid rgba(100, 116, 139, 0.45);
	border-right: none;
}

.link-wb__site-col--rx {
	border-top: 3px solid rgba(16, 185, 129, 0.45);
	border-right: none;
}

.link-wb__col-rf-global {
	display: grid;
	gap: 6px;
	margin-bottom: 8px;
	padding: 6px 8px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 10px;
}

.link-wb__freq-sync-hint {
	margin: 0;
	padding: 4px 8px;
	font-size: 0.625rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #047857;
	background: rgba(16, 185, 129, 0.08);
	border-radius: 6px;
}

.link-wb__site-col--hw-locked .link-wb__global-field--hw .link-wb__hw-select {
	opacity: 0.55;
	cursor: not-allowed;
}

.link-wb__site-col--custom-radio.link-wb__site-col--tx .link-wb__matrix-input[data-link-tx-gain],
.link-wb__site-col--custom-radio.link-wb__site-col--tx .link-wb__matrix-input[data-link-tx-power],
.link-wb__site-col--custom-radio.link-wb__site-col--rx .link-wb__matrix-input[data-link-rx-gain] {
	border-color: rgba(16, 185, 129, 0.28);
	box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.08);
}

@media (max-width: 720px) {
	.link-wb__stage--dual .link-wb__dual-cols {
		grid-template-columns: 1fr;
	}
}

.link-wb__stage--stacked .link-wb__global-rf {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.link-wb__site-stack {
	margin-bottom: 12px;
	padding: 12px 14px;
	background: rgba(248, 250, 252, 0.72);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.link-wb__site-stack:hover {
	border-color: rgba(16, 185, 129, 0.22);
	box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.06);
}

.link-wb__site-stack--tx {
	border-right: 3px solid rgba(100, 116, 139, 0.45);
}

.link-wb__site-stack--rx {
	border-right: 3px solid rgba(16, 185, 129, 0.45);
}

.link-wb__site-stack-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.link-wb__site-stack-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	font-size: 0.6875rem;
	font-weight: 800;
	font-family: 'JetBrains Mono', Consolas, monospace;
	border-radius: 8px;
	color: #1E293B;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(15, 23, 42, 0.1);
}

.link-wb__site-stack-badge--tx {
	color: #475569;
}

.link-wb__site-stack-badge--rx {
	color: #047857;
	border-color: rgba(16, 185, 129, 0.25);
}

.link-wb__site-stack-title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: #1E293B;
}

.link-wb__site-stack-sub {
	margin: 2px 0 0;
	font-size: 0.625rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #94a3b8;
}

.link-wb__site--inline {
	padding: 0;
	margin-bottom: 8px;
	background: transparent;
	border: none;
}

.link-wb__site-head {
	margin-bottom: 6px;
}

.link-wb__rf-block {
	padding: 7px 9px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 10px;
}

.link-wb__rf-block-label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.625rem;
	font-weight: 700;
	color: #64748b;
}

.link-wb__rf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(7.75rem, 1fr));
	gap: 6px;
}

.link-wb__stage-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.link-wb__stage-foot-label {
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #94a3b8;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.link-wb__stage-foot-fa {
	font-size: 0.75rem;
	font-weight: 700;
	color: #64748b;
}

.link-wb__nums-en,
.link-wb__nums-en input,
.link-wb__nums-en select,
.link-wb__nums-en strong,
.link-wb__nums-en b,
.link-wb__nums-en .link-wb__kpi-val,
.link-wb__nums-en .link-wb__align-grid b {
	font-variant-numeric: lining-nums tabular-nums;
	font-feature-settings: 'lnum' 1;
	direction: ltr;
	unicode-bidi: isolate;
}

.link-wb--workflow .link-wb__matrix-input,
.link-wb--workflow .link-wb__coord,
.link-wb--workflow .link-wb__site-name,
.link-wb--workflow .link-wb__freq-select,
.link-wb--workflow .link-wb__hw-select,
.link-wb--workflow .link-wb__global-select {
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.link-wb--workflow .link-wb__matrix-input:hover:not(:disabled):not([readonly]),
.link-wb--workflow .link-wb__coord:hover,
.link-wb--workflow .link-wb__site-name:hover:not(:disabled),
.link-wb--workflow .link-wb__noise-input:hover,
.link-wb--workflow .link-wb__channel-select:hover {
	border-color: rgba(16, 185, 129, 0.5);
	box-shadow: 0 0 8px rgba(6, 182, 212, 0.25);
}

.link-wb--workflow .link-wb__matrix-input:focus:not(:disabled):not([readonly]),
.link-wb--workflow .link-wb__coord:focus,
.link-wb--workflow .link-wb__site-name:focus,
.link-wb--workflow .link-wb__noise-input:focus,
.link-wb--workflow .link-wb__channel-select:focus {
	border-color: rgba(16, 185, 129, 0.5);
	box-shadow: 0 0 8px rgba(6, 182, 212, 0.25);
	outline: none;
}

.link-wb--workflow .link-wb__bw-opt:hover {
	border-color: rgba(16, 185, 129, 0.3);
	background: rgba(16, 185, 129, 0.06);
}

@media (max-width: 720px) {
	.link-wb__stage--stacked .link-wb__global-rf {
		grid-template-columns: 1fr;
	}

	.link-wb__rf-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.link-wb__stage--matrix .link-wb__global-rf {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.link-wb__stage--matrix.link-wb__stage--stacked .link-wb__global-rf {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-wb__global-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__global-field em.link-wb__hw-hint {
	font-size: 0.5625rem;
	font-weight: 700;
	font-style: normal;
	color: #94a3b8;
}

.link-wb__global-select,
.link-wb__stage--matrix .link-wb__hw-select {
	width: 100%;
	padding: 6px 8px;
	font-size: 0.75rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #1E293B;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
}

.link-wb--hw-locked .link-wb__global-field--hw .link-wb__hw-select {
	opacity: 0.55;
	cursor: not-allowed;
}

.link-wb__matrix {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 10px;
}

.link-wb__matrix-col {
	padding: 10px 12px;
	background: rgba(248, 250, 252, 0.85);
	border: 1px solid rgba(15, 23, 42, 0.07);
	border-radius: 10px;
}

.link-wb__matrix-col--tx {
	border-top: 2px solid rgba(100, 116, 139, 0.35);
}

.link-wb__matrix-col--rx {
	border-top: 2px solid rgba(16, 185, 129, 0.35);
}

.link-wb__matrix-title {
	margin: 0 0 10px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #1E293B;
}

.link-wb__matrix-title span {
	display: block;
	margin-top: 2px;
	font-size: 0.625rem;
	font-weight: 600;
	color: #94a3b8;
}

.link-wb__matrix-field {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-bottom: 0;
	font-size: 0.625rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__matrix-input {
	width: 100%;
	padding: 5px 7px;
	font-size: 0.6875rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #1E293B;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
	transition:
		border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-wb__matrix-input:hover:not(:disabled):not([readonly]) {
	border-color: rgba(16, 185, 129, 0.5);
	box-shadow: 0 0 8px rgba(6, 182, 212, 0.25);
}

.link-wb__matrix-input:focus:not(:disabled):not([readonly]) {
	border-color: rgba(16, 185, 129, 0.5);
	box-shadow: 0 0 8px rgba(6, 182, 212, 0.25);
	outline: none;
}

.link-wb__matrix-input:disabled,
.link-wb__matrix-input[readonly] {
	opacity: 0.72;
	background: rgba(241, 245, 249, 0.9);
}

/* v6.58.0 — symmetric RF matrix grid + read-only telemetry badges */
.link-wb__rf-grid--matrix {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: auto auto;
	gap: 6px;
}

.link-wb__rf-grid--compact {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto auto;
}

.link-wb__matrix-field--power {
	margin-bottom: 0;
}

.link-wb__matrix-field--gain {
	margin-bottom: 0;
}

.link-wb__gain-hint {
	display: block;
	margin-top: 2px;
	font-size: 0.5625rem;
	font-weight: 600;
	font-style: normal;
	color: #94a3b8;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.link-wb__gain-hint[hidden] {
	display: none;
}

.link-wb__matrix-field--power .link-wb__matrix-input {
	padding: 6px 8px;
}

.link-wb__matrix-field--span2 {
	grid-row: 1 / span 2;
	display: flex;
	flex-direction: column;
}

.link-wb__matrix-field--span2 .link-wb__matrix-input {
	flex: 1 1 auto;
	min-height: 100%;
}

.link-wb__telemetry {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	padding: 5px 7px;
	background: rgba(241, 245, 249, 0.95);
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 8px;
	user-select: none;
	pointer-events: none;
}

.link-wb__telemetry-label {
	font-size: 0.625rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__telemetry-val {
	margin: 0;
	padding: 0;
	font-size: 0.6875rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f766e;
	line-height: 1.35;
	background: transparent;
	border: 0;
}

.link-wb__freq-select--console,
.link-wb__hw-select--console {
	min-width: 7.5rem;
	padding: 5px 8px;
	font-size: 0.6875rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #334155;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition:
		border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-wb__freq-select--console:hover,
.link-wb__hw-select--console:hover:not(:disabled) {
	border-color: rgba(100, 116, 139, 0.45);
	box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
}

.link-wb__freq-select--console:focus,
.link-wb__hw-select--console:focus {
	outline: none;
	border-color: rgba(20, 184, 166, 0.45);
	box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.12);
}

.link-wb--hw-locked .link-wb__global-console .link-wb__global-field--hw .link-wb__hw-select--console {
	opacity: 0.55;
	cursor: not-allowed;
}

@media (max-width: 720px) {
	.link-wb__rf-grid--matrix {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.link-wb__matrix-field--span2 {
		grid-row: auto;
		grid-column: 1 / -1;
	}
}

.link-wb--custom-radio .link-wb__matrix-input[data-link-tx-gain],
.link-wb--custom-radio .link-wb__matrix-input[data-link-tx-power],
.link-wb--custom-radio .link-wb__matrix-input[data-link-rx-gain] {
	border-color: rgba(16, 185, 129, 0.28);
	box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.08);
}

@media (max-width: 720px) {
	.link-wb__stage--matrix .link-wb__global-rf,
	.link-wb__matrix {
		grid-template-columns: 1fr;
	}
}

.eng-tools-section--winbox .link-wb__matrix-col {
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(15, 23, 42, 0.1);
}

.link-wb__dist-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__coords-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 8px;
}

.link-wb__site {
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 10px;
}

.link-wb__site-head {
	margin-bottom: 8px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #334155;
}

.link-wb__site-fields {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 5px;
}

.link-wb--workflow .link-wb__site-fields .subnet-wb__inline-label {
	font-size: 0.625rem;
	flex-shrink: 0;
}

.link-wb--workflow .link-wb__site-fields .link-wb__coord {
	flex: 1 1 5.75rem;
	min-width: 5.75rem;
	max-width: 7.5rem;
	width: auto;
	padding: 5px 8px;
	font-size: 0.6875rem;
}

.link-wb__elev {
	margin-inline-start: auto;
	padding: 2px 8px;
	font-size: 0.625rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #047857;
	background: rgba(16, 185, 129, 0.08);
	border: 1px solid rgba(16, 185, 129, 0.18);
	border-radius: 999px;
}

.link-wb__elev--mid {
	margin-inline-start: 0;
}

.link-wb__elev-status {
	margin: 0 2px 8px;
	padding: 6px 10px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 6px;
}

.link-wb__elev-status--loading {
	color: #0369a1;
	background: rgba(14, 165, 233, 0.08);
	border-color: rgba(14, 165, 233, 0.18);
}

.link-wb__elev-status--error {
	color: #b45309;
	background: rgba(245, 158, 11, 0.08);
	border-color: rgba(245, 158, 11, 0.18);
}

.link-wb__elev-status[hidden] {
	display: none;
}

.link-wb__verdict--blocked {
	color: #ffffff;
	background: #ef4444;
	border-color: #dc2626;
}

.link-wb__slider {
	flex: 1;
	min-width: 80px;
	max-width: 140px;
	height: 4px;
	accent-color: #10b981;
	cursor: pointer;
}

.link-wb__select {
	width: auto;
	min-width: 96px;
}

.link-wb__meta,
.link-wb__towers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 6px;
	padding: 0 2px;
}

.link-wb__bw {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.link-wb__bw-opt {
	display: inline-flex;
	cursor: pointer;
}

.link-wb__bw-opt input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.link-wb__bw-opt span {
	display: inline-block;
	padding: 2px 8px;
	font-size: 0.625rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #64748b;
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.link-wb__bw-opt input:checked + span,
.link-wb__bw-opt:hover span {
	color: #059669;
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.25);
}

.link-wb__coords {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
}

.link-wb__coord {
	width: 72px;
}

.link-wb__tower {
	width: 52px;
}

.link-wb__unit {
	font-size: 0.625rem;
	font-weight: 600;
	color: #64748b;
}

.link-wb__pop-ref {
	margin-inline-start: auto;
	font-size: 0.625rem;
	font-weight: 600;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #94a3b8;
}

.link-wb__verdict {
	margin: 8px 2px 6px;
	padding: 8px 12px;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.55;
	border-radius: 8px;
	border: 1px solid transparent;
}

.link-wb__verdict--ok {
	color: #047857;
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.22);
}

.link-wb__verdict--warn {
	color: #b45309;
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(245, 158, 11, 0.22);
}

.link-wb__verdict--bad {
	color: #b91c1c;
	background: rgba(239, 68, 68, 0.08);
	border-color: rgba(239, 68, 68, 0.2);
}

.link-wb__strip {
	margin-bottom: 8px;
}

.link-wb__panel {
	margin-bottom: 8px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 10px;
}

.link-wb__panel-head {
	margin-bottom: 8px;
	font-size: 0.6875rem;
	font-weight: 700;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.link-wb__checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.link-wb__check {
	position: relative;
	padding: 6px 10px 6px 28px;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.5;
	color: #334155;
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 6px;
}

.link-wb__check::before {
	content: '';
	position: absolute;
	left: 10px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 50%;
}

.link-wb__check--ok::before {
	background: #10b981;
}

.link-wb__check--warn::before {
	background: #f59e0b;
}

.link-wb__check--bad::before {
	background: #ef4444;
}

.link-wb__hw-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 12px;
	margin-bottom: 8px;
}

.link-wb__hw-grid span {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.link-wb__hw-grid em {
	font-size: 0.625rem;
	font-weight: 600;
	font-style: normal;
	color: #64748b;
}

.link-wb__hw-grid b {
	font-size: 0.75rem;
	font-weight: 700;
	font-family: 'JetBrains Mono', Consolas, monospace;
	color: #0f172a;
}

.link-wb__hw-desc {
	margin: 0 0 6px;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #475569;
}

.link-wb__hint {
	margin: 0 2px 8px;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #64748b;
}

.link-wb__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #ffffff;
	text-decoration: none;
	background: #10b981;
	border-radius: 8px;
	transition: background 0.15s ease;
}

.link-wb__cta:hover {
	background: #059669;
	color: #ffffff;
}

.eng-tools-section--winbox .link-wb__site {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(15, 23, 42, 0.1);
}

.eng-tools-section--winbox .link-wb__site-head {
	color: #334155;
}

.eng-tools-section--winbox .link-wb__elev-status {
	background: rgba(255, 255, 255, 0.85);
	color: #64748b;
}

.eng-tools-section--winbox .link-wb__panel {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(15, 23, 42, 0.1);
}

.eng-tools-section--winbox .link-wb__check {
	background: #ffffff;
	color: #334155;
}

.eng-tools-section--winbox .link-wb__hw-grid b {
	color: #0f172a;
}

.eng-tools-section--winbox .link-wb__bw-opt span {
	background: rgba(255, 255, 255, 0.85);
}

/* Lead gate modal — v6.50.0 */
body.link-wb-lead-gate-open {
	overflow: hidden;
}

.link-wb__lead-gate {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.link-wb__lead-gate[hidden] {
	display: none !important;
}

.link-wb__lead-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.link-wb__lead-gate__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 440px);
	padding: 30px 28px 24px;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.78) 100%);
	box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(22px) saturate(1.5);
	-webkit-backdrop-filter: blur(22px) saturate(1.5);
}

.link-wb__lead-gate__close {
	position: absolute;
	top: 12px;
	left: 12px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.06);
	color: #475569;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease;
}

.link-wb__lead-gate__close:hover {
	background: rgba(15, 23, 42, 0.12);
}

.link-wb__lead-gate__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	margin-bottom: 10px;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #0f766e;
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.25);
}

.link-wb__lead-gate__title {
	margin: 0 0 8px;
	font-size: 1.125rem;
	font-weight: 800;
	color: #0f172a;
}

.link-wb__lead-gate__desc {
	margin: 0 0 18px;
	font-size: 0.8125rem;
	line-height: 1.65;
	color: #64748b;
}

.link-wb__lead-gate__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.link-wb__lead-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.link-wb__lead-field span {
	font-size: 0.75rem;
	font-weight: 700;
	color: #334155;
}

.link-wb__lead-field input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.92);
	font-size: 0.875rem;
	color: #0f172a;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.link-wb__lead-field input:focus {
	outline: none;
	border-color: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.link-wb__lead-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.link-wb__lead-turnstile:empty {
	display: none;
}

.link-wb__lead-gate__error {
	margin: 0;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #b91c1c;
	background: rgba(254, 226, 226, 0.85);
	border: 1px solid rgba(239, 68, 68, 0.25);
}

.link-wb__lead-gate__error[hidden] {
	display: none !important;
}

.link-wb__lead-gate__submit {
	width: 100%;
	margin-top: 4px;
}

.link-wb__lead-gate__legal {
	margin: 14px 0 0;
	font-size: 0.6875rem;
	line-height: 1.6;
	color: #94a3b8;
	text-align: center;
}

.link-wb__lead-otp__actions {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}

.link-wb__lead-otp__actions .link-wb__action-btn {
	flex: 1;
}

.link-wb__lead-otp[hidden] {
	display: none !important;
}

.link-wb__lead-gate__form[hidden] {
	display: none !important;
}

.link-wb__req {
	color: #dc2626;
	font-style: normal;
	font-weight: 700;
}

.link-wb__opt {
	color: #94a3b8;
	font-style: normal;
	font-weight: 500;
	font-size: 0.8125rem;
}

.link-wb__lead-gate__submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Compact slide-verify — same UX as consultation form */
.link-wb__lead-gate .slide-verify--lp {
	position: relative;
	margin: 6px 0 10px;
}

.link-wb__lead-gate .slide-verify--lp[hidden] {
	display: none !important;
}

.link-wb__lead-gate .slide-verify--lp .slide-verify__track {
	position: relative;
	height: 38px;
	border-radius: 999px;
	background: rgba(241, 245, 249, 0.95);
	border: 1px solid rgba(148, 163, 184, 0.35);
	overflow: hidden;
	user-select: none;
	touch-action: none;
	direction: ltr;
}

.link-wb__lead-gate .slide-verify--lp .slide-verify__hint {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 44px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}

.link-wb__lead-gate .slide-verify--lp .slide-verify__fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.22));
}

.link-wb__lead-gate .slide-verify--lp .slide-verify__handle {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 50%;
	cursor: grab;
	background: linear-gradient(145deg, #0f172a, #334155);
	color: #fff;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	will-change: transform;
}

.link-wb__lead-gate .slide-verify--lp .slide-verify__handle:active {
	cursor: grabbing;
}

.link-wb__lead-gate .slide-verify--lp .slide-verify__handle-glow {
	display: none;
}

.link-wb__lead-gate .slide-verify--lp.is-verified .slide-verify__track {
	border-color: rgba(16, 185, 129, 0.45);
}

.link-wb__lead-gate .slide-verify--lp.is-verified .slide-verify__hint {
	color: #047857;
}

.link-wb__lead-gate .slide-verify--lp .slide-verify__particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: visible;
}

@media (max-width: 768px) {
	.link-wb__exec {
		grid-template-columns: 1fr;
	}

	.link-wb__rf-grid {
		grid-template-columns: 1fr;
	}

	.link-wb__coords-grid {
		grid-template-columns: 1fr;
	}

	.link-wb__pop-ref {
		margin-inline-start: 0;
		width: 100%;
	}

	.link-wb__hw-grid {
		grid-template-columns: 1fr;
	}

	.diag-wb__meta {
		flex-direction: column;
		align-items: stretch;
	}

	.diag-wb__input--host,
	.diag-wb__input--port {
		width: 100%;
	}
}

/* ═══ v6.51.0 — Network Workbench layout compaction ═══ */
body.abannet-network-tools-page .eng-tools-section--compact {
	padding-top: 0 !important;
	padding-bottom: 12px !important;
}

body.abannet-network-tools-page .eng-tools-section--page .eng-tools-header {
	margin-bottom: 0;
}

body.abannet-network-tools-page .eng-shell__head {
	margin-top: 0;
}

body.abannet-network-tools-page .eng-shell {
	margin-top: 0;
	border-radius: 14px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px) {
	body.abannet-network-tools-page.abannet-inner-page #main-content.site-main {
		padding-top: calc(var(--header-height, 72px) + 16px) !important;
	}

	body.abannet-network-tools-page .eng-tools-container {
		max-width: calc(100% - 16px);
	}
}

/* ═══ v6.52.0 — Tab icon density + micro-interactions ═══ */
.eng-tools-tabs--flush .eng-tab {
	gap: 4px;
}

.eng-tools-section--winbox .eng-tab:not(.is-active)[data-icon-anim="rotate"]:hover .eng-tab-icon svg {
	animation: abannet-hover-rotate 0.48s ease;
}

.eng-tools-section--winbox .eng-tab:not(.is-active)[data-icon-anim="lift"]:hover .eng-tab-icon svg {
	animation: abannet-hover-lift 0.42s ease;
}

.eng-tools-section--winbox .eng-tab:not(.is-active)[data-icon-anim="flash"]:hover .eng-tab-icon svg {
	animation: abannet-hover-flash 0.45s ease;
}

.eng-tools-section--winbox .eng-tab:not(.is-active)[data-icon-anim="shiver"]:hover .eng-tab-icon svg {
	animation: abannet-hover-shiver 0.5s ease;
}
