:root {
  --accent: #8a5a2b;
  --accent-hover: #6b4220;
  --accent-text: #fff;
  --marked: #f3e2c4;
  --sans-font: "PT Sans", "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --accent: #d8a56a; --accent-hover: #f0c18c; --accent-text: #1b1208; }
}
body { grid-template-columns: 1fr min(62rem, 92%) 1fr; }
body > header.tq-shapka { text-align: left; padding: .6rem 0 0; background: #f7f1e8; border-bottom: 3px solid var(--accent); }
@media (prefers-color-scheme: dark) { body > header.tq-shapka { background: #241a12; } }
.ox-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dr-logo { font-size: 1.45rem; color: var(--text); text-decoration: none; letter-spacing: .02em; }
.dr-logo b { color: var(--accent); }
.dr-logo small { display: block; font-size: .78rem; color: var(--text-light); letter-spacing: 0; }
.nb-burg { display: none; background: transparent; border: 1px solid var(--border); padding: .35rem .5rem; }
.nb-burg span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; }
header .mh-nav { margin: .7rem 0 0; padding: .3rem 0 .5rem; display: flex; flex-wrap: wrap; gap: .2rem .3rem; }
header .mh-nav a { margin: 0; border-radius: 3px; padding: .25rem .6rem; font-size: .95rem; border: 0; }
header .mh-nav a.cur { background: var(--accent); color: var(--accent-text); }
@media (max-width: 720px) {
  .nb-burg { display: block; }
  header .mh-nav { display: none; flex-direction: column; }
  header .mh-nav.otkr { display: flex; }
}
.kx-crumbs { font-size: .85rem; color: var(--text-light); margin: 1rem 0 .2rem; }
.kx-crumbs i { font-style: normal; opacity: .5; padding: 0 .2rem; }
.zp-hero { padding: 2.2rem 0 1.4rem; border-bottom: 1px dashed var(--border); }
.zp-hero h1 { font-size: 2.3rem; line-height: 1.15; margin-top: 0; }
.zp-hero .lead-x { font-size: 1.12rem; max-width: 46rem; }
.zp-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.zp-chips li a { display: inline-block; padding: .3rem .8rem; border: 1px solid var(--accent); border-radius: 30px; text-decoration: none; }
.qa-blk details { margin: .5rem 0; }
.qa-blk summary { font-weight: 600; }
.hit-pr ol { columns: 2; column-gap: 2rem; }
@media (max-width: 720px) { .hit-pr ol, .mp-col { columns: 1 !important; } }
.hit-pr li { break-inside: avoid; margin-bottom: .4rem; }
.um-mat { background: var(--accent-bg); border-left: 4px solid var(--accent); padding: 1rem 1.3rem; margin: 2rem 0; }
.um-mat article { border-bottom: 1px solid var(--border); padding: .6rem 0 .9rem; }
.um-mat article:last-child { border-bottom: 0; }
.um-mat h3 { margin: .3rem 0 .4rem; font-size: 1.15rem; }
.um-mat .chit { font-size: .9rem; font-weight: 600; }
.oshb ul { list-style: none; padding-left: 0; }
.oshb li { padding-left: 1.6rem; position: relative; margin-bottom: .6rem; }
.oshb li:before { content: "✕"; position: absolute; left: 0; color: #b0412c; font-weight: 700; }
.cfr-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; margin: 1rem 0; }
.cfr-row div { border: 1px solid var(--border); border-radius: 6px; padding: .8rem; }
.cfr-row b { display: block; font-size: 1.7rem; color: var(--accent); }
.pk-ul { columns: 2; column-gap: 2rem; padding-left: 1.1rem; }
.pk-li { break-inside: avoid; margin-bottom: .45rem; }
.pk-m { display: block; font-size: .85rem; color: var(--text-light); }
.jv-sub { color: var(--text-light); margin-top: -.5rem; }
.jv-grid { display: grid; grid-template-columns: 1fr 17rem; gap: 2rem; align-items: start; }
@media (max-width: 820px) { .jv-grid { grid-template-columns: 1fr; } .pk-ul { columns: 1; } }
.jv-har { background: var(--accent-bg); padding: .8rem 1rem; border-radius: 6px; position: sticky; top: 1rem; }
.jv-har table { font-size: .88rem; display: table; }
.jv-har th { text-align: left; font-weight: 400; color: var(--text-light); background: none; }
.jv-har h4 { margin: .2rem 0 .5rem; }
.jv-note { font-size: .8rem; color: var(--text-light); }
.wn-intro { max-width: 48rem; }
.wn-stat { font-style: italic; }
.wn-sub ul { columns: 2; }
.yb-stat > p:first-of-type { font-size: 1.08rem; }
.yb-dal, .wn-rel, .hf-see { border-top: 1px solid var(--border); margin-top: 2rem; }
.cg-dl dt { margin-top: 1rem; font-weight: 600; }
.cg-dl dd { margin-left: 0; color: var(--text-light); }
.mp-col { columns: 2; }
.mp-sm { font-size: .9rem; columns: 3; }
.pd-niz { text-align: left; }
.fz-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; }
@media (max-width: 720px) { .fz-cols { grid-template-columns: 1fr; } }
.fz-copy { font-size: .8rem; }
.up-btn { position: fixed; right: 1rem; bottom: 1rem; width: 2.4rem; height: 2.4rem; line-height: 2.4rem; text-align: center; border-radius: 50%; background: var(--accent); color: var(--accent-text) !important; text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .3s; }
.up-btn.vid { opacity: .85; pointer-events: auto; }
.pv-in { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.pv-in.pv-ok { opacity: 1; transform: none; }
.er-box { padding: 2rem 0; }
.sd-link { background: var(--marked); padding: 0 .15rem; }
