/* The risk terms (terms.js): a scroll box in "Connect your MT5" and a one-time full page. */
.terms { display: grid; gap: 8px; margin: 4px 0 10px; text-align: left; }
.terms-head { display: grid; gap: 2px; }
.terms-head b { font-size: 15px; }
.terms-head span { font-size: 12.5px; color: var(--muted); }
.terms-box { max-height: 210px; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--bg-sunk); font-size: 13px; line-height: 1.55; color: var(--fg-2); }
.terms-box:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.terms-box h4 { margin: 12px 0 4px; font-size: 13.5px; color: var(--fg); }
.terms-box h4:first-child { margin-top: 0; }
.terms-box p { margin: 0; }
.terms-box .terms-end { margin-top: 12px; font-size: 11.5px; color: var(--muted); }
.terms-hint { margin: 0; font-size: 12.5px; color: #E9EAEC; }
.terms-hint.ok { color: #9FE3AE; }
.terms-agree { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 12px; border-radius: 12px;
  border: 1px solid rgba(201, 204, 209, .45); background: rgba(201, 204, 209, .06); font-size: 13.5px; line-height: 1.45; color: var(--fg); cursor: pointer; }
.terms-agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent-2); cursor: pointer; }
.terms-agree.is-locked { opacity: .5; cursor: not-allowed; }
.terms-agree.is-locked input { cursor: not-allowed; }
.terms-page .tgv-card { max-width: 560px; }
.terms-page .terms-box { max-height: min(42vh, 360px); }
.terms-icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 18px; display: grid; place-items: center; font: 700 30px/1 var(--font);
  color: var(--accent-ink); background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.tgv-go:disabled { opacity: .45; cursor: not-allowed; }
