/* Approved Precision artwork. Saved Blocksy branding remains available for reversal. */
#header .site-logo-container.kbbpl-lockup{display:flex;align-items:center;justify-content:center;width:240px;max-width:none;flex-shrink:0;height:auto}
#header .kbbpl-lockup picture{display:block;width:100%;line-height:0}
#header .kbbpl-lockup img.kbbpl-image{display:block;position:static;width:100%;height:auto;max-width:none;max-height:none;opacity:1;visibility:visible;transform:none}
#header [data-device="desktop"] [data-row="middle"]{--height:182px}
#header [data-device="mobile"] .site-logo-container.kbbpl-lockup{width:420px}
@media(max-width:999px){
 #header [data-device="mobile"] .site-logo-container.kbbpl-lockup{width:200px}
 #header [data-device="mobile"] [data-row="middle"]{--height:160px}
}
@media(max-width:689px){
 #header [data-device="mobile"] .site-logo-container.kbbpl-lockup{width:min(320px,calc(100vw - 90px))}
 #header [data-device="mobile"] [data-row="middle"]{--height:110px}
}
/* Keep both native account actions available when the tablet header is narrow. */
@media(min-width:690px) and (max-width:759px){
 #header [data-device="mobile"] [data-column="end"]>[data-items="primary"]{display:grid;grid-template-columns:auto 20px;gap:10px 20px;align-items:center}
 #header [data-device="mobile"] [data-id="KbbLog"]{grid-area:1/1;margin:0;justify-self:end}
 #header [data-device="mobile"] [data-id="KbbApp"]{grid-area:2/1;margin:0;justify-self:end}
 #header [data-device="mobile"] [data-id="trigger"]{grid-column:2;grid-row:1/3;margin:0}
}

/* Compact sticky identity uses Blocksy's existing Customizer logo/row sizing.
   The anchor keeps its normal width, so the native overflow menu stays stable. */
#header .kbbpl-lockup picture.kbbpl-sticky{display:none}
/* Phones already use the compact horizontal lockup; retain their readable size. */
@media(min-width:690px){
#header [data-sticky*="yes"] .site-logo-container.kbbpl-lockup{height:var(--logo-shrink-height,var(--logo-max-height,50px))}
#header [data-sticky*="yes"] .kbbpl-lockup picture.kbbpl-primary{display:none}
#header [data-sticky*="yes"] .kbbpl-lockup picture.kbbpl-sticky{display:flex;align-items:center;justify-content:flex-start;height:100%}
#header [data-sticky*="yes"] .kbbpl-lockup .kbbpl-sticky img.kbbpl-image{width:auto;height:100%;max-width:100%;object-fit:contain;object-position:left center}
}
