.case-consent[hidden] { display: none; }
.case-consent {
    position: fixed;
    z-index: 10000;
    inset: auto auto max(1rem, env(safe-area-inset-bottom)) 1rem;
    width: min(32rem, calc(100% - 2rem));
    max-height: 85vh;
    overflow: auto;
    padding: clamp(1rem, 4vw, 1.5rem);
    border: 1px solid #dde4ec;
    border-top: 4px solid #243e78;
    border-radius: 12px;
    background: #fff;
    color: #172b46;
    box-shadow: 0 12px 35px #11253d33;
    font: 1rem/1.5 Lato, Arial, sans-serif;
}
.case-consent h2 { margin: 0 0 .6rem; color: #172b46; font-size: 1.3rem; }
.case-consent p { margin: 0 0 .75rem; color: inherit; }
.case-consent a { color: #243e78; text-decoration: underline; }
.case-consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.case-consent-actions button {
    flex: 1 1 10rem;
    min-height: 44px;
    padding: .5rem .75rem;
    border: 1px solid #243e78;
    border-radius: 8px;
    background: #243e78;
    color: white;
    font: inherit;
    cursor: pointer;
}
.case-consent-actions button:hover { background: #172b46; }
