
@font-face { font-family: Inter; src: url(/fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0400-04FF; }
@font-face { font-family: Inter; src: url(/fonts/inter-latin.woff2) format('woff2'); }
@page { size: A5; margin: 10mm 10mm 16mm; }
* { box-sizing: border-box; }
html { background: #FFFFFF; }
body { margin: 0; font-family: Inter, sans-serif; color: #1E211F; font-size: 13pt; line-height: 1.5; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.pg { display: block; break-before: page; }
.pg.cont { break-before: auto; margin-top: 9mm; padding-top: 6mm; border-top: 1px solid #E4DCCB; }
.pg > * + * { margin-top: 5mm; }
/* Плотнее, если глава переливается на страницу парой строк */
.pg.t1 { font-size: 12.5pt; } .pg.t1 > * + * { margin-top: 4mm; } .pg.t1 .card, .pg.t1 .rc { padding: 4mm; }
.pg.t2 { font-size: 12pt; } .pg.t2 > * + * { margin-top: 3mm; } .pg.t2 .card, .pg.t2 .rc { padding: 3.5mm; } .pg.t2 .rows, .pg.t2 .vtl, .pg.t2 .toc { gap: 2mm; }
.pg:first-child { break-before: auto; }
.hd { font-size: 10pt; letter-spacing: .06em; text-transform: uppercase; color: #8C8576; border-bottom: 1px solid #E4DCCB; padding-bottom: 2.5mm; }
.h { display: flex; flex-direction: column; gap: 2mm; }
.kicker { font-size: 10pt; letter-spacing: .1em; text-transform: uppercase; color: #9A7322; font-weight: 600; }
h1 { margin: 0; font-size: 22pt; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
h2 { display: flex; align-items: center; gap: 2.5mm; font-size: 16pt; line-height: 1.25; font-weight: 600; break-after: avoid; }
p { margin: 0; }
.lead { color: #4F4C45; font-size: 13.5pt; }
.mut { color: #5F5B52; } .sm { font-size: 11pt; } .b { font-weight: 600; } .center { text-align: center; } .big { font-size: 20pt; font-weight: 600; }
.ic { width: 6mm; height: 6mm; color: #3E6B55; flex: none; vertical-align: -1.2mm; } .ic.sm { width: 4.4mm; height: 4.4mm; margin-right: 1.5mm; color: #8C8576; } .ic.ok { color: #3E6B55; }
.card { background: #FBF8F0; border-radius: 4mm; padding: 5mm; display: flex; flex-direction: column; gap: 3mm; break-inside: avoid; }
.card h2 { margin: 0; font-size: 14pt; }
.grid { display: flex; flex-direction: column; gap: 5mm; }
.stack { display: flex; flex-direction: column; gap: 3mm; } .stack2 { display: flex; flex-direction: column; gap: 1mm; }
.st { display: inline-flex; align-items: center; gap: 1.5mm; padding: .8mm 3mm .8mm 2mm; border-radius: 99px; font-size: 10.5pt; font-weight: 600; white-space: nowrap; }
.st .ic { width: 4.4mm; height: 4.4mm; vertical-align: 0; }
.st-ok { background: #E2EDE6; color: #2F5744; } .st-ok .ic { color: #2F5744; }
.st-one { background: #F6EACB; color: #7A5A17; } .st-one .ic { color: #7A5A17; }
.st-hyp { background: #ECECEE; color: #55595F; } .st-hyp .ic { color: #55595F; }
.st-no { background: #F1EDE6; color: #6E6B63; } .st-no .ic { color: #6E6B63; }
.rows { display: flex; flex-direction: column; gap: 3mm; }
.rc { background: #FBF8F0; border-radius: 3mm; padding: 3.5mm 4.5mm; display: flex; flex-direction: column; gap: 1.5mm; break-inside: avoid; }
.rc-h { font-weight: 600; } .rc-v { font-size: 12pt; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 3mm; }
.stat { background: #FBF8F0; border-radius: 3.5mm; padding: 4mm; display: flex; flex-direction: column; gap: 1mm; break-inside: avoid; }
.stat .ic { color: #B7892E; } .sn { font-size: 24pt; font-weight: 700; line-height: 1.1; color: #8A6416; }
.tl-dot { width: 4mm; height: 4mm; border-radius: 50%; background: #3E6B55; border: 2px solid #FFFFFF; box-shadow: 0 0 0 1px #3E6B55; z-index: 1; }
.tl-one { background: #B7892E; box-shadow: 0 0 0 1px #B7892E; } .tl-hyp { background: #FFFFFF; box-shadow: 0 0 0 1px #8A8F98; } .tl-no { background: #E4DCCB; box-shadow: 0 0 0 1px #C9C3B6; }
.vtl { display: flex; flex-direction: column; gap: 4mm; position: relative; }
.vtl::before { content: ''; position: absolute; left: 1.9mm; top: 2mm; bottom: 2mm; width: 1px; background: #CFC6B3; }
.vtl-i { display: grid; grid-template-columns: 4mm 1fr; column-gap: 4mm; align-items: start; break-inside: avoid; }
.vtl-i .tl-dot { grid-row: 1 / span 2; margin-top: 1.4mm; } .vtl-y { font-weight: 700; color: #9A7322; font-size: 12pt; }
.vtl-i .stack2 { grid-column: 2; }
.doc { background: #E9E3D6; border-radius: 3mm; padding: 4mm; display: flex; flex-direction: column; gap: 1.5mm; break-inside: avoid; }
.doc-in { background: #F4EAD2; border: 1px solid #DCCDA9; border-radius: 1.5mm; padding: 4mm; display: flex; flex-direction: column; gap: 1.6mm; box-shadow: 0 1.5mm 4mm rgba(80,60,20,.12); }
.doc-blue .doc-in { background: #EEF0EC; border-color: #CBD3CC; } .doc-card .doc-in { background: #FBF8F0; border-color: #DCD3BF; } .doc-old .doc-in { background: #EDE0C2; border-color: #CDB98C; }
.doc-t { font-size: 10pt; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #5A4A2A; }
.doc-cols { display: grid; grid-template-columns: 1fr 3fr 4fr 2fr; gap: 1.5mm; } .doc-cols i { height: 1.2mm; background: #CDBB93; border-radius: 1mm; }
.dls { display: flex; flex-direction: column; gap: 1.4mm; } .dl { display: block; height: 1.2mm; background: #D2C29E; border-radius: 1mm; }
.doc-hl { background: #F6DC86; border-radius: 1mm; padding: 2mm 2.6mm; font-size: 12pt; font-style: italic; color: #4A3A12; line-height: 1.45; }
.doc-cap { font-size: 10pt; color: #8C8576; text-align: right; }
.docrow { display: flex; flex-direction: column; gap: 4mm; }
.kv { display: flex; flex-direction: column; gap: 2.5mm; } .kv .k { color: #5F5B52; font-size: 11pt; } .kv .v { margin-top: -2mm; }
.ul { margin: 0; padding-left: 5mm; display: flex; flex-direction: column; gap: 2mm; }
.next { display: flex; flex-direction: column; gap: 3mm; }
.next-i { display: grid; grid-template-columns: 8mm 1fr; gap: 1.5mm 3mm; align-items: start; background: #FBF8F0; border-radius: 3mm; padding: 4mm; break-inside: avoid; }
.next-i .pill { grid-column: 2; justify-self: start; }
.num { width: 8mm; height: 8mm; border-radius: 50%; background: #F6EACB; color: #7A5A17; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11pt; }
.pill { border: 1px solid #DCCDA9; border-radius: 99px; padding: 1mm 3mm; font-size: 10.5pt; font-weight: 600; color: #7A5A17; background: #FBF3DC; white-space: nowrap; }
.qr { display: flex; gap: 5mm; align-items: center; background: #FBF8F0; border-radius: 4mm; padding: 5mm; break-inside: avoid; }
.qr-c { width: 26mm; height: 26mm; flex: none; } .qr-c svg { width: 100%; height: 100%; }
.letter { background: #FBF8F0; border-radius: 3mm; padding: 6mm; display: flex; flex-direction: column; gap: 3mm; font-size: 12.5pt; font-family: Georgia, 'Times New Roman', serif; line-height: 1.55; }
.toc { display: flex; flex-direction: column; gap: 3mm; }
.toc-i { display: grid; grid-template-columns: auto 1fr auto; gap: 3mm; align-items: end; } .toc-d { border-bottom: 1px dotted #CFC6B3; margin-bottom: 1.6mm; }
.toc-i.off { color: #8C8576; }
.blur { filter: blur(3px); color: #8C8576; }
.gem { display: inline-block; width: .85em; height: .85em; vertical-align: -.08em; }
.code { margin: 0; background: #F1EBDD; border-radius: 2mm; padding: 4mm; font-size: 10pt; line-height: 1.45; white-space: pre-wrap; font-family: Menlo, monospace; }
svg.map { width: 100%; height: auto; display: block; break-inside: avoid; }
svg text { font-family: Inter, sans-serif; }
.map .mb { font-weight: 600; font-size: 18px; fill: #1E211F; } .map .ml { font-size: 16px; fill: #4F4C45; } .map .mr { font-size: 15px; fill: #6E6B63; }
.tg { display: flex; flex-direction: column; gap: 3mm; }
.tg-g { display: flex; flex-direction: column; gap: 2.5mm; break-inside: avoid; }
.tg-pair { display: flex; align-items: stretch; gap: 2mm; }
.tg-and { align-self: center; color: #B7892E; font-size: 13pt; }
.tp { flex: 1; background: #FFFFFF; border: 1px solid #DED6C5; border-left: 2mm solid #3E6B55; border-radius: 2.5mm; padding: 2.5mm 3mm; display: flex; flex-direction: column; gap: .6mm; font-size: 12pt; line-height: 1.3; }
.tp .sm { font-size: 10pt; }
.tp-one { border-left-color: #B7892E; } .tp-hyp { border-left-color: #8A8F98; background: #FAFAF8; } .tp-no { border-left-color: #C9C3B6; background: #FAFAF8; }
.tp.me { background: #FBF3DC; border-color: #C59A3A; }
.tg-down { display: block; height: 2mm; }
.bookprev { display: flex; flex-direction: column; gap: 3mm; background: #E9E3D6; border-radius: 3mm; padding: 4mm; break-inside: avoid; }
.bp-page { background: #FBF8F0; border: 1px solid #DCD3BF; padding: 5mm; display: flex; flex-direction: column; gap: 2mm; }
.bp-img, .bp-doc { height: 22mm; background: #EFE6D2; border-radius: 2mm; display: flex; align-items: center; justify-content: center; } .bp-img .ic, .bp-doc .ic { width: 10mm; height: 10mm; color: #B7892E; }
.cov { height: 184mm; display: flex; flex-direction: column; }
.cov-top { display: flex; flex-direction: column; gap: 2mm; align-items: flex-start; } .brand { font-size: 10pt; font-weight: 700; letter-spacing: .12em; }
.cov-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3mm; }
.cov-ic { width: 30mm; height: 30mm; border-radius: 50%; background: #E6EDE7; display: flex; align-items: center; justify-content: center; margin-bottom: 4mm; } .cov-ic .ic { width: 16mm; height: 16mm; stroke-width: 1.2; }
.cov-h { font-size: 26pt; }
.cov-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 3mm 4mm; border-top: 1px solid #E4DCCB; padding-top: 5mm; font-size: 12pt; } .cov-meta .k { font-size: 10pt; letter-spacing: .08em; text-transform: uppercase; color: #8C8576; }
.spread { display: flex; flex-direction: column; gap: 6mm; }
.sp-l { display: flex; flex-direction: column; gap: 4mm; }
.sp-r { background: #E6EDE7; border-radius: 5mm; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3mm; text-align: center; padding: 7mm; }
.sp-r { display: none; } /* декоративная плашка: на A5 не помещается и рвётся между страницами */
.ic.huge { width: 30mm; height: 30mm; stroke-width: .9; }
.bars { display: flex; flex-direction: column; gap: 3.5mm; }
.bar-r { display: grid; grid-template-columns: 1fr auto; gap: 1.5mm 3mm; align-items: center; break-inside: avoid; } .bar-t { grid-column: 1 / -1; grid-row: 2; } .bar-r .mut { grid-column: 1 / -1; }
.bar-t { height: 4mm; background: #F1EBDD; border-radius: 2mm; overflow: hidden; } .bar-f { display: block; height: 100%; background: #3E6B55; border-radius: 2mm; }
.legend { display: flex; flex-wrap: wrap; gap: 2mm 6mm; font-size: 11pt; color: #5F5B52; } .legend i { display: inline-block; width: 3.5mm; height: 3.5mm; border-radius: 1mm; margin-right: 1.5mm; vertical-align: -.3mm; }
.g3 { display: flex; flex-direction: column; gap: 5mm; }
.ph { margin: 0; display: flex; flex-direction: column; gap: 2mm; break-inside: avoid; } .ph-f { height: 46mm; border-radius: 3mm; background: repeating-linear-gradient(45deg, #EFE8D8, #EFE8D8 6px, #F4EEE1 6px, #F4EEE1 12px); border: 1.5mm solid #FFFFFF; box-shadow: 0 1mm 3mm rgba(0,0,0,.08); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2mm; } .ph-f .ic { width: 12mm; height: 12mm; color: #B9B1A0; }
.ph figcaption { display: flex; flex-direction: column; gap: 1mm; }
.row-sb { display: flex; justify-content: space-between; align-items: flex-start; gap: 3mm; flex-wrap: wrap; }
.src { margin: 0; padding-left: 6mm; display: flex; flex-direction: column; gap: 2.5mm; font-size: 12pt; }
.src li { break-inside: avoid; }
.cov-note { text-align: center; font-size: 10pt; color: #8C8576; margin-top: 4mm; }
.endnote { font-size: 10pt; color: #8C8576; border-top: 1px solid #E4DCCB; padding-top: 3mm; }
@media screen {
  body { font-size: 17px; max-width: 640px; margin: 0 auto; padding: 16px 16px 48px; }
  .pg { padding: 24px 0; border-bottom: 1px solid #E4DCCB; gap: 16px; } .cov { height: auto; min-height: 80vh; }
  .print-only { display: none; }
  .pill, .st { white-space: normal; }
}
.w-0{width:0%}.w-1{width:1%}.w-2{width:2%}.w-3{width:3%}.w-4{width:4%}.w-5{width:5%}.w-6{width:6%}.w-7{width:7%}.w-8{width:8%}.w-9{width:9%}.w-10{width:10%}.w-11{width:11%}.w-12{width:12%}.w-13{width:13%}.w-14{width:14%}.w-15{width:15%}.w-16{width:16%}.w-17{width:17%}.w-18{width:18%}.w-19{width:19%}.w-20{width:20%}.w-21{width:21%}.w-22{width:22%}.w-23{width:23%}.w-24{width:24%}.w-25{width:25%}.w-26{width:26%}.w-27{width:27%}.w-28{width:28%}.w-29{width:29%}.w-30{width:30%}.w-31{width:31%}.w-32{width:32%}.w-33{width:33%}.w-34{width:34%}.w-35{width:35%}.w-36{width:36%}.w-37{width:37%}.w-38{width:38%}.w-39{width:39%}.w-40{width:40%}.w-41{width:41%}.w-42{width:42%}.w-43{width:43%}.w-44{width:44%}.w-45{width:45%}.w-46{width:46%}.w-47{width:47%}.w-48{width:48%}.w-49{width:49%}.w-50{width:50%}.w-51{width:51%}.w-52{width:52%}.w-53{width:53%}.w-54{width:54%}.w-55{width:55%}.w-56{width:56%}.w-57{width:57%}.w-58{width:58%}.w-59{width:59%}.w-60{width:60%}.w-61{width:61%}.w-62{width:62%}.w-63{width:63%}.w-64{width:64%}.w-65{width:65%}.w-66{width:66%}.w-67{width:67%}.w-68{width:68%}.w-69{width:69%}.w-70{width:70%}.w-71{width:71%}.w-72{width:72%}.w-73{width:73%}.w-74{width:74%}.w-75{width:75%}.w-76{width:76%}.w-77{width:77%}.w-78{width:78%}.w-79{width:79%}.w-80{width:80%}.w-81{width:81%}.w-82{width:82%}.w-83{width:83%}.w-84{width:84%}.w-85{width:85%}.w-86{width:86%}.w-87{width:87%}.w-88{width:88%}.w-89{width:89%}.w-90{width:90%}.w-91{width:91%}.w-92{width:92%}.w-93{width:93%}.w-94{width:94%}.w-95{width:95%}.w-96{width:96%}.w-97{width:97%}.w-98{width:98%}.w-99{width:99%}.w-100{width:100%}.lg-3E6B55{background:#3E6B55}.lg-C59A3A{background:#C59A3A}.lg-8A8F98{background:#8A8F98}