/* Shared geometry is measured from the desktop primary navigation. */
:root { --sts-action-width:calc(var(--sts-menu-width) - 25px); --sts-action-height:42px; }
body.sts-navigation-layout .sts-main-navigation nav>a,
body.sts-navigation-layout .sts-page-content .rail-secondary :is(a,button):not([hidden]) {
  display:flex!important; align-items:center; justify-content:flex-start;
  box-sizing:border-box; width:var(--sts-action-width)!important; max-width:100%;
  height:var(--sts-action-height)!important; min-height:var(--sts-action-height)!important;
  margin:0!important; padding:6px 8px!important; gap:10px; line-height:1.12;
  font-size:13px!important; text-align:left; white-space:normal;
}
.rail-secondary .contacts-actions-space { display:none }
.rail-secondary.contacts-actions a:has(>span)::before { display:none }
.rail-secondary.contacts-actions a>span:first-child,
.rail-secondary a:before { box-sizing:border-box; width:27px!important; height:27px!important; flex:0 0 27px!important }
.sts-page-content .rail-secondary .v061-relocated-tools {margin:0;padding:0;border:0}
.sts-page-content .rail-secondary .page-actions {display:grid; grid-template-columns:1fr;gap:0}
@media screen and (min-width:851px) {
  body.sts-has-secondary .sts-page-content {padding-inline-start:var(--sts-menu-width); min-width:0}
  body.sts-has-secondary .sts-page-content>.rail-secondary {
    position:fixed!important; inset:0 auto 0 var(--sts-menu-width)!important;
    box-sizing:border-box; width:var(--sts-menu-width)!important; height:100dvh!important;
    max-height:none!important; overflow:auto; align-content:start; display:block!important; z-index:41;
  }
  .sts-has-secondary :is(.contacts-page-layout,.v061-workspace,.fl-workspace,.product-with-sidebar,.products-gallery-shell):not(:has(.rail-secondary)) {grid-template-columns:minmax(0,1fr)!important}
}

@media screen {
 body.sts-frame .sts-page-content>.topbar,
 body.sts-frame .sts-page-content>.ownership-footer {
   position:fixed!important; left:0!important; right:0!important; width:auto!important;
   max-width:none!important; box-sizing:border-box; margin:0!important;
   background:#303139!important; color:white; z-index:88;
 }
 body.sts-frame .sts-page-content>.topbar {top:0!important;bottom:auto!important}
 body.sts-frame .sts-page-content>.ownership-footer {bottom:0!important;top:auto!important}
 body.sts-frame .sts-page-content {
   padding-block-start:var(--frame-top)!important;padding-block-end:var(--frame-bottom)!important
 }
 body.sts-frame .sts-page-content>.rail-secondary,
 body.sts-frame.sts-secondary-open .sts-page-content>.rail-secondary {
   position:fixed!important;top:var(--frame-top)!important;bottom:var(--frame-bottom)!important;
   height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;
   background:var(--tool-rail)!important;overflow-y:auto!important;overscroll-behavior-y:contain;
 }
 body.sts-frame .sts-main-navigation {
   top:var(--frame-top)!important;bottom:var(--frame-bottom)!important;height:auto!important;
   max-height:none!important;min-height:0!important;
 }
 .sts-navigation-layout .sts-page-content>.rail-secondary :is(a,button){transition-property:color,background-color!important}
}
@media screen and (min-width:701px) and (max-width:850px) and (min-height:501px) {
 body.sts-frame.sts-has-secondary .sts-page-content {padding-inline-start:var(--sts-menu-width)}
 body.sts-frame .sts-page-content>.rail-secondary {left:0;width:var(--sts-menu-width);box-sizing:border-box;display:block!important}
 .sts-has-secondary :is(.contacts-page-layout,.v061-workspace,.fl-workspace,.product-with-sidebar,.products-gallery-shell) {grid-template-columns:minmax(0,1fr)!important}
}
@media screen {body.sts-frame .sts-page-content>.rail-secondary,body.sts-frame.sts-secondary-open .sts-page-content>.rail-secondary{box-sizing:border-box;height:calc(100dvh - var(--frame-top) - var(--frame-bottom))!important}}

/* Once the contact tools move to the secondary rail, only the form occupies this grid. */
.sts-has-secondary .contact-workspace:not(:has(> .contact-tools)) {
  grid-template-columns:minmax(0,1fr);
  align-items:stretch;
}
.sts-has-secondary .contact-workspace > .contact-form-content {min-width:0}

@media screen {
 .sts-navigation-layout {--frame-top:var(--sts-header-height,68px);--frame-bottom:50px}
 .sts-has-secondary .v061-main:has(.products-home-v061),
 .sts-has-secondary main:has(.product-list-card) {box-sizing:border-box;width:100%;max-width:1600px;margin-inline:auto;padding:clamp(12px,1.3vw,24px)!important}
 .sts-page-content .product-list-card {height:auto;scroll-margin-block:calc(var(--frame-top) + 16px) calc(var(--frame-bottom) + 16px)}
 .sts-page-content .quote-sticky {
   position:sticky!important;inset:auto!important;top:var(--frame-top)!important;
   width:100%!important;max-width:none!important;box-sizing:border-box; margin:0 0 16px!important;
   display:flex!important;align-items:center;justify-content:space-between;gap:16px;
   padding:12px clamp(12px,1.2vw,24px)!important;background:#f4f8fc!important;color:#183953;
   z-index:22;box-shadow:none;transform:none!important;
 }
 .quote-sticky h1 {font-size:clamp(20px,1.5vw,28px)!important;line-height:1.15;margin:3px 0}
 .sts-page-content .quote-sticky img {height:72px!important;width:98px!important;object-fit:contain}
 .quote-sticky .quote-reference {margin:3px 0;line-height:1.25}
 .sts-frame .sts-page-content {min-width:0}
 .sts-frame .fl-workspace:not(:has(.fl-action-sidebar))>.fl-shell {width:100%;box-sizing:border-box;max-width:1600px;margin-inline:auto;min-width:0}
}
@media screen and (min-width:851px) {
 body.sts-frame .sts-main-navigation {top:0!important;bottom:var(--frame-bottom)!important;z-index:90}
 body.sts-frame .sts-page-content>.topbar {left:var(--sts-menu-width)!important;right:0!important}
}
@media screen and (max-width:1100px),screen and (pointer:coarse) {
 .sts-page-content .quote-sticky {position:static!important;display:flex;min-height:0!important;padding:8px 12px!important;margin:0 0 10px!important}
 .sts-page-content .quote-sticky img {width:54px!important;height:48px!important}
}

@media screen and (min-width:851px) {
 body.sts-navigation-layout[data-home-frame] {
   display:grid!important;grid-template-columns:var(--sts-menu-width) minmax(0,1fr);
   grid-template-rows:auto minmax(0,1fr) auto;height:100dvh!important;
   min-height:0!important;padding:0!important;margin:0!important;overflow:hidden;
 }
 body[data-home-frame]>.sts-page-content {display:contents!important}
 body[data-home-frame] #sts-main-navigation,
 body[data-home-frame] .sts-page-content>.topbar,
 body[data-home-frame] .sts-page-content>.ownership-footer {
   position:static!important;inset:auto!important;transform:none!important;translate:none!important;
   width:auto!important;height:auto!important;max-height:none!important;margin:0!important;align-self:stretch;
 }
 body[data-home-frame] #sts-main-navigation {grid-column:1;grid-row:1 / 3;min-height:0;overflow:hidden}
 body[data-home-frame] #sts-main-navigation .sts-menu-brand {flex:none}
 body[data-home-frame] #sts-main-navigation nav {min-height:0;overflow:auto}
 body[data-home-frame] .sts-page-content>.topbar {grid-column:2;grid-row:1}
 body[data-home-frame] .sts-page-content>.home-v061 {grid-column:2;grid-row:2;overflow:auto;min-height:0;max-width:none;box-sizing:border-box;width:100%;margin:0;padding:20px 24px}
 body[data-home-frame] .sts-page-content>.ownership-footer {grid-column:1 / -1;grid-row:3}
 body[data-home-frame] .sts-page-tools-v061:empty {display:none!important}
}

/* The call tools move into the shared rail before the workspace is displayed. */
.call-workspace:not(:has(> .operator-tools)) {
  grid-template-columns:minmax(0,1fr)!important;
  padding:clamp(10px,1.2vw,20px);
  box-sizing:border-box;
}
.call-workspace > .call-content {min-width:0; container-type:inline-size; overflow-wrap:anywhere}
.call-content .call-layout > * {min-width:0}
@container (max-width:800px) {
  .call-content .call-layout {grid-template-columns:minmax(0,1fr)}
  .call-content .call-hero {flex-wrap:wrap}
  .call-content .callback-box {grid-template-columns:minmax(0,1fr)}
}
.sts-page-content > .operator-tools.rail-secondary .operator-tool {
  flex-direction:row!important; justify-content:flex-start!important;
  align-items:center!important; text-align:left!important;
}
.sts-page-content > .operator-tools.rail-secondary .operator-tool svg {display:none!important}
.sts-page-content > .operator-tools.rail-secondary .operator-tool span {position:static;min-width:0}
.call-shell .call-contact-header {
  position:sticky; top:var(--frame-top); z-index:2;
  background:#f4f8fc!important; color:#183953; box-shadow:none; border:0;
  padding:12px 0; margin:0 0 16px; border-radius:0;
}
.call-shell .call-contact-header :is(h1,p,a,.eyebrow) {color:#183953}
.call-shell .call-quick-actions a {background:white;border:1px solid #bed0df}
@media (max-width:1100px),(pointer:coarse) {
  .call-shell .call-contact-header {position:static}
}
