.wctc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-width: 44px;
	min-height: 44px;
	max-width: 100%;
	box-sizing: border-box;
	padding: .65rem 1rem;
	border-radius: .5rem;
	background-color: var(--wctc-color, #075e54);
	color: var(--wctc-text, #fff);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: anywhere;
	cursor: pointer;
}

.wctc-button:hover,
.wctc-button:focus {
	color: var(--wctc-text, #fff);
	filter: brightness(.9);
	text-decoration: none;
}

.wctc-button:focus-visible,
.wctc-chooser-close:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: -4px;
}

.wctc-button svg {
	flex: 0 0 auto;
}

.wctc-floating {
	position: fixed;
	right: var(--wctc-offset-x, 20px);
	bottom: max(var(--wctc-offset-y, 20px), env(safe-area-inset-bottom));
	z-index: 9990;
	max-width: min(20rem, calc(100vw - var(--wctc-offset-x, 20px) - 1rem));
}

.wctc-floating.wctc-left {
	right: auto;
	left: var(--wctc-offset-x, 20px);
}

.wctc-floating > .wctc-button,
.wctc-panel > summary {
	border-radius: 999px;
	box-shadow: 0 3px 16px #0003;
}

.wctc-panel > summary::-webkit-details-marker {
	display: none;
}

.wctc-panel-body {
	position: absolute;
	right: 0;
	bottom: calc(100% + .5rem);
	display: grid;
	gap: .5rem;
	width: min(20rem, calc(100vw - var(--wctc-offset-x, 20px) - 1rem));
	max-height: max(8rem, calc(80vh - var(--wctc-offset-y, 20px)));
	box-sizing: border-box;
	overflow: auto;
	padding: .9rem;
	border-radius: .75rem;
	background: #fff;
	color: #172b28;
	box-shadow: 0 3px 20px #0003;
}

.wctc-left .wctc-panel-body {
	right: auto;
	left: 0;
}

.wctc-panel-body p {
	margin: 0;
	overflow-wrap: anywhere;
}

.wctc-chooser {
	width: min(24rem, calc(100% - 2rem));
	box-sizing: border-box;
	padding: 1.25rem;
	border: 1px solid #cdd4c9;
	border-radius: 1rem;
	background: #fff;
	color: #172b28;
}

.wctc-chooser[open] {
	display: grid;
	gap: .75rem;
}

.wctc-chooser [hidden] {
	display: none;
}

.wctc-chooser::backdrop {
	background: #0008;
}

.wctc-chooser h2 {
	margin: 0 0 .25rem;
	font-size: 1.25rem;
}

.wctc-chooser-contact {
	margin: 0 0 .25rem;
}

.wctc-chooser-close {
	justify-self: center;
	min-height: 44px;
	padding: .25rem .75rem;
	border: 0;
	border-radius: .35rem;
	background: transparent;
	color: #075e54;
	cursor: pointer;
}

@media (width < 768px) {
	.wctc-device-large {
		display: none;
	}
}

@media (min-width: 768px) {
	.wctc-device-small {
		display: none;
	}
}
