.ccp-feedback-launcher {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999998;
	min-width: 112px;
	min-height: 42px;
	border: 2px solid var(--ccp-feedback-accent, #5f6f52);
	border-radius: 999px;
	background: #fff;
	color: #1f2a37;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	font: 800 13px/1 Arial, sans-serif;
	letter-spacing: 0;
	padding: 0 18px;
	text-transform: uppercase;
	white-space: nowrap;
}

.ccp-feedback--top-left .ccp-feedback-launcher {
	top: 22px;
	right: auto;
	bottom: auto;
	left: 22px;
}

.ccp-feedback--middle-left .ccp-feedback-launcher {
	top: 50%;
	right: auto;
	bottom: auto;
	left: 22px;
	transform: translateY(-50%);
}

.ccp-feedback--bottom-left .ccp-feedback-launcher {
	right: auto;
	left: 22px;
}

.ccp-feedback--top-right .ccp-feedback-launcher {
	top: 22px;
	bottom: auto;
}

.ccp-feedback--middle-right .ccp-feedback-launcher {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
}

.ccp-feedback-launcher:hover,
.ccp-feedback-launcher:focus {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.ccp-feedback-tray,
.ccp-feedback-popover {
	position: fixed;
	right: 22px;
	bottom: 78px;
	z-index: 999998;
	width: min(320px, calc(100vw - 44px));
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #ded8cb;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
	padding: 18px;
	color: #1f2a37;
	font: 16px/1.45 Arial, sans-serif;
}

.ccp-feedback--top-left .ccp-feedback-tray,
.ccp-feedback--top-left .ccp-feedback-popover {
	top: 78px;
	right: auto;
	bottom: auto;
	left: 22px;
}

.ccp-feedback--middle-left .ccp-feedback-tray,
.ccp-feedback--middle-left .ccp-feedback-popover {
	top: 50%;
	right: auto;
	bottom: auto;
	left: 22px;
	transform: translateY(-50%);
}

.ccp-feedback--bottom-left .ccp-feedback-tray,
.ccp-feedback--bottom-left .ccp-feedback-popover {
	right: auto;
	left: 22px;
}

.ccp-feedback--top-right .ccp-feedback-tray,
.ccp-feedback--top-right .ccp-feedback-popover {
	top: 78px;
	bottom: auto;
}

.ccp-feedback--middle-right .ccp-feedback-tray,
.ccp-feedback--middle-right .ccp-feedback-popover {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
}

.ccp-feedback-popover {
	width: min(390px, calc(100vw - 32px));
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.ccp-feedback-title {
	font-weight: 700;
	margin-bottom: 12px;
}

.ccp-feedback-action-stack {
	display: grid;
	gap: 8px;
}

.ccp-feedback-action,
.ccp-feedback-actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #1f2a37;
	background: #1f2a37;
	color: #fff;
	padding: 9px 12px;
	font-weight: 700;
	cursor: pointer;
}

.ccp-feedback-action--secondary {
	background: #fff;
	color: #1f2a37;
}

.ccp-feedback-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ccp-feedback-actions button + button {
	background: #fff;
	color: #1f2a37;
}

.ccp-feedback-actions [data-ccp-feedback-delete] {
	border-color: #8f3d33;
	color: #8f3d33;
}

.ccp-feedback-popover textarea {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 10px;
	border: 1px solid #ded8cb;
	padding: 10px;
	font: inherit;
}

.ccp-feedback-popover [data-ccp-feedback-note] {
	min-height: 116px;
}

.ccp-feedback-popover [data-ccp-feedback-suggested] {
	min-height: 92px;
}

.ccp-feedback-clicked-text {
	margin: 0 0 10px;
	padding: 9px 10px;
	border-left: 3px solid #1f2a37;
	background: #f7f5f0;
	color: #3e414b;
	font-size: 12px;
	line-height: 1.4;
}

.ccp-feedback-field {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
}

.ccp-feedback-field span {
	display: block;
	margin-bottom: 4px;
	font-weight: 700;
}

.ccp-feedback-field select,
.ccp-feedback-field input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #ded8cb;
	padding: 8px;
	font: inherit;
	font-size: 14px;
}

.ccp-feedback-file-list {
	margin: -2px 0 10px;
	color: #4b5563;
	font-size: 12px;
	overflow-wrap: anywhere;
}

.ccp-feedback-notes {
	color: #8a4b13;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	margin-top: 10px;
}

.ccp-feedback-pin {
	position: absolute;
	z-index: 999997;
	width: 28px;
	height: 28px;
	border: 2px solid #fff;
	border-radius: 50% 50% 50% 0;
	background: var(--ccp-feedback-accent, #5f6f52);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
	transform: translate(-50%, -100%) rotate(-45deg);
	cursor: pointer;
}

.ccp-feedback-pin::after {
	content: "";
	position: absolute;
	top: 7px;
	left: 7px;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #fff;
}

.ccp-feedback-pin:hover,
.ccp-feedback-pin:focus {
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.ccp-feedback-mode {
	cursor: crosshair;
}

.ccp-public-intake {
	max-width: 920px;
	margin: 0 auto;
	padding: 24px;
	border: 1px solid #ded8cb;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.ccp-public-intake h2 {
	margin: 0 0 10px;
	font-size: 32px;
	line-height: 1.15;
}

.ccp-public-intake-intro {
	margin-bottom: 20px;
	color: #4b5563;
	font-size: 15px;
	line-height: 1.6;
}

.ccp-public-intake-form + .ccp-public-intake-form {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #ece7dd;
}
