/* [17 Okt 2026] Modal panduan "Cara Melakukan Jual Beli" di halaman Spot
   (views/layout/panduan-trading.blade.php, assets/js/panduan-trading.js).
   Desktop: dialog 2 kolom (langkah + kalkulator). HP (<768px): bottom sheet 1 kolom.
   Tur "Tunjukkan di halaman": .dex-pd-tur (ditempel ke <body> oleh JS).
   Mode gelap: body.darkmode-page / #page-container.darkmode; tur memakai .dex-pd-gelap dari JS.
   Sengaja TIDAK memakai .modal-content: aturan global body.darkmode-page .modal-content span/p/label
   di layout/main akan menimpa warna teks. */

.dex-pd,
.dex-pd-tur {
	--pd-bg: #F4F6FB;
	--pd-kartu: #FFFFFF;
	--pd-garis: rgba(15, 23, 42, .08);
	--pd-garis-2: rgba(15, 23, 42, .14);
	--pd-teks: #0F172A;
	--pd-teks-2: #64748B;
	--pd-hover: #F8FAFC;
	--pd-aksen: #2563EB;
	--pd-aksen-bg: #EFF6FF;
	--pd-naik: #16A34A;
	--pd-naik-bg: #F0FDF4;
	--pd-turun: #E11D48;
	--pd-turun-bg: #FFF1F2;
	--pd-awas: #B45309;
	--pd-awas-bg: #FFFBEB;
	--pd-bayang: 0 24px 60px rgba(15, 23, 42, .18);
	font-family: 'Plus Jakarta Sans', 'Open Sans', system-ui, sans-serif;
}
body.darkmode-page .dex-pd,
#page-container.darkmode .dex-pd,
.dex-pd-tur.dex-pd-gelap {
	--pd-bg: #0E121B;
	--pd-kartu: #161B26;
	--pd-garis: rgba(255, 255, 255, .08);
	--pd-garis-2: rgba(255, 255, 255, .16);
	--pd-teks: #F1F5F9;
	--pd-teks-2: #94A3B8;
	--pd-hover: rgba(255, 255, 255, .04);
	--pd-aksen: #60A5FA;
	--pd-aksen-bg: rgba(37, 99, 235, .18);
	--pd-naik: #4ADE80;
	--pd-naik-bg: rgba(74, 222, 128, .12);
	--pd-turun: #FB7185;
	--pd-turun-bg: rgba(251, 113, 133, .12);
	--pd-awas: #FBBF24;
	--pd-awas-bg: rgba(251, 191, 36, .12);
	--pd-bayang: 0 24px 60px rgba(0, 0, 0, .5);
}

/* ---------- dialog ---------- */
.dex-pd .dex-pd-dialog {
	width: auto;
	max-width: 920px;
	margin: 4vh auto !important; /* menimpa margin-top inline dari alignModal() di view */
	padding: 0 16px;
}
.dex-pd .dex-pd-isi {
	display: flex;
	flex-direction: column;
	max-height: 92vh;
	overflow: hidden;
	border: 1px solid var(--pd-garis);
	border-radius: 20px;
	background: var(--pd-bg);
	color: var(--pd-teks);
	box-shadow: var(--pd-bayang);
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
}
.dex-pd *,
.dex-pd *::before,
.dex-pd *::after { box-sizing: border-box; }
.dex-pd [hidden] { display: none !important; }
.dex-pd h2,
.dex-pd h3,
.dex-pd p,
.dex-pd ol,
.dex-pd ul,
.dex-pd dl,
.dex-pd dd { margin: 0; }
.dex-pd button { font-family: inherit; }
.dex-pd .dex-pd-angka { font-variant-numeric: tabular-nums; }

/* kepala */
.dex-pd .dex-pd-kepala {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--pd-garis);
	background: var(--pd-kartu);
}
.dex-pd .dex-pd-ikon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--pd-aksen-bg);
	color: var(--pd-aksen);
}
.dex-pd .dex-pd-kepala-teks { flex: 1 1 auto; min-width: 0; }
.dex-pd .dex-pd-judul { font: 800 17px/1.3 'Plus Jakarta Sans', sans-serif; color: var(--pd-teks); letter-spacing: -.2px; }
.dex-pd .dex-pd-sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; font-size: 12px; color: var(--pd-teks-2); }
.dex-pd .dex-pd-sub b { color: var(--pd-teks); font-weight: 700; }
.dex-pd .dex-pd-tutup {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	background: var(--pd-hover);
	color: var(--pd-teks-2);
	cursor: pointer;
}
.dex-pd .dex-pd-tutup:hover { color: var(--pd-teks); background: var(--pd-garis); }

/* badan */
.dex-pd .dex-pd-badan {
	flex: 1 1 auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 16px 20px 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.dex-pd .dex-pd-kartu {
	padding: 16px 18px;
	border: 1px solid var(--pd-garis);
	border-radius: 16px;
	background: var(--pd-kartu);
	min-width: 0;
}
.dex-pd .dex-pd-kartu h3 { margin: 0 0 10px; font: 700 14px/1.3 'Plus Jakarta Sans', sans-serif; color: var(--pd-teks); }
.dex-pd .dex-pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.dex-pd .dex-pd-kolom { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* instant */
.dex-pd .dex-pd-instant {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border: 1px solid var(--pd-garis);
	border-radius: 16px;
	background: var(--pd-aksen-bg);
	color: var(--pd-teks);
	text-decoration: none;
}
.dex-pd .dex-pd-instant:hover,
.dex-pd .dex-pd-instant:focus { text-decoration: none; border-color: var(--pd-aksen); color: var(--pd-teks); }
.dex-pd .dex-pd-instant-ikon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--pd-aksen);
	color: #FFFFFF;
}
.dex-pd .dex-pd-instant-teks { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.dex-pd .dex-pd-instant-teks b { font-size: 13px; font-weight: 700; color: var(--pd-teks); }
.dex-pd .dex-pd-instant-teks small { font-size: 12px; color: var(--pd-teks-2); }
.dex-pd .dex-pd-instant-panah { font-size: 22px; line-height: 1; color: var(--pd-aksen); }

/* tab tipe order */
.dex-pd .dex-pd-tipe {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--pd-garis);
	border-radius: 14px;
	background: var(--pd-kartu);
}
.dex-pd .dex-pd-tipe button {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1px;
	padding: 8px 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--pd-teks-2);
	text-align: left;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.dex-pd .dex-pd-tipe button b { font-size: 14px; font-weight: 700; color: inherit; }
.dex-pd .dex-pd-tipe button small { font-size: 11.5px; font-weight: 500; color: var(--pd-teks-2); }
.dex-pd .dex-pd-tipe button:hover { background: var(--pd-hover); }
.dex-pd .dex-pd-tipe button.aktif { background: var(--pd-aksen-bg); color: var(--pd-aksen); }

/* langkah */
.dex-pd .dex-pd-intro { margin-bottom: 12px; color: var(--pd-teks-2); }
.dex-pd .dex-pd-langkah { list-style: none; padding: 0; counter-reset: pdlangkah; }
.dex-pd .dex-pd-langkah li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0 0 14px 40px;
	counter-increment: pdlangkah;
}
.dex-pd .dex-pd-langkah li::before {
	content: counter(pdlangkah);
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--pd-aksen);
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 700;
}
.dex-pd .dex-pd-langkah li::after {
	content: '';
	position: absolute;
	top: 28px;
	bottom: 2px;
	left: 12px;
	width: 2px;
	border-radius: 2px;
	background: var(--pd-garis-2);
}
.dex-pd .dex-pd-langkah li:last-child { padding-bottom: 0; }
.dex-pd .dex-pd-langkah li:last-child::after { display: none; }
.dex-pd .dex-pd-langkah b { font-size: 13px; font-weight: 700; color: var(--pd-teks); line-height: 26px; }
.dex-pd .dex-pd-langkah span { color: var(--pd-teks-2); }

.dex-pd .dex-pd-contoh {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 14px;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--pd-hover);
	border: 1px dashed var(--pd-garis-2);
}
.dex-pd .dex-pd-contoh p { font-size: 12.5px; color: var(--pd-teks); font-variant-numeric: tabular-nums; }
.dex-pd .dex-pd-contoh p:empty { display: none; }
.dex-pd .dex-pd-contoh .dex-pd-tanda { font-weight: 700; margin-right: 4px; }
.dex-pd .dex-pd-contoh .dex-pd-tanda.beli { color: var(--pd-naik); }
.dex-pd .dex-pd-contoh .dex-pd-tanda.jual { color: var(--pd-turun); }
.dex-pd .dex-pd-catatan { margin-top: 10px; font-size: 11.5px; color: var(--pd-teks-2); }

/* kalkulator */
.dex-pd .dex-pd-kalk-kepala { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.dex-pd .dex-pd-kalk-kepala h3 { margin: 0; }
.dex-pd .dex-pd-sisi { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 10px; background: var(--pd-hover); border: 1px solid var(--pd-garis); }
.dex-pd .dex-pd-sisi button {
	min-width: 64px;
	height: 30px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--pd-teks-2);
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
}
.dex-pd .dex-pd-sisi button.aktif[data-pd-sisi="beli"] { background: var(--pd-naik); color: #FFFFFF; }
.dex-pd .dex-pd-sisi button.aktif[data-pd-sisi="jual"] { background: var(--pd-turun); color: #FFFFFF; }

.dex-pd .dex-pd-label { display: block; margin: 10px 0 5px; font-size: 12px; font-weight: 600; color: var(--pd-teks-2); }
.dex-pd .dex-pd-kolom-isi {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 42px;
	padding: 0 6px 0 12px;
	border: 1px solid var(--pd-garis-2);
	border-radius: 12px;
	background: var(--pd-kartu);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.dex-pd .dex-pd-kolom-isi:focus-within { border-color: var(--pd-aksen); box-shadow: 0 0 0 3px var(--pd-aksen-bg); }
.dex-pd .dex-pd-kolom-isi input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--pd-teks);
	font: 600 14px 'Plus Jakarta Sans', sans-serif;
	font-variant-numeric: tabular-nums;
	box-shadow: none;
}
.dex-pd .dex-pd-kolom-isi input:disabled { color: var(--pd-teks-2); -webkit-text-fill-color: var(--pd-teks-2); opacity: 1; }
.dex-pd .dex-pd-mini {
	flex: 0 0 auto;
	height: 30px;
	padding: 0 10px;
	border: 0;
	border-radius: 8px;
	background: var(--pd-aksen-bg);
	color: var(--pd-aksen);
	font-size: 11.5px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}
.dex-pd .dex-pd-mini[hidden] { display: none !important; }

.dex-pd .dex-pd-hasil {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 14px;
	padding: 12px;
	border-radius: 12px;
	background: var(--pd-hover);
}
.dex-pd .dex-pd-hasil > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dex-pd .dex-pd-hasil dt { font-size: 12px; font-weight: 500; color: var(--pd-teks-2); }
.dex-pd .dex-pd-hasil dt small { font-size: 11px; font-weight: 700; color: var(--pd-aksen); }
.dex-pd .dex-pd-hasil dd { font-size: 13px; font-weight: 700; color: var(--pd-teks); text-align: right; font-variant-numeric: tabular-nums; word-break: break-word; }
.dex-pd .dex-pd-hasil .dex-pd-hasil-utama { padding-top: 6px; border-top: 1px solid var(--pd-garis); }
.dex-pd .dex-pd-hasil .dex-pd-hasil-utama dt { color: var(--pd-teks); font-weight: 700; }
.dex-pd .dex-pd-hasil .dex-pd-hasil-utama dd { font-size: 15px; }
.dex-pd[data-sisi="beli"] .dex-pd-hasil-utama dd { color: var(--pd-naik); }
.dex-pd[data-sisi="jual"] .dex-pd-hasil-utama dd { color: var(--pd-turun); }

.dex-pd .dex-pd-info { margin-top: 10px; font-size: 12px; color: var(--pd-teks-2); }
.dex-pd .dex-pd-info:empty { display: none; }
.dex-pd .dex-pd-peringatan-kecil {
	margin-top: 8px;
	padding: 8px 10px;
	border-radius: 10px;
	background: var(--pd-awas-bg);
	color: var(--pd-awas);
	font-size: 12px;
	font-weight: 600;
	white-space: pre-line;
}

.dex-pd .dex-pd-aksi { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.dex-pd .dex-pd-isi-form {
	width: 100%;
	height: 44px;
	border: 0;
	border-radius: 12px;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: filter .15s ease;
}
.dex-pd .dex-pd-isi-form.beli { background: #16A34A; }
.dex-pd .dex-pd-isi-form.jual { background: #E11D48; }
.dex-pd .dex-pd-isi-form:hover { filter: brightness(1.06); }
.dex-pd .dex-pd-isi-form:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.dex-pd .dex-pd-tur-mulai,
.dex-pd .dex-pd-tombol-2 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--pd-garis-2);
	border-radius: 12px;
	background: var(--pd-kartu);
	color: var(--pd-teks);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.dex-pd .dex-pd-tur-mulai:hover,
.dex-pd .dex-pd-tombol-2:hover { border-color: var(--pd-aksen); color: var(--pd-aksen); }
.dex-pd[data-sisi="beli"] [data-pd-sisi-saja="jual"],
.dex-pd[data-sisi="jual"] [data-pd-sisi-saja="beli"] { display: none; }

/* istilah */
.dex-pd .dex-pd-istilah { display: flex; flex-direction: column; gap: 6px; }
.dex-pd .dex-pd-istilah details { border: 1px solid var(--pd-garis); border-radius: 12px; background: var(--pd-kartu); overflow: hidden; }
.dex-pd .dex-pd-istilah summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--pd-teks);
	cursor: pointer;
	list-style: none;
}
.dex-pd .dex-pd-istilah summary::-webkit-details-marker { display: none; }
.dex-pd .dex-pd-istilah summary::after {
	content: '+';
	flex: 0 0 auto;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	color: var(--pd-teks-2);
}
.dex-pd .dex-pd-istilah details[open] summary::after { content: '\2212'; color: var(--pd-aksen); }
.dex-pd .dex-pd-istilah details[open] { background: var(--pd-hover); }
.dex-pd .dex-pd-istilah details p { padding: 0 12px 10px; font-size: 12.5px; color: var(--pd-teks-2); }
.dex-pd .dex-pd-biaya-pasangan { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; font-size: 12px; color: var(--pd-teks-2); }
.dex-pd .dex-pd-biaya-pasangan b { color: var(--pd-teks); }

/* tips */
.dex-pd .dex-pd-tips { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.dex-pd .dex-pd-tips li { position: relative; padding-left: 22px; color: var(--pd-teks-2); }
.dex-pd .dex-pd-tips li::before {
	content: '';
	position: absolute;
	top: 6px;
	left: 4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pd-aksen);
	opacity: .7;
}
.dex-pd .dex-pd-tautan { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dex-pd .dex-pd-tautan a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	border-radius: 10px;
	background: var(--pd-aksen-bg);
	color: var(--pd-aksen);
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
}
.dex-pd .dex-pd-tautan a:hover { text-decoration: none; filter: brightness(.97); }

.dex-pd .dex-pd-peringatan {
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--pd-awas-bg);
	color: var(--pd-teks-2);
	font-size: 11px;
	line-height: 1.55;
}

/* kaki */
.dex-pd .dex-pd-kaki {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 12px 20px;
	border-top: 1px solid var(--pd-garis);
	background: var(--pd-kartu);
}
.dex-pd .dex-pd-tombol-1 {
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: var(--pd-aksen);
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
body.darkmode-page .dex-pd .dex-pd-tombol-1,
#page-container.darkmode .dex-pd .dex-pd-tombol-1 { background: #2563EB; }
.dex-pd .dex-pd-tombol-1:hover { filter: brightness(1.06); }

.dex-pd button:focus-visible,
.dex-pd a:focus-visible,
.dex-pd summary:focus-visible { outline: 2px solid var(--pd-aksen); outline-offset: 2px; }

/* ---------- layar sempit ---------- */
@media (max-width: 860px) {
	.dex-pd .dex-pd-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991px) { /* [17 Okt 2026, tablet] dulu 767: tablet potret ikut tampilan HP (lembar bawah) */
	/* bottom sheet; margin inline dari alignModal() ditimpa */
	.dex-pd .dex-pd-dialog {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: none;
		margin: 0 !important;
		padding: 0;
	}
	.dex-pd.fade .dex-pd-dialog {
		-webkit-transform: translate(0, 100%);
		transform: translate(0, 100%);
		transition: transform .25s ease-out;
	}
	.dex-pd.in .dex-pd-dialog {
		-webkit-transform: none;
		transform: none;
	}
	.dex-pd .dex-pd-isi {
		max-height: 92vh;
		max-height: 92dvh;
		border-radius: 20px 20px 0 0;
		border-bottom: 0;
	}
	.dex-pd .dex-pd-kepala { padding: 14px 16px; }
	.dex-pd .dex-pd-kepala::before {
		content: '';
		position: absolute;
		top: 6px;
		left: 50%;
		width: 40px;
		height: 4px;
		margin-left: -20px;
		border-radius: 4px;
		background: var(--pd-garis-2);
	}
	.dex-pd .dex-pd-kepala { position: relative; }
	.dex-pd .dex-pd-badan { padding: 14px 16px 16px; gap: 12px; }
	.dex-pd .dex-pd-kartu { padding: 14px; }
	.dex-pd .dex-pd-kaki { padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
	.dex-pd .dex-pd-kaki button { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.dex-pd .dex-pd-kolom-isi input { font-size: 16px; } /* cegah zoom otomatis iOS */
}

/* ---------- tur "Tunjukkan di halaman" ---------- */
.dex-pd-tur { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100000; pointer-events: none; }
.dex-pd-tur * { box-sizing: border-box; }
.dex-pd-tur-lapis { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: auto; background: transparent; }
.dex-pd-tur-sorot {
	position: fixed;
	border-radius: 12px;
	box-shadow: 0 0 0 9999px rgba(2, 6, 23, .62);
	outline: 2px solid #60A5FA;
	outline-offset: 2px;
	pointer-events: none;
	transition: top .2s ease, left .2s ease, width .2s ease, height .2s ease;
}
.dex-pd-tur-sorot.tanpa-target { width: 0; height: 0; top: 50%; left: 50%; outline: 0; }
.dex-pd-tur-balon {
	position: fixed;
	width: 320px;
	max-width: calc(100vw - 32px);
	padding: 14px 16px;
	border: 1px solid var(--pd-garis);
	border-radius: 16px;
	background: var(--pd-kartu);
	color: var(--pd-teks);
	box-shadow: var(--pd-bayang);
	font-size: 13px;
	line-height: 1.5;
	pointer-events: auto;
	transition: top .2s ease, left .2s ease;
}
.dex-pd-tur-langkah { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--pd-aksen); }
.dex-pd-tur-judul { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 800; color: var(--pd-teks); }
.dex-pd-tur-teks { margin: 0; color: var(--pd-teks-2); }
.dex-pd-tur-tombol { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.dex-pd-tur-tombol .dex-pd-tur-jarak { flex: 1 1 auto; }
.dex-pd-tur-tombol button {
	height: 34px;
	padding: 0 12px;
	border-radius: 10px;
	font: 700 12.5px 'Plus Jakarta Sans', sans-serif;
	cursor: pointer;
}
.dex-pd-tur-tombol .dex-pd-tur-lewati { border: 0; background: transparent; color: var(--pd-teks-2); padding: 0 4px; }
.dex-pd-tur-tombol .dex-pd-tur-kembali { border: 1px solid var(--pd-garis-2); background: var(--pd-kartu); color: var(--pd-teks); }
.dex-pd-tur-tombol .dex-pd-tur-lanjut { border: 0; background: #2563EB; color: #FFFFFF; }
.dex-pd-tur-tombol button:disabled { opacity: .4; cursor: default; }
.dex-pd-tur button:focus-visible { outline: 2px solid var(--pd-aksen); outline-offset: 2px; }

/* kilatan setelah "Isi ke form" */
.dex-pd-kilat { animation: dexPdKilat 1.6s ease-out 1; border-radius: 12px; }
@keyframes dexPdKilat {
	0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .55); }
	60% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.dex-pd-tur-sorot,
	.dex-pd-tur-balon,
	.dex-pd.fade .dex-pd-dialog { transition: none; }
	.dex-pd-kilat { animation: none; }
}

/* [17 Okt 2026] keterangan nominal minimal di bawah kolom nominal kalkulator */
.dex-pd .dex-pd-min { display: block; margin: 6px 0 12px; font-size: 12px; font-weight: 600; color: var(--pd-teks-2, #64748B); }
.dex-pd .dex-pd-min[hidden] { display: none; }
