/* Scoped consent UI. Existing page typography/layout remain unchanged. */
.viora-consent,.viora-consent-dialog{box-sizing:border-box;color:#07121f;background:#edf5ff;font-family:Arial,Helvetica,sans-serif;border:1px solid #bdcfe2;box-shadow:0 18px 60px #07121f24;border-radius:18px}
.viora-consent{position:fixed;z-index:1000;left:24px;bottom:24px;width:min(430px,calc(100vw - 48px));padding:27px 28px 19px;max-height:calc(100dvh - 48px);overflow-y:auto}
.viora-consent[hidden]{display:none!important}
.viora-consent h2,.viora-consent-dialog h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:34px!important;font-weight:500;line-height:1.05!important;letter-spacing:-.025em!important;margin:14px 0 16px!important}
.viora-consent h2 em,.viora-consent-dialog h2 em{font-family:inherit;font-style:italic;letter-spacing:inherit;color:#226eae}
.consent-kicker{font-size:10px;letter-spacing:.15em;font-weight:600;color:#436b90}
.viora-consent p,.viora-consent-dialog p{font-size:13px;line-height:1.7;color:#435d73;margin:0 0 18px}
.consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.consent-actions button,.consent-save{border:1px solid #07121f;background:#07121f;color:#fff;border-radius:25px;padding:13px 10px;min-height:46px;font:500 13px Arial,Helvetica,sans-serif;cursor:pointer}
.consent-actions button:hover,.consent-save:hover{background:#226eae;border-color:#226eae}
.consent-customise{display:flex;justify-content:space-between;align-items:center;width:100%;padding:15px 2px 10px;margin-top:3px;border:0;background:transparent;color:#226eae;font-size:13px;cursor:pointer}
.consent-customise span{font-size:20px;font-family:Arial,sans-serif}
.viora-consent .consent-footnote{font-size:11px;margin:4px 0 0;color:#52677c}
.viora-consent-dialog{padding:30px;max-width:540px;width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto}
.viora-consent-dialog::backdrop{background:#07121f77;backdrop-filter:blur(4px)}
.consent-close{position:absolute;right:17px;top:12px;border:0;background:transparent;color:#07121f;font-size:25px;width:40px;height:40px;cursor:pointer}
.consent-category{padding:20px 0;border-top:1px solid #bdcfe2}
.consent-category>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px}
.consent-category h3{font-size:15px;font-weight:600;margin:0}
.consent-always{font-size:11px;color:#436b90;white-space:nowrap}
.consent-category p{margin:10px 0 0}
.consent-toggle{display:flex;align-items:center;gap:12px;position:relative;font-size:15px;font-weight:600;cursor:pointer;min-height:30px}
.consent-toggle>span:first-child{margin-right:auto}
.consent-toggle input{position:absolute;right:0;width:44px;height:26px;opacity:0;cursor:pointer;margin:0}
.consent-switch{width:44px;height:26px;border-radius:20px;background:#b2c4d5;border:1px solid #8da8bf;pointer-events:none}
.consent-switch:after{content:'';display:block;background:white;width:18px;height:18px;border-radius:50%;margin:3px;transition:transform .15s}
.consent-toggle input:checked+.consent-switch{background:#226eae;border-color:#226eae}
.consent-toggle input:checked+.consent-switch:after{transform:translateX(18px)}
.consent-toggle input:focus-visible+.consent-switch{outline:3px solid #1677ff;outline-offset:3px}
.viora-consent-dialog .consent-details{font-size:12px}.consent-details a{text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.consent-save{width:100%;background:transparent;color:#07121f;margin-top:10px}.consent-save:hover{color:#fff}
@media(max-width:480px){.viora-consent{left:12px;bottom:12px;width:calc(100vw - 24px);padding:23px 22px 17px;max-height:calc(100dvh - 24px)}.viora-consent-dialog{padding:26px 22px}.viora-consent h2,.viora-consent-dialog h2{font-size:31px!important}}
@media(prefers-reduced-motion:reduce){.consent-switch:after{transition:none}}
