/* ERBIAS compact lower-left consent panel */
.ec-consent[hidden],.ec-settings[hidden],.ec-reopen[hidden]{display:none!important}
.ec-consent{position:fixed;z-index:2147482000;left:20px;bottom:20px;right:auto;top:auto;width:min(390px,calc(100vw - 40px));display:block;font-family:inherit;pointer-events:auto}
.ec-card{box-sizing:border-box;pointer-events:auto;width:100%;max-height:min(76dvh,650px);overflow-y:auto;overscroll-behavior:contain;background:#fff;color:#162b48;border:1px solid #e1eaf5;border-radius:16px;box-shadow:0 14px 48px rgba(23,46,83,.18),0 3px 12px rgba(23,46,83,.06);padding:17px 18px 16px}
.ec-heading{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.3;letter-spacing:-.01em}.ec-heading strong{font-weight:750}.ec-symbol{flex:none;display:grid;place-items:center;width:29px;height:29px;background:#eef5ff;color:#1969ce;border-radius:9px;font-size:19px}
.ec-card p{font-size:11.5px;line-height:1.65;color:#5b6e86;margin:10px 0 13px}.ec-card p a{color:#1468cb;font-weight:650;text-decoration:underline;text-underline-offset:2px}
.ec-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ec-actions button,.ec-save{box-sizing:border-box;font:inherit;font-size:10.5px;font-weight:700;line-height:1.25;cursor:pointer;padding:8px 5px;border-radius:8px;border:1px solid #cddbef;background:#fff;color:#194777;min-height:38px;transition:background .16s,border-color .16s}
.ec-actions button:hover,.ec-save:hover{background:#f1f6ff;border-color:#88afe2}.ec-actions button:last-child,.ec-save{background:#1764c8;color:#fff;border-color:#1764c8}.ec-actions button:last-child:hover,.ec-save:hover{background:#104d9f;color:#fff}
.ec-actions button:focus-visible,.ec-save:focus-visible,.ec-reopen:focus-visible{outline:3px solid #80b6ff;outline-offset:2px}
.ec-settings{border-top:1px solid #e7edf5;margin-top:13px;padding-top:4px}.ec-option{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf2f8;cursor:pointer}.ec-option strong{font-size:11.5px;display:block;color:#203b5b}.ec-option small{display:block;color:#65778e;line-height:1.45;margin-top:3px;font-size:10.5px}.ec-option input{flex-shrink:0;accent-color:#1764c8;width:17px;height:17px}.ec-inactive{font-size:10px;font-weight:700;color:#718096;white-space:nowrap}.ec-save{width:100%;margin-top:11px;font-size:11.5px}
.ec-reopen{position:fixed;z-index:2147481999;bottom:16px;left:18px;border:1px solid #dce7f4;background:#fff;color:#214b7a;box-shadow:0 5px 21px #19395a20;padding:8px 12px;border-radius:100px;font:600 11px/1.25 inherit;cursor:pointer;max-width:calc(100vw - 30px)}
@media(max-width:600px){.ec-consent{left:12px;right:auto;bottom:calc(76px + env(safe-area-inset-bottom,0px));width:min(360px,calc(100vw - 24px))}.ec-card{padding:14px;max-height:min(62dvh,500px);border-radius:14px}.ec-heading{font-size:13px}.ec-card p{font-size:11px;margin:9px 0 11px}.ec-actions{gap:5px}.ec-actions button{font-size:10px;min-height:39px;padding:6px 3px}.ec-reopen{left:12px;bottom:calc(76px + env(safe-area-inset-bottom,0px))}}
@media(max-width:360px){.ec-actions{grid-template-columns:1fr 1fr}.ec-actions button:nth-child(2){grid-column:1 / -1;grid-row:2}.ec-actions button:last-child{grid-column:2;grid-row:1}}

.ec-reopen{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:14px;font-size:23px;line-height:1;touch-action:manipulation;pointer-events:auto}
.ec-actions button,.ec-save{pointer-events:auto;touch-action:manipulation}

/* One-time consent banner and right-side confirmation */
.ec-feedback[hidden]{display:none!important}
.ec-feedback{position:fixed;right:20px;top:24px;z-index:2147482001;box-sizing:border-box;display:flex;align-items:center;gap:11px;max-width:min(390px,calc(100vw - 32px));padding:14px 18px;background:#fff;color:#16365a;border:1px solid #d9e7f8;border-left:4px solid #1764c8;border-radius:12px;box-shadow:0 15px 45px rgba(23,46,83,.18);font-size:13px;font-weight:650;line-height:1.45;transform:translateX(calc(100% + 25px));opacity:0;transition:transform .3s ease,opacity .3s ease;pointer-events:none}
.ec-feedback.ec-feedback-visible{transform:translateX(0);opacity:1}
.ec-feedback-mark{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:100%;background:#e9f3ff;color:#1764c8;font-size:15px;font-weight:800}
@media(max-width:600px){.ec-feedback{top:14px;right:12px;max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){.ec-feedback{transition:none}}

/* Shared desktop/mobile button layout: decisions above, preferences below. */
.ec-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.ec-actions button[data-ec="accept"]{grid-column:1;grid-row:1;background:#1764c8;color:#fff;border-color:#1764c8}
.ec-actions button[data-ec="reject"]{grid-column:2;grid-row:1;background:#fff;color:#194777;border-color:#cddbef}
.ec-actions button[data-ec="settings"]{grid-column:1 / -1;grid-row:2;background:#f4f8fe;color:#194777;border-color:#cddbef}
.ec-actions button[data-ec="settings"]:hover{background:#eaf2fd}
.ec-actions button[data-ec="accept"]:hover{background:#104d9f;color:#fff}
@media(max-width:360px){.ec-actions button:nth-child(2){grid-column:1 / -1;grid-row:2}.ec-actions button:last-child{grid-column:1;grid-row:1}}
