/* ONOX Privacy & Consent – compact, two-level design */
.opc-panel[hidden],.opc-panel [hidden]{display:none!important}
.opc-panel,.opc-reopen{font-family:inherit;box-sizing:border-box;line-height:1.45}
.opc-panel *,.opc-panel *::before,.opc-panel *::after{box-sizing:border-box}
.opc-panel{position:fixed;z-index:100000;left:16px;bottom:16px;width:min(400px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:#172734;border:1px solid #d5e0e5;border-radius:12px;padding:17px;box-shadow:0 10px 36px #10243129;font-size:13px;text-align:left}
.opc-panel h2{font-family:inherit;font-weight:700;font-size:19px;line-height:1.25;margin:0 0 9px;color:#153343;letter-spacing:-.02em}
.opc-panel p{margin:0 0 12px;font-size:13px;line-height:1.45}
.opc-panel a{color:#006497;text-decoration:underline;text-underline-offset:2px}
.opc-panel fieldset{margin:0 0 12px;padding:6px 10px;border:1px solid #d5e0e5;border-radius:7px;min-width:0}
.opc-panel legend{padding:0 4px;font-size:12px;font-weight:600}
.opc-panel label{display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:12px;line-height:1.4;cursor:pointer}
.opc-panel input[type=checkbox]{flex-shrink:0;margin:2px 0 0;width:17px;height:17px;accent-color:#006497}
.opc-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.opc-actions button,.opc-reopen{appearance:none;cursor:pointer;font:inherit;font-size:12px;font-weight:600;border:1px solid #006497;border-radius:7px;padding:8px 6px;text-align:center;background:#006497;color:#fff;min-height:44px;line-height:1.3;white-space:normal}
.opc-actions [data-opc-settings],.opc-actions [data-opc-save]{grid-column:1/-1;background:#fff;color:#006497;min-height:40px}
.opc-panel .opc-links{margin:9px 0 0;text-align:center;font-size:12px;line-height:1.6}
.opc-reopen{position:fixed;left:12px;bottom:12px;z-index:99999;background:#fff;color:#006497;font-size:11px;min-height:36px;padding:6px 9px;box-shadow:0 2px 12px #10243114}
.opc-panel:not([hidden])~.opc-reopen{visibility:hidden}
.opc-panel button:focus-visible,.opc-reopen:focus-visible,.opc-panel a:focus-visible,.opc-panel input:focus-visible{outline:3px solid #ed9c36;outline-offset:3px}
.opc-panel [data-opc-status]{margin:9px 0 0;color:#8b2a1b;font-size:12px}
.opc-panel h2:focus{outline:none}
@media(max-width:520px){.opc-panel{left:10px;bottom:10px;width:calc(100vw - 20px);max-width:400px;max-height:calc(100dvh - 20px);padding:14px}.opc-panel h2{font-size:18px}}
@media(max-width:320px){.opc-actions{grid-template-columns:1fr}.opc-actions [data-opc-settings],.opc-actions [data-opc-save]{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.opc-panel,.opc-panel *{scroll-behavior:auto!important}}

.opc-panel .opc-service-info{display:block;font-size:12px;line-height:1.45;margin-top:4px;color:#40535d;font-weight:400}
.opc-panel .opc-detail-note{font-size:12px;line-height:1.5;margin:6px 0 0;color:#40535d}
.opc-panel .opc-detail-note a{text-decoration:underline}
