/* UCHЁBKA / graphite telephone CTA v5
   Same material family as the confirmed "Связаться по телефону" button:
   charcoal face, fine lime-olive edge, pale green type, restrained bevel.
   Overrides v4 intentionally; no luminous lime fill and no diffuse glow. */
body.uchebka-lux :is(
 .header-cta,.enter,.btn-primary,.action:not(.muted),
 .scenario-action,#open-director-live,.sales-primary-action,
 .crm-feature-action:not(.image-cta),#cc-run-agent,
 .quiz-actions #check,.speak-controls #speak
){
 background-color:#242e31!important;
 background-image:
   linear-gradient(180deg,rgba(255,255,255,.11) 0%,transparent 10%,transparent 75%,rgba(0,0,0,.10) 100%),
   linear-gradient(145deg,#354342 0%,#242f34 48%,#1a232a 100%)!important;
 border:1px solid #9fb777!important;
 border-radius:12px!important;
 color:#e3eeae!important;
 font-weight:820!important;
 letter-spacing:-.01em!important;
 text-shadow:none!important;
 box-shadow:inset 0 1px rgba(234,255,216,.16),inset 0 -1px rgba(0,0,0,.32),0 6px 17px rgba(0,0,0,.31)!important;
 filter:none!important;
 transition:background .18s,border-color .18s,box-shadow .18s,transform .18s!important;
}
body.uchebka-lux :is(
 .header-cta,.enter,.btn-primary,.action:not(.muted),
 .scenario-action,#open-director-live,.sales-primary-action,
 .crm-feature-action:not(.image-cta),#cc-run-agent,
 .quiz-actions #check,.speak-controls #speak
):hover{
 background-color:#30443d!important;
 background-image:linear-gradient(150deg,#3c5149,#263b36 55%,#1e292c)!important;
 border-color:#c0df92!important;
 color:#f0ffbd!important;
 box-shadow:inset 0 1px #eaffd32c,0 8px 20px rgba(0,0,0,.38)!important;
 transform:translateY(-2px)!important;
}
body.uchebka-lux :is(
 .header-cta,.enter,.btn-primary,.action:not(.muted),
 .scenario-action,#open-director-live,.sales-primary-action,
 .crm-feature-action:not(.image-cta),#cc-run-agent,
 .quiz-actions #check,.speak-controls #speak
):active{
 background:#1e302a!important;background-image:linear-gradient(150deg,#293c32,#182727)!important;
 transform:translateY(1px)!important;
 box-shadow:inset 0 3px 7px #0007!important;
}
body.uchebka-lux :is(.hero-actions .btn-primary,.hero-actions .btn-secondary,.site-header .header-cta){
 border-radius:12px!important;
}
body.uchebka-lux :is(.hero-actions .btn-primary .icon,.header-cta .icon){
 color:#b7e68a!important;
}
body.uchebka-lux .hero-actions .btn-primary svg{
 border-left:1px solid rgba(207,242,160,.28)!important;
}
body.uchebka-lux :is(.experience-tab,.cc-nav-button,.academy-modes button,.sales-preset,
 .sales-tabs button,.lesson-tab,.quiz-step,.option,
 .crm-quick-photo,.crm-photo-nav,.crm-feature-action.image-cta){
 border-color:#6b8463!important;
}
body.uchebka-lux :is(.experience-tab,.cc-nav-button,.academy-modes button,.sales-preset,
 .sales-tabs button,.lesson-tab,.quiz-step,.option):hover{
 background:#2a4037!important;
 border-color:#b0d48c!important;
}
body.uchebka-lux :is(.experience-tab.active,.cc-nav-button.is-active,.academy-modes button.active,
 .sales-preset.active,.sales-tabs button.active,.lesson-tab.active,.quiz-step.active,.option.selected,
 .crm-photo-nav.active,.crm-photo-nav[aria-pressed="true"]){
 border-color:#b9df8b!important;color:#edf8ce!important;
}
body.uchebka-lux header.top nav[aria-label="Навигация"] a[href="/login"]{
 background:#26362f!important;background-image:linear-gradient(150deg,#3a4840,#212e32)!important;
 border:1px solid #9fb777!important;
 color:#e3eeae!important;
 box-shadow:inset 0 1px #eaffd327,0 5px 13px #0005!important;
 border-radius:10px!important;
}
body.uchebka-lux header.top nav[aria-label="Навигация"] a[href="/login"]:hover{
 background:#32483e!important;background-image:linear-gradient(150deg,#425547,#293b38)!important;
 color:#f5ffd0!important;border-color:#c2e5a0!important;
}
body.uchebka-lux .r-button{background:#23362f!important;color:#e6f7cf!important;border:1px solid #9eaf7d!important}
body.uchebka-lux .sales-primary-action>span,body.uchebka-lux .scenario-action>span{color:#b5e68a!important}
body.uchebka-lux :is(.mobile-menu,.menu-toggle,button.crm-mini-icon){
 border-color:#8fa879!important;
 background:#263830!important;
 color:#cdecb5!important;
}
body.uchebka-lux :is(.mobile-menu,.menu-toggle,button.crm-mini-icon):hover{
 border-color:#b9d691!important;background:#344b3a!important;
}
@media(prefers-reduced-motion:reduce){body.uchebka-lux :is(button,a){transition:none!important}body.uchebka-lux :is(button,a):hover{transform:none!important}}

/* UCHЁBKA / RESPONSIVE SYSTEM 2026-10-25
   Real device widths: 320–1920px. Only layout, legibility and hit targets.
   No changes to corporate logo, imagery assets, production CRM or business logic. */
body.uchebka-lux {
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body.uchebka-lux :is(button,a,input,select,textarea):focus-visible{
  outline:2px solid #c1ed9e!important;
  outline-offset:3px!important;
}
body.uchebka-lux :is(.intro,.intro-cols,.intro-copy,.section-page,.section-title,
 .quiz-layout,.quiz-aside,.quiz-card,.lesson-layout,.lesson-list,.lesson-detail,
 .crm-shell,.crm-showroom-shell,.crm-workspace-premium,.crm-workspace-body,.crm-photo-menu,
 .crm-menu,.crm-dataset,.crm-dataset-wrap,.crm-preview-kpis,.crm-screen-photo,
 .sales-experience,.sales-workspace,.sales-app-body,.sales-rail,.sales-main,
 .sales-columns,.sales-form,.sales-recommendation,.sales-output,.sales-modes,
 .academy-module-grid,.academy-module-detail,.academy-detail-content,.department-grid,
 .hero-graphic,.hero-media,.experience-shell){
 min-width:0;max-width:100%;
}
body.uchebka-lux :is(.action,.btn,.header-cta,.enter,.scenario-action,
 .sales-primary-action,.sales-dark-action,.sales-copy,
 .crm-feature-action,.experience-tab,.lesson-tab,.quiz-step,
 .academy-modes button,.academy-teacher-link,.academy-handoff-link){
 min-height:44px;
 line-height:1.35;
 text-align:center;
 overflow-wrap:anywhere;
}
body.uchebka-lux :is(.intro h1,.intro h1 em,.section-title h2,.section-title h2 em,
 .link-strip h2,.sales-topline h3,.academy-detail-head h3,
 .hero-copy h1,.hero-copy h1 em){
 max-width:100%;
 overflow-wrap:anywhere;
 hyphens:auto;
}
body.uchebka-lux :is(.cinematic-hero-image img,.cinematic-crm-backdrop img,
 .department-card .dept-photo img,.home-ai-card img,
 .crm-photo-nav img,.crm-quick-photo img,.showroom-sales-photo img,
 .sales-mode img,.sales-workflow-photo img,.academy-agent-card img,
 .academy-module-card img,.academy-master-photo img){
 max-width:100%;
 object-fit:cover;
 object-position:center;
 image-rendering:auto;
}
body.uchebka-lux :is(.site-header a.brand img,.top:not(.wrap) .logo img,
 .logo-home-link img,.sales-brand img){
 object-fit:contain;
 image-rendering:auto;
}
body.uchebka-lux :is(.video-grid,.department-grid,.sales-workflow-grid,
 .academy-module-grid,.academy-agent-grid,.showroom-sales-grid) > *{
 min-width:0;
}
body.uchebka-lux .crm-dataset{
 overflow-x:auto;
 overscroll-behavior-inline:contain;
 -webkit-overflow-scrolling:touch;
}
body.uchebka-lux .crm-dataset :is(.data-table,table){
 min-width:580px;
}
@media(max-width:1024px){
 body.uchebka-lux .crm-photo-menu{
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
 }
 body.uchebka-lux .sales-modes{
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
 }
 body.uchebka-lux .quiz-dots{
  min-width:0;
  max-width:100%;
  width:100%;
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
 }
 body.uchebka-lux .quiz-step{flex:0 0 auto;}
 body.uchebka-lux .sales-modes .sales-mode{flex:0 0 170px;}
 body.uchebka-lux :is(.sales-main,.crm-workspace-premium,.crm-showroom-shell,.sales-workspace){
  min-width:0;
 }
}
@media(max-width:900px){
 body.uchebka-lux header.top:not(.wrap){
  box-sizing:border-box;
  display:flex;
  align-items:center;
  width:100%;
  max-width:100%;
  min-width:0;
  gap:8px!important;
  padding-inline:clamp(9px,2vw,16px)!important;
 }
 body.uchebka-lux header.top:not(.wrap) .logo{
  min-width:0!important;
  flex:0 1 135px;
  max-width:135px;
  margin:0 auto 0 0;
 }
 body.uchebka-lux header.top:not(.wrap) .logo img{
  max-width:100%!important;
  width:clamp(102px,30vw,133px)!important;
  height:auto!important;
 }
 body.uchebka-lux header.top:not(.wrap) .enter{
  flex:0 1 auto;
  min-width:0;
  max-width:140px;
  margin-left:0!important;
  padding:10px 12px!important;
  font-size:11px!important;
  white-space:normal!important;
  line-height:1.25!important;
  overflow-wrap:anywhere;
 }
 body.uchebka-lux header.top:not(.wrap) .enter span{
  margin-left:5px!important;
 }
 body.uchebka-lux header.top:not(.wrap) .menu-toggle{
  display:grid!important;
  place-items:center;
  flex:0 0 43px;
  width:43px!important;
  height:43px!important;
  min-width:43px;
  min-height:43px;
  padding:6px!important;
  margin:0!important;
  line-height:1!important;
  font-size:20px!important;
 }
 body.uchebka-lux header.top:not(.wrap) .nav.open{
  left:10px!important;
  right:10px!important;
  width:auto!important;
  max-width:calc(100vw - 20px)!important;
  box-sizing:border-box;
  max-height:min(78dvh,700px);
  overflow-y:auto;
  box-shadow:0 22px 45px #000c!important;
  z-index:100;
 }
 body.uchebka-lux header.top:not(.wrap) .nav.open a{
  min-height:44px;
  display:flex;align-items:center;
  white-space:normal;
  overflow-wrap:anywhere;
 }
 body.uchebka-lux :is(.intro-cols,.section-title,.sales-columns,
 .academy-masters-grid,.academy-detail-content) > *{min-width:0}
 body.uchebka-lux .crm-photo-menu .crm-photo-nav{
  flex:none;
  scroll-snap-align:start;
 }
 body.uchebka-lux .sales-rail{overflow-x:hidden;max-width:100%}
}
@media(max-width:650px){
 body.uchebka-lux .intro{padding-inline:clamp(14px,4vw,22px)}
 body.uchebka-lux .section-page{padding-inline:clamp(14px,4vw,24px)}
 body.uchebka-lux .intro h1{
  font-size:clamp(35px,9.4vw,52px)!important;
  line-height:1.035!important;
  letter-spacing:-.065em!important;
  text-wrap:balance;
 }
 body.uchebka-lux .section-title h2,
 body.uchebka-lux .link-strip h2{
  font-size:clamp(33px,9vw,48px)!important;
  line-height:1.07!important;
  letter-spacing:-.065em!important;
  text-wrap:balance;
 }
 body.uchebka-lux .intro p{
  font-size:clamp(13px,3.6vw,15px)!important;
  line-height:1.75!important;
 }
 body.uchebka-lux :is(.section-title p,.sales-topline p,.academy-detail-head p){
  font-size:clamp(12px,3.6vw,14px)!important;
  line-height:1.7!important;
 }
 body.uchebka-lux .top-note{max-width:100%;min-width:0;flex-wrap:wrap}
 body.uchebka-lux .hero-graphic{min-width:0;max-width:100%;overflow:hidden}
 body.uchebka-lux .crm-showroom-shell{min-width:0;max-width:100%}
 body.uchebka-lux .crm-photo-menu{
  box-sizing:border-box;max-width:100%;min-width:0;
  gap:8px!important;overflow-x:auto!important;
 }
 body.uchebka-lux .crm-menu .crm-photo-nav{
  flex:0 0 148px!important;
  min-width:148px!important;
  min-height:105px;
 }
 body.uchebka-lux .crm-workspace-premium{padding-inline:clamp(10px,3.5vw,17px)!important}
 body.uchebka-lux .crm-preview-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.uchebka-lux .crm-preview-kpi{min-width:0}
 body.uchebka-lux .sales-rail{padding:10px!important}
 body.uchebka-lux .sales-modes{display:flex;max-width:100%;overflow-x:auto;gap:8px}
 body.uchebka-lux .sales-modes .sales-mode{
  flex:0 0 min(150px,65vw)!important;
  min-width:0!important;
  max-width:150px!important;
 }
 body.uchebka-lux .sales-main{padding:clamp(10px,3.5vw,17px)!important}
 body.uchebka-lux .sales-columns{grid-template-columns:minmax(0,1fr)!important;gap:10px}
 body.uchebka-lux :is(.sales-form,.sales-recommendation,.sales-output){
  min-width:0;max-width:100%;padding:clamp(11px,3.5vw,17px)
 }
 body.uchebka-lux :is(.sales-output-toolbar,.sales-topline,.sales-app-top,.sales-panel-head){
  flex-wrap:wrap;row-gap:8px;
 }
 body.uchebka-lux .sales-output-text{
  white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;
 }
 body.uchebka-lux .sales-tabs{max-width:100%;min-width:0;flex-wrap:wrap}
 body.uchebka-lux .sales-tabs button{
  min-height:43px!important;padding:10px 11px!important;font-size:11px!important;
 }
 body.uchebka-lux :is(.sales-form select,.sales-form textarea,
 .crm-control-input,.search-input){
  font-size:16px!important; /* prevents focus zoom in mobile Safari */
 }
 body.uchebka-lux :is(.academy-modes,.quiz-dots,.crm-photo-menu){
  scrollbar-width:thin;
  scrollbar-color:#89ba73 #15221c;
 }
 body.uchebka-lux .academy-agent-grid,.sales-workflow-grid{
  grid-template-columns:minmax(0,1fr)!important;
 }
 body.uchebka-lux :is(.academy-module-card,.department-card,.video-card,.sales-workflow-photo){
  min-width:0;
 }
 body.uchebka-lux .sales-action-row>button{
  min-height:44px;max-width:100%;
 }
 body.uchebka-lux :is(.action,.btn,.scenario-action,.crm-feature-action){
  font-size:clamp(11px,3.2vw,13px)!important;
 }
}
@media(max-width:380px){
 body.uchebka-lux header.top:not(.wrap){
  padding-inline:9px!important;
  gap:6px!important;
 }
 body.uchebka-lux header.top:not(.wrap) .logo{
  flex:0 1 109px;
  max-width:109px;
 }
 body.uchebka-lux header.top:not(.wrap) .logo img{
  width:min(108px,100%)!important;
 }
 body.uchebka-lux header.top:not(.wrap) .enter{
  max-width:112px!important;
  padding:8px 8px!important;
  font-size:10px!important;
  border-radius:8px!important;
 }
 body.uchebka-lux header.top:not(.wrap) .menu-toggle{
  flex-basis:42px;
  min-width:42px;width:42px!important;
 }
 body.uchebka-lux .intro h1{
  font-size:clamp(33px,10.5vw,39px)!important;
  letter-spacing:-.068em!important;
 }
 body.uchebka-lux .section-title h2{
  font-size:clamp(31px,9.8vw,38px)!important;
 }
 body.uchebka-lux .crm-menu .crm-photo-nav{
  flex-basis:140px!important;min-width:140px!important;
 }
 body.uchebka-lux .sales-modes .sales-mode{
  flex-basis:140px!important;max-width:140px!important;
 }
 body.uchebka-lux .hero-graphic.cinematic-presentation{
  min-height:315px!important;
 }
 body.uchebka-lux .sales-workflow-photo{min-height:180px;height:auto;aspect-ratio:1.7}
}
@media(min-width:1600px){
 body.uchebka-lux :is(.crm-showroom-shell,.sales-workspace){
  max-width:100%;
 }
 body.uchebka-lux .intro h1{line-height:1.02;}
}
@media(prefers-reduced-motion:reduce){
 body.uchebka-lux :is(button,a){transition:none!important}
 body.uchebka-lux :is(button,a):hover{transform:none!important}
}
