.legal-dialog{width:min(100% - 24px,680px);max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:24px;background:#fff;color:#173432;box-shadow:0 24px 80px rgba(8,38,36,.3)}
.legal-dialog::backdrop{background:rgba(7,31,30,.58);backdrop-filter:blur(3px)}
.legal-dialog__bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #dce9e7;background:#fff}
.legal-dialog__bar strong{font-size:1rem;line-height:1.25}
.legal-dialog__bar button{min-height:42px;padding:0 16px;border:0;border-radius:14px;background:#e3f2ef;color:#0f625d;font:inherit;font-weight:700;cursor:pointer}
.legal-dialog__body{max-height:calc(100dvh - 94px);padding:8px 22px 28px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.legal-dialog__body .legal{max-width:none;margin:0;padding:0;background:transparent;box-shadow:none}
.legal-dialog__body .legal>a{display:none}
.legal-dialog__body h1{font-size:1.45rem;line-height:1.2}
.legal-dialog__body h2{font-size:1.05rem;line-height:1.3;margin-top:24px}
.legal-dialog__body p{font-size:1rem;line-height:1.55}
.legal-dialog__loading{padding:32px 0;text-align:center;color:#58716f}
body:has(.legal-dialog[open]){overflow:hidden}
@media(max-width:560px){.legal-dialog{width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0}.legal-dialog__body{max-height:calc(100dvh - 75px);padding:6px 18px 28px}.legal-dialog__bar{padding:12px 16px}}
.pending-details{display:grid;gap:5px;margin:20px 0;padding:15px;border-radius:16px;background:#e8f5f2;color:#174b47}
.pending-details span,.pending-note{color:#617b78;font-size:.9rem}
