#consent-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 22px; border: 1px solid #dbe1e7; border-radius: 12px; color: #202c3b; background: #fff; overflow-y: auto; font-size: 16px; line-height: 1.55; }
#consent-dialog::backdrop { background: #102031a6; }
#consent-dialog h2 { font-size: 22px; line-height: 1.3; margin: 0 0 12px; }
#consent-dialog p { margin: 10px 0; }
#consent-dialog a, .consent-footer a, .privacy-page a { text-underline-offset: 3px; }
.consent-state { color: #485767; }
.consent-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.consent-actions button { min-height: 48px; padding: 10px 8px; border: 1px solid #234f82; border-radius: 8px; background: #234f82; color: white; font: inherit; font-weight: 650; cursor: pointer; }
.consent-footer { margin-top: 18px; flex-wrap: wrap; }
.consent-footer button { border: 0; padding: 10px 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; cursor: pointer; }
.privacy-page { padding: 0; }
.privacy-page main { overflow-wrap: anywhere; }
.privacy-page main { max-width: 850px; margin: auto; padding: 24px 20px; }
.privacy-page h1 { font-size: clamp(28px,5vw,40px); margin: 24px 0; }
.privacy-page h2 { font-size: 23px; margin: 26px 0 12px; }
.privacy-draft { padding: 16px; border: 1px solid #dbe1e7; background: #f4f6f8; }
@media(max-width:360px){#consent-dialog{padding:16px;}}
