/* Sitemap audit: preserve the shared shell; improve authored reading areas. */
body[data-theme="yandex"] #main-content.deep-audit-page { --deep-ink:#152238; --deep-muted:#50627b; --deep-line:#dce4ed; }
.deep-breadcrumbs { display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 16px;font-size:13px;line-height:1.5; }
body[data-theme="yandex"] #main-content .deep-breadcrumbs a { color:inherit;text-decoration:none;border-bottom:1px solid currentColor; }
body[data-theme="yandex"] #main-content .deep-reading-meta {margin:0 0 16px;color:#ffd400;font-size:13px;font-weight:700;letter-spacing:.025em;}
body[data-theme="yandex"] #main-content.deep-article .editorial-header p.deep-reading-meta {margin:0 0 16px;color:#ffd400;font-size:13px;font-weight:700;letter-spacing:.025em;}
body[data-theme="yandex"] #main-content.deep-article .editorial-header {padding-top:38px;padding-bottom:38px;}
body[data-theme="yandex"] #main-content.deep-article .editorial-title {font-size:clamp(30px,3.5vw,48px);line-height:1.15;max-width:25ch;}
body[data-theme="yandex"] #main-content.deep-article .editorial-header p:not(.deep-reading-meta) {font-size:17px;line-height:1.72;}
body[data-theme="yandex"] #main-content.deep-article .editorial-longform .editorial-header::after {display:none;}
body[data-theme="yandex"] #main-content.deep-article .editorial-root p {text-wrap:pretty;}
body[data-theme="yandex"] #main-content.deep-audit-page .deep-toc {padding:0;}
body[data-theme="yandex"] #main-content.deep-audit-page>.deep-toc>.deep-contents {width:min(1180px,calc(100% - 64px));margin-inline:auto;padding-inline:0;}
.deep-contents {width:100%;padding:18px 24px;}
.deep-contents>summary {display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;list-style:none;font-size:17px;font-weight:750;color:#152238;min-height:32px;}
.deep-contents>summary::-webkit-details-marker {display:none;}
.deep-contents>summary::after {content:'+';display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:10px;background:#fff3b0;color:#816800;}
.deep-contents[open]>summary::after {content:'−';}
.deep-contents>.container {margin:18px 0 0!important;width:100%!important;max-width:none!important;}
body[data-theme="yandex"] #main-content .deep-contents .page-toc-links {gap:10px;}
body[data-theme="yandex"] #main-content .deep-table-scroll {max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;}
.deep-table-scroll:focus-visible,.deep-contents>summary:focus-visible {outline:3px solid #b69a00;outline-offset:4px;}
body[data-theme="yandex"] #main-content .deep-related {padding:48px 0;background:#f3f6fa;border-top:1px solid #dce4ed;}
.deep-related h2 {margin:0 0 24px;font-size:clamp(26px,3vw,36px);line-height:1.2;color:#152238;}
.deep-related-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.deep-related-card {display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:24px;border:1px solid #dce4ed;border-radius:20px;background:white;text-decoration:none!important;transition:border-color .15s,box-shadow .15s;color:#152238!important;}
.deep-related-card:hover {border-color:#bca135;box-shadow:0 8px 24px #1522380a;}
.deep-related-type {margin-bottom:12px;color:#7b6500;font-size:12px;letter-spacing:.05em;text-transform:uppercase;font-weight:700;}
.deep-related-card strong {font-size:18px;line-height:1.45;}
.deep-related-arrow {display:grid;place-items:center;margin-top:20px;width:32px;height:32px;border-radius:50%;background:#ffd400;color:#152238;}
body[data-theme="yandex"] #main-content.deep-faq .deep-faq-tools {padding-top:28px;padding-bottom:24px;}
body[data-theme="yandex"] #main-content.deep-faq>.hero {padding-block:56px;min-height:0;}
body[data-theme="yandex"] #main-content.deep-faq>.hero .grid {margin-top:24px;}
.deep-faq-tools label {display:block;max-width:740px;font-weight:700;}
.deep-faq-tools input {display:block;width:100%;margin-top:10px;padding:16px 20px;border:1px solid #acbad0;border-radius:14px;background:white;color:#152238;font:inherit;font-weight:400;}
.deep-faq-status {margin:12px 0 0;color:#50627b;font-size:14px;}
body[data-theme="yandex"] #main-content.deep-faq .section-dark .deep-faq-status {color:#c7d0de;}
body[data-theme="yandex"] #main-content.deep-faq .section-dark .deep-faq-tools {margin-bottom:24px;}
body[data-theme="yandex"] #main-content.deep-faq .section-dark .question-item {color:#152238;background:#fff;border-color:#d8e1ec;}
body[data-theme="yandex"] #main-content.deep-faq .section-dark .question-answer>.copy {color:#465b75;}
body[data-theme="yandex"] #main-content.deep-faq .deep-faq-group {padding-block:48px;}
body[data-theme="yandex"] #main-content.deep-faq .deep-faq-group>.container>.grid {grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:40px;align-items:start;}
body[data-theme="yandex"] #main-content.deep-faq .deep-faq-group h2.section-heading {font-size:clamp(26px,3vw,36px);max-width:20ch;}
body[data-theme="yandex"] #main-content.deep-faq .question-list {gap:12px;}
body[data-theme="yandex"] #main-content.deep-faq .question-item {margin:0 0 12px;border:1px solid #d8e1ec;border-radius:16px;background:#fff;overflow:hidden;}
body[data-theme="yandex"] #main-content.deep-faq .question-toggle {list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;cursor:pointer;}
.deep-faq .question-toggle::-webkit-details-marker {display:none;}
body[data-theme="yandex"] #main-content.deep-faq .question-toggle:focus-visible {outline:3px solid #b69a00;outline-offset:-4px;border-radius:14px;}
body[data-theme="yandex"] #main-content.deep-faq .question-title {margin:0!important;padding:0!important;font-size:18px!important;line-height:1.5!important;color:#152238!important;font-weight:700!important;}
body[data-theme="yandex"] #main-content.deep-faq .question-toggle::after {content:'+';display:grid;place-items:center;flex:none;width:32px;height:32px;border:0;transform:none;margin:0;border-radius:10px;background:#fff4b5;color:#816800;font-size:22px;}
body[data-theme="yandex"] #main-content.deep-faq .question-item[open]>.question-toggle::after {content:'−';transform:none;margin:0;border:0;}
body[data-theme="yandex"] #main-content.deep-faq .question-answer {padding:0 22px 22px;font-size:17px;line-height:1.75;color:#465b75;}
body[data-theme="yandex"] #main-content.deep-faq .question-answer .copy {font-size:17px;line-height:1.75;color:#465b75;margin:0;}
.deep-faq [hidden] {display:none!important;}
.deep-answer-link {display:inline-block;margin-top:14px;}
body[data-theme="yandex"] #main-content.deep-profile>.hero .grid {width:100%;max-width:none;grid-template-columns:minmax(0,1fr) 320px;align-items:center;gap:56px;}
body[data-theme="yandex"] #main-content.deep-profile>.hero .media {max-width:320px;margin-inline:auto;}
body[data-theme="yandex"] #main-content.deep-profile>.hero .media img {max-height:420px;width:100%;object-fit:cover;object-position:50% 22%;}
body[data-theme="yandex"] #main-content .deep-timeline-heading {margin:52px 0 28px;color:white;font-size:32px;}
.deep-timeline {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;list-style:none;padding:0;margin:0;counter-reset:timeline;}
.deep-timeline>li {padding:24px;border:1px solid #ffffff28;border-radius:18px;background:#ffffff06;color:#c6d2e3;font-size:16px;line-height:1.75;}
.deep-timeline-date {display:block;margin-bottom:12px;color:#ffd400;font-size:19px;}
.deep-timeline a {color:#ffd400!important;}
body[data-theme="yandex"] #main-content.deep-process .gp-card-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
body[data-theme="yandex"] #main-content.deep-process .gp-feature-card .flow>.copy:first-child {font-weight:750;font-size:20px;color:#152238;}
body[data-theme="yandex"] #main-content.deep-knowledge>.hero .copy:not(.lead) {max-width:70ch;}
body[data-theme="yandex"] #main-content.deep-blog .blog-card-body h2 {text-wrap:pretty;}
body[data-theme="yandex"] #main-content .editorial-root .case-108__cta .editorial-section-heading {color:#fff;}
@media(max-width:980px){
 body[data-theme="yandex"] #main-content.deep-profile>.hero .grid {grid-template-columns:minmax(0,1fr) 260px;gap:28px;}
 .deep-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 body[data-theme="yandex"] #main-content.deep-faq .deep-faq-group>.container>.grid{grid-template-columns:1fr;gap:24px;}
 body[data-theme="yandex"] #main-content.deep-faq .deep-faq-group h2.section-heading{max-width:none;}
 body[data-theme="yandex"] #main-content.deep-process .gp-card-grid{grid-template-columns:1fr;}
}
@media(max-width:640px){
 body[data-theme="yandex"] #main-content.deep-audit-page>.deep-toc>.deep-contents {width:calc(100% - 40px);}
 body[data-theme="yandex"] #main-content.deep-profile>.hero .grid {grid-template-columns:1fr;}
 .deep-contents{padding:16px;}.deep-contents>summary{font-size:16px;}
 .deep-related-grid,.deep-timeline{grid-template-columns:1fr;}.deep-related-card{padding:22px;}
 body[data-theme="yandex"] #main-content .deep-related{padding-block:32px;}
 body[data-theme="yandex"] #main-content.deep-faq .question-title{font-size:16px!important;}
 body[data-theme="yandex"] #main-content.deep-faq .question-toggle{padding:16px;gap:12px;}
 body[data-theme="yandex"] #main-content.deep-faq .question-answer{padding:0 16px 18px;}
 body[data-theme="yandex"] #main-content.deep-faq .question-answer .copy{font-size:16px;}
 body[data-theme="yandex"] #main-content.deep-article .editorial-header{padding:28px 22px;}
 body[data-theme="yandex"] #main-content.deep-article .editorial-title{font-size:30px;}
 body[data-theme="yandex"] #main-content.deep-profile>.hero .media{max-width:260px;}
 .deep-timeline>li{padding:20px;}
}
@media(prefers-reduced-motion:reduce){.deep-related-card{transition:none;}}

/* The Avito article is a normalized longform without the florist-* wrapper.
   Compose its existing separate cover and header as one editorial opening;
   source sections, image, words, and source order remain untouched. */
body[data-theme="yandex"] #main-content.deep-avito-article>.deep-avito-opening {padding-top:32px;}
body[data-theme="yandex"] #main-content.deep-avito-article>.deep-avito-opening>.flow {width:min(1180px,calc(100% - 64px));max-width:1180px;align-items:stretch;gap:28px;}
body[data-theme="yandex"] #main-content.deep-avito-article .deep-avito-header {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);column-gap:32px;min-width:0;margin:0;padding:38px 44px;}
body[data-theme="yandex"] #main-content.deep-avito-article .deep-avito-header>* {grid-column:1;min-width:0;}
body[data-theme="yandex"] #main-content.deep-avito-article .deep-avito-header .editorial-title {max-width:none;}
body[data-theme="yandex"] #main-content.deep-avito-article .deep-avito-header .editorial-lead {margin:24px 0 0;}
body[data-theme="yandex"] #main-content.deep-avito-article>.deep-avito-cover {top:82px;min-height:0;}
body[data-theme="yandex"] #main-content.deep-avito-article>.deep-avito-opening>.flow>:is(nav,section) {width:100%;max-width:880px;margin-inline:auto;}
@media(max-width:1100px){
 body[data-theme="yandex"] #main-content.deep-avito-article>.deep-avito-opening {padding-top:0;}
 body[data-theme="yandex"] #main-content.deep-avito-article>.deep-avito-opening>.flow {width:100%;max-width:none;}
 body[data-theme="yandex"] #main-content.deep-avito-article .deep-avito-header {grid-template-columns:minmax(0,1fr);padding:30px 28px;border-radius:0 0 24px 24px;}
 body[data-theme="yandex"] #main-content.deep-avito-article>.deep-avito-opening>.flow>:is(nav,section) {width:calc(100% - 44px);}
}
@media(max-width:640px){
 body[data-theme="yandex"] #main-content.deep-avito-article .deep-avito-header {padding:28px 22px;}
 body[data-theme="yandex"] #main-content.deep-avito-article>.deep-avito-opening>.flow>:is(nav,section) {width:calc(100% - 40px);}
}
