.talkit-agreement-modal, .agreement-page {
  color: #152034;
  background: #fff;
  font: 16px/1.6 system-ui, sans-serif;
  text-align: left;
}
.talkit-agreement-modal {
  box-sizing: border-box;
  width: min(58rem, calc(100vw - 2rem));
  max-height: 88vh;
  max-height: 88dvh;
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 clamp(1.1rem, 4vw, 3rem) 2.5rem;
  border: 1px solid #adb7c4;
  border-radius: 1rem;
}
.talkit-agreement-modal::backdrop { background: rgb(14 23 38 / 68%); }
body:has(.talkit-agreement-modal[open]) { overflow: hidden; }
.agreement-page { max-width: 52rem; margin: 0 auto; padding: 1.25rem clamp(1rem, 5vw, 3rem) 4rem; }
.agreement-actions { display: flex; justify-content: flex-end; margin: 0; padding: .75rem 0; position: sticky; top: 0; background: #fff; }
.agreement-actions button { padding: .4rem .85rem; color: #152034; background: #f1f4f7; border: 1px solid #a5afbc; border-radius: .4rem; cursor: pointer; font: inherit; }
.agreement-text { overflow-wrap: anywhere; }
.agreement-text h1 { margin: .7rem 0; font-size: clamp(1.4rem, 4vw, 2.1rem); line-height: 1.2; }
.agreement-text h2 { font-size: 1.35rem; line-height: 1.35; margin: 1.75rem 0 .7rem; }
.agreement-text p, .agreement-text dd { margin: .65rem 0; white-space: pre-wrap; }
.agreement-text dt { margin-top: .8rem; font-weight: 600; }
.agreement-page a, .agreement-text a { text-decoration: underline; color: #214d87; }
.tk-footer-bottom a[data-talkit-agreement] { color: inherit; text-decoration: underline; text-underline-offset: .16em; }
