#lpmhk {
	--lpmhk-navy: #12476e;
	--lpmhk-navy-gelap: #0d3553;
	--lpmhk-tinta: #22313f;
	--lpmhk-aksen: #e8622a;
	--lpmhk-redup: #5b6b78;
	--lpmhk-latar: #f3f7fa;
	--lpmhk-garis: #e2e8ee;
	--lpmhk-galat: #b42318;
	--lpmhk-hijau: #0a7a52;
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99990;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: var(--lpmhk-tinta);
}
#lpmhk *, #lpmhk *::before, #lpmhk *::after { box-sizing: border-box; }
#lpmhk [hidden] { display: none !important; }
#lpmhk p { margin: 0 0 10px; }
#lpmhk button { font-family: inherit; text-transform: none; letter-spacing: normal; }

/* Tombol mengambang */
#lpmhk .lpmhk-fab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 13px 20px 13px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--lpmhk-navy);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(18, 71, 110, .32), 0 2px 6px rgba(0, 0, 0, .12);
	transition: background .15s ease, transform .15s ease;
}
#lpmhk .lpmhk-fab:hover { background: var(--lpmhk-navy-gelap); transform: translateY(-1px); }
#lpmhk .lpmhk-fab:focus-visible { outline: 3px solid var(--lpmhk-aksen); outline-offset: 3px; }
#lpmhk .lpmhk-fab svg { flex: none; }
#lpmhk .lpmhk-ikon-tutup { display: none; }
#lpmhk[data-state="buka"] .lpmhk-ikon-buka { display: none; }
#lpmhk[data-state="buka"] .lpmhk-ikon-tutup { display: block; }

/* Panel */
#lpmhk .lpmhk-panel {
	position: absolute;
	right: 0;
	bottom: 64px;
	width: 390px;
	max-width: calc(100vw - 40px);
	height: 620px;
	max-height: calc(100vh - 110px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--lpmhk-garis);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(15, 30, 45, .22);
	overflow: hidden;
	animation: lpmhk-muncul .18s ease-out;
}
@keyframes lpmhk-muncul { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

#lpmhk .lpmhk-kepala {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 16px 14px 20px;
	background: var(--lpmhk-navy);
	color: #fff;
	border-bottom: 3px solid var(--lpmhk-aksen);
}
#lpmhk .lpmhk-judul { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: #fff; }
#lpmhk .lpmhk-sub { margin: 2px 0 0; font-size: 13px; color: rgba(255, 255, 255, .82); }
#lpmhk .lpmhk-tutup {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
}
#lpmhk .lpmhk-tutup:hover { background: rgba(255, 255, 255, .22); }
#lpmhk .lpmhk-tutup:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Tab */
#lpmhk .lpmhk-tab {
	display: flex;
	border-bottom: 1px solid var(--lpmhk-garis);
	background: #fff;
}
#lpmhk .lpmhk-tab button {
	flex: 1;
	margin: 0;
	padding: 12px 6px;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var(--lpmhk-redup);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
#lpmhk .lpmhk-tab button:hover { color: var(--lpmhk-tinta); background: var(--lpmhk-latar); }
#lpmhk .lpmhk-tab button[aria-selected="true"] { color: var(--lpmhk-navy); border-bottom-color: var(--lpmhk-navy); }
#lpmhk .lpmhk-tab button:focus-visible { outline: 2px solid var(--lpmhk-aksen); outline-offset: -2px; }

#lpmhk .lpmhk-isi { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px 20px; }
#lpmhk .lpmhk-info { font-size: 14px; color: var(--lpmhk-redup); }

/* Formulir */
#lpmhk .lpmhk-f { margin: 0 0 14px; }
#lpmhk .lpmhk-f > label { display: block; margin: 0 0 5px; font-size: 14px; font-weight: 600; color: var(--lpmhk-tinta); }
#lpmhk .lpmhk-f > label span[aria-hidden] { color: var(--lpmhk-aksen); }
#lpmhk .lpmhk-opsional { font-weight: 400; color: var(--lpmhk-redup); }
#lpmhk input[type="text"], #lpmhk input[type="email"], #lpmhk input[type="tel"], #lpmhk input[type="search"], #lpmhk select, #lpmhk textarea {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	min-height: 42px;
	margin: 0;
	padding: 9px 12px;
	border: 1px solid #c7d6e2;
	border-radius: 8px;
	background: #fff;
	color: var(--lpmhk-tinta);
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
}
#lpmhk textarea { min-height: 110px; resize: vertical; }
#lpmhk input:focus, #lpmhk select:focus, #lpmhk textarea:focus { outline: none; border-color: var(--lpmhk-navy); box-shadow: 0 0 0 3px rgba(18, 71, 110, .16); }
#lpmhk [aria-invalid="true"] { border-color: var(--lpmhk-galat) !important; }
#lpmhk input[type="file"] { display: block; width: 100%; font-size: 14px; padding: 8px; border: 1px dashed #c7d6e2; border-radius: 8px; background: var(--lpmhk-latar); }
#lpmhk .lpmhk-catatan { margin: 5px 0 0; font-size: 13px; color: var(--lpmhk-redup); }
#lpmhk .lpmhk-anonim-info { margin: -6px 0 14px; padding: 8px 12px; border-radius: 8px; background: #fff4ee; color: #8a3a12; }
#lpmhk .lpmhk-cek { display: flex; align-items: flex-start; gap: 10px; }
#lpmhk .lpmhk-cek input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--lpmhk-navy); }
#lpmhk .lpmhk-cek label { margin: 0; font-weight: 400; font-size: 14px; }
#lpmhk .lpmhk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#lpmhk .lpmhk-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
#lpmhk .lpmhk-daftar-file { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; }
#lpmhk .lpmhk-daftar-file li { padding: 3px 0; color: var(--lpmhk-tinta); }
#lpmhk .lpmhk-daftar-file li.lpmhk-x { color: var(--lpmhk-galat); }

#lpmhk .lpmhk-galat {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-left: 3px solid var(--lpmhk-galat);
	border-radius: 6px;
	background: #fdecea;
	color: var(--lpmhk-galat);
	font-size: 14px;
}
#lpmhk .lpmhk-tombol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--lpmhk-navy);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
#lpmhk .lpmhk-tombol:hover { background: var(--lpmhk-navy-gelap); }
#lpmhk .lpmhk-tombol:focus-visible { outline: 3px solid var(--lpmhk-aksen); outline-offset: 2px; }
#lpmhk .lpmhk-tombol[disabled] { opacity: .65; cursor: progress; }
#lpmhk .lpmhk-sekunder { background: #fff; color: var(--lpmhk-navy); border: 1px solid #c7d6e2; }
#lpmhk .lpmhk-sekunder:hover { background: var(--lpmhk-latar); }
#lpmhk .lpmhk-aksi { display: grid; gap: 8px; margin-top: 14px; }

/* Sukses */
#lpmhk .lpmhk-sukses { text-align: left; outline: none; }
#lpmhk .lpmhk-sukses-ikon { display: grid; place-items: center; width: 48px; height: 48px; margin: 4px 0 12px; border-radius: 50%; background: #e3f5ec; color: var(--lpmhk-hijau); }
#lpmhk .lpmhk-sukses-judul { font-size: 18px; font-weight: 700; color: var(--lpmhk-tinta); }
#lpmhk .lpmhk-kode { margin: 14px 0; padding: 0; border: 1px solid var(--lpmhk-garis); border-radius: 10px; overflow: hidden; }
#lpmhk .lpmhk-kode > div { display: flex; flex-direction: column; padding: 10px 14px; background: var(--lpmhk-latar); }
#lpmhk .lpmhk-kode > div + div { border-top: 1px solid var(--lpmhk-garis); }
#lpmhk .lpmhk-kode dt { margin: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--lpmhk-redup); }
#lpmhk .lpmhk-kode dd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 18px; font-weight: 700; color: var(--lpmhk-tinta); }
#lpmhk .lpmhk-salin { margin: 0; padding: 4px 10px; border: 1px solid #c7d6e2; border-radius: 6px; background: #fff; color: var(--lpmhk-navy); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }

/* Hasil status */
#lpmhk .lpmhk-hasil { margin-top: 18px; outline: none; }
#lpmhk .lpmhk-ringkas { padding: 14px; border: 1px solid var(--lpmhk-garis); border-radius: 10px; background: var(--lpmhk-latar); }
#lpmhk .lpmhk-ringkas-atas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
#lpmhk .lpmhk-ringkas-nomor { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; }
#lpmhk .lpmhk-ringkas-subjek { margin: 0 0 8px; font-weight: 600; }
#lpmhk .lpmhk-ringkas dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 13px; }
#lpmhk .lpmhk-ringkas dt { color: var(--lpmhk-redup); }
#lpmhk .lpmhk-ringkas dd { margin: 0; }
#lpmhk .lpmhk-lencana { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e2e8ee; color: var(--lpmhk-tinta); white-space: nowrap; }
#lpmhk .lpmhk-l-diterima { background: #e8eef4; color: #22313f; }
#lpmhk .lpmhk-l-diverifikasi, #lpmhk .lpmhk-l-diproses { background: #e1edf7; color: #12476e; }
#lpmhk .lpmhk-l-perlu_klarifikasi { background: #fff1e8; color: #a3440f; }
#lpmhk .lpmhk-l-diteruskan { background: #efeafa; color: #5b3a9a; }
#lpmhk .lpmhk-l-selesai { background: #e3f5ec; color: #0a6b48; }
#lpmhk .lpmhk-l-ditolak { background: #fdecea; color: #b42318; }

#lpmhk .lpmhk-lini { list-style: none; margin: 16px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--lpmhk-garis); }
#lpmhk .lpmhk-lini li { position: relative; margin: 0 0 14px; padding: 0 0 0 4px; }
#lpmhk .lpmhk-lini li::before { content: ""; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--lpmhk-navy); box-shadow: 0 0 0 3px #fff; }
#lpmhk .lpmhk-lini li.lpmhk-pelapor::before { background: var(--lpmhk-aksen); }
#lpmhk .lpmhk-lini-waktu { display: block; font-size: 12px; color: var(--lpmhk-redup); }
#lpmhk .lpmhk-lini-judul { display: block; font-size: 14px; font-weight: 600; }
#lpmhk .lpmhk-lini-isi { margin-top: 4px; padding: 8px 10px; border-radius: 8px; background: var(--lpmhk-latar); font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
#lpmhk .lpmhk-balas { margin-top: 14px; padding: 14px; border: 1px solid #f3c7ad; border-radius: 10px; background: #fff8f4; }
#lpmhk .lpmhk-balas p { font-size: 14px; }

/* FAQ */
#lpmhk .lpmhk-faq-kel { margin: 0 0 16px; }
#lpmhk .lpmhk-faq-judul { margin: 0 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--lpmhk-aksen); }
#lpmhk .lpmhk-faq-item { margin: 0; border-bottom: 1px solid var(--lpmhk-garis); }
#lpmhk .lpmhk-faq-item summary {
	position: relative;
	padding: 11px 28px 11px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--lpmhk-tinta);
	cursor: pointer;
	list-style: none;
}
#lpmhk .lpmhk-faq-item summary::-webkit-details-marker { display: none; }
#lpmhk .lpmhk-faq-item summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 16px;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--lpmhk-redup);
	border-bottom: 2px solid var(--lpmhk-redup);
	transform: rotate(45deg);
	transition: transform .15s ease;
}
#lpmhk .lpmhk-faq-item[open] summary::after { transform: rotate(-135deg); top: 20px; }
#lpmhk .lpmhk-faq-item summary:focus-visible { outline: 2px solid var(--lpmhk-aksen); outline-offset: 2px; }
#lpmhk .lpmhk-faq-jawab { padding: 0 0 12px; font-size: 14px; color: #3d4b55; }
#lpmhk .lpmhk-faq-jawab ul, #lpmhk .lpmhk-faq-jawab ol { margin: 6px 0 8px; padding-left: 20px; }
#lpmhk .lpmhk-faq-jawab li { margin: 0 0 4px; }

#lpmhk .lpmhk-kaki {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 14px;
	padding: 10px 16px;
	border-top: 1px solid var(--lpmhk-garis);
	background: var(--lpmhk-latar);
	font-size: 13px;
	color: var(--lpmhk-redup);
}
#lpmhk .lpmhk-kaki a { color: var(--lpmhk-navy); text-decoration: none; }
#lpmhk .lpmhk-kaki a:hover { text-decoration: underline; }

@media (max-width: 600px) {
	#lpmhk { right: 14px; bottom: 14px; }
	#lpmhk .lpmhk-fab { padding: 12px 16px 12px 14px; font-size: 14px; }
	#lpmhk[data-state="buka"] .lpmhk-fab { display: none; }
	#lpmhk .lpmhk-panel {
		position: fixed;
		inset: 0;
		width: 100%;
		max-width: none;
		height: 100%;
		max-height: none;
		border: 0;
		border-radius: 0;
	}
	#lpmhk input, #lpmhk select, #lpmhk textarea { font-size: 16px; }
	body.admin-bar #lpmhk .lpmhk-panel { top: 46px; height: auto; }
	html.lpmhk-kunci, html.lpmhk-kunci body { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
	#lpmhk .lpmhk-panel { animation: none; }
	#lpmhk .lpmhk-fab { transition: none; }
}

@media print { #lpmhk { display: none !important; } }
