/* Blok „Wyprawa na żywo” — front i podgląd w edytorze */

.she-live { margin: 1em 0; }
.she-live-title { margin: 0 0 .5em; }

.she-live-list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.she-live-pick {
	cursor: pointer;
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
	border-radius: 20px;
	padding: 6px 14px;
	font: inherit;
}
.she-live-pick.active {
	background: #1a7f37;
	border-color: #1a7f37;
	color: #fff;
}
.she-live-term { opacity: .7; font-size: .85em; margin-left: 6px; }

.she-live-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 8px 0;
}
.she-live-toolbar button {
	cursor: pointer;
	border: 1px solid #c3c4c7;
	background: #fff;
	border-radius: 6px;
	padding: 8px 14px;
	font: inherit;
}
.she-live-toolbar .she-addfind-btn { background: #b26a00; border-color: #b26a00; color: #fff; }
.she-live-note { color: #b26a00; font-size: .9em; }

.she-live-map { width: 100%; height: 460px; border: 1px solid #c3c4c7; border-radius: 6px; margin: 8px 0; }

/* Ikona GPS na mapie */
.she-locate-ctl {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	font-size: 18px;
	text-decoration: none;
	background: #fff;
}

.she-user-marker { text-align: center; line-height: 1; }
.she-user-marker .she-user-name {
	display: inline-block;
	background: #fff;
	border: 1px solid #1a7f37;
	border-radius: 8px;
	padding: 0 5px;
	font-size: 11px;
	font-weight: 700;
	color: #14532d;
	white-space: nowrap;
	transform: translateY(-2px);
}
.she-user-marker .she-user-ico { font-size: 22px; }

/* Numer działki w obrysie */
.she-parcel-label.leaflet-tooltip {
	background: transparent; border: none; box-shadow: none;
	color: #14532d; font-weight: 700; font-size: 12px;
	text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; padding: 0;
}
.she-parcel-label.leaflet-tooltip::before { display: none; }

.she-live-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.she-live-table th, .she-live-table td { border-bottom: 1px solid #eee; padding: 6px 8px; text-align: left; vertical-align: middle; }
.she-live-table img.she-find-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; cursor: pointer; }
.she-live-cols { display: flex; gap: 24px; flex-wrap: wrap; }
.she-live-cols > div { flex: 1 1 280px; }
.she-live-dot { color: #1a7f37; }

/* Modale */
.she-modal {
	position: fixed; inset: 0; z-index: 100000;
	background: rgba(0,0,0,.55);
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
}
.she-modal[hidden] { display: none; }
.she-modal-box {
	background: #fff; border-radius: 8px; max-width: 680px; width: 100%;
	max-height: 90vh; overflow: auto; padding: 16px;
}
.she-modal-box h4 { margin-top: 0; }
.she-modal-photos img { max-width: 100%; border-radius: 6px; margin: 6px 0; }
.she-modal-map { width: 100%; height: 240px; border: 1px solid #c3c4c7; border-radius: 6px; margin: 8px 0; }
.she-modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.she-modal-actions button { cursor: pointer; padding: 8px 14px; border-radius: 6px; border: 1px solid #c3c4c7; background: #fff; font: inherit; }
.she-modal-actions .primary { background: #1a7f37; border-color: #1a7f37; color: #fff; }
.she-addfind-field { margin: 8px 0; }
.she-addfind-field textarea { width: 100%; }

.she-org-block-preview {
	border: 1px dashed #c3c4c7; border-radius: 6px; padding: 12px 14px; background: #f6f7f7;
}

.she-zoom-info {
	background: #fff;
	padding: 2px 8px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #333;
	box-shadow: 0 1px 3px rgba( 0, 0, 0, .2 );
}
