.eda-sal-launcher {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9997;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 84px;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--eda-sky, #1479a8);
	border-radius: 8px;
	background: var(--eda-sky, #1479a8);
	color: #ffffff;
	font: 800 0.86rem/1 Arial, sans-serif;
	letter-spacing: 0;
	box-shadow: 0 8px 24px rgba( 0, 0, 0, 0.22 );
	cursor: pointer;
}

.eda-sal-launcher:hover,
.eda-sal-launcher:focus-visible {
	background: var(--eda-sky-dark, #0d5f85);
	border-color: var(--eda-sky-dark, #0d5f85);
}

.eda-sal-intro {
	position: fixed;
	right: 116px;
	bottom: 22px;
	z-index: 9997;
	display: grid;
	gap: 3px;
	width: min( 285px, calc( 100vw - 150px ) );
	padding: 13px 38px 13px 15px;
	border: 1px solid #b9d9e8;
	border-left: 4px solid var(--eda-sky, #1479a8);
	border-radius: 8px;
	background: #ffffff;
	color: #151719;
	box-shadow: 0 8px 24px rgba( 0, 0, 0, 0.18 );
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	line-height: 1.35;
}

.eda-sal-intro[hidden] {
	display: none;
}

.eda-sal-intro strong {
	color: var(--eda-sky-dark, #0d5f85);
	font-size: 0.92rem;
}

.eda-sal-intro__dismiss {
	position: absolute;
	top: 7px;
	right: 7px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #39464d;
	font: 400 1.3rem/1 Arial, sans-serif;
	cursor: pointer;
}

.eda-sal-intro__dismiss:hover,
.eda-sal-intro__dismiss:focus-visible {
	background: #e8f5fb;
	color: #151719;
}

.eda-sal-panel {
	position: fixed;
	right: 22px;
	bottom: 82px;
	z-index: 9998;
	display: grid;
	grid-template-rows: auto minmax( 120px, 1fr ) auto auto auto;
	width: min( 390px, calc( 100vw - 32px ) );
	max-height: min( 650px, calc( 100vh - 110px ) );
	overflow: hidden;
	border: 1px solid #aeb8b2;
	border-radius: 8px;
	background: #ffffff;
	color: #151719;
	box-shadow: 0 18px 46px rgba( 0, 0, 0, 0.28 );
	font-family: Arial, sans-serif;
	font-size: 15px;
	line-height: 1.45;
}

.eda-sal-panel[hidden] {
	display: none;
}

.eda-sal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	background: #1e2224;
	color: #ffffff;
	border-bottom: 3px solid var(--eda-sky, #1479a8);
}

.eda-sal-header div {
	display: grid;
	gap: 1px;
}

.eda-sal-header strong {
	font: 800 1.15rem/1.2 Arial, sans-serif;
}

.eda-sal-header span {
	color: #dce6e0;
	font-size: 0.78rem;
}

.eda-sal-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #6e7873;
	border-radius: 6px;
	background: transparent;
	color: #ffffff;
	font: 400 1.6rem/1 Arial, sans-serif;
	cursor: pointer;
}

.eda-sal-close:hover,
.eda-sal-close:focus-visible {
	background: #ffffff;
	color: #151719;
}

.eda-sal-messages {
	display: grid;
	align-content: start;
	gap: 10px;
	min-height: 150px;
	padding: 16px;
	overflow-y: auto;
	background: #f4f6f5;
}

.eda-sal-message {
	max-width: 88%;
	padding: 10px 12px;
	border-radius: 8px;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.eda-sal-message--sal {
	justify-self: start;
	background: #ffffff;
	border: 1px solid #cad2cd;
}

.eda-sal-message--user {
	justify-self: end;
	background: #1e2224;
	color: #ffffff;
}

.eda-sal-message a {
	display: inline-block;
	margin-top: 7px;
	color: #075c92;
	font-weight: 700;
}

.eda-sal-prompts {
	display: flex;
	gap: 7px;
	padding: 10px 12px 0;
	overflow-x: auto;
}

.eda-sal-prompts button {
	flex: 0 0 auto;
	min-height: 34px;
	padding: 6px 10px;
	border: 1px solid var(--eda-sky, #1479a8);
	border-radius: 6px;
	background: #ffffff;
	color: var(--eda-sky-dark, #0d5f85);
	font: 700 0.78rem/1.2 Arial, sans-serif;
	cursor: pointer;
}

.eda-sal-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	padding: 12px;
}

.eda-sal-form > label:first-child,
.eda-sal-form > details {
	grid-column: 1 / -1;
}

.eda-sal-form label {
	font-weight: 700;
}

.eda-sal-form label span {
	color: #5b655f;
	font-weight: 400;
}

.eda-sal-form textarea,
.eda-sal-form input {
	width: 100%;
	min-height: 42px;
	padding: 9px 10px;
	border: 1px solid #9ea9a2;
	border-radius: 6px;
	background: #ffffff;
	color: #151719;
	font: inherit;
}

.eda-sal-form textarea {
	grid-column: 1;
	resize: vertical;
}

.eda-sal-form details {
	padding: 2px 0;
}

.eda-sal-form summary {
	color: var(--eda-sky-dark, #0d5f85);
	font-weight: 700;
	cursor: pointer;
}

.eda-sal-form details label {
	display: block;
	margin-top: 8px;
}

.eda-sal-submit-status {
	grid-column: 1 / -1;
	padding: 9px 10px;
	border: 1px solid #b9d9e8;
	border-left: 4px solid var(--eda-sky, #1479a8);
	border-radius: 6px;
	background: #edf8fc;
	color: #173747;
	font-size: 0.82rem;
	font-weight: 700;
}

.eda-sal-submit-status[hidden] {
	display: none;
}

.eda-sal-submit-status--error {
	border-color: #c45b5b;
	background: #fff2f2;
	color: #7a2020;
}

.eda-sal-send {
	align-self: stretch;
	min-width: 68px;
	padding: 8px 13px;
	border: 1px solid var(--eda-sky, #1479a8);
	border-radius: 6px;
	background: var(--eda-sky, #1479a8);
	color: #ffffff;
	font: 800 0.88rem/1 Arial, sans-serif;
	cursor: pointer;
}

.eda-sal-send:hover,
.eda-sal-send:focus-visible {
	background: var(--eda-sky-dark, #0d5f85);
}

.eda-sal-send:disabled {
	opacity: 0.6;
	cursor: wait;
}

.eda-sal-honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.eda-sal-footer {
	padding: 9px 12px 11px;
	border-top: 1px solid #d8dedb;
	color: #505b55;
	font-size: 0.75rem;
}

.eda-sal-footer a {
	color: #075c92;
	font-weight: 700;
}

.eda-knowledge-catalogue {
	max-width: 980px;
}

.eda-knowledge-search {
	display: grid;
	gap: 7px;
	margin: 28px 0;
	font-weight: 800;
}

.eda-knowledge-search input {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #aeb8b2;
	border-radius: 6px;
	font: inherit;
}

.eda-knowledge-catalogue h2 {
	margin: 42px 0 12px;
}

.eda-knowledge-group {
	border-top: 1px solid #b8c1bc;
}

.eda-knowledge-item {
	padding: 14px 2px;
	border-bottom: 1px solid #d4dad7;
}

.eda-knowledge-item summary {
	font-weight: 800;
	cursor: pointer;
}

.eda-knowledge-item p {
	margin: 12px 0 7px;
}

.eda-knowledge-item a {
	color: #075c92;
	font-weight: 700;
}

.eda-knowledge-empty {
	padding: 18px 0;
	font-weight: 700;
}

@media ( max-width: 600px ) {
	.eda-sal-launcher {
		right: 12px;
		bottom: 12px;
	}

	.eda-sal-intro {
		right: 12px;
		bottom: 72px;
		width: min( 285px, calc( 100vw - 24px ) );
	}

	.eda-sal-panel {
		right: 8px;
		bottom: 70px;
		width: calc( 100vw - 16px );
		max-height: calc( 100dvh - 86px );
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.eda-sal-panel,
	.eda-sal-launcher {
		scroll-behavior: auto;
	}
}
