/* Legal pages (/cookies, /terms): a readable column on the editor's tokens. */
body.legal { overflow: auto; }
.legal-page { max-width: 720px; margin: 0 auto; padding: 28px 20px 64px; line-height: 1.55; font-size: 14px; }
.legal-page .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.legal-page .logo { color: inherit; text-decoration: none; }
.legal-page h1 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 16px; }
.legal-page h2 { font-size: 16px; margin: 28px 0 8px; }
.legal-page p { margin: 8px 0; }
.legal-page a { color: var(--accent); }
.legal-page table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.legal-page th, .legal-page td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--border); }
.legal-page th { color: var(--muted); font-weight: 500; font-size: 12px; }
.legal-page code { font-family: ui-monospace, monospace; font-size: 12px; background: var(--soft); border-radius: 4px; padding: 1px 4px; white-space: nowrap; }
.legal-page .muted { color: var(--muted); font-size: 12px; }
.legal-page .links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; }
@media (max-width: 600px) { .legal-page table { font-size: 12px; } .legal-page td:last-child, .legal-page th:last-child { display: none; } }

/* No tool bar on these pages: the cookie banner sits at the bottom. */
body.legal .consent { bottom: 16px; }
