/* Scoped consent controls; existing page components keep their own styles. */
.ms-consent-banner,.ms-consent-dialog{box-sizing:border-box;background:#f4f4f0;color:#121311;font-family:'DM Sans',Arial,sans-serif;font-size:14px;line-height:1.5;text-align:left;box-shadow:0 12px 45px #0004;border:1px solid #73766c;padding:24px}
.ms-consent-banner{position:fixed;z-index:90;inset:auto auto 20px 20px;width:min(550px,calc(100% - 40px));max-height:calc(100dvh - 40px);overflow:auto}
.ms-consent-banner[hidden],.ms-consent-settings[hidden],.ms-consent-dialog:not([open]){display:none!important}
.ms-consent-banner h2,.ms-consent-dialog h2{font-family:inherit;font-size:24px;font-weight:500;line-height:1.2;letter-spacing:-.025em;margin:0 0 12px}
.ms-consent-banner p,.ms-consent-dialog p{font:inherit;max-width:none;margin:0 0 12px;color:#121311}
.ms-consent-banner .ms-consent-note,.ms-consent-dialog .ms-consent-note{font-size:13px;color:#454940}
.ms-consent-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.ms-consent-actions button,.ms-consent-heading button{box-sizing:border-box;font:inherit;font-size:13px;font-weight:500;min-height:44px;border:1px solid #454940;padding:10px 14px;background:#f4f4f0;color:#121311;cursor:pointer;border-radius:0;line-height:1.4}
.ms-consent-actions button{flex:1 1 auto}
.ms-consent-actions button:hover,.ms-consent-heading button:hover{background:#d0edba}
.ms-consent-policy{display:inline-block;color:#121311!important;text-decoration:underline!important;text-underline-offset:3px;font-size:13px;min-height:24px}
.ms-consent-dialog{width:min(550px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;overflow:auto}
.ms-consent-dialog::backdrop{background:#000a}
.ms-consent-heading{display:flex;align-items:start;gap:18px;justify-content:space-between;margin-bottom:12px}
.ms-consent-heading h2{margin:0}
.ms-consent-heading button{flex:0 0 auto}
.ms-consent-category{padding:16px 0;border-top:1px solid #c0c3b9}
.ms-consent-category h3,.ms-consent-category label{display:flex;align-items:center;gap:10px;font-family:inherit;font-size:15px;font-weight:500;letter-spacing:0;line-height:1.4;margin:0 0 8px}
.ms-consent-category label{cursor:pointer;min-height:28px}
.ms-consent-category input{appearance:auto;width:20px;height:20px;min-width:20px;margin:0;accent-color:#121311;cursor:pointer}
.ms-consent-category p{font-size:13px;margin:0}
.ms-consent-settings{color:inherit;background:none;border:0;border-radius:0;font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:8px 0}
.ms-consent-banner :focus-visible,.ms-consent-dialog :focus-visible,.ms-consent-settings:focus-visible{outline:3px solid #244e8d;outline-offset:3px}
.ms-consent-status{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.ms-consent-banner{inset:auto 12px 12px;width:auto;padding:18px;max-height:calc(100dvh - 24px)}.ms-consent-dialog{padding:20px}.ms-consent-banner h2,.ms-consent-dialog h2{font-size:22px}.ms-consent-actions button{flex-basis:calc(50% - 8px)}#consent-manage{flex-basis:100%}}
