/* Стили статей блога. Генерируется из seo/article-template-yolex.html — не править вручную */
#yolex-guide,#yolex-guide *{box-sizing:border-box}
#yolex-guide{--yg-ink:#1d1d1f;--yg-muted:#5c5c63;--yg-line:#e6e6e8;--yg-soft:#f3f3f4;--yg-red:#d6002a;--yg-red-soft:#fdecef;--yg-green:#137a3f;--yg-green-soft:#e8f6ee;--yg-amber-soft:#fff5e0;width:100%;max-width:820px;margin:0 auto;color:var(--yg-ink);font-family:Manrope,"Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;font-size:17px;line-height:1.65;counter-reset:yg-sec}
#yolex-guide a{color:var(--yg-red);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
#yolex-guide a:hover{text-decoration-thickness:2px}
#yolex-guide h2,#yolex-guide h3,#yolex-guide p,#yolex-guide figure{margin-top:0}
#yolex-guide p{margin-bottom:14px}
#yolex-guide h2{margin-bottom:18px;font-size:clamp(24px,4.6vw,31px);font-weight:800;line-height:1.18;letter-spacing:-.02em}
#yolex-guide h3{margin-bottom:8px;font-size:19px;font-weight:800;line-height:1.3}
.yg-head{margin-bottom:36px}
.yg-eyebrow{display:inline-block;margin-bottom:14px;padding:5px 12px;border-radius:999px;background:var(--yg-red-soft);color:var(--yg-red);font-size:13px;font-weight:700;letter-spacing:.02em}
.yg-lead{margin-bottom:16px;font-size:20px;font-weight:500;line-height:1.5}
.yg-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.yg-meta span{padding:5px 11px;border:1px solid var(--yg-line);border-radius:8px;color:var(--yg-muted);font-size:13.5px;font-weight:600}
.yg-hero{margin:0 0 24px}
.yg-hero img{display:block;width:100%;height:auto;border-radius:20px}
.yg-hero figcaption{margin-top:8px;color:var(--yg-muted);font-size:13.5px}
.yg-hero-ph{display:grid;min-height:260px;margin:0 0 24px;padding:24px;place-items:center;border:1.5px dashed #c8c8cc;border-radius:20px;background:var(--yg-soft);color:var(--yg-muted);font-size:13px;line-height:1.5}
.yg-hero-ph strong{display:block;margin-bottom:6px;color:var(--yg-ink);font-size:12px;letter-spacing:.05em;text-transform:uppercase}
.yg-sum{margin:0 0 28px;padding:26px;border-radius:20px;background:var(--yg-ink);color:#fff}
.yg-sum-title{margin-bottom:16px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.yg-sum ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none;counter-reset:yg-sum}
.yg-sum li{counter-increment:yg-sum;font-size:15.5px;line-height:1.45}
.yg-sum li::before{content:"0" counter(yg-sum);display:block;margin-bottom:6px;color:#ff4d6d;font-size:22px;font-weight:800}
.yg-sum b{display:block;margin-bottom:2px}
.yg-toc{margin:0 0 48px}
.yg-toc-title{margin-bottom:10px;color:var(--yg-muted);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.yg-toc ol{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;counter-reset:yg-toc}
.yg-toc li{counter-increment:yg-toc}
#yolex-guide .yg-toc a{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 14px;border:1px solid var(--yg-line);border-radius:999px;background:#fff;color:var(--yg-ink);font-size:15px;font-weight:700;line-height:1.2;text-decoration:none}
#yolex-guide .yg-toc a::before{content:counter(yg-toc,decimal-leading-zero);color:var(--yg-red);font-size:13px}
#yolex-guide .yg-toc a:hover{border-color:var(--yg-red)}
.yg-sec{margin-bottom:52px;scroll-margin-top:100px}
.yg-sec-num{counter-increment:yg-sec}
.yg-sec-num>h2::before{content:counter(yg-sec,decimal-leading-zero);display:block;margin-bottom:6px;color:var(--yg-red);font-size:15px;font-weight:800;letter-spacing:.04em}
.yg-note{position:relative;margin:0 0 18px;padding:16px 18px 16px 52px;border-radius:14px;background:var(--yg-red-soft);font-weight:700;line-height:1.5}
.yg-note::before{content:"!";position:absolute;left:16px;top:17px;display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:var(--yg-red);color:#fff;font-size:14px;font-weight:800}
.yg-box{margin:0 0 18px;padding:18px 20px;border:1px solid var(--yg-line);border-radius:16px}
.yg-box>p:first-child{margin-bottom:10px;font-weight:700}
.yg-box ul,.yg-box ol{margin:0;padding:0;list-style:none}
.yg-box li{position:relative;padding-left:28px}
.yg-box li+li{margin-top:8px}
.yg-box ul>li::before{content:"";position:absolute;left:4px;top:7px;width:12px;height:7px;border-left:2.5px solid var(--yg-red);border-bottom:2.5px solid var(--yg-red);transform:rotate(-45deg)}
.yg-box ol{counter-reset:yg-ol}
.yg-box ol>li{counter-increment:yg-ol}
.yg-box ol>li::before{content:counter(yg-ol);position:absolute;left:0;top:4px;display:grid;width:20px;height:20px;place-items:center;border-radius:6px;background:var(--yg-ink);color:#fff;font-size:12px;font-weight:800}
.yg-table-wrap{width:100%;margin:18px 0 8px;overflow-x:auto;border-radius:16px;border:1px solid var(--yg-line);-webkit-overflow-scrolling:touch}
.yg-table{width:100%;min-width:600px;border-collapse:collapse;font-size:14.5px;line-height:1.45}
.yg-table th,.yg-table td{padding:13px 14px;text-align:left;vertical-align:top}
.yg-table th{background:var(--yg-ink);color:#fff;font-size:12.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.yg-table tbody tr:nth-child(even) td{background:var(--yg-soft)}
.yg-table td:first-child{font-weight:700}
.yg-scroll-hint{margin:0 0 18px;color:var(--yg-muted);font-size:13px}
@media (min-width:700px){.yg-scroll-hint{display:none}}
.yg-alert{margin:0 0 52px;padding:20px 22px;border:2px solid var(--yg-ink);border-radius:16px}
.yg-alert p:first-child{margin-bottom:6px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.yg-alert p:last-child{margin-bottom:0}
.yg-faq{margin-bottom:0}
.yg-faq details{border-bottom:1px solid var(--yg-line)}
.yg-faq details:first-of-type{border-top:1px solid var(--yg-line)}
.yg-faq summary{position:relative;padding:18px 44px 18px 0;cursor:pointer;font-size:17px;font-weight:700;line-height:1.4;list-style:none}
.yg-faq summary::-webkit-details-marker{display:none}
.yg-faq summary::after{content:"+";position:absolute;right:4px;top:14.5px;display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:var(--yg-soft);color:var(--yg-red);font-size:20px;font-weight:700;transition:transform .2s}
.yg-faq details[open] summary::after{transform:rotate(45deg)}
.yg-faq-a{padding:0 0 18px;color:var(--yg-muted)}
.yg-ig{margin:20px 0;padding:22px;border:1px solid var(--yg-line);border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(20,20,30,.06)}
.yg-ig-title{margin-bottom:4px;font-size:18px;font-weight:800;line-height:1.3}
.yg-ig-hint{margin-bottom:16px;color:var(--yg-muted);font-size:13px}
.yg-ig-steps,.yg-ig-cards,.yg-ig-funnel,.yg-ig-tree,.yg-ig-tree ul,.yg-ig-route,.yg-ig-stats,.yg-ig-bars,.yg-ig-scale{margin:0;padding:0;list-style:none}
.yg-ig-steps{counter-reset:yg-step}
.yg-ig-steps>li{position:relative;min-height:44px;padding:5px 0 16px 50px;counter-increment:yg-step}
.yg-ig-steps>li::before{content:counter(yg-step);position:absolute;left:0;top:2px;display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:var(--yg-red);color:#fff;font-size:15px;font-weight:800}
.yg-ig-steps>li::after{content:"";position:absolute;left:16px;top:40px;bottom:2px;border-left:2px dashed #d0d0d4}
.yg-ig-steps>li:last-child{padding-bottom:0}
.yg-ig-steps>li:last-child::after{display:none}
.yg-ig summary{cursor:pointer;font-weight:700}
.yg-ig details[open]>summary{color:var(--yg-red)}
.yg-ig details p{margin-bottom:0;padding-top:6px;color:var(--yg-muted);font-size:15px}
.yg-ig-cards,.yg-ig-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.yg-ig-cards>li{padding:14px;border-top:3px solid var(--yg-red);border-radius:4px 4px 12px 12px;background:var(--yg-soft);font-size:15px;line-height:1.4}
.yg-ig-compare>div{padding:16px;border-radius:14px;background:var(--yg-soft);font-size:15px;line-height:1.4}
.yg-ig-compare ul{margin:8px 0 0;padding-left:18px}
.yg-ig-funnel>li{margin:0 auto 6px;padding:11px 14px;border-radius:10px;background:var(--yg-soft);font-size:15px;line-height:1.35;text-align:center}
.yg-ig-funnel>li:nth-child(2){width:88%}.yg-ig-funnel>li:nth-child(3){width:76%}.yg-ig-funnel>li:nth-child(4){width:64%}.yg-ig-funnel>li:nth-child(5){width:52%}
.yg-ig-tree ul{margin:6px 0 0 14px;padding-left:16px;border-left:2px dashed #d0d0d4}
.yg-ig-tree li{margin-top:6px}
.yg-ig-node{display:inline-block;padding:7px 12px;border-radius:10px;background:var(--yg-soft);font-size:15px;line-height:1.35}
.yg-ig-formula{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:20px;font-weight:800;color:var(--yg-muted)}
.yg-ig-chip{padding:10px 14px;border-radius:12px;background:var(--yg-soft);color:var(--yg-ink);font-size:15px;font-weight:600;line-height:1.3}
.yg-ig-label{display:block;font-weight:800}
.yg-ig .yg-ig-accent{background:var(--yg-red);border-color:var(--yg-red);color:#fff}
.yg-ig-route{display:flex;gap:0}
.yg-ig-route>li{position:relative;flex:1;padding:44px 8px 0 0;font-size:14px;line-height:1.35;color:var(--yg-muted)}
.yg-ig-route>li::before{content:"";position:absolute;left:0;top:10px;width:20px;height:20px;border:4px solid var(--yg-red);border-radius:50%;background:#fff;z-index:1}
.yg-ig-route>li::after{content:"";position:absolute;left:20px;right:0;top:19px;border-top:2px dashed #c4c4c9}
.yg-ig-route>li:last-child::after{display:none}
.yg-ig-route>li.yg-ig-accent::before{background:var(--yg-red)}
.yg-ig .yg-ig-route>li.yg-ig-accent{background:none;color:var(--yg-muted)}
.yg-ig-route .yg-ig-label{color:var(--yg-ink)}
.yg-ig-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.yg-ig-stats>li{padding:16px 14px;border-radius:14px;background:var(--yg-soft);font-size:14px;line-height:1.4}
.yg-ig-value{display:block;margin-bottom:4px;color:var(--yg-red);font-size:30px;font-weight:800;line-height:1.05;letter-spacing:-.02em}
.yg-ig-stats>li.yg-ig-accent .yg-ig-value{color:#fff}
.yg-ig-bars>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:baseline;margin-bottom:14px;font-size:15px}
.yg-ig-bars>li:last-child{margin-bottom:0}
.yg-ig-num{font-weight:800}
.yg-ig-track{grid-column:1/-1;height:14px;overflow:hidden;border-radius:7px;background:var(--yg-soft)}
.yg-ig-fill{display:block;height:100%;border-radius:7px;background:var(--yg-red);animation:yg-grow 1s ease-out both}
@keyframes yg-grow{from{width:0}}
.yg-w5{width:5%}.yg-w10{width:10%}.yg-w15{width:15%}.yg-w20{width:20%}.yg-w25{width:25%}.yg-w30{width:30%}.yg-w35{width:35%}.yg-w40{width:40%}.yg-w45{width:45%}.yg-w50{width:50%}.yg-w55{width:55%}.yg-w60{width:60%}.yg-w65{width:65%}.yg-w70{width:70%}.yg-w75{width:75%}.yg-w80{width:80%}.yg-w85{width:85%}.yg-w90{width:90%}.yg-w95{width:95%}.yg-w100{width:100%}
.yg-ig-scale{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.yg-ig-scale>li{padding:12px;border-radius:12px;font-size:14px;line-height:1.35}
.yg-ig-scale>li:nth-child(1){background:var(--yg-green-soft)}
.yg-ig-scale>li:nth-child(2){background:var(--yg-amber-soft)}
.yg-ig-scale>li:nth-child(3){background:var(--yg-red-soft)}
.yg-ig-tabs{position:relative;display:flex;flex-wrap:wrap;gap:6px}
.yg-ig-tabs>input{position:absolute;opacity:0;pointer-events:none}
.yg-ig-tabs>label{padding:9px 16px;border-radius:999px;background:var(--yg-soft);font-size:14px;font-weight:700;line-height:1.2;cursor:pointer}
.yg-ig-tabs>input:checked+label{background:var(--yg-ink);color:#fff}
.yg-ig-tabs>input:focus-visible+label{outline:2px solid var(--yg-red);outline-offset:2px}
.yg-ig-panel{display:none;flex-basis:100%;padding-top:14px}
.yg-ig-panel p{margin-bottom:0;padding-top:12px;color:var(--yg-muted);font-size:15px}
.yg-ig-tabs>input:nth-of-type(1):checked~.yg-ig-panel:nth-of-type(1),.yg-ig-tabs>input:nth-of-type(2):checked~.yg-ig-panel:nth-of-type(2),.yg-ig-tabs>input:nth-of-type(3):checked~.yg-ig-panel:nth-of-type(3){display:block}
@media (hover:hover){.yg-ig-cards>li:hover,.yg-ig-compare>div:hover,.yg-ig-funnel>li:hover,.yg-ig-node:hover,.yg-ig-chip:hover,.yg-ig-stats>li:hover{box-shadow:inset 0 0 0 2px var(--yg-red)}}
@media (prefers-reduced-motion:reduce){.yg-ig-fill{animation:none}}
@media (max-width:640px){#yolex-guide{font-size:16px}.yg-note::before{top:16px}.yg-box ol>li::before{top:3px}.yg-ig-steps>li::before{top:1px}.yg-lead{font-size:18px}.yg-sum{padding:20px}.yg-sum ol{grid-template-columns:1fr;gap:14px}.yg-ig{padding:16px}.yg-ig-compare{grid-template-columns:1fr}.yg-ig-route{flex-direction:column}.yg-ig-route>li{padding:0 0 18px 36px}.yg-ig-route>li::before{top:0}.yg-ig-route>li::after{left:9px;right:auto;top:20px;bottom:0;border-top:0;border-left:2px dashed #c4c4c9}.yg-sec{margin-bottom:40px}}
@media (max-width:420px){.yg-ig-cards{grid-template-columns:1fr}.yg-ig-scale{grid-template-columns:1fr}}
