.behavior-preferences [hidden] { display: none; }
.behavior-preferences { color: var(--rt-text, var(--ec-text, var(--co-text, #20232c))); }
.behavior-preference-link { display: block; margin: .5rem auto 1rem; border: 0; background: transparent; font: inherit; font-size: .84rem; cursor: pointer; color: inherit; text-decoration: underline; }
.behavior-preference-dialog { position: fixed; z-index: 1000; inset-inline-end: 1rem; inset-block-end: max(1rem, env(safe-area-inset-bottom)); max-inline-size: min(27rem, calc(100vw - 2rem)); box-sizing: border-box; padding: .95rem; border: 1px solid var(--rt-border, var(--ec-border, #c4cad4)); border-radius: .9rem; color: inherit; background: var(--rt-surface, var(--ec-surface, var(--co-surface, #fff))); box-shadow: 0 5px 24px rgb(12 21 38 / 16%); }
.behavior-preference-dialog p { margin: 0 0 .55rem; font-size: .9rem; color: inherit; }
.behavior-preference-dialog p:last-child { margin-block-end: 0; }
.behavior-preference-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-block: .65rem .25rem; }
.behavior-preference-actions button { flex: 1 1 8.5rem; cursor: pointer; padding: .42rem .55rem; min-height: 2.75rem; border: 1px solid currentColor; border-radius: .58rem; color: inherit; background: transparent; font: inherit; font-size: .84rem; }
.behavior-preference-actions button:hover, .behavior-preference-actions button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 680px) { .behavior-preference-dialog { inset-block-end: calc(4.2rem + env(safe-area-inset-bottom, 0px)); } }
