.wpapc[hidden],.wpapc__open[hidden],.wpapc__prefs[hidden],.wpapc__actions button[hidden]{display:none!important}
.wpapc{position:fixed;inset:auto 12px 12px;z-index:2147483000;display:flex;justify-content:center;font:normal 15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0a0909;pointer-events:none}
.wpapc__panel{pointer-events:auto;box-sizing:border-box;width:min(650px,100%);max-height:85vh;overflow-y:auto;padding:20px 22px;background:#fff;border:1px solid #bfcbd5;border-radius:13px;box-shadow:0 12px 45px rgba(0,0,0,.23)}
.wpapc h2{font:700 22px/1.3 system-ui,sans-serif;margin:0 0 8px;color:#0f2c54}.wpapc p{margin:0 0 15px;color:#354259}
.wpapc__prefs{margin:12px 0;border:1px solid #d6dde5;border-radius:8px;padding:0 12px}
.wpapc__line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #e3e8ef}.wpapc__line:last-child{border-bottom:0}
.wpapc__line small{display:block;color:#354259;font-size:12px}.wpapc__line input{width:19px;height:19px;flex:none;accent-color:#008e21}
.wpapc__always{font-size:12px;color:#354259;white-space:nowrap}.wpapc__actions{display:flex;gap:8px;flex-wrap:wrap}
.wpapc__actions button,.wpapc__open,.wpapc-open-shortcode{font:600 13px/1.3 system-ui,sans-serif;cursor:pointer;padding:10px 13px;border-radius:7px}
.wpapc__primary{background:#008e21;color:white;border:1px solid #008e21}.wpapc__secondary{background:white;color:#0f2c54;border:1px solid #354259}
.wpapc button:focus-visible,.wpapc__open:focus-visible,.wpapc-open-shortcode:focus-visible{outline:3px solid #008e21;outline-offset:2px}
.wpapc__policy{margin:12px 0 0!important;font-size:12px}.wpapc__policy a{color:#008e21;text-decoration:underline}
.wpapc__open{position:fixed;left:12px;bottom:12px;z-index:2147482900;border:1px solid #354259;background:#fff;color:#0f2c54;box-shadow:0 2px 10px #0002}
.wpapc-open-shortcode{background:white;color:#0f2c54;border:1px solid #354259}
@media(max-width:550px){.wpapc{inset:auto 6px 6px}.wpapc__panel{padding:14px;max-height:80vh}.wpapc__actions button{flex:1 1 42%}.wpapc__open{bottom:7px;left:7px}}

/* v0.2: keep core consent UI visible above The7 overlays */
#wpapc-banner:not([hidden]){display:flex!important;visibility:visible!important;opacity:1!important}
#wpapc-open:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important}
#wpapc-banner,#wpapc-open{box-sizing:border-box}

/* WPA brand and theme isolation */
#wpapc-banner .wpapc__primary{background:#008e21!important;border-color:#008e21!important;color:#ffffff!important}
#wpapc-banner .wpapc__secondary{background:#ffffff!important;color:#0f2c54!important;border-color:#354259!important}
#wpapc-banner .wpapc__panel{background:#ffffff;color:#0a0909}
#wpapc-banner h2{color:#0f2c54}
#wpapc-open{background:#ffffff;color:#0f2c54}
