/* Scoped, intentionally does not modify body/html overflow or the existing platform. */
.rht-legal-root { --rht-ink:#1a2434; --rht-dim:#647084; --rht-line:#e7ebf1; font-family:inherit; }
.rht-legal-bar { position:fixed; bottom:max(12px,env(safe-area-inset-bottom)); z-index:20000; display:flex; align-items:center; justify-content:center; gap:8px; width:max-content; max-width:calc(100vw - 24px); padding:9px 13px; border:1px solid rgba(255,255,255,.16); border-radius:999px; background:rgba(16,24,37,.87); box-shadow:0 4px 22px rgba(0,0,0,.13); color:#f7f9fc; font-size:11px; line-height:1.25; letter-spacing:.01em; -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); }
.rht-legal-root[data-position="right"] .rht-legal-bar { right:12px; }
.rht-legal-root[data-position="left"] .rht-legal-bar { left:12px; }
.rht-legal-root[data-tone="light"] .rht-legal-bar { background:rgba(255,255,255,.94); color:#172336; border-color:rgba(0,0,0,.1); }
.rht-legal-credit {font-weight:650;white-space:nowrap;}
.rht-legal-divider { height:12px; width:1px; background:currentColor; opacity:.24; }
.rht-legal-dot { opacity:.6; }
.rht-legal-trigger { all:unset; font:inherit; color:inherit; font-weight:500; cursor:pointer; display:inline-block; padding:2px 0; white-space:nowrap; }
.rht-legal-trigger:hover,.rht-legal-trigger:focus-visible { text-decoration:underline; text-underline-offset:3px; }
.rht-legal-trigger:focus-visible,.rht-legal-close:focus-visible { outline:2px solid #4c91d9; outline-offset:3px; }
.rht-legal-dialog { position:fixed; inset:0; width:min(560px,calc(100vw - 24px)); max-width:560px; max-height:min(82dvh,740px); margin:auto; padding:25px 26px 24px; box-sizing:border-box; border:1px solid #e8ebf0; border-radius:15px; background:#fff; color:var(--rht-ink); box-shadow:0 22px 80px rgba(0,0,0,.24); overflow-y:auto; font-size:14px; line-height:1.65; overscroll-behavior:contain; }
.rht-legal-dialog::backdrop { background:rgba(7,14,25,.62); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.rht-legal-dialog-top {display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px;}
.rht-legal-kicker {font-size:10px;line-height:1.5;font-weight:750;letter-spacing:.11em;text-transform:uppercase;color:#596b81;}
.rht-legal-close { all:unset; cursor:pointer; width:30px;height:30px; border-radius:8px; display:grid; place-items:center; font-size:25px; color:#39475b; background:#f4f6f9; }
.rht-legal-close:hover { background:#e9edf3; }
.rht-legal-dialog h2 {font-size:24px;line-height:1.24;font-weight:750;letter-spacing:-.025em;color:#172234;margin:0 0 19px;}
.rht-legal-dialog h3 {font-size:14px;line-height:1.35;font-weight:750;color:#172234;margin:19px 0 7px;}
.rht-legal-dialog p {font-size:13px;line-height:1.75;margin:0 0 12px;color:#47556a;}
.rht-legal-dialog a {color:#135ca1; text-decoration:underline;text-underline-offset:2px; overflow-wrap:anywhere;}
.rht-legal-dialog .rht-legal-small {font-size:11px;line-height:1.65;color:#738096;border-top:1px solid var(--rht-line);padding-top:12px;margin-top:15px;}
@media(max-width:480px){
 .rht-legal-bar { font-size:10px;gap:5px; padding:8px 10px; }
 .rht-legal-dialog {padding:19px 19px 23px;max-height:84dvh;}
 .rht-legal-dialog h2 {font-size:21px;}
}
