:root {
	--apc-forest: #273f33;
	--apc-forest-dark: #1d3027;
	--apc-sand: #f3ede3;
	--apc-cream: #fffdf8;
	--apc-ink: #24302a;
	--apc-border: rgba(39, 63, 51, .18);
}
.apc-consent[hidden], .apc-modal[hidden] { display: none !important; }
.apc-consent {
	position: fixed; z-index: 999999; left: 20px; right: 20px; bottom: 20px;
	font-family: inherit; color: var(--apc-ink);
}
.apc-consent__inner {
	max-width: 1180px; margin: 0 auto; padding: 24px 26px;
	background: var(--apc-cream); border: 1px solid var(--apc-border);
	border-radius: 18px; box-shadow: 0 16px 50px rgba(20, 31, 25, .2);
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
}
.apc-consent h2, .apc-modal h2 { margin: 0 0 8px; color: var(--apc-forest-dark); font-size: 27px; line-height: 1.15; }
.apc-consent p, .apc-modal p { margin: 0 0 10px; line-height: 1.55; }
.apc-kicker { text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 700; color: var(--apc-forest); }
.apc-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.apc-links a, .apc-footer-links a, .apc-footer-links button { color: var(--apc-forest); text-decoration: underline; }
.apc-consent__actions, .apc-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.apc-button {
	appearance: none; border: 1px solid var(--apc-forest); border-radius: 999px;
	padding: 11px 17px; font: inherit; font-weight: 700; cursor: pointer;
}
.apc-button--primary { color: white; background: var(--apc-forest); }
.apc-button--primary:hover { background: var(--apc-forest-dark); }
.apc-button--secondary { color: var(--apc-forest); background: transparent; }
.apc-button--link { color: var(--apc-forest); background: transparent; border-color: transparent; text-decoration: underline; }
.apc-modal { position: fixed; z-index: 1000000; inset: 0; display: grid; place-items: center; padding: 20px; }
.apc-modal__backdrop { position: absolute; inset: 0; background: rgba(18, 29, 23, .62); }
.apc-modal__panel {
	position: relative; width: min(620px, 100%); max-height: 90vh; overflow: auto;
	background: var(--apc-cream); color: var(--apc-ink); padding: 32px;
	border-radius: 20px; box-shadow: 0 24px 80px rgba(0,0,0,.32);
}
.apc-modal__close { position: absolute; top: 12px; right: 15px; border: 0; background: transparent; font-size: 30px; cursor: pointer; color: var(--apc-forest); }
.apc-choice {
	display: flex; justify-content: space-between; gap: 18px; align-items: center;
	padding: 17px 0; border-top: 1px solid var(--apc-border);
}
.apc-choice strong, .apc-choice span { display: block; }
.apc-choice span { margin-top: 3px; font-size: 14px; opacity: .8; }
.apc-choice input { width: 21px; height: 21px; accent-color: var(--apc-forest); }
.apc-modal__actions { margin-top: 22px; }
.apc-modal-open { overflow: hidden; }
.apc-footer-links {
	padding: 16px 20px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
	font-size: 13px; background: var(--apc-sand);
}
.apc-footer-links button { border: 0; background: transparent; font: inherit; padding: 0; cursor: pointer; }
.apc-form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.apc-form-consent input { margin-top: 3px; }
@media (max-width: 760px) {
	.apc-consent { left: 10px; right: 10px; bottom: 10px; }
	.apc-consent__inner { grid-template-columns: 1fr; padding: 21px; gap: 16px; }
	.apc-consent__actions, .apc-modal__actions { justify-content: stretch; }
	.apc-button { flex: 1 1 100%; }
	.apc-modal__panel { padding: 28px 21px 22px; }
}