.privacy-consent {
    position: fixed;
    z-index: 10020;
    right: 1rem;
    bottom: 1rem;
    width: min(34rem, calc(100vw - 2rem));
    padding: 1.15rem;
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
    background: #fff;
    color: #172033;
    box-shadow: 0 18px 55px rgba(7, 22, 52, .28);
}
.privacy-consent--chosen { display: none; }
.privacy-consent h2, .privacy-dialog h2, .privacy-dialog h3 { margin: 0; }
.privacy-consent p, .privacy-dialog p { margin: .55rem 0; line-height: 1.5; }
.privacy-consent a, .privacy-dialog a { color: #1857d8; font-weight: 700; }
.privacy-consent__actions, .privacy-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}
.privacy-consent button, .privacy-dialog__actions button {
    min-height: 2.75rem;
    border-radius: .65rem;
    padding: .65rem 1rem;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.privacy-consent__allow { border: 2px solid #1857d8; background: #1857d8; color: #fff; }
.privacy-consent__essential { border: 2px solid #334155; background: #fff; color: #172033; }
.privacy-choices-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #93c5fd;
    font: inherit;
    cursor: pointer;
    text-align: left;
}
.privacy-choices-button:hover, .privacy-choices-button:focus { color: #fff; text-decoration: underline; }
.privacy-dialog { position: fixed; z-index: 10030; inset: 0; display: grid; place-items: center; padding: 1rem; }
.privacy-dialog[hidden] { display: none; }
.privacy-dialog__backdrop { position: absolute; inset: 0; border: 0; background: rgba(3, 11, 30, .72); }
.privacy-dialog__panel {
    position: relative;
    width: min(36rem, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 1.5rem;
    border-radius: 1rem;
    background: #fff;
    color: #172033;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .38);
}
.privacy-dialog__close {
    position: absolute;
    top: .5rem;
    right: .75rem;
    border: 0;
    background: transparent;
    color: #334155;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}
.privacy-dialog__status { padding: .75rem; border-radius: .5rem; background: #eff6ff; }
@media (max-width: 520px) {
    .privacy-consent { right: .5rem; bottom: .5rem; width: calc(100vw - 1rem); }
    .privacy-consent__actions button, .privacy-dialog__actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .privacy-dialog *, .privacy-consent * { scroll-behavior: auto !important; transition: none !important; }
}
