/* Stable dialog shells: only their contents scroll, never the close action. */
html.dialog-open,html.dialog-open body{overflow:hidden;overscroll-behavior:none}
body.has-open-dialog .contact-widget,body.has-open-dialog .mobile-selection-bar{visibility:hidden}
.selection-dialog,.contact-dialog{padding:0;overflow:hidden;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
.selection-dialog[open],.contact-dialog[open]{display:flex;flex-direction:column}
.selection-dialog{height:100vh;height:100dvh;max-height:100vh;max-height:100dvh}
.selection-dialog .dialog-head{margin:0;padding:22px 24px;border-bottom:1px solid var(--line);flex-shrink:0;min-width:0;background:var(--bg)}
.dialog-head .icon-button,.contact-close{min-width:44px;min-height:44px;flex-shrink:0}
.dialog-scroll{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#49554b transparent;-webkit-overflow-scrolling:touch}
#selection-content{padding:22px 24px max(26px,env(safe-area-inset-bottom));flex:1}
.contact-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 18px;background:var(--bg);border-bottom:1px solid var(--line);flex-shrink:0;font-size:14px;font-weight:600}
.contact-dialog-header .contact-close{position:static;width:44px;height:44px;z-index:auto}
.contact-panel-top .channel-collage{display:none}
.contact-panel-top h2{font-size:25px;margin-top:8px}
.contact-panel-top{padding:18px 23px}
.contact-panel-body{padding:20px 23px}
.contact-panel-body>p{font-size:15px;line-height:1.6}
.contact-panel-body .contact-panel-note{font-size:12px}
.contact-panel-body textarea{font-size:16px}
.home-hero-v6{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);padding-top:45px;gap:55px;align-items:start}
.home-hero-v6 .hero-copy h1{font-size:clamp(45px,5.5vw,73px);line-height:1.05;letter-spacing:-.05em;margin:20px 0 23px}
.home-hero-v6 .hero-copy>p{font-size:19px;line-height:1.65;max-width:575px;margin-bottom:25px}
.hero-actions{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.hero-actions .button-large{font-size:16px;gap:35px;padding:16px 23px}
.hero-catalog-link{font-size:15px}
.audience-numbers{display:grid;grid-template-columns:.72fr 1fr 1fr;gap:15px;margin:34px 0 14px;padding-top:23px;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}
.audience-numbers>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.audience-numbers dt{font-size:12px;line-height:1.4;color:var(--muted);max-width:145px}
.audience-numbers dd{order:-1;margin:0;font-size:32px;line-height:1.15;font-weight:700;letter-spacing:-.045em;white-space:nowrap}
.audience-numbers>div:first-child dd{color:var(--accent)}
.audience-source{font-size:12px;line-height:1.6;color:var(--muted)}
.audience-source details{margin-top:5px}
.audience-source summary{cursor:pointer;display:list-item;text-decoration:underline;text-underline-offset:3px;min-height:30px;padding-block:4px}
.audience-source details p{font-size:13px!important;line-height:1.65!important;margin:9px 0 0!important;max-width:580px!important}
.audience-source a{color:var(--accent)}
.hero-offer{background:#dbe9c9;color:#172011;padding:28px 30px;border-radius:24px;min-width:0;scroll-margin-top:100px}
.offer-topline{display:flex;align-items:center;gap:14px;margin-bottom:22px;font-size:12px;color:#435536}
.offer-topline .mini-avatars img{height:39px;width:39px;border-color:#dbe9c9}
.hero-offer .eyebrow{font-size:10px;color:#465c38;letter-spacing:.08em}
.hero-offer h2{font-size:34px;line-height:1.15;margin:13px 0 15px;letter-spacing:-.04em}
.hero-offer h2 span{color:#46672e}
.hero-offer>p{font-size:15px;line-height:1.65;color:#435536;margin-bottom:22px}
.hero-offer .stacked-label{font-size:13px;color:#263922;gap:8px;margin:16px 0}
.hero-offer input,.hero-offer select{font-size:16px;color:#172011;background:#fbfff5;border:1px solid #aebfa0;border-radius:10px;box-shadow:none;width:100%;min-height:49px;padding:11px 13px;color-scheme:light}
.hero-offer input::placeholder{color:#6b7761;opacity:1}
.hero-offer .button{background:#172011;color:#f5f9f0;font-size:15px;gap:18px;min-height:51px;margin-top:4px}
.hero-offer .button:hover{background:#304829}
.hero-offer :focus-visible{outline-color:#172011}
.hero-offer .brief-note{font-size:12px;line-height:1.6;color:#495b3d;margin-top:13px}
.mobile-selection-bar .mobile-contact-button{display:none}
@media(max-width:1100px){.home-hero-v6{gap:30px}.home-hero-v6 .hero-copy h1{font-size:54px}.hero-offer{padding:25px}.audience-numbers dd{font-size:28px}.hero-offer h2{font-size:31px}}
@media(max-width:900px){
 .desktop-nav{display:none}.menu-button{display:flex}.site-header{backdrop-filter:none;background:#121617}.nav-shell{height:70px}.mobile-nav{max-height:calc(100vh - 70px);max-height:calc(100svh - 70px);overflow-y:auto;overscroll-behavior:contain}
 .home-hero-v6{grid-template-columns:1fr;gap:30px}.home-hero-v6 .hero-copy h1{font-size:clamp(42px,7vw,62px)}.home-hero-v6 .hero-copy h1 br:last-child{display:none}.home-hero-v6 .hero-copy>p{max-width:620px}.hero-offer{max-width:620px;width:100%;justify-self:center}.audience-numbers{max-width:620px}.audience-numbers dd{font-size:32px}
 .contact-dialog::backdrop,.selection-dialog::backdrop{backdrop-filter:none;background:#050b09bd}
 .mobile-selection-bar:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:12px;padding:9px 14px max(9px,env(safe-area-inset-bottom))!important;backdrop-filter:none;background:#1c2819}
 .mobile-selection-bar .mobile-contact-button{display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--accent);color:var(--ink);width:48px;min-height:48px}
 .mobile-selection-bar>button:first-child{min-width:0}.mobile-selection-bar strong{font-size:14px}.mobile-selection-bar small{font-size:12px}
 body.has-selection .contact-widget{display:none}.contact-widget{right:14px;bottom:max(13px,env(safe-area-inset-bottom))}.contact-launcher{padding:8px;border-radius:15px;gap:0;box-shadow:0 3px 10px #030c0944}.contact-launcher>span:last-child{display:none}.contact-launcher-icon{width:34px;height:34px}.contact-launcher-icon svg{width:22px;height:22px}
 .contact-dialog{inset:auto 10px max(10px,env(safe-area-inset-bottom)) 10px;max-width:none;width:auto;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
 .selection-dialog{inset:0;width:100%;max-width:100%;border:0;border-radius:0;padding:0!important}
 .selection-dialog .dialog-head{padding:14px 18px;padding-top:max(14px,env(safe-area-inset-top));min-height:87px}.dialog-head h2{font-size:28px}.dialog-head .eyebrow{font-size:10px}
 #selection-content{padding:16px 18px max(28px,env(safe-area-inset-bottom))}.selection-item{padding:14px 0}.selection-item strong{font-size:15px}.selection-item img{width:46px;height:46px}.selection-item small{font-size:12px}.selection-duration{margin-top:20px}.selection-total{margin-block:24px}.selection-total strong{font-size:30px}.selection-note{font-size:13px}
 .contact-dialog-header{padding:8px 15px}.contact-panel-top,.contact-panel-body{padding:17px 19px}.contact-panel-top .eyebrow{display:none}.contact-panel-top h2{font-size:25px;margin:0}.contact-panel-top h2 br{display:none}.contact-panel-body>p{font-size:15px}.messenger-link{min-height:64px}.contact-panel-body .messenger-link small{font-size:12px}
 .toast,body.has-selection .toast{bottom:89px}.site-footer{padding-bottom:100px}.toolbar-controls select,.stacked-label select{font-size:16px}
}
@media(max-width:700px){
 html{scroll-behavior:auto;scroll-padding-top:85px}.nav-shell{height:66px}.mobile-nav{max-height:calc(100svh - 66px)}.header-actions{gap:10px}.selection-open{font-size:12px}.menu-button{width:42px;height:42px}
 .home-hero-v6{padding-top:28px;padding-bottom:28px;gap:30px}.home-hero-v6 .hero-copy .eyebrow{font-size:9px;letter-spacing:.06em}.home-hero-v6 .hero-copy h1{font-size:clamp(38px,10.2vw,54px);line-height:1.08;margin:16px 0 18px}.home-hero-v6 .hero-copy h1 br:last-child{display:none}.home-hero-v6 .hero-copy>p{font-size:17px;line-height:1.6;margin-bottom:21px}.hero-actions{gap:16px}.hero-actions .button-large{width:100%;font-size:16px;padding:15px;gap:22px}.hero-catalog-link{font-size:15px;align-self:center}
 .audience-numbers{grid-template-columns:.7fr 1fr 1.08fr;gap:12px;margin-top:24px;padding-top:19px}.audience-numbers dd{font-size:26px}.audience-numbers dt{font-size:11px;line-height:1.45}.audience-source{font-size:11px}.audience-source summary{min-height:34px}.audience-source details p{font-size:12px!important}
 .hero-offer{padding:23px;border-radius:20px;scroll-margin-top:84px}.hero-offer h2{font-size:29px}.hero-offer>p{font-size:15px;margin-bottom:17px}.offer-topline{margin-bottom:19px;font-size:11px}.hero-offer .stacked-label{font-size:14px}.hero-offer .brief-note{font-size:12px}
 .topic-strip-inner{gap:12px 18px;padding-block:17px}.topic-strip a{font-size:12px}.section-space{padding-block:36px}.section-heading{margin-bottom:23px}.section-heading h2{font-size:30px}.section-heading>p{font-size:16px}
 .card-cover{min-height:126px;padding:16px 18px}.channel-identity{min-height:70px;gap:14px}.channel-identity h3{font-size:23px;line-height:1.18}.card-image-frame{height:76px;width:76px;flex-basis:76px;border-width:3px;border-radius:17px}.channel-identity .handle{margin-top:6px;font-size:12px}.card-cover .card-category{font-size:11px}.card-body{padding:17px 18px 0}.card-description{font-size:15px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-bottom:13px}.card-fit{margin-bottom:12px}.card-fit>span,.card-fit li{font-size:11px}.card-metrics{padding-block:13px}.card-metrics dt{font-size:11px}.card-metrics dd{font-size:25px;padding-top:7px}.card-metrics small{font-size:16px}.card-price{font-size:26px}.add-button{font-size:14px;min-height:46px}.card-bottom{margin-block:15px}.card-source{padding-block:10px}.channel-grid,#home-channels{gap:17px}
 .catalog-intro{margin-bottom:19px}.catalog-intro p{font-size:16px}.catalog-intro-cta{font-size:15px;min-height:49px}.catalog-value-strip{font-size:13px}.search-bar{grid-template-columns:minmax(0,1fr) 120px}.search-field{padding-inline:12px}.budget-field{padding-inline:10px;gap:5px}.budget-field>span:first-child{font-size:0}.budget-field>span:first-child::after{content:"до";font-size:12px}.budget-field input{width:100%;min-width:0;font-size:16px}.search-field svg{display:none}.search-field input{font-size:16px}.category-tabs{margin-top:15px;margin-bottom:15px}.toolbar-controls{grid-template-columns:.85fr 1.15fr}.toolbar-controls select{font-size:14px}.data-notice{font-size:11px;margin-block:13px 17px}.catalog-main{padding-top:23px}
}
@media(max-width:370px){.home-hero-v6 .hero-copy h1{font-size:36px}.home-hero-v6 .hero-copy>p{font-size:16px}.audience-numbers{gap:8px}.audience-numbers dd{font-size:23px}.audience-numbers dt{font-size:10px}.hero-offer{padding:21px 18px}.hero-offer h2{font-size:27px}.hero-actions .button-large{font-size:15px}.search-bar{grid-template-columns:minmax(0,1fr) 111px}.toolbar-controls select{font-size:13px}.card-metrics dd{font-size:23px}.card-price{font-size:25px}.add-button{font-size:13px;padding-inline:12px}.dialog-head h2{font-size:26px}.selection-item strong{font-size:14px}.contact-panel-body .messenger-link small{font-size:11px}}
@media(hover:none){.channel-card:hover,.channel-card:hover .card-image-frame,.button:hover,.contact-launcher:hover,.messenger-link:hover,.toolkit-card:hover,.story-card:hover,.story-card:hover .story-photo{transform:none;box-shadow:none}.channel-card{transition:none}.site-header,.mobile-selection-bar{backdrop-filter:none}}
