.dp-esme {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 9997;
	font-size: 14px;
}

.dp-esme-toggle {
	min-width: 48px;
	min-height: 48px;
	border: 0;
	border-radius: 999px;
	background: #0b1f4d;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(11, 31, 77, 0.25);
}

.dp-esme-panel {
	position: absolute;
	left: 0;
	bottom: 60px;
	width: min(360px, calc(100vw - 32px));
	max-height: min(70vh, 520px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
	overflow: hidden;
}

.dp-esme-head {
	margin: 0;
	padding: 12px 14px;
	background: #0b1f4d;
	color: #fff;
	font-weight: 600;
}

.dp-esme-log {
	flex: 1;
	overflow: auto;
	padding: 12px;
	min-height: 180px;
}

.dp-esme-m {
	margin: 0 0 8px;
	padding: 8px 10px;
	border-radius: 8px;
	line-height: 1.4;
}

.dp-esme-m-esme {
	background: #f1f5f9;
}

.dp-esme-m-user {
	background: #e0f2fe;
	margin-left: 24px;
}

.dp-esme-prods {
	margin: 0 0 8px;
	padding-left: 18px;
}

.dp-esme-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 12px 8px;
}

.dp-esme-chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 4px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	font-size: 13px;
}

.dp-esme-form {
	display: flex;
	gap: 6px;
	padding: 8px 12px 12px;
	border-top: 1px solid #e2e8f0;
}

.dp-esme-form input {
	flex: 1;
	min-height: 44px;
	padding: 8px 10px;
}

.dp-esme-form button {
	min-height: 44px;
	padding: 0 12px;
	background: #0b1f4d;
	color: #fff;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

@media print {
	.dp-esme {
		display: none !important;
	}
}
