:root{
  --v4-orange:#F26522;
  --v4-orange-dark:#C84B13;
  --v4-orange-text:#B34710;
  --v4-ink:#141414;
  --v4-soft:#1E1E1E;
  --v4-graphite:#2A2D31;
  --v4-text:#1F2937;
  --v4-muted:#6E6E73;
  --v4-bg:#FAFAF8;
  --v4-card:#FFFFFF;
  --v4-line:#E7E7E3;
  --v4-radius:22px;
  --v4-radius-sm:14px;
  --v4-shadow:0 14px 40px rgba(20,20,20,.08);
  --v4-max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.v4{
  margin:0;background:var(--v4-bg);color:var(--v4-ink);
  font-family:Onest,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
}
.v4 a{color:inherit;text-decoration:none}
.v4 .v4-skip{
  position:absolute;left:12px;top:-60px;z-index:60;background:#fff;color:var(--v4-ink);
  border:2px solid var(--v4-orange-dark);border-radius:10px;padding:10px 16px;font-weight:700;
  transition:top .15s ease
}
.v4 .v4-skip:focus{top:12px}
.v4 :focus-visible{outline:3px solid var(--v4-orange);outline-offset:2px;border-radius:6px}
.v4 .v4-header :focus-visible{outline-color:#ffb083}
.v4 img{display:block;max-width:100%}
/* Russian headline words ("предпринимателей") are long enough to set a
   min-content floor that pushes grid and flex tracks past the viewport. */
.v4 h1,.v4 h2,.v4 h3{hyphens:auto;overflow-wrap:break-word}
.v4 .v4-chat-text,.v4 .v4-bubble{overflow-wrap:break-word}
.v4 .v4-feature-grid>*,.v4 .v4-community-shell>*,.v4 .v4-profile-grid>*,
.v4 .v4-grid-4>*,.v4 .v4-grid-3>*,.v4 .v4-catalog>*,.v4 .v4-message>*{min-width:0}
.v4 .container{width:min(calc(100% - 32px),var(--v4-max));margin-inline:auto}
.v4 .v4-header{
  position:sticky;top:0;z-index:30;background:rgba(20,20,20,.96);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08)
}
.v4 .v4-header-inner{min-height:72px;display:flex;align-items:center;gap:22px}
.v4 .v4-logo{display:flex;align-items:center;min-width:210px;background:var(--v4-bg);border-radius:10px;padding:6px 9px}
.v4 .v4-logo img{width:188px;height:auto;filter:none}
.v4 .v4-nav{display:flex;align-items:center;gap:22px;margin-left:auto}
.v4 .v4-nav a,.v4 .v4-nav button{color:#fff;font:inherit;font-size:14px;background:none;border:0;padding:8px 0;cursor:pointer}
.v4 .v4-nav a:hover,.v4 .v4-nav button:hover{color:var(--v4-orange)}
.v4 .v4-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--v4-orange-dark);color:#fff!important;border-radius:12px;
  padding:13px 18px!important;font-weight:700!important;box-shadow:0 10px 24px rgba(242,101,34,.22)
}
.v4 .v4-primary:hover{background:#A93D0E}
.v4 .v4-primary>span[aria-hidden]{font-weight:400}
/* .v4 .v4-nav a / .v4-mobile-menu a outrank .v4-primary on specificity and
   were flattening the header CTA to a transparent label until hover. */
.v4 .v4-nav a.v4-primary,.v4 .v4-mobile-menu a.v4-primary{
  background:var(--v4-orange-dark);border-radius:12px
}
.v4 .v4-nav a.v4-primary:hover,.v4 .v4-mobile-menu a.v4-primary:hover{background:#A93D0E}
.v4 .v4-menu-btn{display:none;margin-left:auto;background:transparent;border:0;color:#fff;font-size:26px}
.v4 .v4-mobile-menu{display:none;background:#17191c;border-top:1px solid rgba(255,255,255,.08);padding:12px 16px 20px}
.v4 .v4-mobile-menu.is-open{display:grid;gap:4px;max-height:calc(100dvh - 62px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(20px + env(safe-area-inset-bottom))}
.v4 .v4-mobile-group{
  margin:10px 0 2px;padding:0 12px;color:#8e949c;font-size:11px;font-weight:800;
  text-transform:uppercase;letter-spacing:.1em
}
.v4 .v4-mobile-menu a{color:#fff;padding:12px;border-radius:10px}
.v4 .v4-mobile-menu a:hover{background:#23262b}

.v4 .v4-hero{padding:28px 0 18px}
.v4 .v4-hero-shell{
  min-height:520px;border-radius:28px;overflow:hidden;position:relative;background:#15181c;
  box-shadow:var(--v4-shadow)
}
.v4 .v4-hero-media{position:absolute;inset:0}
.v4 .v4-hero-media picture{display:block;width:100%;height:100%}
.v4 .v4-hero-media img{width:100%;height:100%;object-fit:cover}
.v4 .v4-hero-media:after{
  content:"";position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(8,12,16,.96) 0%,rgba(8,12,16,.78) 44%,rgba(8,12,16,.24) 72%,rgba(8,12,16,.18) 100%),
  linear-gradient(0deg,rgba(8,12,16,.42),transparent 55%)
}
.v4 .v4-hero-content{position:relative;z-index:2;max-width:840px;padding:52px;color:#fff}
.v4 .v4-eyebrow{
  display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.12em;
  font-size:12px;font-weight:800;color:#ffd4bf;margin-bottom:18px
}
.v4 .v4-eyebrow.on-light{color:var(--v4-orange-text)}
.v4 .v4-hero h1{font-size:clamp(48px,4.4vw,64px);line-height:1;letter-spacing:-.04em;margin:0 0 22px;max-width:740px}
.v4 .v4-hero h1 span{color:var(--v4-orange)}
.v4 .v4-lead{font-size:19px;line-height:1.5;color:rgba(255,255,255,.84);max-width:600px;margin:0 0 28px}
.v4 .v4-hero-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin-top:28px;max-width:520px}
.v4 .v4-hero-point{display:flex;gap:10px;align-items:center;color:#fff;font-size:14px}
.v4 .v4-dot{width:30px;height:30px;border-radius:50%;background:rgba(242,101,34,.18);display:grid;place-items:center;color:var(--v4-orange);font-weight:800}

.v4 .v4-section{padding:30px 0}
.v4 .v4-section-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 20px;align-items:end;margin-bottom:18px}
.v4 .v4-section-head>div{min-width:0;flex:1 1 220px}
.v4 .v4-section-head h2{font-size:30px;line-height:1.15;letter-spacing:-.03em;margin:0}
.v4 .v4-section-head p{margin:5px 0 0;color:var(--v4-muted)}
.v4 .v4-link{color:var(--v4-orange-text);font-weight:700;font-size:14px}
.v4 .v4-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.v4 .v4-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.v4 .v4-card{
  background:var(--v4-card);border:1px solid var(--v4-line);border-radius:var(--v4-radius-sm);
  overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.v4 .v4-card:hover{transform:translateY(-3px);box-shadow:var(--v4-shadow);border-color:#dadad5}
.v4 .v4-card-media{aspect-ratio:16/10;background:#ecece7;overflow:hidden}
.v4 .v4-card-media img{width:100%;height:100%;object-fit:cover}
.v4 .v4-card-body{padding:16px}
.v4 .v4-tag{
  display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff3ec;color:var(--v4-ink);
  font-size:11px;font-weight:800;margin-bottom:10px
}
.v4 .v4-card h3{font-size:17px;line-height:1.3;margin:0 0 8px}
.v4 .v4-card p{color:var(--v4-muted);font-size:14px;margin:0}
.v4 .v4-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.v4 .v4-chip{font-size:11px;padding:5px 8px;background:#f2f3f4;border-radius:999px;color:#4f5660}

.v4 .v4-feature-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}
.v4 .v4-bot-card{
  position:relative;overflow:hidden;min-height:360px;border-radius:24px;background:#15181c;color:#fff;
  box-shadow:var(--v4-shadow)
}
.v4 .v4-bot-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.54}
.v4 .v4-bot-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,14,17,.95),rgba(12,14,17,.42))}
.v4 .v4-bot-copy{position:relative;z-index:2;padding:36px;max-width:540px}
.v4 .v4-bot-copy h2{font-size:34px;line-height:1.08;margin:0 0 12px;letter-spacing:-.03em}
.v4 .v4-bot-copy p{color:rgba(255,255,255,.78);margin:0 0 20px}
.v4 .v4-quote{
  background:#fff;border:1px solid var(--v4-line);border-left:4px solid var(--v4-orange);
  border-radius:14px;padding:24px;font-size:20px;font-weight:600;font-style:italic
}
.v4 .v4-list{display:grid;gap:10px}
.v4 .v4-list-item{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:15px 0;border-bottom:1px solid var(--v4-line)}
.v4 .v4-list-item time{color:var(--v4-muted);font-size:12px}
.v4 .v4-list-item strong{font-size:15px;line-height:1.35}

.v4 .v4-chat-preview{
  background:var(--v4-card);border:1px solid var(--v4-line);border-radius:24px;padding:24px
}
.v4 .v4-chat-row{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--v4-line)}
.v4 .v4-avatar{width:38px;height:38px;border-radius:50%;background:#f0f0ec;display:grid;place-items:center;font-weight:800;flex:0 0 auto}
.v4 .v4-chat-name{font-size:13px;font-weight:800}
.v4 .v4-chat-business{font-size:12px;color:var(--v4-muted)}
.v4 .v4-chat-text{font-size:14px;margin-top:3px}

.v4 .v4-article-hero{padding:26px 0 12px}
.v4 .v4-article-hero-shell{
  display:grid;grid-template-columns:1.05fr .95fr;background:#111418;color:#fff;border-radius:26px;overflow:hidden
}
.v4 .v4-article-copy{padding:48px}
.v4 .v4-article-copy h1{font-size:clamp(40px,5vw,62px);line-height:1.02;letter-spacing:-.04em;margin:10px 0 18px}
.v4 .v4-article-copy p{color:rgba(255,255,255,.78);font-size:18px}
.v4 .v4-article-image{min-height:460px}
.v4 .v4-article-image img{width:100%;height:100%;object-fit:cover}
.v4 .v4-article-layout{display:grid;grid-template-columns:220px minmax(0,1fr) 250px;gap:34px;padding:34px 0 80px}
.v4 .v4-article-body{max-width:760px}
.v4 .v4-toc{position:sticky;top:92px;align-self:start;background:#fff;border:1px solid var(--v4-line);border-radius:16px;padding:18px}
.v4 .v4-toc strong{display:block;margin-bottom:10px}
.v4 .v4-toc a{display:block;color:var(--v4-muted);font-size:13px;padding:6px 0}
.v4 .v4-toc a:hover{color:var(--v4-orange-text)}
.v4 .v4-article-body h2{font-size:30px;line-height:1.2;letter-spacing:-.03em;margin:42px 0 14px}
.v4 .v4-article-body p{font-size:18px;color:#2f343a;margin:0 0 20px}
.v4 .v4-article-body ul{padding-left:22px;font-size:17px;color:#2f343a}
.v4 .v4-callout{
  margin:32px 0;padding:26px;border-radius:18px;background:#fff3ec;border:1px solid #ffd9c6
}
.v4 .v4-callout h3{margin:0 0 8px;font-size:24px}
.v4 .v4-comments{margin-top:42px;border-top:1px solid var(--v4-line);padding-top:28px}
.v4 .v4-comment{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--v4-line)}
.v4 .v4-comment-actions{font-size:12px;color:var(--v4-muted);margin-top:6px}
.v4 .v4-aside{align-self:start}
.v4 .v4-aside-card{background:#fff;border:1px solid var(--v4-line);border-radius:16px;padding:18px;position:sticky;top:92px}
.v4 .v4-aside-card h3{margin:0 0 8px;font-size:18px}
.v4 .v4-aside-card p{margin:0 0 14px;color:var(--v4-muted);font-size:13px}

.v4 .v4-footer{background:#111418;color:#fff;border-top:3px solid var(--v4-orange);padding:28px 0 88px}
.v4 .v4-footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}
.v4 .v4-footer small{color:#9da2a8}
.v4 .v4-bottom-nav{display:none}

@media(max-width:1024px){
  .v4 .v4-nav{display:none}
  .v4 .v4-menu-btn{display:block}
  .v4 .v4-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v4 .v4-feature-grid{grid-template-columns:1fr}
  .v4 .v4-toc{font-size:13px}
}
@media(max-width:1180px){
  .v4 .v4-article-layout{grid-template-columns:220px minmax(0,1fr)}
  .v4 .v4-aside{display:none}
}
@media(max-width:720px){
  .v4 .container{width:min(calc(100% - 20px),var(--v4-max))}
  .v4 .v4-header-inner{min-height:62px}
  .v4 .v4-logo{min-width:auto}
  .v4 .v4-logo img{width:142px}
  .v4 .v4-hero{padding:12px 0}
  .v4 .v4-hero-shell{min-height:520px;border-radius:20px}
  .v4 .v4-hero-media:after{background:linear-gradient(0deg,rgba(8,12,16,.96) 0%,rgba(8,12,16,.72) 55%,rgba(8,12,16,.26) 100%)}
  .v4 .v4-hero-content{padding:250px 22px 26px;max-width:none}
  .v4 .v4-hero h1{font-size:clamp(30px,10.8vw,42px)}
  .v4 .v4-lead{font-size:16px}
  .v4 .v4-hero-points{display:none}
  .v4 .v4-section{padding:24px 0}
  .v4 .v4-section-head{align-items:start}
  .v4 .v4-section-head h2{font-size:24px}
  .v4 .v4-grid-4,.v4 .v4-grid-3{grid-template-columns:1fr;gap:12px}
  .v4 .v4-card h3{font-size:19px}
  .v4 .v4-card-body{padding:16px}
  .v4 .v4-card-media{aspect-ratio:16/9}
  .v4 .v4-feature-grid{gap:12px}
  .v4 .v4-bot-card{min-height:330px}
  .v4 .v4-bot-copy{padding:24px}
  .v4 .v4-bot-copy h2{font-size:30px}
  .v4 .v4-list-item{grid-template-columns:90px 1fr}
  .v4 .v4-article-hero-shell{grid-template-columns:1fr}
  .v4 .v4-article-copy{padding:28px 22px 18px}
  .v4 .v4-article-copy h1{font-size:38px}
  .v4 .v4-article-image{min-height:260px;order:-1}
  .v4 .v4-article-layout{display:block;padding:18px 0 90px}
  .v4 .v4-toc{position:static;margin-bottom:18px}
  .v4 .v4-article-body h2{font-size:26px}
  .v4 .v4-article-body p{font-size:17px}
  .v4 .v4-footer{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
  .v4 .v4-footer-inner{display:grid;gap:6px;justify-items:start}
  .v4 .v4-bottom-nav{
    position:fixed;z-index:40;left:0;right:0;bottom:0;background:rgba(255,255,255,.96);
    backdrop-filter:blur(14px);border-top:1px solid var(--v4-line);display:grid;grid-template-columns:repeat(5,1fr);
    height:calc(66px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)
  }
  .v4 .v4-bottom-nav a{display:grid;place-items:center;font-size:11px;color:#555;gap:2px;padding:7px 2px}
  .v4 .v4-bottom-nav a.is-active,.v4 .v4-bottom-nav a:hover{color:var(--v4-orange-text)}
  .v4 .v4-bottom-nav b{font-size:18px;line-height:1}
}

.v4 .v4-page-hero{padding:38px 0 20px}
.v4 .v4-page-hero h1{font-size:clamp(42px,5vw,64px);line-height:1;letter-spacing:-.04em;margin:0 0 12px}
.v4 .v4-page-hero p{max-width:760px;color:var(--v4-muted);font-size:18px;margin:0}
.v4 .v4-filterbar{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}
.v4 .v4-filterbar a,.v4 .v4-filterbar button{border:1px solid var(--v4-line);background:#fff;border-radius:999px;padding:9px 13px;font:inherit;font-size:13px;cursor:pointer}
.v4 .v4-filterbar .is-active{background:var(--v4-ink);color:#fff;border-color:var(--v4-ink)}
.v4 .v4-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-bottom:calc(70px + env(safe-area-inset-bottom))}
.v4 .v4-catalog .v4-card h3{font-size:20px}
.v4 .v4-community-shell{display:grid;grid-template-columns:220px minmax(0,1fr) 280px;gap:18px;padding:26px 0 calc(90px + env(safe-area-inset-bottom))}
.v4 .v4-panel{background:#fff;border:1px solid var(--v4-line);border-radius:18px;padding:18px}
.v4 .v4-side-menu{display:grid;gap:4px;align-self:start;position:sticky;top:92px}
.v4 .v4-side-menu a,.v4 .v4-side-menu button{
  display:block;width:100%;text-align:left;padding:11px 12px;border:0;border-radius:10px;
  background:none;font:inherit;font-size:14px;color:#42464d;cursor:pointer
}
.v4 .v4-side-menu a.is-active,.v4 .v4-side-menu a:hover,
.v4 .v4-side-menu button.is-active,.v4 .v4-side-menu button:hover{background:#fff3ec;color:var(--v4-orange-text);font-weight:700}
.v4 .v4-chat-main{min-height:650px;display:flex;flex-direction:column}
.v4 .v4-chat-head{padding-bottom:14px;border-bottom:1px solid var(--v4-line)}
.v4 .v4-chat-head h1{font-size:30px;margin:0 0 4px}
.v4 .v4-message-list{display:grid;gap:8px;padding:12px 0;flex:1}
.v4 .v4-message{display:flex;gap:10px;padding:12px;border-radius:14px}
.v4 .v4-message:hover{background:#fafaf7}
.v4 .v4-reply{margin-top:7px;padding:8px 10px;border-left:3px solid var(--v4-orange);background:#f7f7f4;border-radius:8px;font-size:12px;color:#60656d}
.v4 .v4-composer{display:flex;gap:8px;border-top:1px solid var(--v4-line);padding-top:14px}
.v4 .v4-composer input{flex:1 1 0;min-width:0;border:1px solid var(--v4-line);border-radius:12px;padding:13px 14px;font:inherit;background:#fff}
.v4 .v4-composer button{width:46px;border:0;border-radius:12px;background:var(--v4-orange-text);color:#fff;font-size:20px;cursor:pointer}
.v4 .v4-composer button:hover{background:#A93D0E}
.v4 .v4-bot-shell{width:min(calc(100% - 28px),760px);margin:34px auto calc(100px + env(safe-area-inset-bottom))}
.v4 .v4-bot-window{background:#fff;border:1px solid var(--v4-line);border-radius:22px;overflow:hidden;box-shadow:var(--v4-shadow)}
.v4 .v4-bot-head{padding:18px 22px;background:#111418;color:#fff;display:flex;justify-content:space-between;align-items:center}
.v4 .v4-bot-head h1{font-size:19px;line-height:1.2;margin:0}
.v4 .v4-bot-thread{min-height:500px;padding:22px;display:grid;align-content:start;gap:14px;background:#fbfbf9}
.v4 .v4-bubble{max-width:78%;padding:13px 15px;border-radius:16px;background:#fff;border:1px solid var(--v4-line)}
.v4 .v4-bubble.me{margin-left:auto;background:#fff0e8;border-color:#ffd1b8}
.v4 .v4-quick{display:flex;gap:8px;flex-wrap:wrap}
.v4 .v4-quick button{border:1px solid #ffc7a9;background:#fff;border-radius:999px;padding:9px 12px;font:inherit;font-size:13px;color:var(--v4-orange-text);cursor:pointer}
.v4 .v4-quick button:hover{background:#fff3ec}
.v4 .v4-profile-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;padding:30px 0 calc(90px + env(safe-area-inset-bottom))}
.v4 .v4-profile-card{text-align:center}
.v4 .v4-profile-photo{width:92px;height:92px;border-radius:50%;margin:4px auto 12px;background:#efefeb;display:grid;place-items:center;font-size:32px;font-weight:800}
.v4 .v4-settings{display:grid;gap:10px}
.v4 .v4-setting{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid var(--v4-line)}
.v4 .v4-toggle{
  flex:0 0 auto;width:48px;height:28px;border:0;border-radius:99px;background:#c9ccd1;
  position:relative;cursor:pointer;padding:0;transition:background .18s ease
}
.v4 .v4-toggle[aria-checked="true"]{background:var(--v4-orange-text)}
.v4 .v4-toggle:after{
  content:"";position:absolute;width:22px;height:22px;background:#fff;border-radius:50%;
  left:3px;top:3px;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:transform .18s ease
}
.v4 .v4-toggle[aria-checked="true"]:after{transform:translateX(20px)}
.v4 .v4-setting-copy{min-width:0;padding-right:16px}
.v4 .v4-setting-copy strong{display:block}
.v4 .v4-setting-hint{font-size:13px;color:var(--v4-muted)}

/* Inline actions under a comment or chat message */
.v4 .v4-comment-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.v4 .v4-reply-btn{
  border:0;background:none;padding:2px 0;font:inherit;font-size:12px;font-weight:700;
  color:var(--v4-orange-text);cursor:pointer
}
.v4 .v4-reply-btn:hover{text-decoration:underline}
.v4 .v4-reply-banner{
  display:none;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;
  padding:9px 12px;border-left:3px solid var(--v4-orange);background:#f7f7f4;
  border-radius:8px;font-size:12px;color:#60656d
}
.v4 .v4-reply-banner.is-active{display:flex}
.v4 .v4-reply-cancel{border:0;background:none;font:inherit;font-size:16px;line-height:1;color:#60656d;cursor:pointer;padding:2px 4px}
@media(max-width:900px){
  .v4 .v4-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v4 .v4-community-shell{grid-template-columns:1fr}
  .v4 .v4-side-menu,.v4 .v4-community-aside{display:none}
  .v4 .v4-profile-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .v4 .v4-catalog{grid-template-columns:1fr}
  .v4 .v4-page-hero{padding:24px 0 12px}
  .v4 .v4-page-hero h1{font-size:40px}
  .v4 .v4-chat-main{min-height:calc(100vh - 150px)}
  .v4 .v4-bot-shell{margin-top:14px}
  .v4 .v4-bot-thread{min-height:calc(100vh - 260px)}
  .v4 .v4-bubble{max-width:88%}
}

.v4 .v4-dropdown{position:relative}
.v4 .v4-dropdown-btn{display:flex;align-items:center;gap:5px}
.v4 .v4-caret{transition:transform .18s ease;font-size:11px}
.v4 .v4-dropdown-btn[aria-expanded="true"] .v4-caret{transform:rotate(180deg)}
.v4 .v4-dropdown-menu{
  position:absolute;top:44px;left:-18px;width:235px;padding:8px;background:#fff;color:var(--v4-ink);
  border:1px solid var(--v4-line);border-radius:14px;box-shadow:var(--v4-shadow);display:none
}
.v4 .v4-dropdown:hover .v4-dropdown-menu,
.v4 .v4-dropdown-btn[aria-expanded="true"]+.v4-dropdown-menu{display:grid}
.v4 .v4-dropdown-menu a{color:var(--v4-ink)!important;padding:10px 11px!important;border-radius:9px;font-size:13px}
.v4 .v4-dropdown-menu a:hover{background:#fff3ec;color:var(--v4-orange-text)!important}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .v4 *,.v4 *:before,.v4 *:after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important
  }
}

/* --- Utility + component classes replacing scattered inline styles --- */
.v4 .v4-visually-hidden{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0
}
.v4 .v4-panel-note{font-size:13px;color:var(--v4-muted);margin:14px 0 0}
.v4 .v4-chat-sub{margin:0;color:var(--v4-muted)}
.v4 .v4-bot-sub{font-size:12px;color:#aeb4ba}
.v4 .v4-comment-count{font-size:12px;color:var(--v4-muted)}
.v4 .v4-comment-actions time{font-size:12px;color:var(--v4-muted)}
.v4 .v4-linkbtn{
  border:0;background:none;padding:4px 0;font:inherit;font-size:14px;font-weight:700;
  color:var(--v4-orange-text);cursor:pointer
}
.v4 .v4-linkbtn:hover{text-decoration:underline}
.v4 .v4-profile-name{font-size:26px;margin:0}
.v4 .v4-profile-business{margin:4px 0 0;color:var(--v4-muted)}
.v4 .v4-composer-wrap{margin-top:auto}
.v4 .v4-home-aside{margin-top:18px}
.v4 .v4-section-head.is-tight{margin-bottom:4px}
.v4 .v4-section-head h2.is-sm{font-size:24px}
.v4 .v4-callout p:last-child{margin-bottom:0}

/* --- Business bot: two entry paths ---------------------------------- */
.v4 .v4-bot-context{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;
  padding:14px 22px;background:#fff3ec;border-bottom:1px solid #ffd9c6
}
.v4 .v4-bot-context .v4-tag{margin-bottom:0}
.v4 .v4-bot-context strong{font-size:15px;min-width:0}
.v4 .v4-bot-id{font-size:12px;color:var(--v4-muted)}
.v4 .v4-bot-id code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.v4 .v4-bot-context .v4-linkbtn{margin-left:auto}
.v4 .v4-bot-step{display:grid;gap:14px}
.v4 .v4-bot-step[hidden]{display:none}
.v4 .v4-bot-options{list-style:none;display:grid;gap:10px;margin:0;padding:0}
.v4 .v4-bot-option{
  display:grid;gap:4px;width:100%;text-align:left;padding:15px 16px;font:inherit;cursor:pointer;
  background:#fff;border:1px solid var(--v4-line);border-radius:14px;transition:border-color .18s ease,box-shadow .18s ease
}
.v4 .v4-bot-option:hover{border-color:var(--v4-orange);box-shadow:var(--v4-shadow)}
.v4 .v4-bot-option strong{font-size:15px;line-height:1.3}
.v4 .v4-bot-option span{font-size:13px;color:var(--v4-muted)}
.v4 .v4-bot-window .v4-composer{margin:0;padding:14px 22px;background:#fff}
.v4 .v4-bot-note{margin:0;padding:0 22px 18px;background:#fff}
@media(max-width:560px){
  .v4 .v4-bot-context{padding:12px 16px}
  .v4 .v4-bot-context .v4-linkbtn{margin-left:0}
  .v4 .v4-bot-window .v4-composer{padding:12px 16px}
  .v4 .v4-bot-note{padding:0 16px 16px}
}

/* --- Ideas catalog filtering ---------------------------------------- */
.v4 .v4-filterbar button[aria-pressed="true"]{background:var(--v4-ink);color:#fff;border-color:var(--v4-ink)}
.v4 .v4-filter-count{margin:0 0 14px;font-size:13px;color:var(--v4-muted)}
.v4 .v4-card[hidden]{display:none}

.v4 .v4-aside-heading{font-size:18px;margin:0 0 8px}

/* --- Mobile refinements from device-width review --------------------- */
@media(max-width:560px){
  /* "предпринимателей" at 30px overran the panel and broke mid-word */
  .v4 .v4-chat-head h1{font-size:25px}
  .v4 .v4-bot-head h1{font-size:18px}
  /* the thread reserved a full screen of height even with one bubble,
     pushing the composer below the fold */
  .v4 .v4-bot-thread{min-height:320px}
  .v4 .v4-chat-main{min-height:0}
  .v4 .v4-message-list{min-height:260px}
}

/* --- V4 visual polish: approved direction 2, 23.09.2026 ---------------- */
.v4 .v4-header-inner{min-height:64px;gap:18px}
.v4 .v4-logo{min-width:188px;padding:5px 8px;border-radius:9px}
.v4 .v4-logo img{width:168px}
.v4 .v4-nav{gap:18px}
.v4 .v4-nav a,.v4 .v4-nav button{font-size:13px}
.v4 .v4-primary{padding:11px 16px!important;border-radius:11px}
.v4 .v4-nav a.v4-primary,.v4 .v4-mobile-menu a.v4-primary{border-radius:11px}
.v4 .v4-hero{padding:18px 0 12px}
.v4 .v4-hero-shell{min-height:500px;border-radius:24px}
.v4 .v4-hero-content{max-width:780px;padding:42px 46px}
.v4 .v4-hero h1{font-size:clamp(44px,4vw,56px);margin-bottom:18px;max-width:680px}
.v4 .v4-lead{font-size:18px;line-height:1.48;margin-bottom:22px}
.v4 .v4-hero-points{gap:10px 16px;margin-top:20px}
.v4 .v4-dot{width:26px;height:26px}
.v4 .v4-section{padding:26px 0}
.v4 .v4-section-head h2{font-size:28px}
.v4 .v4-card-media{aspect-ratio:16/9}
.v4 .v4-card-body{padding:15px}
.v4 .v4-card h3{line-height:1.28}
.v4 .v4-page-hero{padding:30px 0 14px}
.v4 .v4-page-hero h1{font-size:clamp(40px,4.4vw,54px);margin-bottom:10px}
.v4 .v4-page-hero p{font-size:17px;line-height:1.5}
.v4 .v4-filterbar{margin:18px 0}
.v4 .v4-catalog{gap:16px}

/* Article proportions */
.v4 .v4-article-hero{padding:20px 0 10px}
.v4 .v4-article-hero-shell{border-radius:22px}
.v4 .v4-article-copy{padding:40px 42px}
.v4 .v4-article-copy h1{font-size:clamp(38px,4.5vw,54px);line-height:1.03;margin:8px 0 16px}
.v4 .v4-article-copy p{font-size:17px;line-height:1.5}
.v4 .v4-article-image{min-height:410px}
.v4 .v4-article-layout{gap:28px;padding-top:28px}
.v4 .v4-article-body{max-width:780px}
/* Community, bot and profile should feel like finished product shells */
.v4 .v4-community-shell{grid-template-columns:180px minmax(0,1fr) 230px;gap:16px;padding-top:22px}
.v4 .v4-chat-main{min-height:560px}
.v4 .v4-chat-head h1{font-size:28px;line-height:1.25}
.v4 .v4-message{padding:11px 10px}
.v4 .v4-bot-shell{width:min(calc(100% - 28px),720px);margin-top:26px}
.v4 .v4-bot-window{border-radius:20px}
.v4 .v4-bot-head{padding:16px 20px}
.v4 .v4-bot-head h1{font-size:22px}
.v4 .v4-bot-thread{min-height:360px;padding:20px}
.v4 .v4-profile-grid{grid-template-columns:280px minmax(0,1fr);gap:18px;padding-top:26px}
.v4 .v4-profile-card{align-self:start;padding:22px}
.v4 .v4-profile-photo{width:76px;height:76px;font-size:28px}
.v4 .v4-profile-name{font-size:24px}
.v4 .v4-setting{padding:13px 0}
.v4 .v4-stage-badge{display:inline-flex;align-items:center;margin:0 8px 6px 0;padding:4px 8px;border-radius:999px;background:#fff3ec;color:var(--v4-orange-text);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}

/* Real icon system for the mobile bottom navigation */
.v4 .v4-bottom-nav b{width:20px;height:20px;font-size:0;background:currentColor;display:block;
  -webkit-mask:var(--v4-nav-icon) center/contain no-repeat;mask:var(--v4-nav-icon) center/contain no-repeat}
.v4 .v4-bottom-nav a[href="/"] b{--v4-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 10.5 12 3.5l8.5 7v9a1 1 0 0 1-1 1H15v-6H9v6H4.5a1 1 0 0 1-1-1z' fill='black'/%3E%3C/svg%3E")}
.v4 .v4-bottom-nav a[href="/ideas/"] b{--v4-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 20h6v-2H9zm3-18a7 7 0 0 0-4 12.75V16h8v-1.25A7 7 0 0 0 12 2m2.8 11.2-.8.55V14h-4v-.25l-.8-.55A5 5 0 1 1 14.8 13.2' fill='black'/%3E%3C/svg%3E")}
.v4 .v4-bottom-nav a[href="/bot/"] b{--v4-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 2h2v3h-2zM5 8h14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2m2 4v2h2v-2zm8 0v2h2v-2zm-7 4h8v2H8z' fill='black'/%3E%3C/svg%3E")}
.v4 .v4-bottom-nav a[href="/chat/"] b{--v4-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9l-5 4v-4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m2 5v2h12V8zm0 4v2h8v-2z' fill='black'/%3E%3C/svg%3E")}
.v4 .v4-bottom-nav a[href="/profile/"] b{--v4-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10m0 12c5.5 0 9 2.5 9 5.5V22H3v-2.5C3 16.5 6.5 14 12 14' fill='black'/%3E%3C/svg%3E")}

/* Mobile menu becomes a real overlay instead of a dropdown over the page */
.v4 .v4-menu-btn{width:38px;height:38px;position:relative;font-size:0}
.v4 .v4-menu-btn:before,.v4 .v4-menu-btn:after{content:"";position:absolute;left:8px;right:8px;top:18px;height:2px;background:#fff;border-radius:2px;transition:transform .18s ease,box-shadow .18s ease}
.v4 .v4-menu-btn:before{box-shadow:0 -7px 0 #fff,0 7px 0 #fff}
.v4 .v4-menu-btn[aria-expanded="true"]:before{box-shadow:none;transform:rotate(45deg)}
.v4 .v4-menu-btn[aria-expanded="true"]:after{transform:rotate(-45deg)}
.v4.v4-menu-open{overflow:hidden}
.v4.v4-menu-open .v4-header{z-index:60}
.v4.v4-menu-open .v4-bottom-nav{display:none}
@media(max-width:1024px){
  .v4 .v4-mobile-menu.is-open{position:fixed;left:0;right:0;top:64px;bottom:0;z-index:50;max-height:none;
    overflow-y:auto;background:#151719;padding:18px 18px calc(28px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.08)}
  .v4 .v4-mobile-menu a{padding:11px 10px;font-size:16px}
  .v4 .v4-mobile-group{margin-top:14px;padding:0 10px}
}
@media(max-width:720px){
  .v4 .v4-header-inner{min-height:60px}
  .v4 .v4-logo img{width:136px}
  .v4 .v4-hero{padding:10px 0 8px}
  .v4 .v4-hero-shell{min-height:600px;border-radius:18px}
  .v4 .v4-hero-content{padding:220px 22px 24px}
  .v4 .v4-hero h1{font-size:clamp(34px,9.4vw,38px);line-height:1.02;margin-bottom:16px}
  .v4 .v4-lead{font-size:15.5px;line-height:1.48;margin-bottom:20px}
  .v4 .v4-page-hero{padding:20px 0 8px}
  .v4 .v4-page-hero h1{font-size:36px;line-height:1.04}
  .v4 .v4-page-hero p{font-size:16px}
  .v4 .v4-filterbar{margin:16px 0}
  .v4 .v4-article-image{min-height:210px}
  .v4 .v4-article-copy{padding:24px 22px 22px}
  .v4 .v4-article-copy h1{font-size:34px;line-height:1.04}
  .v4 .v4-article-layout{padding-top:14px}
}

@media(max-width:560px){
  .v4 .v4-bot-shell{margin-top:12px;width:min(calc(100% - 20px),720px)}
  .v4 .v4-bot-thread{min-height:250px;padding:16px}
  .v4 .v4-bot-head{padding:14px 16px}
  .v4 .v4-bot-head h1{font-size:20px}
  .v4 .v4-bot-context{padding:10px 14px}
  .v4 .v4-community-shell{padding-top:16px}
  .v4 .v4-chat-main{padding:16px}
  .v4 .v4-chat-head h1{font-size:24px}
  .v4 .v4-message-list{min-height:220px}
  .v4 .v4-composer-wrap{position:sticky;bottom:calc(66px + env(safe-area-inset-bottom));z-index:8;background:#fff;padding-top:10px;box-shadow:0 -10px 18px rgba(20,20,20,.05)}
  .v4 .v4-profile-grid{padding-top:16px}
  .v4 .v4-profile-card{padding:20px}
  .v4 .v4-profile-photo{width:70px;height:70px;font-size:26px}
  .v4 .v4-setting{padding:12px 0}
  .v4 .v4-bottom-nav a{font-size:10.5px}
}

.v4 .v4-chat-main .v4-composer input:disabled,.v4 .v4-chat-main .v4-composer button:disabled{opacity:.55;cursor:not-allowed}
.v4 .v4-chat-main .v4-composer input:disabled{background:#f5f5f2;color:#6e6e73}

/* Responsive corrections after visual review */
@media(max-width:900px){
  .v4 .v4-community-shell{grid-template-columns:1fr}
  .v4 .v4-side-menu,.v4 .v4-community-aside{display:none}
  .v4 .v4-profile-grid{grid-template-columns:1fr}
}
@media(max-width:1024px){
  .v4 .v4-mobile-menu.is-open{position:absolute;top:100%;left:0;right:0;bottom:auto;width:100%;
    height:calc(100dvh - 64px);max-height:none;overflow-y:auto;background:#151719;
    padding:18px 18px calc(28px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.08)}
}
@media(max-width:720px){
  .v4 .v4-mobile-menu.is-open{height:calc(100dvh - 60px)}
}
@media(max-width:560px){
  .v4 .v4-bot-head{display:grid;grid-template-columns:1fr;gap:4px}
  .v4 .v4-bot-sub{font-size:11px}
}

@media(min-width:561px){.v4 .v4-bot-thread{min-height:300px}}

/* --- Header brand: owner-approved dark-header treatment, 23.09.2026 --- */
.v4 .v4-logo{
  display:inline-grid;grid-template-columns:40px auto;align-items:center;gap:10px;
  min-width:0;background:none;border-radius:0;padding:0
}
.v4 .v4-brand-mark{
  width:38px;height:38px;display:block;background:var(--v4-orange);
  -webkit-mask:url('/assets/bizmicroscope-mark-signal-orange.svg') center/contain no-repeat;
  mask:url('/assets/bizmicroscope-mark-signal-orange.svg') center/contain no-repeat
}
.v4 .v4-brand-copy{display:grid;gap:2px;line-height:1;white-space:nowrap}
.v4 .v4-brand-copy strong{color:#fff;font-size:17px;font-weight:800;letter-spacing:.035em}
.v4 .v4-brand-copy small{color:#aeb4ba;font-size:8px;font-weight:700;letter-spacing:.18em}
@media(max-width:720px){
  .v4 .v4-logo{grid-template-columns:34px auto;gap:8px}
  .v4 .v4-brand-mark{width:32px;height:32px}
  .v4 .v4-brand-copy strong{font-size:15px}
  .v4 .v4-brand-copy small{font-size:7px;letter-spacing:.15em}
}

/* Temporary development-status notice */
.site-dev-notice{background:#141414;color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.site-dev-notice .container{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 0;font-size:12px;line-height:1.35;text-align:center}
.site-dev-notice strong{color:#F26522;font-weight:800}
@media(max-width:720px){
  .site-dev-notice .container{display:block;min-height:0;padding:7px 0;font-size:10.5px;line-height:1.35}
  .site-dev-notice strong{display:inline}
}
