/* Container and input corrections verified against the complete page matrix. */
.on-page-nav a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.sector-route h3,.editorial-copy h3{overflow-wrap:anywhere;min-width:0}
:is(.page-hero-grid,.sector-routes,.sector-products,.editorial-grid,.split-copy,.feature-columns)>*{min-width:0}
.sector-product-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:120px;width:100%;font-size:38px;font-weight:600;letter-spacing:-1px;color:#23495d}
.sector-product-placeholder small{font-size:14px;font-weight:400;letter-spacing:0}
.customer-spec-table th,.customer-spec-table td{overflow-wrap:anywhere}
dialog{max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}
dialog .close{min-width:44px;min-height:44px}
@media(min-width:561px) and (max-width:930px){
  .am-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
  .am-filters>*{min-width:0}
}
@media(max-width:1060px){
  #mainnav.open,#mega{max-height:var(--navigation-height,calc(100dvh - 160px));overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:760px){
  .utility{height:auto;min-height:44px}
  .utility>div{flex-wrap:wrap;justify-content:flex-end}
  .catalogue-search input,.filter-block select,.cart-quantity input,.selected-product-tools input{font-size:16px;min-height:44px}
  .catalogue-search input::placeholder{font-size:13px}
  .category-filter,.group-tab,.mobile-filter-toggle,.sector-action,.detail-tools a,.detail-tools button{min-height:44px}
  .sector-action{line-height:1.5}
  .product-card-actions a,.product-card-actions button{min-height:44px;align-items:center}
  .shortlist-items li{grid-template-columns:44px minmax(0,1fr) auto}
  .shortlist-items b{overflow-wrap:anywhere}
  .shortlist-items button{min-height:44px}
  .selected-product-tools input{width:64px}
  .filter-block{min-width:0}
}
@media(max-width:480px){
  .product-grid{grid-template-columns:minmax(0,1fr)}
  .product-visual{height:220px}
  .product-card-copy{padding:20px}
  .product-name{font-size:21px}
  .product-subtitle{font-size:15px;line-height:1.6}
  .product-category{font-size:11px}
  .search-row{flex-wrap:wrap}
  .catalogue-search{flex-basis:100%;height:48px}
  .search-submit{font-size:13px;padding-inline:15px}
  .mobile-filter-toggle{font-size:13px;padding:10px 15px;min-height:44px}
  .category-list{grid-template-columns:minmax(0,1fr)}
  .category-filter{font-size:14px;padding:12px}
  .result-heading{align-items:flex-start;flex-wrap:wrap}
  .result-heading h2{font-size:23px}
  .result-heading select{font-size:14px;min-height:44px;max-width:150px}
  .shortlist-actions{align-items:stretch;flex-direction:column}
  .shortlist-actions .button{width:100%;justify-content:space-between}
  .sector-route h3{font-size:23px}
}

/* R27: a short, visible next step instead of four stacked selection lists. */
.am-step-nav{padding:16px 24px;border-top:1px solid var(--am-line);background:var(--am-paper,#fff);color:var(--am-ink)}
.am-step-caption{margin:0 0 10px;font-size:14px;font-weight:650}
.am-step-nav>div{display:flex;gap:6px;flex-wrap:wrap}
.am-step-nav button,.am-search-go{min-height:44px;padding:9px 12px;font:inherit;font-size:12px;border:1px solid var(--am-line);background:transparent;color:var(--am-active);text-align:left}
.am-step-nav [aria-current=step],.am-search-go{background:var(--teal);color:#fff;border-color:var(--teal)}
.am-step-back{margin-top:10px}
.am-search-go{margin-top:8px}
.am-step-nav:focus{outline:0}
.am-column:focus-visible,.am-detail:focus-visible,#solution-panel:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
@media(min-width:931px){.am-step-nav{display:none}.am-step-back{display:none}}
@media(max-width:930px){
 .am-stepped .am-graph{grid-template-columns:minmax(0,1fr);padding:18px 16px}
 .am-stepped .am-column:not(.am-current-step),.am-stepped .am-detail:not(.am-current-step),.am-stepped .am-detail-step{display:none!important}
 .am-stepped .am-node-list{max-height:none;overflow:visible}
 .am-stepped #map-connections{display:none}
 .am-step-nav{padding:16px}
 .am-step-nav>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .am-step-nav button{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
 .am-stepped .am-product-detail{order:-1}
 .solution-panel .solution-copy{order:-1}
 .solution-panel .solution-photo{min-height:180px}
 .am-stepped .am-path{display:none}
 .am-stepped .am-qualification{padding-top:12px}
}
