/* Explicit approved slots: identity/tool left, brand/retainer/drawing right. */
/* Generic pages already have the same outer frame as the approved CP hero. */
.site-refresh .product-visual-column>.product-gallery:has(>[data-refresh-hero-slots="approved-cp"]){border:0;padding:0;background:transparent;box-shadow:none}
.site-refresh[data-refresh-adapter="compact"] [data-refresh-slot="visual"]{display:block!important}
.site-refresh[data-refresh-adapter="compact"] [data-refresh-slot="visual"]>.compact571-actions{display:none!important}
.site-refresh [data-refresh-hero-slots="approved-cp"]{
 --refresh-owner-photo-height:720px;--refresh-owner-identity-height:88px;
 display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(120px,.85fr)!important;
 grid-template-rows:150px auto minmax(0,1fr);gap:12px!important;
 position:relative!important;isolation:isolate;overflow:hidden!important;min-height:0!important;
 align-items:stretch!important;padding:18px!important;
}
.site-refresh [data-refresh-hero-slot-parent]{display:contents!important}
/* Compact legacy layouts share these exact slots, including their row span.
   The tool must never overflow into Start Here below the three photo rows. */
.site-refresh[data-refresh-adapter="compact"] [data-refresh-hero-slots]>.compact571-media{grid-column:1!important;grid-row:1/4!important}
.site-refresh [data-refresh-image-caption="redundant"]{display:none!important}
.site-refresh [data-refresh-hero-slot="tool"]>p:has(>[data-refresh-image-caption="redundant"]){display:none!important}
.site-refresh [data-refresh-photo-fit-stage]{display:block!important;position:relative!important;height:calc(var(--refresh-owner-photo-height) - var(--refresh-owner-identity-height) - 28px - var(--refresh-owner-note-height,0px))!important;width:100%!important;max-width:none!important;min-height:0!important;overflow:visible!important;margin:0!important;padding:0!important}
.site-refresh [data-refresh-hero-slot="tool"] [data-refresh-photo-fit-stage]>img[data-refresh-fit-photo][data-refresh-photo-fit-ready]{position:absolute!important;left:50%!important;top:50%!important;width:var(--refresh-fit-width)!important;height:var(--refresh-fit-height)!important;max-width:none!important;max-height:none!important;min-width:0!important;margin:0!important;padding:0!important;transform:translate(var(--refresh-fit-x),var(--refresh-fit-y))!important;object-fit:contain!important;object-position:center!important;clip-path:inset(var(--refresh-fit-clip))!important}
.site-refresh [data-refresh-hero-slot="tool"]:has(.family-photo-note:not(:empty)){--refresh-owner-note-height:46px}
.site-refresh [data-refresh-hero-slot="tool"]{
 grid-column:1!important;grid-row:1/4!important;min-width:0;align-self:start!important;
 height:var(--refresh-owner-photo-height)!important;box-sizing:border-box;
 padding:var(--refresh-owner-identity-height) 0 28px!important;position:relative!important;
}
.site-refresh [data-refresh-hero-slot="tool"] [data-refresh-angle-stage][data-refresh-angle-ready],
.site-refresh [data-refresh-hero-slot="tool"] .individual-photo-frame[data-refresh-angle-stage][data-refresh-angle-ready]{
 height:calc(var(--refresh-owner-photo-height) - var(--refresh-owner-identity-height) - 28px - var(--refresh-owner-note-height,0px))!important;
 --refresh-angle-inset-top:0px;padding:0!important;
}
.site-refresh [data-refresh-hero-slot="tool"] .individual-photo-link.individual-photo-frame{padding:0!important;min-height:0!important;height:auto!important}
.site-refresh [data-refresh-hero-slot="tool"] img[data-refresh-image="source"]:not([data-refresh-tool-angle]){
 width:100%!important;height:calc(var(--refresh-owner-photo-height) - var(--refresh-owner-identity-height) - 28px - var(--refresh-owner-note-height,0px))!important;
 max-height:calc(var(--refresh-owner-photo-height) - var(--refresh-owner-identity-height) - 28px - var(--refresh-owner-note-height,0px))!important;object-fit:contain!important;
}
.site-refresh [data-refresh-hero-slot="tool"] .apt-product-photo-link--framed{--apt-photo-stage-height:calc(var(--refresh-owner-photo-height) - var(--refresh-owner-identity-height) - 28px - var(--refresh-owner-note-height,0px))}
.site-refresh [data-refresh-hero-slot="identity"]{
 grid-column:1!important;grid-row:1!important;align-self:start;justify-self:start;position:relative;z-index:5;
 display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;pointer-events:none;
}
.site-refresh [data-refresh-hero-slot="identity"][hidden],
.site-refresh [data-refresh-hero-slot="identity"] [hidden]{display:none!important}
.site-refresh [data-refresh-hero-stroke]{
 display:inline-block;background:#ffe436;color:#151819;border:3px solid #191d1f;border-radius:1px;padding:8px 12px;
 font:400 30px/1.15 ToolTemplateAnton,Impact,sans-serif;white-space:normal;
}
.site-refresh [data-refresh-hero-handle]{font:700 17px/1.3 Arial,Helvetica,sans-serif;color:#191d1f;max-width:100%}
.site-refresh [data-refresh-hero-identity-ready] [data-refresh-hero-native-identity]{display:none!important}
.site-refresh [data-refresh-hero-slot="brand"]{
 grid-column:2!important;grid-row:1!important;align-self:start!important;justify-self:center!important;
 position:relative!important;inset:auto!important;display:flex!important;align-items:center;justify-content:center;
 width:100%!important;max-width:176px!important;height:145px!important;padding:0!important;margin:0!important;
 z-index:4;background:transparent!important;border:0!important;box-shadow:none!important;
}
.site-refresh [data-refresh-hero-slot="brand"] :is(img,svg){
 display:block!important;width:100%!important;height:auto!important;max-width:176px!important;max-height:145px!important;
 object-fit:contain!important;object-position:center!important;transform:none!important;mix-blend-mode:normal!important;padding:0!important;margin:0!important;
}
.site-refresh [data-refresh-hero-slot="retainer"]{
 grid-column:2!important;grid-row:2!important;justify-self:center!important;align-self:center!important;
 width:100%!important;max-width:168px!important;margin:0!important;padding:7px!important;z-index:4;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;
 background:#fff;border:1px solid #d5dde3;border-radius:4px;text-align:center;
}
.site-refresh [data-refresh-hero-slot="retainer"] img{width:100px!important;height:100px!important;object-fit:contain!important;max-width:100%;transform:none!important}
.site-refresh [data-refresh-hero-slot="retainer"] div>span{display:block;font-size:14px;line-height:1.35}
.site-refresh [data-refresh-hero-slot="retainer"] strong{display:block;font:700 17px/1.3 Arial,Helvetica,sans-serif!important;color:#191d1f}
.site-refresh [data-refresh-hero-slot="parts"]{
 grid-column:2!important;grid-row:3!important;align-self:end!important;justify-self:center!important;
 position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;
 width:100%!important;max-width:168px!important;margin:0!important;padding:7px 7px 0!important;box-sizing:border-box;
 gap:7px!important;overflow:hidden;border:1px solid #14852a!important;border-radius:3px!important;
 background:#fff!important;text-decoration:none!important;z-index:4;
}
.site-refresh [data-refresh-hero-slot="parts"]>img{
 width:100%!important;height:148px!important;max-height:148px!important;object-fit:contain!important;padding:0!important;margin:0!important;
}
.site-refresh [data-refresh-hero-slot="parts"]>[data-refresh-parts-label]{
 display:flex!important;align-items:center;justify-content:center;align-self:stretch;min-height:32px;
 width:calc(100% + 14px)!important;margin:0 -7px;padding:8px 6px!important;background:#14852a!important;color:#fff!important;
 text-align:center;font:700 14px/1.25 Arial,sans-serif;text-decoration:none!important;
}
.site-refresh a[data-refresh-hero-drawing-source="assistance"],
.site-refresh a[data-refresh-hero-drawing-source="verified-primary-link"],
.site-refresh a[data-refresh-hero-drawing-source="native-link"]{
 padding:12px!important;background:#14852a!important;color:#fff!important;text-align:center;font:700 15px/1.3 Arial,sans-serif;
}
.site-refresh [data-refresh-hero-drawing-source="native-link"]>.family-parts-lookup{height:auto!important;min-height:0!important;padding:0!important;background:transparent!important;color:#fff!important;font:700 15px/1.3 Arial,sans-serif!important}
/* Compact native layouts also contain their Start Here sequence. Keep it below the photograph. */
.site-refresh [data-refresh-hero-slots]>.compact571-actions{display:none!important}
.site-refresh [data-refresh-hero-slots]>[data-refresh-owner-start]{grid-column:1/-1!important;grid-row:5!important}
.site-refresh [data-refresh-hero-slots]>[data-refresh-owner-guide]{grid-column:1/-1!important;grid-row:6!important}
.site-refresh [data-refresh-hero-slots][data-refresh-slot="visual"]>.refresh-scene-background,
.site-refresh [data-refresh-hero-slots][data-refresh-slot="visual"]::before{height:calc(var(--refresh-owner-photo-height) + 36px)!important;bottom:auto!important}
.site-refresh [data-refresh-photo-choices-relocated],
.site-refresh [data-refresh-duplicate-decoration]{display:none!important}
.site-refresh .refresh-model-photo-choices{border:1px solid #cbd2db;border-radius:4px;padding:12px 16px;margin:0 0 24px;max-width:680px;background:#fff}
.site-refresh .refresh-model-photo-choices>summary{font-weight:700;cursor:pointer;min-height:30px}
.site-refresh .refresh-model-photo-choices :is(.merc-model-photos,.intake-model-gallery){display:flex;flex-wrap:wrap;gap:16px;margin:12px 0 0;border:0;padding:0}
.site-refresh .refresh-model-photo-choices figure{flex:0 1 150px;margin:0;text-align:center}
.site-refresh .refresh-model-photo-choices img{display:block;width:100%;height:140px;object-fit:contain;background:#fff}
.site-refresh .refresh-model-photo-choices figcaption{font-size:14px;font-weight:700;margin-top:6px}
.site-refresh [data-refresh-owner-start]{scroll-margin-block:20px}
/* Native canvas animations occupy one mascot footprint, including reduced motion. */
.site-refresh [data-refresh-owner-guide] :is(.tool-mascot,.refresh-arm-host,.zp-mascot-arm-host){position:relative;flex:none}
.site-refresh [data-refresh-owner-guide] :is(.tool-mascot-canvas,.refresh-mascot-arm-canvas,.zp-mascot-arm-canvas){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;pointer-events:none}
@media(max-width:900px){
 .site-refresh [data-refresh-hero-slots="approved-cp"]{--refresh-owner-photo-height:660px;--refresh-owner-identity-height:88px;grid-template-rows:128px auto minmax(0,1fr)}
 .site-refresh [data-refresh-hero-slot="brand"]{height:120px!important}
 .site-refresh [data-refresh-hero-slot="brand"] :is(img,svg){max-height:120px!important}
}
@media(max-width:600px){
 .site-refresh [data-refresh-hero-slots="approved-cp"]{--refresh-owner-photo-height:510px;--refresh-owner-identity-height:80px;grid-template-columns:minmax(0,1.55fr) minmax(95px,.8fr)!important;grid-template-rows:105px auto minmax(0,1fr);gap:8px!important;padding:12px!important}
 .site-refresh [data-refresh-hero-stroke]{font-size:23px;padding:7px 8px;border-width:2px}
 .site-refresh [data-refresh-hero-handle]{font-size:13px}
 .site-refresh [data-refresh-hero-slot="brand"]{height:100px!important;max-width:128px!important}
 .site-refresh [data-refresh-hero-slot="brand"] :is(img,svg){max-height:100px!important;max-width:128px!important}
 .site-refresh [data-refresh-hero-slot="retainer"]{padding:5px!important}
 .site-refresh [data-refresh-hero-slot="retainer"] img{width:76px!important;height:76px!important}
 .site-refresh [data-refresh-hero-slot="retainer"] div>span{font-size:11px!important}
 .site-refresh [data-refresh-hero-slot="retainer"] strong{font-size:13px!important}
 .site-refresh [data-refresh-hero-slot="parts"]>img{height:105px!important;max-height:105px!important}
 .site-refresh [data-refresh-hero-slot="parts"]>[data-refresh-parts-label]{font-size:12px}
 .site-refresh [data-refresh-hero-slots][data-refresh-slot="visual"]>.refresh-scene-background,
 .site-refresh [data-refresh-hero-slots][data-refresh-slot="visual"]::before{height:calc(var(--refresh-owner-photo-height) + 24px)!important}
}

/* Supplier placement matches the refined Viper ZP copy-column block. */
.site-refresh .refresh-supplier{display:grid;grid-template-columns:24% minmax(0,1fr);grid-template-rows:auto auto;align-items:center;width:min(100%,420px);container-type:inline-size;margin-top:24px;gap:0 12px}
.site-refresh .refresh-supplier>img{grid-column:1;grid-row:1/3;width:100%;height:auto;object-fit:contain}
.site-refresh .refresh-supplier-name{grid-column:2;grid-row:1;min-width:0}
.site-refresh .refresh-supplier-name>span{display:block;font:700 14px/1.2 Arial,sans-serif}
.site-refresh .refresh-supplier-name>a{display:block;font:400 clamp(20px,8.1cqw,34px)/1.1 ToolTemplateAnton,Impact,sans-serif;color:#080b0d;text-decoration:none;white-space:nowrap}
.site-refresh .refresh-supplier-phone{grid-column:2;grid-row:2;justify-self:start;display:flex;align-items:center;min-height:44px;margin:0;font:400 clamp(22px,7.4cqw,31px)/1.2 ToolTemplateAnton,Impact,sans-serif;color:#080b0d;text-decoration:none;white-space:nowrap}

/* Owner review: give hammer photographs a wider, taller stage while keeping
   the complete measured foreground and the separate label/drawing rail. */
.site-refresh [data-refresh-hero-slots="approved-cp"]{
 --refresh-owner-photo-height:780px;
 grid-template-columns:minmax(0,2.1fr) minmax(108px,.75fr)!important;
}
@media(max-width:900px){
 .site-refresh [data-refresh-hero-slots="approved-cp"]{--refresh-owner-photo-height:720px}
}
@media(max-width:600px){
 .site-refresh [data-refresh-hero-slots="approved-cp"]{
  --refresh-owner-photo-height:550px;grid-template-columns:minmax(0,2fr) minmax(88px,.7fr)!important;
 }
}

/* Compact tool pages have separate overview rows instead of a copy wrapper. */
.site-refresh[data-refresh-adapter="compact"][data-refresh-owner-flow] [data-refresh-slot="hero"]:has(>[data-refresh-compact-supplier]){grid-template-rows:auto auto auto auto 1fr!important}
.site-refresh[data-refresh-adapter="compact"][data-refresh-owner-flow] [data-refresh-slot="hero"]:has(>[data-refresh-compact-supplier])>[data-refresh-slot="visual"]{grid-row:1 / span 5!important}
.site-refresh [data-refresh-compact-supplier]{grid-column:2;grid-row:5;align-self:start;margin-top:0}
@media(max-width:900px){
 .site-refresh[data-refresh-adapter="compact"][data-refresh-owner-flow] [data-refresh-slot="hero"]:has(>[data-refresh-compact-supplier]){grid-template-rows:repeat(6,auto)!important}
 .site-refresh[data-refresh-adapter="compact"][data-refresh-owner-flow] [data-refresh-slot="hero"]:has(>[data-refresh-compact-supplier])>[data-refresh-slot="visual"]{grid-row:2!important}
 .site-refresh [data-refresh-compact-supplier]{grid-column:1;grid-row:6}
}

/* Chuck-selection families share weight/chuck badges and a larger contained photo. */
.site-refresh [data-refresh-hero-slots][data-refresh-weight-chuck]{
 --refresh-owner-photo-height:860px;--refresh-owner-identity-height:72px;
 grid-template-columns:minmax(0,2.8fr) minmax(120px,.7fr)!important;
}
.site-refresh [data-refresh-weight-chuck] [data-refresh-hero-slot="identity"]{position:absolute;top:18px;right:18px;left:auto;align-items:flex-end;max-width:calc(100% - 36px)}
.site-refresh [data-refresh-hero-weight],.site-refresh [data-refresh-hero-chuck]{
 display:inline-block;background:#ffe436;color:#151819;border:3px solid #191d1f;border-radius:3px;
 padding:8px 12px;font:400 27px/1.2 ToolTemplateAnton,Impact,sans-serif;box-sizing:border-box;
}
.site-refresh [data-refresh-hero-chuck]{position:absolute;z-index:5;left:18px;top:calc(var(--refresh-owner-photo-height) + 18px);transform:translateY(-100%);max-width:calc(100% - 152px);font-size:23px;text-align:left;pointer-events:auto}
.site-refresh [data-refresh-hero-chuck]::before{content:"CHUCK SIZE";display:block;font:700 11px/1.2 Arial,sans-serif;letter-spacing:.06em;margin-bottom:3px}
.site-refresh [data-refresh-hero-chuck][hidden]{display:none!important}
.site-refresh [data-refresh-weight-chuck] [data-refresh-hero-slot="tool"]{padding-bottom:76px!important}
.site-refresh [data-refresh-weight-chuck] :is([data-refresh-photo-fit-stage],[data-refresh-hero-slot="tool"] img[data-refresh-image="source"]:not([data-refresh-tool-angle]),[data-refresh-hero-slot="tool"] [data-refresh-angle-stage][data-refresh-angle-ready]){height:calc(var(--refresh-owner-photo-height) - var(--refresh-owner-identity-height) - 76px - var(--refresh-owner-note-height,0px))!important;max-height:none!important}
.site-refresh [data-refresh-weight-chuck] [data-refresh-hero-slot="brand"]{margin-top:92px!important;max-width:135px!important;height:120px!important;transform:none!important}
.site-refresh [data-refresh-weight-chuck] [data-refresh-hero-slot="parts"]{max-width:120px!important}
.site-refresh [data-refresh-weight-chuck] [data-refresh-hero-slot="parts"]>img{height:120px!important;max-height:120px!important}
@media(max-width:900px){.site-refresh [data-refresh-hero-slots][data-refresh-weight-chuck]{--refresh-owner-photo-height:790px}}
@media(max-width:600px){
 .site-refresh [data-refresh-hero-slots][data-refresh-weight-chuck]{--refresh-owner-photo-height:610px;--refresh-owner-identity-height:64px;grid-template-columns:minmax(0,2.8fr) minmax(88px,.7fr)!important}
 .site-refresh [data-refresh-weight-chuck] [data-refresh-hero-slot="identity"]{top:12px;right:12px}
 .site-refresh [data-refresh-hero-weight]{font-size:23px;padding:7px 9px;border-width:2px}
 .site-refresh [data-refresh-hero-chuck]{left:12px;top:calc(var(--refresh-owner-photo-height) + 12px);max-width:calc(100% - 116px);font-size:18px;padding:7px 8px;border-width:2px}
 .site-refresh [data-refresh-weight-chuck] [data-refresh-hero-slot="brand"]{margin-top:82px!important;height:88px!important}
 .site-refresh [data-refresh-weight-chuck] [data-refresh-hero-slot="parts"]>img{height:90px!important;max-height:90px!important}
}

/* Preserve the measured bitmap canvas after the target stage is enlarged. */
.site-refresh [data-refresh-weight-chuck] [data-refresh-hero-slot="tool"] [data-refresh-photo-fit-stage]>img[data-refresh-fit-photo][data-refresh-photo-fit-ready]{height:var(--refresh-fit-height)!important;width:var(--refresh-fit-width)!important}

/* Bound every brand image to its own frame below the weight badge. Native
   CP/Tamco aspect-ratio overrides must not shrink or overflow this slot. */
.site-refresh [data-refresh-weight-chuck] [data-refresh-hero-slot="brand"] :is(img,svg){width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}

/* Larger tool silhouettes inside the same frame; keep the brand/drawing rail separate. */
.site-refresh [data-refresh-slot="hero"]>[data-refresh-slot="visual"]{padding:12px}
.site-refresh [data-refresh-hero-slots="approved-cp"]{grid-template-columns:minmax(0,3fr) minmax(108px,.7fr)!important;gap:10px!important}
.site-refresh [data-refresh-hero-slots="approved-cp"]:not([data-refresh-weight-chuck]):not(:has([data-refresh-hero-handle]:not([hidden]))){--refresh-owner-identity-height:64px}
@media(max-width:600px){
 .site-refresh [data-refresh-slot="hero"]>[data-refresh-slot="visual"]{padding:8px}
 .site-refresh [data-refresh-hero-slots="approved-cp"]{grid-template-columns:minmax(0,3fr) minmax(88px,.7fr)!important;gap:8px!important}
 .site-refresh [data-refresh-hero-slots="approved-cp"]:not([data-refresh-weight-chuck]):not(:has([data-refresh-hero-handle]:not([hidden]))){--refresh-owner-identity-height:56px}
}
@media(min-width:901px){
 .site-refresh[data-refresh-owner-flow] [data-refresh-slot="hero"]{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important}
 .site-refresh [data-refresh-hero-slots="approved-cp"]:not([data-refresh-weight-chuck]){--refresh-owner-photo-height:860px}
}

/* A real drawing thumbnail replaces the old generic document icon. */
.site-refresh [data-refresh-hero-slot="parts"]>img~svg{display:none!important}

/* Match the Viper Step 1 landing for every Start Here destination. */
.site-refresh [data-refresh-start-target]{scroll-margin-top:20px!important}

/* Full-length tamper silhouettes get a larger stage, without changing proportions. */
.site-refresh [data-refresh-hero-slots="approved-cp"]:is([data-refresh-art-family="1510"],[data-refresh-art-family="1511"],[data-refresh-art-family="1512"],[data-refresh-art-family="1520"],[data-refresh-art-family="1540"],[data-refresh-art-family="1541"],[data-refresh-art-family="1562"],[data-refresh-art-family="1570"],[data-refresh-art-family="1914"]){--refresh-owner-photo-height:1000px!important}
@media(max-width:900px){.site-refresh [data-refresh-hero-slots="approved-cp"]:is([data-refresh-art-family="1510"],[data-refresh-art-family="1511"],[data-refresh-art-family="1512"],[data-refresh-art-family="1520"],[data-refresh-art-family="1540"],[data-refresh-art-family="1541"],[data-refresh-art-family="1562"],[data-refresh-art-family="1570"],[data-refresh-art-family="1914"]){--refresh-owner-photo-height:800px!important}}
@media(max-width:600px){.site-refresh [data-refresh-hero-slots="approved-cp"]:is([data-refresh-art-family="1510"],[data-refresh-art-family="1511"],[data-refresh-art-family="1512"],[data-refresh-art-family="1520"],[data-refresh-art-family="1540"],[data-refresh-art-family="1541"],[data-refresh-art-family="1562"],[data-refresh-art-family="1570"],[data-refresh-art-family="1914"]){--refresh-owner-photo-height:680px!important}}

/* Owner size pass: a wider photo column and extra height let the existing
   measured-foreground fit grow safely. The parts/retainer rail stays separate. */
.site-refresh [data-refresh-hero-slots="approved-cp"]{grid-template-columns:minmax(0,3.6fr) minmax(108px,.7fr)!important}
@media(min-width:901px){
 .site-refresh[data-refresh-owner-flow] [data-refresh-slot="hero"]{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important}
 .site-refresh [data-refresh-hero-slots="approved-cp"]:not([data-refresh-weight-chuck]){--refresh-owner-photo-height:940px}
 .site-refresh [data-refresh-hero-slots="approved-cp"][data-refresh-weight-chuck]{--refresh-owner-photo-height:940px}
}
@media(min-width:601px) and (max-width:900px){
 .site-refresh [data-refresh-hero-slots="approved-cp"]{--refresh-owner-photo-height:780px}
 .site-refresh [data-refresh-hero-slots="approved-cp"][data-refresh-weight-chuck]{--refresh-owner-photo-height:850px}
}
@media(max-width:600px){
 .site-refresh [data-refresh-hero-slots="approved-cp"]{--refresh-owner-photo-height:610px;grid-template-columns:minmax(0,3.6fr) minmax(88px,.7fr)!important}
 .site-refresh [data-refresh-hero-slots="approved-cp"][data-refresh-weight-chuck]{--refresh-owner-photo-height:670px}
}

/* Normalize transparent margins so CP and the other marks have the same
   visible footprint as Airrex. Preserve proportions and the existing rail. */
.site-refresh [data-refresh-hero-slot="brand"] [data-refresh-brand-art]{
 display:block;position:relative;overflow:hidden;flex:none;
 width:min(100%,calc(120px * var(--brand-art-ratio)));aspect-ratio:var(--brand-art-ratio);
}
.site-refresh [data-refresh-hero-slot="brand"] [data-refresh-brand-art]>img{
 position:absolute!important;left:var(--brand-art-left)!important;top:var(--brand-art-top)!important;
 width:var(--brand-art-width)!important;height:auto!important;max-width:none!important;max-height:none!important;
 aspect-ratio:auto!important;object-fit:contain!important;
}
@media(max-width:600px){
 .site-refresh [data-refresh-hero-slot="brand"] [data-refresh-brand-art]{width:min(100%,calc(88px * var(--brand-art-ratio)))}
}

/* Legacy gallery aspect ratios must not flatten square or tall brand artwork. */
.site-refresh [data-refresh-hero-slot="brand"] img{aspect-ratio:auto!important}

.site-refresh [data-refresh-brand-file="chicago-pneumatic-cp-sharp.svg"]{--brand-art-ratio:1.00000000;--brand-art-width:118.89763780%;--brand-art-left:-8.66141732%;--brand-art-top:-6.29921260%;}
.site-refresh [data-refresh-brand-file="chicago-pneumatic-transparent-20261024.png"]{--brand-art-ratio:1.00769231;--brand-art-width:196.18320611%;--brand-art-left:-47.32824427%;--brand-art-top:-4.61538462%;}
.site-refresh [data-refresh-brand-file="atlas-copco-transparent-20261024.png"]{--brand-art-ratio:2.24175824;--brand-art-width:109.55882353%;--brand-art-left:-4.84068627%;--brand-art-top:-11.40109890%;}
.site-refresh [data-refresh-brand-file="ingersoll-rand-transparent-20261024.png"]{--brand-art-ratio:4.55672269;--brand-art-width:100.00000000%;--brand-art-left:0.00000000%;--brand-art-top:-25.84033613%;}
.site-refresh [data-refresh-brand-file="rhino-transparent-20261024.png"]{--brand-art-ratio:2.11994949;--brand-art-width:107.80226325%;--brand-art-left:-2.26325194%;--brand-art-top:-4.29292929%;}
.site-refresh [data-refresh-brand-file="sullair-transparent-20261024.png"]{--brand-art-ratio:2.45299145;--brand-art-width:100.00000000%;--brand-art-left:0.00000000%;--brand-art-top:0.00000000%;}
.site-refresh [data-refresh-brand-file="tamco-transparent-20261024.png"]{--brand-art-ratio:0.81470800;--brand-art-width:100.35398230%;--brand-art-left:-0.17699115%;--brand-art-top:0.00000000%;}

/* Give rock drills the width between the top badges and bottom accessories. */
.site-refresh[data-refresh-owner-flow] [data-refresh-rock-drill-photo] [data-refresh-hero-slot="brand"] {
  grid-column:1/-1!important; grid-row:1!important; justify-self:start!important;
  position:absolute!important; inset:0 auto auto 0!important; margin:0!important;
  width:clamp(80px,22%,130px)!important; height:var(--refresh-owner-identity-height)!important;
  min-height:0!important; max-height:64px!important;
}
.site-refresh[data-refresh-owner-flow] [data-refresh-rock-drill-photo] [data-refresh-hero-slot="tool"],
.site-refresh[data-refresh-owner-flow] [data-refresh-rock-drill-photo]>.compact571-media {
  grid-column:1/-1!important;
}

.site-refresh [data-refresh-rock-drill-photo] [data-refresh-photo-fit-stage]>img[data-refresh-fit-photo][data-refresh-photo-fit-ready] {
  left:var(--drill-center-x,50%)!important; top:var(--drill-center-y,50%)!important;
}
