/* pdf2flow-legal.css
   หน้า Terms of Service / Privacy Policy (/Legal/Terms, /Legal/Privacy)
   ธีมเดียวกับ Landing/Login (BS5 + niceadmin.css) — token สี/ตัวอักษรอ้างจาก niceadmin.css
   (--na-primary, --na-heading, --na-body-bg, --na-default-color, --app-font, --na-card-shadow)
   ทุก selector ใช้ prefix lg- กันชนกับ .header/.sidebar/.main ของ niceadmin builder layout */

.lg-wrap { max-width: 860px; margin: 0 auto; padding-inline: 16px; }

.lg-nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: #fff;
  box-shadow: 0 2px 20px rgba(1, 41, 112, .10);
  height: 60px;
}
.lg-nav .lg-wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.lg-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lg-logo img { height: 34px; width: auto; }

.lg-doc { padding-block: 32px 64px; }
.lg-doc .card { padding: 32px; }

.lg-doc h1 { font-family: var(--app-font); color: var(--na-heading); font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.lg-updated { color: var(--lg-muted, #899bbd); font-size: 13px; margin-bottom: 28px; }

.lg-doc h2 { font-family: var(--app-font); color: var(--na-heading); font-size: 18px; font-weight: 700; margin-top: 28px; margin-bottom: 10px; }
.lg-doc h2:first-of-type { margin-top: 8px; }

.lg-doc p, .lg-doc li { color: var(--na-default-color); line-height: 1.8; font-size: 15px; }

.lg-doc ol, .lg-doc ul { margin: 10px 0 16px; padding-inline-start: 22px; }
.lg-doc ol li, .lg-doc ul li { margin-bottom: 8px; }

.lg-doc p { margin: 0 0 14px; }

@media (max-width: 600px) {
  .lg-wrap { padding-inline: 16px; }
  .lg-doc .card { padding: 20px; }
  .lg-doc h1 { font-size: 22px; }
}
