.terms-review{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid #789bb6;border-radius:14px;background:#101722;color:#e5edf5;font:18px/1.55 system-ui,sans-serif;overflow:auto;color-scheme:dark}
.terms-review::backdrop{background:#050b13c9}
.terms-review h2{margin:0 0 8px;font-size:26px}
.terms-review-version{color:#b2c7d8;margin:0 0 16px}
.terms-review-content{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:42dvh;overflow:auto;padding:16px;border:1px solid #3d5165;border-radius:8px}
.terms-review-confirmation{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:start;padding:12px 0}
.terms-review input{width:24px;height:24px;margin:3px 0;accent-color:#78d8ff}
.terms-review-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.terms-review button{font:inherit;min-height:48px;padding:10px 16px;border:1px solid #78d8ff;border-radius:8px;background:#18344a;color:#f2f8fc;cursor:pointer}
.terms-review button:disabled{opacity:.45;cursor:default}
.terms-review button[hidden]{display:none}
.terms-review :focus-visible{outline:3px solid #ffe260;outline-offset:3px}
@media(max-width:480px){.terms-review{padding:16px;font-size:17px}.terms-review-actions button{width:100%}.terms-review-content{max-height:35dvh}}
.terms-review-rights{margin-top:20px;border-top:1px solid #789bb6;padding-top:12px}
.terms-review-rights a{display:block;color:#a6dfff;margin:12px 0}
.terms-review-rights label{display:block;margin:12px 0}
.terms-review-rights input:not([type=checkbox]){display:block;box-sizing:border-box;width:100%;min-height:48px;margin-top:6px;padding:10px;font:inherit;background:#101722;color:#e5edf5;border:1px solid #789bb6;border-radius:6px}
html[data-theme=daylight] .terms-review{background:#f7fafc;color:#172b40;color-scheme:light}
html[data-theme=daylight] .terms-review-version{color:#425d73}
html[data-theme=daylight] .terms-review-rights a{color:#154ca0}
html[data-theme=daylight] .terms-review-rights input:not([type=checkbox]){background:white;color:#172b40}
