/* Mini POS — the legal document (templates/legal.html).
 *
 * A document, not a screen: one column, comfortable measure, prints cleanly. It used
 * to be a `<style>` block inside the template, naming its own colours with token
 * fallbacks; it is a served sheet on the design system now (t_94ee0e62) and reads
 * `tokens.css` like every other one. No inline styles are left in the page.
 */

html { background: var(--bg); }
body {
  margin: 0;
  padding: 2.5rem 1.25rem 5rem;
  font-family: Inter, -apple-system, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
}
.sheet { max-width: 46rem; margin: 0 auto; background: var(--surface); border: 1px solid var(--border);
         border-radius: 12px; padding: 2.5rem 2.75rem; box-shadow: var(--shadow-sheet); }
.top { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap;
       margin-bottom: 1.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.top a { color: var(--accent); text-decoration: none; font-weight: 600; }
.top span { color: var(--muted); font-size: .85rem; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 .5rem; letter-spacing: -.01em; }
h2 { font-size: 1.08rem; margin: 2rem 0 .5rem; color: var(--accent-dark); }
h3 { font-size: .98rem; margin: 1.4rem 0 .4rem; }
p { margin: 0 0 .85rem; }
ul { margin: 0 0 .9rem; padding-left: 1.25rem; }
li { margin-bottom: .3rem; }
blockquote { margin: 0 0 1.5rem; padding: .8rem 1rem; background: var(--accent-soft);
             border-left: 3px solid var(--accent); border-radius: 8px; font-size: .9rem; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em;
       background: var(--bg); padding: .1em .35em; border-radius: 4px; }
.legal-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1.25rem; font-size: .9rem; }
.legal-table th, .legal-table td { text-align: left; padding: .5rem .6rem;
                                   border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table th { background: var(--accent-soft); font-weight: 600; }
@media print {
  html, body { background: var(--surface); }
  body { padding: 0; font-size: 11pt; }
  .sheet { border: 0; box-shadow: none; padding: 0; max-width: none; }
  .top { display: none; }
  h2 { break-after: avoid; }
}
