/* UCHЁBKA / Enterprise precision buttons v3
   NO bloom, rubber gloss, texture sprites, rendered text images.
   Functional semantic buttons/links are preserved. */
body.uchebka-lux{
 --btn-bg:#111c22;--btn-bg-2:#19292e;--btn-accent:#97dd75;
 --btn-border:rgba(130,173,136,.42);--btn-text:#f0f5f1;
}
body.uchebka-lux :is(a,button):focus-visible{
 outline:2px solid #b5ea99!important;outline-offset:3px!important;
}
body.uchebka-lux :is(.site-header,header.top){
 background:#0d151a!important;
 border-bottom:1px solid #34483e!important;
 box-shadow:0 7px 27px rgba(0,0,0,.19)!important;
}
/* Primary calls to action: controlled mineral-graphite surface with precision lime edge */
body.uchebka-lux :is(
 .header-cta,.enter,.btn-primary,.action:not(.muted),.btn:not(.btn-light),
 .scenario-action,#open-director-live,.sales-primary-action,
 .crm-feature-action:not(.image-cta),#cc-run-agent,.quiz-actions #check,.speak-controls #speak
){
 background:#1a2b2c!important;
 background-image:linear-gradient(180deg,#ffffff0b,transparent 46%),linear-gradient(115deg,#20332e,#111e25)!important;
 border:1px solid #739c72!important;
 color:#f0f9ed!important;
 border-radius:8px!important;
 box-shadow:inset 0 1px rgba(255,255,255,.11),0 3px 12px rgba(0,0,0,.25)!important;
 text-shadow:none!important;
 font-weight:800!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),.btn:not(.btn-light),
 .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-image:linear-gradient(115deg,#2d4938,#182d2d)!important;
 border-color:#a6da87!important;color:#e9ffe6!important;
 box-shadow:inset 0 1px #d7ffbb18,0 5px 17px rgba(0,0,0,.3)!important;
 transform:translateY(-1px)!important;filter:none!important;
}
body.uchebka-lux :is(
 .header-cta,.enter,.btn-primary,.action:not(.muted),.btn:not(.btn-light),
 .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:#22352a!important;border-color:#729865!important;
 box-shadow:inset 0 2px 6px rgba(0,0,0,.4)!important;
 transform:translateY(1px)!important;
}
body.uchebka-lux :is(
 .btn-secondary,.action.muted,.header-login,.cc-contact-action,.cc-inline-action,
 .inline-link,.experience-tab,.cc-nav-button,.cc-mini-action,
 .lesson-tab,.quiz-step,.option,.sales-dark-action,.sales-copy,
 .sales-preset,.sales-tabs button,.showroom-contact-button,#director-photo-back
){
 background:#172329!important;
 background-image:linear-gradient(180deg,rgba(255,255,255,.05),transparent 64%)!important;
 color:#dcece0!important;border:1px solid #3d584b!important;
 border-radius:8px!important;
 text-shadow:none!important;
 box-shadow:inset 0 1px #ffffff0d!important;
 filter:none!important;
 transition:border-color .18s,background .18s,transform .18s!important;
}
body.uchebka-lux :is(
 .btn-secondary,.action.muted,.header-login,.cc-contact-action,.cc-inline-action,
 .inline-link,.experience-tab,.cc-nav-button,.cc-mini-action,
 .lesson-tab,.quiz-step,.option,.sales-dark-action,.sales-copy,
 .sales-preset,.sales-tabs button,.showroom-contact-button,#director-photo-back
):hover{
 background:#233a2d!important;border-color:#87bc75!important;
 color:#f2fff1!important;transform:translateY(-1px)!important;
 box-shadow:inset 0 1px #ffffff16!important;
}
body.uchebka-lux :is(
 .experience-tab.active,.cc-nav-button.is-active,.cc-nav-button[aria-pressed="true"],
 .lesson-tab.active,.quiz-step.active,.option.selected,
 .sales-tabs button.active,.sales-preset.active
){
 background:#29432f!important;color:#e8ffe5!important;
 border-color:#9dcd81!important;
 box-shadow:inset 2px 0 #a5d984!important;
}
/* Tagging and operating statuses: quiet, not attention-grabbing pills */
body.uchebka-lux :is(.chip,.tag,.crm-pill,.cc-secure,.feature-chip,.sales-stage-chip){
 background:#1b2d25!important;background-image:none!important;
 border:1px solid #436b49!important;color:#b6dfae!important;
 border-radius:7px!important;box-shadow:none!important;
}
/* Image-backed buttons keep imagery but remove flashing borders */
body.uchebka-lux :is(.crm-photo-nav,.crm-quick-photo,.home-ai-card,
 .department-card,.feature-card,.tile,.showroom-sales-photo,.sales-mode,.academy-agent-card){
 border:1px solid #425d4a!important;
 border-radius:9px!important;box-shadow:0 6px 19px rgba(0,0,0,.24)!important;
 filter:none!important;transition:border-color .18s,transform .18s!important;
}
body.uchebka-lux :is(.crm-photo-nav,.crm-quick-photo,.home-ai-card,
 .department-card,.feature-card,.tile,.showroom-sales-photo,.sales-mode,.academy-agent-card):hover{
 border-color:#96ca7d!important;box-shadow:0 8px 21px rgba(0,0,0,.28)!important;
 transform:translateY(-2px)!important;
}
body.uchebka-lux :is(.crm-photo-nav.active,.crm-photo-nav[aria-pressed="true"],.sales-mode.active){
 border-color:#98ce7e!important;box-shadow:inset 2px 0 #a6e08b,0 6px 20px rgba(0,0,0,.25)!important;
}
body.uchebka-lux :is(.mobile-menu,.menu-toggle,.side-item,button.crm-mini-icon){
 background:#17252a!important;background-image:none!important;
 border:1px solid #476650!important;border-radius:8px!important;
 color:#bceca8!important;box-shadow:none!important;filter:none!important;
}
body.uchebka-lux :is(.mobile-menu,.menu-toggle,.side-item,button.crm-mini-icon):hover{
 background:#244234!important;border-color:#8cb97a!important;
 box-shadow:none!important;transform:none!important;
}
body.uchebka-lux :is(.academy-modes button,.academy-module-card,.academy-teacher-link,
 .academy-handoff-link,.sales-mode,.crm-feature-action.image-cta){
 text-shadow:none!important;
 box-shadow:0 5px 15px #0004!important;
 filter:none!important;
}
body.uchebka-lux :is(.academy-modes button,.academy-module-card,.academy-teacher-link,.academy-handoff-link):is(:hover,.active){
 border-color:#95c882!important;box-shadow:0 6px 17px #0005!important;filter:none!important;
}
/* Informational SEO pages have separate navigation; keep it consistent. */
body.uchebka-lux header.top nav[aria-label="Навигация"] a{
 background:#17252b!important;background-image:none!important;
 border:1px solid #395548!important;color:#dbe9db!important;
 box-shadow:none!important;text-shadow:none!important;border-radius:8px!important;
}
body.uchebka-lux header.top nav[aria-label="Навигация"] a:hover{
 background:#263b2e!important;border-color:#84bb78!important;color:#edffe9!important;
 box-shadow:none!important;
}
body.uchebka-lux header.top nav[aria-label="Навигация"] a[href="/login"]{
 background:#23392e!important;background-image:none!important;
 border-color:#82b473!important;color:#e5f4de!important;
 box-shadow:none!important;text-shadow:none!important;
}
@media(max-width:900px){
 body.uchebka-lux :is(header.top .nav.open,.site-header #main-nav.open){
  background:#101d21!important;border:1px solid #43684a!important;
  box-shadow:0 12px 35px #0009!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.uchebka-lux :is(a,button){transition:none!important}
 body.uchebka-lux :is(a,button):hover{transform:none!important}
}
