.isp-phg {
	--isp-phg-search: #00897b;
	--isp-phg-list: #c62828;
	max-width: 960px;
	margin: 0 auto 1.5rem;
	font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.isp-phg-map {
	width: 100%;
	min-height: 360px;
	border-radius: 8px;
	overflow: hidden;
	background: #d9e4ea;
	z-index: 0;
}

.isp-phg-address {
	margin: 0.75rem 0 0.5rem;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #333;
}

.isp-phg-bar {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex-wrap: wrap;
}

.isp-phg-field {
	flex: 1 1 160px;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.isp-phg-field input {
	width: 100%;
	border: none;
	border-bottom: 2px solid #9e9e9e;
	padding: 0.35rem 0.15rem;
	font-size: 1.35rem;
	background: transparent;
	outline: none;
	box-shadow: none;
	border-radius: 0;
}

.isp-phg-field input::placeholder {
	color: transparent;
	opacity: 0;
}

.isp-phg-field span {
	font-size: 0.75rem;
	color: #757575;
	margin-top: 0.2rem;
}

.isp-phg-btn {
	width: 48px;
	height: 48px;
	border: 0 !important;
	border-radius: 50% !important;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
	flex: 0 0 48px;
	padding: 0 !important;
	background-image: none !important;
}

.isp-phg-btn svg {
	width: 22px;
	height: 22px;
}

.isp-phg-btn--search {
	background: var(--isp-phg-search) !important;
}

.isp-phg-btn--list {
	background: var(--isp-phg-list) !important;
}

.isp-phg-btn:hover {
	filter: brightness(1.08);
}

.isp-phg-btn:disabled {
	opacity: 0.55;
	cursor: wait;
}

.isp-phg-list {
	margin-top: 0.9rem;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: visible;
	background: #fff;
}

.isp-phg-list[hidden] {
	display: none;
}

.isp-phg-list-section {
	padding: 0.35rem 0 0.15rem;
}

.isp-phg-list-section h3 {
	margin: 0;
	padding: 0.65rem 0.9rem 0.35rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #1565c0 !important;
}

.isp-phg-list-section.is-out h3 {
	color: #c62828 !important;
}

.isp-phg-grant-section h3 {
	color: #111 !important;
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.95rem;
}

.isp-phg-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	width: 100%;
	border: 0;
	border-bottom: 1px solid #eee;
	background: #fff !important;
	padding: 0.7rem 0.9rem;
	text-align: left;
	font: inherit;
	color: #111 !important;
}

.isp-phg-row:last-child {
	border-bottom: 0;
}

.isp-phg-row-main {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	flex: 1 1 auto;
}

.isp-phg-row-name {
	font-weight: 600;
}

.isp-phg-row-addr {
	display: block;
	font-size: 0.82rem;
	font-weight: 400;
	color: #555 !important;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.35;
}

.isp-phg-km {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	font-weight: 600;
}

.isp-phg-detail {
	margin: 0;
	padding: 0.45rem 0.9rem 0.8rem;
	color: #555;
	font-size: 0.9rem;
	line-height: 1.45;
}

.isp-phg-table-wrap {
	margin: 0 0.65rem 0.75rem;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: auto;
}

.isp-phg-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
	color: #111 !important;
	background: #fff;
}

.isp-phg-table th,
.isp-phg-table td {
	padding: 0.55rem 0.7rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #eee;
	color: #111 !important;
}

.isp-phg-table thead th {
	background: #f5f5f5 !important;
	font-weight: 700;
}

.isp-phg-note,
.isp-phg-links {
	margin: 0;
	padding: 0 0.9rem 0.75rem;
	font-size: 0.8rem;
	color: #546e7a;
	line-height: 1.4;
}

.isp-phg-links a {
	color: #1565c0;
}

.isp-phg-error {
	color: #b71c1c !important;
	background: #ffebee;
	border: 1px solid #ef9a9a;
	border-radius: 6px;
	padding: 0.7rem 0.9rem;
	margin: 0.7rem 0 0;
	font-size: 0.95rem;
	line-height: 1.4;
}

.isp-phg-error[hidden] {
	display: none !important;
}

.isp-phg-popup h3 {
	margin: 0 0 0.25rem;
	font-size: 0.95rem;
	color: #1565c0;
	text-transform: uppercase;
}

.isp-phg-popup p {
	margin: 0;
	font-size: 0.9rem;
}

.leaflet-div-icon.isp-phg-pin,
.isp-phg-map .leaflet-marker-icon.isp-phg-pin {
	background: transparent !important;
	border: none !important;
	width: 32px !important;
	height: 42px !important;
	padding: 0 !important;
	margin: 0 !important;
	max-width: 32px !important;
	max-height: 42px !important;
	line-height: 0 !important;
	box-shadow: none !important;
}

.isp-phg-pin-svg {
	display: block !important;
	width: 32px !important;
	height: 42px !important;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}
