/* Independent audit 02.10.2026: notices stay in document flow; stock wording unchanged. */
.hc-audit-notices{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start;margin:0 0 20px}
.hc-audit-notices:empty{display:none}
.hc-audit-notices #hc-cookie-note,.hc-audit-notices .hc-citybar,.hc-audit-notices .hc-rhint{position:static!important;inset:auto!important;float:none!important;margin:0!important;transform:none!important;flex:1 1 320px;width:auto!important;max-width:none!important;box-shadow:none!important;z-index:auto!important}
.hc-audit-notices #hc-cookie-note{padding:12px 16px;font-size:12px;line-height:1.5;display:flex;align-items:center;gap:12px}
.hc-audit-notices #hc-cookie-note p{margin:0;flex:1}
.hc-audit-notices #hc-cookie-note button{padding:10px 16px;flex-shrink:0}
.hc-audit-notices .hc-citybar{padding:12px 16px!important}
.hc-audit-notices .hc-rhint{padding:12px 16px!important}
body:not(.theme-dark) .hc-stock-badge--in{color:#167536!important}
body:not(.theme-dark) a[href$="#hc-napblock"]{color:#b8322a!important}
body:not(.theme-dark) #hc-contacts .crumb,body:not(.theme-dark) #hc-contacts .intro-copy{color:#595750!important}
body:not(.theme-dark) .hcc-total span,body:not(.theme-dark) .hcc-hint{color:#60636b!important}
@media(max-width:767px){.hc-audit-notices{gap:8px;margin-bottom:16px}.hc-audit-notices #hc-cookie-note,.hc-audit-notices .hc-citybar,.hc-audit-notices .hc-rhint{flex-basis:100%;border-radius:6px}.hc-audit-notices #hc-cookie-note{padding:10px 12px}.hc-audit-notices .hc-citybar{padding:10px 12px!important}}

/* These contact/calculator panels retain light surfaces even with a dark OS preference. */
#hc-contacts .crumb,#hc-contacts .intro-copy,#hc-contacts .tiny-num,#hc-contacts .city-tabs button:not(.active),#hc-contacts #copy-address{color:#595750!important}
#hc-contacts .tab-number,#hc-contacts .place-tabs small{opacity:1!important;color:#595750!important}
.hcc .hcc-hint,.hcc .hcc-est,.hcc .hcc-total span{color:#60636b!important}
body:not(.theme-dark) .hc-pt-note,body:not(.theme-dark) .hc-srev-rate,body:not(.theme-dark) .hc-srev-date,body:not(.theme-dark) #bx-soa-order-form label,body:not(.theme-dark) .hc-soa-items .q{color:#60636b!important}
body:not(.theme-dark) .callback-block.colored{color:#b8322a!important}

#hc-contacts .place-tabs .active .tab-number,#hc-contacts .place-tabs .active small{color:#fff!important}
#hc-contacts #guide-copy,#hc-contacts .contact-row small,#hc-contacts a[href^="tel:"] small,#hc-contacts a[href^="mailto:"] small{color:#595750!important}
body:not(.theme-dark) .hc-pt-note,body:not(.theme-dark) .hc-srev-rate,body:not(.theme-dark) .hc-srev-date,body:not(.theme-dark) .hc-soa-items .q{opacity:1!important}

/* Reserve space while the visualizer mounts; keep the calculator rebuild out of the first paint. */
#hck-root{min-height:620px}
html.hc-audit-termo-pending #content .hcc:first-of-type{visibility:hidden;min-height:620px;max-width:1160px;margin-left:auto;margin-right:auto}
html.hc-audit-termo-pending #content .hcc:first-of-type::before{content:"Загружаем калькулятор…";visibility:visible;display:block;padding:24px;color:#60636b}
