/* Строгий нейтральный дизайн (ADR-0005): системные шрифты, один фирменный цвет логотипа. */
:root {
    --accent: #2c5477;
    --accent-dark: #1f3d57;
    --text: #1f2328;
    --muted: #5b6470;
    --border: #d8dde3;
    --bg: #ffffff;
    --bg-soft: #f4f6f8;
    --warn-bg: #fff6e0;
    --warn-border: #d99a00;
    --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { line-height: 1.25; color: var(--text); }
h1 { font-size: 1.9rem; margin: 0 0 1.25rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.notice-strip {
    background: var(--accent);
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    padding: 6px 16px;
}

.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.brand img { flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-short { font-size: 1.35rem; font-weight: 700; color: var(--accent); letter-spacing: 0.02em; }
.brand-full { font-size: 0.85rem; color: var(--muted); max-width: 340px; line-height: 1.3; }

.main-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a {
    padding: 6px 10px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    font-size: 0.98rem;
}
.main-nav a:hover { background: var(--bg-soft); }
.main-nav a[aria-current="page"] { background: var(--accent); color: #fff; }

.main { padding-top: 28px; padding-bottom: 48px; }

.incident {
    background: var(--warn-bg);
    border: 1px solid var(--warn-border);
    border-left-width: 6px;
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 28px;
}
.incident h1 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.incident p { margin: 0.5rem 0; }
.incident-accent { font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card, .highlight {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px 22px 16px;
    background: var(--bg);
}
.highlight { background: var(--bg-soft); }
.card h2, .highlight h2 { margin-top: 1rem; }
.big { font-size: 1.3rem; font-weight: 600; margin: 0.25rem 0; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 12px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.note { color: var(--muted); font-size: 0.95rem; }

.link-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.link-grid a {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
}
.link-grid a:hover { border-color: var(--accent); background: var(--bg-soft); }

.table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.97rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--bg-soft); font-weight: 600; }
.table tbody th { font-weight: 600; width: 34%; }
.table.compact { max-width: 640px; }
.table-scroll { overflow-x: auto; }
.nowrap { white-space: nowrap; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.toc a { padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.9rem; text-decoration: none; }
.toc a:hover { border-color: var(--accent); }

.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.doc-title { flex: 1 1 420px; }
.doc-meta { color: var(--muted); font-size: 0.88rem; white-space: nowrap; }
.doc-list li.pending .doc-title { color: var(--muted); }
.doc-list li.pending .doc-meta { font-style: italic; }

.person-list { list-style: none; padding: 0; margin: 0; columns: 2 320px; column-gap: 32px; }
.person-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--border); }
.person-name { display: block; font-weight: 600; }
.person-role { display: block; color: var(--accent); font-size: 0.93rem; }
.person-degree { display: block; color: var(--muted); font-size: 0.9rem; }

.news-badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    vertical-align: 2px;
}
.news-date { color: var(--muted); font-size: 0.92rem; }
.news-index ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.news-index li { padding: 5px 0; border-bottom: 1px solid var(--border); }
.news-index time { color: var(--muted); font-size: 0.92rem; margin-right: 6px; white-space: nowrap; }
.news-item { padding: 8px 0 4px; border-top: 2px solid var(--border); margin-top: 24px; }
.news-item h2 { margin-top: 0.4rem; }
.news-item.pinned { border-top-color: var(--accent); }
.news-top { font-size: 0.9rem; }

.news-teasers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.news-teasers li { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.news-teaser-title { display: block; font-weight: 600; margin: 4px 0; }
.news-teaser-text { display: block; color: var(--muted); font-size: 0.93rem; }

.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); font-size: 0.92rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 40px; padding-top: 20px; padding-bottom: 20px; }
.footer-inner > div { flex: 1 1 360px; }
.footer-inner p { margin: 0.3rem 0; }
.footer-inner strong { color: var(--text); font-weight: 600; }

@media (max-width: 640px) {
    body { font-size: 16px; }
    h1 { font-size: 1.5rem; }
    .incident { padding: 16px; }
    .incident h1 { font-size: 1.3rem; }
    .brand-full { display: none; }
    .facts { grid-template-columns: 1fr; gap: 0; }
    .facts dd { margin-bottom: 8px; }
    .table tbody th { width: auto; }
}

@media print {
    .notice-strip, .main-nav, .toc { display: none; }
    a { color: inherit; }
}
