/* The consent controls must also work on pages that do not load Tailwind. */
#cookie-banner{position:fixed;inset:auto 0 0;z-index:9999;color:#142b31;max-height:90vh;overflow:auto;font:400 14px/1.5 system-ui,sans-serif}
#cookie-banner.hidden{display:none}
#cookie-banner>div{box-sizing:border-box;max-width:768px;margin:0 auto;padding:20px;background:#fff;border:1px solid #a9b9bd;border-radius:16px 16px 0 0;box-shadow:0 -5px 30px #0003}
#cookie-banner h2{font-size:18px;font-weight:700;margin:0;color:#142b31}
#cookie-banner p{margin:.35rem 0 .75rem;color:#29434a}
#cookie-banner summary{cursor:pointer;font-weight:650;padding:.5rem 0}
#cookie-banner summary svg{width:16px;height:16px}
#cookie-banner label,#cookie-banner details>div>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 0}
#cookie-banner label>div{max-width:85%}
#cookie-banner input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#146d64}
#cookie-banner [id^=desc-]{font-size:13px;color:#456068}
#cookie-banner [id^=label-]{font-weight:650}
#cookie-banner>div>div>div:last-child{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
#cookie-banner button{min-height:44px;padding:10px 14px;border:1px solid #9bb0b4;border-radius:10px;font:600 14px/1.3 system-ui,sans-serif;cursor:pointer;background:#f1f5f5;color:#142b31}
#cookie-banner #btn-accept-all{background:#146d64;color:#fff;border-color:#146d64}
#cookie-banner a{color:#125b69;text-decoration:underline;padding:8px 0}
#cookie-banner :is(button,a,summary,input):focus-visible{outline:3px solid #cc951d;outline-offset:3px}
@media(max-width:420px){#cookie-banner>div{padding:14px}#cookie-banner button{flex:1 1 45%}#cookie-banner #cb-learn-more{width:100%}}
/* Dark theme recolours the text of "Save choices" but not its light base background (white on white). */
body.theme-v2 #cookie-banner #btn-save{background:transparent!important}
body.theme-v2 #cookie-banner #btn-save:hover{background:var(--plv-bg3)!important}
