/* Consent is a quiet, optional shelf; the page stays usable without a choice. */
.consent-panel { position: fixed; z-index: 30; right: 1.25rem; bottom: 1.25rem; width: min(42rem, calc(100% - 2.5rem)); max-height: calc(100dvh - 2.5rem); overflow: auto; overscroll-behavior: contain; padding: var(--sp-space-6); background: var(--sp-color-panel); color: var(--sp-color-text); border: 1px solid var(--sp-color-control-border); border-radius: var(--sp-radius-panel); box-shadow: 0 12px 40px -24px var(--sp-color-text); }
.consent-panel h2 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 var(--sp-space-3); }
.consent-panel p { font-size: .875rem; color: var(--sp-color-secondary); margin: 0 0 var(--sp-space-4); max-width: 65ch; }
.consent-actions { display: flex; gap: var(--sp-space-3); flex-wrap: wrap; }
.consent-actions .sp-button { flex: 1; font-size: .875rem; white-space: nowrap; }
.consent-options { margin-top: var(--sp-space-3); border: 0; }
.consent-options summary { padding: .75rem 0; font-size: .875rem; min-height: var(--sp-control-height); }
.consent-checkbox { display: flex; align-items: center; gap: var(--sp-space-3); min-height: var(--sp-control-height); margin-bottom: var(--sp-space-3); font-size: .875rem; cursor: pointer; }
.consent-checkbox input { width: 20px; height: 20px; accent-color: var(--sp-color-action); flex-shrink: 0; }
.consent-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-space-3); font-size: .875rem; }
.consent-links a { display: inline-flex; align-items: center; min-height: var(--sp-control-height); }
.consent-links .sp-button { padding-inline: 0; font-size: .875rem; }
.privacy-section { padding-block: var(--sp-space-8); }
.privacy-section details { max-width: 70ch; }
.privacy-copy p { max-width: 65ch; }
.site-footer [data-consent-open] { font-size: .8rem; }
.consent-sr-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width: 760px) { .consent-panel { right: .75rem; bottom: .75rem; width: calc(100% - 1.5rem); padding: var(--sp-space-4); max-height: calc(100dvh - 1.5rem); } }
/* Desktop: a low shelf aligned with the landing's content, instead of a side window. */
@media(min-width: 761px) {
 .consent-panel { left: 50%; right: auto; transform: translateX(-50%); width: min(72rem, calc(100% - 2.5rem)); display: grid; grid-template-columns: minmax(0, 1fr) 19rem; column-gap: var(--sp-space-8); }
 .consent-panel h2, .consent-panel > p, .consent-options { grid-column: 1; }
 .consent-panel h2 { grid-row: 1; }
 .consent-panel > p:not(.sp-help) { grid-row: 2; }
 .consent-panel > .sp-help { grid-row: 3; margin-bottom: 0; }
 .consent-actions { grid-column: 2; grid-row: 1 / 4; flex-direction: column; align-self: center; }
 .consent-actions .sp-button { flex: none; }
 .consent-options { grid-row: 4; margin-top: 0; }
 .consent-links { grid-column: 2; grid-row: 4; gap: .5rem; }
}
