/* Legal pages: index cards, accept prompt and print layout. */
.lg-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lg-card { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface-2); color: inherit; }
.lg-card:hover { border-color: var(--line-strong); }
.lg-card b { font-size: var(--fs-3); } .lg-card span { color: var(--ink-2); font-size: var(--fs-2); }
.lg-group { margin: 28px 0 12px; font-size: var(--fs-4); }
.lg-ne { margin: 0; color: var(--ink-2); }
.lg-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.lg-print { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-p); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.lg-accept { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 720px; margin: 0 auto; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--bg); box-shadow: 0 8px 28px rgba(0, 0, 0, .18); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: var(--fs-2); }
.lg-accept p { margin: 0; flex: 1 1 260px; }
.lg-accept form { margin: 0; display: flex; gap: 8px; }
.lg-accept button { min-height: 44px; padding: 0 16px; border-radius: var(--r-p); border: 1px solid var(--line-strong); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.lg-accept button.go { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
@media print {
  header, footer, .st-legal nav.toc, .st-related, .st-crumbs, .lg-actions, .lg-print, .lg-accept, .st-note, [data-note], .st-endcta, nav { display: none !important; }
  body, .st { background: white !important; color: black !important; }
  .st-legal { display: block; padding: 0; }
  .st-prose { font-size: 11pt; line-height: 1.5; max-width: none; }
  .st-prose h2 { break-after: avoid; margin-top: 16pt; }
  .st-prose p, .st-prose li { orphans: 3; widows: 3; }
  a { color: black; text-decoration: underline; }
  .st-prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
