/* Company page only — protect full-height imagery / bottom-aligned actions
   at QHD and UHD against old max-height rules. FHD remains untouched. */
@media (min-width:1921px) {
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets
 :is(.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
 .company-v3-block-grid {
  align-items:stretch!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets
 :is(.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
 .company-v3-block-grid > figure {
  height:100%!important;min-height:100%!important;max-height:none!important;
  align-self:stretch!important;overflow:hidden!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets
 :is(.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
 .company-v3-block-grid > figure > img {
  width:100%!important;height:100%!important;min-height:100%!important;
  max-height:none!important;object-fit:cover!important;display:block!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets
 :is(.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
 .company-v3-block-copy {
  height:100%!important;min-height:0!important;align-self:stretch!important;
  display:flex!important;flex-direction:column!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets
 :is(.stage2-warehouse-block,.stage2-stock-block)
 .company-v3-block-copy > .company-v3-action {
  margin-top:auto!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets
 .stage2-tender-block .company-v3-button-row {
  margin-top:auto!important;
 }
}

/* Company QHD / UHD FHD-reference rhythm.
   All values below are actual computed 1920x1080 measurements. Shared grid,
   image geometry, section height and desktop header are left unchanged. */
@media (min-width:1921px) {
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets {
   --pa-company-s:var(--pa-wide-factor,1);
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .company-v3-block .stage2-block-lead,
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-warehouse-lead{
   font-size:calc(18px * var(--pa-company-s))!important;
   line-height:1.36!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-production-block .company-v3-list-large li strong{
   font-size:calc(23.2px * var(--pa-company-s))!important;
   line-height:1.05!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-production-block .company-v3-list-large li::before{
   width:calc(40px * var(--pa-company-s))!important;
   height:calc(40px * var(--pa-company-s))!important;
   font-size:calc(20px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-production-block .stage2-block-lead{
   margin-bottom:calc(24px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-warehouse-block .stage2-warehouse-lead{
   width:calc(620px * var(--pa-company-s))!important;
   max-width:100%!important;
   margin-bottom:calc(20px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-warehouse-block .stage2-warehouse-topline {
   margin-bottom:calc(28px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-warehouse-block .stage2-warehouse-meta-label {
   font-size:calc(13px * var(--pa-company-s))!important;
   gap:calc(8px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-warehouse-block .stage2-warehouse-meta-label img {
   width:calc(16px * var(--pa-company-s))!important;
   height:calc(16px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-warehouse-block .stage2-warehouse-list {
   gap:calc(10px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-warehouse-block .stage2-warehouse-list li {
   min-height:calc(54px * var(--pa-company-s))!important;
   padding:calc(5px * var(--pa-company-s)) 0 calc(5px * var(--pa-company-s)) calc(56px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-warehouse-block .stage2-warehouse-list li::before {
   width:calc(38px * var(--pa-company-s))!important;
   height:calc(38px * var(--pa-company-s))!important;
   font-size:calc(20px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-warehouse-block .stage2-warehouse-list small {
   margin-top:calc(4px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets :is(.stage2-stock-block,.stage2-tender-block)
 .stage2-stock-topline {
   gap:calc(7px * var(--pa-company-s))!important;
   margin-bottom:calc(11px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets :is(.stage2-stock-block,.stage2-tender-block)
 .stage2-stock-topline > div.stage2-meta-item {
   grid-template-columns:calc(18px * var(--pa-company-s)) minmax(0,1fr)!important;
   gap:calc(4px * var(--pa-company-s)) calc(9px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets :is(.stage2-stock-block,.stage2-tender-block)
 .stage2-stock-topline > div.stage2-meta-item + div.stage2-meta-item {
   padding-top:calc(7px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets :is(.stage2-stock-block,.stage2-tender-block)
 .stage2-stock-topline > div.stage2-meta-item .stage2-meta-icon {
   width:calc(16px * var(--pa-company-s))!important;
   height:calc(16px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets :is(.stage2-stock-block,.stage2-tender-block)
 .stage2-stock-list {
   gap:calc(13px * var(--pa-company-s))!important;
   margin-bottom:calc(18px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets :is(.stage2-stock-block,.stage2-tender-block)
 .stage2-stock-list li {
   min-height:calc(42px * var(--pa-company-s))!important;
   padding-left:calc(56px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets :is(.stage2-stock-block,.stage2-tender-block)
 .stage2-stock-list li::before {
   width:calc(42px * var(--pa-company-s))!important;
   height:calc(42px * var(--pa-company-s))!important;
   font-size:calc(24px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-tender-block .stage2-stock-list li::before {
   font-size:calc(21px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-production-block .company-v3-action,
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets :is(.stage2-warehouse-block,.stage2-stock-block) .company-v3-action {
   height:calc(64px * var(--pa-company-s))!important;
   min-height:calc(64px * var(--pa-company-s))!important;
   max-height:none!important;
   font-size:calc(18px * var(--pa-company-s))!important;
   padding-inline:calc(28px * var(--pa-company-s))!important;
   gap:calc(10px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-stock-block .company-v3-action {
   font-size:calc(17px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-tender-block .company-v3-button-row {
   min-height:calc(62px * var(--pa-company-s))!important;
   height:calc(62px * var(--pa-company-s))!important;
   gap:calc(12px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-tender-block .company-v3-button-row .btn {
   height:100%!important;
   min-height:0!important;
   max-height:none!important;
   font-size:calc(17px * var(--pa-company-s))!important;
   padding-inline:calc(18px * var(--pa-company-s))!important;
   gap:calc(10px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-tender-block .company-card-download img {
   width:calc(25px * var(--pa-company-s))!important;
   height:calc(25px * var(--pa-company-s))!important;
 }
 /* Partner cards: legacy rules kept logo imagery and spacing in FHD pixels. */
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-partners .stage2-block-kicker {
   font-size:calc(11px * var(--pa-company-s))!important;
   line-height:1.1!important;
   margin-bottom:calc(16px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-partners .company-v3-block-head h2 {
   font-size:calc(59.2px * var(--pa-company-s))!important;
   line-height:.94!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-partners .company-v3-block-head {
   margin-bottom:calc(16px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-partners .partner-clean-card {
   padding:calc(12px * var(--pa-company-s)) calc(14px * var(--pa-company-s))!important;
   gap:calc(16px * var(--pa-company-s))!important;
   grid-template-rows:calc(150px * var(--pa-company-s)) minmax(0,1fr)!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-partners .partner-clean-logo-stage {
   height:calc(142px * var(--pa-company-s))!important;
   padding:calc(16px * var(--pa-company-s)) calc(22px * var(--pa-company-s))!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-partners .partner-clean-logo-stage img {
   width:calc(200px * var(--pa-company-s))!important;
   height:calc(94px * var(--pa-company-s))!important;
   max-height:none!important;
 }
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets .stage2-partners .partner-clean-name {
   padding-top:calc(17px * var(--pa-company-s))!important;
   min-height:calc(60px * var(--pa-company-s))!important;
   max-width:calc(420px * var(--pa-company-s))!important;
 }
}


/* 2026-10-09 — readable Company right-column layout on QHD/UHD. */
/* LOCAL EXPERIMENT: company content density (not shipped until validated) */
@media(min-width:1921px) and (max-aspect-ratio: 37/20) {
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets {
--pa-company-reading:clamp(calc(16.5px * var(--pa-wide-factor)),calc(16.5px + (100vw - 1920px)*.02578),calc(24.75px * var(--pa-wide-factor)));
--pa-company-check:clamp(calc(42px * var(--pa-wide-factor)),calc(42px + (100vw - 1920px)*.065625),calc(63px * var(--pa-wide-factor)));
--pa-company-smallgap:calc(14px * var(--pa-wide-factor));
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
:is(.stage2-production-block,.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
:is(.company-v3-list-large,.stage2-warehouse-list,.stage2-stock-list){
height:auto!important;min-height:0!important;max-height:none!important;
display:grid!important;grid-template-columns:minmax(0,1fr)!important;
grid-template-rows:none!important;
justify-content:initial!important;align-content:start!important;
gap:var(--pa-company-smallgap)!important;
flex-shrink:1!important;margin-bottom:calc(14px * var(--pa-wide-factor))!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
:is(.stage2-production-block,.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
.company-v3-block-copy :is(.stage2-block-lead,.stage2-warehouse-lead){
font-size:calc(var(--pa-company-reading) * 1.09)!important;line-height:1.30!important;
margin-bottom:calc(13px * var(--pa-wide-factor))!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
:is(.stage2-production-block,.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
.company-v3-block-copy li{
position:relative!important;display:block!important;
height:auto!important;min-height:var(--pa-company-check)!important;
padding:calc(4px * var(--pa-wide-factor)) 0 calc(4px * var(--pa-wide-factor)) calc(var(--pa-company-check) + var(--pa-company-smallgap))!important;
font-size:var(--pa-company-reading)!important;
line-height:1.23!important;
overflow:visible!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
:is(.stage2-production-block,.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
.company-v3-block-copy li::before{
position:absolute!important;left:0!important;right:auto!important;top:50%!important;
transform:translateY(-50%)!important;
width:var(--pa-company-check)!important;
height:var(--pa-company-check)!important;
font-size:calc(var(--pa-company-check) * .56)!important;
border-radius:calc(6px * var(--pa-wide-factor))!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
:is(.stage2-production-block,.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
.company-v3-block-copy li strong{
font-size:inherit!important;line-height:inherit!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
.stage2-warehouse-block .stage2-warehouse-list li small{
font-size:calc(var(--pa-company-reading)*.82)!important;line-height:1.2!important;
margin-top:calc(3px * var(--pa-wide-factor))!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
:is(.stage2-stock-block,.stage2-tender-block)
.stage2-stock-topline .stage2-meta-item strong{
font-size:calc(var(--pa-company-reading) * 1.6)!important;line-height:1.05!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
:is(.stage2-stock-block,.stage2-tender-block)
.stage2-stock-topline .stage2-meta-item span{
font-size:calc(var(--pa-company-reading) * .75)!important;line-height:1.1!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
:is(.stage2-stock-block,.stage2-tender-block)
.stage2-stock-topline{
margin-bottom:calc(14px * var(--pa-wide-factor))!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
.stage2-warehouse-block .stage2-warehouse-topline strong{
font-size:calc(var(--pa-company-reading) * 1.6)!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
:is(.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
.company-v3-action{
font-size:calc(var(--pa-company-reading) * .95)!important;
}
html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
main.company-v3.stage2-company-exact .company-v3-assets
.stage2-tender-block .company-v3-button-row .btn{
font-size:calc(var(--pa-company-reading) * .85)!important;
}
}

@media(min-width:1921px) and (max-aspect-ratio: 37/20) {
 html.pa-rhythm-final[data-preview="v4"] body.company-client-v1
 main.company-v3.stage2-company-exact .company-v3-assets
 :is(.stage2-production-block,.stage2-warehouse-block,.stage2-stock-block,.stage2-tender-block)
 .company-v3-block-copy li::after {
   content:""!important;display:block!important;position:absolute!important;
   top:50%!important;
   left:calc(var(--pa-company-check) * .35)!important;
   width:calc(var(--pa-company-check) * .19)!important;
   height:calc(var(--pa-company-check) * .36)!important;
   border:0!important;
   border-right:calc(var(--pa-company-check) * .07) solid #fff!important;
   border-bottom:calc(var(--pa-company-check) * .07) solid #fff!important;
   transform:translateY(-65%) rotate(45deg)!important;
 }
}
