/* onbleu brand (Jared's rulings, 2026-11-18). Presentation only. */

/* J1: the wordmark is the published onbleu artwork, drawn by the shared
   #bleu-wordmark symbols, and never narrower than the Brand Bible's 96px
   digital minimum: 25px tall at the artwork's 3.946:1 aspect is 98.6px. */
:root .wm .wmsvg,:root svg.wmsvg{height:max(var(--wm-h,25px),25px)!important;width:auto!important;aspect-ratio:3946/1000!important;min-width:98px;max-width:none}
:root .wm{max-width:none;flex-shrink:0}
.login-brandbar .wm,.login-brandbar .login-logo{width:auto!important}
/* The live unified layer sizes the swapped wordmark at 104px on sign-in,
   88px in the shell and 76-80px on phones. The Brand Bible minimum is 96px,
   so every size holds at 99px (about 25px tall). */
html[data-bleu-unified] body :is(#shell,#login) .wm svg.wmsvg[data-bux-wordmark],
html[data-bleu-unified] body :is(#shell,#login) .wm svg[data-bux-wordmark]{width:99px!important;min-width:99px!important;max-width:none!important;height:auto!important}
/* Clear space: two dot diameters (about 9.5px at 25px tall) between the
   wordmark and the Menu button's 44px tap area in the phone and tablet bar. */
html body #shell main>.topbar .topbrand .wm{margin-inline-start:6px}
#kiosk .k6-brand .wm{width:auto!important;flex:0 0 auto!important;height:44px}
#kiosk .k6-brand .wm .wmsvg{width:auto!important;height:26px!important}
html.bleu-mc:root #shell main>.topbar .topbrand .wm,html.bleu-mc:root body #shell .rail.navopen>.brand .wm{height:26px}

/* The compact rail is narrower than the full wordmark's minimum, so it shows
   the published compact "on." mark instead (Brand Bible minimum 24px). */
#shell.railcompact .brand .wm{max-width:none;width:28px;height:28px;background:url("/features/claude-onbleu-brand/favicon.c58e5523ed1a00db.svg") center/contain no-repeat;border-radius:6px;position:relative}
html[data-theme="dark"] body #shell.railcompact .brand .wm{background-image:url("/features/claude-onbleu-brand/compact-reverse.5c967acc670d4b3a.svg")}
/* The full wordmark stays in the accessibility tree (its name is onbleu); it is
   only visually hidden behind the compact mark. */
html body #shell.railcompact .brand .wm .wmsvg,html body #shell.railcompact .brand .wm svg[data-bux-wordmark]{position:absolute!important;inset:0!important;width:1px!important;min-width:0!important;max-width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;opacity:0!important;pointer-events:none}

/* J2: the sign-in title is Geist 600, no full stop. App-wide page titles
   belong to the shell's page-header pattern, not this leaf. */
html body #login h1#signinTitle{font-weight:600}

/* J2: serif only for car names, and only where the car is the subject of the
   screen (CODEX.md; RULINGS 2 is a limit, not a mandate): the car record's
   title and its compact top bar. List rows, cards, table cells, calendar
   events and every other record keep Geist. The live tokens resolve --serif
   to Geist, so the face is named; the root's Google Fonts link loads
   Instrument Serif (regular 400 only). */
html body #drawer#drawer.brs[data-brs="asset"] .brs-title,
html body #drawer#drawer.brs[data-brs="asset"] .brs-top-t{font-family:"Instrument Serif",ui-serif,Georgia,serif!important;font-weight:400!important;letter-spacing:0!important}

/* J5: a small pop only after a confirmed outcome. The Payables sheet sets
   .is-saved on a cell only once the returned row or read-back confirms it. */
@keyframes onbleu-confirmed{0%{transform:scale(1)}50%{transform:scale(1.05)}100%{transform:scale(1)}}
.ap-sheet-table.ap-edit-table .ap-sheet-cell.is-saved .ap-cell-icon{display:inline-flex;animation:onbleu-confirmed 240ms cubic-bezier(.2,0,0,1) 1}
@media (prefers-reduced-motion:reduce){
 .ap-sheet-table.ap-edit-table .ap-sheet-cell.is-saved .ap-cell-icon{animation:none}
}
