/* PWP support widget — tiny, footer-loaded, no animations. */

.pwp-support {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 99990; /* Below the consent banner (99999): the banner always wins. */
}

.pwp-support__toggle {
	min-height: 44px;
	min-width: 44px;
	padding: 0.6rem 1.1rem;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	font: inherit;
	background: var(--wp--preset--color--surface-inverse, #111827);
	color: var(--wp--preset--color--neutral-50, #f9fafb);
}

.pwp-support__toggle:focus-visible,
#pwp-support-submit:focus-visible {
	outline: 3px solid #93c5fd;
	outline-offset: 2px;
}

.pwp-support__panel {
	position: absolute;
	bottom: calc(100% + 0.5rem);
	right: 0;
	width: min(22rem, calc(100vw - 2rem));
	max-height: 70vh;
	overflow: auto;
	background: #fff;
	color: #111827;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 0.75rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	padding: 1rem;
}

.pwp-support__panel h2 {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
}

.pwp-support__panel p {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.pwp-support__links ul {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
}

.pwp-support__panel label {
	display: block;
	margin: 0.5rem 0 0.125rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.pwp-support__panel input,
.pwp-support__panel textarea {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 0.375rem;
	font: inherit;
}

.pwp-support__notice {
	font-size: 0.8125rem;
	color: #4b5563;
}

/* Off-screen, not display:none — better bot bait. */
.pwp-support__hp {
	position: absolute !important;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#pwp-support-submit {
	min-height: 44px;
	margin-top: 0.75rem;
	padding: 0.5rem 1rem;
	border: 0;
	border-radius: 0.375rem;
	cursor: pointer;
	font: inherit;
	background: #111827;
	color: #f9fafb;
}

.pwp-support__status {
	margin: 0.5rem 0 0;
}
