/* V121 WS-B (switch 69 v121_brand_shell; V121-BRAND BR-01..04, V121-VIS-01) -- the geometry of THE brand component
   (Views/Shared/_PbBrand.cshtml). Linked by _Layout only while the switch is on, after the V120 layer; every rule is scoped to
   html[data-pb121-brand="1"] and to the .pb121-brand* classes the component adds, so OFF = the V120 shell exactly.
   Figma 9:503 / 12:554 / 15:503 (text snapshot):
   - artwork height: 32 desktop sidebar, 24 rail, 28-32 drawer, 24-28 mobile header (24 below 360), 32-40 standalone header, footer
     24-32 (the existing 28 / 24 footer sizes are kept);
   - the hit target stays the existing 48x48 (pb-sidebar.css --pb-sb-hit), never below 44x44;
   - Lockup (mark + "PrintiBeaver") where the usable space allows, Compact (mark only) otherwise: the sidebar head is a size container
     and the wordmark shows only when the head is at least 180px wide (full sidebar, drawer); the rail and the mobile header mark are
     Compact. Without container-query support the wordmark simply stays hidden (Compact).
   - the wordmark is LTR-isolated text (dir="ltr" bdi + unicode-bidi: isolate), the artwork is never mirrored, filtered or tinted;
     colours come from the PB tokens (Light / Dark), the focus ring is the existing .pb-sb-brand:focus-visible rule.
   - nothing here shows a brand that the V120 rules hide (the Regular mobile header has no brand: the drawer carries it) and no
     header control moves: display is only ever set on the wordmark. */

/* ------------------------------------------------------------------ every context */
html[data-pb121-brand="1"] .pb121-brand.pb-sb-brand {
    gap: 8px; min-inline-size: max(44px, var(--pb-sb-hit, 48px)); min-block-size: max(44px, var(--pb-sb-hit, 48px));
    color: var(--pb-text-primary); direction: ltr; transform: none;
}
html[data-pb121-brand="1"] .pb121-brand.pb-sb-brand .pb121-brand__mark.pb-sb-logo {
    display: block; flex: none; inline-size: 32px; block-size: 32px; object-fit: contain;
    padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; filter: none; transform: none; clip-path: none;
}
html[data-pb121-brand="1"] .pb121-brand .pb121-brand__word {
    font-family: var(--pb-font-en); font-weight: 800; font-size: 17px; line-height: 1; letter-spacing: 0;
    white-space: nowrap; direction: ltr; unicode-bidi: isolate; min-inline-size: 0; overflow: hidden; text-overflow: clip;
}

/* ------------------------------------------------------------------ sidebar / Manage head: full = Lockup, rail = Compact */
html[data-pb121-brand="1"] .pb-sb .pb-sb-head { container-type: inline-size; container-name: pb121head; }
html[data-pb121-brand="1"] .pb-sb .pb-sb-head .pb121-brand .pb121-brand__word.pb-sb-word { display: none; }
@container pb121head (min-width: 180px) {
    html[data-pb121-brand="1"] .pb-sb .pb-sb-head .pb121-brand .pb121-brand__word.pb-sb-word { display: inline; }
}
html[data-pb121-brand="1"] .pb-sb .pb-sb-head .pb121-brand { flex: 0 1 auto; min-inline-size: max(44px, var(--pb-sb-hit, 48px)); }
@media (min-width: 1200px) {
    html[data-pb121-brand="1"][data-pb-sb="rail"] .pb-sb .pb-sb-head .pb121-brand .pb121-brand__mark.pb-sb-logo { inline-size: 24px; block-size: 24px; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    html[data-pb121-brand="1"] .pb-sb .pb-sb-head .pb121-brand .pb121-brand__mark.pb-sb-logo { inline-size: 24px; block-size: 24px; }
}
/* the drawer (below 768, and the Regular R2 drawer at 768-1199): Lockup at 32 */
html[data-pb121-brand="1"] .pb-sb-drawer .pb-sb .pb-sb-head .pb121-brand .pb121-brand__mark.pb-sb-logo { inline-size: 32px; block-size: 32px; }

/* ------------------------------------------------------------------ the guest's compact mobile header mark: Compact 28 (24 below 360) */
html[data-pb121-brand="1"] body #pbHeader.pb42 .pb42-brand .pb121-brand.pb-sb-brand--top .pb121-brand__mark.pb-sb-logo { inline-size: 28px; block-size: 28px; }
@media (max-width: 359.98px) {
    html[data-pb121-brand="1"] body #pbHeader.pb42 .pb42-brand .pb121-brand.pb-sb-brand--top .pb121-brand__mark.pb-sb-logo { inline-size: 24px; block-size: 24px; }
}

/* ------------------------------------------------------------------ a shell without the site navigation (_BrandMark "header") */
html[data-pb121-brand="1"] .pb121-brand--header.pb-sb-brand .pb121-brand__mark.pb-sb-logo { inline-size: 32px; block-size: 32px; }
@media (min-width: 768px) and (max-width: 1199.98px) {
    html[data-pb121-brand="1"] .pb121-brand--header.pb-sb-brand .pb121-brand__mark.pb-sb-logo { inline-size: 28px; block-size: 28px; }
}
@media (max-width: 767.98px) {
    html[data-pb121-brand="1"] .pb121-brand--header.pb-sb-brand .pb121-brand__mark.pb-sb-logo { inline-size: 28px; block-size: 28px; }
}
@media (max-width: 359.98px) {
    html[data-pb121-brand="1"] .pb121-brand--header.pb-sb-brand .pb121-brand__mark.pb-sb-logo { inline-size: 24px; block-size: 24px; }
}

/* ------------------------------------------------------------------ footer landmark: the existing 28 / 24 (the V32 one-name rule stays) */
html[data-pb121-brand="1"] .pb121-brand--footer.pb-sb-brand .pb121-brand__mark.pb-sb-logo { inline-size: 28px; block-size: 28px; }
@media (max-width: 767.98px) {
    html[data-pb121-brand="1"] .pb121-brand--footer.pb-sb-brand .pb121-brand__mark.pb-sb-logo { inline-size: 24px; block-size: 24px; }
}

@media (forced-colors: active) {
    html[data-pb121-brand="1"] .pb121-brand.pb-sb-brand:focus-visible { outline: 3px solid Highlight; }
}
