body:has([data-where-are-we]) .toolgarage-tool-page {
	--tg-accent: #0f766e;
	--tg-accent-soft: #ecfdf5;
}

.wawy-page .tg-tool-title-card {
	border-top-color: #0f766e;
}

.wawy-page .tg-tool-mark {
	background: #ecfdf5;
	border-color: #99f6e4;
	font-size: 24px;
}

.wawy-panel,
.wawy-map-panel {
	display: grid;
	gap: 16px;
}

.wawy-form {
	display: grid;
	gap: 12px;
}

.wawy-form label {
	color: #222;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
}

.wawy-form input {
	background: #fbfbfb;
	border: 1px solid #dcdcdc;
	border-radius: 0;
	color: #222;
	font-size: 16px;
	min-height: 52px;
	padding: 0 14px;
	width: 100%;
}

.wawy-form input:focus {
	border-color: #0f766e;
	outline: 3px solid rgba(15, 118, 110, .14);
}

.wawy-main-button,
.wawy-button-link {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	text-align: center;
}

.wawy-main-button {
	width: 100%;
}

.wawy-help {
	color: #555;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.8;
	margin: 0;
}

.wawy-notice {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #0f766e;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.7;
	margin: 0;
	padding: 12px 14px;
}

.wawy-notice--error {
	background: #fff1f2;
	border-color: #fecdd3;
	color: #be123c;
}

.wawy-url-box {
	background: #fbfbfb;
	border: 1px dashed #cbd5e1;
	color: #0f766e;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.7;
	overflow-wrap: anywhere;
	padding: 14px;
}

.wawy-qr-wrap {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	display: grid;
	justify-items: center;
	padding: 18px;
}

#qrcode {
	background: #fff;
	min-height: 220px;
	padding: 10px;
	width: 220px;
}

.wawy-actions,
.wawy-map-head {
	display: flex;
	gap: 12px;
}

.wawy-actions {
	flex-wrap: wrap;
}

.wawy-actions .tg-button {
	flex: 1 1 220px;
}

.wawy-map-head {
	align-items: center;
	justify-content: space-between;
}

.wawy-map-head h2,
.wawy-list-title {
	color: #111;
	font-size: 22px;
	line-height: 1.35;
	margin: 0;
}

.wawy-map {
	background: #e2e8f0;
	border: 1px solid #dcdcdc;
	height: min(58vh, 560px);
	min-height: 360px;
	width: 100%;
}

.wawy-status-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wawy-status-grid button {
	background: #fff;
	border: 1px solid #d8d8d8;
	color: #424242;
	cursor: pointer;
	font-size: 15px;
	font-weight: 800;
	min-height: 48px;
	padding: 0 14px;
}

.wawy-status-grid button:hover,
.wawy-status-grid button:focus-visible,
.wawy-status-grid button.is-selected {
	border-color: #0f766e;
	color: #0f766e;
}

.wawy-stop-button {
	justify-content: center;
	width: 100%;
}

.wawy-participants {
	display: grid;
	gap: 10px;
}

.wawy-participant {
	align-items: center;
	background: #fbfbfb;
	border: 1px solid #e2e2e2;
	display: grid;
	gap: 10px;
	grid-template-columns: 44px 1fr;
	padding: 12px;
}

.wawy-avatar,
.wawy-marker {
	align-items: center;
	background: #0f766e;
	border: 3px solid #fff;
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(15, 23, 42, .18);
	color: #fff;
	display: grid;
	font-weight: 900;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.wawy-marker.is-inactive {
	background: #737373;
}

.wawy-participant strong {
	color: #222;
	display: block;
	font-size: 16px;
	line-height: 1.45;
}

.wawy-participant span {
	color: #666;
	display: block;
	font-size: 13px;
	line-height: 1.45;
	margin-top: 2px;
}

.wawy-participant.is-inactive {
	opacity: .72;
}

.leaflet-popup-content {
	font-size: 14px;
	line-height: 1.5;
	margin: 12px;
}

@media (max-width: 720px) {
	.wawy-actions,
	.wawy-map-head {
		align-items: stretch;
		flex-direction: column;
	}

	.wawy-actions .tg-button,
	.wawy-map-head .tg-button,
	.wawy-button-link {
		width: 100%;
	}

	.wawy-map {
		height: 54vh;
		min-height: 320px;
	}

	.wawy-status-grid {
		grid-template-columns: 1fr;
	}
}
