/* A compact gallery label; all selectors are contained within the consent UI. */
#pa-privacy{position:relative;z-index:2147483000;font:14px/1.5 Arial,Helvetica,sans-serif;color:#37372f;letter-spacing:normal;text-align:left}
#pa-privacy *,#pa-privacy *::before,#pa-privacy *::after{box-sizing:border-box}
#pa-privacy [hidden]{display:none!important}
#pa-privacy button,#pa-privacy a{font:inherit;letter-spacing:normal;text-transform:none}
#pa-privacy button{cursor:pointer;appearance:none;min-height:44px;border:0;border-radius:0;background:transparent;color:#37372f;padding:10px 6px;box-shadow:none;transform:none}
#pa-privacy :focus-visible{outline:2px solid #59674f;outline-offset:2px}
#pa-privacy .pa-privacy-open{position:fixed;left:18px;bottom:max(12px,env(safe-area-inset-bottom));min-height:36px;padding:5px 12px;font:italic 13px/1.4 Georgia,serif;background:#eee7d8ed;border:1px solid #847c6959;box-shadow:0 2px 8px #25221914}
#pa-privacy-panel{position:fixed;right:24px;bottom:max(24px,calc(env(safe-area-inset-bottom) + 20px));width:300px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 90px);overflow:auto;padding:12px 14px 3px;background:linear-gradient(115deg,#f2ecdf,#e9e0ce);border:1px solid #a99a7e80;border-radius:1px;box-shadow:0 5px 20px #211c141a,0 1px 3px #211c1412;color:#37372f;text-align:left}
#pa-privacy h2{margin:0 0 4px;font:italic 15px/20px Georgia,'Times New Roman',serif;font-weight:normal;color:#38372d;letter-spacing:0;text-transform:none}
#pa-privacy .pa-choice-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
#pa-privacy .pa-choice-buttons{display:flex;align-items:stretch;gap:6px;border-top:1px solid #a99a7e80}
#pa-privacy .pa-choice-buttons button,#pa-privacy .pa-choice-buttons a{display:flex;align-items:center;justify-content:center;flex:1;min-width:44px;min-height:44px;padding:8px 3px;font:12px/1.4 Arial,Helvetica,sans-serif;color:#484638;transition:background-color .15s}
#pa-privacy .pa-choice-buttons a{text-decoration:underline;text-decoration-color:#a99a7e;text-underline-offset:3px}
#pa-privacy .pa-choice-buttons button:hover,#pa-privacy .pa-choice-buttons a:hover{background:#796c5110}
#pa-privacy .pa-choice-buttons [data-pa-close]{flex:0 0 44px;font:20px/1 Georgia,serif}
@media(max-width:480px){#pa-privacy-panel{right:16px;bottom:max(57px,calc(env(safe-area-inset-bottom) + 49px))}#pa-privacy .pa-privacy-open{left:16px}}
@media(prefers-reduced-motion:reduce){#pa-privacy button,#pa-privacy a{transition:none!important}}
@media(forced-colors:active){#pa-privacy-panel,#pa-privacy .pa-privacy-open{background:Canvas;color:CanvasText;border:1px solid CanvasText}#pa-privacy .pa-choice-buttons button{border:1px solid ButtonText}}

/* QD white/black family; a small functional choice, not a decorative perimeter. */
#pa-privacy{z-index:2147483500;color:#000}
#pa-privacy-panel{background:#fff;color:#000;border:1px solid #aaa;box-shadow:0 4px 22px #0002}
#pa-privacy h2,#pa-privacy button,#pa-privacy .pa-choice-buttons a{color:#000}
#pa-privacy .pa-choice-buttons{border-color:#ddd}
#pa-privacy .pa-privacy-open{background:#fff;color:#000;border:1px solid #aaa;min-height:44px}
#pa-privacy :focus-visible{outline-color:#000}
body.qd-about-open #pa-privacy .pa-privacy-open{display:none}
#pa-details{font:14px/1.5 Arial,sans-serif;padding:4px 0 8px}#pa-details p{margin:10px 0}#pa-details a{color:#000;text-underline-offset:.2em}

/* QD repair 02 — phone: compact consent bar that reserves reading space.
   Layout only. Labels, choices, storage key and behaviour live in analytics-choice-03.js and are untouched. */
@media(max-width:600px){
 #pa-privacy-panel{left:0;right:0;bottom:0;width:auto;max-width:none;max-height:min(56dvh,26rem);padding:8px 14px calc(2px + env(safe-area-inset-bottom,0px));border-width:1px 0 0;border-radius:0;box-shadow:0 -3px 14px #0002}
 #pa-privacy h2{margin:0 0 2px;font-size:14px;line-height:18px}
 #pa-privacy .pa-privacy-open[aria-expanded="true"]{display:none}
}

/* QD repair 03 — the allowance follows the panel's actual height.
   consent-fit-03.js sets --pa-reserve (panel height + bottom offset, safe-area included) while the panel is open; the fallback
   below (Candidate 02 phone value 104px + safe area, plus the same 16px gap) applies only if that script has not run.  Applies at every width: below 601px the panel is a bottom bar,
   above it a bottom-right card that would otherwise cover the Next block at the end of the page. */
html:has(#pa-privacy-panel:not([hidden])) body{padding-bottom:calc(var(--pa-reserve, calc(104px + env(safe-area-inset-bottom,0px))) + 16px)}

