
/* 21.7.23 — B’АНК action buttons are canonical for all product cards */
.productActions .btn{
  box-sizing:border-box!important;
  height:58px!important;min-height:58px!important;max-height:58px!important;
  padding:0 18px!important;margin:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:16px!important;font-weight:900!important;line-height:1!important;
  text-transform:uppercase!important;
}
@media(min-width:901px){
  .productActions .btn{width:150px!important;min-width:150px!important;max-width:150px!important;flex:0 0 150px!important;}
}
@media(max-width:900px){
  .productActions .btn{width:100%!important;min-width:0!important;}
}


/* BCD production diagnostic — isolated from existing school components */
.bcdDiagSection{padding:28px 0 0}
.bcdDiagPanel{position:relative;overflow:hidden;min-height:390px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.5fr);border:1px solid var(--line);border-radius:20px;background:radial-gradient(circle at 84% 46%,rgba(239,39,40,.12),transparent 33%),linear-gradient(125deg,#0c1b23,#071116 75%);box-shadow:0 18px 48px #0004}
.bcdDiagCopy{position:relative;z-index:2;padding:54px clamp(26px,5vw,72px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.bcdDiagKicker{font-size:12px;font-weight:900;letter-spacing:.14em;color:var(--red);margin-bottom:20px}
.bcdDiagCopy h2{font-family:"Arial Black","Segoe UI",Arial,sans-serif;font-size:clamp(36px,4vw,64px);letter-spacing:-.055em;line-height:1.03;margin:0 0 20px;white-space:nowrap}
.bcdDiagCopy h2 span{color:var(--red)}
.bcdDiagCopy p{font-size:clamp(16px,1.35vw,19px);line-height:1.5;color:#bdc8ce;max-width:640px;margin:0 0 25px}
.bcdDiagLaunch{border:0;border-radius:9px;padding:18px 28px;background:var(--red);color:#fff;font:900 14px Inter,"Segoe UI",Arial,sans-serif;letter-spacing:.03em;cursor:pointer;min-height:54px}
.bcdDiagLaunch:hover{background:#df171b}
.bcdDiagHint{margin-top:16px;color:#8999a1;font-size:12px}
.bcdDiagVisual{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;overflow:hidden}
.bcdDiagNumber{font:900 clamp(120px,13vw,220px)/.85 "Arial Black","Segoe UI",Arial,sans-serif;letter-spacing:-.1em;color:rgba(239,39,40,.23)}
.bcdDiagVisualLabel{font-weight:900;font-size:14px;line-height:1.35;letter-spacing:.13em;text-align:center;color:#b5c2c8}
.bcdDiagLines{display:flex;gap:7px;margin-top:10px}.bcdDiagLines i{width:36px;height:4px;background:#ef2728;border-radius:5px}.bcdDiagLines i:not(:first-child){background:#354750}
.bcdDiagOverlay{position:fixed;inset:0;z-index:25000;display:none;align-items:center;justify-content:center}
.bcdDiagOverlay.open{display:flex}
.bcdDiagBackdrop{position:absolute;inset:0;background:rgba(1,8,12,.60);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
#bcdDiagFrame{position:relative;display:block;width:100%;height:100%;border:0;background:transparent;z-index:1}
body.bcdDiagLocked{overflow:hidden}
@media(max-width:1100px){.bcdDiagPanel{grid-template-columns:minmax(0,1fr) 220px}.bcdDiagCopy h2{font-size:clamp(34px,4.4vw,54px)}}
@media(max-width:900px){.bcdDiagSection{padding:28px 0 0}.bcdDiagPanel{grid-template-columns:1fr;min-height:0}.bcdDiagCopy{padding:44px 28px 38px}.bcdDiagCopy h2{white-space:normal;font-size:clamp(34px,6.3vw,54px)}.bcdDiagCopy h2 span{display:block}.bcdDiagVisual{display:none}}
@media(max-width:560px){.bcdDiagCopy{padding:36px 22px}.bcdDiagKicker{font-size:10px;letter-spacing:.1em}.bcdDiagCopy h2{font-size:clamp(34px,9vw,48px)}.bcdDiagCopy p{font-size:16px}.bcdDiagLaunch{width:100%}}


/* Only the new section and its immediate spacing; other school components unchanged */
#students.studentBox{margin-top:28px!important;margin-bottom:28px!important}
#products.cards{padding-top:0!important;margin-top:0!important}
#financial-diagnostic.bcdDiagSection{padding:0!important;margin:28px auto 0!important}
#financial-diagnostic .bcdDiagPanel{min-height:390px;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.75fr);border:1px solid #30414a;border-radius:20px;background:linear-gradient(90deg,#09171e 0%,#0b171ed9 48%,#0b171e20 100%),url("https://school.burchikov.ru/assets/diagnostic-direction-v8.webp") right center/cover no-repeat,#071116;box-shadow:0 16px 44px #0004}
#financial-diagnostic .bcdDiagCopy{padding:48px clamp(24px,4.4vw,68px);max-width:850px}
#financial-diagnostic .bcdDiagKicker{font-size:12px;letter-spacing:.12em;margin-bottom:18px;color:#ef2728}
#financial-diagnostic .bcdDiagCopy h2{font-size:clamp(36px,3.8vw,62px);white-space:normal;line-height:1.04;letter-spacing:-.055em;margin:0 0 22px}
#financial-diagnostic .bcdDiagCopy h2 span{color:#ef2728}
#financial-diagnostic .bcdDiagCopy p{font-size:clamp(16px,1.2vw,19px);line-height:1.55;max-width:680px;margin:0 0 26px;color:#d1d9dd}
#financial-diagnostic .bcdDiagLaunch{background:#ef2728;border-radius:10px;min-height:54px;padding:16px 26px}
#financial-diagnostic .bcdDiagVisual{display:block;min-height:1px}
#financial-diagnostic .bcdDiagHint{margin-top:14px}
/* iframe and body both remain transparent, revealing the blurred school below */
#bcdDiagFrame{background:transparent!important;color-scheme:dark}
@media(max-width:900px){
 #financial-diagnostic .bcdDiagPanel{grid-template-columns:1fr;min-height:350px;background:linear-gradient(90deg,rgba(7,16,22,.96),rgba(7,16,22,.75)),url("https://school.burchikov.ru/assets/diagnostic-direction-v8.webp") center/cover no-repeat,#071116}
 #financial-diagnostic .bcdDiagCopy{padding:40px 28px}
 #financial-diagnostic .bcdDiagCopy h2{font-size:clamp(35px,6vw,54px)}
 #financial-diagnostic .bcdDiagCopy h2 span{display:block}
 #financial-diagnostic .bcdDiagVisual{display:none}
}
@media(max-width:560px){
 #financial-diagnostic .bcdDiagCopy{padding:34px 22px}
 #financial-diagnostic .bcdDiagCopy h2{font-size:clamp(34px,9vw,48px)}
 #financial-diagnostic .bcdDiagCopy p{font-size:15px}
 #financial-diagnostic .bcdDiagLaunch{width:100%}
}


/* Clear photographic right side with continuous dark gradient at left; no visible hard edge */
#financial-diagnostic .bcdDiagPanel{background:linear-gradient(90deg,#09171e 0%,#09171efa 30%,#09171eea 47%,#09171e80 67%,#09171e16 100%),url("https://school.burchikov.ru/assets/diagnostic-direction-v8.webp") right center/auto 100% no-repeat,#09171e!important;overflow:hidden}

#financial-diagnostic .bcdDiagVisual{pointer-events:none}
/* Parent backdrop stays visible; iframe no longer paints a white full-screen canvas */
.bcdDiagOverlay{display:flex!important;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .26s ease,visibility 0s linear .26s}
.bcdDiagOverlay.open{visibility:visible;opacity:1;pointer-events:auto;transition:opacity .26s ease,visibility 0s}
.bcdDiagBackdrop{background:rgba(1,8,12,.66)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
#bcdDiagFrame{width:min(860px,calc(100vw - 32px))!important;height:min(760px,calc(100dvh - 32px))!important;flex:none!important;border-radius:18px!important;background:#0c171d!important;overflow:hidden;box-shadow:0 24px 85px #000a;transform:translateY(14px) scale(.985);opacity:0;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .26s ease}
.bcdDiagOverlay.open #bcdDiagFrame{transform:translateY(0) scale(1);opacity:1}
@media(max-width:900px){#financial-diagnostic .bcdDiagPanel{background:linear-gradient(90deg,#09171efb 0%,#09171ee8 50%,#09171e88 100%),url("https://school.burchikov.ru/assets/diagnostic-direction-v8.webp") right center/auto 100% no-repeat,#09171e!important}}
@media(max-width:600px){#bcdDiagFrame{width:100vw!important;height:100dvh!important;border-radius:0!important}}
@media(prefers-reduced-motion:reduce){.bcdDiagOverlay,#bcdDiagFrame{transition:none!important;transform:none!important}}


/* Dark cinematic gradient: photo on the right, uninterrupted near-black behind the copy */
#financial-diagnostic .bcdDiagPanel{
 position:relative;isolation:isolate;overflow:hidden;
 background:#05090b!important;
}
#financial-diagnostic .bcdDiagPanel::before{
 content:"";position:absolute;z-index:0;inset:0 0 0 35%;pointer-events:none;
 background:url("https://school.burchikov.ru/assets/diagnostic-direction-v8.webp") right center/cover no-repeat;
 -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.15) 12%,rgba(0,0,0,.8) 43%,#000 67%);
 mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.15) 12%,rgba(0,0,0,.8) 43%,#000 67%);
}
#financial-diagnostic .bcdDiagPanel::after{
 content:"";position:absolute;z-index:0;inset:0;pointer-events:none;
 background:linear-gradient(90deg,#05090b 0%,#05090b 25%,rgba(5,9,11,.92) 40%,rgba(5,9,11,.12) 75%,transparent 100%);
}
#financial-diagnostic .bcdDiagCopy{position:relative;z-index:1}
#financial-diagnostic .bcdDiagVisual{position:relative;z-index:0}
@media(max-width:900px){
 #financial-diagnostic .bcdDiagPanel::before{inset:0 0 0 12%;opacity:.5;background-position:65% center}
 #financial-diagnostic .bcdDiagPanel::after{background:linear-gradient(90deg,#05090bf7 0%,#05090be8 54%,#05090b8c 100%)}
}
@media(max-width:600px){
 #financial-diagnostic .bcdDiagPanel::before{inset:0;opacity:.3;background-position:60% center}
 #financial-diagnostic .bcdDiagPanel::after{background:linear-gradient(90deg,#05090bf5 0%,#05090be6 100%)}
}


/* School-wide canonical accent, matching the existing --red token */
:root{--red:#ef2728!important}
#financial-diagnostic .bcdDiagKicker,
#financial-diagnostic .bcdDiagCopy h2 span,
.bankCourse h2 .productAccent,
.productCourse h2 .productAccent,
.bankModal h2 .productAccent,
.productModal h2 .productAccent{color:var(--red)!important}
/* Canonical 58px product CTA height already established on the storefront */
#financial-diagnostic .bcdDiagLaunch,
.bankActions .btn,.course .actions .btn,.productActions .btn,
.studentBox .btn,.studentBox a.btn{
 box-sizing:border-box!important;height:58px!important;min-height:58px!important;max-height:58px!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 padding:0 22px!important;border-radius:10px!important;
 font-size:16px!important;font-weight:900!important;line-height:1!important;
}
#financial-diagnostic .bcdDiagLaunch{background:var(--red)!important;color:#fff!important}
#financial-diagnostic .bcdDiagLaunch:hover{background:#d91f23!important}
/* Product buy buttons only: avoid changing neutral secondary actions */
.bankActions .buy,.productActions .buy,.course .actions .buy{background:var(--red)!important;color:#fff!important}
@media(max-width:600px){#financial-diagnostic .bcdDiagLaunch{width:100%!important}}


/* Exact same solid red for purchase and diagnosis; no gradient. */
:root{--red:#ef2728}
#financial-diagnostic .bcdDiagLaunch,
.bankCourse .bankActions button.buyV88,
.productCourse .productActions button.buyV88,
.bankModal button.buyV88,.productModal button.buyV88,
.bankPurchaseAction button.buyV88,
button.btn.buyV88{
 background:#ef2728!important;background-image:none!important;
 border-color:#ef2728!important;color:#fff!important;
}
#financial-diagnostic .bcdDiagLaunch:hover,
button.btn.buyV88:hover{background:#d91f23!important;background-image:none!important;border-color:#d91f23!important}
#financial-diagnostic .bcdDiagLaunch,
.bankActions button.btn,.productActions button.btn,
.bankModal button.btn,.productModal button.btn,
.studentBox a.btn,.studentBox button.btn{
 box-sizing:border-box!important;height:58px!important;min-height:58px!important;
 border-radius:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}


/* BCD_BUTTON_HEIGHT_UNIFY_V1 */
/* Match product action buttons (58px); preserve widths and visual styling. */
.heroBtns .cta.red,
.mobileBtns .cta.red,
#students .cta.red.studentLoginBtn {
  box-sizing: border-box !important;
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* BCD_HERO_CTA_FONT_POLISH_V1 */
/* Font size only; existing height, widths, colors and radii remain unchanged. */
.heroBtns .cta.red, .mobileBtns .cta.red {font-size:16px!important;}


/* BCD_FINAL_HERO_BUTTON_HEIGHT */
.heroBtns .cta,
.mobileBtns .cta {
  box-sizing: border-box !important;
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* BCD_HERO_CTA_RENDERED_HEIGHT_FIX_V2 */
/* Desktop hero copy is scaled: 58 CSS px renders as ~53 physical px.
   64 CSS px compensates only the desktop hero button; mobile remains 58. */
@media (min-width: 901px) {
  .heroInner .heroCopy .heroBtns > a.cta.red {
    box-sizing: border-box !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}


/* BCD_NAV_SCROLL_MARGIN_PATCH_V1 */
#about,#money,#psychology,#investments,#decisions,#financial-diagnostic { scroll-margin-top:28px!important; }


/* Desktop storefront only: keep old/new prices inline and give CTA breathing room. */
@media (min-width:901px) {
  .cards .course .bottom .price .schoolPriceRow {
    gap:9px!important;
  }
  .cards .course .bottom .price .schoolPriceRow>.schoolPriceOld {
    font-size:24px!important;
  }
}


/* Desktop only: B'ANK card buttons match the other product cards. */
@media (min-width:901px) {
  .cards .bankCourse .bankActions .btn {
    box-sizing:border-box!important;
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
    flex:0 0 150px!important;
  }
}


@media(min-width:901px){#decisions .tebePublicStart{transform:translateY(-18px)}}
#gameModal .tebePublicStartModal{margin:20px 0 12px;transform:none}


/* Move the stream line down by 10px relative to v2, without affecting prices/buttons. */
@media(min-width:901px){#decisions .tebePublicStart{transform:translateY(-8px)}}
/* The separator now sits ABOVE the stream date, not between date and price. */
#gameModal .tebePublicStartModal{
  border-top:1px solid rgba(255,255,255,.16);
  padding-top:22px;
  margin:28px 0 0;
  transform:none;
}
#gameModal .canonicalPurchaseFooter{
  border-top:none;
  padding-top:0;
  margin-top:18px;
}
@media(max-width:650px){
  #gameModal .tebePublicStartModal{padding-top:18px;margin-top:22px}
  #gameModal .canonicalPurchaseFooter{margin-top:14px}
}


/* Only the public #ТебеРешать card. Leave the Подробнее and checkout modals untouched. */
#decisions .productStats{margin-bottom:0!important}
#decisions .tebePublicStart{
  transform:none!important;
  margin:23px 0!important;
}
@media(max-width:900px){
  #decisions .tebePublicStart{margin:21.5px 0!important}
}


/* Uniform interaction on actionable CTAs, including course details and diagnostic launch. */
:is(a.cta,button.cta,button.btn,a.btn,.bcdDiagLaunch,.schoolCheckoutPay,.canonicalPurchaseAction button):not(:disabled){
 cursor:pointer!important;
 transition:background .2s ease,box-shadow .2s ease,transform .2s ease,filter .2s ease!important;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
 :is(a.cta,button.cta,button.btn,a.btn,.bcdDiagLaunch,.schoolCheckoutPay,.canonicalPurchaseAction button):not(:disabled):hover{
  background:linear-gradient(135deg,#ff4849,#ed1d24)!important;
  box-shadow:0 16px 34px #ed202e70!important;
  transform:translateY(-2px)!important;
 }
}
:is(a.cta,button.cta,button.btn,a.btn,.bcdDiagLaunch,.schoolCheckoutPay,.canonicalPurchaseAction button):active:not(:disabled){transform:translateY(0)!important}
:is(a.cta,button.cta,button.btn,a.btn,.bcdDiagLaunch,.schoolCheckoutPay,.canonicalPurchaseAction button):focus-visible{outline:2px solid #fff!important;outline-offset:3px!important}
#personal-consultation .consultInviteIcon svg{
 width:32px!important;height:32px!important;fill:#f5f0e7!important;stroke:none!important;
}
@media(prefers-reduced-motion:reduce){
 :is(a.cta,button.cta,button.btn,a.btn,.bcdDiagLaunch,.schoolCheckoutPay,.canonicalPurchaseAction button){transition:none!important}
 :is(a.cta,button.cta,button.btn,a.btn,.bcdDiagLaunch,.schoolCheckoutPay,.canonicalPurchaseAction button):hover{transform:none!important}
}


/* The outlined Details button keeps its transparent surface. */
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .productActions .btn.detail:not(:disabled):hover,
 .bankActions .btn.detail:not(:disabled):hover,
 button.btn.detail:not(:disabled):hover{
   background:transparent!important;
   background-image:none!important;
   border-color:#f26b71!important;
   box-shadow:0 12px 28px rgba(239,39,40,.28),0 0 0 1px rgba(255,255,255,.15) inset!important;
   color:#fff!important;
 }
}
#personal-consultation .consultInviteIcon svg{width:31px!important;height:31px!important;fill:#f5f0e7!important}
.schoolCheckoutForm label{font-size:13px!important;font-weight:750!important;text-transform:none!important}
.schoolCheckoutForm input::placeholder{text-transform:none!important}


/* Scoped: never modifies existing card grid, media, pricing or purchase actions. */
#products .homeReviewSlot{display:none;min-width:0;margin:0 0 13px}
#products .homeReviewSlot.ready{display:block}
#products .homeReviewTrigger{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:28px;padding:0;border:0;background:none;color:#dce5e9;font:inherit;text-align:left;cursor:pointer;white-space:nowrap}
#products .homeReviewTrigger:hover .homeReviewCount{text-decoration:underline;color:#fff}
#products .homeReviewTrigger:focus-visible{outline:2px solid #ef2728;outline-offset:4px;border-radius:3px}
.homeReviewStars{display:inline-flex;gap:1px;align-items:center;line-height:1;flex-shrink:0}
.homeReviewStar{position:relative;display:inline-block;font-size:17px;line-height:1;letter-spacing:0;color:#45535c}
.homeReviewStarFill{position:absolute;inset:0 auto auto 0;display:block;overflow:hidden;white-space:nowrap;color:#ffbd4b;line-height:1}
.homeReviewAverage{font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
.homeReviewCount{font-size:12px;color:#9baab3}
.homeReviewArrow{font-size:16px;color:#9baab3}

/* REVIEWS_OPEN_ANIMATION_V1 */
.homeReviewOverlay:not([hidden]){
  animation:schoolModalShadeIn .22s ease-out both;
}
.homeReviewOverlay:not([hidden]) .homeReviewDialog{
  animation:schoolModalPanelIn .26s cubic-bezier(.2,.75,.25,1) both;
}
@media(prefers-reduced-motion:reduce){
  .homeReviewOverlay:not([hidden]),
  .homeReviewOverlay:not([hidden]) .homeReviewDialog{
    animation:none!important;
  }
}

.homeReviewOverlay[hidden]{display:none!important}
.homeReviewOverlay{position:fixed;inset:0;z-index:5000;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(0,4,7,.82);backdrop-filter:blur(8px)}
.homeReviewDialog{position:relative;display:block;width:min(820px,calc(100vw - 56px));max-height:min(820px,calc(100dvh - 56px));overflow:hidden;border:1px solid rgba(122,154,168,.35);border-radius:22px;background:linear-gradient(180deg,#0b1b22,#071116);box-shadow:0 30px 90px rgba(0,0,0,.58);color:#f5f0e7;font-family:Inter,"Segoe UI",Arial,sans-serif}
.homeReviewScroll{max-height:min(820px,calc(100dvh - 56px));overflow-y:auto;padding:48px 54px 42px;color-scheme:dark;overscroll-behavior:contain}
.homeReviewClose{position:absolute;z-index:2;right:18px;top:16px;width:42px;height:42px;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(7,17,22,.82);color:#fff;font-size:29px;line-height:36px;cursor:pointer}
.homeReviewEyebrow{display:inline-block;padding:5px 12px;border-radius:999px;background:#b82229;color:#f5f0e7;font-size:11px;letter-spacing:.05em}
.homeReviewTitle{font-size:48px;line-height:1;font-weight:700;margin:12px 0 8px;text-transform:none}
.homeReviewTitle .productEmoji{font-size:35px;line-height:1;vertical-align:.055em;font-weight:400}
.homeReviewSubtitle{font-size:16px;font-weight:800;line-height:1.65;color:#b8c5cb;margin:0 0 12px}
.homeReviewSummary{display:flex;align-items:center;gap:14px;margin:0 0 24px}
.homeReviewSummaryNumber{font-size:38px;font-weight:900}
.homeReviewSummaryText{font-size:12px;color:#9daeb6;margin-top:5px}
.homeReviewItem{padding:16px;margin-top:13px;background:#101f28;border:1px solid #253944;border-radius:12px}
.homeReviewItemHead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.homeReviewAuthor{font-size:14px;font-weight:800}
.homeReviewDate{color:#8c9da6;font-size:11px;margin-top:4px}
.homeReviewText{white-space:pre-wrap;overflow-wrap:anywhere;color:#d3dde1;font-size:14px;line-height:1.6;margin-top:12px}
@media(max-width:900px){.homeReviewOverlay{padding:0;align-items:stretch}.homeReviewDialog{width:100%;height:100%;max-height:100%;border:0;border-radius:0}.homeReviewScroll{height:100%;max-height:none;padding:72px 22px 30px}.homeReviewClose{position:fixed;right:16px;top:16px}.homeReviewTitle{font-size:38px}.homeReviewTitle .productEmoji{font-size:30px}.homeReviewSubtitle{font-size:17px}}
@media(max-width:700px){.homeReviewTitle{font-size:clamp(28px,8vw,38px)}.homeReviewTitle .productEmoji{font-size:28px}#products .homeReviewTrigger{gap:6px}.homeReviewCount{font-size:11px}}
@media(max-width:360px){#products .homeReviewTrigger{gap:4px}.homeReviewStar{font-size:15px}.homeReviewCount{font-size:10px}}


/* school-home-reviews-polish-v2: scoped typography, spacing and course accent */
.homeReviewDialog{font-family:Inter,"Segoe UI",Arial,sans-serif;font-weight:400}
.homeReviewEyebrow{font-weight:400;line-height:1.3;text-transform:uppercase}
.homeReviewTitle{display:block;font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:48px!important;line-height:1.1!important;font-weight:700!important;letter-spacing:-.025em!important;margin:16px 0 8px!important;text-transform:none!important;overflow-wrap:anywhere}
.homeReviewTitle .productAccent{color:#ef2728!important}
.homeReviewTitle .productEmoji{display:inline-block;font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;font-size:35px!important;line-height:1!important;vertical-align:.055em!important;font-weight:400!important;letter-spacing:0!important;margin-right:0}
.homeReviewSubtitle{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px!important;font-weight:800!important;line-height:1.55!important;margin:0 0 17px!important}
.homeReviewSummary{margin:0 0 24px}
.homeReviewItem{font-family:Inter,"Segoe UI",Arial,sans-serif}
.homeReviewAuthor{font-weight:800}
@media(max-width:900px){.homeReviewTitle{font-size:38px!important}.homeReviewTitle .productEmoji{font-size:30px!important}}
@media(max-width:700px){.homeReviewTitle{font-size:clamp(28px,8vw,38px)!important}.homeReviewTitle .productEmoji{font-size:28px!important}}

/* school-reviews-tuning-v3: align review heading with product detail modal */
.homeReviewDialog .homeReviewTitle{font-size:50px!important;line-height:1!important;margin:12px 0 8px!important}
@media(max-width:900px){.homeReviewDialog .homeReviewTitle{font-size:38px!important}}
@media(max-width:700px){.homeReviewDialog .homeReviewTitle{font-size:clamp(28px,8vw,38px)!important}}

/* school-home-reviews-match-cabinet-v4 */
.homeReviewDialog .homeReviewTitle {
    font-family: Inter,"Segoe UI",Arial,sans-serif!important;
    font-size:48px!important;
    line-height:1!important;
    font-weight:700!important;
    letter-spacing:normal!important;
    margin:12px 0 8px!important;
}
.homeReviewDialog .homeReviewSubtitle {
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
    font-size:16px!important;
    font-weight:800!important;
    line-height:1.65!important;
    margin:0 0 12px!important;
}
.homeReviewDialog .homeReviewSummary {
    margin:0 0 24px!important;
}
.homeReviewIdentity {
    display:flex;
    align-items:baseline;
    gap:12px;
    flex-wrap:wrap;
    min-width:0;
}
.homeReviewIdentity .homeReviewDate {
    margin:0!important;
    font-size:11px;
    white-space:nowrap;
    color:#8c9da6;
}
@media(max-width:900px) {
    .homeReviewDialog .homeReviewTitle {
        font-size:38px!important;
    }
    .homeReviewDialog .homeReviewSubtitle {
        font-size:17px!important;
    }
}
@media(max-width:700px) {
    .homeReviewDialog .homeReviewTitle {
        font-size:clamp(28px,8vw,38px)!important;
    }
}

/* school-home-reviews-stars-alignment-v5 */

/* Звёзды и подпись — как в личном кабинете */
.homeReviewDialog .homeReviewSummary .homeReviewStars {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 1px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: baseline !important;
}

.homeReviewDialog .homeReviewSummary .homeReviewStars > span {
    font-size: 17px !important;
    line-height: 1 !important;
}

.homeReviewDialog .homeReviewSummary .homeReviewSummaryText {
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* school-home-review-stars-final-v6 */

/* Общий рейтинг: выравнивание звёзд */
.homeReviewDialog .homeReviewSummary .homeReviewStars {
    position: relative !important;
    top: -2px !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

.homeReviewDialog .homeReviewSummary .homeReviewStars > span,
.homeReviewDialog .homeReviewSummary .homeReviewStars > span > span {
    font-size: 17px !important;
    line-height: 1 !important;
}

/* Звёзды отдельных отзывов */
.homeReviewDialog .homeReviewCard .homeReviewStars,
.homeReviewDialog .homeReviewCard .homeReviewStars > span {
    font-size: 17px !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
}

/* school-home-review-item-stars-v7 */
.homeReviewDialog .homeReviewItemStars {
    display:inline-block;
    font-family:Inter,"Segoe UI",Arial,sans-serif;
    font-size:17px!important;
    font-weight:400!important;
    line-height:1!important;
    letter-spacing:1px!important;
    color:#ffbd4b!important;
    white-space:nowrap!important;
    flex-shrink:0;
}

/* school-home-review-card-spacing-v8 */
.homeReviewDialog .homeReviewItem .homeReviewText {
    margin-top:16px!important;
}


/* school-mobile-buy-review-fix-v1 */
html body > .homeReviewOverlay:not([hidden]) {
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
}

@media (max-width:900px) {
  html body > .homeReviewOverlay:not([hidden]) {
    z-index:2147483000!important;
  }

  html body > .homeReviewOverlay .homeReviewClose {
    position:fixed!important;
    top:16px!important;
    right:16px!important;
    z-index:2147483001!important;
  }
}


/* school-review-tablet-fix-v2 */
html > .homeReviewOverlay:not([hidden]) {
    position:fixed!important;
    inset:0!important;
    z-index:2147483647!important;
    isolation:isolate;
}
html > .homeReviewOverlay[hidden] {
    display:none!important;
}


/* Верхняя строка только карточки #ТебеРешать */
#decisions .tebeCardHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
}

#decisions .tebeCardHeader .badge {
    flex-shrink: 0;
}

#decisions .tebeCardHeader .tebePublicStart {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px;
    line-height: 1.4;
    text-align: right;
}

#decisions .tebeCardHeader .tebePublicStart[hidden] {
    display: none !important;
}

@media (max-width: 700px) {
    #decisions .tebeCardHeader {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    #decisions .tebeCardHeader .tebePublicStart {
        text-align: left;
    }
}


/* Отступ между характеристиками и стоимостью #ТебеРешать */
#decisions .bottom {
    margin-top: 16px;
}


/* Стандартные отступы характеристик и стоимости */

#decisions .bottom {
    margin-top: 22px !important;
}

/* Дополнительный воздух между плашкой и датой на телефонах */
@media (max-width: 700px) {
    #decisions .tebeCardHeader {
        row-gap: 16px !important;
    }
}


#decisions .productStats {
    margin-bottom: 24px !important;
}
#decisions .bottom {
    margin-top: 0 !important;
}
