/* E-Safe Tools • Lost and Found Pets public interface v1.0.48 */

.esafe-lfp-wrap,
.esafe-lfp-discovery-minimal {
	--esafe-lfp-heading: "Source Sans 3", Inter;
	--esafe-lfp-ui: Inter;
	--esafe-lfp-blue: #1E5476;
	--esafe-lfp-text: #0F2330;
	--esafe-lfp-muted: #5A6A75;
	--esafe-lfp-meta: #9B9B9B;
	--esafe-lfp-link: #E30000;
	--esafe-lfp-link-hover: #0427C4;
	--esafe-lfp-border: #D4DEE6;
	--esafe-lfp-border-soft: #E6E6E6;
	--esafe-lfp-surface: #FFFFFF;
	--esafe-lfp-surface-alt: #F5F5F5;
	--esafe-lfp-button-text: #7A7A7A;
	--esafe-lfp-hover-text: #D8677D;
	--esafe-lfp-hover-border: rgba(241, 193, 193, 0.5);
	--esafe-lfp-hover-shadow: 0 0 6px 0 rgba(224, 90, 90, 0.5);
	--esafe-lfp-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	font-family: var(--esafe-lfp-ui);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--esafe-lfp-text);
	box-sizing: border-box;
}

.esafe-lfp-wrap {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
}

.esafe-lfp-wrap *,
.esafe-lfp-wrap *::before,
.esafe-lfp-wrap *::after,
.esafe-lfp-discovery-minimal *,
.esafe-lfp-discovery-minimal *::before,
.esafe-lfp-discovery-minimal *::after {
	box-sizing: border-box;
}

/* Never allow theme, Elementor, or popup rules to add link underlines. */
.esafe-lfp-wrap a,
.esafe-lfp-wrap a:hover,
.esafe-lfp-wrap a:focus,
.esafe-lfp-wrap a:focus-visible,
.esafe-lfp-wrap a:active,
.esafe-lfp-wrap a:visited,
.esafe-lfp-discovery-minimal a,
.esafe-lfp-discovery-minimal a:hover,
.esafe-lfp-discovery-minimal a:focus,
.esafe-lfp-discovery-minimal a:focus-visible,
.esafe-lfp-discovery-minimal a:active,
.esafe-lfp-discovery-minimal a:visited {
	text-decoration: none !important;
}

.esafe-lfp-wrap p,
.esafe-lfp-discovery-minimal p {
	margin: 0 0 8px;
}

.esafe-lfp-wrap p:last-child,
.esafe-lfp-discovery-minimal p:last-child {
	margin-bottom: 0;
}

.esafe-lfp-wrap .esafe-card {
	display: flow-root;
	width: 100%;
	height: auto !important;
	max-height: none !important;
	align-self: start;
	overflow: visible;
	background: var(--esafe-lfp-surface);
	border: 1px solid var(--esafe-lfp-border);
	border-radius: 10px;
	box-shadow: var(--esafe-lfp-card-shadow);
	padding: 16px;
	margin: 0;
	min-width: 0;
	min-height: 0 !important;
}

.esafe-lfp-wrap .esafe-card-title {
	font-family: var(--esafe-lfp-heading);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--esafe-lfp-blue);
	margin: 0 0 8px;
}

.esafe-lfp-wrap .esafe-label,
.esafe-lfp-discovery-minimal .esafe-label {
	font-family: var(--esafe-lfp-ui);
	font-weight: 400;
	color: #7A7A7A;
}

.esafe-lfp-wrap .esafe-brand-header {
	display: flex;
	align-items: center;
	gap: 12px 14px;
	width: 100%;
	min-width: 0;
	min-height: 0;
	margin: 0 0 14px;
	padding: 10px 12px;
	background: var(--esafe-lfp-surface);
	border: 1px solid var(--esafe-lfp-border);
	border-radius: 10px;
	box-shadow: var(--esafe-lfp-card-shadow);
}

.esafe-lfp-wrap .esafe-brand-logo {
	display: block;
	width: min(160px, 42vw);
	max-width: 160px;
	height: auto;
	flex: 0 1 auto;
}

.esafe-lfp-wrap .esafe-brand-text {
	font-family: var(--esafe-lfp-ui);
	min-width: 0;
}

.esafe-lfp-wrap .esafe-brand-line a {
	font-family: var(--esafe-lfp-ui);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--esafe-lfp-blue);
}

.esafe-lfp-wrap .esafe-brand-line a:hover,
.esafe-lfp-wrap .esafe-brand-line a:focus,
.esafe-lfp-wrap .esafe-brand-line a:focus-visible {
	color: var(--esafe-lfp-hover-text);
}

.esafe-lfp-wrap .esafe-brand-tagline {
	font-family: var(--esafe-lfp-ui);
	font-size: 12px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.4;
	color: var(--esafe-lfp-blue);
	margin-top: 2px;
}

.esafe-lfp-desc {
	font-family: var(--esafe-lfp-ui);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--esafe-lfp-muted);
	margin: 0 0 14px !important;
}

.esafe-lfp-inner,
.esafe-lfp-form,
.esafe-lfp-location-wrap,
.esafe-lfp-location-not-listed {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 0;
}

/* Contain theme, Elementor, popup, and unrelated site-form spacing inside this plugin only. */
.esafe-lfp-wrap .esafe-lfp-inner,
.esafe-lfp-wrap .esafe-lfp-form,
.esafe-lfp-wrap .esafe-lfp-preview,
.esafe-lfp-wrap .esafe-lfp-section,
.esafe-lfp-wrap .esafe-lfp-grid,
.esafe-lfp-wrap .esafe-lfp-field,
.esafe-lfp-wrap .esafe-lfp-actions {
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
}

.esafe-lfp-wrap .esafe-lfp-inner,
.esafe-lfp-wrap .esafe-lfp-form {
	display: flow-root;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible;
}

.esafe-lfp-wrap .esafe-lfp-preview + .esafe-lfp-form {
	margin: 0 !important;
}

.esafe-lfp-wrap .esafe-lfp-preview + .esafe-lfp-section {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0;
}

.esafe-lfp-wrap .esafe-lfp-inner > :first-child {
	margin-top: 0 !important;
}

.esafe-lfp-wrap .esafe-lfp-inner > :last-child {
	margin-bottom: 0 !important;
}

.esafe-lfp-wrap .esafe-lfp-notice + .esafe-lfp-preview,
.esafe-lfp-wrap .esafe-lfp-notice + .esafe-lfp-form {
	margin-top: 12px !important;
}

.esafe-lfp-wrap .esafe-lfp-form > .esafe-lfp-section:first-of-type {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0;
}

.esafe-lfp-wrap .esafe-lfp-inner > .esafe-lfp-preview:first-child {
	margin-top: 0;
}

.esafe-lfp-notice {
	font-family: var(--esafe-lfp-ui);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	margin: 12px 0 0;
	padding: 10px 12px;
	border: 1px solid var(--esafe-lfp-border);
	border-radius: 10px;
	background: var(--esafe-lfp-surface-alt);
	color: var(--esafe-lfp-text);
}

.esafe-lfp-notice-success { border-color: #B7D8C7; }
.esafe-lfp-notice-error { border-color: #E8B5BD; }

.esafe-lfp-section {
	width: 100%;
	min-width: 0;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 14px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--esafe-lfp-border-soft);
	overflow: visible;
}

.esafe-lfp-section-title {
	font-family: var(--esafe-lfp-heading);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--esafe-lfp-blue);
	margin: 0 0 6px;
}

.esafe-lfp-section-desc {
	font-family: var(--esafe-lfp-ui);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--esafe-lfp-muted);
	margin: 0 0 12px !important;
}

.esafe-lfp-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 12px;
	width: 100%;
	min-width: 0;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0;
	padding: 0;
}

.esafe-lfp-field {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0;
	padding: 0;
	overflow: visible;
}

.esafe-lfp-field-full { grid-column: 1 / -1; }

.esafe-lfp-field > label,
.esafe-lfp-filter-field > label,
.esafe-lfp-filter-mini-field > label {
	display: block;
	width: auto;
	min-width: 0;
	min-height: 0;
	margin: 0 0 6px;
	padding: 0;
	font-family: var(--esafe-lfp-ui);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	color: #7A7A7A;
}

.esafe-lfp-field :is(input[type="text"], input[type="email"], input[type="datetime-local"], input[type="file"], input[type="number"], select, textarea),
.esafe-lfp-filter-field :is(input[type="text"], input[type="search"], select),
.esafe-lfp-filter-mini-field :is(input[type="text"], input[type="search"], select) {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 42px;
	height: auto;
	margin: 0;
	padding: 9px 12px;
	font-family: var(--esafe-lfp-ui);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.55;
	color: #A0A0A0;
	background: var(--esafe-lfp-surface);
	border: 1px solid var(--esafe-lfp-border);
	border-radius: 10px;
	box-shadow: none;
}

.esafe-lfp-field textarea { min-height: 84px; resize: vertical; }
.esafe-lfp-field input[type="file"] { padding: 7px 10px; }

.esafe-lfp-field :is(input, select, textarea):focus,
.esafe-lfp-filter-field :is(input, select):focus,
.esafe-lfp-filter-mini-field :is(input, select):focus {
	border-color: var(--esafe-lfp-blue);
	outline: 2px solid #D7E4EC;
	outline-offset: 2px;
	box-shadow: 0 0 0 1px #D7E4EC;
}

.esafe-lfp-hint,
.esafe-lfp-help,
.esafe-lfp-location-status {
	font-family: var(--esafe-lfp-ui);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--esafe-lfp-muted);
	margin: 6px 0 0;
}

.esafe-lfp-status-error { color: #9B2C2C; }

.esafe-lfp-actions,
.esafe-lfp-filter-actions,
.esafe-lfp-filter-modal-actions,
.esafe-lfp-grid-actions,
.esafe-lfp-flyer-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	min-height: 0;
	margin: 12px 0 0;
	padding: 0;
}

.esafe-lfp-btn,
.esafe-lfp-wrap .esafe-lfp-btn,
.esafe-lfp-discovery-minimal .esafe-lfp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
	min-width: 0;
	min-height: 30px;
	margin: 0;
	padding: 7px 14px;
	font-family: var(--esafe-lfp-ui);
	font-size: 14px;
	font-weight: 300;
	font-style: normal;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none !important;
	white-space: normal;
	color: var(--esafe-lfp-button-text);
	background: var(--esafe-lfp-surface-alt);
	border: 1px solid #DADADA;
	border-radius: 10px;
	box-shadow: none;
	cursor: pointer;
	transition: background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.esafe-lfp-btn:hover,
.esafe-lfp-btn:focus,
.esafe-lfp-btn:focus-visible,
.esafe-lfp-wrap .esafe-lfp-btn:hover,
.esafe-lfp-wrap .esafe-lfp-btn:focus,
.esafe-lfp-discovery-minimal .esafe-lfp-btn:hover,
.esafe-lfp-discovery-minimal .esafe-lfp-btn:focus {
	font-size: 14px;
	font-weight: 300;
	line-height: 1;
	text-decoration: none !important;
	color: var(--esafe-lfp-hover-text);
	background: var(--esafe-lfp-surface);
	border-color: var(--esafe-lfp-hover-border);
	box-shadow: var(--esafe-lfp-hover-shadow);
	transform: translateY(-1px);
}

.esafe-lfp-btn:focus-visible,
.esafe-lfp-link:focus-visible,
.esafe-lfp-scroller-item:focus-visible,
.esafe-lfp-grid-img-link:focus-visible {
	outline: 2px solid #1E3A8A;
	outline-offset: 2px;
}

.esafe-lfp-btn.is-submitting,
.esafe-lfp-btn[aria-disabled="true"] {
	opacity: .65;
	pointer-events: none;
	transform: none;
}

.esafe-lfp-link,
.esafe-lfp-link-btn {
	font-family: var(--esafe-lfp-ui);
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	color: var(--esafe-lfp-link);
	text-decoration: none !important;
}

.esafe-lfp-link:hover,
.esafe-lfp-link:focus,
.esafe-lfp-link:focus-visible,
.esafe-lfp-link-btn:hover,
.esafe-lfp-link-btn:focus,
.esafe-lfp-link-btn:focus-visible {
	color: var(--esafe-lfp-link-hover);
	text-decoration: none !important;
}

.esafe-lfp-sep { padding: 0 6px; color: var(--esafe-lfp-muted); }
.esafe-lfp-inline-action { margin-left: 10px; }
.esafe-lfp-inline { display: inline; }
.esafe-lfp-link-btn { background: transparent; border: 0; padding: 0; margin: 0; cursor: pointer; }

.esafe-lfp-rich {
	width: 100%;
	min-width: 0;
	min-height: 0;
	font-family: var(--esafe-lfp-ui);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--esafe-lfp-text);
	background: var(--esafe-lfp-surface);
	border: 1px solid var(--esafe-lfp-border);
	border-radius: 10px;
	padding: 8px 10px;
	overflow-wrap: anywhere;
}

.esafe-lfp-rich p { margin: 0 0 6px; }
.esafe-lfp-rich p:last-child { margin-bottom: 0; }

.esafe-lfp-image-row { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.esafe-lfp-thumb { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--esafe-lfp-border); }

.esafe-lfp-table-wrap {
	width: 100%;
	max-width: 100%;
	margin: 10px 0 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.esafe-lfp-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	border: 1px solid var(--esafe-lfp-border);
	font-family: var(--esafe-lfp-ui);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.esafe-lfp-table th,
.esafe-lfp-table td {
	text-align: left;
	vertical-align: top;
	padding: 10px 12px;
	border-bottom: 1px solid var(--esafe-lfp-border-soft);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.esafe-lfp-table thead th { background: var(--esafe-lfp-surface-alt); color: var(--esafe-lfp-blue); }

.esafe-lfp-preview {
	display: flow-root;
	width: 100%;
	min-width: 0;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 0 10px;
	padding: 12px;
	border: 1px solid var(--esafe-lfp-border);
	border-radius: 10px;
	background: var(--esafe-lfp-surface-alt);
}

.esafe-lfp-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	margin: 0;
	padding: 6px 10px;
	font-family: var(--esafe-lfp-ui);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: #FFFFFF;
	background: var(--esafe-lfp-blue);
	border-radius: 10px;
}

.esafe-lfp-flag-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; min-width: 0; margin: 0 0 10px; }
.esafe-lfp-flag-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.esafe-lfp-flag-aggressive { background: #9B2C2C; }

.esafe-lfp-qr { flex: 0 0 auto; }
.esafe-lfp-qr img { display: block; width: 84px; height: 84px; border: 1px solid var(--esafe-lfp-border); border-radius: 10px; background: var(--esafe-lfp-surface); }

.esafe-lfp-preview-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; align-items: start; width: 100%; min-width: 0; }
.esafe-lfp-preview-grid > * { min-width: 0; min-height: 0; margin: 0; padding: 0; }
.esafe-lfp-preview-grid a { overflow-wrap: anywhere; word-break: break-word; }
.esafe-lfp-preview-img { display: block; width: 180px; height: 180px; max-width: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--esafe-lfp-border); }
.esafe-lfp-preview-grid p,
.esafe-lfp-field p { min-height: 0; font-size: 13px; line-height: 1.45; margin: 0 0 6px !important; padding: 0; overflow-wrap: anywhere; }


/* Individual record card containment and compact content flow. */
.esafe-lfp-wrap .esafe-lfp-case-card,
.esafe-lfp-wrap .esafe-lfp-edit-card,
.esafe-lfp-wrap .esafe-lfp-submission-form {
	position: relative !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	flex: 0 1 auto !important;
	align-self: flex-start !important;
	justify-self: stretch !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin-bottom: 0 !important;
	padding-bottom: 14px;
}

.esafe-lfp-case-card .esafe-lfp-inner,
.esafe-lfp-edit-card .esafe-lfp-inner,
.esafe-lfp-submission-form .esafe-lfp-inner {
	position: static !important;
	float: none !important;
	clear: both !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.esafe-lfp-case-card .esafe-lfp-inner::before,
.esafe-lfp-case-card .esafe-lfp-inner::after,
.esafe-lfp-edit-card .esafe-lfp-inner::before,
.esafe-lfp-edit-card .esafe-lfp-inner::after {
	content: none !important;
	display: none !important;
}

.esafe-lfp-preview-details,
.esafe-lfp-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	column-gap: 16px;
	row-gap: 0;
	width: 100%;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
}

.esafe-lfp-preview-details {
	grid-template-columns: minmax(0, 1fr);
}

.esafe-lfp-detail-item {
	display: grid;
	grid-template-columns: minmax(112px, auto) minmax(0, 1fr);
	align-items: start;
	gap: 6px;
	width: 100%;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 3px 0;
	font-family: var(--esafe-lfp-ui);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--esafe-lfp-text);
	overflow-wrap: anywhere;
}

.esafe-lfp-detail-item-full {
	grid-column: 1 / -1;
}

.esafe-lfp-detail-item .esafe-label {
	line-height: 1.4;
}

.esafe-lfp-detail-value {
	min-width: 0;
	color: var(--esafe-lfp-text);
	overflow-wrap: anywhere;
	word-break: normal;
}

.esafe-lfp-detail-block {
	width: 100%;
	min-width: 0;
	min-height: 0;
	margin: 10px 0 0;
	padding: 0;
}

.esafe-lfp-detail-block-label {
	display: block;
	margin: 0 0 5px;
	font-size: 15px;
	line-height: 1.4;
}

.esafe-lfp-case-details-section {
	margin-top: 12px;
	padding-top: 10px;
}

.esafe-lfp-case-details-section > :last-child,
.esafe-lfp-sightings-section > :last-child,
.esafe-lfp-sighting-form > :last-child {
	margin-bottom: 0 !important;
}

.esafe-lfp-case-actions {
	gap: 8px 10px;
	margin-top: 10px;
}

.esafe-lfp-sightings-section {
	margin-top: 10px;
	padding-top: 10px;
}

.esafe-lfp-sightings-section .esafe-lfp-section-desc {
	margin-bottom: 8px !important;
}

.esafe-lfp-sightings-section .esafe-lfp-notice {
	margin-top: 8px;
}

.esafe-lfp-sighting-form {
	width: 100%;
	min-width: 0;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
}

.esafe-lfp-sighting-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 12px;
}

.esafe-lfp-sighting-help-row {
	margin-top: -4px;
}

.esafe-lfp-sighting-help-row .esafe-lfp-help {
	margin-top: 0;
}

.esafe-lfp-sighting-form textarea {
	min-height: 68px;
	max-height: 180px;
}

.esafe-lfp-sighting-actions {
	gap: 8px;
	margin-top: 8px;
}

.esafe-lfp-sighting-table-wrap {
	margin-top: 10px;
}

.esafe-lfp-sighting-table td {
	overflow-wrap: anywhere;
	word-break: normal;
}

.esafe-lfp-case-card .esafe-lfp-thumb {
	width: 96px;
	height: 96px;
}

/* Discovery wrapper and filters */
.esafe-lfp-discovery-minimal { width: 100%; max-width: 100%; min-width: 0; min-height: 0; margin: 0; padding: 0; }
.esafe-lfp-discovery-grid { position: relative; z-index: 0; }
.esafe-lfp-grid-shell { display: flow-root; position: relative; width: 100%; max-width: 100%; min-width: 0; min-height: 0; clear: both; margin: 0; padding: 0; overflow: visible; }
.esafe-lfp-page-disabled { opacity: .55; cursor: default; pointer-events: none; }
.esafe-lfp-discovery-grid .esafe-lfp-grid-results,
.esafe-lfp-discovery-grid .esafe-lfp-pagination { position: relative; z-index: 0; }

.esafe-lfp-filter-bar { margin: 14px 0 0; padding: 12px; border: 1px solid var(--esafe-lfp-border); border-radius: 10px; background: var(--esafe-lfp-surface); }
.esafe-lfp-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; width: 100%; min-width: 0; min-height: 0; margin: 0; padding: 0; }
.esafe-lfp-filter-field { min-width: 0; min-height: 0; margin: 0; padding: 0; }
.esafe-lfp-filter-field-full { grid-column: 1 / -1; }

.esafe-lfp-filter-mini { width: 100%; min-width: 0; min-height: 0; margin: 0; padding: 0; }
.esafe-lfp-filter-mini-row { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-width: 0; min-height: 0; margin: 0 0 6px; padding: 0; line-height: 1.2; }
.esafe-lfp-filter-mini-row .esafe-lfp-link { display: inline-flex; align-items: center; width: auto; min-width: 0; min-height: 0; margin: 0; padding: 0; line-height: 1.2; white-space: nowrap; }
.esafe-lfp-filter-mini-field { flex: 1 1 240px; min-width: 0; }
.esafe-lfp-filter-mini-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }

body.esafe-lfp-modal-open { overflow: hidden; }
.esafe-lfp-filter-modal { display: none; }
.esafe-lfp-filter-modal.is-open { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; width: 100vw; height: 100dvh; min-height: 0; margin: 0; padding: 12px; }
.esafe-lfp-filter-modal-overlay { position: absolute; inset: 0; background: rgba(15, 35, 48, .55); }
.esafe-lfp-filter-modal-dialog { position: relative; z-index: 1; display: block; width: min(760px, 100%); max-width: 760px; max-height: calc(100dvh - 24px); min-height: 0; margin: 0; padding: 16px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: var(--esafe-lfp-surface); border: 1px solid var(--esafe-lfp-border); border-radius: 10px; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.esafe-lfp-filter-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; min-height: 0; margin: 0 0 12px; padding: 0; }
.esafe-lfp-filter-modal-title { font-family: var(--esafe-lfp-heading); font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--esafe-lfp-blue); }
.esafe-lfp-filter-modal-actions { margin-top: 12px; }

/* Scroller */
.esafe-lfp-discovery-minimal .esafe-lfp-scroller,
.esafe-lfp-discovery-minimal .esafe-lfp-grid-results { margin-top: 10px; }
.esafe-lfp-scroller { width: 100%; min-width: 0; min-height: 0; margin: 10px 0 0; padding: 0; overflow: hidden; background: var(--esafe-lfp-surface); border: 1px solid var(--esafe-lfp-border); border-radius: 10px; }
.esafe-lfp-scroller-viewport { width: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.esafe-lfp-scroller-track { display: flex; align-items: stretch; width: max-content; min-height: 0; will-change: transform; animation: esafe-lfp-marquee var(--esafeScrollDuration, 40s) linear infinite; }
.esafe-lfp-scroller:hover .esafe-lfp-scroller-track,
.esafe-lfp-scroller.esafe-lfp-scroller-paused .esafe-lfp-scroller-track { animation-play-state: paused; }
@keyframes esafe-lfp-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--esafeScrollDist, 1000px))); } }
@media (prefers-reduced-motion: reduce) { .esafe-lfp-scroller-track { animation: none; } }
.esafe-lfp-scroller-set { display: flex; align-items: stretch; gap: 10px; min-height: 0; margin: 0; padding: 8px 10px; }
.esafe-lfp-scroller-item { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 260px; min-width: 260px; max-width: 260px; min-height: 76px; margin: 0; padding: 8px; white-space: normal; color: var(--esafe-lfp-text); background: var(--esafe-lfp-surface); border: 1px solid var(--esafe-lfp-border); border-radius: 10px; box-shadow: var(--esafe-lfp-card-shadow); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.esafe-lfp-scroller-item:hover,
.esafe-lfp-scroller-item:focus,
.esafe-lfp-scroller-item:focus-visible { color: var(--esafe-lfp-text); background: var(--esafe-lfp-surface); border-color: var(--esafe-lfp-hover-border); box-shadow: 0 0 8px 0 rgba(224, 90, 90, .25); transform: translateY(-1px); }
.esafe-lfp-scroller-img { display: block; width: 60px; height: 60px; flex: 0 0 60px; object-fit: cover; border: 1px solid var(--esafe-lfp-border); border-radius: 8px; background: var(--esafe-lfp-surface-alt); }
.esafe-lfp-scroller-meta { min-width: 0; }
.esafe-lfp-scroller-title { margin: 0 0 3px; font-family: var(--esafe-lfp-heading); font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--esafe-lfp-blue); }
.esafe-lfp-scroller-sub { margin: 0 0 3px; font-family: var(--esafe-lfp-ui); font-size: 12px; font-weight: 400; line-height: 1.25; color: var(--esafe-lfp-muted); overflow-wrap: anywhere; }
.esafe-lfp-scroller-sub:last-child { margin-bottom: 0; }

/* Grid cards */
.esafe-lfp-grid-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; min-width: 0; min-height: 0; margin: 14px 0 0; padding: 0; }
.esafe-lfp-grid-card { position: relative; min-width: 0; overflow: hidden; background: var(--esafe-lfp-surface); border: 1px solid var(--esafe-lfp-border); border-radius: 10px; box-shadow: var(--esafe-lfp-card-shadow); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.esafe-lfp-grid-card:hover,
.esafe-lfp-grid-card:focus-within { transform: translateY(-1px); border-color: var(--esafe-lfp-hover-border); box-shadow: 0 0 8px 0 rgba(224, 90, 90, .25); background: var(--esafe-lfp-surface); }
.esafe-lfp-grid-img-link { display: block; width: 100%; }
.esafe-lfp-grid-img { display: block; width: 100%; height: 180px; object-fit: cover; background: var(--esafe-lfp-surface-alt); }
.esafe-lfp-grid-body { min-width: 0; padding: 12px; }
.esafe-lfp-grid-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; margin: 0 0 8px; }
.esafe-lfp-grid-title { margin: 0 0 6px; font-family: var(--esafe-lfp-heading); font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--esafe-lfp-blue); }
.esafe-lfp-grid-sub { margin: 0 0 4px; font-family: var(--esafe-lfp-ui); font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--esafe-lfp-muted); overflow-wrap: anywhere; }
.esafe-lfp-grid-actions { margin-top: 10px; }

/* Pagination is always 13px and bottom right. */
.esafe-lfp-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 12px; width: 100%; min-width: 0; margin: 18px 0 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.esafe-lfp-page-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.esafe-lfp-pagination .esafe-lfp-btn { min-width: 30px; min-height: 30px; height: 30px; padding: 6px 9px; font-size: 13px; font-weight: 300; line-height: 1; }
.esafe-lfp-pagination .esafe-lfp-btn:hover,
.esafe-lfp-pagination .esafe-lfp-btn:focus { font-size: 13px; font-weight: 300; line-height: 1; }
.esafe-lfp-page-meta { order: -1; font-family: var(--esafe-lfp-ui); font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--esafe-lfp-meta); }
.esafe-lfp-page-link,
.esafe-lfp-page-nav { text-align: center; }
.esafe-lfp-page-current,
.esafe-lfp-page-current:hover,
.esafe-lfp-page-current:focus { color: var(--esafe-lfp-hover-text) !important; background: var(--esafe-lfp-surface) !important; border-color: var(--esafe-lfp-hover-border) !important; box-shadow: var(--esafe-lfp-hover-shadow) !important; cursor: default; transform: none; }
.esafe-lfp-page-ellipsis { padding: 0 2px; font-family: var(--esafe-lfp-ui); font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--esafe-lfp-meta); }

/* Flyer support. */
.esafe-lfp-flyer-controls { margin-top: 12px; }
.esafe-lfp-flyer-sheet { font-family: var(--esafe-lfp-ui); color: var(--esafe-lfp-text); }
.esafe-lfp-flyer-title { font-family: var(--esafe-lfp-heading); color: var(--esafe-lfp-blue); }
.esafe-lfp-flyer-desc,
.esafe-lfp-flyer-kv,
.esafe-lfp-flyer-block { font-family: var(--esafe-lfp-ui); }

/* Mobile containment. These rules come after all generic layout rules. */
@media (max-width: 980px) {
	.esafe-lfp-grid-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.esafe-lfp-wrap { width: 100%; max-width: 100%; min-width: 0; min-height: 0 !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
	.esafe-lfp-wrap .esafe-card { display: flow-root; width: 100%; max-width: 100%; min-width: 0; min-height: 0 !important; height: auto !important; max-height: none !important; margin: 0 !important; padding: 14px; overflow: visible; }
	.esafe-lfp-wrap .esafe-brand-header { align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px; }
	.esafe-lfp-wrap .esafe-brand-line a { font-size: 14px; }
	.esafe-lfp-wrap .esafe-brand-tagline { font-size: 11px; }

	.esafe-lfp-grid,
	.esafe-lfp-filter-grid,
	.esafe-lfp-preview-grid,
	.esafe-lfp-grid-results {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		min-width: 0;
		min-height: 0;
		gap: 12px;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}

	.esafe-lfp-field,
	.esafe-lfp-field-full,
	.esafe-lfp-filter-field,
	.esafe-lfp-location-wrap,
	.esafe-lfp-location-not-listed {
		grid-column: 1;
		width: 100%;
		min-width: 0;
		min-height: 0;
		margin: 0;
		padding: 0;
		line-height: 1.55;
		height: auto !important;
		max-height: none !important;
		overflow: visible;
	}

	.esafe-lfp-field > label,
	.esafe-lfp-filter-field > label {
		width: auto;
		min-width: 0;
		min-height: 0;
		margin: 0 0 6px;
		padding: 0;
		line-height: 1.55;
	}

	.esafe-lfp-field :is(input, select, textarea),
	.esafe-lfp-filter-field :is(input, select) {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		min-height: 42px;
		height: auto;
		margin: 0;
		padding: 9px 12px;
		line-height: 1.55;
	}

	.esafe-lfp-section { min-height: 0 !important; height: auto !important; max-height: none !important; margin: 14px 0 0 !important; padding: 12px 0 0 !important; overflow: visible; }
	.esafe-lfp-form > .esafe-lfp-section:first-of-type { margin-top: 0 !important; padding-top: 0 !important; }
	.esafe-lfp-preview { display: flow-root; min-height: 0 !important; height: auto !important; max-height: none !important; margin: 0 0 10px !important; padding: 10px; overflow: visible; }
	.esafe-lfp-preview + .esafe-lfp-form { margin: 0 !important; }
	.esafe-lfp-preview + .esafe-lfp-section { margin-top: 0 !important; padding-top: 0 !important; border-top: 0; }
	.esafe-lfp-preview-img { width: min(100%, 320px); height: auto; aspect-ratio: 1 / 1; justify-self: start; }
	.esafe-lfp-flag-row { align-items: flex-start; gap: 8px; }
	.esafe-lfp-qr img { width: 72px; height: 72px; }
	.esafe-lfp-actions,
	.esafe-lfp-filter-modal-actions,
	.esafe-lfp-grid-actions { gap: 8px; margin-top: 12px; }
	.esafe-lfp-table { min-width: 680px; }
	.esafe-lfp-grid-img { height: 220px; }
	.esafe-lfp-inner > *,
	.esafe-lfp-form > *,
	.esafe-lfp-preview-grid > *,
	.esafe-lfp-grid > * { min-height: 0 !important; height: auto !important; max-height: none !important; }
	.esafe-lfp-wrap p,
	.esafe-lfp-preview-grid p,
	.esafe-lfp-field p { margin-top: 0 !important; margin-bottom: 8px !important; padding: 0 !important; line-height: 1.5 !important; }

	.esafe-lfp-case-card,
	.esafe-lfp-edit-card,
	.esafe-lfp-submission-form {
		flex: 0 1 auto !important;
		align-self: flex-start !important;
		min-height: 0 !important;
		height: auto !important;
		max-height: none !important;
		margin-bottom: 0 !important;
		padding-bottom: 12px;
	}

	.esafe-lfp-preview-details,
	.esafe-lfp-detail-grid {
		grid-template-columns: minmax(0, 1fr);
		column-gap: 0;
		row-gap: 0;
	}

	.esafe-lfp-detail-item {
		grid-template-columns: minmax(108px, 38%) minmax(0, 1fr);
		gap: 6px;
		padding: 3px 0;
		line-height: 1.4;
	}

	.esafe-lfp-detail-block {
		margin-top: 8px;
	}

	.esafe-lfp-case-details-section,
	.esafe-lfp-sightings-section {
		margin-top: 10px !important;
		padding-top: 9px !important;
	}

	.esafe-lfp-case-actions,
	.esafe-lfp-sighting-actions {
		gap: 8px;
		margin-top: 8px;
	}

	.esafe-lfp-case-actions .esafe-lfp-btn,
	.esafe-lfp-sighting-actions .esafe-lfp-btn {
		width: auto;
	}

	.esafe-lfp-sighting-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.esafe-lfp-sighting-grid .esafe-lfp-field {
		grid-column: auto !important;
	}

	.esafe-lfp-sighting-grid .esafe-lfp-field-full {
		grid-column: 1 / -1 !important;
	}

	.esafe-lfp-sighting-form textarea {
		min-height: 64px;
	}

	.esafe-lfp-sighting-table-wrap {
		margin-top: 10px;
		overflow: visible;
	}

	.esafe-lfp-sighting-table {
		display: block;
		width: 100%;
		min-width: 0;
		border: 0;
		background: transparent;
	}

	.esafe-lfp-sighting-table thead {
		display: none;
	}

	.esafe-lfp-sighting-table tbody,
	.esafe-lfp-sighting-table tr,
	.esafe-lfp-sighting-table td {
		display: block;
		width: 100%;
		min-width: 0;
	}

	.esafe-lfp-sighting-table tr {
		margin: 0 0 8px;
		padding: 8px 10px;
		background: var(--esafe-lfp-surface);
		border: 1px solid var(--esafe-lfp-border);
		border-radius: 10px;
		box-shadow: none;
	}

	.esafe-lfp-sighting-table tr:last-child {
		margin-bottom: 0;
	}

	.esafe-lfp-sighting-table td {
		display: grid;
		grid-template-columns: minmax(94px, 34%) minmax(0, 1fr);
		gap: 8px;
		padding: 5px 0;
		border: 0;
		font-size: 13px;
		line-height: 1.4;
	}

	.esafe-lfp-sighting-table td::before {
		content: attr(data-label);
		font-family: var(--esafe-lfp-ui);
		font-size: 13px;
		font-weight: 400;
		line-height: 1.4;
		color: var(--esafe-lfp-blue);
	}

	.esafe-lfp-sighting-table .esafe-lfp-table-empty-row td {
		display: block;
		padding: 2px 0;
	}

	.esafe-lfp-sighting-table .esafe-lfp-table-empty-row td::before {
		content: none;
	}

	.esafe-lfp-sighting-table .esafe-lfp-cell-empty {
		display: none;
	}

	.esafe-lfp-filter-modal.is-open { align-items: flex-start; padding: 8px; }
	.esafe-lfp-filter-modal-dialog { width: 100%; max-width: 100%; max-height: calc(100dvh - 16px); min-height: 0; margin: 0; padding: 14px; border-radius: 10px; }
	.esafe-lfp-filter-modal-header { min-height: 0; margin: 0 0 10px; padding: 0; line-height: 1.2; }

	/* Compact scroller controls must not inherit full page form spacing. */
	.esafe-lfp-discovery-scroller .esafe-lfp-filter-mini-row {
		display: flex !important;
		align-items: center !important;
		align-content: center !important;
		justify-content: flex-start !important;
		gap: 10px !important;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin: 0 0 6px !important;
		padding: 0 !important;
		line-height: 1.2 !important;
	}
	.esafe-lfp-discovery-scroller .esafe-lfp-filter-mini-row .esafe-lfp-link {
		display: inline-flex !important;
		align-items: center !important;
		width: auto !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 1.2 !important;
		white-space: nowrap !important;
	}
	.esafe-lfp-discovery-scroller .esafe-lfp-filter-mini-row + .esafe-lfp-scroller,
	.esafe-lfp-discovery-scroller .esafe-lfp-scroller { margin-top: 0 !important; }

	.esafe-lfp-pagination { justify-content: flex-end; align-items: flex-end; }
	.esafe-lfp-page-links { justify-content: flex-end; }
}

@media (max-width: 480px) {
	.esafe-lfp-wrap .esafe-card { padding: 12px; }
	.esafe-lfp-wrap .esafe-brand-header { flex-direction: row; align-items: center; gap: 8px; }
	.esafe-lfp-wrap .esafe-brand-logo { width: min(112px, 34vw); max-width: 112px; }
	.esafe-lfp-flag-row { flex-direction: row; justify-content: space-between; }
	.esafe-lfp-btn { width: 100%; }
	.esafe-lfp-grid-actions .esafe-lfp-btn,
	.esafe-lfp-flyer-controls .esafe-lfp-btn,
	.esafe-lfp-pagination .esafe-lfp-btn { width: auto; }
	.esafe-lfp-pagination { flex-direction: column; align-items: flex-end; }
	.esafe-lfp-page-meta { order: 0; }
	.esafe-lfp-scroller-item { width: 240px; min-width: 240px; max-width: 240px; }
}

/* Final compact mobile scroller containment. This must remain after generic mobile form rules. */
@media (max-width: 560px) {
	.esafe-lfp-discovery-scroller {
		margin-top: 0 !important;
		min-height: 0 !important;
	}

	.esafe-lfp-discovery-scroller .esafe-lfp-filter-mini,
	.esafe-lfp-discovery-scroller .esafe-lfp-filter-mini-row {
		width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		height: auto !important;
		max-height: none !important;
		margin: 0 0 6px !important;
		padding: 0 !important;
		line-height: 1.2 !important;
	}

	.esafe-lfp-discovery-scroller .esafe-lfp-filter-mini-row {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		align-content: center !important;
		justify-content: flex-start !important;
		gap: 10px !important;
	}

	.esafe-lfp-discovery-scroller .esafe-lfp-filter-mini-row .esafe-lfp-link {
		display: inline-flex !important;
		flex: 0 0 auto !important;
		align-items: center !important;
		width: auto !important;
		min-width: 0 !important;
		min-height: 0 !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 1.2 !important;
		white-space: nowrap !important;
	}

	.esafe-lfp-discovery-scroller .esafe-lfp-filter-mini-row + .esafe-lfp-scroller,
	.esafe-lfp-discovery-scroller .esafe-lfp-scroller {
		margin-top: 0 !important;
	}

	.esafe-lfp-discovery-scroller .esafe-lfp-scroller-item {
		width: 240px;
		min-width: 240px;
		max-width: 240px;
	}
}


@media (max-width: 360px) {
	.esafe-lfp-sighting-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.esafe-lfp-sighting-grid .esafe-lfp-field,
	.esafe-lfp-sighting-grid .esafe-lfp-field-full {
		grid-column: 1 !important;
	}

	.esafe-lfp-detail-item {
		grid-template-columns: minmax(94px, 36%) minmax(0, 1fr);
		gap: 5px;
	}

	.esafe-lfp-sighting-table td {
		grid-template-columns: minmax(84px, 34%) minmax(0, 1fr);
		gap: 6px;
	}
}

@media (max-width: 340px) {
	.esafe-lfp-discovery-scroller .esafe-lfp-filter-mini-row {
		gap: 6px 10px !important;
	}

	.esafe-lfp-discovery-scroller .esafe-lfp-filter-mini-row .esafe-lfp-link {
		white-space: normal !important;
	}
}

/* =====================================================================
   Final individual pet card spacing containment
   This block must remain after every generic responsive and form rule.
   It isolates the compact record card from full-page form, popup,
   Elementor, theme, and unrelated site-interface spacing rules.
   ===================================================================== */
html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card {
	display: flow-root !important;
	position: relative !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	inline-size: 100% !important;
	max-inline-size: 100% !important;
	min-inline-size: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	flex: 0 1 auto !important;
	flex-grow: 0 !important;
	flex-shrink: 1 !important;
	flex-basis: auto !important;
	align-self: flex-start !important;
	justify-self: stretch !important;
	align-content: start !important;
	justify-content: flex-start !important;
	place-content: start stretch !important;
	grid-auto-rows: auto !important;
	grid-template-rows: none !important;
	gap: 0 !important;
	margin: 0 !important;
	padding-bottom: 12px !important;
	overflow: visible !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-inner.esafe-lfp-inner {
	display: block !important;
	position: static !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	inline-size: 100% !important;
	max-inline-size: 100% !important;
	min-inline-size: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	flex: none !important;
	align-self: auto !important;
	justify-self: auto !important;
	align-content: normal !important;
	justify-content: normal !important;
	place-content: normal !important;
	grid-auto-rows: auto !important;
	grid-template-rows: none !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-inner.esafe-lfp-inner::before,
html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-inner.esafe-lfp-inner::after {
	content: none !important;
	display: none !important;
}

/* Reset the card heading area as part of the card containment.
   Theme and popup paragraph rules commonly stretch this description before
   the record content and make the lower card appear displaced. */
html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card > .esafe-brand-header {
	display: flex !important;
	position: static !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	gap: 10px !important;
	align-items: center !important;
	align-content: center !important;
	justify-content: flex-start !important;
	line-height: 1.2 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card > .esafe-card-title {
	display: block !important;
	position: static !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	line-height: 1.25 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card > p.esafe-lfp-desc {
	display: block !important;
	position: static !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	line-height: 1.45 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card :is(
	.esafe-lfp-preview,
	.esafe-lfp-case-details-section,
	.esafe-lfp-case-actions,
	.esafe-lfp-sightings-section,
	.esafe-lfp-sighting-form,
	.esafe-lfp-sighting-table-wrap,
	.esafe-lfp-detail-block,
	.esafe-lfp-image-row
) {
	position: static !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	max-width: 100% !important;
	min-width: 0 !important;
	max-inline-size: 100% !important;
	min-inline-size: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	flex-grow: 0 !important;
	flex-shrink: 1 !important;
	flex-basis: auto !important;
	align-self: auto !important;
	justify-self: auto !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-preview {
	display: flow-root !important;
	width: 100% !important;
	inline-size: 100% !important;
	align-content: start !important;
	justify-content: flex-start !important;
	gap: 0 !important;
	margin: 0 0 8px !important;
	padding: 10px !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-preview-grid {
	display: grid !important;
	grid-template-columns: 180px minmax(0, 1fr) !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	align-items: start !important;
	align-content: start !important;
	justify-content: stretch !important;
	place-content: start stretch !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-preview-details,
html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-detail-grid {
	display: grid !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	align-items: start !important;
	align-content: start !important;
	justify-content: stretch !important;
	place-content: start stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-preview-details {
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-detail-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 14px !important;
	row-gap: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-detail-item {
	display: grid !important;
	grid-template-columns: minmax(108px, auto) minmax(0, 1fr) !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	align-items: start !important;
	align-content: start !important;
	justify-content: stretch !important;
	gap: 5px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 2px 0 !important;
	line-height: 1.35 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-detail-item > :is(.esafe-label, .esafe-lfp-detail-value) {
	display: block !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.35 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-case-details-section {
	display: block !important;
	width: 100% !important;
	inline-size: 100% !important;
	align-content: normal !important;
	justify-content: normal !important;
	gap: 0 !important;
	margin: 8px 0 0 !important;
	padding: 8px 0 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-detail-block {
	display: block !important;
	width: 100% !important;
	inline-size: 100% !important;
	align-content: normal !important;
	justify-content: normal !important;
	gap: 0 !important;
	margin: 6px 0 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-detail-block-label {
	display: block !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 0 4px !important;
	padding: 0 !important;
	line-height: 1.35 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-image-row {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
	align-content: flex-start !important;
	justify-content: flex-start !important;
	width: 100% !important;
	inline-size: 100% !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-rich,
html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-rich p {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-rich p + p {
	margin-top: 4px !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-case-actions {
	display: flex !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	align-content: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
	inline-size: 100% !important;
	gap: 6px 8px !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-case-actions > * {
	flex: 0 0 auto !important;
	align-self: center !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sightings-section {
	display: block !important;
	width: 100% !important;
	inline-size: 100% !important;
	align-content: normal !important;
	justify-content: normal !important;
	gap: 0 !important;
	margin: 8px 0 0 !important;
	padding: 8px 0 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card :is(.esafe-lfp-section-title, .esafe-lfp-section-desc) {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-section-title {
	margin: 0 0 4px !important;
	line-height: 1.25 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-section-desc {
	margin: 0 0 6px !important;
	line-height: 1.4 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-notice {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 6px 0 0 !important;
	padding: 8px 10px !important;
	line-height: 1.4 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-form {
	display: block !important;
	width: 100% !important;
	inline-size: 100% !important;
	align-content: normal !important;
	justify-content: normal !important;
	gap: 0 !important;
	margin: 6px 0 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	align-items: start !important;
	align-content: start !important;
	justify-content: stretch !important;
	place-content: start stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	gap: 8px 10px !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid .esafe-lfp-field {
	display: block !important;
	position: static !important;
	float: none !important;
	clear: none !important;
	flex: none !important;
	align-self: start !important;
	justify-self: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid .esafe-lfp-field-full {
	grid-column: 1 / -1 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid .esafe-lfp-sighting-help-row {
	margin: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid .esafe-lfp-field > label {
	display: block !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 0 4px !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid .esafe-lfp-field :is(input, select, textarea) {
	display: block !important;
	position: static !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 7px 10px !important;
	line-height: 1.4 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid .esafe-lfp-field :is(input, select) {
	height: auto !important;
	max-height: none !important;
	min-height: 38px !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid .esafe-lfp-field textarea {
	height: auto !important;
	max-height: 140px !important;
	min-height: 56px !important;
	resize: vertical !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid .esafe-lfp-help {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-actions {
	display: flex !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	align-content: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
	inline-size: 100% !important;
	gap: 6px 8px !important;
	margin: 6px 0 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-actions > * {
	flex: 0 0 auto !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-table-wrap {
	display: block !important;
	width: 100% !important;
	inline-size: 100% !important;
	align-content: normal !important;
	justify-content: normal !important;
	gap: 0 !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
}

@media (max-width: 782px) {
	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-preview-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 8px !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-detail-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		column-gap: 0 !important;
		row-gap: 0 !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-detail-item {
		grid-template-columns: minmax(104px, 38%) minmax(0, 1fr) !important;
		gap: 5px !important;
		padding: 2px 0 !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-table {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
		max-height: none !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-table :is(tbody, tr, td) {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
		max-height: none !important;
		min-height: 0 !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-table tbody {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-table tr {
		display: block !important;
		margin: 0 0 6px !important;
		padding: 6px 8px !important;
		align-content: normal !important;
		justify-content: normal !important;
		gap: 0 !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-table tr:last-child {
		margin-bottom: 0 !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-table td {
		display: grid !important;
		grid-template-columns: minmax(92px, 34%) minmax(0, 1fr) !important;
		grid-template-rows: none !important;
		grid-auto-rows: auto !important;
		align-items: start !important;
		align-content: start !important;
		justify-content: stretch !important;
		gap: 6px !important;
		margin: 0 !important;
		padding: 3px 0 !important;
		line-height: 1.35 !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-table td::before {
		min-width: 0 !important;
		min-height: 0 !important;
		height: auto !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 1.35 !important;
	}
}

@media (max-width: 360px) {
	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid .esafe-lfp-field,
	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-sighting-grid .esafe-lfp-field-full {
		grid-column: 1 !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-case-card .esafe-lfp-detail-item {
		grid-template-columns: minmax(90px, 36%) minmax(0, 1fr) !important;
	}
}


/* =====================================================================
   Final edit and submission card spacing containment
   This block must remain last. It applies the same containment strategy
   used by the individual record card to full case forms, including the
   owner and administrator edit view and the public submission forms.
   ===================================================================== */
html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) {
	display: flow-root !important;
	position: relative !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	inline-size: 100% !important;
	max-inline-size: 100% !important;
	min-inline-size: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	flex: 0 1 auto !important;
	flex-grow: 0 !important;
	flex-shrink: 1 !important;
	flex-basis: auto !important;
	align-self: flex-start !important;
	justify-self: stretch !important;
	align-content: start !important;
	justify-content: flex-start !important;
	place-content: start stretch !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 16px !important;
	overflow: visible !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) > .esafe-brand-header {
	display: flex !important;
	position: static !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 0 12px !important;
	padding: 10px 12px !important;
	gap: 12px 14px !important;
	align-items: center !important;
	align-content: center !important;
	justify-content: flex-start !important;
	line-height: 1.2 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) > .esafe-card-title {
	display: block !important;
	position: static !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	font-family: var(--esafe-lfp-heading) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	color: var(--esafe-lfp-blue) !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) > p.esafe-lfp-desc {
	display: block !important;
	position: static !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	font-family: var(--esafe-lfp-ui) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	color: var(--esafe-lfp-muted) !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-inner.esafe-lfp-inner {
	display: block !important;
	position: static !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	inline-size: 100% !important;
	max-inline-size: 100% !important;
	min-inline-size: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	flex: none !important;
	align-content: normal !important;
	justify-content: normal !important;
	place-content: normal !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-inner.esafe-lfp-inner::before,
html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-inner.esafe-lfp-inner::after {
	content: none !important;
	display: none !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) :is(.esafe-lfp-preview, .esafe-lfp-form, .esafe-lfp-section, .esafe-lfp-grid, .esafe-lfp-location-wrap, .esafe-lfp-field, .esafe-lfp-actions) {
	position: static !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	max-width: 100% !important;
	min-width: 0 !important;
	max-inline-size: 100% !important;
	min-inline-size: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	flex-grow: 0 !important;
	flex-shrink: 1 !important;
	flex-basis: auto !important;
	align-self: auto !important;
	justify-self: auto !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-edit-card .esafe-lfp-preview {
	display: flow-root !important;
	width: 100% !important;
	inline-size: 100% !important;
	align-content: start !important;
	justify-content: flex-start !important;
	gap: 0 !important;
	margin: 0 0 10px !important;
	padding: 10px !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-edit-card .esafe-lfp-preview-grid {
	display: grid !important;
	grid-template-columns: 180px minmax(0, 1fr) !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	align-items: start !important;
	align-content: start !important;
	justify-content: stretch !important;
	place-content: start stretch !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-edit-card .esafe-lfp-preview-details {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	align-items: start !important;
	align-content: start !important;
	justify-content: stretch !important;
	gap: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-form {
	display: block !important;
	width: 100% !important;
	inline-size: 100% !important;
	align-content: normal !important;
	justify-content: normal !important;
	place-content: normal !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-form > .esafe-lfp-section {
	display: block !important;
	width: 100% !important;
	inline-size: 100% !important;
	align-content: normal !important;
	justify-content: normal !important;
	gap: 0 !important;
	margin: 12px 0 0 !important;
	padding: 10px 0 0 !important;
	border-top: 1px solid var(--esafe-lfp-border-soft) !important;
	overflow: visible !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-form > .esafe-lfp-section:first-of-type {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) :is(.esafe-lfp-section-title, .esafe-lfp-section-desc, .esafe-lfp-hint, .esafe-lfp-help, .esafe-lfp-location-status) {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-section-title {
	margin: 0 0 4px !important;
	font-family: var(--esafe-lfp-heading) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	color: var(--esafe-lfp-blue) !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-section-desc {
	margin: 0 0 8px !important;
	font-family: var(--esafe-lfp-ui) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	color: var(--esafe-lfp-muted) !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	align-items: start !important;
	align-content: start !important;
	justify-content: stretch !important;
	place-content: start stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	gap: 10px 12px !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-field {
	display: block !important;
	position: static !important;
	float: none !important;
	clear: none !important;
	flex: none !important;
	align-self: start !important;
	justify-self: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.45 !important;
	overflow: visible !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-field-full {
	grid-column: 1 / -1 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-field > label {
	display: block !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	margin: 0 0 5px !important;
	padding: 0 !important;
	font-family: var(--esafe-lfp-ui) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
	color: #7A7A7A !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-field :is(input[type="text"], input[type="email"], input[type="datetime-local"], input[type="file"], input[type="number"], select, textarea) {
	display: block !important;
	position: static !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 9px 12px !important;
	font-family: var(--esafe-lfp-ui) !important;
	font-size: 14px !important;
	font-weight: 300 !important;
	line-height: 1.55 !important;
	color: #A0A0A0 !important;
	background: var(--esafe-lfp-surface) !important;
	border: 1px solid var(--esafe-lfp-border) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-field :is(input[type="text"], input[type="email"], input[type="datetime-local"], input[type="file"], input[type="number"], select) {
	height: auto !important;
	max-height: none !important;
	min-height: 42px !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-field textarea {
	height: auto !important;
	max-height: 220px !important;
	min-height: 76px !important;
	resize: vertical !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) :is(.esafe-lfp-hint, .esafe-lfp-help, .esafe-lfp-location-status) {
	margin: 5px 0 0 !important;
	font-family: var(--esafe-lfp-ui) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	color: var(--esafe-lfp-muted) !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) :is(.esafe-lfp-hint, .esafe-lfp-help, .esafe-lfp-location-status):empty {
	display: none !important;
	margin: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-actions {
	display: flex !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	align-content: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
	inline-size: 100% !important;
	gap: 8px 10px !important;
	margin: 10px 0 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-actions > * {
	flex: 0 0 auto !important;
	align-self: center !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) :is(input[type="hidden"], [hidden], [style*="display:none"], [style*="display: none"]) {
	display: none !important;
}

@media (max-width: 782px) {
	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) {
		padding: 14px !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) > .esafe-brand-header {
		margin-bottom: 10px !important;
		padding: 10px !important;
		gap: 10px !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card.esafe-lfp-edit-card .esafe-lfp-preview-grid,
	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-rows: none !important;
		grid-auto-rows: auto !important;
		column-gap: 0 !important;
		row-gap: 10px !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-field,
	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-field-full {
		grid-column: 1 !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-form > .esafe-lfp-section {
		margin-top: 10px !important;
		padding-top: 9px !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-actions {
		margin-top: 8px !important;
		gap: 8px !important;
	}
}

@media (max-width: 480px) {
	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) {
		padding: 12px !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-actions .esafe-lfp-save-button {
		width: 100% !important;
	}

	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:is(.esafe-lfp-edit-card, .esafe-lfp-submission-form) .esafe-lfp-actions .esafe-lfp-link {
		width: auto !important;
	}
}

/* =====================================================================
   Final remaining public-interface containment
   Keep after every generic, responsive, card, form, popup, and scroller
   rule. These selectors protect the remaining plugin-owned surfaces that
   do not use the case, edit, or submission card context classes.
   ===================================================================== */
html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:not(.esafe-lfp-case-card):not(.esafe-lfp-edit-card):not(.esafe-lfp-submission-form) {
	display: flow-root !important;
	position: relative !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	flex: 0 1 auto !important;
	align-self: flex-start !important;
	justify-self: stretch !important;
	align-content: start !important;
	justify-content: flex-start !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 16px !important;
	overflow: visible !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:not(.esafe-lfp-case-card):not(.esafe-lfp-edit-card):not(.esafe-lfp-submission-form) > :is(.esafe-brand-header, .esafe-card-title, p.esafe-lfp-desc, .esafe-lfp-inner) {
	position: static !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:not(.esafe-lfp-case-card):not(.esafe-lfp-edit-card):not(.esafe-lfp-submission-form) > .esafe-brand-header {
	margin: 0 0 12px !important;
	padding: 10px 12px !important;
	gap: 12px 14px !important;
	line-height: 1.2 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:not(.esafe-lfp-case-card):not(.esafe-lfp-edit-card):not(.esafe-lfp-submission-form) > .esafe-card-title {
	margin: 0 0 6px !important;
	padding: 0 !important;
	font-family: var(--esafe-lfp-heading) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	color: var(--esafe-lfp-blue) !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:not(.esafe-lfp-case-card):not(.esafe-lfp-edit-card):not(.esafe-lfp-submission-form) > p.esafe-lfp-desc {
	margin: 0 0 10px !important;
	padding: 0 !important;
	font-family: var(--esafe-lfp-ui) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	color: var(--esafe-lfp-muted) !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:not(.esafe-lfp-case-card):not(.esafe-lfp-edit-card):not(.esafe-lfp-submission-form) > .esafe-lfp-inner {
	display: flow-root !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
	overflow: visible !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:not(.esafe-lfp-case-card):not(.esafe-lfp-edit-card):not(.esafe-lfp-submission-form) > .esafe-lfp-inner > :first-child {
	margin-top: 0 !important;
}

html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:not(.esafe-lfp-case-card):not(.esafe-lfp-edit-card):not(.esafe-lfp-submission-form) > .esafe-lfp-inner > :last-child {
	margin-bottom: 0 !important;
}

/* Final popup containment for the filter form. */
html body .esafe-lfp-filter-modal.esafe-lfp-filter-modal.is-open {
	display: flex !important;
	position: fixed !important;
	inset: 0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	min-width: 0 !important;
	height: 100dvh !important;
	max-height: 100dvh !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 12px !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden !important;
}

html body .esafe-lfp-filter-modal.esafe-lfp-filter-modal .esafe-lfp-filter-modal-dialog {
	display: block !important;
	position: relative !important;
	width: min(760px, 100%) !important;
	max-width: 760px !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: calc(100dvh - 24px) !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 16px !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
}

html body .esafe-lfp-filter-modal.esafe-lfp-filter-modal :is(.esafe-lfp-filter-modal-header, form, .esafe-lfp-filter-grid, .esafe-lfp-filter-field, .esafe-lfp-filter-modal-actions) {
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
}

html body .esafe-lfp-filter-modal.esafe-lfp-filter-modal form {
	display: flow-root !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
}

html body .esafe-lfp-filter-modal.esafe-lfp-filter-modal .esafe-lfp-filter-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	align-items: start !important;
	align-content: start !important;
	gap: 10px 12px !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-filter-modal.esafe-lfp-filter-modal .esafe-lfp-filter-field {
	margin: 0 !important;
	padding: 0 !important;
}

html body .esafe-lfp-filter-modal.esafe-lfp-filter-modal .esafe-lfp-filter-modal-actions {
	margin: 10px 0 0 !important;
	padding: 0 !important;
	gap: 8px !important;
}

/* Discovery grid cards must not inherit full-page card minimum heights. */
html body .esafe-lfp-discovery-minimal.esafe-lfp-discovery-minimal .esafe-lfp-grid-card {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	block-size: auto !important;
	max-block-size: none !important;
	min-block-size: 0 !important;
	align-self: start !important;
	margin: 0 !important;
	overflow: hidden !important;
}

@media (max-width: 782px) {
	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:not(.esafe-lfp-case-card):not(.esafe-lfp-edit-card):not(.esafe-lfp-submission-form) {
		padding: 14px !important;
	}

	html body .esafe-lfp-filter-modal.esafe-lfp-filter-modal.is-open {
		align-items: flex-start !important;
		padding: 8px !important;
	}

	html body .esafe-lfp-filter-modal.esafe-lfp-filter-modal .esafe-lfp-filter-modal-dialog {
		width: 100% !important;
		max-width: 100% !important;
		max-height: calc(100dvh - 16px) !important;
		padding: 14px !important;
	}

	html body .esafe-lfp-filter-modal.esafe-lfp-filter-modal .esafe-lfp-filter-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		column-gap: 0 !important;
		row-gap: 10px !important;
	}
}

@media (max-width: 480px) {
	html body .esafe-lfp-wrap.esafe-lfp-wrap > .esafe-card:not(.esafe-lfp-case-card):not(.esafe-lfp-edit-card):not(.esafe-lfp-submission-form) {
		padding: 12px !important;
	}
}

/* Keep discovery media uniform while biasing the crop toward each animal's face. */
html body .esafe-lfp-discovery-minimal.esafe-lfp-discovery-minimal .esafe-lfp-grid-results {
	align-items: stretch !important;
	grid-auto-rows: 1fr !important;
}

html body .esafe-lfp-discovery-minimal.esafe-lfp-discovery-minimal .esafe-lfp-grid-card {
	display: grid !important;
	grid-template-rows: auto minmax(0, 1fr) !important;
	height: 100% !important;
	align-self: stretch !important;
}

html body .esafe-lfp-discovery-minimal.esafe-lfp-discovery-minimal .esafe-lfp-grid-img-link {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9 !important;
	overflow: hidden !important;
	background: #f5f8fb !important;
}

html body .esafe-lfp-discovery-minimal.esafe-lfp-discovery-minimal .esafe-lfp-grid-img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	max-height: none !important;
	aspect-ratio: auto !important;
	object-fit: cover !important;
	object-position: center 28% !important;
}

html body .esafe-lfp-scroller .esafe-lfp-scroller-img {
	object-fit: cover !important;
	object-position: center 28% !important;
}
