/* Legal documents (PTL-252): text of a document rendered from Markdown on the site, in the Mini App and in the admin preview */

.p-doc { color: #2B2521; font-size: 15px; line-height: 1.65; overflow-wrap: break-word; }
.p-doc > :first-child { margin-top: 0; }
.p-doc h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; margin: 32px 0 12px; line-height: 1.2; }
.p-doc h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 36px 0 12px; line-height: 1.25; scroll-margin-top: 96px; }
.p-doc h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.p-doc h4, .p-doc h5, .p-doc h6 { font-size: 15px; font-weight: 700; margin: 20px 0 6px; }
.p-doc p { margin: 0 0 14px; }
.p-doc ul, .p-doc ol { margin: 0 0 14px; padding-left: 22px; }
.p-doc ul { list-style: disc; }
.p-doc ol { list-style: decimal; }
.p-doc li { margin: 4px 0; }
.p-doc a { color: #2B2521; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.p-doc a:hover { color: #E0592A; }
.p-doc strong { font-weight: 700; }
.p-doc hr { border: 0; border-top: 1px solid rgba(43, 37, 33, 0.1); margin: 24px 0; }
.p-doc blockquote { border-left: 3px solid #E0592A; margin: 0 0 14px; padding: 2px 0 2px 14px; color: #6E645A; }
.p-doc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: #F1EBE1; border-radius: 4px; padding: 1px 4px; }
.p-doc__table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; background: #fff; border: 1px solid rgba(43, 37, 33, 0.09); border-radius: 16px; }
.p-doc__table table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.5; }
.p-doc__table th { background: #FBF8F2; color: #8A7F72; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: left; padding: 12px 14px; }
.p-doc__table td { padding: 12px 14px; border-top: 1px solid rgba(43, 37, 33, 0.07); vertical-align: top; }

/* Mini App: smaller text */
.p-doc--compact { font-size: 14px; line-height: 1.55; }
.p-doc--compact h2 { font-size: 18px; margin-top: 24px; scroll-margin-top: 64px; }

@media (max-width: 639px) {
  .p-doc__table table { min-width: 560px; }
}
