:root {
    color-scheme: light;
    --ink: #17211b;
    --muted: #667068;
    --paper: #f5f3ed;
    --surface: #fffefb;
    --line: #d9ddd6;
    --accent: #0d6847;
    --accent-soft: #dcefe5;
    --warm: #c97032;
    --error: #9a3129;
    --shadow: 0 18px 48px rgba(29, 43, 35, 0.09);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 85% 10%, rgba(201, 112, 50, 0.10), transparent 28rem),
        linear-gradient(180deg, #faf9f5 0, var(--paper) 100%);
}

a { color: inherit; }

.site-header,
.site-footer,
.page-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: white;
    background: var(--ink);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand strong,
.brand small { display: block; }
.brand strong { font-size: 1rem; }
.brand small { margin-top: 2px; color: var(--muted); }

.read-only-badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.read-only-badge {
    padding: 8px 12px;
    color: var(--accent);
    background: var(--accent-soft);
}

.page-shell { padding: 68px 0 80px; }
.hero { max-width: 760px; margin-bottom: 38px; }

.eyebrow {
    margin: 0 0 10px;
    color: var(--warm);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
    margin-bottom: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 7vw, 5.4rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.hero-copy {
    max-width: 590px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.public-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.public-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    color: var(--accent);
    font-weight: 700;
    text-underline-offset: 3px;
}

.public-links .public-link-primary {
    padding-inline: 14px;
    border-radius: 10px;
    background: var(--accent-soft);
}

.public-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.site-header .article-catalog-home { margin-bottom: 0; }

.article-catalog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 16px;
    max-width: 840px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-catalog-list a {
    display: flex;
    align-items: center;
    min-height: 64px;
    height: 100%;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--accent);
    font-weight: 700;
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}

.article-catalog-list a:hover { background: var(--accent-soft); }

.article-catalog-home:focus-visible,
.article-catalog-list a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.article-catalog-empty { max-width: 840px; }

.content-panel,
.state-card {
    border: 1px solid rgba(23, 33, 27, 0.11);
    border-radius: 22px;
    background: rgba(255, 254, 251, 0.94);
    box-shadow: var(--shadow);
}

.panel-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--line);
}

.panel-header h2 { margin: 0; font-size: 1.15rem; }
.panel-header p { margin: 5px 0 0; color: var(--muted); font-size: 0.9rem; }
.item-count { color: var(--muted); font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 18px 16px; text-align: left; vertical-align: middle; }
th {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
td { border-top: 1px solid var(--line); font-size: 0.9rem; }
tbody tr { transition: background 150ms ease; }
tbody tr:hover { background: #f8faf6; }
.title-cell { min-width: 240px; font-weight: 700; }
.muted { color: var(--muted); }

.status-badge { padding: 6px 10px; white-space: nowrap; }
.status-passed, .status-ready { color: var(--accent); background: var(--accent-soft); }
.status-neutral { color: #5d625e; background: #eceeea; }

.open-link,
.back-link {
    color: var(--accent);
    font-weight: 750;
    text-underline-offset: 4px;
}
.open-link { white-space: nowrap; }
.back-link { display: inline-block; margin-bottom: 22px; text-decoration: none; }

.detail { padding: 30px; }
.detail-title { max-width: 780px; margin-bottom: 8px; font-size: clamp(1.7rem, 4vw, 2.7rem); }
.detail-id { color: var(--muted); font-size: 0.85rem; }

.meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0;
}

.meta-card {
    min-height: 90px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafaf6;
}
.meta-card dt { color: var(--muted); font-size: 0.75rem; }
.meta-card dd { margin: 8px 0 0; font-weight: 700; overflow-wrap: anywhere; }

.detail-section { padding: 26px 0 4px; border-top: 1px solid var(--line); }
.detail-section h3 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.canonical-block {
    margin: 14px 0;
    padding: 20px 22px;
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: #f0f6f2;
    font-size: 1.05rem;
    line-height: 1.65;
}

.provenance-list { display: grid; gap: 10px; margin: 14px 0 0; }
.provenance-row {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1.4fr);
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.provenance-row:first-child { border-top: 0; }
.claim-id { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.82rem; }
.source-id { font-weight: 650; overflow-wrap: anywhere; }

.state-card {
    display: grid;
    justify-items: center;
    padding: 54px 24px;
    text-align: center;
}
.state-card h2 { margin-bottom: 8px; }
.state-card p { max-width: 520px; margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.error-state { border-color: rgba(154, 49, 41, 0.24); }
.error-state h2 { color: var(--error); }

.spinner {
    width: 28px;
    height: 28px;
    margin-bottom: 16px;
    border: 3px solid var(--line);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.site-footer {
    display: flex;
    justify-content: space-between;
    padding: 26px 0 32px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
}

@media (max-width: 860px) {
    .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .optional-column { display: none; }
}

@media (max-width: 560px) {
    .site-header, .site-footer, .page-shell { width: min(100% - 24px, 1180px); }
    .site-header { min-height: 72px; }
    .read-only-badge { padding: 7px 9px; font-size: 0.7rem; }
    .page-shell { padding-top: 44px; }
    .panel-header, .detail { padding: 20px; }
    .meta-grid { grid-template-columns: 1fr; }
    .provenance-row { grid-template-columns: 1fr; gap: 5px; }
    .site-footer { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; }
}

/* Shared public identity. Article payloads and editorial facts remain separate. */
:root {
    --ink:#18251e;
    --muted:#616b64;
    --paper:#fafbf9;
    --surface:#fff;
    --line:#e0e5df;
    --accent:#294733;
    --accent-soft:#edf3ed;
    --warm:#8b713d;
    --shadow:0 8px 30px #17351c0b;
    font-family:Arial,"Segoe UI",sans-serif;
    font-size:16px
}
body {
    background:var(--paper);
    font-size:1rem;
    line-height:1.65
}
h1,h2,h3 {
    font-family:inherit;
    letter-spacing:-.035em;
    color:var(--ink)
}
h1 {
    font-size:clamp(2.25rem,4.1vw,3.8rem);
    line-height:1.08;
    font-weight:750;
    letter-spacing:-.045em
}
h2 {
    font-size:clamp(1.55rem,2.5vw,2.2rem);
    line-height:1.2;
    font-weight:750
}
h3 {
    font-size:1.18rem;
    line-height:1.35
}
p {
    margin-bottom:1rem
}
a {
    text-underline-offset:4px
}
a:hover {
    color:var(--accent)
}
button,input,select {
    font:inherit
}
button,.market-link {
    cursor:pointer
}
button:disabled,select:disabled {
    cursor:wait;
    opacity:.65
}
button,a,input,select {
    touch-action:manipulation
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible {
    outline:3px solid #b78c3c;
    outline-offset:4px
}
[hidden] {
    display:none!important
}
.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
}
.skip-link {
    position:fixed;
    left:16px;
    top:-100px;
    padding:12px 18px;
    background:white;
    z-index:100
}
.skip-link:focus {
    top:12px
}
.page-shell {
    width:min(1280px,calc(100% - 96px));
    margin-inline:auto;
    padding:0
}
.site-header {
    width:100%;
    min-height:0;
    background:#ffffffed;
    border-bottom:1px solid #e7ebe5;
    position:relative;
    z-index:5
}
.header-inner {
    width:min(1280px,calc(100% - 96px));
    margin:auto;
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px
}
.brand {
    display:flex;
    align-items:center;
    gap:12px;
    color:#193326;
    text-decoration:none;
    white-space:nowrap;
    font-size:1.5rem;
    font-weight:750;
    letter-spacing:-.04em
}
.brand-symbol {
    width:52px;
    height:36px;
    flex-shrink:0
}
.main-nav {
    display:flex;
    gap:34px;
    margin-left:auto;
    margin-right:38px
}
.main-nav a {
    font-size:.94rem;
    text-decoration:none;
    font-weight:500
}
.main-nav a:hover {
    text-decoration:underline
}
.search-link {
    display:grid;
    place-items:center;
    width:40px;
    height:40px
}
.search-link svg {
    width:24px;
    stroke:currentColor;
    stroke-width:1.7
}
.eyebrow {
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--accent);
    margin-bottom:14px
}
.home-hero {
    position:relative;
    isolation:isolate;
    overflow:hidden;
    min-height:550px;
    background:#eef1ed
}
.hero-photo {
    position:absolute;
    inset:0 0 0 42%;
    z-index:-2
}
.hero-photo img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:100% 50%
}
.hero-photo::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,#eef1ed99,transparent 30%)
}
.image-caption {
    position:absolute;
    right:18px;
    bottom:15px;
    color:white;
    background:#14271980;
    border-radius:4px;
    padding:2px 8px;
    font-size:.75rem
}
.home-hero::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(108deg,#f7f9f5 0%,#f7f9f5 44%,#f7f9f5ed 48%,transparent 48.1%)
}
.hero-inner {
    padding:50px 0 30px
}
.hero-copy-panel {
    max-width:595px
}
.hero-copy-panel h1 {
    margin:0 0 22px
}
.hero-copy {
    max-width:475px;
    font-size:1.12rem;
    line-height:1.55;
    color:var(--muted);
    margin-bottom:26px
}
.vehicle-form {
    display:flex;
    align-items:end;
    gap:14px;
    padding:17px 18px;
    border:1px solid #e5e9e2;
    background:#ffffffef;
    border-radius:12px;
    box-shadow:0 8px 28px #1427190a;
    width:max-content;
    max-width:100%;
    position:relative;
    z-index:1
}
.select-field {
    min-width:160px;
    display:grid;
    gap:5px
}
.select-field label {
    font-size:.85rem;
    line-height:1.3;
    color:#465348
}
.select-field select {
    border:1px solid #d9e0d8;
    padding:10px 34px 10px 12px;
    border-radius:6px;
    width:100%;
    color:var(--ink);
    background-color:white;
    appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%233e5142' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-size:16px;
    background-position:right 10px center
}
.vehicle-form button,.search-field button {
    background:var(--accent);
    color:#fff;
    border:1px solid var(--accent);
    padding:11px 24px;
    border-radius:6px;
    font-weight:600;
    min-height:47px
}
.vehicle-form button:hover,.search-field button:hover {
    background:#1c3526
}
.vehicle-chips {
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:17px;
    min-height:34px
}
.vehicle-chip {
    border:1px solid #cdd8cd;
    border-radius:24px;
    padding:5px 22px;
    background:#294733;
    color:#fff;
    font-weight:600;
    font-size:.85rem;
    min-height:36px
}
.vehicle-chip:hover {
    background:#1a3626
}
.home-materials {
    padding-block:48px 34px;
    scroll-margin-top:20px
}
.section-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px
}
.section-heading h2 {
    margin-bottom:0
}
.section-heading .eyebrow {
    margin-bottom:8px
}
.section-heading>a {
    font-size:.9rem;
    white-space:nowrap;
    color:var(--accent)
}
.section-intro {
    color:var(--muted);
    margin:15px 0 24px;
    max-width:760px
}
.materials-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px
}
.material-card {
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:white;
    border:1px solid var(--line);
    border-radius:12px;
    text-decoration:none;
    transition:box-shadow .18s,transform .18s
}
.material-card:hover {
    box-shadow:0 12px 32px #17351c13;
    transform:translateY(-3px);
    color:inherit
}
.card-visual {
    position:relative;
    height:180px;
    overflow:hidden;
    background:#e6ede3
}
.card-visual img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:75% 55%;
    transition:transform .3s
}
.material-card:hover img {
    transform:scale(1.025)
}
.card-visual-checklist img {
    object-position:62% 85%;
    filter:saturate(.65)
}
.card-label {
    position:absolute;
    left:14px;
    top:14px;
    max-width:calc(100% - 28px);
    border-radius:20px;
    background:#294733e8;
    color:#fff;
    font-size:.78rem;
    font-weight:500;
    line-height:1.3;
    padding:7px 12px
}
.card-visual-checklist .card-label {
    background:#8b713de8
}
.card-content {
    display:flex;
    flex-direction:column;
    padding:22px;
    flex:1
}
.card-meta {
    font-size:.78rem;
    line-height:1.4;
    color:var(--accent);
    font-weight:600;
    letter-spacing:.01em;
    margin-bottom:9px
}
.card-content h2,.card-content h3 {
    font-size:1.22rem;
    line-height:1.3;
    letter-spacing:-.025em;
    margin:0 0 10px
}
.card-content>p:not(.card-meta) {
    color:var(--muted);
    font-size:.92rem;
    line-height:1.5
}
.card-read {
    margin-top:auto;
    padding-top:12px;
    color:var(--accent);
    font-size:.82rem;
    font-weight:650
}
.source-note {
    display:flex;
    gap:10px;
    align-items:center;
    color:var(--muted);
    font-size:.85rem;
    margin:22px 0 0
}
.source-note svg {
    width:22px;
    height:24px;
    flex-shrink:0;
    stroke:currentColor;
    stroke-width:1.4
}
.source-note span {
    margin-left:auto;
    font-size:.8rem;
    white-space:nowrap
}
.shopping-teaser {
    margin-block:12px 60px;
    padding:34px 40px;
    display:flex;
    gap:30px;
    align-items:center;
    border-radius:14px;
    background:#eaf0e8;
    border:1px solid #dce5d8
}
.shopping-teaser h2 {
    font-size:1.65rem;
    margin-bottom:12px
}
.shopping-teaser p:not(.eyebrow) {
    max-width:780px;
    color:#4d5e4f;
    margin-bottom:12px
}
.shopping-teaser .eyebrow {
    margin-bottom:8px
}
.teaser-symbol {
    width:90px;
    height:90px;
    display:grid;
    place-items:center;
    background:#fff8;
    border-radius:50%;
    flex-shrink:0
}
.teaser-symbol svg {
    width:48px;
    height:48px;
    stroke:#3c5940;
    stroke-width:2
}
.text-link {
    font-weight:650;
    font-size:.9rem;
    color:var(--accent)
}
.about-section {
    display:grid;
    grid-template-columns:1fr 1.5fr;
    gap:65px;
    padding-block:0 45px
}
.about-section>div>p:not(.eyebrow) {
    color:var(--muted)
}
.about-section h2 {
    font-size:1.8rem;
    margin-bottom:18px
}
.principles {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px
}
.principles h3 {
    font-size:1rem;
    letter-spacing:-.02em;
    margin:10px 0
}
.principles p {
    font-size:.9rem;
    color:var(--muted);
    line-height:1.6
}
.principle-icon {
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
    border-radius:50%;
    background:var(--accent-soft);
    color:var(--accent);
    font-weight:700
}
.verification-note {
    font-size:.75rem;
    color:var(--muted);
    padding-bottom:26px
}
.site-footer {
    width:min(1280px,calc(100% - 96px));
    margin-inline:auto;
    display:flex;
    justify-content:space-between;
    gap:30px;
    border-top:1px solid var(--line);
    padding:32px 0 40px;
    font-size:.85rem;
    color:var(--muted)
}
.site-footer strong {
    font-size:1.08rem;
    color:var(--ink);
    letter-spacing:-.03em
}
.site-footer p {
    margin:8px 0 0
}
.footer-links {
    display:flex;
    flex-wrap:wrap;
    gap:8px 24px;
    justify-content:flex-end;
    max-width:550px
}
.footer-links span {
    width:100%;
    text-align:right;
    font-size:.78rem
}
.breadcrumbs {
    display:flex;
    flex-wrap:wrap;
    gap:10px 20px;
    color:var(--muted);
    font-size:.85rem;
    margin:0 0 30px
}
.breadcrumbs a {
    text-decoration:none
}
.breadcrumbs span {
    color:var(--accent)
}
.catalog-page {
    padding-block:36px 60px
}
.catalog-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px
}
.catalog-heading h1 {
    font-size:clamp(2rem,4vw,3.3rem)
}
.catalog-heading .lead {
    max-width:730px;
    color:var(--muted)
}
.catalog-count {
    color:var(--muted);
    white-space:nowrap;
    font-size:.85rem
}
.catalog-search {
    max-width:600px;
    margin:18px 0 30px
}
.catalog-search label {
    display:block;
    font-size:.85rem;
    margin-bottom:8px;
    color:var(--muted)
}
.search-field {
    display:flex;
    gap:10px
}
.search-field input {
    width:100%;
    min-width:0;
    padding:11px 15px;
    background:white;
    border:1px solid #cad3c8;
    border-radius:6px;
    color:var(--ink)
}
.state-card {
    grid-column:1/-1;
    background:white;
    border:1px solid var(--line);
    box-shadow:none;
    border-radius:12px
}
.article-layout {
    padding-block:32px 60px
}
.article-layout>nav[aria-label="Навигация по статьям"] {
    font-size:.85rem;
    color:var(--muted);
    margin:-12px 0 25px;
    display:flex;
    flex-wrap:wrap;
    gap:10px
}
.article-columns {
    display:grid;
    grid-template-columns:minmax(0,1fr) 275px;
    gap:32px;
    align-items:start
}
.reading-card {
    min-width:0;
    border:1px solid var(--line);
    background:white;
    border-radius:14px;
    padding:38px 44px
}
.reading-card h1 {
    font-size:clamp(2rem,3.5vw,3rem);
    line-height:1.15;
    margin:15px 0 20px
}
.article-scope {
    color:var(--muted);
    font-size:.9rem;
    margin-bottom:10px
}
.publication-disclosure {
    padding:14px 18px;
    background:#f0f4ed;
    border-radius:7px;
    color:#445c46;
    font-size:.9rem;
    margin-bottom:32px
}
.reading-card>section {
    margin:26px 0;
    padding:0;
    scroll-margin-top:25px
}
.reading-card>section h2 {
    font-size:1.35rem;
    line-height:1.3;
    margin:0 0 15px
}
.reading-card>section p {
    font-size:1.03rem;
    line-height:1.8;
    overflow-wrap:anywhere
}
.reading-card>section[aria-label="Важные примечания"] {
    border-top:1px solid var(--line);
    padding-top:28px
}
.reading-card>section[aria-label="Источники"] {
    background:#f7f9f5;
    border:1px solid var(--line);
    border-radius:9px;
    padding:22px;
    font-size:.9rem
}
.reading-card>section[aria-label="Источники"] ul {
    padding-left:20px;
    margin-bottom:0;
    overflow-wrap:anywhere
}
.reading-card .source-id {
    display:block;
    font-size:.75rem;
    color:var(--muted);
    font-weight:400;
    margin:5px 0 12px
}
.article-sidebar {
    position:sticky;
    top:24px;
    display:grid;
    gap:20px
}
.toc-card,.help-card {
    border:1px solid var(--line);
    border-radius:12px;
    background:white;
    padding:24px
}
.toc-card nav {
    display:grid;
    gap:12px
}
.toc-card nav a {
    font-size:.88rem;
    line-height:1.45;
    text-decoration:none;
    color:#4d5e50;
    border-left:2px solid #dce5d8;
    padding-left:12px
}
.toc-card nav a:hover {
    color:var(--accent);
    border-color:var(--accent)
}
.help-card {
    background:#eaf0e8;
    font-size:.88rem;
    color:#4d5e50
}
.help-card strong {
    font-size:1rem;
    line-height:1.4;
    display:block;
    color:var(--accent);
    margin-bottom:12px
}
.help-card p {
    line-height:1.6
}
.reading-card>.shopping-section {
    border-top:1px solid var(--line);
    padding-top:32px;
    margin-top:34px
}
.shopping-section>.eyebrow {
    font-size:.78rem!important;
    line-height:1.4!important
}
.shopping-intro {
    color:var(--muted);
    font-size:.93rem!important
}
.product-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:22px
}
.product-card {
    border:1px solid #dce4d9;
    border-radius:10px;
    padding:22px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    min-width:0
}
.product-icon {
    width:54px;
    height:54px;
    background:#edf3e9;
    border-radius:9px;
    display:grid;
    place-items:center;
    margin-bottom:16px
}
.product-icon svg {
    width:34px;
    height:34px;
    fill:none;
    stroke:#4a6547;
    stroke-width:1.6;
    stroke-linejoin:round
}
.product-purpose {
    font-size:.75rem!important;
    line-height:1.4!important;
    color:#6b774e;
    text-transform:uppercase;
    letter-spacing:.04em;
    margin-bottom:7px
}
.product-card h3 {
    margin:0 0 12px;
    font-size:1.05rem;
    letter-spacing:-.025em
}
.reading-card .product-card>p:not(.product-purpose) {
    font-size:.88rem;
    line-height:1.6;
    color:var(--muted)
}
.product-selection {
    padding-top:12px;
    border-top:1px solid #e7ece3
}
.market-link {
    display:block;
    background:#294733;
    color:white;
    border-radius:6px;
    padding:11px 13px;
    width:100%;
    font-size:.8rem;
    font-weight:650;
    text-align:center;
    line-height:1.5;
    text-decoration:none;
    margin-top:auto
}
.market-link:hover {
    color:white;
    background:#193823
}
.shopping-notice {
    border-left:3px solid #8a7950;
    background:#f7f7f0;
    padding:16px 18px;
    margin-top:20px
}
.shopping-notice strong {
    font-size:.9rem
}
.shopping-notice p {
    font-size:.83rem!important;
    line-height:1.6!important;
    margin:6px 0 0;
    color:#62694f
}
@media(min-width:1200px) {
    .home-materials .material-card:first-child {
        grid-column:span 1
    }
}
@media(max-width:1100px) {
    .page-shell,.header-inner,.site-footer {
        width:calc(100% - 56px)
    }
    .hero-copy-panel {
        max-width:510px
    }
    .hero-copy-panel h1 {
        font-size:3rem
    }
    .hero-photo {
        left:38%
    }
    .home-hero::before {
        background:linear-gradient(108deg,#f7f9f5 0%,#f7f9f5 43%,#f7f9f5eb 49%,transparent 49.1%)
    }
    .materials-grid {
        gap:16px
    }
    .card-content {
        padding:18px
    }
    .about-section {
        grid-template-columns:1fr;
        gap:20px
    }
    .article-columns {
        grid-template-columns:minmax(0,1fr) 235px;
        gap:20px
    }
    .reading-card {
        padding:30px
    }
    .toc-card,.help-card {
        padding:20px
    }
    .product-grid {
        grid-template-columns:1fr
    }
    .main-nav {
        margin-right:0;
        gap:23px
    }
}
@media(max-width:780px) {
    .header-inner {
        height:72px;
        gap:14px
    }
    .brand {
        font-size:1.25rem;
        gap:8px
    }
    .brand-symbol {
        width:40px
    }
    .main-nav {
        gap:18px
    }
    .main-nav a {
        font-size:.85rem
    }
    .main-nav a[href="/#materials"] {
        display:none
    }
    .home-hero {
        min-height:0
    }
    .hero-photo {
        inset:0;
        opacity:.24
    }
    .hero-photo img {
        object-position:72% 50%
    }
    .home-hero::before {
        background:linear-gradient(90deg,#f7f9f5f7,#f7f9f5a8)
    }
    .hero-inner {
        padding:38px 0 28px
    }
    .hero-copy-panel {
        max-width:570px
    }
    .hero-copy-panel h1 {
        font-size:clamp(2.4rem,6vw,3.2rem)
    }
    .hero-copy {
        max-width:480px
    }
    .vehicle-form {
        width:100%
    }
    .select-field {
        min-width:0;
        flex:1
    }
    .vehicle-form button {
        font-size:.9rem;
        padding-inline:16px
    }
    .image-caption {
        font-size:.65rem
    }
    .materials-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .home-materials {
        padding-top:35px
    }
    .article-columns {
        grid-template-columns:1fr
    }
    .article-sidebar {
        position:static;
        grid-template-columns:1fr 1fr;
        order:2
    }
    .product-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .site-footer {
        flex-direction:column;
        gap:18px
    }
    .footer-links {
        justify-content:flex-start
    }
    .footer-links span {
        text-align:left
    }
    .catalog-heading {
        display:block
    }
    .catalog-count {
        display:block;
        margin:10px 0
    }
    .shopping-teaser {
        padding:28px;
        gap:22px;
        margin-bottom:40px
    }
}
@media(max-width:520px) {
    .page-shell,.header-inner,.site-footer {
        width:calc(100% - 32px)
    }
    .brand {
        font-size:1.15rem
    }
    .brand-symbol {
        width:34px;
        height:28px
    }
    .header-inner {
        gap:8px;
        height:66px
    }
    .main-nav {
        gap:12px
    }
    .main-nav a[href="/#about"] {
        display:none
    }
    .search-link {
        width:32px
    }
    .hero-inner {
        padding-top:28px
    }
    .hero-copy-panel .eyebrow {
        font-size:.7rem
    }
    .hero-copy-panel h1 {
        font-size:2.45rem;
        line-height:1.08
    }
    .hero-copy {
        font-size:1rem;
        margin-bottom:20px
    }
    .vehicle-form {
        padding:14px;
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:12px
    }
    .vehicle-form button {
        grid-column:1/-1;
        width:100%
    }
    .select-field select {
        font-size:.9rem;
        padding-left:10px
    }
    .vehicle-chips {
        margin-top:14px
    }
    .section-heading {
        align-items:start;
        gap:10px
    }
    .section-heading h2 {
        font-size:1.6rem
    }
    .section-heading>a {
        font-size:.8rem;
        margin-top:26px
    }
    .section-intro {
        font-size:.95rem
    }
    .materials-grid {
        grid-template-columns:1fr;
        gap:20px
    }
    .card-visual {
        height:190px
    }
    .card-content {
        padding:20px
    }
    .source-note {
        align-items:start;
        flex-wrap:wrap;
        font-size:.8rem
    }
    .source-note span {
        width:100%;
        margin-left:32px;
        text-align:left
    }
    .shopping-teaser {
        flex-direction:column;
        align-items:start;
        padding:24px
    }
    .teaser-symbol {
        width:60px;
        height:60px
    }
    .teaser-symbol svg {
        width:36px
    }
    .shopping-teaser h2 {
        font-size:1.5rem
    }
    .principles {
        grid-template-columns:1fr;
        gap:16px
    }
    .principles>div {
        display:grid;
        grid-template-columns:32px 1fr;
        column-gap:14px
    }
    .principles h3 {
        margin:3px 0 8px
    }
    .principles p {
        grid-column:2;
        margin-bottom:0
    }
    .article-layout {
        padding-top:25px
    }
    .reading-card {
        padding:24px 20px;
        border-radius:10px
    }
    .reading-card h1 {
        font-size:2rem
    }
    .article-sidebar {
        grid-template-columns:1fr
    }
    .toc-card {
        display:none
    }
    .product-grid {
        grid-template-columns:1fr
    }
    .product-card {
        padding:20px
    }
    .search-field button {
        padding-inline:18px
    }
    .catalog-heading h1 {
        font-size:2.2rem
    }
    .breadcrumbs {
        font-size:.8rem;
        gap:10px 14px
    }
    .verification-note {
        font-size:.7rem
    }
}
@media print {
    .site-header,.site-footer,.article-sidebar,.shopping-section,.skip-link {
        display:none
    }
    .article-columns {
        display:block
    }
    .reading-card {
        border:0;
        padding:0
    }
    .page-shell {
        width:100%
    }
    .reading-card section {
        break-inside:avoid
    }
    body {
        background:#fff
    }
    .article-layout>nav {
        display:none
    }
}

/* Public usability review: touch targets, narrow screens and readable navigation. */
html { -webkit-text-size-adjust:100%; }
.header-inner,.article-sidebar,.toc-card,.help-card { min-width:0; }
h1,h2,h3,.text-link,.footer-links { overflow-wrap:anywhere; min-width:0; }
.shopping-teaser>div { min-width:0; }
.vehicle-chip,.search-link,.market-link,.main-nav a,.footer-links a { min-height:44px; }
.vehicle-chip[aria-pressed="true"] { background:#182f20; outline:2px solid #8b713d; outline-offset:2px; }
.vehicle-chip[aria-pressed="false"] { background:#edf3ed; color:var(--accent); }
.select-field select,.search-field input { font-size:1rem; min-height:48px; }
.market-link { display:flex; align-items:center; justify-content:center; }
.market-link .sr-only { display:block; }
.footer-links a,.main-nav a { display:inline-flex; align-items:center; }
.retry-button { min-height:44px; max-width:100%; border:1px solid var(--accent); border-radius:6px; background:var(--accent); color:white; padding:10px 16px; font:inherit; white-space:normal; }
.state-card { overflow-wrap:anywhere; }
@media screen and (max-width:780px) {
    .header-inner { display:grid; grid-template-columns:minmax(0,1fr) 44px; gap:4px 12px; height:auto; padding-block:10px 6px; }
    .main-nav { grid-column:1/-1; grid-row:2; margin:0; justify-content:space-between; flex-wrap:wrap; gap:0 12px; }
    .main-nav a[href="/#materials"],.main-nav a[href="/#about"] { display:inline-flex; }
    .article-columns { display:flex; flex-direction:column; }
    .article-sidebar { order:-1; width:100%; display:block; }
    .article-sidebar .help-card { display:none; }
    .toc-card { display:block; padding:14px 16px; }
    .toc-card .eyebrow { margin-bottom:6px; }
    .toc-card nav { display:flex; overflow-x:auto; gap:8px; padding:4px 2px 8px; }
    .toc-card nav a { flex:0 0 auto; min-height:44px; display:flex; align-items:center; border:1px solid var(--line); border-radius:6px; padding:8px 12px; white-space:nowrap; }
    .reading-card { width:100%; }
}
@media screen and (max-width:520px) {
    .brand { min-width:0; white-space:normal; overflow-wrap:anywhere; }
    .brand span { min-width:0; }
    .search-link { width:44px; height:44px; }
    .main-nav a { font-size:.875rem; }
    .hero-copy-panel h1 { font-size:clamp(2rem,8.8vw,2.45rem); }
    .reading-card { padding:22px 16px; }
    .reading-card h1 { font-size:clamp(1.65rem,7.5vw,2rem); }
    .reading-card>section[aria-label="Источники"] { padding:16px; }
    .footer-links { gap:2px 16px; }
    .section-heading { flex-wrap:wrap; }
    .section-heading>a { margin-top:0; min-height:44px; display:flex; align-items:center; }
}
@media screen and (max-width:360px) {
    .vehicle-form { grid-template-columns:1fr; }
    .vehicle-form button { grid-column:auto; }
    .product-card { padding:16px; }
}
@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
