/* Balance RU legal site — no external resources */
:root { --fg:#1f2328; --fg-muted:#59636e; --bg:#ffffff; --bg-alt:#f6f8fa; --border:#d1d9e0; --accent:#0969da; }
@media (prefers-color-scheme: dark) {
  :root { --fg:#e6edf3; --fg-muted:#9198a1; --bg:#0d1117; --bg-alt:#151b23; --border:#3d444d; --accent:#4493f8; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin:0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
       font-size:16px; line-height:1.6; color:var(--fg); background:var(--bg); }
.container { max-width:820px; margin:0 auto; padding:32px 24px 64px; }
a { color:var(--accent); }
.site-header { border-bottom:1px solid var(--border); background:var(--bg-alt); }
.site-header .container { padding-top:16px; padding-bottom:16px; display:flex; flex-wrap:wrap;
                          align-items:baseline; justify-content:space-between; gap:12px; }
.brand { font-weight:700; font-size:18px; text-decoration:none; color:var(--fg); }
.site-header nav a { color:var(--fg-muted); text-decoration:none; margin-left:16px; font-size:14px; }
.site-header nav a:hover { color:var(--accent); }
article h1 { font-size:1.9em; line-height:1.25; margin:0 0 16px; }
article h2 { font-size:1.35em; margin-top:2em; padding-bottom:6px; border-bottom:1px solid var(--border); }
article h3 { font-size:1.1em; margin-top:1.5em; }
article table { border-collapse:collapse; width:100%; margin:16px 0; font-size:14px; }
article th, article td { border:1px solid var(--border); padding:6px 10px; text-align:left; vertical-align:top; }
article th { background:var(--bg-alt); }
.email-img { height:1.3em; width:auto; vertical-align:-0.32em; }
.site-footer { margin-top:48px; border-top:1px solid var(--border); background:var(--bg-alt); }
.site-footer .container { padding-top:24px; padding-bottom:32px; font-size:13px; color:var(--fg-muted); }
.req-title { font-weight:600; margin-bottom:6px; }
.req-list { list-style:none; margin:0; padding:0; }
.req-list li { line-height:1; padding:2px 0; }
.req-img { height:19px; width:auto; }
.foot-meta { margin-top:16px; display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
.age-mark { display:inline-block; border:1.5px solid var(--fg-muted); border-radius:4px; padding:0 6px; font-weight:700; }
@media (max-width:600px) {
  .container { padding:20px 16px 48px; }
  .site-header .container { flex-direction:column; align-items:flex-start; }
  .site-header nav a { margin-left:0; margin-right:16px; }
  article h1 { font-size:1.5em; }
}
