/* Информационный шаблон: спокойная типографика и навигация по материалу. */
.guide-page{max-width:1180px;padding-bottom:80px}
.guide-header{padding:36px 0 40px;border-bottom:1px solid var(--border)}
.guide-breadcrumb{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--text-2);margin-bottom:36px}
.guide-breadcrumb a:hover,.guide-end a{color:var(--brand)}
.guide-kicker{display:flex;align-items:center;gap:24px;margin-bottom:20px}
.guide-kicker>span:last-child{font-size:12px;border:1px solid var(--border);border-radius:30px;padding:5px 12px}
.guide-header h1{font-size:36px;line-height:1.3;letter-spacing:-1.1px;max-width:900px;margin:0 0 20px}
.guide-header h1 span,.guide-section h2 span{color:var(--brand)}
.guide-intro{max-width:790px;font-size:18px;line-height:1.8;color:var(--text-2);margin:0 0 24px}
.guide-byline{display:flex;align-items:center;gap:12px;font-size:13px}
.guide-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-weight:800;font-size:22px}
.guide-byline small{display:block;font-size:12px;color:var(--text-2)}
.guide-reading{margin-left:24px;color:var(--text-2);font-size:12px}
.guide-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:64px;padding-top:40px;align-items:start}
.guide-sidebar{position:sticky;top:110px}
.guide-toc{border-bottom:1px solid var(--border);padding-bottom:24px}
.guide-toc summary{font-weight:800;font-size:14px;cursor:pointer;display:flex;justify-content:space-between}
.guide-toc nav{display:grid;gap:4px;margin-top:18px}
.guide-toc a{display:flex;gap:12px;padding:9px 10px;border-radius:8px;color:var(--text-2);font-size:13px;line-height:1.5}
.guide-toc a span{color:var(--brand);font-size:11px;padding-top:2px}
.guide-toc a:hover,.guide-toc a:focus-visible{background:var(--brand-soft);color:var(--brand)}
.guide-side-note{padding:24px 10px;font-size:13px;color:var(--text-2)}
.guide-side-note .eyebrow{font-size:10px}.guide-side-note a{font-size:12px;color:var(--brand)}
.guide-article{min-width:0;font-size:16px;line-height:1.85}
.guide-summary{padding:24px 28px;background:var(--brand-soft);border-left:3px solid var(--brand);border-radius:0 14px 14px 0}
.guide-summary p:last-child{margin:10px 0 0}.guide-summary .eyebrow{margin:0;font-size:11px}
.guide-section{padding-top:48px;scroll-margin-top:110px}
.guide-section-number{color:var(--text-2);font-size:10px;font-weight:700;letter-spacing:1.6px;margin:0 0 12px}
.guide-section h2{font-size:28px;line-height:1.4;letter-spacing:-.6px;margin:0 0 20px}
.guide-section p{margin:0 0 20px}.guide-section .guide-section-number{margin-bottom:12px}
.guide-list{padding-left:22px;margin:20px 0}.guide-list li{padding-left:6px;margin:10px 0}.guide-list li::marker{color:var(--brand)}
.guide-note{padding:20px 24px;border-left:3px solid var(--mint);background:var(--surface);margin:24px 0;border-radius:0 12px 12px 0}
.guide-note strong{font-size:14px}.guide-note p{font-size:14px;color:var(--text-2);margin:8px 0 0}
.guide-formula{display:grid;gap:10px;padding:24px 28px;border:1px solid var(--border);border-radius:16px;margin:24px 0;background:var(--surface)}
.guide-formula>span{font-size:12px;color:var(--text-2)}.guide-formula strong{font-size:24px;line-height:1.5;color:var(--brand)}.guide-formula small{font-size:12px;color:var(--text-2)}
.guide-table-wrap{overflow-x:auto;margin:24px 0;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.guide-table-wrap table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.7;text-align:left}
.guide-table-wrap caption{text-align:left;padding:16px 20px;color:var(--text-2);font-size:12px}
.guide-table-wrap th,.guide-table-wrap td{padding:16px 20px;border-top:1px solid var(--border);vertical-align:top;min-width:140px}
.guide-table-wrap thead{background:var(--brand-soft)}.guide-table-wrap tbody th{font-weight:600}
.guide-checklist{display:grid;border-top:1px solid var(--border);margin:24px 0}
.guide-checklist label{display:flex;gap:14px;align-items:flex-start;padding:15px 0;border-bottom:1px solid var(--border);font-size:14px;cursor:pointer}
.guide-checklist input{accent-color:var(--brand);width:18px;height:18px;flex:none;margin-top:4px}.guide-checklist input:checked+span{color:var(--text-2);text-decoration:line-through}
.guide-resource{padding:28px;margin-top:40px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(135deg,var(--brand-soft),var(--surface))}
.guide-resource .eyebrow{font-size:10px}.guide-resource h3{margin:10px 0;font-size:20px}.guide-resource p{font-size:14px;color:var(--text-2);margin:0 0 16px}.guide-resource a{font-size:13px}
.guide-end{border-top:1px solid var(--border);margin-top:36px;padding-top:20px;color:var(--text-2);font-size:12px}.guide-end p{margin:0 0 16px}.guide-end p a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1000px){.guide-layout{gap:32px;grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:760px){.guide-layout{grid-template-columns:1fr;gap:28px;padding-top:24px}.guide-sidebar{position:static}.guide-side-note{display:none}.guide-toc{padding:18px 20px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.guide-toc nav{grid-template-columns:1fr 1fr}.guide-header h1{font-size:30px}.guide-intro{font-size:16px}}
@media(max-width:600px){.guide-page{padding-bottom:48px}.guide-header{padding:24px 0}.guide-breadcrumb{font-size:10px;gap:8px;margin-bottom:24px}.guide-kicker{gap:12px;flex-wrap:wrap;margin-bottom:16px}.guide-kicker .eyebrow{font-size:10px}.guide-kicker>span:last-child{font-size:10px}.guide-header h1{font-size:23px;letter-spacing:-.7px}.guide-intro{font-size:14px}.guide-byline{flex-wrap:wrap;font-size:12px}.guide-byline small{font-size:10px}.guide-reading{margin-left:54px;font-size:10px;width:100%}.guide-toc nav{grid-template-columns:1fr}.guide-article{font-size:14px;line-height:1.85}.guide-summary{padding:20px}.guide-section{padding-top:36px;scroll-margin-top:145px}.guide-section h2{font-size:18px;letter-spacing:-.3px;margin-bottom:16px}.guide-note{padding:16px}.guide-formula{padding:18px}.guide-formula strong{font-size:19px}.guide-formula small{font-size:10px}.guide-table-wrap th,.guide-table-wrap td{padding:12px;min-width:120px}.guide-resource{padding:20px}.guide-resource h3{font-size:18px}}

/* Первый экран статьи и управление оглавлением. */
.guide-kicker .eyebrow{margin:0;line-height:1.5}.guide-kicker{align-items:center}.guide-hero-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:28px;align-items:center}.guide-hero-copy{min-width:0}.guide-header h1{font-size:32px;letter-spacing:-1px}.guide-intro{font-size:16px}.guide-hero-art{position:relative;isolation:isolate}.guide-hero-art:before{content:'';position:absolute;inset:15%;border-radius:50%;background:var(--brand-soft);z-index:-1}.guide-hero-art img{display:block;width:100%;height:300px;object-fit:contain}.guide-avatar{overflow:hidden;padding:4px}.guide-avatar img{width:100%;height:100%;object-fit:contain}.guide-toc summary{align-items:center;gap:12px;list-style:none}.guide-toc summary::-webkit-details-marker{display:none}.guide-toc-line{height:1px;background:var(--border);flex:1}.guide-toc-arrow{width:28px;height:28px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center;color:var(--brand);font-size:16px;flex:none;transition:transform .2s}.guide-toc[open] .guide-toc-arrow{transform:rotate(180deg)}
@media(max-width:1000px){.guide-hero-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}.guide-header h1{font-size:30px}.guide-reading{margin-left:0}.guide-byline{flex-wrap:wrap}}
@media(max-width:760px){.guide-hero-grid{grid-template-columns:1fr}.guide-hero-art{max-width:280px;justify-self:center;width:100%}.guide-hero-art img{height:200px}.guide-header h1{font-size:30px}}
@media(max-width:600px){.guide-header h1{font-size:23px;letter-spacing:-.7px}.guide-intro{font-size:14px}.guide-reading{margin-left:54px}.guide-hero-art img{height:180px}.guide-kicker{gap:12px}.guide-toc-arrow{width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){.guide-toc-arrow{transition:none}}
