/*
 * ACU Consent Platform banner (plugins/acu-cmp/client/banner.tsx). Site-owned,
 * not synced from acu-website. Same card language as the forms: surface
 * card, orange to gold top bar, navy pill buttons. Layouts: card (bottom
 * center), bar (full-width bottom), modal (centered with a backdrop).
 */
.acu-cmp {
	position: fixed; z-index: 2050; box-sizing: border-box;
	background: var(--surface, #E8E4DF); color: var(--slate, #1F2937);
	border-radius: 20px; padding: 22px 22px 18px; overflow: hidden;
	box-shadow: 0 18px 50px rgba(17,29,51,0.28);
	font-family: Inter, system-ui, sans-serif; font-size: 0.88rem; line-height: 1.55;
	animation: acu-cmp-in 0.35s ease both;
}
.acu-cmp::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange, #C75B12), var(--gold, #D4952B)); }
/* Centered at the bottom (owner, 2026-10-07) so it does not cover the hero's right panel. */
.acu-cmp--card { left: 0; right: 0; bottom: 20px; margin: 0 auto; width: min(420px, calc(100vw - 32px)); }
.acu-cmp--bar { left: 16px; right: 16px; bottom: 16px; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; column-gap: 28px; align-items: end; }
.acu-cmp--bar .acu-cmp-top, .acu-cmp--bar h2, .acu-cmp--bar .acu-cmp-body, .acu-cmp--bar .acu-cmp-purposes { grid-column: 1; }
.acu-cmp--bar .acu-cmp-actions { grid-column: 2; grid-row: 2 / span 3; margin: 0; }
.acu-cmp--modal { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 0 0 100vmax rgba(17,29,51,0.55), 0 18px 50px rgba(17,29,51,0.28); animation: none; }

.acu-cmp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.acu-cmp-lang select { font: inherit; font-size: 0.78rem; color: var(--navy, #1B2A4A); background: var(--surface-light, #f0ede9); border: 1px solid rgba(27,42,74,0.18); border-radius: 999px; padding: 4px 10px; }
/* "Continue without consent": prominent, top right, never smaller than body text. */
.acu-cmp-continue { margin-left: auto; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--navy, #1B2A4A); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.acu-cmp-continue:hover { color: #A84A0D; }

.acu-cmp h2 { font-family: 'futura-pt', 'Futura PT', 'Futura', 'Baumans', sans-serif; font-size: 1.2rem; color: var(--navy, #1B2A4A); margin: 0 0 6px; }
.acu-cmp-body { margin: 0; color: var(--midgray, #5B6471); }
.acu-cmp-body a { color: #A84A0D; font-weight: 600; }

.acu-cmp-purposes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.acu-cmp-purposes li { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; background: var(--surface-light, #f0ede9); border-radius: 12px; padding: 10px 12px; }
.acu-cmp-purposes strong { color: var(--navy, #1B2A4A); font-size: 0.86rem; }
.acu-cmp-purposes p { margin: 2px 0 0; font-size: 0.78rem; color: var(--midgray, #5B6471); }
.acu-cmp-always { flex: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #8A5A0F; }
.acu-cmp-purposes input[type="checkbox"] { flex: none; appearance: none; width: 44px; height: 26px; margin: 2px 0 0; border-radius: 999px; background: #C9CDD3; position: relative; cursor: pointer; transition: background 0.2s ease; }
.acu-cmp-purposes input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.2s ease; }
.acu-cmp-purposes input[type="checkbox"]:checked { background: var(--navy, #1B2A4A); }
.acu-cmp-purposes input[type="checkbox"]:checked::after { transform: translateX(18px); }
.acu-cmp-purposes input[type="checkbox"]:disabled { opacity: 0.55; cursor: not-allowed; }
.acu-cmp-purposes input[type="checkbox"]:focus-visible { outline: 3px solid var(--gold, #D4952B); outline-offset: 2px; }

/* Three equal paths: same size and weight for Accept all and Reject all. */
.acu-cmp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.acu-cmp-actions .btn-neu { width: 100%; justify-content: center; font-size: 0.86rem; padding: 11px 14px; border-radius: 999px; cursor: pointer; }
.acu-cmp-actions .btn-secondary { grid-column: 1 / -1; }
.acu-cmp--bar .acu-cmp-actions { grid-template-columns: repeat(3, auto); }
.acu-cmp--bar .acu-cmp-actions .btn-secondary { grid-column: auto; }

.acu-cmp .acu-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes acu-cmp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .acu-cmp { animation: none; } }
html.a11y-nomotion .acu-cmp { animation: none; }
@media (max-width: 720px) {
	.acu-cmp--bar { display: block; }
	.acu-cmp--bar .acu-cmp-actions { grid-template-columns: 1fr 1fr; margin-top: 16px; }
	.acu-cmp--bar .acu-cmp-actions .btn-secondary { grid-column: 1 / -1; }
	.acu-cmp--card { right: 16px; left: 16px; bottom: 16px; width: auto; }
}
