#wg-shell[hidden]{display:none!important}#wg-shell{position:fixed;inset:0;z-index:2147483646;display:grid;place-items:center;padding:14px;background:#0008;font:15px/1.5 system-ui,sans-serif;box-sizing:border-box;color:var(--wg-text,#18212b)}#wg-shell *{box-sizing:border-box}.wg-lock{overflow:hidden}.wg-panel{width:min(590px,100%);max-height:calc(100dvh - 28px);overflow:auto;background:var(--wg-background,#fff);border-radius:12px;box-shadow:0 12px 60px #0005}.wg-header{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #ccc;flex-wrap:wrap}.wg-brand{font-size:26px;font-weight:800}#wg-shell a{color:var(--wg-accent,#245bc0)}#wg-shell h2,#wg-shell p{margin:20px 24px}#wg-shell h2{font-size:23px;color:inherit}.wg-categories{margin:20px 24px;border:1px solid #ccc;border-radius:8px}.wg-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid #ccc}.wg-row:last-child{border:0}.wg-row input{width:24px;height:24px;accent-color:var(--wg-button,#006956)}.wg-row span{font-size:14px}.wg-actions,.wg-tools{display:flex;gap:10px;flex-wrap:wrap;padding:12px 24px}#wg-shell button{font:600 14px/1.4 system-ui;cursor:pointer;border:1px solid var(--wg-button,#006956);padding:11px 14px;background:var(--wg-button,#006956);color:var(--wg-button_text,#fff);border-radius:5px;min-height:44px}#wg-shell select{font:14px system-ui;padding:9px;max-width:150px}#wg-shell :focus-visible,#wg-trigger:focus-visible{outline:3px solid #df9800;outline-offset:3px}#wg-shell footer{padding:18px 24px;display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid #ccc;font-size:12px}#wg-trigger{position:fixed;bottom:18px;left:18px;z-index:2147483645;border:1px solid #fff;background:#006956;color:#fff;border-radius:50%;width:54px;height:54px;font-size:28px;cursor:pointer;box-shadow:0 3px 12px #0004}#wg-trigger[data-side=right]{left:auto;right:18px}.wg-actions{position:sticky;bottom:0;background:var(--wg-background,#fff)}.wg-actions button{flex:1}iframe[data-wg-frame]{width:100%;min-height:320px;border:0}iframe[data-wg-frame][hidden]{display:none!important}@media(max-width:420px){.wg-actions{flex-direction:column}.wg-header{padding:16px}#wg-shell h2,#wg-shell p{margin:16px}.wg-categories{margin:16px}}

#wg-shell[dir="rtl"] .wg-panel{text-align:right}#wg-shell[dir="rtl"] .wg-row{direction:rtl}

/* WPGDPR logo branding: preserve the original logo proportions. */
#wg-shell .wg-brand{display:flex;align-items:center;flex:0 1 220px;min-width:120px;text-decoration:none}
#wg-shell .wg-brand img{display:block;width:220px;max-width:100%;height:auto;object-fit:contain}
#wg-shell .wg-header [data-wg-close]{order:1;background:transparent;color:var(--wg-text,#18212b);border-color:transparent;font-size:25px;padding:4px 10px;min-width:44px}
#wg-shell .wg-header select{order:2;margin-inline-start:auto}
#wg-shell footer{align-items:center;background:#f4f4f4}
#wg-shell .wg-powered{margin-inline-start:auto;display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--wg-text,#18212b);white-space:nowrap}
#wg-shell .wg-powered img{display:block;width:105px;max-width:100%;height:auto;object-fit:contain}
@media(max-width:420px){#wg-shell .wg-header{gap:8px;flex-wrap:nowrap}#wg-shell .wg-brand{min-width:0;flex:1}#wg-shell .wg-brand img{width:170px}#wg-shell .wg-header select{max-width:112px;min-width:0;font-size:12px;padding:8px 4px}#wg-shell .wg-header [data-wg-close]{padding:2px;min-width:34px}#wg-shell footer{gap:12px}#wg-shell .wg-powered img{width:90px}}

/* Detailed category descriptions and fixed consent controls, dev.6. */
.wg-panel{display:flex;flex-direction:column;width:min(700px,100%);overflow:hidden;border-radius:6px}
.wg-header{flex:none;background:var(--wg-background,#fff);padding:18px 22px}
.wg-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}
#wg-shell h3.wg-preferences-title{font-size:19px;margin:30px 24px 20px;line-height:1.4}
.wg-categories{border-radius:0;margin:20px 24px}
.wg-category+.wg-category{border-top:1px solid #ccc}
.wg-row{padding:20px 22px;min-height:84px;border:0}
#wg-shell button.wg-expand{display:flex;align-items:center;gap:6px;flex:1;text-align:start;background:transparent;color:inherit;border:0;padding:0;border-radius:0;font-size:16px;min-width:0}
.wg-expand strong{font-weight:700}.wg-always{color:var(--wg-accent,#245bc0);font-weight:600;white-space:nowrap}
#wg-shell .wg-description{margin:0;padding:22px;background:#eaeaea;font-size:15px;line-height:1.6;border:0}.wg-description[hidden]{display:none!important}
.wg-switch{position:relative;display:inline-flex;width:54px;height:30px;flex:none;cursor:pointer}
.wg-switch input{position:absolute;inset:0;opacity:0;margin:0!important;width:100%!important;height:100%!important;cursor:pointer;z-index:1}
.wg-switch-track{display:block;width:54px;height:30px;border-radius:20px;background:#777;transition:background .15s}
.wg-switch-track:before{content:'';display:block;position:absolute;top:3px;inset-inline-start:3px;width:24px;height:24px;border-radius:50%;background:white;transition:inset-inline-start .15s}
.wg-switch input:checked+.wg-switch-track{background:#40845a}.wg-switch input:checked+.wg-switch-track:before{inset-inline-start:27px}.wg-switch input:focus-visible+.wg-switch-track{outline:3px solid #df9800;outline-offset:3px}.wg-switch input:disabled+.wg-switch-track{opacity:.5;cursor:not-allowed}
.wg-actions{position:static;flex:none;order:3;border-top:1px solid #ddd;padding:22px 24px 30px;gap:16px}.wg-actions button{min-height:52px}
.wg-panel>footer{order:4;flex:none;padding:16px 24px;justify-content:flex-end}
.wg-tools{padding:12px 24px 20px}.wg-tools button{min-height:50px}
#wg-shell .wg-accept-all{margin:0 24px 12px;background:transparent;color:var(--wg-accent,#245bc0);border-color:var(--wg-accent,#245bc0)}
@media(max-width:420px){#wg-shell{padding:6px}.wg-panel{max-height:calc(100dvh - 12px)}.wg-row{padding:16px 12px;gap:10px}#wg-shell button.wg-expand{font-size:14px}.wg-always{font-size:11px!important}.wg-categories{margin:16px 12px}#wg-shell .wg-description{padding:16px 14px;font-size:14px}#wg-shell h3.wg-preferences-title{margin:24px 16px 16px;font-size:17px}.wg-actions{padding:14px 12px;flex-direction:row;gap:10px}#wg-shell .wg-actions button{font-size:12px;padding:10px 7px}.wg-tools{padding:10px 12px 14px;gap:8px}#wg-shell .wg-tools button{font-size:12px;flex:1;padding:10px 6px}.wg-panel>footer{padding:12px 16px}}
