:root { color-scheme: light; --ink: #172321; --muted: #5e6d6b; --line: #d8e0df; --brand: #0e5558; --surface: #f2f6f6; }
* { box-sizing: border-box; }
html { background: var(--surface); }
body { margin: 0; color: var(--ink); background: var(--surface); font: 400 17px/1.65 Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--brand); text-underline-offset: .16em; }
a:focus-visible { outline: 3px solid rgb(194 58 18 / 38%); outline-offset: 3px; }
.shell { width: min(100% - 32px, 1040px); margin: 0 auto; }
.top { padding: 22px 0; border-bottom: 1px solid var(--line); background: #fff; }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.brand img { flex: none; border-radius: 8px; }
.back { display: inline-flex; align-items: center; min-height: 44px; }
.back { font-size: .95rem; }
main { margin: 32px auto 48px; padding: clamp(20px, 4vw, 42px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgb(16 42 40 / 7%); }
.eyebrow, .revision { margin: 0; color: var(--muted); font-size: .9rem; }
h1, h2 { color: var(--ink); line-height: 1.18; letter-spacing: -.025em; }
h1 { max-width: 780px; margin: 10px 0 8px; font-size: clamp(2rem, 4.6vw, 3rem); }
h2 { margin: 2.15em 0 .65em; font-size: clamp(1.25rem, 2.6vw, 1.55rem); }
p, li { max-width: 76ch; }
ul { padding-left: 1.25em; }
li + li { margin-top: .45em; }
.notice { margin: 28px 0; padding: 16px 18px; border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; background: #eaf1f1; }
.notice p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 13px 14px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
th { background: #f4f8f8; font-weight: 750; }
.legal-nav { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-nav ul { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 10px 0 0; padding: 0; list-style: none; }
.legal-nav a { font-size: .92rem; }
.foot { padding: 22px 0 34px; color: var(--muted); font-size: .86rem; }
@media print { html, body { background: #fff; } .top, .legal-nav, .foot { display: none; } .shell { width: 100%; } main { margin: 0; padding: 0; border: 0; box-shadow: none; } a { color: inherit; text-decoration: none; } }
@media (max-width: 620px) { .table-wrap { overflow: visible; max-width: 100%; } table, table.data-table { width: 100%; min-width: 0; max-width: 100%; } table, tbody, tr, td { display: block; } thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } tr { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; } td { display: block; padding: 12px; border: 0; border-bottom: 1px solid var(--line); } td:last-child { border-bottom: 0; } td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-size: .78rem; font-weight: 750; line-height: 1.35; } }
@media (max-width: 600px) { body { font-size: 16px; } .top { padding: 16px 0; } .top__inner { align-items: flex-start; flex-direction: column; gap: 8px; } main { margin: 0 auto 28px; padding: 22px 20px; border-radius: 0 0 16px 16px; } h1 { font-size: 2rem; } h2 { margin-top: 1.8em; } }
/* 404 page */
.not-found .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid #c23a12; border-radius: 12px; background: #c23a12; color: #fff; font-weight: 700; text-decoration: none; }
.button:hover { background: #a92f0b; border-color: #a92f0b; }
.button--secondary { border-color: var(--brand); background: #fff; color: var(--brand); }
.button--secondary:hover { background: #eaf1f1; border-color: var(--brand); }
.not-found .help { color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .not-found .actions .button { flex: 1 1 100%; } }
/* Server-rendered legal documents (renderLegalPage) */
.legal-body code { padding: .08em .35em; border-radius: 6px; background: #eef3f3; font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.legal-body h2:first-child { margin-top: 1.4em; }
.notice--archive { border-left-color: #b7791f; background: #fff7e8; }
.revisions { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .94rem; }
.revisions summary { min-height: 44px; display: flex; align-items: center; color: var(--brand); font-weight: 650; cursor: pointer; }
.revisions summary:focus-visible { outline: 3px solid rgb(194 58 18 / 38%); outline-offset: 3px; border-radius: 6px; }
.revisions ul { margin: 6px 0 0; }
/* Длинные неразрывные строки (ссылки, коды) не должны давать горизонтальную прокрутку страницы. */
.legal-body, main h1, .revisions { overflow-wrap: anywhere; }
