.am-cookie-dialog { box-sizing: border-box; width: min(36rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; border: 1px solid #d0d5dd; border-radius: 1.25rem; padding: clamp(1.1rem, 4vw, 2rem); color: #1d2939; background: #fff; box-shadow: 0 1.5rem 5rem #10182833; font: 1rem/1.6 system-ui, sans-serif; }
.am-cookie-dialog::backdrop { background: #10182880; }
.am-cookie-dialog h2 { margin: 0 0 .8rem; font-size: 1.5rem; line-height: 1.25; }
.am-cookie-dialog p { margin: .8rem 0; }
.am-cookie-dialog a { color: #53389e; text-decoration: underline; }
.am-cookie-dialog code { overflow-wrap: anywhere; }
.am-cookie-dialog summary { padding: .65rem 0; cursor: pointer; font-weight: 650; }
.am-cookie-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.am-cookie-actions button, .am-cookie-close, .am-cookie-settings { min-height: 44px; padding: .7rem 1rem; border: 1px solid #6941c6; border-radius: .65rem; font: inherit; font-weight: 650; cursor: pointer; }
#am-cookie-confirm { background: #6941c6; color: #fff; }
#am-cookie-reject, #am-cookie-accept { background: #fff; color: #53389e; flex: 1 1 12rem; }
#am-cookie-more, .am-cookie-close { background: #fff; color: #53389e; }
.am-cookie-close { margin-top: .75rem; }
.am-cookie-settings { display: block; position: static; margin: .75rem auto max(.75rem, env(safe-area-inset-bottom)); max-width: calc(100% - 1.5rem); background: #fff; color: #53389e; box-shadow: 0 2px 12px #1018281f; font: 600 .8rem/1.3 system-ui, sans-serif; }
.am-cookie-dialog :focus-visible, .am-cookie-settings:focus-visible { outline: 3px solid #1570ef; outline-offset: 3px; }
@media (max-width: 480px) { .am-cookie-actions { flex-direction: column; } .am-cookie-actions button { width: 100%; } }

.am-cookie-options { min-width: 0; margin: 1rem 0; padding: 0; border: 0; }
.am-cookie-options legend { font-size: 1.05rem; font-weight: 700; }
.am-cookie-options label { display: flex; align-items: flex-start; gap: .65rem; min-height: 44px; padding-top: .65rem; cursor: pointer; }
.am-cookie-options input { width: 1.2rem; height: 1.2rem; flex: 0 0 1.2rem; margin-top: .2rem; accent-color: #6941c6; }
.am-cookie-options p { margin: 0 0 .7rem 1.85rem; color: #475467; font-size: .88rem; }
.am-cookie-inventory { overflow-wrap: anywhere; }
.am-cookie-inventory dd { margin: .25rem 0 1rem; }
.am-contact-consent { min-height: 44px; max-width: 100%; padding: .8rem 1.25rem; border: 1px solid #6941c6; border-radius: 10px; background: #fff; color: #53389e; font: inherit; font-weight: 700; cursor: pointer; overflow-wrap: anywhere; }
.am-contact-consent[hidden] { display: none; }
.am-cookie-actions #am-cookie-confirm { flex-basis: 100%; }
.am-chart-privacy { padding: 1rem; color: #344054; font: .9rem/1.6 system-ui; }
.am-chart-privacy button { min-height: 44px; border: 1px solid #6941c6; border-radius: .6rem; padding: .6rem 1rem; background: #fff; color: #53389e; cursor: pointer; }
@media (max-width: 480px) { .am-cookie-actions #am-cookie-reject, .am-cookie-actions #am-cookie-accept { flex: 0 0 auto; } }
