/* ============================================================================
   WELL RUN · SIGNAL SYSTEM — WR SCORE · LEGAL
   /legal/<name>/ and /legal/<name>/<version>/: Terms, Privacy, Data Processing
   Agreement, Sub-processors. Built by tools/build-legal.mjs from the texts in
   build/context/legal/. Version and date at the top; earlier versions listed.
   ============================================================================ */

.sch-lg-meta {
  font-family: var(--sch-mono);
  font-size: var(--sch-t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wr-black-72);
}

.sch-lg-doc {
  max-width: 72ch;
  font-size: var(--sch-t-body);
  line-height: 1.65;
  color: var(--wr-black-72);
}
.sch-lg-doc > * + * { margin-top: 1em; }
.sch-lg-doc h2 {
  margin-top: 2.2em;
  font-size: var(--sch-t-card);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wr-black);
}
.sch-lg-doc h3 { margin-top: 1.6em; font-weight: 700; color: var(--wr-black); }
.sch-lg-doc b { color: var(--wr-black); font-weight: 700; }
.sch-lg-doc ul { padding-left: 1.2em; list-style: disc; }
.sch-lg-doc li + li { margin-top: 0.4em; }
.sch-lg-doc blockquote {
  padding: 1em 1.2em;
  background: var(--sch-panel, #FFFFFF);
  border: 1px solid var(--sch-panel-line);
  border-radius: 12px;
}

.sch-lg-table { overflow-x: auto; }
.sch-lg-table table { width: 100%; border-collapse: collapse; font-size: 0.92em; }
.sch-lg-table th,
.sch-lg-table td {
  padding: 0.7em 0.8em;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--sch-panel-line);
}
.sch-lg-table th { color: var(--wr-black); font-weight: 700; }

.sch-lg-versions { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--sch-panel-line); }
.sch-lg-versions ul { list-style: none; padding: 0; }
.sch-lg-versions a { color: var(--wr-orange); }

/* Audit 1025: on a phone the processing table stacks, one row a card, nothing past the edge */
@media (max-width: 560px) {
  .sch-lg-table { overflow-x: visible; }
  .sch-lg-table table, .sch-lg-table tbody, .sch-lg-table tr, .sch-lg-table td { display: block; width: 100%; }
  .sch-lg-table thead { display: none; }
  .sch-lg-table tr { padding: 10px 0; border-bottom: 1px solid var(--wr-black-10); }
  .sch-lg-table td { padding: 4px 0; border: 0; overflow-wrap: anywhere; }
}
.sch-link { color: var(--wr-orange); text-decoration: underline; text-underline-offset: 3px; }
