/* Scoped styles. Banner never blocks scrolling or changes the Home layout. */
#plgc-root, .plgc-placeholder { --plgc-cream:#f8f5ed; --plgc-green:#304d41; --plgc-gold:#ebbc33; color:var(--plgc-green); font:16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-align:left; }
#plgc-root *, .plgc-placeholder * { box-sizing:border-box; }
#plgc-root [hidden], iframe[data-plgc-embed][hidden], .plgc-placeholder[hidden] { display:none!important; }
#plgc-root p, .plgc-placeholder p { font:inherit; margin:8px 0 12px; }
#plgc-root a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
#plgc-root button, .plgc-placeholder button { appearance:none; font:600 14px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-transform:none; letter-spacing:normal; min-height:44px; padding:10px 16px; margin:0; border:1px solid var(--plgc-green); border-radius:3px; color:var(--plgc-green); background:var(--plgc-cream); cursor:pointer; box-shadow:none; white-space:normal; touch-action:manipulation; }
#plgc-root button::after, #plgc-root button::before { content:none!important; }
#plgc-root button:focus-visible, #plgc-root input:focus-visible, #plgc-root a:focus-visible, .plgc-placeholder button:focus-visible { outline:3px solid var(--plgc-green); outline-offset:3px; }
#plgc-root button:hover, .plgc-placeholder button:hover { background:#eee9dc; }
#plgc-root .plgc-banner { position:fixed; z-index:100000; inset:auto 16px max(16px,env(safe-area-inset-bottom)) auto; width:min(620px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow-y:auto; padding:20px 24px; background:var(--plgc-cream); border:1px solid #adb6a9; border-radius:5px; box-shadow:0 3px 24px #10241b21; }
#plgc-root .plgc-banner>strong { font-size:18px; font-weight:600; }
#plgc-root .plgc-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:12px; }
#plgc-root [data-plgc-accept], #plgc-root [data-plgc-reject], #plgc-root [data-plgc-save] { background:var(--plgc-gold); border-color:var(--plgc-gold); color:#253b32; }
#plgc-root [data-plgc-accept]:hover, #plgc-root [data-plgc-reject]:hover, #plgc-root [data-plgc-save]:hover { background:#d8aa25; border-color:#d8aa25; }
#plgc-root .plgc-footer { padding:10px 20px; text-align:center; background:var(--plgc-cream); }
#plgc-root .plgc-link, button.plgc-link { appearance:none; font:inherit; font-size:13px; color:inherit; background:transparent; border:0; min-height:44px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
#plgc-root .plgc-dialog { color:var(--plgc-green); background:var(--plgc-cream); border:1px solid #adb6a9; border-radius:6px; width:min(640px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow-y:auto; padding:24px; margin:auto; font:inherit; overscroll-behavior:contain; }
#plgc-root .plgc-dialog::backdrop { background:#10241b55; }
#plgc-root .plgc-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
#plgc-root h2 { font:600 24px/1.2 Georgia,serif; margin:0; color:inherit; }
#plgc-root .plgc-close { font-size:24px; padding:4px 12px; min-width:44px; flex-shrink:0; }
#plgc-root .plgc-category { display:flex; gap:20px; justify-content:space-between; align-items:center; padding:14px 0; border-top:1px solid #d4d8cc; font-weight:400; }
#plgc-root .plgc-category>strong, #plgc-root .plgc-category span>span { display:block; }
#plgc-root .plgc-category strong { font-weight:600; }
#plgc-root .plgc-category>span, #plgc-root .plgc-category span>span { font-size:14px; }
#plgc-root input[type=checkbox] { appearance:auto; accent-color:var(--plgc-green); width:24px; height:24px; min-width:24px; margin:10px 0 10px 10px; cursor:pointer; }
#plgc-root .plgc-note { font-size:13px; }
#plgc-root .plgc-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.plgc-placeholder { background:#eeeade; border:1px solid #cbd1c4; padding:24px; text-align:center; }
@media(max-width:520px) { #plgc-root .plgc-banner { inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px; width:auto; padding:16px; } #plgc-root .plgc-banner p { font-size:14px; } #plgc-root .plgc-actions>button { flex:1 1 auto; } #plgc-root .plgc-dialog { padding:18px; } }
@media(max-height:480px) and (orientation:landscape) { #plgc-root .plgc-banner { padding:12px 18px; max-height:calc(100dvh - 16px); } #plgc-root .plgc-banner p { margin:4px 0 8px; font-size:14px; } #plgc-root .plgc-dialog { max-height:calc(100dvh - 16px); } }
@media(prefers-reduced-motion:reduce) { #plgc-root *, .plgc-placeholder * { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
