/* Compact dropdown panels and drawer. Main navigation uses the site layout. */
body:not(.home-review, .approved-shell) .n-mega{min-height:0!important;padding:24px var(--pad) 28px!important;background:#090c0b!important;gap:0!important}
body:not(.home-review, .approved-shell) .n-mega :is(.n-mega-intro,.n-mega-column){min-width:0!important;padding-right:28px!important}
body:not(.home-review, .approved-shell) .n-mega .n-mega-column{padding-left:28px!important}
body:not(.home-review, .approved-shell) .n-mega .n-mega-intro>span,body:not(.home-review, .approved-shell) .n-mega .n-mega-column>span{font-size:12px!important;line-height:1.4!important;letter-spacing:.045em!important;color:var(--lime)!important;margin:0 0 12px!important;min-height:0!important}
body:not(.home-review, .approved-shell) .n-mega .n-mega-intro p{font-family:var(--text)!important;font-size:14px!important;line-height:1.55!important;letter-spacing:0!important;max-width:36ch!important;margin:0!important;color:#d1d6d3!important}
body:not(.home-review, .approved-shell) .n-mega .n-mega-column a,body:not(.home-review, .approved-shell) .n-mega .n-coming-soon{font-family:var(--text)!important;font-size:12px!important;line-height:1.5!important;padding:6px 0!important;color:#c7cfca!important}
body:not(.home-review, .approved-shell) .n-mega .n-mega-intro>a{font-size:12px!important;line-height:1.5!important;margin-top:16px!important;padding:6px 0!important;gap:12px!important}
body:not(.home-review, .approved-shell) .n-mega .n-mega-intro .n-coming-soon{margin-top:16px!important}
body:not(.home-review, .approved-shell) .n-mega .n-coming-soon small{font-size:10px!important}
body:not(.home-review, .approved-shell) .n-mega a:is(:hover,:focus-visible){color:var(--lime)!important}
body:not(.home-review, .approved-shell) .n-mega[data-mega="store"]{gap:20px 0!important}
body:not(.home-review, .approved-shell) .n-mega[data-mega="store"] .n-mega-intro{padding:0 0 18px!important}
body:not(.home-review, .approved-shell) .n-mega[data-mega="store"] .n-mega-intro>span{margin:0!important}
body:not(.home-review, .approved-shell) .n-mega[data-mega="store"] .n-mega-intro>a{margin:0!important}
body:not(.home-review, .approved-shell) .n-mega[data-mega="store"] .n-mega-column:nth-child(2){padding-left:0!important}
body:not(.home-review, .approved-shell) .n-mega[data-mega="store"] .n-mega-column:last-child{padding-right:0!important}
body:not(.home-review, .approved-shell) .n-mobile-menu{width:min(360px,100vw)!important}
body:not(.home-review, .approved-shell) .n-drawer-head{min-height:76px!important;padding:14px 22px!important}
body:not(.home-review, .approved-shell) .n-drawer-logo img{width:128px!important;max-height:60px!important}
body:not(.home-review, .approved-shell) .n-drawer-close{width:36px!important;height:36px!important}
body:not(.home-review, .approved-shell) .n-drawer-nav{padding:12px 22px!important}
body:not(.home-review, .approved-shell) .n-mobile-menu .n-drawer-nav :is(summary,.n-drawer-direct){font-size:16px!important;line-height:1.4!important;min-height:44px!important;padding:6px 0!important;text-transform:none!important;gap:12px!important}
body:not(.home-review, .approved-shell) .n-mobile-menu .n-drawer-nav summary>a{font-size:inherit!important;padding:0!important}
body:not(.home-review, .approved-shell) .n-mobile-menu .n-drawer-nav summary>span{min-width:32px!important;min-height:32px!important;font-size:16px!important}
body:not(.home-review, .approved-shell) .n-mobile-menu .n-drawer-nav details>a{font-size:13px!important;line-height:1.45!important;min-height:36px!important;padding:8px 0 8px 12px!important}
body:not(.home-review, .approved-shell) .n-drawer-group-label{font-size:11px!important;margin:14px 0 6px!important}
body:not(.home-review, .approved-shell) .n-drawer-footer{padding:18px 22px calc(24px + env(safe-area-inset-bottom))!important}
body:not(.home-review, .approved-shell) .n-mobile-menu .n-drawer-cta{font-size:12px!important;min-height:44px!important;padding:14px!important;align-items:center!important}
body:not(.home-review, .approved-shell) .n-mobile-menu .n-drawer-service{font-size:13px!important;min-height:44px!important;padding:10px 0!important;grid-template-columns:20px minmax(0,1fr) 20px!important;gap:8px!important;text-align:center!important}
body:not(.home-review, .approved-shell) .n-drawer-divider{margin:18px -22px 0!important}
body:not(.home-review, .approved-shell) .n-drawer-contacts{text-align:center!important}
body:not(.home-review, .approved-shell) .n-drawer-contact-title,body:not(.home-review, .approved-shell) .n-drawer-resource-section h2{font-family:var(--text)!important;font-size:12px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:.045em!important;text-transform:uppercase!important;color:var(--lime)!important;text-align:center!important;margin:0 0 12px!important}
body:not(.home-review, .approved-shell) .n-drawer-contact-title{margin-top:20px!important}
body:not(.home-review, .approved-shell) .n-drawer-phone-summary{position:relative!important;display:block!important;padding:4px 24px 14px!important;text-align:center!important}
body:not(.home-review, .approved-shell) .n-drawer-phone-summary>svg{position:absolute!important;right:0!important;top:12px!important}
body:not(.home-review, .approved-shell) .n-drawer-phone-copy strong{font-size:18px!important}
body:not(.home-review, .approved-shell) .n-drawer-info{gap:12px!important}
body:not(.home-review, .approved-shell) .n-drawer-info>div{grid-template-columns:1fr!important;gap:3px!important;text-align:center!important}
body:not(.home-review, .approved-shell) .n-drawer-info dd{font-size:12px!important}
body:not(.home-review, .approved-shell) .n-drawer-resource-section{margin:20px -22px 0!important;padding:18px 22px 0!important}
body:not(.home-review, .approved-shell) .n-mobile-menu .n-drawer-resource-grid a{position:relative!important;display:flex!important;justify-content:center!important;text-align:center!important;padding:10px 20px!important;min-height:44px!important;font-size:12px!important}
body:not(.home-review, .approved-shell) .n-drawer-resource-grid a svg{position:absolute!important;right:5px!important;width:11px!important;height:11px!important}
body:not(.home-review, .approved-shell) .n-drawer-phones-content h2{font-size:20px!important;text-align:center!important}
body:not(.home-review, .approved-shell) .n-drawer-phone-link{text-align:center!important}
body:not(.home-review, .approved-shell) .n-drawer-phone-link strong{font-size:18px!important}
@media(max-width:600px){body:not(.home-review, .approved-shell) .n-drawer-head,body:not(.home-review, .approved-shell) .n-drawer-nav{padding-left:20px!important;padding-right:20px!important}}
html[data-accessibility-mode="true"] body:not(.home-review, .approved-shell) .n-mega :is(a,p,.n-coming-soon){font-size:18px!important}
html[data-accessibility-mode="true"] body:not(.home-review, .approved-shell) .n-mobile-menu :is(.n-drawer-nav summary,.n-drawer-nav details>a,.n-drawer-service,.n-drawer-resource-grid a){font-size:18px!important}
body:not(.home-review, .approved-shell) .n-mobile-menu .n-drawer-resource-grid a{padding:10px 8px!important}
body:not(.home-review, .approved-shell) .n-mobile-menu .n-drawer-nav summary>a{min-height:0!important;border:0!important;text-transform:none!important;letter-spacing:inherit!important}

/* Revision 11: utility bar and compact contact popover. */
body:not(.home-review, .approved-shell) .n-utility{font-size:12px!important;letter-spacing:0!important}
body:not(.home-review, .approved-shell) .n-phone-disclosure summary{padding:0 12px!important;gap:8px!important;font-size:12px!important;line-height:1.4!important}
body:not(.home-review, .approved-shell) .n-utility-icon{width:38px!important;height:var(--utility-h)!important;flex:0 0 38px!important}
body:not(.home-review, .approved-shell) .n-utility-icon>svg,body:not(.home-review, .approved-shell) .n-phone-disclosure summary>svg:not(.n-utility-chevron){width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;min-height:16px!important;max-height:16px!important;flex:0 0 16px!important}
body:not(.home-review, .approved-shell) .n-phone-popover{width:min(420px,calc(100vw - 24px))!important;padding:0!important;max-height:calc(100svh - var(--utility-h) - 12px)!important;background:#090c0b!important}
body:not(.home-review, .approved-shell) .n-contact-phone{min-height:48px!important;padding:12px 18px!important;gap:12px!important;align-items:center!important}
body:not(.home-review, .approved-shell) .n-contact-phone strong{font-size:16px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:0!important;white-space:nowrap!important}
body:not(.home-review, .approved-shell) .n-contact-phone span{font-size:11px!important;line-height:1.4!important;letter-spacing:.025em!important;color:#b9c1bc!important;text-align:right!important}
body:not(.home-review, .approved-shell) .n-contact-callback{min-height:42px!important;margin:14px 18px 16px!important;padding:10px 12px!important;font-size:12px!important;line-height:1.4!important;letter-spacing:.035em!important}
body:not(.home-review, .approved-shell) .n-contact-details{gap:10px!important;padding:0 18px 16px!important}
body:not(.home-review, .approved-shell) .n-contact-details>div{grid-template-columns:90px minmax(0,1fr)!important;gap:12px!important;align-items:baseline!important}
body:not(.home-review, .approved-shell) .n-contact-details dt{font-size:10px!important;line-height:1.45!important;letter-spacing:.04em!important;color:#a5aea8!important}
body:not(.home-review, .approved-shell) .n-contact-details dd{font-size:12px!important;line-height:1.5!important}
body:not(.home-review, .approved-shell) .n-contact-section{padding:14px 18px 16px!important}
body:not(.home-review, .approved-shell) .n-contact-section h2{font-size:12px!important;line-height:1.4!important;letter-spacing:.045em!important;color:var(--lime)!important;text-align:center!important;margin:0 0 10px!important}
body:not(.home-review, .approved-shell) .n-contact-pills{gap:6px!important}
body:not(.home-review, .approved-shell) .n-contact-pills a{position:relative!important;justify-content:center!important;min-height:36px!important;padding:8px 14px!important;font-size:11px!important;line-height:1.4!important;letter-spacing:0!important;text-align:center!important}
body:not(.home-review, .approved-shell) .n-contact-pills a span{position:absolute!important;right:6px!important;font-size:10px!important}
@media(max-width:700px){
body:not(.home-review, .approved-shell) .n-utility-actions{flex:0 0 176px!important;width:176px!important;min-width:176px!important}
body:not(.home-review, .approved-shell) .n-phone-disclosure,body:not(.home-review, .approved-shell) .n-phone-disclosure summary,body:not(.home-review, .approved-shell) .n-utility-icon{width:44px!important;min-width:44px!important;flex:0 0 44px!important}
body:not(.home-review, .approved-shell) .n-phone-disclosure summary{justify-content:center!important;padding:0!important}
body:not(.home-review, .approved-shell) .n-phone-popover{left:12px!important;right:12px!important;width:auto!important}
body:not(.home-review, .approved-shell) .n-contact-pills{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body:not(.home-review, .approved-shell) .n-contact-pills-chat{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body:not(.home-review, .approved-shell) .n-contact-pills a{min-height:44px!important;padding:8px 9px!important}
body:not(.home-review, .approved-shell) .n-contact-callback{min-height:44px!important}
}
@media(max-width:360px){body:not(.home-review, .approved-shell) .n-contact-phone{grid-template-columns:1fr!important;gap:2px!important}body:not(.home-review, .approved-shell) .n-contact-phone span{text-align:left!important}body:not(.home-review, .approved-shell) .n-contact-pills{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
html[data-accessibility-mode="true"] body:not(.home-review, .approved-shell) .n-utility{font-size:16px!important}
html[data-accessibility-mode="true"] body:not(.home-review, .approved-shell) .n-phone-disclosure summary{font-size:16px!important}
html[data-accessibility-mode="true"] body:not(.home-review, .approved-shell) .n-contact-phone strong{font-size:20px!important}
html[data-accessibility-mode="true"] body:not(.home-review, .approved-shell) .n-contact-phone{grid-template-columns:1fr!important;gap:4px!important}
html[data-accessibility-mode="true"] body:not(.home-review, .approved-shell) .n-contact-phone span{text-align:left!important}
html[data-accessibility-mode="true"] body:not(.home-review, .approved-shell) :is(.n-contact-phone span,.n-contact-callback,.n-contact-details dd,.n-contact-section h2,.n-contact-pills a){font-size:16px!important}
html[data-accessibility-mode="true"] body:not(.home-review, .approved-shell) .n-contact-details>div{grid-template-columns:1fr!important;gap:3px!important}
html[data-accessibility-mode="true"] body:not(.home-review, .approved-shell) .n-contact-pills{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* Catalog headings and product introductions. Leave prose and data tables in reading order. */
main .catalog-detail .detail-copy,
dialog.catalog-detail .detail-copy {
  text-align: center;
}
dialog.catalog-detail .detail-copy > :is(h2,p) {
  margin-inline: auto;
  text-align: center;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}
dialog.catalog-detail .detail-copy p {
  max-inline-size: 62ch;
  text-wrap: pretty;
}
main.gp-page .gp-eyebrow { color: var(--lime, #c5ef62); }
main.gp-page :is(.gp-caption,.gp-key > div,.gp-detail figcaption) {
  text-align: center;
  text-wrap: balance;
}
main.gp-page .gp-key {
  justify-content: center;
}
main.gp-page .gp-detail figcaption > :is(h3,p) {
  margin-inline: auto;
  hyphens: none;
  text-wrap: pretty;
}

/* The service cards in /business/ are the reference for cards in other catalogs. */
main :is(.n-course-card-copy,.n-service-copy) {
  min-inline-size: 0;
  text-align: center !important;
}
main :is(.n-course-card-copy,.n-service-copy) > :is(span,h2,p,b,a) {
  text-align: center !important;
  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
main :is(.n-course-card-copy,.n-service-copy) > span {
  display: block;
  color: var(--lime, #c5ef62);
  text-wrap: balance;
}
main .n-course-card-copy h2 {
  font-size: clamp(12px,.9vw,16px) !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  text-wrap: balance;
}
main .n-course-card-copy p {
  font-size: 13px !important;
  line-height: 1.6 !important;
  text-wrap: pretty;
}
main :is(.n-course-card-copy,.n-service-copy) > :is(p,h2) {
  margin-inline: auto;
  max-inline-size: 52ch;
}
main .n-course-card-copy > b {
  display: flex !important;
  align-self: stretch;
  align-items: center;
  justify-content: center !important;
  inline-size: 100%;
}
main .n-service-copy > a { align-self: center; }
main :is(.equipment-caption,.spaces-caption,.partner-copy,.tm-person) {
  text-align: center;
  text-wrap: balance;
}
main :is(.equipment-caption,.partner-copy,.tm-person) > :is(h2,h3,p) {
  text-align: center;
  hyphens: none;
  text-wrap: balance;
}
@media (max-width: 899px) { main .n-course-card-copy h2 { font-size: 16px !important; } }
@media (min-width: 560px) and (max-width: 639px) { main .n-course-card-copy h2 { font-size: 14px !important; } }
html[data-accessibility-mode="true"] main .n-course-card-copy :is(h2,p,span,b) {
  font-size: max(1rem, 18px) !important;
}
main .n-course-card-copy p { color: #c7d0ca; }
main.sc-page .n-course-card-copy { min-height: 0 !important; }
main.sc-page .n-course-card-copy > p { min-height: 0 !important; }
main.sc-page .sc-grid { grid-auto-rows: auto !important; align-items: stretch; }
main.sc-page .n-course-card-copy b { margin-top: auto; }
main.sc-page .sc-result-heading {
  justify-content: center;
  align-items: baseline;
  text-align: center;
  gap: 6px 14px;
}
main.sc-page .sc-result-heading > * { margin-inline: 0; }
main.gp-page .gp-section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 10px;
  justify-items: center;
  text-align: center;
}
main.gp-page :is(.gp-section-head,.gp-overview-heading) :is(p,h2) {
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
main .n-course-card-copy > p { color: #c7d0ca !important; }
@media (max-width: 389px) {
  main.n-thanks { grid-template-columns: minmax(0, 1fr); }
  main.n-thanks .n-thanks-card { min-width: 0; max-width: 100%; }
  main.n-thanks .n-thanks-actions > * { max-width: 100%; white-space: normal; }
  main.n-thanks .n-thanks-card h1 { font-size: clamp(40px, 12vw, 46px) !important; }
  main.faq-page .faq-highlights { grid-template-columns: minmax(0,1fr); }
}
/* A page trail begins at the left content edge on desktop and mobile. */
nav[aria-label="Хлебные крошки"] { text-align: left; }
nav[aria-label="Хлебные крошки"] > ol { justify-content: flex-start; text-align: left; }

/* Styles from the existing TrainingBreadcrumbs component. */

  .oct-page-trail { padding: 22px var(--pad); border-bottom: 1px solid var(--line-dark); font-size: 13px; }
  .oct-page-trail ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 0; padding: 0; list-style: none; }
  .oct-page-trail li { display: flex; align-items: baseline; min-width: 0; max-width: 100%; }
  .oct-page-trail li + li::before { content: '/'; flex: 0 0 auto; padding: 0 12px; color: rgba(255,255,255,.5); }
  .oct-page-trail a { color: rgba(255,255,255,.72); text-decoration: underline; text-underline-offset: 4px; }
  .oct-page-trail a:hover, .oct-page-trail a:focus-visible { color: var(--lime); }
  .oct-page-trail span { color: #fff; }
  .oct-page-trail a, .oct-page-trail span { overflow-wrap: anywhere; }
  @media (max-width: 600px) {
    .oct-page-trail { padding-block: 16px; font-size: 12px; }
    .oct-page-trail li + li::before { padding-inline: 8px; }
  }

main.n-thanks:has(> .oct-page-trail) {
  padding-top: var(--header-h);
  grid-template-rows: auto 1fr;
  row-gap: clamp(32px, 5vw, 80px);
}
main.n-thanks > .oct-page-trail {
  margin-inline: calc(-1 * var(--pad));
}
main.n-thanks:has(> .oct-page-trail) {
  grid-template-columns: minmax(0, 1fr);
}
