.terms-dialog{width:min(820px,92vw);height:min(760px,88vh);padding:0;border:1px solid #9fb8c5;border-radius:9px;box-shadow:0 18px 55px #071c2b55;color:#101b27;background:#fff}
.terms-dialog::backdrop{background:#071c2bbb}
.terms-dialog-shell{height:100%;display:grid;grid-template-rows:auto 1fr}
.terms-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid #d7e4eb;background:#eaf2f5}
.terms-dialog-header h2{margin:0;font-size:23px;color:#0c2333}
.terms-dialog-close{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #adc3cf;border-radius:50%;background:#fff;color:#1d5074;font-size:21px;line-height:1;cursor:pointer}
.terms-dialog-frame{display:block;width:100%;height:100%;border:0;background:#fff}
body:has(.terms-dialog[open]){overflow:hidden}
@media(max-width:760px){.terms-dialog{width:94vw;height:90vh}.terms-dialog-header{padding:15px 17px}.terms-dialog-header h2{font-size:20px}}
