/* Text pages (privacy, terms, plugin license): optional note panel, "On this page", one reading column. Their top
   (TextTopComponent) and closing (TextClosingComponent) are in sections.css. Loaded after sections.css. From design-company gate 3. */

/* Body: "On this page" and the reading column */
.tx-body { padding: 88px 0 144px; }
.tx-grid { align-items: start; }
.tx-toc { grid-column: 1 / span 3; position: sticky; top: 32px; font-size: 13.5px; }
.tx-toc .s-k { margin-bottom: 14px; }
.tx-toc ol { list-style: none; border-top: 1px solid var(--hair); }
.tx-toc li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--hair); color: var(--ink-2); line-height: 1.35; }
.tx-toc li a:hover { color: var(--ink); }
.tx-toc-m { display: none; }
.tx-doc { grid-column: 5 / span 7; max-width: 72ch; overflow-wrap: break-word; }
.tx-doc > p:first-child { font-size: var(--t-lede); line-height: 1.6; color: var(--ink); }
.tx-doc h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; margin: 64px 0 16px; padding-top: 24px; border-top: 1px solid var(--hair); scroll-margin-top: 24px; }
.tx-doc h2:first-child { margin-top: 0; }
.tx-doc > .ds-msg { margin-bottom: 48px; }
.tx-doc > .ds-msg .line-through { text-decoration: line-through; opacity: .7; }
.tx-doc > .ds-msg :is(p, strong) { color: inherit; font-size: inherit; line-height: inherit; }
.tx-doc h3 { font-size: 17px; font-weight: 540; margin: 32px 0 10px; }
.tx-doc p, .tx-doc li { font-size: var(--t-body); line-height: 1.7; color: var(--ink-2); }
.tx-doc p + p { margin-top: 1em; }
.tx-doc ul, .tx-doc ol { margin: 12px 0 0 1.2em; }
.tx-doc ul + p, .tx-doc ol + p { margin-top: 1em; }
.tx-doc li + li { margin-top: 6px; }
.tx-doc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tx-doc strong, .tx-doc b { color: var(--ink); font-weight: 560; }
.tx-doc code { font: 13.5px/1.5 ui-monospace, Menlo, monospace; }
.tx-doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.tx-doc th, .tx-doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--hair); }

@media (max-width: 1100px) {
  .tx-toc-d { grid-column: 1 / span 3; }
  .tx-doc { grid-column: 4 / span 9; }
}
@media (max-width: 760px) {
  .tx-body { padding: 56px 0 96px; }
  .tx-grid { display: block; }
  .tx-toc { position: static; margin-bottom: 48px; }
  .tx-toc-d { display: none; }
  .tx-toc-m { display: block; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
  .tx-toc-m summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; cursor: pointer; }
  .tx-toc-m summary::-webkit-details-marker { display: none; }
  .tx-toc-m .tx-n { font-size: 13px; color: var(--ink-3); }
  .tx-toc-m .tx-n::after { content: " ↓"; }
  .tx-toc-m[open] .tx-n::after { content: " ↑"; }
  .tx-toc-m ol { border-top: 1px solid var(--hair); margin-bottom: 8px; }
  .tx-doc > p:first-child { font-size: 17px; }
  .tx-doc h2 { font-size: 22px; margin-top: 48px; }
  .tx-doc p, .tx-doc li { font-size: 15.5px; }
}

/* Ground B: a text page's top is stone (the body stays Paper 1, the closing stone). */
