/* BUYHOLD Accounts — модалка входа, FAB и личный кабинет (тёмный терминал, дизайн-система журналов). */

/* ---------- FAB ---------- */
.bh-acc-fab{position:fixed;right:18px;bottom:18px;z-index:99990;display:inline-flex;align-items:center;gap:8px;text-decoration:none;
  background:#1e222d;color:#fff;border:1px solid #95ce5a;border-radius:10px;padding:11px 16px;
  font:600 14px/1 'DM Sans',-apple-system,Segoe UI,Roboto,sans-serif;cursor:pointer;box-shadow:0 6px 22px rgba(0,0,0,.4);transition:transform .12s}
.bh-acc-fab:hover{transform:translateY(-2px);color:#fff}
.bh-acc-fab .bh-ic{color:#95ce5a;display:block}

/* ---------- Модалка входа (тёмная) ---------- */
.bh-acc-modal{position:fixed;inset:0;z-index:99991;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:16px}
.bh-acc-box{background:linear-gradient(145deg,#1e222d,#1e2433);color:#d1d4dc;width:100%;max-width:420px;border:1px solid rgba(149,206,90,.2);border-radius:16px;padding:26px 24px;position:relative;
  box-shadow:0 24px 70px rgba(0,0,0,.6);font:14px/1.5 'DM Sans',-apple-system,Segoe UI,Roboto,sans-serif}
.bh-acc-box h3{margin:0 0 8px;font-size:20px;color:#fff}
.bh-acc-box>p{margin:0 0 14px;color:#9ca3af}
.bh-acc-email{width:100%;box-sizing:border-box;padding:12px 14px;background:#131722;border:1.5px solid #2a2e39;border-radius:10px;font-size:15px;color:#fff;margin-bottom:10px}
.bh-acc-email::placeholder{color:#6b7280}
.bh-acc-email:focus{outline:none;border-color:#95ce5a}
.bh-acc-consent{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:#9ca3af;margin:0 0 14px;cursor:pointer}
.bh-acc-consent input{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0;accent-color:#95ce5a}
.bh-acc-consent span{flex:1 1 auto;line-height:1.45}
.bh-acc-consent a{color:#95ce5a}
.bh-acc-send{width:100%;padding:12px;border:0;border-radius:10px;background:#95ce5a;color:#131722;font-weight:700;font-size:15px;cursor:pointer}
.bh-acc-send:hover{background:#a4d96f}
.bh-acc-msg{min-height:18px;margin-top:10px;font-size:13px;color:#10b981}
.bh-acc-alt{margin-top:14px;padding-top:12px;border-top:1px solid #2a2e39;font-size:13px;color:#9ca3af}
.bh-acc-alt a{color:#95ce5a;text-decoration:none}
.bh-acc-alt a:hover{text-decoration:underline}
.bh-acc-x{position:absolute;top:12px;right:14px;background:0;border:0;font-size:24px;line-height:1;color:#6b7280;cursor:pointer}

/* ================= Личный кабинет ================= */
.bh-cab-root{--green:#95ce5a;--money:#10b981;--red:#f43f5e;--line:#2a2e39;--card:#1e222d;--mut:#9ca3af;--dim:#6b7280;--txt:#d1d4dc;
  background:#131722;padding:0;min-height:84vh;color:var(--txt);
  font-family:'DM Sans',-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}
.bh-cab-root .bh-ic{display:block;vertical-align:middle}
.bh-cab{display:grid;grid-template-columns:252px 1fr;gap:0;align-items:stretch;min-height:84vh}
.bh-cab-main{min-width:0;padding:26px clamp(18px,2.6vw,46px)}
.bh-cab-loading{padding:60px 0;text-align:center;color:var(--dim)}

/* Общий вид карточек = дизайн-система журнала (.tj-card) */
.bh-cab-journey,.bh-cab-cta,.bh-cab-card,.bh-cab-q,.bh-cab-empty,.bh-cab-guest,.bh-cab-tile{
  background:linear-gradient(145deg,#1e222d,#1e2433);border:1px solid rgba(149,206,90,.14);border-radius:16px;position:relative}
.bh-cab-journey::before,.bh-cab-cta::before,.bh-cab-card::before,.bh-cab-q::before,.bh-cab-empty::before,.bh-cab-guest::before{
  content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;
  background:linear-gradient(135deg,rgba(149,206,90,.25),rgba(90,149,206,.12),rgba(149,206,90,.06));
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:.6}

/* Сайдбар (как .tj-sidebar журнала: тёмный градиент, glow, активный = зелёный текст + светящаяся полоска) */
.bh-cab-side{position:relative;overflow:hidden;border:0;border-right:1px solid #2a2e39;border-radius:0;padding:0;
  background:linear-gradient(180deg,#0d1117,#0f1520 55%,#0d1117);display:flex;flex-direction:column}
.bh-cab-side::before{content:'';position:absolute;top:-60px;left:-50px;width:200px;height:200px;
  background:radial-gradient(circle,rgba(149,206,90,.07),transparent 70%);pointer-events:none}
.bh-cab-who{display:flex;align-items:center;gap:12px;padding:18px 18px;border-bottom:1px solid #232834;position:relative}
.bh-cab-ava{flex:0 0 auto;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#95ce5a,#10b981);
  color:#131722;font-weight:800;font-size:19px;display:grid;place-items:center}
.bh-cab-who-t{display:flex;flex-direction:column;min-width:0}
.bh-cab-who-t b{color:#fff;font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bh-cab-who-t span{font-size:11px;color:var(--dim);text-transform:uppercase;letter-spacing:.04em}
.bh-cab-nav{flex:1;display:flex;flex-direction:column;gap:3px;padding:14px 12px;position:relative}
.bh-cab-navi{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:0;border:0;cursor:pointer;
  color:#9ca3af;font:500 14px 'DM Sans',sans-serif;padding:11px 12px;border-radius:9px;transition:background .15s,color .15s;position:relative}
.bh-cab-navi:hover{background:rgba(255,255,255,.05);color:#d1d4dc}
.bh-cab-navi.on{background:rgba(149,206,90,.08);color:#95ce5a}
.bh-cab-navi.on::before{content:'';position:absolute;left:-12px;top:50%;transform:translateY(-50%);width:3px;height:22px;
  background:#95ce5a;border-radius:0 3px 3px 0;box-shadow:0 0 12px rgba(149,206,90,.6)}
.bh-cab-navi.on .bh-cab-ni{color:#95ce5a}
.bh-cab-ni{display:inline-flex;align-items:center;justify-content:center;width:20px;flex:0 0 auto;color:var(--dim)}
.bh-cab-navi:hover .bh-cab-ni{color:#d1d4dc}
.bh-cab-badge{margin-left:auto;background:rgba(149,206,90,.16);color:#95ce5a;font-family:'Fira Code',monospace;font-size:11px;font-weight:600;border-radius:999px;padding:1px 8px;min-width:20px;text-align:center}
.bh-cab-exit{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:rgba(255,255,255,.03);
  border:0;border-top:1px solid #232834;color:var(--mut);padding:14px;font-weight:600;font-size:13.5px;cursor:pointer}
.bh-cab-exit:hover{background:rgba(244,63,94,.12);color:#ffc9cf}
.bh-cab-exit .bh-ic{color:inherit}

/* Рабочая область */
.bh-cab-main{min-width:0}
.bh-cab-head{margin:2px 0 18px}
.bh-cab-head h1{font-weight:700;font-size:26px;line-height:1.12;margin:0 0 4px;color:#fff}
.bh-cab-head p{margin:0;color:var(--mut);font-size:15px}
.bh-cab-h2{font-weight:700;font-size:17px;margin:26px 0 12px;color:#fff}
.bh-cab-h3{font-weight:700;font-size:16px;margin:0 0 6px;color:#fff}

/* Путь инвестора */
.bh-cab-journey{display:flex;align-items:center;padding:20px 24px;margin-bottom:14px;overflow-x:auto}
.bh-cab-step{display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 auto;min-width:74px}
.bh-cab-dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-family:'Fira Code',monospace;font-weight:700;font-size:13px;background:#2b323f;color:#cdd4e0;border:1px solid #3a4250;transition:.15s}
.bh-cab-step.done .bh-cab-dot{background:#95ce5a;color:#131722;border-color:#95ce5a}
.bh-cab-step.now .bh-cab-dot{box-shadow:0 0 0 4px rgba(149,206,90,.22)}
.bh-cab-step b{font-size:12.5px;color:var(--dim);font-weight:600}
.bh-cab-step.done b{color:#e6e9ef}
.bh-cab-railx{flex:1 1 auto;height:3px;background:#2a2e39;min-width:24px;border-radius:2px}
.bh-cab-railx.fill{background:#95ce5a}

/* Stat-карты (как .tj-stat-card) */
.bh-cab-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}
.bh-cab-tile{display:flex;gap:14px;align-items:flex-start;padding:18px;
  box-shadow:0 2px 8px rgba(0,0,0,.12),0 8px 24px rgba(0,0,0,.08);transition:transform .18s,border-color .18s}
.bh-cab-tile:hover{transform:scale(1.015);border-color:rgba(149,206,90,.3)}
.bh-cab-tile-ic{flex:0 0 auto;width:46px;height:46px;border-radius:11px;display:grid;place-items:center;background:rgba(149,206,90,.1);color:#95ce5a}
.bh-cab-tile-c{min-width:0}
.bh-cab-tile .lbl{display:block;font-size:11px;color:var(--mut);text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px;font-weight:600;line-height:1.25}
.bh-cab-tile .val{display:block;font-family:'Fira Code',ui-monospace,monospace;font-size:21px;font-weight:700;color:#fff;line-height:1.05}
.bh-cab-tile-ic.green{background:rgba(149,206,90,.13);color:#95ce5a}
.bh-cab-tile-ic.blue{background:rgba(90,149,206,.16);color:#6fa8de}
.bh-cab-tile-ic.amber{background:rgba(251,191,36,.15);color:#fbbf24}
.bh-cab-tile-ic.gray{background:rgba(156,163,175,.13);color:#aab2c0}

/* top-bar приложения (как в журнале) */
.bh-cab-topbar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.bh-cab-topbar h1{font-weight:700;font-size:25px;margin:0;color:#fff;line-height:1.1}
.bh-cab-topbar p{margin:4px 0 0;color:var(--mut);font-size:14px}
.bh-cab-tb-act{flex:0 0 auto}

/* hero с донат-кольцом прогресса */
.bh-cab-hero{display:flex;align-items:center;gap:26px;flex-wrap:wrap;padding:22px 26px;margin-bottom:14px;border-radius:16px;
  background:linear-gradient(120deg,rgba(149,206,90,.10),rgba(149,206,90,.015)),linear-gradient(145deg,#1e222d,#1e2433);
  border:1px solid rgba(149,206,90,.28)}
.bh-cab-hero-ring{flex:0 0 auto}
.bh-cab-ring{display:block}
.bh-cab-ring-t{fill:#fff;font-family:'Fira Code',monospace;font-size:21px;font-weight:700}
.bh-cab-hero-c{flex:0 1 auto;min-width:160px;display:flex;flex-direction:column;gap:4px}
.bh-cab-hero-c b{font-size:21px;font-weight:700;color:#fff}
.bh-cab-hero-sub{color:var(--mut);font-size:13.5px}
.bh-cab-hero-journey{display:flex;align-items:center;flex:1 1 330px;min-width:270px;overflow-x:auto}

/* CTA «следующий шаг» */
.bh-cab-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;text-decoration:none;color:#fff;
  background:linear-gradient(120deg,#1e2a22,#1e2433);border:1px solid rgba(149,206,90,.3);padding:20px 24px;transition:transform .12s,box-shadow .12s}
.bh-cab-cta:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(149,206,90,.14)}
.bh-cab-cta-t{display:flex;flex-direction:column;gap:2px}
.bh-cab-cta-k{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#95ce5a}
.bh-cab-cta-t b{font-size:18px;font-weight:700;color:#fff}
.bh-cab-cta-s{font-size:13.5px;color:var(--mut)}
.bh-cab-cta-go{flex:0 0 auto;width:42px;height:42px;border-radius:12px;background:#95ce5a;color:#131722;display:grid;place-items:center}

/* Быстрый доступ + карточки секций */
.bh-cab-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.bh-cab-q{display:flex;flex-direction:column;align-items:flex-start;gap:11px;text-decoration:none;color:#fff;
  padding:16px;font-weight:600;font-size:14px;transition:transform .12s,border-color .12s}
.bh-cab-q:hover{border-color:#95ce5a;transform:translateY(-2px)}
.bh-cab-q-i,.bh-cab-cardic{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:11px;background:rgba(149,206,90,.1);color:#95ce5a}
.bh-cab-cardic{margin-bottom:12px}
.bh-cab-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.bh-cab-card{display:block;padding:20px;text-decoration:none;color:#fff;transition:transform .12s,border-color .12s}
.bh-cab-card:hover{transform:translateY(-2px);border-color:#95ce5a}
.bh-cab-card.pad{padding:22px 24px}
.bh-cab-card-name{font-weight:700;font-size:15px;line-height:1.3;margin-bottom:8px;color:#fff}
.bh-cab-bar{height:7px;background:#131722;border-radius:99px;overflow:hidden;margin:0 0 8px}
.bh-cab-bar span{display:block;height:100%;background:#10b981;border-radius:99px}
.bh-cab-meta{font-size:13px;color:var(--mut);display:flex;align-items:center;gap:4px}
.bh-cab-meta.mono,.bh-cab-card .pct{font-family:'Fira Code',monospace}
.bh-cab-ac-go{display:inline-flex;align-items:center;gap:4px;margin-top:10px;font-size:13px;font-weight:700;color:#95ce5a}

/* Пустые состояния */
.bh-cab-empty{padding:40px 28px;text-align:center}
.bh-cab-empty-i{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:16px;background:rgba(149,206,90,.1);color:#95ce5a;margin-bottom:14px}
.bh-cab-empty h3{font-weight:700;font-size:18px;margin:0 0 6px;color:#fff}
.bh-cab-empty p{color:var(--mut);font-size:14px;max-width:460px;margin:0 auto 18px}

/* Аккаунт */
.bh-cab-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:15px;color:var(--mut)}
.bh-cab-row.last{border-bottom:0}
.bh-cab-row b{color:#fff;font-weight:600}
.bh-cab-card.pad+.bh-cab-card.pad{margin-top:14px}
.bh-cab-mut{color:var(--mut);font-size:13.5px;margin:0 0 14px}
.bh-cab-actions{display:flex;gap:10px;flex-wrap:wrap}
.bh-cab-note{color:var(--dim);font-size:13px;margin:14px 2px 0}

/* Кнопки */
.bh-cab-btn{display:inline-block;border:1px solid var(--line);background:#232834;color:var(--txt);border-radius:10px;padding:11px 18px;font-weight:600;font-size:14px;cursor:pointer;text-decoration:none}
.bh-cab-btn:hover{border-color:#95ce5a}
.bh-cab-btn.ghost{background:transparent}
.bh-cab-btn.primary{background:#95ce5a;border-color:#95ce5a;color:#131722;font-weight:700}
.bh-cab-btn.primary:hover{background:#a4d96f}
.bh-cab-btn.big{padding:13px 26px;font-size:15px}

/* Гость */
.bh-cab-guest{max-width:460px;margin:5vh auto;text-align:center;padding:44px 30px}
.bh-cab-guest-i{display:inline-grid;place-items:center;width:74px;height:74px;border-radius:20px;background:rgba(149,206,90,.1);color:#95ce5a;margin-bottom:14px}
.bh-cab-guest h1{font-weight:700;font-size:26px;margin:0 0 10px;color:#fff}
.bh-cab-guest p{color:var(--mut);font-size:15px;margin:0 0 22px}
.bh-cab-guest-note{font-size:12.5px;color:var(--dim);margin:18px 0 0}

/* Адаптив */
@media(max-width:900px){
  .bh-cab{grid-template-columns:1fr;gap:0;min-height:0}
  .bh-cab-side{position:relative;border-right:0;border-bottom:1px solid #2a2e39}
  .bh-cab-main{padding:18px 16px}
  .bh-cab-nav{flex-direction:row;flex-wrap:wrap;gap:6px}
  .bh-cab-navi{width:auto;flex:1 1 auto;justify-content:center}
  .bh-cab-navi.on::before{display:none}
  .bh-cab-badge{margin-left:6px}
  .bh-cab-tiles{grid-template-columns:repeat(2,1fr)}
  .bh-cab-quick{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .bh-cab{padding:16px}
  .bh-cab-head h1{font-size:22px}
  .bh-cab-cta{flex-direction:column;align-items:flex-start;gap:12px}
}
@media(prefers-reduced-motion:reduce){.bh-cab-card,.bh-cab-q,.bh-cab-cta,.bh-cab-tile,.bh-acc-fab{transition:none}}

/* === Аккаунт в шапке (справа у поиска, top-bar-right) === */
/* B — в фирменном стиле шапки: реплика .ht-tool темы (иконка в зелёном боксе + текст) */
.bh-acc-hdr{display:inline-flex;align-items:center;position:relative;flex:0 0 auto;margin-left:10px}
.bh-acc-hdr svg{display:block}
.bh-acc-hdr-login,.bh-acc-hdr-btn{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 10px;box-sizing:border-box;color:#131722;font:600 13px/1 'Roboto',Arial,sans-serif;text-decoration:none;background:transparent;border:1px solid transparent;border-radius:10px;cursor:pointer;transition:background .15s,border-color .15s}
.bh-acc-hdr-login:hover,.bh-acc-hdr-btn:hover{background:rgba(149,206,90,.08);border-color:rgba(149,206,90,.28);color:#131722}
.bh-acc-hdr-login:focus-visible,.bh-acc-hdr-btn:focus-visible{outline:2px solid #95ce5a;outline-offset:2px}
.bh-acc-hdr-box{width:28px;height:28px;border-radius:9px;background:#95ce5a;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;transition:background .15s}
.bh-acc-hdr-login:hover .bh-acc-hdr-box,.bh-acc-hdr-btn:hover .bh-acc-hdr-box{background:#78a93a}
.bh-acc-hdr-box svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:1.8;display:block}
.bh-acc-hdr-box--t{color:#fff;font:800 13px/1 'Roboto',Arial,sans-serif}
.bh-acc-hdr-nm{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bh-acc-hdr-caret{color:#9aa3b2;font-size:10px;margin-left:1px}
/* Изоляция от агрессивных стилей шапки темы (тени/градиенты/псевдоэлементы) */
.bh-acc-hdr-login,.bh-acc-hdr-btn{-webkit-appearance:none!important;appearance:none!important;background-image:none!important;box-shadow:none!important;filter:none!important;text-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;min-height:0!important}
.bh-acc-hdr-login::after,.bh-acc-hdr-login::before,.bh-acc-hdr-btn::after,.bh-acc-hdr-btn::before,.bh-acc-hdr-box::after,.bh-acc-hdr-box::before{content:none!important;display:none!important}
.bh-acc-hdr-box{box-shadow:none!important}
/* Выпадашка вынесена на <body> (position:fixed), вне досягаемости стилей шапки */
.bh-acc-hdr-menu{position:fixed!important;top:0;right:0;min-width:210px;background:#fff!important;border:1px solid #e7ebf0!important;border-radius:12px!important;box-shadow:0 16px 44px rgba(19,23,34,.2)!important;padding:6px!important;margin:0!important;z-index:2147483000;text-align:left}
.bh-acc-hdr-email{padding:9px 12px 8px!important;font-size:12px!important;color:#9aa3b2!important;border-bottom:1px solid #eef1f6!important;margin:0 0 4px!important;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:0!important;box-shadow:none!important}
.bh-acc-hdr-menu a,.bh-acc-hdr-menu button{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;box-sizing:border-box!important;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;-webkit-appearance:none!important;appearance:none!important;text-align:left!important;padding:10px 12px!important;margin:0!important;min-height:0!important;height:auto!important;border-radius:8px!important;font:500 14px/1.3 -apple-system,Segoe UI,Roboto,sans-serif!important;color:#131722!important;cursor:pointer!important;text-decoration:none!important;text-transform:none!important;letter-spacing:normal!important}
.bh-acc-hdr-menu a::after,.bh-acc-hdr-menu a::before,.bh-acc-hdr-menu button::after,.bh-acc-hdr-menu button::before{content:none!important;display:none!important}
.bh-acc-hdr-menu a:hover,.bh-acc-hdr-menu button:hover{background:#f2f6ee!important}
.bh-acc-hdr-menu svg{width:16px!important;height:16px!important;color:#6b7280;flex:0 0 auto;box-shadow:none!important}
.bh-acc-hdr-menu .bh-acc-hdr-logout{color:#d4334a!important}
.bh-acc-hdr-menu .bh-acc-hdr-logout svg{color:#d4334a}
/* Мобильный пункт (в .mobile-menu-container) */
/* Мобильный пункт в выезжающем меню — 1-в-1 как .mobile-reviews-link темы (тёмный drawer) */
.bh-acc-mobile{display:flex!important;align-items:center;gap:12px;padding:15px 16px;color:var(--text-light,#e7eaf0)!important;text-decoration:none!important;font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:1px;background:transparent!important;background-image:none!important;box-shadow:none!important;border:0;border-bottom:1px solid var(--border-color,rgba(255,255,255,.08));transition:background .3s ease,padding .3s ease}
.bh-acc-mobile:hover{background:rgba(255,255,255,.05)!important;padding-left:24px;color:var(--text-light,#fff)!important}
.bh-acc-mobile::after,.bh-acc-mobile::before{content:none!important;display:none!important}
.bh-acc-mobile svg{width:22px;height:22px;flex:0 0 auto;stroke:#95ce5a!important;fill:none;stroke-width:1.8}
/* Десктоп-чип/выпадашка — НЕ показывать на мобиле (там пункт в бургер-меню) */
@media(max-width:1023px){.bh-acc-hdr,.bh-acc-hdr-menu{display:none!important}}

/* ---------- Соц-вход (OAuth) ---------- */
.bh-acc-social-wrap{margin:4px 0 2px}
.bh-acc-social{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:46px;border-radius:10px;font:600 15px/1 'DM Sans','Roboto',sans-serif;text-decoration:none;margin-bottom:10px;transition:background .15s,transform .15s;box-sizing:border-box}
.bh-acc-social:active{transform:translateY(1px)}
.bh-acc-social--yandex{background:#fff;color:#1a1a1a}
.bh-acc-social--yandex:hover{background:#eef0f3}
.bh-acc-social-m{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;background:#fc3f1d;color:#fff;font-weight:800;font-size:15px;flex:0 0 auto}
.bh-acc-or{display:flex;align-items:center;text-align:center;color:#8b93a7;font-size:12.5px;margin:12px 0}
.bh-acc-or::before,.bh-acc-or::after{content:'';flex:1;height:1px;background:rgba(255,255,255,.12)}
.bh-acc-or span{padding:0 12px}
/* Гостевой экран кабинета — соц-кнопки по центру, ограничены по ширине */
.bh-cab-guest-social{max-width:320px;margin:0 auto}
.bh-cab-guest-social:empty{display:none}
.bh-cab-guest-social .bh-acc-or{max-width:320px}
/* Google-кнопка: белая, фирменный цветной «G» без цветной подложки */
.bh-acc-social--google{background:#fff;color:#1a1a1a}
.bh-acc-social--google:hover{background:#eef0f3}
.bh-acc-social--google .bh-acc-social-m{background:transparent;width:20px;height:20px}
.bh-acc-social--google .bh-acc-social-m svg{display:block;width:18px;height:18px}

/* ============================================================
   ИЗОЛЯЦИЯ инжектируемых оверлеев от агрессивного CSS тёмных тул-страниц.
   ID-селекторы + !important перебивают их button{}/a{}/input{}-правила.
   ============================================================ */

/* ---------- Контекстный тост «Сохрани прогресс» (push, справа-внизу) ---------- */
#bh-acc-save-prompt{position:fixed!important;z-index:2147482000!important;right:20px!important;left:auto!important;bottom:20px!important;top:auto!important;width:344px!important;max-width:calc(100vw - 32px)!important;min-width:0!important;height:auto!important;margin:0!important;padding:16px 18px!important;background:#fff!important;border:1px solid #e6e9ef!important;border-radius:14px!important;box-shadow:0 14px 44px rgba(19,23,34,.20)!important;box-sizing:border-box!important;font-family:'DM Sans','Roboto',Arial,sans-serif!important;transform:translateY(150%);opacity:0;transition:transform .38s cubic-bezier(.2,.8,.2,1),opacity .38s}
#bh-acc-save-prompt.show{transform:translateY(0)!important;opacity:1!important}
#bh-acc-save-prompt *{box-sizing:border-box!important}
#bh-acc-save-prompt .bh-acc-sp-x{position:absolute!important;top:7px!important;right:11px!important;width:auto!important;min-width:0!important;height:auto!important;margin:0!important;float:none!important;background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;font:400 22px/1 Arial,sans-serif!important;color:#9aa1ad!important;cursor:pointer!important;padding:2px 4px!important;text-transform:none!important}
#bh-acc-save-prompt .bh-acc-sp-x:hover{color:#5b6472!important}
#bh-acc-save-prompt .bh-acc-sp-row{display:flex!important;flex-direction:row!important;gap:12px!important;align-items:flex-start!important;padding-right:16px!important;margin:0!important}
#bh-acc-save-prompt .bh-acc-sp-ic{flex:0 0 auto!important;width:40px!important;height:40px!important;border-radius:11px!important;background:rgba(149,206,90,.15)!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important}
#bh-acc-save-prompt .bh-acc-sp-ic svg{width:21px!important;height:21px!important;stroke:#5a9e2a!important;fill:none!important}
#bh-acc-save-prompt .bh-acc-sp-tx{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;text-align:left!important}
#bh-acc-save-prompt .bh-acc-sp-tx b{display:block!important;font:700 15px/1.25 'DM Sans','Roboto',Arial,sans-serif!important;color:#131722!important;margin:0!important}
#bh-acc-save-prompt .bh-acc-sp-tx span{display:block!important;font:400 13px/1.4 'DM Sans','Roboto',Arial,sans-serif!important;color:#5b6472!important;margin:0!important}
#bh-acc-save-prompt .bh-acc-sp-go{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:42px!important;margin:13px 0 0!important;padding:0!important;float:none!important;border:0!important;border-radius:10px!important;box-shadow:none!important;background:#95ce5a!important;background-image:none!important;color:#15330a!important;font:700 14px/1 'DM Sans','Roboto',Arial,sans-serif!important;text-transform:none!important;letter-spacing:normal!important;cursor:pointer!important;transition:background .15s}
#bh-acc-save-prompt .bh-acc-sp-go:hover{background:#86c247!important}
@media(max-width:480px){#bh-acc-save-prompt{right:12px!important;left:12px!important;bottom:12px!important;width:auto!important;max-width:none!important}}

/* ---------- Модалка входа: изоляция на тёмных тул-страницах ---------- */
#bh-acc-modal .bh-acc-file{display:none!important}
#bh-acc-modal .bh-acc-box{box-sizing:border-box!important;overflow:hidden!important}
#bh-acc-modal .bh-acc-box *{box-sizing:border-box!important}
#bh-acc-modal .bh-acc-box .bh-acc-email{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 10px!important;float:none!important;text-transform:none!important}
#bh-acc-modal .bh-acc-box .bh-acc-send{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;float:none!important;border:0!important;box-shadow:none!important;background-image:none!important;text-transform:none!important;letter-spacing:normal!important}
#bh-acc-modal .bh-acc-box .bh-acc-social{display:flex!important;width:100%!important;min-width:0!important;max-width:none!important;float:none!important;box-shadow:none!important;text-transform:none!important;text-decoration:none!important}
#bh-acc-modal .bh-acc-box .bh-acc-social:hover{text-decoration:none!important}
#bh-acc-modal .bh-acc-box .bh-acc-x{width:auto!important;min-width:0!important;height:auto!important;float:none!important;background:none!important;box-shadow:none!important;text-transform:none!important}

/* ---------- РОДНАЯ кнопка в шапке инструмента (стиль берёт у инструмента; фиксим только layout) ---------- */
.bh-acc-native-save{white-space:nowrap!important;overflow:visible!important;height:auto!important;line-height:normal!important}
.bh-acc-native-save span{white-space:nowrap!important;display:inline!important}
.bh-acc-native-save svg{width:15px!important;height:15px!important;min-width:0!important;flex:0 0 auto!important;vertical-align:middle!important}

/* ---------- Плавающая кнопка «Сохранить» (fallback там, где нет слота) — ТЁМНАЯ тема ---------- */
#bh-acc-save-chip{position:fixed!important;z-index:2147481000!important;left:18px!important;bottom:18px!important;top:auto!important;right:auto!important;display:flex!important;flex-direction:row!important;align-items:stretch!important;flex-wrap:nowrap!important;justify-content:flex-start!important;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;background:#1e222d!important;border:1px solid rgba(149,206,90,.30)!important;border-radius:30px!important;box-shadow:0 8px 26px rgba(0,0,0,.40)!important;overflow:hidden!important;box-sizing:border-box!important;font-family:'DM Sans','Roboto',Arial,sans-serif!important;transform:translateY(150%);opacity:0;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .35s}
#bh-acc-save-chip.show{transform:translateY(0)!important;opacity:1!important}
#bh-acc-save-chip .bh-acc-chip-main{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;float:none!important;position:static!important;background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-shadow:none!important;padding:11px 8px 11px 16px!important;cursor:pointer!important;font:600 14px/1.2 'DM Sans','Roboto',Arial,sans-serif!important;color:#e7eaf0!important;text-transform:none!important;letter-spacing:normal!important;white-space:nowrap!important}
#bh-acc-save-chip .bh-acc-chip-main:hover{background:rgba(149,206,90,.14)!important}
#bh-acc-save-chip .bh-acc-chip-main svg{width:19px!important;height:19px!important;min-width:0!important;stroke:#95ce5a!important;fill:none!important;flex:0 0 auto!important;display:inline-block!important;vertical-align:middle!important;margin:0!important}
#bh-acc-save-chip .bh-acc-chip-main span{display:inline!important;color:#e7eaf0!important;font:inherit!important;margin:0!important}
#bh-acc-save-chip .bh-acc-chip-x{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;height:auto!important;margin:0!important;float:none!important;position:static!important;background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0 13px 0 6px!important;font:400 18px/1 Arial,sans-serif!important;color:#8a9099!important;cursor:pointer!important;text-transform:none!important}
#bh-acc-save-chip .bh-acc-chip-x:hover{color:#cfd3da!important}
@media(max-width:480px){#bh-acc-save-chip{left:12px!important;bottom:12px!important}}

/* Кнопка «Сохранить» для Живого графика (lc-*): своя контурная под зелёную тему (нет готового класса) */
.bh-acc-native-save--lc{display:inline-flex!important;align-items:center!important;gap:7px!important;height:34px!important;min-height:0!important;width:auto!important;padding:6px 14px!important;margin:0 0 0 6px!important;background:rgba(149,206,90,.12)!important;border:1px solid rgba(149,206,90,.4)!important;border-radius:10px!important;box-shadow:none!important;color:#cfe8b6!important;font:600 13px/1 'Roboto',Arial,sans-serif!important;cursor:pointer!important;white-space:nowrap!important;text-transform:none!important}
.bh-acc-native-save--lc:hover{background:rgba(149,206,90,.2)!important}
.bh-acc-native-save--lc svg{stroke:#95ce5a!important;width:15px!important;height:15px!important;flex:0 0 auto!important}
.bh-acc-native-save--lc span{color:#cfe8b6!important;font:inherit!important}
