/* Deliberately scoped: does not change the original theme or its buttons. */
#pl-cookies, #pl-cookies *, #pl-cookies *::before, #pl-cookies *::after { box-sizing: border-box; }
#pl-cookies { font: 16px/1.5 Arial, sans-serif; color: #202820; }
#pl-cookies [hidden] { display: none !important; }
#pl-cookies button, #pl-cookies a { font: inherit; }
#pl-cookies button { cursor: pointer; min-height: 44px; padding: 9px 14px;
    border: 2px solid #354b37; border-radius: 4px; background: #fff; color: #203c25; }
#pl-cookies button:hover { background: #eaf1ea; }
#pl-cookies button:focus-visible, #pl-cookies a:focus-visible, #pl-cookies input:focus-visible {
    outline: 3px solid #005fcc; outline-offset: 3px; }
#pl-cookies a { color: #164b76; text-decoration: underline; }
#pl-cookie-panel { position: fixed; z-index: 2147483646; right: 16px; bottom: 70px;
    width: 600px; max-width: calc(100vw - 32px); max-height: calc(100vh - 100px);
    overflow-y: auto; overscroll-behavior: contain; padding: 22px; background: #fff;
    border: 2px solid #354b37; border-radius: 8px; box-shadow: 0 4px 24px #0005; }
#pl-cookie-panel h2 { font: bold 22px/1.3 Arial, sans-serif; margin: 0 0 12px; color: #203c25; }
#pl-cookie-panel p { margin: 10px 0; font: inherit; }
.pl-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
#pl-cookie-accept, #pl-cookie-reject { flex: 1 1 200px; }
#pl-cookie-options { margin-top: 18px; border-top: 1px solid #9aaa9a; padding-top: 15px; }
#pl-cookie-options label { display: block; font-weight: bold; cursor: pointer; padding: 8px 0; }
#pl-cookie-options input { width: 20px; height: 20px; margin: 0 5px 0 0; vertical-align: middle; accent-color: #354b37; }
#pl-cookie-close { margin-top: 12px; }
.pl-cookie-links { position: fixed; z-index: 2147483645; left: 12px; bottom: 10px;
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #fff;
    padding: 4px 8px; border: 1px solid #354b37; border-radius: 5px; }
#pl-cookies .pl-cookie-links { font-size: 14px; }
#pl-cookies .pl-cookie-links button { min-height: 36px; padding: 4px 8px; }
#pl-cookie-status { position: fixed; z-index: 2147483647; bottom: 64px; left: 12px;
    max-width: calc(100vw - 24px); background: #fff; margin: 0; }
#pl-cookie-status:empty { display: none; }
@media (max-width: 600px) {
    #pl-cookie-panel { right: 8px; bottom: 78px; max-width: calc(100vw - 16px);
        max-height: calc(100dvh - 94px); padding: 16px; }
    .pl-cookie-actions { gap: 8px; }
    #pl-cookie-accept, #pl-cookie-reject { flex-basis: 100%; }
    .pl-cookie-links { left: 8px; bottom: 8px; gap: 6px; max-width: calc(100vw - 16px); }
}
