.consent-panel {
    box-sizing: border-box;
    position: fixed;
    z-index: 999999;
    left: max(1rem, env(safe-area-inset-left));
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: min(30rem, calc(100% - 2rem));
    max-height: 85vh;
    overflow: auto;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid #cbd9e7;
    border-radius: 14px;
    background: white;
    color: #172f49;
    box-shadow: 0 8px 40px #18365433;
    text-align: left;
}
.consent-panel[hidden], .consent-panel [hidden] { display: none; }
.consent-panel h2 { margin: 0 0 .65rem; font-size: 1.4rem; line-height: 1.25; color: #17365b; }
.consent-panel p { margin: 0 0 .75rem; font-size: .96rem; line-height: 1.45; }
.consent-panel a { color: #204f8d; text-decoration: underline; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-actions button {
    flex: 1 1 10rem;
    padding: .65rem .5rem;
    border: 1px solid #245598;
    border-radius: 6px;
    background: white;
    color: #204f8d;
    font: inherit;
    cursor: pointer;
}
.consent-actions button:is(:hover, :focus-visible) { background: #e8f1fc; color: #14365e; }
button.consent-settings {
    margin: .25rem .75rem;
    padding: .25rem;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
