/* Scoped so the same controls work on the portal and the original editor. */
#consent-panel, #consent-control { position:fixed; z-index:10000; right:16px; bottom:16px; max-width:calc(100vw - 32px); color:#222; font:15px/1.5 system-ui,sans-serif; letter-spacing:normal; }
#consent-panel[hidden], #consent-control[hidden], #consent-close[hidden] { display:none!important; }
#consent-panel { box-sizing:border-box; width:600px; max-height:65vh; overflow:auto; padding:20px; border:1px solid #aaa; border-radius:12px; background:#fff; box-shadow:0 4px 24px #0003; }
#consent-panel h2 { margin:0 0 8px; font-size:20px; line-height:1.3; }
#consent-panel p { margin:8px 0; }
#consent-panel a { color:#145ca4; text-decoration:underline; }
#consent-panel button, #consent-control button { min-height:44px; padding:9px 14px; border:1px solid #145ca4; border-radius:6px; background:#fff; color:#145ca4; font:inherit; cursor:pointer; }
#consent-panel button:hover, #consent-control button:hover { background:#ebf5ff; }
#consent-panel :focus-visible, #consent-control :focus-visible { outline:3px solid #145ca4; outline-offset:3px; }
#consent-panel .consent-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:16px; }
#consent-panel .consent-actions button { flex:1; }
#consent-close { margin-top:12px; }
#consent-control { width:max-content; }
#consent-status { margin:8px 0 0; padding:8px; max-width:360px; background:#fff; border-radius:6px; }
#consent-status:empty { display:none; }
@media (max-width:480px) { #consent-panel, #consent-control { right:12px; bottom:12px; max-width:calc(100vw - 24px); } #consent-panel { padding:16px; } }
