#pefa-assistant-root {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99998;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #1d2327;
}

.pefa-launcher,
.pefa-primary,
.pefa-secondary,
.pefa-icon-button {
	border: 0;
	cursor: pointer;
	font: inherit;
}

.pefa-launcher {
	min-height: 44px;
	padding: 0 18px;
	border-radius: 6px;
	background: #0a5f50;
	color: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
	font-weight: 600;
}

.pefa-panel {
	position: absolute;
	right: 0;
	bottom: 58px;
	width: min(380px, calc(100vw - 32px));
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.pefa-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: #f6f7f7;
	border-bottom: 1px solid #dcdcde;
}

.pefa-panel__header h2 {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: 0;
}

.pefa-icon-button {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	background: transparent;
	color: #50575e;
	font-size: 18px;
	line-height: 1;
}

.pefa-form,
.pefa-intro,
.pefa-muted,
.pefa-success,
.pefa-error {
	margin: 14px 16px;
}

.pefa-muted {
	color: #646970;
	font-size: 13px;
}

.pefa-success {
	color: #0f5132;
	font-weight: 600;
}

.pefa-error {
	color: #842029;
	font-weight: 600;
}

.pefa-question {
	display: grid;
	gap: 8px;
	font-weight: 600;
}

.pefa-input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	padding: 9px 10px;
	font: inherit;
	color: #1d2327;
	background: #fff;
}

textarea.pefa-input {
	min-height: 106px;
	resize: vertical;
}

.pefa-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 14px;
}

.pefa-primary,
.pefa-secondary {
	min-height: 36px;
	padding: 0 14px;
	border-radius: 4px;
	font-weight: 600;
}

.pefa-primary {
	background: #0a5f50;
	color: #fff;
}

.pefa-primary:disabled {
	opacity: 0.65;
	cursor: wait;
}

.pefa-secondary {
	background: #f0f0f1;
	color: #1d2327;
}

.pefa-progress {
	height: 5px;
	background: #dcdcde;
}

.pefa-progress::before {
	content: "";
	display: block;
	width: var(--pefa-progress);
	height: 5px;
	background: #0a5f50;
}

@media (max-width: 480px) {
	#pefa-assistant-root {
		right: 12px;
		bottom: 12px;
	}

	.pefa-panel {
		right: -4px;
		bottom: 56px;
	}
}
