/* SGH consent notice (sgh-core includes/analytics.php). Theme tokens (sgh-tokens.css). */
.sgh-consent { position: fixed; z-index: 9990; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 760px; margin: 0 auto; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 18%, transparent); padding: 18px 20px; font-size: var(--fs-small); line-height: 1.5; }
.sgh-consent[hidden] { display: none; }
.sgh-consent-text { margin: 0 0 12px; }
.sgh-consent-text a { color: var(--orange-press); }
.sgh-consent-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sgh-consent-btns .btn { min-height: 44px; }
.sgh-consent-prefs { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sgh-consent-row { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: default; }
label.sgh-consent-row { cursor: pointer; }
.sgh-consent-row > div { display: grid; gap: 2px; min-width: 0; }
.sgh-consent-row span { color: var(--slate); }
.sgh-consent-on { white-space: nowrap; font-weight: 600; color: var(--slate); }
.sgh-consent-toggle { width: 22px; height: 22px; flex: none; accent-color: var(--orange-press); }
.foot-legal-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 600px) { .sgh-consent { padding: 14px 16px; } .sgh-consent-btns .btn { flex: 1 1 auto; } }
.sgh-consent-prefs[hidden] { display: none; }
