/* Shared public-site consent controls. Uses the site's existing Ember tokens. */
.sgx-consent[hidden],.sgx-consent-modal[hidden]{display:none!important}
.sgx-consent,.sgx-consent-modal{font-family:var(--font-body);color:var(--ink-high);box-sizing:border-box}
.sgx-consent *,.sgx-consent-modal *{box-sizing:border-box}
.sgx-consent{position:fixed;z-index:10000;left:20px;right:20px;bottom:20px;max-width:1120px;margin:auto;padding:24px 28px;display:flex;align-items:center;gap:32px;background:var(--surface-raised);border:1px solid var(--hairline);border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.38)}
.sgx-consent__copy{flex:1;min-width:0}
.sgx-consent__copy strong,.sgx-consent-modal__card h2{font-family:var(--font-display);font-size:20px;line-height:1.25;color:var(--ink-heading)}
.sgx-consent__copy p,.sgx-consent-modal__card p{font-size:14px;line-height:1.55;color:var(--ink-body);margin:8px 0}
.sgx-consent__links{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
.sgx-consent__copy a,.sgx-consent__link{color:var(--brand-text);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.sgx-consent__link{appearance:none;border:0;background:transparent;padding:0;font-family:inherit;cursor:pointer}
.sgx-consent__link:focus-visible{outline:3px solid var(--brand-fill);outline-offset:3px}
.sgx-consent__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;max-width:440px}
.sgx-consent__button{appearance:none;border:1px solid var(--hairline);border-radius:8px;background:var(--surface-card);color:var(--ink-high);font:600 13px var(--font-display);min-height:44px;padding:10px 16px;cursor:pointer;white-space:nowrap}
.sgx-consent__button:hover{border-color:var(--brand-fill);color:var(--ink-heading)}
.sgx-consent__button:focus-visible,.sgx-consent-switch input:focus-visible{outline:3px solid var(--brand-fill);outline-offset:3px}
.sgx-consent__button--primary{background:var(--brand-fill);border-color:var(--brand-fill);color:var(--cta-text)}
.sgx-consent__button--primary:hover{background:var(--brand-text);color:var(--cta-text)}
.sgx-consent-open{overflow:hidden}
.sgx-consent-modal{position:fixed;z-index:10001;inset:0;display:grid;place-items:center;padding:20px}
.sgx-consent-modal__shade{position:absolute;inset:0;background:rgba(0,0,0,.72)}
.sgx-consent-modal__card{position:relative;width:min(100%,560px);max-height:calc(100dvh - 40px);overflow:auto;background:var(--surface-raised);border:1px solid var(--hairline);border-radius:16px;padding:28px;box-shadow:0 30px 100px rgba(0,0,0,.45)}
.sgx-consent-modal__card h2{margin:0 0 10px}
.sgx-consent-modal__row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid var(--hairline)}
.sgx-consent-modal__row:first-of-type{margin-top:20px}
.sgx-consent-modal__row strong{display:block;font:600 15px var(--font-display);color:var(--ink-heading)}
.sgx-consent-modal__row small{display:block;margin-top:5px;font-size:13px;line-height:1.4;color:var(--ink-body)}
.sgx-consent-switch{display:flex;align-items:center;gap:8px;flex:none;font-size:13px;color:var(--ink-high);cursor:pointer}
.sgx-consent-switch input{width:20px;height:20px;accent-color:var(--brand-fill);cursor:pointer}
.sgx-consent-modal__note{padding-top:4px}
.sgx-consent-modal__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
@media(max-width:700px){.sgx-consent{left:8px;right:8px;bottom:8px;padding:18px;display:block;max-height:calc(100dvh - 16px);overflow:auto}.sgx-consent__actions{max-width:none;justify-content:stretch;margin-top:16px}.sgx-consent__actions .sgx-consent__button{flex:1 1 calc(50% - 5px)}.sgx-consent-modal{padding:8px}.sgx-consent-modal__card{padding:20px;max-height:calc(100dvh - 16px)}.sgx-consent-modal__actions .sgx-consent__button{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.sgx-consent,.sgx-consent-modal{scroll-behavior:auto}}
