/* Copyright (c) 2026 Monta AI */
.agreement {
  font:
    13px / 1.6 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--dac-fg);
}
.agreement h2 {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.3;
}
.agreement p {
  margin: 0 0 12px;
  max-width: none;
}
.agreement p:last-child {
  margin-bottom: 0;
}
.agreement a {
  color: var(--dac-accent);
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}
.agreement table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  margin: 0 0 18px;
}
.agreement td {
  border: 1px solid var(--dac-border);
  padding: 12px;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.agreement table + table td:first-child:not([colspan]) {
  width: 30%;
}
.agreement table + table td:first-child:not([colspan]) > p + p {
  font-size: 12px;
  color: var(--dac-fg-muted);
}
.agreement .terms-parties {
  margin: 18px 0 0;
}
.agreement .terms-parties td {
  width: 50%;
}
@media (max-width: 520px) {
  .agreement table + table tr,
  .agreement .terms-parties tr {
    display: block;
    margin-bottom: 14px;
  }
  .agreement table + table td,
  .agreement table + table td:first-child:not([colspan]),
  .agreement .terms-parties td {
    display: block;
    width: auto;
  }
  .agreement table + table td + td,
  .agreement .terms-parties td + td {
    border-top: 0;
  }
}
