.terms-page .top, .terms-page main { max-width: 760px; }
.terms-switch { display: flex; gap: 6px; justify-content: flex-end; }
.terms-lang[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.terms-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.terms-head { display: flex; align-items: center; justify-content: flex-end; gap: 10px 16px; flex-wrap: wrap; }.terms-body > h2:first-child { font-size: 20px; line-height: 1.25; margin: 0 0 4px; overflow-wrap: anywhere; }
.terms-pdf { flex: 0 0 auto; min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; }
.terms-body { min-width: 0; line-height: 1.55; font-size: 15px; overflow-wrap: anywhere; }
.terms-body h3 { font-size: 16px; margin: 22px 0 6px; }
.terms-body p, .terms-body ul, .terms-body ol { margin: 0 0 10px; }
.terms-body ul, .terms-body ol { padding-left: 22px; }
.terms-body li { margin: 0 0 4px; }
.terms-body a { color: var(--accent); }
.terms-todo { color: var(--muted); }
html.js[data-terms-lang="pl"] #terms-en, html.js[data-terms-lang="en"] #terms-pl { display: none; }
@media (max-width: 480px) {
  .terms-head { align-items: stretch; }
  .terms-pdf { width: 100%; justify-content: center; min-height: 44px; }
}
