/* Room for both technical main sections. Existing page content is untouched. */
.site-header .nav>a{white-space:nowrap}
@media(min-width:1280px){
  .site-header .nav{display:flex!important;position:static!important;flex-direction:row!important;align-items:center!important;gap:clamp(10px,.95vw,18px)!important;font-size:clamp(10px,.78vw,12px)!important;letter-spacing:.03em!important;padding:0!important;max-height:none!important;overflow:visible!important}
  .site-header .menu-btn{display:none!important}
  .site-header .brand{flex-shrink:0;gap:10px}
  .site-header .brand b{font-size:clamp(21px,1.7vw,28px)!important}
  .site-header .brand small{font-size:clamp(9px,.69vw,11px)!important}
  .site-header .nav>a{padding:28px 0 24px!important}
}
@media(max-width:1279px){
  .pa-js .site-header{position:fixed!important;height:76px!important;min-height:76px!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;padding:0 5.2vw!important}
  .pa-js .site-header .menu-btn{display:flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin-left:10px;padding:0!important;font-size:30px;flex:none}
  .pa-js .site-header .nav{position:absolute!important;top:100%!important;left:0!important;right:0!important;display:none!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;margin:0!important;padding:12px 5.2vw 22px!important;max-height:calc(100vh - 76px)!important;max-height:calc(100dvh - 76px)!important;overflow:auto!important;background:#0b1a25!important;border-top:1px solid #ffffff24;font-size:14px!important}
  .pa-js .site-header .nav.open{display:flex!important}
  .pa-js .site-header .nav>a{display:flex!important;align-items:center!important;min-height:44px!important;padding:12px 0!important;border-bottom:1px solid #ffffff15}
  .pa-js .site-header .nav>a:after{bottom:3px!important}
  .pa-js .site-header .lang-switch{padding:0!important}
  .pa-js .site-header .lang-switch>button{display:flex;align-items:center;min-height:44px;min-width:44px;padding:10px 0!important}
  .pa-js .site-header .lang-menu{position:static!important;display:none!important;margin-top:4px!important;border-radius:2px}
  .pa-js .site-header .lang-switch.open .lang-menu{display:block!important}
  .pa-js .site-header .lang-menu a{min-height:44px!important}
  html:not(.pa-js) .site-header{position:relative!important;height:auto!important;flex-wrap:wrap!important;padding:16px 5.2vw!important}
  html:not(.pa-js) .site-header .nav{display:flex!important;position:static!important;flex-wrap:wrap;align-items:flex-start;gap:6px 16px!important;width:100%;max-height:none!important;margin-top:14px}
  html:not(.pa-js) .site-header .nav>a{padding:10px 0!important;min-height:44px}
  html:not(.pa-js) .site-header .menu-btn,html:not(.pa-js) .site-header .lang-switch>button{display:none!important}
  html:not(.pa-js) .site-header .lang-menu{display:block!important;position:static!important}
}
@media(max-width:480px){
  .pa-js .site-header .brand{min-width:0;gap:8px}
  .pa-js .site-header .brand img{width:38px!important;height:38px!important;flex:none}
  .pa-js .site-header .brand b{font-size:clamp(14px,4.25vw,20px)!important;white-space:nowrap}
  .pa-js .site-header .brand small{display:none!important}
}
@media print{.site-header,.site-header .nav{display:none!important}}

/* V41.5 — readable minimum on phones. Decorative mono kickers stay small;
   text a visitor actually has to read is lifted to 12–13 px. */
@media (max-width:760px){
  .fx-fault-link small,.fx-choice-copy small,.fx-hero-note,.fx-limit,.fx-family-head p,.fx-fault-list-head p,.fx-controls p,.diag-service-source,.diag-service-source a,th small,td small{font-size:12.5px!important;line-height:1.5!important}
  .ct-kind,.ct-required,.ct-form-note span,.ct-topic span,.ct-meta span,.ct-mini,.ct-inline-link{font-size:12px!important;line-height:1.45!important}
  .hp-metric p,.hp-station p,.hp-system-node p,.pa-official-docs li,.pa-requisites p,.pa-requisites-label{font-size:12.5px!important;line-height:1.45!important}
  .hp-case-copy dt,.hp-case-copy .hp-small-label,.hp-stack-tags span{font-size:11.5px!important}
  .pr-card-result small,.pr-card-bottom span,.pr-tags span,.pr-filters button{font-size:12px!important}
  .sh-chips button,.sh-direct-copy span,.sh-service-note,.sh-scope-modules span{font-size:12px!important}
  .sh-start-path li,.sh-mini-label,.sh-map-legend span{font-size:11px!important}
  .mz-send-items li,.mz-fine,.mz-case-meta,.mz-wrap figcaption,figure figcaption{font-size:12.5px!important;line-height:1.5!important}
  .mz-device strong,.mz-bus span,.mz-system-cap span,.mz-machine p,.mz-stage-nav span{font-size:10.5px!important}
}

/* V42: on desktop, headings wrap whole words instead of auto-hyphenating */
@media (min-width:761px){h1,h2{hyphens:manual!important;-webkit-hyphens:manual!important}}

/* V43: one-tap contact bar on phones */
.pa-contact-bar{display:none}
@media(max-width:760px){
  .pa-contact-bar{display:flex;position:fixed;z-index:60;left:0;right:0;bottom:0;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(9,22,31,.97);border-top:1px solid rgba(255,132,56,.45);box-shadow:0 -10px 30px rgba(0,0,0,.35)}
  .pa-contact-bar a{flex:1 1 0;display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 10px;border-radius:3px;font:700 15px/1.2 Arial,Helvetica,sans-serif;text-decoration:none;text-align:center}
  .pa-contact-bar-wa{background:#ff8438;color:#132c3b!important}
  .pa-contact-bar-max{background:#1b7cff;color:#fff!important}
  .pa-contact-bar-tel{border:1px solid rgba(255,255,255,.45);color:#fff!important}
  .pa-has-contact-bar body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
}
@media print{.pa-contact-bar{display:none!important}}
