#op-consent-root {font:16px/1.5 Arial,sans-serif;color:#191919;text-align:left}
#op-consent-root [hidden]{display:none!important}
#op-consent-root button{font:inherit;letter-spacing:0;text-transform:none;line-height:1.3;min-height:44px;cursor:pointer;margin:0}
#op-consent-root .opc-banner{position:fixed;z-index:2147483000;bottom:20px;left:20px;width:min(620px,calc(100vw - 40px));padding:24px;background:#fff;border:1px solid #ddd;border-radius:12px;box-shadow:0 8px 40px #0003;box-sizing:border-box}
#op-consent-root h2{font:600 22px/1.3 Arial,sans-serif;color:#191919;margin:0 0 12px}
#op-consent-root p{margin:0 0 16px}
#op-consent-root .opc-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
#op-consent-root .opc-button{border:1px solid #7c1212;border-radius:6px;padding:10px 14px;background:#7c1212;color:#fff;box-shadow:none;white-space:normal}
#op-consent-root .opc-button:hover{background:#571010}
#op-consent-root .opc-button:focus-visible,#op-consent-root input:focus-visible,#op-consent-root a:focus-visible{outline:3px solid #171717;outline-offset:3px}
#op-consent-root a{color:#7c1212;text-decoration:underline}
#op-consent-root .opc-reopen{position:fixed;z-index:2147482998;bottom:8px;left:8px;background:#fff;color:#222;border-color:#bbb;font-size:12px;min-height:36px}
#op-consent-root .opc-overlay{position:fixed;inset:0;background:#0008;z-index:2147483001;display:flex;align-items:center;justify-content:center;padding:16px}
#op-consent-root .opc-panel{background:#fff;width:min(620px,100%);padding:24px;border-radius:12px;max-height:90vh;overflow:auto;box-sizing:border-box}
#op-consent-root .opc-close{float:right;background:#fff;color:#222;border-color:#aaa;margin:0 0 12px 12px}
#op-consent-root .opc-category{display:block;border-bottom:1px solid #ddd;padding:16px 0;font-weight:600}
#op-consent-root .opc-category input{margin-right:10px;width:20px;height:20px;vertical-align:middle}
#op-consent-root .opc-category label{display:block;margin:0;font:inherit}
#op-consent-root .opc-category .opc-description{font-size:14px;font-weight:400;margin:8px 0}
#op-consent-root .opc-essential{padding:16px;background:#f5f5f5;border-radius:6px}
#op-consent-root .opc-essential h3{font:600 16px/1.4 Arial,sans-serif;margin:0 0 8px;color:#191919}
#op-consent-root .opc-essential p{font-size:14px;margin:0}
#op-consent-root .opc-always-notice{padding:12px;border-left:3px solid #7c1212;background:#faf2f2;font-size:14px;font-weight:400;overflow-wrap:anywhere}
#op-consent-root small{display:block;font-size:12px;font-weight:400;margin-top:8px;overflow-wrap:anywhere}
.opc-placeholder{background:#f4f4f4;border:1px solid #ddd;padding:32px;text-align:center;min-height:180px;display:grid;place-content:center;gap:12px}
.opc-placeholder button{background:#7c1212;color:#fff;border:0;padding:12px 18px;cursor:pointer}
@media(max-width:549px){#op-consent-root .opc-banner{bottom:0;left:0;width:100%;border-radius:12px 12px 0 0;padding:18px;max-height:85vh;overflow:auto}#op-consent-root .opc-actions{display:grid;grid-template-columns:1fr 1fr}#op-consent-root .opc-actions button:last-child{grid-column:1/-1}}

/* Preferences: fixed header/actions with an independently scrolling content area. */
#op-consent-root .opc-overlay{padding:24px;background:rgba(18,20,23,.58);backdrop-filter:blur(3px)}
#op-consent-root .opc-panel{width:min(720px,100%);max-height:calc(100dvh - 48px);padding:0;border:1px solid #e5e5e5;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 24px 80px #0004}
#op-consent-root .opc-panel-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #ededed;flex:none}
#op-consent-root .opc-panel-header h2{font-size:24px;margin:0}
#op-consent-root .opc-brand{font-size:11px;line-height:1.2;font-weight:700;letter-spacing:2px;color:#7c1212;margin:0 0 8px}
#op-consent-root .opc-close{float:none;flex:none;min-height:40px;padding:8px 12px;border:1px solid #ddd;border-radius:8px;background:#fff;color:#333;margin:0;font-size:13px}
#op-consent-root .opc-close:hover,#op-consent-root .opc-close:focus-visible{background:#f4f4f4;color:#111;border-color:#aaa}
#op-consent-root .opc-panel-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 28px;background:#fafafa}
#op-consent-root .opc-essential{padding:18px 20px;background:#f0f1f2;border:1px solid #e1e3e5;border-radius:10px;margin-bottom:16px}
#op-consent-root .opc-essential h3{font-size:15px}
#op-consent-root .opc-essential p{color:#565b61;line-height:1.6}
#op-consent-root .opc-category{padding:18px 20px;background:#fff;border:1px solid #e2e3e5;border-radius:10px;margin-bottom:12px}
#op-consent-root .opc-category:last-child{margin-bottom:0}
#op-consent-root .opc-category label{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;color:#191919;font-size:16px;font-weight:600}
#op-consent-root .opc-category input{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:44px;height:26px;min-width:44px;min-height:26px;padding:0;margin:0;border:1px solid #9da3aa;border-radius:20px;background:#b9bec4;box-shadow:none;cursor:pointer;transition:background .15s,border-color .15s}
#op-consent-root .opc-category input::before{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;margin:0;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transform:none;transition:transform .15s}
#op-consent-root .opc-category input:checked{background:#7c1212;border-color:#7c1212}
#op-consent-root .opc-category input:checked::before{transform:translateX(18px)}
#op-consent-root .opc-category .opc-description{color:#50565e;line-height:1.6;margin:10px 0}
#op-consent-root .opc-category small{color:#6c7279;line-height:1.6}
#op-consent-root .opc-panel-footer{flex:none;padding:18px 28px 22px;background:#fff;border-top:1px solid #e5e5e5}
#op-consent-root .opc-save-hint{font-size:12px;color:#666;margin:0 0 12px}
#op-consent-root .opc-panel-controls{display:flex;gap:12px;justify-content:flex-end}
#op-consent-root .opc-panel-controls .opc-button{border-radius:8px;min-height:46px;padding:12px 18px;font-size:14px}
#op-consent-root .opc-select-all{background:#fff;color:#7c1212;border-color:#c8a7a7}
#op-consent-root .opc-select-all:hover,#op-consent-root .opc-select-all:focus-visible{background:#faf0f0;color:#571010;border-color:#7c1212}
#op-consent-root .opc-reopen{border:1px solid #d5d5d5;border-radius:8px;background:#fff;color:#333;box-shadow:0 2px 12px #0002;padding:8px 12px;transition:background .15s,color .15s,border-color .15s}
#op-consent-root .opc-reopen:hover,#op-consent-root .opc-reopen:focus-visible,#op-consent-root .opc-reopen:active{background:#7c1212;color:#fff;border-color:#7c1212;border-radius:8px;box-shadow:0 3px 14px #0003;transform:none}
@media(max-width:549px){
 #op-consent-root .opc-overlay{padding:12px}
 #op-consent-root .opc-panel{max-height:calc(100dvh - 24px);border-radius:14px}
 #op-consent-root .opc-panel-header{padding:18px;gap:12px}
 #op-consent-root .opc-panel-header h2{font-size:20px}
 #op-consent-root .opc-panel-body{padding:16px}
 #op-consent-root .opc-category,#op-consent-root .opc-essential{padding:16px}
 #op-consent-root .opc-panel-footer{padding:14px 16px 16px}
 #op-consent-root .opc-panel-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 #op-consent-root .opc-panel-controls .opc-button{padding:10px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){#op-consent-root .opc-category input,#op-consent-root .opc-category input::before,#op-consent-root .opc-reopen{transition:none}}

#op-consent-root .opc-policy-link{display:inline-block;font-size:13px;line-height:1.5;margin:0 0 14px;text-underline-offset:3px}

#op-consent-root .opc-panel-controls .opc-select-all{background:#7c1212;color:#fff;border-color:#7c1212}
#op-consent-root .opc-panel-controls .opc-select-all:hover,#op-consent-root .opc-panel-controls .opc-select-all:focus-visible{background:#571010;color:#fff;border-color:#7c1212}

/* Compact mobile control; the accessible name and desktop label are retained. */
#op-consent-root .opc-reopen-icon{display:none}
@media(max-width:849px){
 #op-consent-root .opc-reopen,#op-consent-root .opc-reopen:hover,#op-consent-root .opc-reopen:focus-visible,#op-consent-root .opc-reopen:active{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:10px;border-radius:50%;line-height:1;margin:0}
 #op-consent-root .opc-reopen-label{display:none}
 #op-consent-root .opc-reopen-icon{display:block;width:22px;height:22px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M21 12a9 9 0 1 1-9-9 4 4 0 0 0 4 4 4 4 0 0 0 5 5Z'/%3E%3Ccircle cx='8' cy='9' r='1.2'/%3E%3Ccircle cx='7' cy='15' r='1.2'/%3E%3Ccircle cx='13' cy='16' r='1.2'/%3E%3Ccircle cx='12' cy='11' r='1.2'/%3E%3C/svg%3E") center/contain no-repeat}
}
