
/* First-run terms agreement / reusable legal information dialog. */
html.terms-checking #app{visibility:hidden}
.terms-gate{width:min(910px,calc(100vw - 28px));max-height:min(92dvh,920px);border:0;border-radius:15px;padding:0;color:#29334b;background:#fff;box-shadow:0 24px 75px #11182e6b;overflow:hidden}
.terms-gate::backdrop{background:rgba(20,26,48,.77)}
.terms-gate[open]{display:flex;flex-direction:column}
.terms-gate-head{flex:none;padding:21px 27px 14px;border-bottom:1px solid #e3e5ee}
.terms-gate-head h2{margin:0;font-size:21px;color:#262c41}
.terms-gate-head small{color:#6b748b;font-size:12px}
.terms-gate-contents{overflow:auto;min-height:100px;flex:1;padding:17px 27px 20px;overscroll-behavior:contain}
.terms-gate-contents h1{font-size:18px;margin:4px 0 14px}
.terms-gate-contents h2{font-size:15px;margin:25px 0 8px;border-bottom:1px solid #e5e7ee;padding-bottom:7px;color:#333d5b}
.terms-gate-contents p,.terms-gate-contents li{font-size:12px;line-height:1.95;color:#4b576e}
.terms-gate-contents li+li{margin-top:5px}
.terms-gate-contents ol,.terms-gate-contents ul{padding-left:1.7em}
.terms-gate-contents a{color:#5e54ca}
.terms-gate-contents table{width:100%;border-collapse:collapse;font-size:12px}
.terms-gate-contents td,.terms-gate-contents th{padding:6px;border-bottom:1px solid #e1e5ef;text-align:left}
.terms-gate-foot{flex:none;padding:14px 27px 18px;border-top:1px solid #e3e5ee;background:#f9faff}
.terms-gate-privacy{font-size:12px;margin:0 0 8px;color:#667085}
.terms-gate-privacy a{color:#5748c5}
.terms-gate-check{display:flex;align-items:flex-start;gap:9px;font-size:13px;font-weight:700;line-height:1.6;color:#2e3851;cursor:pointer;margin:10px 0 12px}
.terms-gate-check input{margin-top:3px;width:16px;height:16px;accent-color:#6454d2;flex:none}
.terms-gate-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;flex-wrap:wrap}
.terms-gate-actions button{background:#fff;border:1px solid #d8ddeb;border-radius:9px;padding:9px 17px;color:#3a465c;font-weight:700;font-size:12px}
.terms-gate-actions button.is-primary{background:#6157d8;color:#fff;border-color:#6157d8}
.terms-gate-actions button:disabled{opacity:.45;cursor:not-allowed}
.terms-gate-alert{display:none;color:#a33449;font-size:12px;font-weight:700;margin:5px 0 9px}
.terms-gate.terms-view-only .terms-gate-check,.terms-gate.terms-view-only #termsAgreeActions{display:none}
.terms-gate:not(.terms-view-only) #termsReviewActions{display:none}
@media(max-width:600px){.terms-gate-head,.terms-gate-foot{padding:12px 15px}.terms-gate-contents{padding:9px 17px}.terms-gate-head h2{font-size:17px}.terms-gate-contents h2{font-size:14px}}
