
/* Geist variable font, SIL Open Font License 1.1; source: Google Fonts / Vercel. */
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/features/unified-experience/fonts/Geist-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/features/unified-experience/fonts/Geist-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/features/unified-experience/fonts/Geist-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/features/unified-experience/fonts/Geist-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/features/unified-experience/fonts/Geist-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Unified onbleu presentation. Load last; runtime.js owns the opt-in attribute.
 * Approved Nov 9 identity: private-brand/private-assets/system-spec.json at
 * e0cf5e0fb4d973af1fcc6c9ce1a1bafb8e6a3815 (onbleu modes). Existing token
 * names remain compatibility aliases; no logo is drawn or typeset here.
 * Native state, hidden attributes, table semantics, Work tracks, Books virtual
 * row heights, frozen columns and editor geometry remain owned by each view.
 * Hooks annotate existing nodes; they do not imply a new layout component.
 */
html[data-bleu-unified] #shell #content .cv-views[data-bux-consolidated] { display: none !important; }
/* Paged Customers' legacy page-wide button rule must not restyle shared
 * header controls. Keep the shared primary, active states and hidden rules. */
html[data-bleu-unified] #shell #content .cpp-page .blh .blh-ib {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--bux-radius);
}
html[data-bleu-unified] #shell #content .cpp-page .blh .blh-ib:not(.blh-primary) {
  background: transparent;
}
html[data-bleu-unified] #shell #content .cpp-page .blh :is(.blh-filter, .blh-sort) {
  padding-inline: 8px;
}
html[data-bleu-unified] #shell #content .cpp-page .blh :is(.blh-filter.on, .blh-sort.on) {
  background: var(--well);
}
/* Only this native Customers table opts into phone cards. The runtime derives
 * labels from real headers and retains explicit native table semantics. Every
 * body cell remains visible, including permission-allowed financial facts.
 * The collection-view controller owns spreadsheet mode, roles and resizing;
 * these rules cease matching as soon as that mode is selected. */
@media (max-width: 640px) {
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) {
    display: block;
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: 100%;
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--card);
  }
  /* Visually retain a header for screen readers; never display:none it or
   * replace its actual labels with guessed names or positional CSS content. */
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > thead {
    display: block;
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-inline-size: 0;
    inline-size: 100%;
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px 12px;
    min-inline-size: 0;
    padding: 10px 12px;
    border-block-end: 1px solid var(--hairline);
    background: var(--card);
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr:last-child {
    border-block-end: 0;
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr > :is(td, th) {
    display: block;
    grid-column: span 2;
    min-inline-size: 0;
    max-inline-size: 100%;
    padding: 0;
    border: 0;
    color: var(--ink);
    font: 400 14px/1.5 var(--font-ui);
    font-variant-numeric: tabular-nums;
    text-align: start;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr > :first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr > [data-bux-label^="We "] { grid-column: span 3; }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr > [data-bux-label="Last deal"] { font-size:13px; }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr > [colspan] {
    grid-column: 1 / -1;
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr > [data-bux-label]::before {
    content: attr(data-bux-label);
    display: block;
    margin-block-end: 2px;
    color: var(--stone);
    font: 400 12px/1.5 var(--font-ui);
    overflow-wrap: anywhere;
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr > :first-child::before {
    content: none;
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) .cpp-name {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    inline-size: auto;
    max-inline-size: 100%;
    font: 600 15px/1.4 var(--font-ui);
    color: var(--ink);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) small {
    font: 400 12px/1.5 var(--font-ui);
  }
}
/* Sheets live beside the shell. Their native manager still owns focus, Back,
 * dismissal and inertness; the same control and surface tokens apply here. */
html[data-bleu-unified] .blh-sheet .blh-fld :is(input, select) {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: 100%;
  min-block-size: 44px;
  padding: 10px 12px;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: 400 16px/1.4 var(--font-ui);
}
html[data-bleu-unified] .blh-sheet .blh-btn { border-radius: 10px; }
html[data-bleu-unified] .blh-sheet .blh-primary-btn {
  background: var(--bleu);
  border-color: var(--bleu);
  color: var(--on-miami);
}
html[data-bleu-unified] .blh-sheet.is-phone .blh-panel { border-radius: 20px 20px 0 0; }
html[data-bleu-unified] .blh-sheet:not(.is-phone):not(.is-anchored) .blh-panel { border-radius: 20px; }
html[data-bleu-unified] {
  --paper: #F2EDE4;
  --card: #FFFFFF;
  --sheet: #FFFFFF;
  --well: #EBECF1;
  --linen: #F2EDE4;
  --chip: #EBECF1;
  --ink: #071A3D;
  --stone: #56657A;
  --hairline: #D6DEE8;
  --field-border: #64748B;
  --bleu: #0075E1;
  --bleu-deep: #0064C2;
  --signal: #4DA6FF;
  --on-miami: #FFFFFF;
  --bux-action-hover: #0064C2;
  --bux-action-pressed: #0053A6;
  --bux-selected: #EAF4FF;
  --bux-selected-text: #0064C2;
  --bux-disabled-bg: #E5EAF0;
  --bux-disabled-text: #64748B;
  --font-ui: 'Geist', system-ui, sans-serif;
  --font-display: var(--font-ui);
  --font-figures: var(--font-ui);
  --serif: var(--font-ui);
  --display: var(--font-ui);
  --radius-control: 10px;
  --radius-card: 12px;
  --radius-sheet: 20px;
  --v2-r-sm: 10px;
  --v2-r-md: 12px;
  --v2-primary: var(--bleu);
  --v2-primary-hover: var(--bux-action-hover);
  --v2-on-primary: var(--on-miami);
  --focus-color: var(--bleu);
  --alert: #B42318;
  --alert-bg: #FFF0EE;
  --amber: #92400E;
  --amber-bg: #FFF7ED;
}
html[data-bleu-unified][data-theme=dark] {
  --paper: #000000;
  --card: #171717;
  --sheet: #171717;
  --well: #101010;
  --linen: #101010;
  --chip: #262626;
  --ink: #FFFFFF;
  --stone: #BDBDBD;
  --hairline: #3D3D3D;
  --field-border: #929292;
  --bleu: #4DA6FF;
  --bleu-deep: #77BBFF;
  --on-miami: #000000;
  --bux-action-hover: #77BBFF;
  --bux-action-pressed: #2992F5;
  --bux-selected: #173D69;
  --bux-selected-text: #A7D2FF;
  --bux-disabled-bg: #262626;
  --bux-disabled-text: #BDBDBD;
  --alert: #FF8A80;
  --alert-bg: #351B1F;
  --amber: #F2C265;
  --amber-bg: #302510;
}
@media (prefers-color-scheme: dark) {
  html[data-bleu-unified]:not([data-theme=light]) {
    --paper: #000000;
    --card: #171717;
    --sheet: #171717;
    --well: #101010;
    --linen: #101010;
    --chip: #262626;
    --ink: #FFFFFF;
    --stone: #BDBDBD;
    --hairline: #3D3D3D;
    --field-border: #929292;
    --bleu: #4DA6FF;
    --bleu-deep: #77BBFF;
    --on-miami: #000000;
    --bux-action-hover: #77BBFF;
    --bux-action-pressed: #2992F5;
    --bux-selected: #173D69;
    --bux-selected-text: #A7D2FF;
    --bux-disabled-bg: #262626;
    --bux-disabled-text: #BDBDBD;
    --alert: #FF8A80;
    --alert-bg: #351B1F;
    --amber: #F2C265;
    --amber-bg: #302510;
  }
}
/* Preserve native expanded/collapsed rail and light/dark logo visibility. */
html[data-bleu-unified] :is(#shell,#login) .wm svg[data-bux-wordmark] {
  width: 104px !important;
  min-width: 0 !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 611.4816 / 154.954286;
  flex: none;
  overflow: hidden;
}
@media (max-width: 650px) {
  html[data-bleu-unified] :is(#shell,#login) .wm svg[data-bux-wordmark] { width: 80px !important; }
}
/* Higher-specificity older desktop rules force hidden bars/chips to display.
 * Restore only the native hidden attribute; never infer content visibility. */
html[data-bleu-unified] #shell #content .blh[hidden],
html[data-bleu-unified] #shell #content .blh [hidden] { display: none !important; }
html[data-bleu-unified] #shell #content,
html[data-bleu-unified] #pp-root {
  --bux-gap: 12px;
  --bux-pad: 20px;
  --bux-radius: 10px;
  --bux-card-radius: 12px;
  --bux-title: 26px;
  --bux-hover: color-mix(in srgb, var(--ink) 4%, var(--card));
  color: var(--ink);
  font-family: var(--font-ui);
  min-inline-size: 0;
}
/* Operational lists may use the full viewport. Native Work and Books own
 * their workspace gutters because their panes/virtual viewports depend on it. */
html[data-bleu-unified] #shell #content[data-bux-page]:not(:has(.wv2, .bk)) {
  padding-inline-start: max(var(--bux-pad), env(safe-area-inset-left, 0px));
  padding-inline-end: max(var(--bux-pad), env(safe-area-inset-right, 0px));
}
/* Work and Books retain their native outer gutter and internal pane tracks. */
html[data-bleu-unified] #shell #content:has(.wv2, .bk) { --bux-pad: 16px; }
html[data-bleu-unified] #shell #content[data-bux-page] {
  max-inline-size: none;
}
html[data-bleu-unified] #shell #content :is(
  .cw[data-commission-private=page], .ac-page, .wa-app, .hub-center
) {
  max-inline-size: none;
  inline-size: 100%;
  box-sizing: border-box;
}
html[data-bleu-unified] #shell #content .ac-page { padding-inline: 0; }

/* One operational heading scale. Never restyle editorial hero headings. */
html[data-bleu-unified] #shell #content :is(
  [data-bux-title], .blh .blh-title, .wv2-h1, .bk h1.view.bk-h1,
  .cw[data-commission-private=page] .cw-heading h1, .ac-page > .ac-heading h1,
  .tpx > .tpx-header h1.view, .bi-heading h1, .bh-heading h1,
  .ccms-head h1, .wss-head h1, .wa-app h1.view
) {
  margin-block: 0;
  max-inline-size: 100%;
  min-inline-size: 0;
  font: 700 var(--bux-title)/1.2 var(--font-ui);
  letter-spacing: -.025em;
  color: var(--ink);
  white-space: normal;
  overflow-wrap: anywhere;
}
html[data-bleu-unified] #shell #content :is(
  [data-bux-header], .cw-heading, .ac-page > .ac-heading,
  .tpx-header, .bi-heading, .bh-heading, .ccms-head, .wss-head, .bk-head
) {
  min-inline-size: 0;
  gap: 12px;
}
html[data-bleu-unified] #shell #content :is(
  .blh-sub, .cw-subtitle, .bk-sub, .wa-subtitle, .ac-heading p
) {
  color: var(--stone);
  font: 400 13px/1.5 var(--font-ui);
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Keep blh's display:contents on phones: its sticky bar must remain a child
 * of the list's containing block. Display rules never match hidden controls. */
html[data-bleu-unified] #shell #content .blh {
  --blh-fill: var(--well);
  --blh-fill-on: var(--bux-selected);
  --blh-press: var(--bux-hover);
}
html[data-bleu-unified] #shell #content .blh-top {
  gap: 8px;
  min-block-size: 44px;
  margin-block-end: 8px;
}
html[data-bleu-unified] #shell #content .blh-line {
  flex-wrap: wrap;
  gap: 4px 8px;
}
html[data-bleu-unified] #shell #content .blh-count {
  font: 500 13px/1.4 var(--font-figures);
  font-variant-numeric: tabular-nums;
  color: var(--stone);
}
html[data-bleu-unified] #shell #content .blh-bar {
  gap: 8px;
  padding-block: 4px;
  background: var(--paper);
}
html[data-bleu-unified] #shell #content :is(.blh-search, .ac-search, .ful-search) {
  box-sizing: border-box;
  min-inline-size: 0;
  min-block-size: 44px;
  border: 0;
  border-radius: var(--bux-radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--field-border);
}
html[data-bleu-unified] #shell #content .blh .blh-q {
  block-size: 44px;
  min-inline-size: 0;
  font-size: 16px;
}
html[data-bleu-unified] #shell #content .blh-search:focus-within {
  outline: 2px solid var(--bleu-deep);
  outline-offset: 2px;
  box-shadow: none;
}
html[data-bleu-unified] #shell #content .blh-search .blh-ib {
  inline-size: 44px;
  min-inline-size: 44px;
}
html[data-bleu-unified] #shell #content .blh :is(.blh-filter, .blh-sort) {
  inline-size: auto;
  min-inline-size: 44px;
  min-block-size: 44px;
  gap: 5px;
  padding-inline: 8px;
  border-radius: var(--bux-radius);
}
html[data-bleu-unified] #shell #content .bux-control-label {
  font: 500 13px/1.3 var(--font-ui);
  white-space: nowrap;
}
/* Added labels are decorative duplicates of the native accessible names.
 * Hiding only these spans preserves every native control and its state. */
@media (max-width: 650px) {
  html[data-bleu-unified] #shell #content .blh-bar { gap:6px; }
  html[data-bleu-unified] #shell #content .bux-control-label {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (max-width: 389px) {
  html[data-bleu-unified] #shell #content .blh-bar { gap:4px; }
}
html[data-bleu-unified] #shell #content .blh-primary:not([hidden]),
html[data-bleu-unified] #shell #content [data-bux-primary]:not([hidden]) {
  background: var(--bleu);
  border-color: var(--bleu);
  color: var(--on-miami);
  border-radius: var(--bux-radius);
  min-block-size: 44px;
}
html[data-bleu-unified] #shell #content :is(.blh-primary, [data-bux-primary]):active:not(:disabled) {
  background: var(--bux-action-pressed);
  border-color: var(--bux-action-pressed);
}
html[data-bleu-unified] #shell #content :is(.blh-primary, [data-bux-primary]):disabled {
  background: var(--bux-disabled-bg);
  border-color: var(--hairline);
  color: var(--bux-disabled-text);
}
html[data-bleu-unified] #shell #content .blh-chiprow {
  gap: 20px;
  padding-block: 0;
  min-block-size: 44px;
  scroll-padding-inline: 16px;
}
html[data-bleu-unified] #shell #content .blh-chip {
  box-sizing: border-box;
  block-size: auto;
  min-block-size: 44px;
  padding: 10px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: 500 13px/1.4 var(--font-ui);
}
/* Existing pseudo hit areas overlap adjacent chips once targets reach 44px. */
html[data-bleu-unified] #shell #content .blh-chip::before { inset: 0; }
html[data-bleu-unified] #shell #content .blh-chip.on {
  color: var(--bleu-deep);
  background: transparent;
  box-shadow: inset 0 -2px var(--bleu);
}
html[data-bleu-unified] #shell #content .blh-chip.is-mode.on {
  color: var(--card);
  background: var(--ink);
}

/* Native page toolbars keep flex/grid/contents and all disclosure semantics. */
html[data-bleu-unified] #shell #content :is(
  [data-bux-toolbar], .cw-toolbar, .cw-filters, .tpx-controls, .tpx-tools,
  .tpx-actions, .ac-list-tools, .bk-tools
) { min-inline-size: 0; gap: 8px; }
html[data-bleu-unified] #shell #content :is(
  .cw-filters input:not([type=checkbox]):not([type=radio]), .cw-filters select,
  .tg-toolbar input:not([type=checkbox]), .tg-toolbar select, .ac-search input,
  .ac-group-picker select, .tpx-controls input, .tpx-controls select
) {
  box-sizing: border-box;
  min-inline-size: 0;
  max-inline-size: 100%;
  min-block-size: 44px;
  font-size: 16px;
  border-radius: var(--bux-radius);
  color: var(--ink);
}
html[data-bleu-unified] #shell #content :is(
  .cw-more-filters > summary, .cw-options > summary, .cw-filter-chip,
  .bk-tools .bk-btn, .bk-tabs button, .bt-tool, .bt-qa, .bt-fix,
  .bt-status-fix, .bt-sort, .ins-retry, .ins-sig-a
) { min-block-size: 44px; }
html[data-bleu-unified] #shell #content .bt-qa { min-inline-size: 44px; }
/* Two 44px quick actions plus their gap and the native cell's 16px padding. */
html[data-bleu-unified] #shell #content .bt-col-quick { width: 108px; }
html[data-bleu-unified] #shell #content :is(.cw-scope, .bk-tabs) {
  max-inline-size: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 8px;
}

/* Table regions remain real tables. Widths, colgroups, sticky positions,
 * inline resize values and Books/Team editing states are never replaced. */
html[data-bleu-unified] #shell #content :is(
  [data-bux-table-region], .iv-table-wrap, .cu2-table-wrap, .ap-sheet-scroll,
  .bls-scroll, .bls-review-scroll, .wa-table-scroll, .cw-desktop,
  .imp-scroll, .bh-scroll, .bv-table-wrap, .bv-bd-wrap, .ins-dt-wrap
) {
  min-inline-size: 0;
  max-inline-size: 100%;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--field-border) var(--card);
}
html[data-bleu-unified] #shell #content [data-bux-table-region][data-bux-overflow=true] {
  overflow-x: auto;
  scroll-padding-block: 48px 16px;
}
html[data-bleu-unified] #shell #content .bux-scroll-hint {
  margin: 0;
  padding: 6px 12px;
  border-block-end: 1px solid var(--hairline);
  background: var(--card);
  color: var(--stone);
  font: 400 12px/1.5 var(--font-ui);
  overflow-wrap: anywhere;
}
html[data-bleu-unified] #shell #content :is(
  .bt-root, .tg-shell, .ap-sheet-scroll, .cw-desktop, .iv-table-wrap, .cu2-table-wrap, .cpp-scroll
) {
  border-color: var(--hairline);
  border-radius: var(--bux-card-radius);
  background: var(--card);
}
html[data-bleu-unified] #shell #content :is(
  .bt-table, .iv-compact-table, .cu2-table, .cw-table, .cw-desktop > table, .ins-dt,
  [data-bux-table]:not(.tg-grid):not(.ap-sheet-table):not(.bls-scroll > table)
) { font: 400 13px/1.45 var(--font-ui); color: var(--ink); }
html[data-bleu-unified] #shell #content :is(
  .bt-table, .iv-compact-table, .cu2-table, .cw-table, .cw-desktop > table, .ins-dt,
  [data-bux-cards=customers]
) thead th {
  block-size: 44px;
  background: var(--card);
  border-color: var(--hairline);
  color: var(--stone);
  font: 500 12px/1.4 var(--font-ui);
  letter-spacing: 0;
  text-transform: none;
}
html[data-bleu-unified] #shell #content .bt-root {
  --bt-row: 56px;
  --bt-pad-y: 6px;
  --bt-pad-x: 12px;
  --bt-head: var(--well);
  --bt-sel: var(--bux-selected);
  --bt-hover: var(--bux-hover);
}
html[data-bleu-unified] #shell #content .bt-root[data-bt-density=compact] {
  --bt-row: 44px;
  --bt-pad-y: 0px;
  --bt-pad-x: 10px;
}
/* Image and text share a 44px action track. Preserve native column widths,
 * density choice and virtual-grid row geometry. */
html[data-bleu-unified] #shell #content .bt-table .ivp-table-review {
  inline-size: 48px; block-size: 44px; min-block-size: 44px;
}
html[data-bleu-unified] #shell #content .bt-table :is(.bt-thumb,.ivp-t) {
  inline-size: 48px; block-size: 36px;
}
html[data-bleu-unified] #shell #content .cpp-page .cpp-name {
  display: inline-flex; align-items: center; min-block-size: 44px;
  margin: 0; padding: 0; border: 0; background: transparent;
  color: var(--ink); font-weight: 600; text-align: start;
}
html[data-bleu-unified] #shell #content .cpp-page .cpp-name + small {
  display: inline; margin-inline-start: 8px; color: var(--stone); font-size: 12px;
}
html[data-bleu-unified] #shell #content .cpp-page > [data-status] {
  margin: 6px 0 12px; color: var(--stone); font:400 12px/1.5 var(--font-ui);
}
html[data-bleu-unified] #shell #content .bt-table .iv-evidence-primary {
  max-inline-size: none; white-space: normal; overflow: visible; text-overflow: clip;
}
html[data-bleu-unified] #shell #content :is(
  .bt-num, .bt-total-v, .bt-fig, .ap-sheet-money, .cw-amount,
  .bv-kpi, .wa-value, .ac-stat b, .tpx-metrics
) { font-family: var(--font-figures); font-variant-numeric: tabular-nums; }
html[data-bleu-unified] #shell #content .bt-table tfoot :is(th, td) {
  background: var(--well);
  border-color: var(--hairline);
  font-weight: 600;
}
html[data-bleu-unified] #shell #content :is(.bt-total-note, .bt-range, .cw-description, .bk-sub) {
  color: var(--stone);
  font-size: 12px;
  line-height: 1.5;
}
html[data-bleu-unified] #shell #content .bt-card {
  gap: 10px;
  padding: 14px 12px;
  border-color: var(--hairline);
  background: var(--card);
}
html[data-bleu-unified] #shell #content .bt-card.is-selected { background: var(--bux-selected); }
html[data-bleu-unified] #shell #content .bt-cards.is-selecting .bt-card { padding-inline-start: 52px; }
html[data-bleu-unified] #shell #content .bt-card .bt-id-name {
  font-size: 15px;
  line-height: 1.4;
  -webkit-line-clamp: unset;
  overflow-wrap: anywhere;
}
html[data-bleu-unified] #shell #content .bt-card-facts { gap: 8px 12px; }
html[data-bleu-unified] #shell #content .bt-fact dt {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
html[data-bleu-unified] #shell #content :is(.bt-status, .cw-status, .cw-filter-chip, .wa-badge) {
  font-size: 12px;
  line-height: 1.5;
}
/* Tone words and icons keep their semantic foregrounds from the native view. */
html[data-bleu-unified] #shell #content .bt-status { white-space: normal; }
html[data-bleu-unified] #shell #content .cw-mobile > li {
  padding: 14px 16px;
  border-color: var(--hairline);
}
html[data-bleu-unified] #shell #content .cw-mobile dt { font-size: 12px; }
html[data-bleu-unified] #shell #content .cw-mobile dd { font-size: 14px; line-height: 1.45; }

/* Findings, suggestions and AI output share surfaces, never claims or labels.
 * No signal green, gradients, decorative metrics, or implicit AI attribution. */
html[data-bleu-unified] #shell #content :is(
  [data-bux-insight]:not(.ins-sig):not(.bv-kpi):not(.wa-metric):not(.wa-journey),
  .ins-card, .bk-ins .bk-card, .wa-panel, .bh-card
) {
  min-inline-size: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--bux-card-radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: none;
}
html[data-bleu-unified] #shell #content :is(
  .bhx-insight, .bhx-brief, .ins-card, .bk-ins .bk-card, .wa-panel
) { padding: 16px; }
html[data-bleu-unified] #shell #content :is(.bhx-insight h3, .ins-h, .wa-panel h2, .bk-ins .bk-card h3) {
  margin-block: 0 8px;
  font: 600 15px/1.4 var(--font-ui);
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
html[data-bleu-unified] #shell #content :is(.bhx-insight p, .bhx-brief p, .ins-note, .wa-panel > header p) {
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
html[data-bleu-unified] #shell #content :is(.bhx-next, .bhx-system) {
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--well);
}
html[data-bleu-unified] #shell #content .ins-sigs { margin: 0 -16px -16px; }
html[data-bleu-unified] #shell #content .ins-sig { padding: 12px 16px; min-block-size: 56px; }
html[data-bleu-unified] #shell #content :is(.bv-kpis, .wa-metrics, .ac-stats, .bh-summary, .tpx-metrics) {
  border-color: var(--hairline);
  border-radius: var(--bux-card-radius);
  background: var(--card);
}
html[data-bleu-unified] #shell #content :is(.wa-metric, .bv-kpi) { min-inline-size: 0; }
html[data-bleu-unified] #shell #content .wa-metric > .wa-value {
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
html[data-bleu-unified] #shell #content :is(.wa-ranking, .wa-trend, .wa-journey) { min-inline-size: 0; }
html[data-bleu-unified] #shell #content :is(.wa-definition, .wa-evidence, .wa-note, .wa-panel > header p) { font-size: 12px; }
html[data-bleu-unified] #shell #content .wa-evidence summary { min-block-size: 44px; }
html[data-bleu-unified] #shell #content .bh-warning { border-color: var(--amber); }
html[data-bleu-unified] #shell #content [data-bux-empty] {
  padding: 24px 16px;
  border-radius: var(--bux-card-radius);
  background: var(--well);
  color: var(--stone);
  font: 400 14px/1.6 var(--font-ui);
  overflow-wrap: anywhere;
}

/* Focus is local to presentation controls, not a reset of native editors. */
html[data-bleu-unified] #shell #content :is(
  .blh-ib, .blh-chip, .bt-tool, .bt-qa, .bt-sort, .ins-sig-a,
  [data-bux-table-region], .cw-options > summary, .cw-more-filters > summary
):focus-visible {
  outline: 2px solid var(--bleu-deep);
  outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
  html[data-bleu-unified] #shell #content :is(.blh-chip, .blh-ib, .bt-tool):hover:not(:disabled) {
    background: var(--bux-hover);
  }
  html[data-bleu-unified] #shell #content .blh-primary:hover:not(:disabled) {
    background: var(--bux-action-hover);
    border-color: var(--bux-action-hover);
  }
}
@media (hover: none), (pointer: coarse) {
  html[data-bleu-unified] #shell #content .bt-quick-set { opacity: 1; }
  /* The column-menu touch target may exceed the header's native 36px track;
   * keep its flex allocation fixed so column math and virtual rows stay exact. */
  html[data-bleu-unified] #shell #content .bs-th-m {
    position: relative;
    inline-size: 40px;
    block-size: 36px;
    overflow: visible;
  }
  html[data-bleu-unified] #shell #content .bs-th-m::after {
    content: "";
    position: absolute;
    inset: -4px -2px;
  }
}

/* Small phones through tablets: native shell owns top/bottom chrome. The
 * measured blh offset and tab-bar clearance already include its safe areas. */
@media (max-width: 1023px) {
  /* Mobile chrome's legacy title rule has !important and a viewport-based
   * scale; opt-in operational titles use the same scale on every route. */
  html[data-bleu-unified] #shell #content [data-bux-title][data-mc-title] {
    font-size: var(--bux-title) !important;
  }
  html[data-bleu-unified] #shell #content .blh-bar {
    top: var(--blh-top, 0px);
    margin-inline: calc(0px - var(--bux-pad));
    padding-inline: var(--bux-pad);
  }
  html[data-bleu-unified] #shell #content .blh-chips {
    margin-inline: calc(0px - var(--bux-pad));
    margin-block-end: 8px;
  }
  html[data-bleu-unified] #shell #content .blh-chiprow { padding-inline: var(--bux-pad); }
}
@media (max-width: 600px) {
  html[data-bleu-unified] #shell #content :is(.ac-list-tools, .tpx-actions, .tpx-tools) { flex-wrap: wrap; }
  html[data-bleu-unified] #shell #content .bt-card-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-bleu-unified] #shell #content .wa-controls { flex-wrap: wrap; max-inline-size: 100%; }
  html[data-bleu-unified] #shell #content .wa-panel > header { flex-wrap: wrap; gap: 8px; }
  html[data-bleu-unified] #shell #content .wa-panel > header :is(h2, p) { max-inline-size: 100%; text-align: start; }
  html[data-bleu-unified] #shell #content .bt-actionbar {
    bottom: var(--glass-nav-clearance, calc(72px + env(safe-area-inset-bottom, 0px)));
  }
  /* Gallery mode remains a photo gallery. Shorter landscape frames leave
   * room for the next vehicle without losing prices, evidence or photo tools. */
  html[data-bleu-unified] #shell #content #ivviewwrap .ivp-grid { padding: 0; gap: 12px; }
  html[data-bleu-unified] #shell #content #ivviewwrap .ivp-card { border-radius: 12px; }
  html[data-bleu-unified] #shell #content #ivviewwrap :is(.ivp-frame,.ivp-over) { aspect-ratio: 2.2 / 1; }
  html[data-bleu-unified] #shell #content #ivviewwrap .ivp-body {
    display: grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding: 12px; gap: 4px 8px;
  }
  html[data-bleu-unified] #shell #content #ivviewwrap .ivp-body > :is(.ivp-title,.ivp-sub,.ivx-money,.ivp-source-note) { grid-column:1/-1; }
  html[data-bleu-unified] #shell #content #ivviewwrap .ivp-body > .iv-statuses { margin:0; }
  html[data-bleu-unified] #shell #content #ivviewwrap .ivp-body .iv-statuses { min-inline-size:0; }
  html[data-bleu-unified] #shell #content #ivviewwrap .ivp-body .iv-evidence-primary {
    max-inline-size:100%; white-space:normal; overflow:visible; text-overflow:clip;
  }
  html[data-bleu-unified] #shell #content #ivviewwrap .ivp-title { font-size: 15px; }
  html[data-bleu-unified] #shell #content #ivviewwrap :is(.ivp-sub,.ivp-when) { font-size: 12px; line-height: 1.4; }
  html[data-bleu-unified] #shell #content #ivviewwrap .ivp-body .ivx-money { margin-block-start: 4px; padding-block-start: 8px; }
  html[data-bleu-unified] #shell #content #ivviewwrap .ivx-money-value { font-size: 18px; line-height: 1.3; }
  html[data-bleu-unified] #shell #content #ivviewwrap .ivp-review-tools { margin-block-start: 0; padding: 0 12px 12px; }
}
@media (min-width: 390px) and (max-width: 600px) {
  html[data-bleu-unified] #shell #content .bt-card-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr > :is(td, th) { grid-column: span 2; }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr > [data-bux-label^="We "] { grid-column: span 3; }
  html[data-bleu-unified] #shell #content .cpp-page .cpp-scroll >
  table[data-bux-cards=customers]:is([data-cv-view=card], :not([data-cv-view])) > tbody > tr > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 601px) {
  html[data-bleu-unified] #shell #content,
  html[data-bleu-unified] #pp-root { --bux-pad: 24px; --bux-gap: 24px; --bux-title: 28px; }
}
@media (min-width: 1024px) {
  html[data-bleu-unified] #shell #content,
  html[data-bleu-unified] #pp-root { --bux-pad: 32px; }
  /* Three deliberate rows: heading/actions, query controls, saved views.
   * Keep the query usable instead of squeezing it beside every view tab. */
  html[data-bleu-unified] #shell #content .blh:not([hidden]) {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    inline-size: 100%;
    margin-block-end: 20px;
  }
  html[data-bleu-unified] #shell #content .blh .blh-top:not([hidden]) {
    display: flex !important;
    flex: none;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    inline-size: 100%;
  }
  html[data-bleu-unified] #shell #content .blh .blh-title { max-inline-size: none; }
  html[data-bleu-unified] #shell #content .blh .blh-head {
    display:flex; flex-direction:column; flex:1 1 auto; min-inline-size:0; order:0;
  }
  html[data-bleu-unified] #shell #content .blh .blh-line {
    display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; order:0;
  }
  html[data-bleu-unified] #shell #content .blh .blh-sub { flex:none; order:0; }
  html[data-bleu-unified] #shell #content .blh .blh-bar:not([hidden]) {
    display: flex !important;
    flex: none;
    padding: 0;
    inline-size: 100%;
    gap: 8px;
  }
  html[data-bleu-unified] #shell #content .blh .blh-search {
    margin: 0 auto 0 0; flex: 1 1 320px; max-inline-size: 480px;
  }
  html[data-bleu-unified] #shell #content .blh .blh-q { font-size:14px; }
  html[data-bleu-unified] #shell #content .blh .blh-chips:not([hidden]) {
    margin: 0;
    min-inline-size: 0;
    inline-size: 100%;
    border-block-end: 1px solid var(--hairline);
    flex: none;
  }
  html[data-bleu-unified] #shell #content .blh .blh-acts { margin: 0; gap: 6px; }
  html[data-bleu-unified] #shell #content .blh-sort.on .blh-sort-l:not(:empty) {
    display: inline;
    max-inline-size: 240px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /* Keep the native active-sort description; only its duplicate decorative
   * label is visually suppressed when that native description is present. */
  html[data-bleu-unified] #shell #content .blh-sort.has-label .bux-control-label,
  html[data-bleu-unified] #shell #content .blh-sort.on:has(.blh-sort-l:not(:empty)) .bux-control-label {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

/* Partner fulfillment lives outside #shell. Restrict to its existing portal,
 * preserving order detail sheets and fulfillment action/check semantics. */
html[data-bleu-unified] #pp-root :is(.pp-top, .sto-head) { gap: 12px; min-inline-size: 0; flex-wrap: wrap; }
html[data-bleu-unified] #pp-root .sto-h1 {
  margin: 0;
  color: var(--ink);
  font: 700 var(--bux-title)/1.2 var(--font-ui);
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
html[data-bleu-unified] #pp-root .ful-tabs {
  gap: 20px;
  border-color: var(--hairline);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
html[data-bleu-unified] #pp-root .ful-tabs button { min-block-size: 44px; font-size: 13px; }
html[data-bleu-unified] #pp-root .ful-tabs button[aria-pressed=true] { color: var(--ink); border-bottom-color: var(--bleu); }
html[data-bleu-unified] #pp-root .ful-search {
  min-inline-size: 0;
  min-block-size: 44px;
  border: 1px solid var(--field-border);
  border-radius: var(--bux-radius);
  background: var(--card);
}
html[data-bleu-unified] #pp-root .ful-search input { min-inline-size: 0; min-block-size: 44px; font-size: 16px; color: var(--ink); }
html[data-bleu-unified] #pp-root .ful-order-list { border-color: var(--hairline); background: var(--card); }
html[data-bleu-unified] #pp-root .ful-order { border-color: var(--hairline); }
html[data-bleu-unified] #pp-root .ful-clean { padding-block-end: calc(24px + env(safe-area-inset-bottom, 0px)); }

/* Theme values stay token-driven: no separate light/dark hex overrides. */
@media (prefers-reduced-motion: reduce) {
  html[data-bleu-unified] #shell #content :is(.blh, .blh *, [data-bux-table-region], [data-bux-insight]),
  html[data-bleu-unified] #pp-root :is(.ful-tabs, .ful-search, .ful-order) {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  html[data-bleu-unified] #shell #content .blh-bar { background: var(--paper); backdrop-filter: none; }
}
@media (forced-colors: active) {
  html[data-bleu-unified] #shell #content,
  html[data-bleu-unified] #pp-root {
    --bux-selected: Canvas;
    --bux-hover: Canvas;
  }
  html[data-bleu-unified] #shell #content :is(
    .blh-search, .blh-chip, [data-bux-insight], [data-bux-empty],
    [data-bux-table-region], .ins-card, .bh-card, .bux-scroll-hint
  ),
  html[data-bleu-unified] #pp-root :is(.ful-search, .ful-order-list) { border-color: CanvasText; }
  html[data-bleu-unified] #shell #content .blh-chip.on,
  html[data-bleu-unified] #pp-root .ful-tabs button[aria-pressed=true] {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
  html[data-bleu-unified] #shell #content .blh-primary:not([hidden]) {
    background: ButtonFace;
    color: ButtonText;
    border: 1px solid ButtonText;
  }
  html[data-bleu-unified] #shell #content .bt-card.is-selected { outline: 2px solid Highlight; outline-offset: -2px; }
  html[data-bleu-unified] #shell #content .blh-chips .blh-chiprow { mask-image: none; -webkit-mask-image: none; }
}

/* Explicit collection designs: opportunity pipeline, publishing workspace,
 * audience ledger, feed destinations, reels/media, inspections and finance.
 * Native spreadsheet dimensions, sticky cells and saved views are retained. */
html[data-bleu-unified] #content[data-onbleu-collection] {
  --ocl-gap: 16px;
  --ocl-muted: var(--stone);
}
html[data-bleu-unified] #content [data-onbleu-collection-heading] {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 16px 24px; margin-block-end: 20px; min-inline-size: 0;
}
html[data-bleu-unified] #content [data-onbleu-collection-heading] :is(h1,.view,.ap-title,.sto-h1) {
  margin: 0; color: var(--ink); font: 700 28px/1.2 var(--font-ui); letter-spacing: -.035em;
}
html[data-bleu-unified] #content [data-onbleu-collection-heading] :is(p,.sub,.ccms-sub,.wss-muted,.ful-intro,.tpx-muted) {
  max-inline-size: 72ch; margin-block: 8px 0; color: var(--stone); font: 400 14px/1.55 var(--font-ui);
}
html[data-bleu-unified] #content :is([data-onbleu-collection-controls],.cd-toolbar,.ccms-toolbar,.wss-toolbar,.ap-filters,.wspbar,.bk-tools,.bls-toolbar) {
  min-inline-size: 0; margin-block: 0 16px; gap: 10px; padding-block: 0;
}
html[data-bleu-unified] #content :is([data-onbleu-collection-controls],.cd-toolbar,.ccms-toolbar,.wss-toolbar,.ap-filters,.wspbar,.bk-tools,.bls-toolbar) :is(input:not([type=checkbox],[type=radio]),select) {
  box-sizing: border-box; min-block-size: 44px; max-inline-size: 100%;
  padding: 10px 12px; border: 1px solid var(--field-border); border-radius: 10px;
  background: var(--card); color: var(--ink); font: 400 14px/1.4 var(--font-ui);
}
html[data-bleu-unified] #content :is([data-onbleu-collection-controls],.cd-toolbar,.ccms-toolbar,.wss-toolbar,.ap-filters,.wspbar,.bk-tools,.bls-toolbar) input[type=search] { min-inline-size: 180px; }
html[data-bleu-unified] #content :is(.cd-toolbar,.ccms-toolbar,.wss-toolbar) {
  display:flex; flex-wrap:wrap; align-items:center; gap:10px;
}
html[data-bleu-unified] #content :is([data-onbleu-collection-views],.cd-tabs,.ccms-tabs,.ap-seg,.wspbar .ivschips,.wss-tiles) {
  display:flex; flex-wrap:nowrap; align-items:center; gap:4px; max-inline-size:100%;
  overflow-x:auto; scrollbar-width:thin; scroll-padding-inline:8px;
}
html[data-bleu-unified] #content :is([data-onbleu-collection-views],.cd-tabs,.ccms-tabs,.ap-seg,.wspbar .ivschips,.wss-tiles) > button {
  flex:0 0 auto; min-block-size:44px; padding:10px 14px; border:1px solid transparent;
  border-radius:10px; background:transparent; color:var(--stone); font:500 13px/1.4 var(--font-ui);
}
html[data-bleu-unified] #content :is([data-onbleu-collection-views],.cd-tabs,.ccms-tabs,.ap-seg,.wspbar .ivschips,.wss-tiles) > button:is(.on,[aria-pressed=true],[aria-selected=true]) {
  background:var(--bux-selected); color:var(--bleu-deep); border-color:var(--field-border);
}
html[data-bleu-unified] #content :is(.ccms-btn,.wss-btn,.ap-btn,.cd-link,.tpx-actions .btn,.sto-btn) {
  min-block-size:44px; border-radius:10px; font-family:var(--font-ui);
}
html[data-bleu-unified] #content :is(.ccms-btn,.wss-btn,.ap-btn,.sto-btn):not(.primary,.is-primary,.ghost) {
  background:var(--card); color:var(--ink); border-color:var(--field-border);
}
html[data-bleu-unified] #content :is(.ccms-btn.primary,.wss-btn.primary,.ap-btn.is-primary) {
  background:var(--bleu); color:var(--on-miami); border-color:var(--bleu);
}
html[data-bleu-unified] #content [data-onbleu-collection-footer] {
  display:flex; flex-wrap:wrap; align-items:center; gap:12px;
  min-block-size:52px; padding-block:12px; color:var(--stone); font:400 12px/1.5 var(--font-ui);
}
/* Customer opportunities: tabs establish kind, then the query and stage.
 * Their native controls are kept connected so no duplicate filters appear. */
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-page { max-inline-size:none; }
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-toolbar {
  align-items:flex-end; padding:0; border:0; border-radius:0; background:transparent; gap:16px 12px;
}
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-tabs { flex:1 0 100%; margin:0; }
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-toolbar input { inline-size:100%; }
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-toolbar > input[type=search] { flex:1 1 280px; min-inline-size:0; }
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-toolbar label:not(.sr-only) { display:grid; gap:6px; color:var(--stone); font-size:12px; }
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-page-footer { justify-content:flex-end; }
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-page-footer > [hidden] { display:none!important; }
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-count { margin-block:20px 10px; font-size:12px; }
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-row {
  align-items:flex-start; min-block-size:88px; padding:18px 20px; gap:24px; border-color:var(--hairline);
}
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-row small { margin-block-start:3px; line-height:1.5; }
/* Publishing CMS: one tab strip and one work toolbar; content tables retain
 * the native density, selection and editor connections. */
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms { max-inline-size:none; }
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-tabs {
  margin-block:0 20px; padding-block:0; border-block-end:1px solid var(--hairline);
}
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-search { flex:1 1 260px; max-inline-size:480px; }
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-search input { inline-size:100%; }
html[data-bleu-unified] #content :is([data-onbleu-collection-controls],.cd-toolbar,.ccms-toolbar,.wss-toolbar,.ap-filters,.wspbar,.bk-tools,.bls-toolbar) :is(.ccms-search,.wss-search) {
  display:flex; align-items:center; gap:10px; min-inline-size:0; min-block-size:44px;
  padding:8px 12px; border:1px solid var(--field-border); border-radius:10px; background:var(--card);
}
html[data-bleu-unified] #content :is([data-onbleu-collection-controls],.cd-toolbar,.ccms-toolbar,.wss-toolbar,.ap-filters,.wspbar,.bk-tools,.bls-toolbar) :is(.ccms-search,.wss-search) > input {
  flex:1; inline-size:100%; min-inline-size:0; min-block-size:26px; padding:0;
  border:0; border-radius:0; background:transparent; outline-offset:3px;
}
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-note {
  border:0; border-inline-start:2px solid var(--field-border); border-radius:0; padding:10px 14px; background:transparent;
  color:var(--stone); font:400 13px/1.5 var(--font-ui);
}
/* The audience and feed ledgers share the table's identity, header weight,
 * row rhythm and status alignment while retaining their real div-grid rows. */
html[data-bleu-unified] #content[data-onbleu-collection]:is([data-onbleu-collection=wsnews],[data-onbleu-collection=wsfeeds]) .card {
  overflow:hidden; margin-block:16px; border:1px solid var(--hairline); border-radius:12px; background:var(--card);
}
html[data-bleu-unified] #content :is(.wsn-head,.wsf-dest-head) {
  min-block-size:44px; padding:12px 16px; background:var(--well); border-color:var(--hairline);
  color:var(--stone); font:500 12px/1.5 var(--font-ui);
}
html[data-bleu-unified] #content [data-onbleu-ledger-row] {
  min-block-size:64px; padding:14px 16px; gap:12px; border-color:var(--hairline);
  color:var(--ink); font:400 13px/1.5 var(--font-ui);
}
html[data-bleu-unified] #content [data-onbleu-ledger-row] :is(.nm,.mono) { overflow-wrap:anywhere; }
html[data-bleu-unified] #content [data-onbleu-ledger-row] :is(button,.civiewbtn) { min-block-size:44px; min-inline-size:44px; border-radius:10px; }
html[data-bleu-unified] #content [data-onbleu-explanation] { margin-block-start:8px; }
html[data-bleu-unified] #content [data-onbleu-explanation] > summary {
  display:list-item; inline-size:fit-content; max-inline-size:100%; min-block-size:44px;
  padding-block:12px; cursor:pointer; color:var(--bleu-deep); font:500 13px/1.5 var(--font-ui);
}
html[data-bleu-unified] #content [data-onbleu-explanation] > :not(summary) { max-inline-size:85ch; overflow-wrap:anywhere; }
/* Reels and media: a compact, horizontally scrollable view switcher keeps
 * the results close to search, instead of a row of dashboard-sized tiles. */
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-tiles {
  margin-block:4px 20px; padding:0; border:0; border-block-end:1px solid var(--hairline); border-radius:0; background:transparent;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-tile-btn {
  display:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:10px;
  min-inline-size:0; min-block-size:48px; white-space:nowrap;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-tile-n { font:600 13px/1.4 var(--font-figures); }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-tile-l { color:inherit; font:inherit; }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-search { flex:1 1 300px; max-inline-size:480px; }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-search input { inline-size:100%; }
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-library { max-inline-size:none; }
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr)); gap:16px;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-file {
  gap:0; padding:0; background:var(--card); border:1px solid var(--hairline); border-radius:12px; overflow:hidden;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-file-preview { border-radius:0; }
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-file > span:not(.bhw-file-preview) { padding:12px 14px 4px; font-weight:500; }
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-file > small { padding:0 14px 14px; font-size:12px; }
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-crumbs {
  padding-block:8px; border-block:1px solid var(--hairline);
}
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-crumbs > button {
  border-color:transparent; background:transparent; color:var(--ink); font-weight:600;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .ccms-hint { margin-block:12px 20px; max-inline-size:75ch; line-height:1.5; }
html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] footer.bhw-actions {
  margin-block-start:24px; padding-block-start:16px; border-block-start:1px solid var(--hairline); font-size:13px; gap:10px;
}
/* Inspections, Decisions and transport: actions remain native; empty/error
 * results use the same readable panel as an empty publishing collection. */
html[data-bleu-unified] #content [data-onbleu-collection-state],
html[data-bleu-unified] #content [data-onbleu-photo-help] {
  box-sizing:border-box; max-inline-size:100%; padding:24px; border:1px solid var(--hairline); border-radius:12px;
  background:var(--card); color:var(--stone); font:400 14px/1.6 var(--font-ui); overflow-wrap:anywhere;
}
html[data-bleu-unified] #content [data-onbleu-collection-state] :is(h2,h3,strong) { color:var(--ink); }
html[data-bleu-unified] #content[data-onbleu-collection=transport] .tpx-tools {
  margin-block-start:24px; border:1px solid var(--hairline); border-radius:12px; background:var(--card);
}
html[data-bleu-unified] #content[data-onbleu-collection=transport] .tpx-tools > summary { min-block-size:44px; padding:12px 16px; }
html[data-bleu-unified] #content[data-onbleu-collection=transport] .tpx-tools-body { padding:0 16px 16px; }
/* Asset P&L keeps every financial gate and native chart twin. */
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-card { border-color:var(--hairline); border-radius:12px; background:var(--card); }
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-table { font:400 13px/1.5 var(--font-ui); }
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-table thead th {
  block-size:44px; color:var(--stone); background:var(--well); font-weight:500; border-color:var(--hairline);
}
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-kpi { padding:18px 16px; }
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-seg > button { min-height:44px!important; }
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-kpi > b { font-size:28px; letter-spacing:-.03em; }
@media(max-width:640px){
  html[data-bleu-unified] #content [data-onbleu-collection-heading] { gap:12px; margin-block-end:16px; }
  html[data-bleu-unified] #content [data-onbleu-collection-heading] :is(h1,.view,.ap-title,.sto-h1) { font-size:28px; }
  html[data-bleu-unified] #content :is([data-onbleu-collection-controls],.cd-toolbar,.ccms-toolbar,.wss-toolbar,.ap-filters,.wspbar,.bk-tools,.bls-toolbar) :is(input:not([type=checkbox],[type=radio]),select) { font-size:16px; }
  html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-toolbar { padding:0; }
  html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-toolbar > label:not(.sr-only) { flex:1 1 100%; min-inline-size:0; }
  html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-search { flex-basis:100%; max-inline-size:none; }
  html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-select { flex:1 1 150px; }
  html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-spacer { display:none; }
  html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-search { max-inline-size:none; }
  html[data-bleu-unified] #content[data-onbleu-collection=wsnews] .wsn-head,
  html[data-bleu-unified] #content[data-onbleu-collection=wsfeeds] .wsf-dest-head { display:none; }
  html[data-bleu-unified] #content [data-onbleu-ledger-row] { grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; text-align:start; }
  html[data-bleu-unified] #content [data-onbleu-ledger-row] > * { min-inline-size:0; max-inline-size:100%; text-align:start!important; }
  html[data-bleu-unified] #content [data-onbleu-ledger-row] .ws-mail-label,
  html[data-bleu-unified] #content [data-onbleu-ledger-row] .wsf-cell-label { display:inline; color:var(--stone); }
  html[data-bleu-unified] #content [data-onbleu-collection-state],html[data-bleu-unified] #content [data-onbleu-photo-help] { padding:20px 16px; }
}
@media(forced-colors:active){
 html[data-bleu-unified] #content :is([data-onbleu-collection-views],.cd-tabs,.ccms-tabs,.ap-seg,.wspbar .ivschips,.wss-tiles) > button:is(.on,[aria-pressed=true]) { outline:2px solid Highlight; }
}
/* Sourcing: evidence stays beside a find, with one query/action bar. */
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .soheadingactions { display:flex;flex-wrap:wrap;gap:8px; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] #sofbar { display:grid;gap:12px;padding:16px;border-color:var(--hairline); }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] #sofbar .ivfrow { display:flex;flex-wrap:wrap;gap:8px;align-items:center; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] #sofbar :is(button,input) { min-height:44px;border-radius:10px; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] #sofbar .ivsearch { max-width:480px; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] :is(.sorow,.so-enrichment) { border-color:var(--hairline); }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .sorow .dxmain { min-width:0; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .sorow .dxh { color:var(--ink);font:600 16px/1.4 var(--font-ui);overflow-wrap:anywhere; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] :is(.soscan,.so-enrichment,.so-observation-notice) { color:var(--stone);font:400 12px/1.6 var(--font-ui);overflow-wrap:anywhere; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .soprice { font-family:var(--font-figures);font-variant-numeric:tabular-nums; }
/* Collection navigation is a baseline, not another card. State and keyboard
 * focus still come from the native buttons and tab links. */
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-tabs,
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-tabs {
  border-block-end:1px solid var(--hairline); gap:8px; overflow-y:hidden;
}
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-tabs > button,
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-tabs > :is(button,a),
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-tiles > button {
  flex:0 0 auto; box-sizing:border-box; min-block-size:48px; padding:12px 14px;
  border:0; border-block-end:2px solid transparent; border-radius:0;
  background:transparent; box-shadow:none; color:var(--stone); margin:0;
}
html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-tabs > button[aria-pressed=true],
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-tabs > button.on,
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-tiles > button[aria-pressed=true] {
  border-block-end-color:var(--ink); background:transparent; color:var(--ink); box-shadow:none;
}
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-tab-n {
  border:0; background:var(--well); padding:3px 6px; min-inline-size:20px; text-align:center;
}
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-tab-n.is-bad {
  color:var(--alert); outline:1px solid currentColor;
}
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-toolbar { margin-block-end:20px; }
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-link { min-block-size:44px; align-items:center; }
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] #ccmsBody .ccms-empty {
  border:0; border-radius:0; padding:36px 20px; background:transparent;
}
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] #ccmsBody .bt-bar {
  background:transparent; gap:8px 16px;
}
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] #ccmsBody .bt-views {
  flex-wrap:nowrap; overflow-x:auto; padding-block:2px; scrollbar-width:thin;
}
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] #ccmsBody .bt-views > button { flex-shrink:0; }
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-search,
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-search {
  block-size:auto; padding:0 12px; min-block-size:46px;
}
html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-search > input,
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-search > input {
  min-block-size:44px;
}
/* One editing surface per reel; wide cards give the caption and its native
 * actions space, and make explanatory fields read as a small definition list. */
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel-list {
  grid-template-columns:minmax(0,1fr); gap:16px;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel {
  grid-template-columns:136px minmax(0,1fr); gap:24px; padding:20px; border-radius:12px;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel-v { inline-size:136px; align-self:start; }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel-b { gap:10px; }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel-t { font-size:15px; line-height:1.5; }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel-b > .wss-f { margin:2px 0 0; gap:6px; }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-inline-save { gap:8px; }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-inline-save input {
  box-sizing:border-box; min-block-size:44px; max-inline-size:100%;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-dl {
  gap:16px 24px; margin:4px 0 0; padding-block-start:14px; border-block-start:1px solid var(--hairline);
}
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-dl dd { font-size:13px; line-height:1.5; }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-acts { gap:8px; margin-block-start:4px; }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-link { display:inline-flex; align-items:center; min-block-size:44px; }
html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-chip { min-block-size:44px; white-space:normal; line-height:1.4; }
/* Setup notices remain explicit, with a single semantic rule. Ledger headers
 * and rows share column spacing rather than placing a frame around each fact. */
html[data-bleu-unified] #content[data-onbleu-collection=wsnews] .ws-mail-notice,
html[data-bleu-unified] #content[data-onbleu-collection=wsfeeds] .card:has(>b) {
  border:0!important; border-inline-start:2px solid var(--amber)!important;
  border-radius:0!important; background:transparent!important; padding:8px 16px!important; margin-block:20px 24px;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsnews] .wsn-head,
html[data-bleu-unified] #content[data-onbleu-collection=wsfeeds] .wsf-dest-head {
  padding-inline:20px; background:transparent;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsnews] .wsn-row,
html[data-bleu-unified] #content[data-onbleu-collection=wsfeeds] :is(.wsf-dest-row,.wsf-run-row) {
  align-items:center; padding:16px 20px; min-block-size:76px;
}
html[data-bleu-unified] #content[data-onbleu-collection=wsnews] .wsn-row > .nm > .sub { display:block; margin-block-start:4px; }
html[data-bleu-unified] #content[data-onbleu-collection=wsfeeds] .wsf-dest-row > .nm > .sub { margin-block-start:4px; font-weight:400; }
/* Financial summaries use one ruled band. The chart, twins, empty states and
 * table dimensions remain native and all amounts retain their source values. */
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-page { max-inline-size:none; }
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-filters {
  padding:0; border:0; border-block-end:1px solid var(--hairline); border-radius:0; background:transparent; gap:4px;
}
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-filters > button {
  min-height:44px!important; border-radius:0; border-block-end:2px solid transparent;
}
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-filters > button[aria-checked=true] {
  background:transparent; color:var(--ink); border-block-end-color:var(--ink); box-shadow:none;
}
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-kpis {
  border:0; border-block:1px solid var(--hairline); border-radius:0; background:transparent; margin-block:8px 16px;
}
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-card:not(.ap-kpis) { padding:20px; margin-block-end:20px; }
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-card .ap-empty { border:0; padding:16px 0; background:transparent; }
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-two { gap:20px; }
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-cardhead { align-items:flex-start; gap:12px; }
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] :is(summary,.ap-table thead th button) {
  box-sizing:border-box; min-height:44px!important;
}
html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-link { display:inline-flex; align-items:center; min-height:44px!important; }
/* Sourcing separates browsing options from the real listing card. Never
 * change gesture transforms, the measured action dock or evidence visibility. */
html[data-bleu-unified] #shell #content[data-onbleu-collection=sourcing] .card:has(#sobody) {
  border:0; border-radius:0; background:transparent; overflow:visible;
}
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-browse-options {
  border-block:1px solid var(--hairline); margin-block-end:16px;
}
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-browse-options > summary { padding-inline:0; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-swipe-workbench { padding-inline:0; padding-block-start:0; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-swipe-queue { justify-content:flex-start; gap:4px; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-swipe-queue > button {
  border:0; border-block-end:2px solid transparent; border-radius:0; background:transparent;
  min-block-size:44px; padding-inline:8px; font-size:12px; white-space:nowrap;
}
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-swipe-queue > button[aria-pressed=true] {
  border-block-end-color:var(--ink); background:transparent; color:var(--ink);
}
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-swipe-hint { text-align:start; font-size:12px; line-height:1.5; margin-block:12px; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-decision-card { border-color:var(--hairline); box-shadow:none; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-decision-copy { padding:20px; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-decision-source { gap:6px 16px; font-size:12px; }
html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-decision-source > span { font-size:12px; }
@media(max-width:640px){
 html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .soheadingactions { width:100%; }
 html[data-bleu-unified] #content[data-onbleu-collection=sourcing] #sofbar .ivsearch { max-width:none; }
 html[data-bleu-unified] #content[data-onbleu-collection=sourcing] #soq { font-size:16px; }
 html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-row { padding:16px; gap:16px; }
 html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-tabs > button { flex:0 0 auto; }
 html[data-bleu-unified] #content[data-onbleu-collection=deals] .cd-toolbar > label:not(.sr-only) {
   grid-template-columns:auto minmax(0,1fr); align-items:center; gap:12px;
 }
 html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-toolbar { gap:10px; }
 html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-select { flex-basis:100%; }
 html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-select select { inline-size:100%; }
 html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-toolbar > button { flex:1 1 auto; }
 html[data-bleu-unified] #content[data-onbleu-collection=wscontent] .ccms-toolbar > .ccms-btn.primary { width:auto; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel {
   grid-template-columns:96px minmax(0,1fr); gap:16px; padding:16px;
 }
 html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel-v { inline-size:96px; grid-column:1; grid-row:1 / span 2; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel-b { display:contents; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel-b > p:first-child { grid-column:2; grid-row:1; align-self:end; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel-b > p:nth-child(2) { grid-column:2; grid-row:2; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-reel-b > :not(p:first-child,p:nth-child(2)) { grid-column:1 / -1; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-dl { grid-template-columns:minmax(0,1fr); }
 html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-acts > button { flex:1 1 auto; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsreels] .wss-inline-save > input { min-inline-size:0; flex-basis:150px; font-size:16px; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-file > span:not(.bhw-file-preview) { padding-inline:10px; font-size:13px; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsmedia] .bhw-file > small { padding-inline:10px; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsnews] .wsn-row > span:nth-child(4) { grid-column:1; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsnews] .wsn-row > span:last-child { grid-column:2; grid-row:4; }
 html[data-bleu-unified] #content[data-onbleu-collection=wsfeeds] .wsf-dest-row > .wsf-toggle { padding-block-start:4px; }
 html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
 html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-kpi { border:0; border-block-end:1px solid var(--hairline); }
 html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-kpi:nth-child(even) { border-inline-start:1px solid var(--hairline); }
 html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-kpi:nth-last-child(-n+2) { border-block-end:0; }
 html[data-bleu-unified] #content[data-onbleu-collection=assetpnl] .ap-card:not(.ap-kpis) { padding:16px; }
 html[data-bleu-unified] #content[data-onbleu-collection=sourcing] .so-decision-copy { padding:16px; }
}
/* Payables keeps its invoice, status, vehicle and account facts. A compact
 * transaction rhythm replaces the larger legacy receipt-card typography. */
html[data-bleu-unified] #content[data-onbleu-collection=payables] #apbody > .ap-clarity-card {
  padding:12px; background:var(--card); border-color:var(--hairline); box-shadow:none;
}
html[data-bleu-unified] #content[data-onbleu-collection=payables] .ap-clarity-top { margin-block-end:2px; }
html[data-bleu-unified] #content[data-onbleu-collection=payables] .ap-clarity-card .dxh {
  font:600 15px/1.4 var(--font-ui); letter-spacing:-.01em;
}
html[data-bleu-unified] #content[data-onbleu-collection=payables] .ap-card-amount {
  font:600 18px/1.4 var(--font-figures); padding-block-start:8px;
}
html[data-bleu-unified] #content[data-onbleu-collection=payables] .ap-clarity-description {
  margin:2px 0 6px; font-size:12px; line-height:1.5;
}
html[data-bleu-unified] #content[data-onbleu-collection=payables] .ap-clarity-status { margin-block:4px; gap:4px 10px; }
html[data-bleu-unified] #content[data-onbleu-collection=payables] .ap-clarity-reason { font-size:12px; }
html[data-bleu-unified] #content[data-onbleu-collection=payables] .ap-clarity-card .dxf { margin-block-start:4px; gap:4px 10px; font-size:12px; }
html[data-bleu-unified] #content[data-onbleu-collection=payables] .ap-vehicle-link {
  min-block-size:44px; padding:0; border:0; background:transparent; font-size:12px;
}
html[data-bleu-unified] #content[data-onbleu-collection=payables] .ap-clarity-context {
  margin-block-start:6px!important; padding-block-start:6px!important;
}
html[data-bleu-unified] #content[data-onbleu-collection=payables] .ap-card-actions > summary {
  min-block-size:44px; border-radius:10px; font-size:12px;
}

/* Onbleu page compositions, after unified base. Only native non-list screens.
 * No editor track sizing, table cells, dialogs, hidden-state or data changes.
 * Each composition keeps the native nodes and their business handlers. */
html[data-bleu-unified] #shell #content[data-bux-screen] {
  --page-gap: 24px;
  --page-pad: clamp(16px, 2.2vw, 28px);
  color: var(--ink);
}
html[data-bleu-unified] #shell #content[data-bux-screen] :is(h1,h2,h3,h4) {
  font-family: var(--font-ui, Geist, sans-serif);
  color: var(--ink);
  text-wrap: balance;
}
html[data-bleu-unified] #shell #content[data-bux-screen] :is(h1.view,.bac-title,.ac-heading h1,.bh-heading h1) {
  /* Native Hub/mobile layers contain important legacy title shorthands. */
  font: 700 28px/1.2 var(--font-ui, Geist, sans-serif) !important;
  letter-spacing: -.025em;
}
/* Real page headings: the action group can wrap independently of the title. */
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.hcx-header,.mw-heading,.ac-heading,.bic-head,.bh-heading,.wa-header,.lx-head) {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  padding: 0 0 24px;
  margin: 0;
  border: 0;
  background: transparent;
}
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-heading,.ac-heading,.bic-head,.bh-heading,.wa-header,.lx-head) > :first-child { min-width: 0; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-actions,.wa-controls) { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.sub,.mw-heading p,.ac-heading p,.bst-sub,.wa-subtitle,.bh-heading p,.lx-summary) {
  color: var(--stone); font-size: 14px; line-height: 1.6; max-width: 78ch;
}
/* Hub: native tabs divide a daily queue, editorial insights, activity and facts.
 * Two columns are useful for work/context; no fake summary is inserted. */
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hub-center { max-width: 1440px; margin-inline:auto; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-header { align-items:center; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-header-right { display:flex; gap:8px; align-items:center; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-greeting { margin:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] :is(.hcx-icon,.thx-customize) { min-width:44px; min-height:44px; border-radius:10px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-tabs {
  display:flex; gap:24px; overflow-x:auto; border-bottom:1px solid var(--hairline); margin:0 0 24px;
  padding:0; background:transparent; scrollbar-width:thin;
}
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-tabs [role=tab] {
  flex:none; min-height:48px; padding:8px 2px; border:0; border-bottom:3px solid transparent;
  border-radius:0; background:transparent; color:var(--stone); font:500 14px/1.4 var(--font-ui);
}
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-tabs [aria-selected=true] { color:var(--ink); border-bottom-color:var(--bleu); font-weight:650; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .tw-layout { display:grid; grid-template-columns:minmax(0, 2fr) minmax(260px, 1fr); gap:24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] :is(.tw-main,.tw-side) { min-width:0; display:flex; flex-direction:column; gap:24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] :is(.thx-now,.hlh-decisions,.hlh-movement,.feel-continue) { background:var(--card); border:1px solid var(--hairline); border-radius:12px; overflow:clip; margin:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .feel-continue { padding:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] :is(.thx-head,.hlh-section-head) { padding:18px 20px; border-bottom:1px solid var(--hairline); gap:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] :is(.thx-head h2,.hlh-section-head h2) { font-size:16px; font-weight:600; letter-spacing:-.02em; margin:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; padding:0; margin:0; list-style:none; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-cards > li { min-width:0; border-bottom:1px solid var(--hairline); }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-card { min-height:112px; width:100%; padding:18px; border:0; border-radius:0; background:var(--card); gap:12px; color:var(--ink); }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-card:hover { background:var(--well); }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-label { font-size:14px; font-weight:600; line-height:1.4; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-detail { font-size:12px; line-height:1.5; color:var(--stone); }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-num { font-size:24px; letter-spacing:-.04em; font-weight:600; font-variant-numeric:tabular-nums; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] :is(.tw-unavailable,.tw-checking) { font-size:12px; letter-spacing:0; font-weight:500; color:var(--stone); }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-brief { padding:24px; margin:0 0 24px; border:1px solid var(--hairline); border-left:3px solid var(--bleu); border-radius:12px; background:var(--card); }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-brief h2 { font-size:clamp(20px,2vw,28px); line-height:1.3; max-width:38ch; letter-spacing:-.025em; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] :is(.bhx-links,.bhx-next) { display:flex; gap:8px 20px; flex-wrap:wrap; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-links a { display:inline-flex; align-items:center; min-height:44px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] :is(.bhx-insight,.ins-card,.hp-business,.hday-stats) { border:1px solid var(--hairline); background:var(--card); border-radius:12px; padding:24px; box-shadow:none; min-width:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx > .bhx-title { grid-column:1/-1; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-insight { margin:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-impact { color:var(--stone); font-size:14px; line-height:1.6; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hts-snapshot { display:grid; gap:24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget { padding:18px 20px; margin:0 0 24px; background:var(--card); border:1px solid var(--hairline); border-radius:12px; }
/* Operations: large lifecycle counts, then evidence/chart cards. The native
 * count methodology and review warnings stay adjacent to those figures. */
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .kpis,
html[data-bleu-unified] #shell #content[data-bux-screen=performance] .kpis,
html[data-bleu-unified] #shell #content[data-bux-screen=cash-risk] .kpis,
html[data-bleu-unified] #shell #content[data-bux-screen] .mw-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:24px 0; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-kpi,.kpi) { padding:20px; min-width:0; background:var(--card); color:var(--ink); border:1px solid var(--hairline); border-radius:12px; box-shadow:none; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-kpi > span,.kpi .l) { color:var(--stone); font:500 12px/1.5 var(--font-ui); letter-spacing:0; text-transform:none; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-kpi strong,.kpi .v) { display:block; margin-block:10px 6px; font:600 clamp(22px,2.3vw,32px)/1.2 var(--font-ui); letter-spacing:-.04em; color:var(--ink); font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-kpi small,.kpi .kc) { color:var(--stone); font-size:12px; line-height:1.5; }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] :is(.bv-card,.bv-note) { margin-block:24px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .bv-head { padding:20px 24px 0; }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .bv-head h2 { font-size:17px; letter-spacing:-.02em; }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .bv-note { padding:12px 20px; color:var(--stone); font-size:13px; line-height:1.6; }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .bv-note summary { min-height:44px; align-content:center; color:var(--ink); }
/* Current Money workspace and older shell use different native compositions.
 * Keep their exact numbers, warning basis and financial permission boundaries. */
html[data-bleu-unified] #shell #content:is([data-bux-screen=cash-risk],[data-bux-screen=performance]) .mw-page { max-width:1440px; margin-inline:auto; }
html[data-bleu-unified] #shell #content[data-bux-screen] .mw-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin:24px 0; }
html[data-bleu-unified] #shell #content[data-bux-screen] .mw-section { padding:24px; margin-block:24px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); min-width:0; }
html[data-bleu-unified] #shell #content[data-bux-screen] .mw-two > .mw-section { margin:0; }
html[data-bleu-unified] #shell #content[data-bux-screen] .mw-section h2 { font-size:17px; letter-spacing:-.02em; margin:0 0 12px; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-attention,.mw-basis) { padding:16px 20px; margin-block:16px; border-radius:10px; border:1px solid var(--hairline); background:var(--card); font-size:13px; line-height:1.6; color:var(--stone); }
html[data-bleu-unified] #shell #content[data-bux-screen] .mw-attention { background:var(--amber-bg); color:var(--amber); border-color:var(--amber); }
html[data-bleu-unified] #shell #content[data-bux-screen] .mw-periods { display:flex; gap:6px; flex-wrap:wrap; margin:0 0 24px; }
html[data-bleu-unified] #shell #content[data-bux-screen] .mw-periods button { min-height:44px; padding:10px 16px; border:1px solid var(--hairline); border-radius:10px; background:var(--card); color:var(--stone); }
html[data-bleu-unified] #shell #content[data-bux-screen] .mw-periods button[aria-pressed=true] { background:var(--bux-selected); color:var(--bux-selected-text); border-color:var(--bleu); font-weight:600; }
html[data-bleu-unified] #shell #content[data-bux-screen=cash-risk] .hero-d { padding:28px; margin-block:24px; background:#071A3D; color:#fff; border-radius:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=cash-risk] .hero-d :is(.hl,.hv,.hs) { color:#fff; }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .money-focus { max-width:1180px; margin:auto; }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .mf-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0; padding:0; border:0; background:transparent; }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .mf-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:12px 20px; padding:24px; min-width:0; border:1px solid var(--hairline); border-radius:12px; background:var(--card); }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .mf-row > :first-child { min-width:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .mf-row > button { grid-column:1/-1; justify-self:start; min-height:44px; }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .mf-count { padding:6px 10px; border-radius:8px; color:var(--stone); background:var(--well); font:600 15px/1.4 var(--font-ui); }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .mf-source { font-size:12px; line-height:1.6; color:var(--stone); }
/* Work: native tracks, document widths, row geometry and sticky offsets remain
 * entirely owned by Work. Distinguish navigation, queue and document by surface. */
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2 {
  --wv2-paper:var(--paper); --wv2-card:var(--card); --wv2-ink:var(--ink);
  --wv2-muted:var(--stone); --wv2-line:var(--hairline); --wv2-accent:var(--bleu);
}
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-top { background:var(--paper); border-bottom:1px solid var(--hairline); }
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-side { background:var(--paper); border-color:var(--hairline); }
html[data-bleu-unified] #shell #content[data-bux-screen=work] :is(.wv2-listpane,.wv2-doc) { background:var(--card); border-color:var(--hairline); }
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-nav[aria-current=page],
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-nav[aria-selected=true] { background:var(--bux-selected); color:var(--bux-selected-text); box-shadow:inset 3px 0 var(--bleu); }
html[data-bleu-unified] #shell #content[data-bux-screen=work] :is(.wv2-empty-lead,.wv2-doc-empty-lead) { color:var(--ink); font-size:18px; letter-spacing:-.02em; }
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-empty-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
/* Work streams: real native lane bar / board; no fabricated cards for failures. */
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] :is(.vw-page,.wq-page) { background:var(--paper); color:var(--ink); --wq-paper:var(--paper); --wq-card:var(--card); --wq-line:var(--hairline); --wq-ink:var(--ink); --wq-muted:var(--stone); }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-top { padding:20px 0; border-bottom:1px solid var(--hairline); gap:16px; flex-wrap:wrap; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-tools { padding:16px 0; gap:12px; flex-wrap:wrap; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-lanes { display:flex; overflow-x:auto; gap:8px; padding-block:8px 16px; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-lanes button { min-height:44px; flex:none; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-empty { padding:40px 24px; background:var(--card); border:1px solid var(--hairline); border-radius:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-empty-acts { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
/* Settings: independent section navigation and a calm reading-width pane. */
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac { max-width:1200px; margin-inline:auto; border:0; background:transparent; --bac-paper:var(--paper); --bac-card:var(--card); --bac-ink:var(--ink); --bac-muted:var(--stone); --bac-line:var(--hairline); --bac-blue:var(--bleu); }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-top { padding:0 0 24px; border:0; background:transparent; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-body { gap:32px; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-nav { padding:12px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-me { padding:12px 8px 20px; margin-bottom:8px; border-bottom:1px solid var(--hairline); }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-navitem { min-height:48px; padding:12px; border-radius:8px; color:var(--stone); font:500 14px/1.4 var(--font-ui); }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-navitem[aria-current=page] { color:var(--bux-selected-text); background:var(--bux-selected); font-weight:600; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-pane { padding:24px; min-width:0; background:var(--card); border:1px solid var(--hairline); border-radius:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-pane > h2 { font-size:20px; letter-spacing:-.025em; margin-top:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-identity { padding:0 0 24px; margin:0 0 8px; border-bottom:1px solid var(--hairline); }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-row { padding:18px 0; gap:16px; border-color:var(--hairline); }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-rowtext { min-width:0; overflow-wrap:anywhere; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-rowtext b { color:var(--ink); font-weight:500; font-size:14px; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-rowtext span { font-size:13px; line-height:1.6; color:var(--stone); }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] :is(.bac-btn,.bac-back,.bac-exit) { min-height:44px; }
/* Team: the people inventory remains the shared collection's responsibility. */
html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-page { --ac-paper:var(--paper); --ac-card:var(--card); --ac-ink:var(--ink); --ac-muted:var(--stone); --ac-line:var(--hairline); --ac-blue:var(--bleu); }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-kicker { color:var(--stone); font:500 12px/1.4 var(--font-ui); letter-spacing:.02em; }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0 0 24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat { padding:20px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat b { color:var(--ink); font:600 30px/1.2 var(--font-ui); letter-spacing:-.04em; }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat span { color:var(--stone); font-size:13px; }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .vam-setup-details { padding:16px 24px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .vam-setup-details > summary { min-height:44px; align-content:center; font-weight:500; }
/* Integrations: connected services are an operational summary, catalog cards
 * are a separate browse grid; requests retain their real registry status. */
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic { max-width:1440px; margin:auto; --bst-paper:var(--paper); --bst-card:var(--card); --bst-ink:var(--ink); --bst-muted:var(--stone); --bst-line:var(--hairline); --bst-blue:var(--bleu); }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-sec { margin:0 0 32px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-sec-head { display:flex; align-items:center; gap:10px; margin:0 0 16px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-sec-head h2 { font-size:17px; margin:0; letter-spacing:-.02em; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-row { padding:20px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); gap:16px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-tools { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-search { flex:0 1 400px; min-width:180px; min-height:44px; background:var(--card); border-color:var(--field-border); border-radius:10px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-chips { display:flex; gap:6px; overflow-x:auto; flex-wrap:nowrap; min-width:0; max-width:100%; padding-bottom:6px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-chip { min-height:44px; flex:none; padding:8px 12px; border-radius:10px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-chip[aria-pressed=true] { background:var(--bux-selected); color:var(--bux-selected-text); border-color:var(--bleu); }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-card { display:flex; flex-direction:column; min-width:0; border:1px solid var(--hairline); border-radius:12px; background:var(--card); box-shadow:none; overflow:hidden; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-card-main { flex:1; display:flex; align-items:flex-start; padding:20px; gap:14px; min-height:120px; color:var(--ink); }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-card-text { min-width:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-card-text strong { font-size:15px; font-weight:600; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-card-text p { font-size:13px; line-height:1.6; color:var(--stone); margin-top:6px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-card-foot { margin-top:auto; display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:12px 20px; border-top:1px solid var(--hairline); background:var(--card); }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bst-btn { min-height:44px; }
/* Analytics: acquisition tabs stay at the top, evidence below charts. Unmeasured
 * KPIs keep their dash/status instead of receiving simulated telemetry. */
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-app { max-width:1440px; margin:auto; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-eyebrow { color:var(--stone); font-size:11px; letter-spacing:.08em; font-weight:600; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-tabs { display:flex; gap:8px; overflow-x:auto; margin:20px 0 24px; padding-bottom:8px; border-bottom:1px solid var(--hairline); }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-tabs button { flex:none; min-height:44px; padding:10px 14px; border-radius:10px; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-tabs [aria-selected=true] { background:var(--bux-selected); color:var(--bux-selected-text); border:1px solid var(--bleu); font-weight:600; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-metric { padding:20px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-value { font:600 30px/1.2 var(--font-ui); letter-spacing:-.04em; color:var(--ink); }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-block:24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-panel { padding:24px; margin-block:24px; border-radius:12px; border:1px solid var(--hairline); background:var(--card); min-width:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-grid .wa-panel { margin:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-panel h2 { font-size:17px; letter-spacing:-.02em; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-page-evidence { padding:16px 20px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); color:var(--stone); font-size:13px; line-height:1.6; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-page-evidence > summary { color:var(--ink); min-height:44px; align-content:center; }
html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:24px 0; }
html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-tile { background:var(--card); border:1px solid var(--hairline); border-radius:12px; padding:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-tile-v { color:var(--ink); font:600 32px/1.2 var(--font-ui); letter-spacing:-.04em; margin-block:8px; }
html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-cols { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-card { margin:24px 0; padding:24px; border:1px solid var(--hairline); background:var(--card); border-radius:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-cols .lx-card { margin:0; }
/* System Health: status first, readable operational cards next. Forms inside
 * keep their native handlers/permissions and use the forms worker's controls. */
html[data-bleu-unified] #shell #content[data-bux-screen=system] .bleu-health { max-width:1180px; margin:auto; }
html[data-bleu-unified] #shell #content[data-bux-screen=system] .bh-summary { padding:20px 24px; border:1px solid var(--hairline); border-left:3px solid var(--bleu); border-radius:12px; background:var(--card); display:flex; flex-wrap:wrap; gap:12px 24px; margin-block:8px 24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=system] .bh-summary strong { color:var(--ink); font-weight:600; }
html[data-bleu-unified] #shell #content[data-bux-screen=system] .bh-card { margin:24px 0; padding:24px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); }
html[data-bleu-unified] #shell #content[data-bux-screen=system] .bh-card h2 { font-size:17px; letter-spacing:-.02em; }
html[data-bleu-unified] #shell #content[data-bux-screen=system] .bh-row { display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; padding-block:16px; border-bottom:1px solid var(--hairline); }
html[data-bleu-unified] #shell #content[data-bux-screen=system] .bh-actions { display:flex; flex-wrap:wrap; gap:8px; }
html[data-bleu-unified] #shell #content[data-bux-screen=system] :is(button,summary) { min-height:44px; }
/* Ask is a real, bounded question composer. Native evidence, response, cancel
 * and failure states keep their original wording and visibility. */
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-page { max-width:920px; margin:0 auto; padding-block:12px 32px; }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-workbench { padding:32px; background:var(--card); border:1px solid var(--hairline); border-radius:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-intro { color:var(--stone); margin-bottom:20px; font-size:15px; line-height:1.6; }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-compose { padding:16px; border:1px solid var(--field-border); border-radius:12px; background:var(--card); }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-compose:focus-within { outline:2px solid var(--bleu); outline-offset:2px; }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-q { width:100%; min-height:112px; padding:4px; border:0; background:transparent; color:var(--ink); font:400 18px/1.6 var(--font-ui); resize:vertical; box-shadow:none; }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-compose-foot { display:flex; gap:12px; flex-wrap:wrap; align-items:center; justify-content:space-between; margin-top:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-compose-foot > span { font-size:12px; color:var(--stone); }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-btn { min-height:44px; padding:10px 18px; border-radius:10px; background:var(--bleu); color:var(--on-miami); }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-examples { margin-top:24px; border-top:1px solid var(--hairline); padding-top:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-examples > summary { min-height:44px; align-content:center; font-size:13px; color:var(--stone); }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-suggestions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-suggestions button { min-height:52px; padding:12px 16px; border:1px solid var(--hairline); border-radius:10px; background:var(--card); color:var(--ink); text-align:left; font-size:13px; line-height:1.5; }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-suggestions button:hover { background:var(--well); border-color:var(--bleu); }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-trust { margin:24px 0 0; color:var(--stone); font-size:12px; line-height:1.6; max-width:72ch; }
/* Actual native failed/empty page states: a bounded reading block. Never hide
 * a warning, insert data or classify unknown values as zero. */
html[data-bleu-unified] #shell #content[data-bux-screen] .viewhost > .card:has(> .empty),
html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-page:has(> [role=alert]),
html[data-bleu-unified] #shell #content[data-bux-screen=system] .bleu-health:has(> [role=alert]) { padding:32px; background:var(--card); border:1px solid var(--hairline); border-radius:12px; margin-block:24px; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.hlh-empty,.wa-empty,.bst-empty) { padding:24px; color:var(--stone); font-size:14px; line-height:1.6; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(button,a,summary):focus-visible { outline:2px solid var(--bleu); outline-offset:3px; }
@media (max-width:1100px) {
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .tw-layout { grid-template-columns:minmax(0,1fr); }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .tw-side { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-kpis,.kpis) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
 html[data-bleu-unified] #shell #content[data-bux-screen] { --page-gap:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-heading,.ac-heading,.bic-head,.wa-header,.lx-head) { padding-bottom:20px; gap:12px; }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-actions,.wa-controls) { width:100%; }
 html[data-bleu-unified] #shell #content[data-bux-screen] .mw-actions > button { flex:1 1 auto; }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-two,.mf-list,.wa-grid,.lx-cols),
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] :is(.bhx,.tw-side) { grid-template-columns:minmax(0,1fr); gap:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-kpi,.kpi,.wa-metric) { padding:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-section,.wa-panel,.bh-card,.lx-card) { padding:18px; margin-block:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-tabs { gap:20px; margin-bottom:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-header { padding-bottom:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] :is(.bhx-brief,.bhx-insight,.ins-card) { padding:20px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-cards { grid-template-columns:1fr; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-card { min-height:84px; padding:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-links { gap:4px 16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-body { gap:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-pane { padding:20px 16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-nav { padding:8px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-row { flex-wrap:wrap; }
 html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-rowctl { max-width:100%; }
 html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stats { gap:8px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat { padding:14px 10px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat b { font-size:26px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat span { font-size:12px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-grid { grid-template-columns:minmax(0,1fr); }
 html[data-bleu-unified] #shell #content[data-bux-screen=integrations] :is(.bic-card-main,.bic-row) { padding:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-search { flex:1; }
 html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-tiles { grid-template-columns:1fr; gap:12px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-tile { padding:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-workbench { padding:20px 16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-suggestions { grid-template-columns:1fr; }
 html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-q { font-size:16px; }
}
@media (max-width:350px) {
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-kpis,.kpis,.wa-metrics,.ac-stats) { grid-template-columns:minmax(0,1fr); }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-header { gap:12px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-header-right { flex-wrap:wrap; }
}
@media (prefers-reduced-motion:reduce) {
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.thx-card,.bic-card,.mw-kpi,.ask-suggestions button) { transition:none; animation:none; }
}
@media (forced-colors:active) {
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.hcx-tabs [aria-selected=true],.bac-navitem[aria-current=page],.mw-periods button[aria-pressed=true],.bic-chip[aria-pressed=true]) { outline:2px solid Highlight; outline-offset:-3px; }
}
/* Current Operations' three explicit data scopes are native controls. */
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .opx-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .opx-tabs button { min-height:44px; padding:10px 16px; border:1px solid var(--hairline); border-radius:10px; background:var(--card); color:var(--stone); }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .opx-tabs button:is([aria-pressed=true],[aria-selected=true]) { color:var(--bux-selected-text); background:var(--bux-selected); border-color:var(--bleu); font-weight:600; }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .opx-context { padding:16px 20px; margin-bottom:20px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); color:var(--stone); font-size:13px; line-height:1.6; }
/* Keep the native commission widget legible without allowing one personal
 * summary to push the Hub's actual workspace below the desktop fold. */
@media (min-width:900px) {
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget { display:grid; grid-template-columns:minmax(220px,.8fr) minmax(0,1.8fr); gap:12px 28px; align-items:start; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget > header { grid-column:1; grid-row:1; flex-wrap:wrap; gap:8px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-date-tabs { grid-column:1; grid-row:2; align-self:end; justify-self:start; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget-body { grid-column:2; grid-row:1/3; display:grid; grid-template-columns:minmax(120px,.7fr) minmax(220px,1.3fr); gap:8px 20px; align-items:start; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget-note { grid-column:1; grid-row:1; margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-stats { grid-column:1; grid-row:2; margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-date-warning { grid-column:2; grid-row:1/4; margin:0; padding:0 0 0 20px; border-top:0; border-left:1px solid var(--hairline); }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget-all { grid-column:1; grid-row:3; justify-self:start; }
}

/* Page refinement: one reading rhythm across the native page families.
 * Metric groups are a single divided surface; charts and evidence remain
 * independent. Keep native visibility, editor geometry and control order. */
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.hcx-header,.mw-heading,.ac-heading,.bic-head,.bh-heading,.wa-header,.lx-head,.bac-top) { padding-bottom:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.mw-heading,.ac-heading,.bic-head,.bh-heading,.wa-header,.lx-head) :is(h1,p) { margin-block:0 6px; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpis,.mw-kpis,.wa-metrics,.ac-stats) {
  gap:0; padding:0; background:var(--card); border:1px solid var(--hairline); border-radius:10px;
}
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpi,.mw-kpi,.wa-metric,.ac-stat) {
  padding:18px 20px; border:0; border-radius:0; background:transparent;
  text-align:left; box-shadow:none; min-width:0;
}
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpi,.mw-kpi,.wa-metric,.ac-stat) + :is(.kpi,.mw-kpi,.wa-metric,.ac-stat) { border-inline-start:1px solid var(--hairline); }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpi .v,.mw-kpi strong,.wa-value) {
  font-size:clamp(24px,2.1vw,30px); letter-spacing:-.035em; margin-block:8px 6px;
}
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpi .kc,.mw-kpi small,.wa-definition) { font-size:12px; line-height:1.5; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.cardhead,.bv-head) { gap:8px 20px; }
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.cardhead .t,.bv-head h2,.wa-panel h2,.bh-card h2,.lx-h2) { font:600 16px/1.4 var(--font-ui); letter-spacing:-.015em; }

/* Tabs read as navigation, with one baseline and an explicit selected mark. */
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.wa-tabs,.vw-filters,.wq-lanes,.opx-tabs,.mw-periods,#aprtabs) {
  display:flex; flex-wrap:nowrap; gap:20px; padding:0; margin:0 0 20px;
  background:transparent; border:0; border-bottom:1px solid var(--hairline);
  border-radius:0; box-shadow:none; overflow-x:auto; scrollbar-width:thin;
}
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.wa-tabs,.vw-filters,.wq-lanes,.opx-tabs,.mw-periods,#aprtabs) > button {
  flex:none; min-height:44px; padding:10px 2px; border:0; border-bottom:2px solid transparent;
  border-radius:0; box-shadow:none; background:transparent; color:var(--stone);
  font:500 13px/1.5 var(--font-ui); white-space:nowrap;
}
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.wa-tabs,.vw-filters,.wq-lanes,.opx-tabs,.mw-periods,#aprtabs) > button:is([aria-selected=true],[aria-pressed=true],.on) {
  color:var(--ink); background:transparent; border-bottom-color:var(--bleu); font-weight:600;
}
html[data-bleu-unified] #shell #content[data-bux-screen] :is(.wa-tabs,.vw-filters,.wq-lanes,.opx-tabs,.mw-periods,#aprtabs) > button:hover { color:var(--ink); background:var(--well); }

/* Hub: the daily brief and its supporting links fit ahead of the work queues.
 * Evidence and next moves retain their own hierarchy in the Insights tab. */
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-brief { padding:20px 24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-brief h2 { font-size:24px; line-height:1.3; margin-block:10px; max-width:44ch; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-links { gap:4px 12px; margin-top:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-links button {
  min-height:44px; padding:8px 0; background:transparent; border-color:transparent;
  border-radius:6px; color:var(--ink); font-size:13px;
}
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-links button:hover { text-decoration:underline; text-underline-offset:4px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-title { padding-bottom:4px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-title h2 { margin:8px 0; font-size:22px; letter-spacing:-.025em; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-insight { gap:12px; padding:22px; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-insight h3 { margin:8px 0 12px; font-size:19px; line-height:1.4; letter-spacing:-.02em; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-impact { display:block; color:var(--ink); font-size:18px; font-weight:600; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-insight :is(p,summary) { font-size:13px; line-height:1.6; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-insight summary { min-height:44px; align-content:center; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-next { margin:16px 0 8px; padding:12px 14px; border:0; border-radius:6px; background:var(--well); }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-card { min-height:96px; border:0; border-radius:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-cards > li:nth-child(even) { border-inline-start:1px solid var(--hairline); }

/* Native financial pages: align the methodology, section names and metrics. */
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .bv-note { margin-block:16px; padding:6px 20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .bv-card { margin-block:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .two > .bv-card { margin:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .bv-head { padding:18px 20px 0; }
html[data-bleu-unified] #shell #content[data-bux-screen=operations] .bv-head :is(h2,p) { margin-block:0 6px; }
html[data-bleu-unified] #shell #content[data-bux-screen=cash-risk] .hero-d { padding:22px 24px; margin-block:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=cash-risk] .hero-d .hv { font:600 32px/1.25 var(--font-ui); margin-block:8px; letter-spacing:-.03em; }
html[data-bleu-unified] #shell #content[data-bux-screen=cash-risk] .grp2 { margin-top:24px; font:600 14px/1.5 var(--font-ui); color:var(--ink); letter-spacing:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=cash-risk] .grp2 + .kpis { margin-top:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=performance] #aprtabs { margin-top:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=performance] #apr_out > .banner { max-width:none; margin-bottom:16px; line-height:1.6; }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .money-focus { gap:24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .money-focus > :is(header,section) { margin:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .money-focus h2 { font-size:17px; line-height:1.4; letter-spacing:-.02em; }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .mf-list { gap:12px; margin:16px 0; }
html[data-bleu-unified] #shell #content[data-bux-screen=money-overview] .mf-row { grid-template-columns:minmax(0,1fr) auto 12px; align-items:center; padding:18px 20px; gap:8px 16px; }

/* Work keeps its native tracks, fixed document and editor. Header/empty-state
 * alignment and quiet actions apply equally to a populated native queue. */
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-top { padding-bottom:16px; margin-bottom:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-h1 { font:700 28px/1.2 var(--font-ui); letter-spacing:-.025em; }
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-sub { font-size:12px; line-height:1.5; }
html[data-bleu-unified] #shell #content[data-bux-screen=work] :is(.wv2-nav,.wv2-sublink) { min-height:44px; }
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-empty { padding:24px 20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-empty-lead { font-size:16px; line-height:1.5; margin-bottom:16px; }
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-empty-actions { justify-content:flex-start; }
html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-empty-actions :is(.wv2-btn,.wv2-chipbtn) { min-height:44px; border-radius:8px; padding:8px 12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-top { padding:4px 0 16px; margin-bottom:12px; border:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-heading h1 { font:700 28px/1.2 var(--font-ui); letter-spacing:-.025em; margin:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-sub { margin-block:6px 0; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-sub:empty { min-height:0; margin:0; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-tools { display:flex; align-items:center; gap:10px; padding:0; margin-bottom:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-view-sort { display:flex; align-items:center; flex:0 1 240px; gap:8px; min-width:0; font-size:13px; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-view-sort select { flex:1; width:auto; min-width:0; min-height:44px; padding-inline:10px 28px; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-seg { padding:3px; background:var(--well); border:1px solid var(--hairline); border-radius:8px; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-seg button { min-height:44px; padding:8px 12px; border-radius:6px; font-size:13px; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-seg button[aria-pressed=true] { color:var(--ink); background:var(--card); box-shadow:none; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-empty { padding:32px 20px; border-radius:10px; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-empty h2 { margin:14px 0 8px; font-size:18px; line-height:1.4; }
html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-empty p { max-width:48ch; margin:0 auto 20px; font-size:14px; line-height:1.6; }

/* Settings and Team: identity first, then a consistent vertical reading edge. */
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-body { gap:24px; align-items:start; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-nav { padding:8px; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-navitem { min-height:64px; padding:10px 12px; border:0; border-radius:6px; color:var(--ink); }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-navitem b { font-size:14px; font-weight:500; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-navitem small { margin-top:3px; color:var(--stone); font-size:12px; line-height:1.45; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-pane { padding:24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-row { padding-block:16px; }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat b { font-size:28px; line-height:1.2; }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat span { margin:0; font-size:12px; line-height:1.5; }
html[data-bleu-unified] #shell #content[data-bux-screen=team] .vam-setup-details { padding:8px 20px; }

/* Catalog filtering is visually subordinate to the connected service status. */
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-sec { margin-bottom:28px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-row { padding:16px 20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-tools { gap:12px; margin-bottom:16px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-chip { border-color:transparent; background:transparent; color:var(--stone); border-radius:6px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-chip[aria-pressed=true] { border-color:var(--hairline); background:var(--card); color:var(--ink); font-weight:600; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-grid { gap:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-card-main { min-height:112px; padding:18px; gap:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-card-foot { padding:8px 18px; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-metadata { font-size:12px; line-height:1.5; margin-bottom:12px; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-metric h2 { font-size:13px; font-weight:500; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-panel { padding:20px; margin-block:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=analytics] .wa-grid { gap:20px; margin-block:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-tile { text-align:left; padding:18px 20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-card { padding:20px; margin-block:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=system] .bh-summary { border-left-width:1px; padding:16px 20px; gap:8px 24px; }
html[data-bleu-unified] #shell #content[data-bux-screen=system] .bh-card { padding:20px; margin-block:20px; }
html[data-bleu-unified] #shell #content[data-bux-screen=ask] .ask-page > h1 { margin-bottom:20px; }

@media (min-width:900px) {
 html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-heading { display:flex; align-items:center; flex-wrap:wrap; gap:4px 16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=work] .wv2-sub { margin:0; }
}
/* The native commission summary should not become the Hub's main workspace.
 * Unwrap its layout box only; the live region, figures and actions stay native. */
@media (min-width:1200px) {
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget { grid-template-columns:minmax(240px,.85fr) minmax(220px,1fr) minmax(300px,1.35fr); gap:0 24px; padding:10px 20px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget > header { grid-column:1; grid-row:1; align-items:center; flex-wrap:nowrap; gap:8px; margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget > header h2 { margin:0; font-size:15px; line-height:1.4; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget > header p { margin:4px 0 0; font-size:12px; line-height:1.5; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-date-tabs { grid-column:1; grid-row:2; margin:0; padding:2px; align-self:center; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget-body { display:contents; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget-note { grid-column:2; grid-row:1; align-self:end; margin:0; font-size:11px; line-height:1.5; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-stats { grid-column:2; grid-row:2; margin:0; padding-right:70px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-stat { padding:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-stat :is(span,small) { font-size:11px; line-height:1.5; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-stat strong { font-size:23px; line-height:1.2; margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-stat small { margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget-all { grid-column:2; grid-row:2; align-self:center; justify-self:end; margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-date-warning { grid-column:3; grid-row:1/3; margin:0; padding:0 0 0 20px; border-top:0; border-left:1px solid var(--hairline); }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-date-warning strong { font-size:12px; line-height:1.5; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-date-warning p { margin:4px 0 8px; font-size:12px; line-height:1.5; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget .cw-button { min-height:44px; }
}
@media (max-width:1100px) {
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpis,.mw-kpis,.wa-metrics) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpi,.mw-kpi,.wa-metric):nth-child(2n+1) { border-inline-start:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpi,.mw-kpi,.wa-metric):nth-child(n+3) { border-top:1px solid var(--hairline); }
}
@media (max-width:700px) {
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.hcx-header,.mw-heading,.ac-heading,.bic-head,.bh-heading,.wa-header,.lx-head,.bac-top) { padding-bottom:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpis,.mw-kpis) { margin-block:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpi,.mw-kpi,.wa-metric,.ac-stat) { padding:16px 12px; }
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpi .v,.mw-kpi strong,.wa-value) { font-size:clamp(20px,6.15vw,24px); }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget { padding:16px; margin-bottom:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget > header { gap:8px; margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget > header h2 { font-size:14px; line-height:1.4; margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget > header p { font-size:12px; margin:4px 0 0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget .cw-button { min-height:44px; font-size:12px; padding:8px 10px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-date-tabs { padding:2px; margin:10px 0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget-body { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 12px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget-note { grid-column:1/-1; font-size:11px; margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-stats { grid-column:1; grid-row:2; margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-stat { padding:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-stat :is(span,small) { font-size:11px; line-height:1.5; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-stat strong { font-size:24px; line-height:1.3; margin-block:3px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-widget-all { grid-column:2; grid-row:2; align-self:center; margin:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-date-warning { grid-column:1/-1; grid-row:3; margin:8px 0 0; padding:12px 0 0; border-top:1px solid var(--hairline); }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-date-warning strong { font-size:12px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .cw-date-warning p { font-size:12px; line-height:1.5; margin:4px 0 8px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-brief { padding:18px; margin-bottom:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-brief h2 { font-size:20px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-links { column-gap:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .bhx-insight { padding:18px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .thx-cards > li:nth-child(even) { border-inline-start:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-seg { display:flex; flex:1 0 100%; }
 html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-seg button { flex:1; }
 html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-view-sort { flex:1 1 0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=pipeline] .wq-filtertoggle { flex:none; }
 html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-pane { padding:20px 16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=settings] .bac-me { padding:12px 8px 16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat b { font-size:24px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-card-main { min-height:0; padding:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=integrations] .bic-card-foot { padding-inline:16px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=analytics] :is(.wa-panel,.wa-page-evidence),
 html[data-bleu-unified] #shell #content[data-bux-screen=enquiry-trends] .lx-card,
 html[data-bleu-unified] #shell #content[data-bux-screen=system] .bh-card { padding:16px; margin-block:16px; }
}
@media (max-width:350px) {
 html[data-bleu-unified] #shell #content[data-bux-screen] :is(.kpis,.mw-kpis) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
 html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat { padding:14px 8px; }
 html[data-bleu-unified] #shell #content[data-bux-screen=team] .ac-stat span { font-size:11px; overflow-wrap:anywhere; }
}
/* Native Action Center keeps its accessible label while fitting phone headers. */
@media(max-width:640px) {
 html[data-bleu-unified] #shell #content .bleu-action-launch { position:relative; flex:0 0 44px; width:44px; min-width:44px; height:44px; min-height:44px; padding:0; gap:0; justify-content:center; }
 html[data-bleu-unified] #shell #content .bleu-action-launch>span { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
 html[data-bleu-unified] #shell #content[data-bux-screen=hub] .hcx-greeting { white-space:nowrap; }
}
html[data-bleu-unified] #shell #content .blh-line>.bleu-action-launch { order:2; }
@media(max-width:640px) {
 html[data-bleu-unified] #shell #content[data-bux-page=inventory] .blh-line { flex-wrap:nowrap; gap:4px; }
}
@media(max-width:350px) {
 html[data-bleu-unified] #shell #content[data-bux-page=inventory] .blh-top { flex-wrap:wrap; }
 html[data-bleu-unified] #shell #content[data-bux-page=inventory] .blh-head { flex-basis:100%; }
 html[data-bleu-unified] #shell #content[data-bux-page=inventory] .blh-acts { margin-left:auto; margin-right:0; }
}

/* Native record families. Nov 9 onbleu: Bone workspace, white cards, Geist,
 * navy ink / navy dark surfaces. No hidden native data or action proxies. */
html[data-bleu-unified] #drawer#drawer[data-bux-record] {
  --brs-bg: var(--paper);
  --brs-group: var(--card);
  --brs-line: var(--hairline);
  --brs-ink: var(--ink);
  --brs-mut: var(--stone);
  --brs-primary: var(--bleu);
  --brs-on-primary: var(--on-miami);
  --brs-fill: var(--bux-hover);
  --brs-px: 24px;
  box-sizing: border-box;
  width: min(760px, 100vw) !important;
  max-width: 100vw !important;
  background: var(--paper) !important;
  color: var(--ink);
  font: 400 14px/1.5 var(--font-ui);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 120px 100px;
  border-left: 1px solid var(--hairline);
  box-shadow: -16px 0 64px #071a3d1a;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record].brs-expanded { width: min(1080px, 100vw) !important; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] *,
html[data-bleu-unified] #drawer#drawer[data-bux-record] *::before,
html[data-bleu-unified] #drawer#drawer[data-bux-record] *::after { box-sizing: border-box; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] :is(button,a.btn,input:not([type=checkbox],[type=radio],[type=hidden]),select,summary,textarea) {
  min-height: 44px;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] :is(button,a.btn) { min-width: 44px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] :is(button,input,select,textarea,a,summary):focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] :is(input,select,textarea) {
  max-width: 100%;
  min-width: 0;
  color: var(--ink);
  background-color: var(--card);
  border-color: var(--field-border);
  border-radius: 8px;
  font-family: var(--font-ui);
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-top {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 12px;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-head { padding-bottom: 12px !important; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-title {
  font: 650 22px/1.23 var(--font-ui) !important;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-meta { margin: 2px 0 -4px; gap: 2px 6px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-pill { background: var(--card); border: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-facts {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin: 0 0 12px;
  border: 1px solid var(--hairline);
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-facts[data-n="3"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-fact { min-width: 0; padding: 10px 12px; background: transparent; border-radius: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-fact-k { color: var(--stone); font-size: 11px; line-height: 1.4; font-weight: 500; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-fact-v { font: 650 18px/1.4 var(--font-ui); letter-spacing: -.02em; white-space: normal; overflow-wrap: anywhere; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-fact-s { white-space: normal; font-size: 11px; line-height: 1.4; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-tabs {
  background: var(--paper);
  border-block-start: 0;
  border-block-end: 1px solid var(--hairline);
  padding-block: 5px;
  margin-bottom: 12px;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-tabs .tabs { gap: 4px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-tabs :is(.tab,[role=tab]) {
  min-height: 44px;
  padding: 10px 14px;
  font: 550 13px/1.4 var(--font-ui);
  border-radius: 8px;
  color: var(--stone);
  border: 1px solid transparent;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-tabs :is(.on,[aria-selected=true]) {
  color: var(--bux-selected-text);
  background: var(--bux-selected);
  border-color: var(--hairline);
  font-weight: 650;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-attn { margin: 0 0 16px; padding: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-attn-h { font-size: 12px; color: var(--stone); margin-bottom: 8px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-attn-row { background: var(--card); border: 1px solid var(--hairline); border-left: 3px solid var(--bleu); border-radius: 10px; padding: 12px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-attn-ico { color: var(--bleu); }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-attn-x { font-size: 14px; font-weight: 600; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-attn-a { font-size: 12px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-sum {
  padding: 16px;
  margin: 0 0 16px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--card);
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] .bsm-lines { font-size: 13px; line-height: 1.6; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .bsm-meta { font-size: 11px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-bar {
  background: var(--paper);
  gap: 8px;
  padding-block: 12px calc(12px + var(--brs-sab));
  box-shadow: 0 -8px 24px color-mix(in srgb,var(--paper) 90%,transparent);
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-btn { min-height: 44px; font-size: 14px; border-radius: 8px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] [data-bux-record-section] {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  margin-block: 0 12px;
  box-shadow: none;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] [data-bux-record-section] :is(h3,.grp) { font-family: var(--font-ui); font-size: 13px; font-weight: 650; color: var(--ink); }
html[data-bleu-unified] #drawer#drawer[data-bux-record] [data-bux-record-heading] { grid-column: 1/-1; margin: 0; font: 650 13px/1.4 var(--font-ui); color: var(--ink); }
html[data-bleu-unified] #drawer#drawer[data-bux-record] [data-bux-record-scroll] { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
/* Vehicle: separate operational snapshot, specifications, people and evidence. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-snapshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-snapshot-cell { display: flex; align-items: flex-start; flex-direction: column; justify-content: flex-start; gap: 5px; padding: 14px 16px; border: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-snapshot-cell:nth-child(n+3) { border-top: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] :is(.vd-selling,.vd-recent,.vd-lifecycle,.vd-position,.vd-people,.td-booked-transport) { padding: 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .dfield { min-width: 0; padding: 14px 16px; border-color: var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .dfield .v { font: 550 15px/1.5 var(--font-ui); overflow-wrap: anywhere; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-inspection-summary { padding: 16px; gap: 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-inspection-stats { background: var(--paper); border-radius: 8px; padding: 10px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .cr-heading { margin-bottom: 14px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .cr-heading h2 { font: 650 17px/1.4 var(--font-ui); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .cr-heading p { font-size: 12px; color: var(--stone); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .cr-empty { padding: 24px 16px; }
/* Customer: contact first, followed by clear relationship disclosures. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=customer] .cp-facts { padding: 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=customer] .cp-section > summary { padding: 14px 16px; font: 600 14px/1.5 var(--font-ui); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=customer] .cp-section[open] > summary { border-bottom: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=customer] .cp-section > :not(summary) { margin-inline: 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=customer] .cp-facts :is(a,.v) { overflow-wrap: anywhere; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=customer] .ptabs { margin-top: 0; }
/* Vendor: contact and compliance cards; bill rows keep their native semantics. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=vendor] :is(.vspcontact,.vspsec,.vspw9) { padding: 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vendor] .vspcontact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vendor] .vspfield { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vendor] .vspfield .k { font-size: 11px; color: var(--stone); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vendor] .vspsech { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vendor] .vspsech .submut { flex-basis: 100%; font-size: 12px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vendor] .vsptable .vsptr { min-height: 52px; }
/* Payable: amount leads; payment journey stays distinct from editable facts. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable] .brs-facts { grid-template-columns: 1.25fr 1fr 1fr; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable] .brs-fact:first-child .brs-fact-v { font-size: 24px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable] .kcard { overflow: hidden; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable] .sowhy { font-size: 14px; border-bottom: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable] .apjour { padding: 0 0 0 18px; font-size: 12px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable] .apjour > li { padding-block: 8px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable] .sofact { padding: 14px 16px; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 4px 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable] .sofv { font: 550 14px/1.5 var(--font-ui); overflow-wrap: anywhere; }
/* Deal: an actionable issue list, a quiet stage strip, then fact disclosures. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwwrap { padding: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwsum { padding: 16px; border-left: 3px solid var(--bleu); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwn { font: 650 17px/1.4 var(--font-ui); margin: 10px 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwhl { font-size: 12px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwleft { margin: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwleft > li { padding-block: 10px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwlt { font-size: 14px; line-height: 1.5; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] :is(.dwlw,.dwnt,.dwsl,.dwnote,.dwfoot) { font-size: 12px; line-height: 1.6; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwjour { padding: 14px 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwsec { overflow: hidden; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwsec > summary { padding: 14px 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwsec[open] > summary { border-bottom: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwbody { padding: 4px 16px 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwrow { grid-template-columns: minmax(90px,.7fr) minmax(0,2fr); gap: 12px; padding-block: 12px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwval { font-size: 14px; overflow-wrap: anywhere; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=deal] .dwacts { flex-wrap: wrap; }
/* Transport: native fields grouped by journey; IDs, labels and Save stay native. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=transport] .tpsum { border: 1px solid var(--hairline); border-radius: 12px; background: var(--card); padding: 16px; margin-bottom: 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=transport] [data-bux-record-form] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; padding: 16px; background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=transport] [data-bux-record-heading]:not(:first-child) { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=transport] .fl { min-width: 0; margin: 0; gap: 6px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=transport] .fl > span { font-size: 12px; color: var(--stone); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=transport] .fin { width: 100%; font-size: 14px; padding: 10px; }
/* Work task keeps its own DOM ancestry, event delegation and write busy gate.
 * display:contents lets the original action row dock after all task content. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=task]:has(.wvt) { padding: 0 24px !important; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt { display: flex; flex-direction: column; min-height: 100%; padding: 0; max-width: none; background: transparent; border: 0; border-radius: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] [data-wvt-body] { display: contents; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-head { position: sticky; top: 0; z-index: 5; background: var(--paper); margin: 0 -24px 16px; padding: calc(16px + var(--brs-sat)) 24px 12px; border-bottom: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-title { font: 650 20px/1.3 var(--font-ui); letter-spacing: -.02em; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-bar { order: 10; position: sticky; bottom: 0; z-index: 6; margin: auto -24px 0; padding: 12px 24px calc(12px + var(--brs-sab)); background: var(--paper); border-top: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-primary { flex: 1; background: var(--bleu); color: var(--on-miami); border: 0; min-height: 44px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] :is(.wvt-who,.wvt-instr,.wvt-thread,.wvt-activity,.vw-observations) { padding: 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-person { width: 100%; justify-content: flex-start; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-person-n { font-size: 14px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-chips { flex-wrap: wrap; margin-bottom: 14px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-compose { display: flex; flex-wrap: wrap; gap: 8px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-compose input { flex: 1; width: 0; min-width: 100px; padding: 10px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-notice:empty { display: none; }
@media (max-width: 860px) {
  html[data-bleu-unified] #drawer#drawer[data-bux-record] { --brs-px: 16px; width: 100vw !important; max-width: 100vw !important; inset: 0 !important; height: 100dvh !important; border: 0; border-radius: 0 !important; }
}
@media (max-width: 480px) {
  html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-title { font-size: 20px !important; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-facts,
  html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-facts[data-n="3"] { grid-template-columns: 1fr 1fr; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-fact:nth-child(2n) { border-right: 0; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-fact:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-facts[data-n="3"] .brs-fact:last-child { grid-column: 1/-1; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .dgrid,
  html[data-bleu-unified] #drawer#drawer[data-bux-record=vendor] .vspcontact { grid-template-columns: 1fr; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-inspection-summary { display: block; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-inspection-stats { margin-top: 16px; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=transport] .fin { font-size: 16px; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=transport] [data-bux-record-form] { grid-template-columns: minmax(0,1fr); }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=transport] .fl { grid-column: 1/-1; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=task]:has(.wvt) { padding: 0 16px !important; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-head { margin-inline: -16px; padding-inline: 16px; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=task] .wvt-bar { margin-inline: -16px; padding-inline: 16px; }
}
@media (forced-colors: active) {
  html[data-bleu-unified] #drawer#drawer[data-bux-record] :is(.brs-primary,.wvt-primary,[data-bux-record-section]) { border: 1px solid CanvasText; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-tabs :is(.on,[aria-selected=true]) { outline: 2px solid Highlight; }
}
/* Current public shell adds explicit vehicle status and read provenance. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .va-status { padding: 16px; margin-bottom: 16px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--card); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .va-status h3 { font: 650 13px/1.5 var(--font-ui); margin: 0 0 10px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .va-status-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .va-status-card { min-width: 0; padding: 10px 12px; border: 0; border-radius: 0; border-top: 1px solid var(--hairline); background: transparent; gap: 3px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .va-status-card:nth-child(2n) { border-left: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .va-status-card strong { font: 600 13px/1.5 var(--font-ui); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] :is(.va-status-label,.va-status-card small) { font-size: 11px; line-height: 1.5; color: var(--stone); }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-tabs .tab { min-height: 44px !important; padding: 10px 14px !important; font: 550 13px/1.4 var(--font-ui) !important; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-tabs .tab.on { background: var(--bux-selected) !important; color: var(--bux-selected-text) !important; border: 1px solid var(--hairline) !important; border-radius: 8px !important; font-weight: 650 !important; }
@media (max-width: 480px) {
  html[data-bleu-unified] #drawer#drawer[data-bux-record] .brs-meta .brs-chip { max-width: 140px; display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 44px; vertical-align: middle; }
}
/* Current customer opportunity detail: identity, follow-up facts, then native
 * stage and next-step forms. Each Save remains beside the fields it commits. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .brs-head .brs-title { font-size: 12px !important; font-weight: 550 !important; color: var(--stone); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-editor { padding: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > h2 { margin: 0 0 8px; font: 650 22px/1.3 var(--font-ui); letter-spacing: -.025em; overflow-wrap: anywhere; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-eyebrow { color: var(--stone); font-size: 11px; margin: 0 0 6px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > dl { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; margin-top: 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > dl > div { display: block; padding: 14px 16px; border: 0; min-width: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > dl > div:nth-child(2) { grid-column: 1/-1; grid-row: 2; border-top: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] dt { color: var(--stone); font-size: 11px; margin-bottom: 4px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] dd { margin: 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > form > label { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--stone); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] :is(input,select) { width: 100%; font-size: 16px; padding: 10px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > details { padding: 0 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > details summary { display: flex; align-items: center; font-size: 13px; font-weight: 600; }
/* Older contact/want forms carry explicit 32px heights. Keep the existing
 * fields, with the same touch target as the rest of the record. */
html[data-bleu-unified] #drawer#drawer[data-bux-record] :is(input.fin,select.fin,textarea.fin) { min-height: 44px !important; }
/* The retained shell intentionally flattens these groups with !important.
 * Override only those presentation properties; its clamping and actions stay. */
html[data-bleu-unified] #drawer#drawer[data-bux-record] .bsm.brs-sum { padding: 12px 14px !important; margin: 0 0 12px !important; border: 1px solid var(--hairline) !important; background: var(--card) !important; }
html[data-bleu-unified] #drawer#drawer[data-bux-record] [data-bux-record-section] { background: var(--card) !important; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-snapshot-grid { display: grid !important; border: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-snapshot-cell { flex-direction: column !important; padding: 10px 12px !important; align-items: flex-start; border: 0 !important; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-snapshot-cell:nth-child(n+3) { border-top: 1px solid var(--hairline) !important; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-snapshot-cell :is(.vd-stat-value,.vd-timestamp) { margin-left: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > form[data-cd-followup] { grid-template-columns: 1fr 1fr; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > form[data-cd-followup] > button { grid-column: 1/-1; justify-self: end; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail dd { text-align: start; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=vendor] .vspcontact .vspfield { padding: 0; border: 0; background: transparent; border-radius: 0; }
@media (max-width: 480px) {
  html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > form,
  html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > form[data-cd-followup] { grid-template-columns: minmax(0,1fr); }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .cd-detail > form > button { justify-self: stretch; }
}
/* Shipment detail is a separate native reader from the leg editor. A denied
 * reader retains its real access message; presentation never supplies access. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=shipment] #tp_detail_body { padding: 0 0 24px; min-width: 0; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=shipment] .transport-details { padding: 0; font-family: var(--font-ui); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=shipment] :is(.td-section,.td-panel,.td-checkpoint) { padding: 16px; border-radius: 12px; border: 1px solid var(--hairline); background: var(--card); margin-bottom: 14px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=shipment] .td-section-nav { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding-block: 8px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=shipment] .td-section-nav a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: 12px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=shipment] .tp-detail-message { padding: 16px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--card); font-size: 14px; }
/* Payable edit is its own native form, reached from Payables' guarded cache.
 * The original Save, Cancel, input IDs and payment restrictions stay native. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable-editor] [data-bux-record-form] {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px;
  padding: 16px !important; margin-bottom: 12px;
  border: 1px solid var(--hairline); border-radius: 12px; background: var(--card);
}
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable-editor] .fl { min-width: 0; margin: 0; gap: 6px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable-editor] .fl > span { font: 500 12px/1.5 var(--font-ui); color: var(--stone); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable-editor] .fin { width: 100%; padding: 10px; font-size: 14px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=payable-editor] [data-bux-record-heading]:not(:first-child) { padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--hairline); }
@media (max-width: 480px) {
  html[data-bleu-unified] #drawer#drawer[data-bux-record=payable-editor] [data-bux-record-form] { grid-template-columns: minmax(0,1fr); }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=payable-editor] .fl { grid-column: 1/-1; }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=payable-editor] .fin { font-size: 16px; }
}
/* Newer public customer deals use linked-vehicle and next-step sections, with
 * stage editing in a native disclosure. Keep that disclosure closed by default. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .dw-detail > :is(.dw-summary,.dw-vehicle,.dw-next,.dw-packet) { padding: 16px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .dw-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .dw-eyebrow { margin: 0; font: 500 11px/1.5 var(--font-ui); color: var(--stone); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .dw-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .dw-car { width: 100%; text-align: start; padding: 12px 0; color: var(--ink); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .dw-interest { padding-top: 12px; border-top: 1px solid var(--hairline); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] :is(.dw-car small,.dw-interest small,.dw-owner) { font-size: 12px; color: var(--stone); }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .dw-next > form[data-buf-form] { padding: 0; margin-top: 14px; border: 0; background: transparent; }
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity] .dw-disclosure > form { margin: 0; border: 0; padding: 8px 0 16px; }
/* On the newer reader, the native shell title is the customer's identity. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=opportunity]:has(.dw-detail) .brs-head .brs-title { font: 650 22px/1.3 var(--font-ui) !important; color: var(--ink); }

/* Nested record regions share the parent surface; retain all native sections,
 * disclosures and inline editing nodes, with a divider in place of a card. */
html[data-bleu-unified] #drawer#drawer[data-bux-record] [data-bux-record-section] [data-bux-record-section] {
  border: 0; border-top: 1px solid var(--hairline); border-radius: 0;
  margin-block: 12px 0; background: transparent !important;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] :is(.cp-section,.dwsec,.dw-disclosure) > summary {
  min-height: 48px; padding-block: 10px; font: 600 14px/1.5 var(--font-ui); cursor: pointer;
}
/* Specifications are editable facts, so each value keeps its own 44px edit
 * control. The desktop reader uses two columns without oversized field tiles. */
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-specifications .grp {
  padding: 12px 14px; text-align: start; align-items: flex-start; gap: 4px;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-specifications .dgrid {
  padding: 0 !important; gap: 0; grid-template-columns: repeat(2,minmax(0,1fr));
}
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-specifications .dfield {
  min-height: 76px; padding: 10px 14px !important; border: 0;
  border-top: 1px solid var(--hairline); border-radius: 0; background: transparent;
}
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-specifications .dfield .k {
  font: 500 12px/1.5 var(--font-ui); color: var(--stone);
}
html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-specifications .dfield .v {
  margin-top: 4px; font: 550 15px/1.5 var(--font-ui);
}
html[data-bleu-unified] #drawer#drawer[data-bux-record] :is(.bsm-title,.bsm-head) {
  color: var(--ink); font-family: var(--font-ui); font-weight: 600;
}
@media (max-width: 700px) {
  html[data-bleu-unified] #drawer#drawer[data-bux-record] :is(input:not([type=checkbox],[type=radio],[type=hidden]),select,textarea) {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-specifications .dgrid {
    grid-template-columns: minmax(0,1fr);
  }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-specifications .dfield {
    min-height: 56px; grid-template-columns: minmax(72px,.7fr) minmax(0,1.3fr) 44px;
    padding: 6px 12px !important;
  }
  html[data-bleu-unified] #drawer#drawer[data-bux-record=vehicle] .vd-specifications .dfield .v { margin: 0; }
}

/* Native form families, inspected in the Work predecessor and Nov 11 public
 * shell. Presentation opt-in only; hidden/disabled/read-only stay native. */
html[data-bleu-unified] [data-buf-form],
html[data-bleu-unified] [data-buf-settings] {
  font-family: var(--font-ui, 'Geist', sans-serif);
  color: var(--ink);
  min-inline-size: 0;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.55;
}
html[data-bleu-unified] [data-buf-form] *,
html[data-bleu-unified] [data-buf-settings] * { box-sizing: border-box; }
/* Explicitly retain conditional fields, enforced security gates and native
 * mode changes when a grid/flex declaration would otherwise win the cascade. */
html[data-bleu-unified] [data-buf-form] [hidden],
html[data-bleu-unified] [data-buf-form][hidden],
html[data-bleu-unified] [data-buf-settings] [hidden] { display: none !important; }
html[data-bleu-unified] [data-buf-form] :is(input:not([type=checkbox],[type=radio],[type=hidden]), select, textarea),
html[data-bleu-unified] [data-buf-settings] :is(input:not([type=checkbox],[type=radio],[type=hidden]), select, textarea) {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  min-block-size: 44px;
  padding: 11px 12px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font: 400 15px/1.45 var(--font-ui, 'Geist', sans-serif);
  box-shadow: none;
  scroll-margin-block: 88px 120px;
}
html[data-bleu-unified] [data-buf-form] textarea { min-block-size: 112px; resize: vertical; }
html[data-bleu-unified] [data-buf-form] :is(input,textarea)::placeholder { color: var(--stone); opacity: 1; }
html[data-bleu-unified] [data-buf-form] :is(input,select,textarea):disabled,
html[data-bleu-unified] [data-buf-settings] :is(input,select,textarea):disabled {
  background: var(--bux-disabled-bg); color: var(--bux-disabled-text); opacity: 1; cursor: not-allowed;
}
html[data-bleu-unified] [data-buf-form] input[readonly] {
  background: var(--well); border-style: dashed; color: var(--stone);
}
html[data-bleu-unified] [data-buf-form] [aria-invalid=true] { border-color: var(--alert); border-width: 2px; }
html[data-bleu-unified] [data-buf-form] :is(button,a,summary,input,select,textarea):focus-visible,
html[data-bleu-unified] [data-buf-settings] :is(button,a,summary,input,select,textarea):focus-visible {
  outline: 3px solid var(--bleu); outline-offset: 3px;
}
html[data-bleu-unified] [data-buf-form] :is(button,summary),
html[data-bleu-unified] [data-buf-settings] :is(button,summary) {
  min-block-size: 44px; font-family: inherit; white-space: normal;
}
html[data-bleu-unified] [data-buf-form] button { max-inline-size: 100%; overflow-wrap: anywhere; }
html[data-bleu-unified] [data-buf-form] :is(input[type=checkbox],input[type=radio]) {
  inline-size: 20px; block-size: 20px; min-block-size: 20px; flex: 0 0 20px;
  margin: 2px 0; accent-color: var(--bleu);
}
html[data-bleu-unified] [data-buf-field=text],
html[data-bleu-unified] [data-buf-inline-label] {
  display: grid; gap: 6px; margin: 0; font-size: 13px; line-height: 1.45; font-weight: 550; color: var(--ink);
}
html[data-bleu-unified] [data-buf-field=choice] {
  display: flex; align-items: flex-start; gap: 10px; min-block-size: 44px;
  padding-block: 9px; font-size: 14px; line-height: 1.5; cursor: pointer;
}
html[data-bleu-unified] [data-buf-form] :is(label > span,.fld > span) {
  text-transform: none; letter-spacing: normal; color: var(--ink); font-size: 13px;
}
html[data-bleu-unified] [data-buf-form] [data-buf-message] {
  max-inline-size: 100%; overflow-wrap: anywhere; font-size: 13px; font-weight: 400;
  line-height: 1.6; margin: 0; color: var(--stone);
}
html[data-bleu-unified] [data-buf-form] [data-buf-message]:not(:empty) { padding-block: 4px; }
html[data-bleu-unified] [data-buf-form] [data-buf-message=error]:not(:empty) {
  border-inline-start: 3px solid var(--alert); background: var(--alert-bg); color: var(--alert);
  padding: 12px; border-radius: 0 8px 8px 0; scroll-margin-block: 88px 100px;
}
/* A scrolled form has one stable header and a native sticky action area. The
 * drawer stays the scroll owner so the existing keyboard trap/back stack work. */
html[data-bleu-unified] #drawer[data-buf-drawer=editor] {
  inline-size: min(760px, 100vw) !important;
  max-inline-size: 100vw; background: var(--paper); overflow-x: hidden;
  overscroll-behavior-y: contain; scroll-padding-block: 92px 124px;
}
html[data-bleu-unified] #drawer[data-buf-drawer=editor] > .dh {
  position: sticky; inset-block-start: 0; z-index: 6; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; min-block-size: 80px; padding: 16px 28px;
  background: var(--card); border-block-end: 1px solid var(--hairline); margin: 0;
}
html[data-bleu-unified] #drawer[data-buf-drawer=editor] > .dh h2 {
  font: 600 22px/1.25 var(--font-ui); letter-spacing: -.6px; margin: 0; overflow-wrap: anywhere;
}
html[data-bleu-unified] #drawer[data-buf-drawer=editor] > .dh :is(.dx,[data-close]) {
  flex-shrink: 0; min-inline-size: 44px; min-block-size: 44px; border: 1px solid var(--hairline);
  border-radius: 8px; background: var(--card); color: var(--ink);
}
html[data-bleu-unified] #drawer[data-buf-drawer=editor] .brs-bar {
  background: var(--card); border-block-start: 1px solid var(--hairline);
  padding: 14px 24px max(14px,env(safe-area-inset-bottom));
}
html[data-bleu-unified] #drawer[data-buf-drawer=editor] .brs-primary {
  min-block-size: 44px; border-radius: 8px; background: var(--bleu); color: var(--on-miami);
  font: 600 14px/1.5 var(--font-ui);
}
html[data-bleu-unified] #drawer[data-buf-drawer=editor] > :is(.cd-editor,[data-bi-host],.crm-lead) { padding: 16px 24px 0; }
html[data-bleu-unified] #drawer[data-buf-drawer=editor] :is([data-crm-host],.crm-lead,.crm-lead [data-form]) {
  min-inline-size: 0; max-inline-size: 100%; inline-size: 100%; box-sizing: border-box;
}
html[data-bleu-unified] [data-buf-form=customer-lead] .crm-segment { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
html[data-bleu-unified] [data-buf-form]:is([data-buf-form=deal-create],[data-buf-form=stock-intake],[data-buf-form=customer-lead],[data-buf-form=buying-vehicle],[data-buf-form=buying-step]) {
  display: grid; gap: 16px; margin: 0;
}
html[data-bleu-unified] [data-buf-form] [data-buf-group] {
  display: grid; gap: 12px; min-inline-size: 0; margin: 0;
  padding: 12px 0 0; border: 0; border-block-start: 1px solid var(--hairline); border-radius: 0; background: transparent;
}
html[data-bleu-unified] [data-buf-form] legend {
  padding: 0 12px 0 0; color: var(--ink); font: 600 15px/1.5 var(--font-ui);
}
html[data-bleu-unified] [data-buf-form] :is(.cd-fields,.nsv-identity,.bv-grid,[data-cd-new-client],[data-new]) {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px;
}
html[data-bleu-unified] [data-buf-form] :is([data-cd-new-client] > p,.bv-grid label:has(textarea)) { grid-column: 1 / -1; }
html[data-bleu-unified] [data-buf-form=deal-create] > fieldset:last-of-type { grid-template-columns: repeat(2,minmax(0,1fr)); }
html[data-bleu-unified] [data-buf-form=deal-create] > fieldset:last-of-type > label:first-of-type { grid-column: 1 / -1; }
html[data-bleu-unified] [data-buf-form=stock-intake] .nsv-body { display: grid; gap: 16px; padding: 0; }
html[data-bleu-unified] [data-buf-form] :is(.nsv-vin-row,.nsv-stock-row) { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 12px; }
html[data-bleu-unified] [data-buf-form] :is([name=vin],[name=stock]) { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
html[data-bleu-unified] [data-buf-form] :is(.cd-results,.crm-results) { display: grid; gap: 8px; }
html[data-bleu-unified] [data-buf-form] :is(.cd-results,.crm-results) button { background: var(--well); color: var(--ink); border: 1px solid var(--hairline); border-radius: 8px; padding: 12px; text-align: start; }
html[data-bleu-unified] [data-buf-form] [data-buf-actions] {
  position: sticky; inset-block-end: 0; z-index: 4; display: flex; flex-direction: row; align-items: center; justify-content: flex-end;
  flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 0 max(12px, env(safe-area-inset-bottom));
  background: var(--paper); border-block-start: 1px solid var(--hairline);
}
html[data-bleu-unified] [data-buf-form] [data-buf-actions] :is(small,[data-savehint],.imp-foot-note) { flex: 1 1 200px; font-size: 12px; line-height: 1.5; color: var(--stone); }
html[data-bleu-unified] [data-buf-form] [data-buf-actions] button { flex: 0 1 auto; inline-size: auto; min-inline-size: 112px; }
html[data-bleu-unified] [data-buf-form] :is(button[type=submit],.crm-primary,[data-buf-primary],.imp-btn-primary),
html[data-bleu-unified] [data-buf-form] .acts .btn:not(.sec) {
  background: var(--bleu); color: var(--on-miami); border: 1px solid transparent;
  border-radius: 8px; min-block-size: 44px; padding: 11px 18px; font-weight: 600;
}
html[data-bleu-unified] [data-buf-form] :is(button[type=submit],.crm-primary,[data-buf-primary],.imp-btn-primary):disabled {
  background: var(--bux-disabled-bg); color: var(--bux-disabled-text); opacity: 1; cursor: not-allowed;
}
html[data-bleu-unified] [data-buf-form] [data-buf-submit] { justify-self: end; margin-block: 4px 24px; }
html[data-bleu-unified] [data-buf-form=deal-update] {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end;
  gap: 12px; padding: 16px; background: var(--card); border: 1px solid var(--hairline); border-radius: 12px;
}
html[data-bleu-unified] [data-buf-form=deal-update] button { margin: 0; }
/* Vendor editing is local to the actual field, with a visible name, explicit
 * Save and Cancel and a full-width error; no duplicate writer or edit proxy. */
html[data-bleu-unified] [data-buf-form=vendor-inline] {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px;
  inline-size: 100%; padding: 12px; margin-block: 8px; background: var(--well);
  border: 1px solid var(--hairline); border-radius: 12px;
}
html[data-bleu-unified] [data-buf-form=vendor-inline] :is(label,input,select,textarea,[role=alert]) { grid-column: 1 / -1; }
html[data-bleu-unified] [data-buf-form=vendor-inline] [data-vsp-save],
html[data-bleu-unified] [data-buf-form=vendor-inline] button[type=submit] { grid-column: 2; margin: 0; }
html[data-bleu-unified] [data-buf-form=vendor-inline] button { min-inline-size: 76px; border-radius: 8px; }
html[data-bleu-unified] #drawer [data-buf-form=vendor-status] {
  display: grid; gap: 12px; padding: 16px; margin: 16px;
  border: 1px solid var(--hairline); border-radius: 12px; background: var(--card);
}
html[data-bleu-unified] [data-buf-form=vendor-status] [data-buf-actions] { background: var(--card); }
/* Payables uses its own guarded writer. The records source owns edit section
 * headings; only Add receives new headings here. Existing input IDs stay put. */
html[data-bleu-unified] #apout [data-buf-form=payable-add] {
  padding: 16px; background: var(--card); border: 1px solid var(--hairline); border-radius: 10px;
}
html[data-bleu-unified] [data-buf-form=payable-add] .lf { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; }
html[data-bleu-unified] [data-buf-form=payable-add] [data-buf-heading] {
  grid-column: 1 / -1; font: 600 15px/1.5 var(--font-ui); margin: 12px 0 0;
  padding-block-start: 16px; border-block-start: 1px solid var(--hairline);
}
html[data-bleu-unified] [data-buf-form=payable-add] [data-buf-heading]:first-child { margin: 0; padding: 0; border: 0; }
html[data-bleu-unified] [data-buf-form=payable-add] .full { grid-column: 1 / -1; }
html[data-bleu-unified] [data-buf-form=payable-add] [data-buf-actions] { background: var(--card); margin-block-start: 16px; }
html[data-bleu-unified] [data-buf-form=payable-add] [data-buf-actions] p { color: var(--stone); font-size: 13px; line-height: 1.6; }
html[data-bleu-unified] #apout #apdrop { background: var(--well); border: 1px dashed var(--field-border); border-radius: 12px; min-block-size: 112px; padding: 24px; }
/* Listing URL/capture and review steps retain the real form and upload nodes. */
html[data-bleu-unified] #drawer[data-buf-drawer=editor] .soimportform { padding: 24px 28px; margin: 0; display: grid; gap: 16px; background: var(--paper); }
html[data-bleu-unified] [data-buf-form=listing-import] .soimportgrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
html[data-bleu-unified] [data-buf-form=listing-import] .soimportactions { padding-block-end: max(16px,env(safe-area-inset-bottom)); }
html[data-bleu-unified] [data-buf-form=listing-import] summary { display: flex; align-items: center; cursor: pointer; font-weight: 600; }
/* One clear settings architecture, including the newer full-page BAC center. */
html[data-bleu-unified] [data-buf-settings] { background: var(--paper); }
html[data-bleu-unified] [data-buf-settings] .bac-top { background: var(--card); border-block-end: 1px solid var(--hairline); padding: 16px 24px; gap: 16px; }
html[data-bleu-unified] [data-buf-settings] .bac-title { font: 600 22px/1.25 var(--font-ui); letter-spacing: -.6px; }
html[data-bleu-unified] [data-buf-settings] .bac-body { grid-template-columns: 240px minmax(0,1fr); }
html[data-bleu-unified] [data-buf-settings] .bac-nav { background: var(--card); padding: 20px 12px; border-inline-end: 1px solid var(--hairline); }
html[data-bleu-unified] [data-buf-settings] .bac-navitem { min-block-size: 60px; border-radius: 8px; color: var(--ink); }
html[data-bleu-unified] [data-buf-settings] .bac-navitem[aria-current=page] { background: var(--bux-selected); color: var(--bux-selected-text); box-shadow: inset 3px 0 var(--bleu); }
html[data-bleu-unified] [data-buf-settings] .bac-pane { padding: 20px; min-inline-size: 0; background: var(--paper); scroll-padding-block: 24px 100px; }
html[data-bleu-unified] [data-buf-settings] :is(#bacSectionTitle,h2,h3) { font-family: var(--font-ui); letter-spacing: -.3px; }
html[data-bleu-unified] [data-buf-settings] #bacSectionTitle { font-size: 24px; margin: 0 0 8px; }
html[data-bleu-unified] [data-buf-settings] :is(.bac-lead,.bac-rowtext > span,.mut,.submut,.card > p) { color: var(--stone); font-size: 13px; line-height: 1.65; }
html[data-bleu-unified] [data-buf-settings] :is(.bac-rows,.card.pad) { background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; margin-block: 16px; box-shadow: none; }
html[data-bleu-unified] [data-buf-settings] .card.pad { padding: 20px; }
html[data-bleu-unified] [data-buf-settings] .bac-row { padding: 18px; gap: 16px; border-color: var(--hairline); flex-wrap: wrap; }
html[data-bleu-unified] [data-buf-settings] .bac-rowtext { flex: 1 1 200px; min-inline-size: 0; overflow-wrap: anywhere; }
html[data-bleu-unified] [data-buf-settings] .bac-rowctl { min-inline-size: 0; max-inline-size: 100%; }
html[data-bleu-unified] [data-buf-settings] :is(.bac-btn,.bac-icon) { min-block-size: 44px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--card); color: var(--ink); }
html[data-bleu-unified] [data-buf-form=account] { display: grid; gap: 16px; }
html[data-bleu-unified] [data-buf-settings] [data-confirm]:not([hidden]) { margin-block: 16px; padding: 16px; background: var(--well); border: 1px solid var(--field-border); border-radius: 12px; }
/* Import source → map → review is a working form, not a large marketing card. */
html[data-bleu-unified] [data-buf-form=source-import] :is(.imp-body,.imp-card) { background: var(--card); border: 1px solid var(--hairline); border-radius: 10px; padding: 16px; }
html[data-bleu-unified] [data-buf-form=source-import] .imp-body { margin-block: 20px; }
html[data-bleu-unified] [data-buf-form=source-import] .imp-tabs { max-inline-size: 100%; min-inline-size: 0; overflow-x: auto; overscroll-behavior-inline: contain; }
html[data-bleu-unified] [data-buf-form=source-import] .imp-tabs button { flex: 0 0 auto; }
html[data-bleu-unified] [data-buf-form=source-import] :is(.imp-input,.imp-select,.imp-paste) { font-size: 15px; }
html[data-bleu-unified] [data-buf-form=source-import] :is(.imp-source-tabs,.imp-row-actions,.imp-inline) { gap: 10px; flex-wrap: wrap; }
html[data-bleu-unified] [data-buf-form=source-import] .imp-drop { background: var(--well); border: 1px dashed var(--field-border); border-radius: 12px; padding: 28px 20px; }
html[data-bleu-unified] [data-buf-form=source-import] :is(.imp-mode,.imp-btn) { min-block-size: 44px; border-radius: 8px; font-family: inherit; }
html[data-bleu-unified] [data-buf-form=source-import] .imp-paste { margin-block: 10px; min-block-size: 180px; font-family: var(--font-ui); }
html[data-bleu-unified] [data-buf-form=source-import] .imp-grid td.imp-cell :is(.imp-cellbtn,.imp-cellinput) { min-block-size: 44px; }
html[data-bleu-unified] [data-buf-form=source-import] .imp-foot { background: var(--paper); padding: 16px 0 max(16px,env(safe-area-inset-bottom)); }
/* Keep the native anchor coordinates and trap. The panel owns its overflow,
 * with the native actions sticky at its edge even for long filter lists. */
html[data-bleu-unified] .ivsheet > [data-buf-form=filter-sheet] {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 16px;
  padding: 20px; max-inline-size: calc(100vw - 24px); max-block-size: calc(100dvh - 32px);
  overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 16px 88px;
  box-shadow: 0 16px 60px #071a3d26;
}
html[data-bleu-unified] .ivsheet > [data-buf-form=filter-sheet] .fld { margin: 0 0 16px; }
html[data-bleu-unified] .ivsheet > [data-buf-form=filter-sheet] h3 { font: 600 18px/1.4 var(--font-ui); margin-block: 0 20px; }
html[data-bleu-unified] .ivsheet > [data-buf-form=filter-sheet] .acts { background: var(--card); padding-block: 16px max(8px,env(safe-area-inset-bottom)); }
html[data-bleu-unified] .blh-sheet > [data-buf-form=filter-sheet] {
  background: var(--card); color: var(--ink); border: 1px solid var(--hairline);
  max-inline-size: calc(100vw - 24px); max-block-size: calc(100dvh - 32px);
  overflow: hidden; overscroll-behavior: contain; border-radius: 16px;
}
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-panel-head {
  padding: 16px 20px; background: var(--card); border-block-end: 1px solid var(--hairline);
}
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-panel-title { font: 600 18px/1.4 var(--font-ui); }
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-panel-body {
  padding: 20px; overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 12px;
}
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-group { margin: 0 0 24px; }
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-group:last-child { margin-block-end: 0; }
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-group-h { color: var(--ink); font: 600 14px/1.5 var(--font-ui); margin: 0 0 16px; }
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-fld { margin-block-end: 16px; }
html[data-bleu-unified] [data-buf-form=filter-sheet] fieldset.blh-fld { padding: 12px; background: var(--well); }
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-seg { gap: 8px; flex-wrap: wrap; }
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-segbtn { border-radius: 8px; border: 1px solid var(--hairline); color: var(--ink); background: var(--card); }
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-segbtn[aria-checked=true] { color: var(--bux-selected-text); background: var(--bux-selected); border-color: var(--bleu); font-weight: 600; }
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-panel-foot { background: var(--card); padding: 16px 20px max(16px,env(safe-area-inset-bottom)); flex-wrap: nowrap; }
html[data-bleu-unified] [data-buf-form=filter-sheet] .blh-primary-btn,
html[data-bleu-unified] [data-buf-form=source-import] .imp-primary { color: var(--on-miami); background: var(--bleu); border: 1px solid transparent; border-radius: 8px; min-block-size: 44px; padding: 11px 18px; font-weight: 600; }
@media (max-width: 640px) {
  html[data-bleu-unified] [data-buf-form] :is(input:not([type=checkbox],[type=radio]),select,textarea) { font-size: 16px; }
  html[data-bleu-unified] #drawer[data-buf-drawer=editor] > .dh { padding: 12px 16px; min-block-size: 72px; }
  html[data-bleu-unified] #drawer[data-buf-drawer=editor] > :is(.cd-editor,[data-bi-host],.crm-lead),
  html[data-bleu-unified] #drawer[data-buf-drawer=editor] .soimportform { padding: 16px 16px 0; }
  html[data-bleu-unified] [data-buf-form] [data-buf-group] { padding: 12px 0 0; }
  html[data-bleu-unified] [data-buf-form] :is(.cd-fields,.nsv-identity,.bv-grid,[data-cd-new-client],[data-new],.soimportgrid),
  html[data-bleu-unified] [data-buf-form=deal-create] > fieldset:last-of-type,
  html[data-bleu-unified] [data-buf-form=deal-update] { grid-template-columns: minmax(0,1fr); }
  html[data-bleu-unified] [data-buf-form] :is(.nsv-vin-row,.nsv-stock-row) { grid-template-columns: minmax(0,1fr); }
  html[data-bleu-unified] [data-buf-form] [data-buf-actions] { gap: 10px; }
  html[data-bleu-unified] [data-buf-form] [data-buf-actions] :is(small,[data-savehint],.imp-foot-note) { flex-basis: 100%; }
  html[data-bleu-unified] [data-buf-form] [data-buf-actions] button { flex: 1 1 100px; min-inline-size: 0; }
  html[data-bleu-unified] [data-buf-settings] .bac-body { grid-template-columns: minmax(0,1fr); }
  html[data-bleu-unified] [data-buf-settings] .bac-pane { padding: 20px 16px; }
  html[data-bleu-unified] [data-buf-settings] .bac-top { padding: 12px 16px; }
  html[data-bleu-unified] [data-buf-settings] .bac-row { padding: 16px; }
  html[data-bleu-unified] [data-buf-settings] .card.pad { padding: 16px; }
  html[data-bleu-unified] [data-buf-form=source-import] :is(.imp-body,.imp-card) { padding: 16px; }
  html[data-bleu-unified] #content [data-buf-form=source-import] .imp-foot { inset-block-end: var(--dock-clearance,64px); }
  html[data-bleu-unified] #apout [data-buf-form=payable-add] { padding: 16px; }
  html[data-bleu-unified] [data-buf-form=payable-add] .lf { grid-template-columns: minmax(0,1fr); }
  html[data-bleu-unified] #content [data-buf-form=payable-add] [data-buf-actions] { inset-block-end: var(--dock-clearance,64px); }
  html[data-bleu-unified] .ivsheet:not(.ivanchor) > [data-buf-form=filter-sheet] { max-inline-size: 100vw; max-block-size: 88dvh; border-radius: 20px 20px 0 0; padding: 16px 16px 0; }
  html[data-bleu-unified] .blh-sheet.is-phone > [data-buf-form=filter-sheet] { max-inline-size: 100vw; max-block-size: 88dvh; border-radius: 20px 20px 0 0; }
  html[data-bleu-unified] [data-buf-form=filter-sheet] :is(.blh-panel-head,.blh-panel-body,.blh-panel-foot) { padding-inline: 16px; }
}
@media (forced-colors: active) {
  html[data-bleu-unified] [data-buf-form] :is(input,select,textarea,button),
  html[data-bleu-unified] [data-buf-settings] button { border: 1px solid ButtonText; }
  html[data-bleu-unified] [data-buf-form] :focus-visible { outline-color: Highlight; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-bleu-unified] [data-buf-form] *,html[data-bleu-unified] [data-buf-settings] * { scroll-behavior: auto; transition: none; }
}

/* A fieldset inside a fieldset is a subsection, with a single divider. */
html[data-bleu-unified] [data-buf-form] [data-buf-group] [data-buf-group] {
  padding-inline: 0; background: transparent; border-inline: 0; border-block-end: 0;
}
html[data-bleu-unified] [data-buf-form=stock-intake] .nsv-intro {
  margin: 0; color: var(--stone); font-size: 13px; line-height: 1.5;
}
html[data-bleu-unified] [data-buf-form=stock-intake] .nsv-manual {
  border: 0; border-block-start: 1px solid var(--hairline); border-radius: 0; padding: 0;
}
html[data-bleu-unified] [data-buf-form=stock-intake] .nsv-manual > summary {
  min-block-size: 44px; padding-block: 10px; font-size: 13px; font-weight: 600; cursor: pointer;
}
/* One source workspace; its nested import cards retain their native content. */
html[data-bleu-unified] [data-buf-form=source-import] .imp-body .imp-card {
  padding: 12px 0; border: 0; border-block-start: 1px solid var(--hairline); border-radius: 0;
}
@media (min-width: 641px) {
  html[data-bleu-unified] [data-buf-form=deal-create] [data-cd-new-client] {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  html[data-bleu-unified] [data-buf-form=stock-intake] .nsv-identity {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}

/* Native website editors: Nov 9 Geist / Bone / navy. The opt-in shell owns
 * semantic light/dark tokens; these rules never reach public site previews. */
html[data-bleu-unified] #drawer[data-bue-drawer] {
  width:min(1120px,96vw); max-width:100%; background:var(--paper); color:var(--ink);
  font-family:var(--font-ui); padding:24px; padding-bottom:max(24px,env(safe-area-inset-bottom));
}
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) { font-family:var(--font-ui); color:var(--ink); line-height:1.5; }
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) :is(h1,h2,h3,legend) { font-family:var(--font-ui); color:var(--ink); letter-spacing:-.025em; }
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) :is(h1,h2) { font-size:24px; line-height:1.2; font-weight:600; }
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) h3 { font-size:16px; font-weight:600; margin:0 0 16px; }
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=file]),select,textarea) {
  box-sizing:border-box; min-width:0; width:100%; max-width:100%; min-height:46px; padding:11px 12px;
  border:1px solid var(--field-border); border-radius:8px; background:var(--card); color:var(--ink); font:400 14px/1.5 var(--font-ui);
}
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) textarea { resize:vertical; min-height:112px; }
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) :is(button,summary,.btn) { min-height:44px; min-width:44px; font-family:var(--font-ui); white-space:normal; }
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) :is(button,input,textarea,select,summary,a):focus-visible { outline:3px solid var(--bleu); outline-offset:3px; }
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) :is(input,select,textarea):disabled { opacity:.75; cursor:not-allowed; background:var(--well); }
html[data-bleu-unified] [data-bue-primary]:not(:disabled) { background:var(--bleu); color:var(--on-miami); border:1px solid var(--bleu); border-radius:8px; padding:10px 18px; font-weight:600; }
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) :is(.ccms-hint,.shpe-hint,.shpe-note,.sub,.ba-muted) { color:var(--stone); font:400 12px/1.5 var(--font-ui); overflow-wrap:anywhere; }
html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) [hidden] { display:none!important; }
/* CMS: content work on the left, actual preview/history/checks on the right. */
html[data-bleu-unified] [data-bue-editor] .ccms-ed-head { align-items:flex-start; border-bottom:1px solid var(--hairline); padding:0 0 16px; margin:0 0 16px; background:transparent; }
html[data-bleu-unified] [data-bue-editor] .ccms-ed-kicker { font:600 11px/1.5 var(--font-ui); letter-spacing:.09em; text-transform:uppercase; color:var(--stone); margin:0 0 8px; }
html[data-bleu-unified] [data-bue-editor] .ccms-ed-status { margin:12px 0 0; display:flex; flex-wrap:wrap; gap:8px; }
html[data-bleu-unified] [data-bue-editor] .ccms-ed-grid { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:16px; align-items:start; }
html[data-bleu-unified] [data-bue-editor] :is(.ccms-form,.ccms-side,.ccms-ed-title) { min-width:0; }
html[data-bleu-unified] [data-bue-grouped] { display:block; }
html[data-bleu-unified] [data-bue-editor] .bue-group { border:0; border-top:1px solid var(--hairline); border-radius:0; background:transparent; min-width:0; padding:16px 0 0; margin:16px 0 0; }
html[data-bleu-unified] [data-bue-editor] .bue-group legend { float:left; width:100%; margin:0 0 12px; padding:0; font-size:15px; font-weight:600; }
html[data-bleu-unified] [data-bue-editor] .bue-fields { display:grid; clear:both; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; }
html[data-bleu-unified] [data-bue-editor] .ccms-label { font:500 13px/1.5 var(--font-ui); margin:0 0 6px; }
html[data-bleu-unified] [data-bue-editor] .ccms-field { min-width:0; }
html[data-bleu-unified] [data-bue-editor] .ccms-field.wide { grid-column:1/-1; }
html[data-bleu-unified] [data-bue-editor] .ccms-when { margin:16px 0 0; border:0; border-top:1px solid var(--hairline); background:transparent; border-radius:0; padding:16px 0 0; }
html[data-bleu-unified] [data-bue-editor] .ccms-side { background:var(--card); border:1px solid var(--hairline); border-radius:12px; overflow:hidden; }
html[data-bleu-unified] [data-bue-editor] .ccms-seg { flex-wrap:wrap; background:var(--well); padding:4px; gap:4px; }
html[data-bleu-unified] [data-bue-editor] .ccms-seg button { flex:1; }
html[data-bleu-unified] [data-bue-editor] .ccms-seg button.on { background:var(--card); color:var(--ink); box-shadow:0 1px 3px #071a3d12; font-weight:600; }
html[data-bleu-unified] [data-bue-editor] .ccms-side-body { padding:16px; }
html[data-bleu-unified] [data-bue-editor] .ccms-pv.both { grid-template-columns:minmax(0,1fr); }
html[data-bleu-unified] [data-bue-editor] .ccms-ed-foot { position:sticky; bottom:calc(-1 * max(24px,env(safe-area-inset-bottom))); z-index:4; margin:16px 0 -24px; padding:12px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)); background:var(--card); border-top:1px solid var(--hairline); display:flex; flex-wrap:wrap; gap:12px; }
html[data-bleu-unified] [data-bue-editor] :is(.ccms-banner,.ccms-note,.ccms-fail,.shpe-alert) { border:1px solid var(--field-border); border-left:3px solid var(--bleu); background:var(--card); padding:14px; border-radius:8px; }
html[data-bleu-unified] [data-bue-editor=stylesheet] #ccmsCssForm { padding:20px; background:var(--card); border:1px solid var(--hairline); border-radius:12px; }
html[data-bleu-unified] [data-bue-editor=stylesheet] #ccmsCssText { white-space:pre; overflow:auto; min-height:55vh; tab-size:2; font-variant-numeric:tabular-nums; }
/* Shop: visual merchandising, copy and supplier facts remain distinct. */
html[data-bleu-unified] [data-bue-editor=product] { padding:0; }
html[data-bleu-unified] [data-bue-editor=product] .shpe-cols { grid-template-columns:minmax(0,1fr) 280px; gap:16px; align-items:start; }
html[data-bleu-unified] [data-bue-editor=product] :is(.shpe-main,.shpe-side) { min-width:0; display:grid; gap:12px; }
html[data-bleu-unified] [data-bue-editor=product] .shpe-card { margin:0; padding:16px; border:1px solid var(--hairline); border-radius:12px; background:var(--card); min-width:0; }
html[data-bleu-unified] [data-bue-editor=product] .shpe-f { min-width:0; margin-block:10px; }
html[data-bleu-unified] [data-bue-editor=product] .shpe-l { display:block; font-size:13px; font-weight:500; margin-bottom:6px; }
html[data-bleu-unified] [data-bue-editor=product] .shpe-row2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
html[data-bleu-unified] [data-bue-editor=product] :is(.shpe-tablewrap,[data-wss-allphotos]) { max-width:100%; overflow:auto; overscroll-behavior-inline:contain; }
html[data-bleu-unified] [data-bue-editor=product] .shpe-table { min-width:490px; }
html[data-bleu-unified] [data-bue-editor=product] :is(.shpe-addsize,.shpe-card-h,.shpe-alert-acts) { flex-wrap:wrap; gap:10px; }
html[data-bleu-unified] [data-bue-editor=product] .shpe-addsize .shpe-f { flex:1; min-width:120px; }
html[data-bleu-unified] [data-bue-editor=product] .shpe-radios label { min-height:44px; padding:8px 10px; border-radius:8px; }
html[data-bleu-unified] #drawer[data-bue-drawer=product] .shpe-foot { position:sticky; bottom:-24px; margin:20px -24px -24px; padding:16px 24px max(16px,env(safe-area-inset-bottom)); background:var(--card); border-top:1px solid var(--hairline); }
/* Listings: one bounded workspace, each native section keeps its own save. */
html[data-bleu-unified] #drawer[data-bue-drawer=listing] > .dh { margin:0 0 20px; padding:0 0 20px; border-bottom:1px solid var(--hairline); }
html[data-bleu-unified] #drawer[data-bue-drawer=listing] [data-bue-listing-section] { border:1px solid var(--hairline); background:var(--card); border-radius:12px; padding:16px!important; margin:0 0 12px; min-width:0; }
html[data-bleu-unified] #drawer[data-bue-drawer=listing] [data-bue-listing-section] [role=heading] { font-size:16px; font-weight:600; }
html[data-bleu-unified] #drawer[data-bue-drawer=listing] [data-bue-listing-section] > div:has(> [role=heading]) { flex-wrap:wrap; }
html[data-bleu-unified] #drawer[data-bue-drawer=listing] label { min-width:0; }
html[data-bleu-unified] #drawer[data-bue-drawer=listing] label:has(input[type=checkbox]) { min-height:44px; }
/* Audience: description/manual filters above a separate native result review. */
/* Sheet typography and cell-state metrics belong to the native column model.
 * Annotation and focus must not change intrinsic column widths. */
html[data-bleu-unified] #lsSheetHost [data-bue-quickcell] [data-sheet-input] { border-radius:6px; }
html[data-bleu-unified] #lsSheetHost [data-bue-quickcell] [data-sheet-input]:focus { min-height:44px; }
html[data-bleu-unified] #lsSheetHost [data-bue-quickcell] [data-sheet-input]:focus-visible { outline:2px solid var(--bleu); outline-offset:2px; background:var(--card); }
html[data-bleu-unified] #lsSheetHost [data-bue-quickcell][data-state=error] { box-shadow:inset 3px 0 0 var(--alert); }
html[data-bleu-unified] [data-bue-editor=audience] { max-width:1120px; margin-inline:auto; }
html[data-bleu-unified] [data-bue-editor=audience] .ba-builder { display:grid; padding:18px; gap:12px; border:1px solid var(--hairline); background:var(--card); border-radius:12px; }
html[data-bleu-unified] [data-bue-editor=audience] .bue-step-title { font-size:16px; margin:0; }
html[data-bleu-unified] [data-bue-editor=audience] .ba-filter-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; padding:16px 0; }
html[data-bleu-unified] [data-bue-editor=audience] .ba-filterbar { display:flex; flex-wrap:wrap; gap:8px; }
html[data-bleu-unified] [data-bue-editor=audience] button.ba-filter-chip { background:var(--well); border:1px solid var(--hairline); padding:10px 14px; border-radius:8px; text-align:left; }
html[data-bleu-unified] [data-bue-editor=audience] .ba-builder-footer { display:flex; align-items:end; gap:16px; flex-wrap:wrap; }
html[data-bleu-unified] [data-bue-editor=audience] .ba-save-name { flex:1; min-width:180px; }
html[data-bleu-unified] [data-bue-editor=audience] .ba-inline-status:empty { display:none; }
html[data-bleu-unified] [data-bue-editor=audience] .ba-results { padding:18px; background:var(--card); border:1px solid var(--hairline); border-radius:12px; }
html[data-bleu-unified] [data-bue-editor=audience] :is(.ba-results-head,.ba-results-footer,.ba-actions) { flex-wrap:wrap; gap:12px; }
html[data-bleu-unified] [data-bue-editor=audience] .ba-table-wrap { overflow:auto; max-width:100%; }
html[data-bleu-unified] [data-bue-editor=audience] .ba-error { color:var(--alert); border-left:3px solid currentColor; padding-left:12px; }
@media (max-width:700px) {
  html[data-bleu-unified] #drawer[data-bue-drawer] { width:100%; max-width:100vw; padding:20px 16px max(24px,env(safe-area-inset-bottom)); border-radius:0; }
  html[data-bleu-unified] [data-bue-editor] :is(.ccms-ed-grid,.bue-fields,.ccms-fields,.shpe-cols,.shpe-row2,.ba-filter-grid) { grid-template-columns:minmax(0,1fr); }
  html[data-bleu-unified] [data-bue-editor] :is(.ccms-side,.shpe-side) { position:static; }
  html[data-bleu-unified] [data-bue-editor] :is(.bue-group,.ccms-when) { padding:16px 0 0; }
  html[data-bleu-unified] [data-bue-editor] .shpe-card { padding:14px; }
  html[data-bleu-unified] :where([data-bue-editor],#drawer[data-bue-drawer=listing]) :is(input:not([type=checkbox],[type=radio]),select,textarea) { font-size:16px; }
  html[data-bleu-unified] [data-bue-editor] .ccms-ed-foot { margin-inline:0; padding-inline:16px; }
  html[data-bleu-unified] #drawer[data-bue-drawer=product] .shpe-foot { margin-inline:-16px; padding-inline:16px; }
  html[data-bleu-unified] [data-bue-editor] .ccms-ed-note { flex-basis:100%; order:2; }
  html[data-bleu-unified] #drawer[data-bue-drawer=listing] [data-bue-listing-section] { padding:16px!important; }
  html[data-bleu-unified] [data-bue-editor=audience] :is(.ba-builder,.ba-results) { padding:16px; }
  html[data-bleu-unified] [data-bue-editor=audience] .ba-builder-footer { align-items:stretch; }
  html[data-bleu-unified] [data-bue-editor=audience] .ba-save-name { flex-basis:100%; }
  html[data-bleu-unified] [data-bue-editor=audience] .ba-builder-footer .ba-actions { width:100%; }
  html[data-bleu-unified] [data-bue-editor=audience] .ba-builder-footer .ba-actions button:not([hidden]) { width:100%; }
}
@media (forced-colors:active) {
  html[data-bleu-unified] [data-bue-primary] { border:2px solid ButtonText; }
  html[data-bleu-unified] [data-bue-editor] :is(.bue-group,.shpe-card,.ccms-side) { border:1px solid CanvasText; }
}

/* The content column is one working surface. Section legends carry hierarchy
 * without a stack of separately padded cards; preview keeps its own boundary. */
html[data-bleu-unified] [data-bue-editor] .ccms-form {
  padding: 16px; background: var(--card); border: 1px solid var(--hairline); border-radius: 10px;
}
html[data-bleu-unified] [data-bue-editor] .bue-group:first-child {
  margin-block-start: 0; padding-block-start: 0; border-block-start: 0;
}
html[data-bleu-unified] #drawer[data-bue-drawer] [data-bue-editor] .ccms-ed-title h2 {
  margin: 0; font: 600 22px/1.25 var(--font-ui); letter-spacing: -.025em;
}
html[data-bleu-unified] [data-bue-editor] .ccms-when legend {
  padding: 0 8px 0 0; font: 600 14px/1.5 var(--font-ui);
}
html[data-bleu-unified] [data-bue-editor=product] .shpe-card .shpe-card {
  padding: 12px 0 0; border: 0; border-top: 1px solid var(--hairline); border-radius: 0;
}
html[data-bleu-unified] [data-bue-editor=audience] [data-audience-filter-editor] > summary {
  min-height: 44px; padding-block: 10px; font-weight: 600; cursor: pointer;
}
html[data-bleu-unified] [data-bue-editor=audience] .ba-builder-footer {
  padding-top: 12px; border-top: 1px solid var(--hairline); gap: 12px;
}
@media (min-width: 1000px) {
  html[data-bleu-unified] [data-bue-editor=audience] .ba-filter-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}
@media (max-width: 700px) {
  html[data-bleu-unified] [data-bue-editor] .ccms-form { padding: 14px; }
}

/* Native utilities share the onbleu field rhythm; no global form selectors. */
html[data-bleu-unified] [data-buu-form] {
  --buu-paper: var(--paper);
  --buu-card: var(--card);
  --buu-ink: var(--ink);
  --buu-muted: var(--stone);
  --buu-border: var(--field-border);
  --buu-blue: var(--bleu);
  --buu-error: var(--alert);
  --buu-error-paper: var(--alert-bg);
  color: var(--buu-ink);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  accent-color: var(--buu-blue);
}
html[data-bleu-unified] [data-buu-form][hidden],
html[data-bleu-unified] [data-buu-form] [hidden] { display: none !important; }
html[data-bleu-unified] [data-buu-form] :is(input,select,textarea,button) {
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  max-width: 100%;
}
html[data-bleu-unified] [data-buu-form] :is(input:not([type=hidden],[type=checkbox],[type=radio]),select,textarea) {
  min-width: 0;
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  color: var(--buu-ink);
  background: var(--buu-card);
  border: 1px solid var(--buu-border);
  border-radius: 8px;
  box-shadow: none;
}
html[data-bleu-unified] [data-buu-form] textarea { min-height: 96px; resize: vertical; }
html[data-bleu-unified] [data-buu-form] input[type=file] { padding: 7px; }
html[data-bleu-unified] [data-buu-form] input::file-selector-button {
  color: var(--buu-ink); background: var(--buu-paper); border: 0; border-radius: 5px; padding: 5px 8px; margin-right: 10px;
}
html[data-bleu-unified] [data-buu-form] :is(input,textarea)::placeholder { color: var(--buu-muted); opacity: 1; }
html[data-bleu-unified] [data-buu-form] :is(input[type=checkbox],input[type=radio]) {
  width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; accent-color: var(--buu-blue);
}
html[data-bleu-unified] [data-buu-form] label:not(.brs-sr):has(:is(input,select,textarea)) {
  min-width: 0; color: var(--buu-ink); font-weight: 550;
}
html[data-bleu-unified] [data-buu-form] label:not(.brs-sr):has(input[type=checkbox],input[type=radio]) {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
}
html[data-bleu-unified] [data-buu-form] label:not(.brs-sr):not(:has(input[type=checkbox],input[type=radio])) > :is(input,select,textarea) { margin-top: 6px; }
html[data-bleu-unified] [data-buu-form] :is(fieldset,[data-buu-group]) {
  min-width: 0; margin: 0 0 16px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--hairline); border-radius: 0;
}
html[data-bleu-unified] [data-buu-form] legend { padding: 0 6px; font-weight: 650; font-size: 14px; }
html[data-bleu-unified] [data-buu-form] :is(h2,h3,h4) {
  color: var(--buu-ink); font-family: inherit; font-weight: 650; letter-spacing: -.02em; line-height: 1.25;
}
html[data-bleu-unified] [data-buu-form] :is(h2,h3,h4) { margin: 0 0 12px; }
html[data-bleu-unified] [data-buu-form] :is(small,.submut,.bt-pop-sub,.sp-tip,.sp-note,.apv-hint,.tsx-note,.ac-hint) {
  color: var(--buu-muted); font-size: 12px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere;
}
html[data-bleu-unified] [data-buu-form] :is(button,input[type=submit]) {
  min-height: 44px; padding: 10px 14px; border-radius: 8px; font-weight: 600; white-space: normal;
}
/* Retained record styles force compact 32px inline actions. Utility editor
 * actions remain touch-sized without changing the record's native action bar. */
html[data-bleu-unified] #drawer#drawer [data-buu-form] button {
  min-height: 44px !important;
}
html[data-bleu-unified] [data-buu-form] button[type=submit]:not(.danger,.sec,.ghost) {
  background: var(--bleu); color: var(--on-miami); border: 1px solid var(--bleu);
}
html[data-bleu-unified] [data-buu-form] :is([data-buu-actions],.bt-pop-acts,.bst-act,.sto-actions) {
  gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 12px;
}
html[data-bleu-unified] .bt-saveform[data-buu-form] .bt-pop-acts {
  position: static; margin: 14px 0 0; padding: 14px 0 0;
}
html[data-bleu-unified] [data-buu-form] :is([role=alert],.apv-bad,.tsx-error,[aria-invalid=true]) {
  color: var(--buu-error);
}
html[data-bleu-unified] [data-buu-form] [role=alert]:not(:empty,[hidden]) {
  border-left: 3px solid var(--buu-error); padding: 10px 12px; background: var(--buu-error-paper); border-radius: 6px; overflow-wrap: anywhere;
}
html[data-bleu-unified] [data-buu-form] [aria-invalid=true] { border-color: var(--buu-error); }
html[data-bleu-unified] [data-buu-form] :is(input,select,textarea,button):focus-visible {
  outline: 3px solid var(--buu-blue); outline-offset: 3px;
}
html[data-bleu-unified] [data-buu-form] :is(input,select,textarea,button):disabled { cursor: not-allowed; opacity: .6; }
html[data-bleu-unified] [data-buu-form] :is(input,textarea)[readonly] { background: var(--buu-paper); }
html[data-bleu-unified] :is([data-buu-form="saved-view"],[data-buu-form="integration-request"],[data-buu-form="team-member"],[data-buu-form="title-case"],[data-buu-form="commission"]) {
  padding: 16px; background: var(--buu-card); border: 1px solid var(--buu-border); border-radius: 12px;
}
html[data-bleu-unified] :is([data-buu-form="commission"],[data-buu-form="team-member"],[data-buu-form="title-case"],[data-buu-form="lead-edit"]) label:not(.brs-sr) { display: block; margin-bottom: 12px; }
@media (max-width: 650px) {
  html[data-bleu-unified] [data-buu-form] :is(input:not([type=checkbox],[type=radio]),select,textarea) { font-size: 16px; }
  html[data-bleu-unified] [data-buu-form] :is(.ac-form-row,.apv-grid,.tsx-grid,.vd-selling-form-grid,.sto-row,.st-input-row) {
    grid-template-columns: minmax(0,1fr); flex-wrap: wrap;
  }
  html[data-bleu-unified] [data-buu-form="lead-filters"] { flex-wrap: wrap; }
  html[data-bleu-unified] [data-buu-form="lead-filters"] label { flex: 1 1 100%; }
  html[data-bleu-unified] [data-buu-form] :is(.sto-row,.ac-form-row) > label { flex-basis: 100% !important; }
  html[data-bleu-unified] [data-buu-form] :is([data-buu-actions],.bt-pop-acts,.sto-actions) > button { flex: 1 1 auto; }
  html[data-bleu-unified] [data-buu-form="assignment-note"] { flex-wrap: wrap; }
}
@media (forced-colors: active) {
  html[data-bleu-unified] [data-buu-form] :is(input,select,textarea,button):focus-visible { outline-color: Highlight; }
}
/* Native Store Ops places shared dialog actions beside the form. They need
 * the same hit area as its fields, including desktop Assign/Cancel and Close. */
html[data-bleu-unified] .sto-sheet :is(.sto-sheet-h,.sto-sheet-f) .sto-btn {
  min-height:44px!important;min-block-size:44px;padding:10px 14px;
  border-radius:10px;font:500 14px/1.4 var(--font-ui);
}
html[data-bleu-unified] .sto-sheet .sto-sheet-h [data-sto-close] { min-inline-size:44px; }
/* Partner member actions wrap within the card when an email needs more room. */
html[data-bleu-unified] [data-bd-partner] .sto-list > li:has([data-bd-sendaccess]) {
  flex-wrap:wrap;align-items:flex-start;
}
html[data-bleu-unified] [data-bd-partner] .sto-list > li:has([data-bd-sendaccess]) > span:first-child {
  flex:1 1 180px;min-width:0;overflow-wrap:anywhere;
}
html[data-bleu-unified] [data-bd-partner] .sto-list > li:has([data-bd-sendaccess]) > .sto-actions {
  min-width:0;max-width:100%;flex-wrap:wrap;
}

/* Local subgroups use the parent form's inset, rather than adding another box. */
html[data-bleu-unified] [data-buu-form] [data-buu-group] [data-buu-group] {
  padding: 12px 0 0; margin-block: 12px 0; background: transparent;
}
html[data-bleu-unified] [data-buu-form] :is([data-buu-actions],.comm-actions,.ac-form-actions,.apv-foot,.tsx-foot) {
  margin-block-start: 12px; border-block-start: 1px solid var(--hairline);
}
html[data-bleu-unified] [data-buu-form] label:not(.brs-sr):has(input[type=checkbox],input[type=radio]) {
  display: flex; align-items: center; min-height: 44px; gap: 10px;
}
html[data-bleu-unified] [data-buu-form] legend { padding: 0 8px 0 0; color: var(--ink); }
@media (max-width: 700px) {
  html[data-bleu-unified] [data-buu-form] :is(input:not([type=checkbox],[type=radio]),select,textarea) { font-size: 16px; }
}

/* App entry and utility surfaces use the same approved field/action system. */
html[data-bleu-unified].fi-auth {
 --fi-font:var(--font-ui);--fi-bg:var(--paper);--fi-card:var(--card);--fi-ink:var(--ink);
 --fi-mut:var(--stone);--fi-line:var(--hairline);--fi-field:var(--field-border);
 --fi-primary:var(--bleu);--fi-on-primary:var(--on-miami);--fi-r:10px;--fi-r-card:16px;--fi-control:48px;
}
html[data-bleu-unified].fi-auth :is(#login,#recover) { background:var(--paper); color:var(--ink); }
html[data-bleu-unified].fi-auth :is(#login,#recover) .lc {
 inline-size:min(100%,420px);padding:24px;border:1px solid var(--hairline);border-radius:16px;
 background:var(--card);box-shadow:none;
}
html[data-bleu-unified].fi-auth :is(#login,#recover) :is(input:not([type=checkbox]),select) {
 min-block-size:48px;border-color:var(--field-border);border-radius:10px;font:400 16px/1.5 var(--font-ui);
}
html[data-bleu-unified].fi-auth :is(#login,#recover) .field { margin-block:16px; }
html[data-bleu-unified].fi-auth :is(#login,#recover) label { font:500 13px/1.5 var(--font-ui);color:var(--ink); }
html[data-bleu-unified].fi-auth :is(#login,#recover) :is(.tag,h1) { font-family:var(--font-ui);font-weight:700;letter-spacing:-.035em; }
html[data-bleu-unified].fi-auth :is(#login,#recover) :is(.btn,.lclink,.pwshow) { min-block-size:44px;border-radius:10px; }
html[data-bleu-unified].fi-auth :is(#login,#recover) :is(.err,.pwreq) { font:400 13px/1.5 var(--font-ui);overflow-wrap:anywhere; }
html[data-bleu-unified].fi-auth #login .bleu-login-bar { border-color:var(--hairline);border-radius:12px;background:var(--card);box-shadow:none; }
html[data-bleu-unified] :is(#bellPanel,#gsp,#bleuAccountMenu) {
 box-sizing:border-box;max-inline-size:calc(100vw - 24px);border-color:var(--hairline);border-radius:12px;
 background:var(--card);color:var(--ink);font-family:var(--font-ui);
}
html[data-bleu-unified] #bellPanel { max-block-size:min(720px,calc(100dvh - 120px));overscroll-behavior:contain; }
html[data-bleu-unified] #bellPanel :is(.nh,.notiftitle,.notifhead) { padding:16px;border-color:var(--hairline);font-weight:600; }
html[data-bleu-unified] #bellPanel :is(.notifrow,.notif-item,.nr) { padding:12px 16px;border-color:var(--hairline); }
html[data-bleu-unified] #bellPanel :is(button,a) { min-block-size:44px; }
html[data-bleu-unified] #gsp .gsrow { min-block-size:56px;padding:12px 16px;border-color:var(--hairline); }
html[data-bleu-unified] #gsp .gsgrp { padding:12px 16px 8px;color:var(--stone);font:500 12px/1.4 var(--font-ui); }
html[data-bleu-unified] #gsp :is(.sub,.gssub) { color:var(--stone);font-size:12px;line-height:1.5; }
html[data-bleu-unified] #bleuAccountMenu [role=menuitem] { min-block-size:44px;border-radius:8px;font:500 14px/1.5 var(--font-ui); }
@media(max-width:640px){
 html[data-bleu-unified].fi-auth :is(#login,#recover) .lc { padding:24px 20px; }
 html[data-bleu-unified].fi-auth #login .login-footer { gap:8px 16px;font:400 12px/1.5 var(--font-ui); }
 html[data-bleu-unified] #gsp { max-inline-size:100%;border-radius:0 0 12px 12px; }
}

/* One native authenticator module and one successful device ledger per panel. */
html[data-bleu-unified] :is(#content,#drawer) [data-bux-redundant-security] { display:none!important; }
/* The native notification invitation uses readable link ink on Bone and navy. */
html[data-bleu-unified] #shell #content #pushNudge [data-pushnudge-enable] { color:var(--link); }

/* Scoped native interaction targets. Preserve native grid geometry and all
   handlers; only collection chrome / action controls receive this treatment. */
html[data-bleu-unified] :is(.blh,.blh-panel,.bt-pop-panel) :is(button,select,input:not([type=checkbox]):not([type=radio])) {
  min-height:44px;
}
html[data-bleu-unified] :is(.blh-ib,.bt-saved-x,.bt-qa) { min-width:44px; min-height:44px; }
html[data-bleu-unified] :is(.blh,.blh-panel,.bt-pop-panel,.bt-quick-set,.bt-saved) :is(button,input,select,a[href]):focus-visible {
  outline:3px solid var(--miami,var(--ink,#12334b));
  outline-offset:3px;
  scroll-margin-block:12px;
}
html[data-bleu-unified] .bt-quick-set:focus-within { opacity:1; }
@media (prefers-reduced-motion:reduce) {
  /* The native global .01ms duration still starts an opacity transition.
     Focused row actions must be visible immediately when motion is reduced. */
  html[data-bleu-unified] .bt-quick-set { transition-property:none; }
}
html[data-bleu-unified] :is(.blh-chiprow,.blh-panel-body) { scroll-padding:8px; }
@media(max-width:600px) {
  html[data-bleu-unified] .blh-panel-foot {
    display:flex; flex-wrap:wrap; gap:8px;
    padding-bottom:max(12px,env(safe-area-inset-bottom));
  }
  html[data-bleu-unified] .blh-panel-foot :is([data-blh-show],[data-bux-cpp-done]) {
    flex:1 1 12rem; white-space:normal;
  }
  html[data-bleu-unified] .blh-panel-foot :is([data-blh-reset],[data-bux-cpp-reset]) {
    flex:0 1 auto;
  }
  html[data-bleu-unified] .blh-panel-foot button { max-width:100%; }
}
@media(forced-colors:active) {
  html[data-bleu-unified] :is(.blh,.blh-panel,.bt-pop-panel) :focus-visible { outline-color:Highlight; }
  html[data-bleu-unified] .blh-chip[aria-pressed=true] { border-bottom:3px solid Highlight; }
}

html[data-bleu-unified] #shell #content .aw-stages:focus-visible {
  outline:3px solid var(--bleu); outline-offset:3px;
}
html[data-bleu-unified] #shell .sitlink {color:var(--bleu-deep);}
html[data-bleu-unified] #shell #content :is(.wv2-keys,.wv2-keys kbd) {
  color:var(--stone) !important; opacity:1 !important;
}
html[data-bleu-unified] #shell #content .wv2-keys kbd {background:var(--card);}

/* Action Center uses the same quiet view tabs as collection headers. */
html[data-bleu-unified] #drawer .bleu-action-filters {gap:4px;border-bottom:1px solid var(--hairline);}
html[data-bleu-unified] #drawer .bleu-action-filters button {
  min-height:44px;border:0;border-bottom:2px solid transparent;border-radius:0;
  background:transparent;color:var(--stone);padding:10px 12px;
}
html[data-bleu-unified] #drawer .bleu-action-filters [aria-pressed=true] {
  border-bottom-color:var(--bleu);background:transparent;color:var(--ink);
}

/* Native insight hierarchy; approved Geist/Bone/navy tokens are inherited.
 * No CSS-generated business text, hidden evidence, synthetic figures or order
 * tricks: reading and keyboard order follow the actual native DOM. */
html[data-bleu-unified] #shell #content [data-onbleu-insights] {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}
html[data-bleu-unified] #shell #content [data-onbleu-insights] :is([data-onbleu-insight-evidence],[data-onbleu-insight-period]) {
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone,var(--mut));
  white-space: normal;
  overflow-wrap: anywhere;
}
html[data-bleu-unified] #shell #content [data-onbleu-insights] [data-onbleu-insight-limits] {
  line-height: 1.6;
  border-inline-start: 2px solid var(--field-border,var(--line));
  padding-inline-start: 12px;
  margin-block: 12px;
}
html[data-bleu-unified] #shell #content [data-onbleu-insight-source] {
  border-block: 1px solid var(--hairline,var(--line));
  margin-block: 12px;
  padding-inline: 0;
  color: var(--ink);
}
html[data-bleu-unified] #shell #content [data-onbleu-insight-source] > summary,
html[data-bleu-unified] #shell #content [data-onbleu-insights] :is(.aq-source,.ask-source-details,.hcx-business-evidence details,.wa-page-evidence) > summary {
  min-block-size: 44px;
  align-content: center;
  padding-block: 8px;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  cursor: pointer;
}
html[data-bleu-unified] #shell #content [data-onbleu-insight-source] > p {
  margin: 0 0 12px;
}
html[data-bleu-unified] #shell #content [data-onbleu-insights] [data-onbleu-insight-as-of] {
  color: var(--ink);
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
html[data-bleu-unified] #shell #content [data-onbleu-insights] [data-onbleu-insight-action] {
  min-block-size: 44px;
  min-inline-size: 44px;
  max-inline-size: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
}
html[data-bleu-unified] #shell #content [data-onbleu-insights] :is(button,a,summary):focus-visible {
  outline: 2px solid var(--bleu,var(--ink));
  outline-offset: 3px;
}
html[data-bleu-unified] #shell #content [data-onbleu-insights=books] > .bk-card-act {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 16px;
}
html[data-bleu-unified] #shell #content [data-onbleu-insights=work] .wv2-triage {
  opacity: 1;
  visibility: visible;
}
html[data-bleu-unified] #shell #content [data-onbleu-insight-next] {
  display: block;
  margin-block-start: 8px;
  font-size: 13px;
  font-weight: 550;
  color: var(--bleu,var(--ink));
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 640px) {
  html[data-bleu-unified] #shell #content [data-onbleu-insights=work].wv2-row.is-suggestion {
    grid-template-columns: 20px minmax(0,1fr);
    gap: 8px;
    align-items: start;
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights=work].wv2-row.is-suggestion .wv2-main {
    grid-column: 2;
    min-width: 0;
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights=work].wv2-row.is-suggestion > .wv2-check:first-child {
    grid-column: 1;
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights=work] :is(.wv2-title,.wv2-meta,.wv2-why) {
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
    line-height: 1.55;
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights=work].wv2-row.is-suggestion .wv2-triage {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights=work] .wv2-tbtn {
    flex: 0 0 auto;
    inline-size: auto;
    padding-inline: 12px;
    white-space: nowrap;
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights=work] .wv2-box-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights] :is(.bk-card-act,.aq-actions) {
    display: grid;
    grid-template-columns: minmax(0,1fr);
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights] :is(.bk-card-act > *,.aq-actions > button) {
    inline-size: 100%;
    text-align: start;
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights] :is(.hcx-source,.hday-meta,.bk-lead) {
    display: block;
    white-space: normal;
    line-height: 1.6;
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights] :is(.ask-oa-figures,.aq-records dl) {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  html[data-bleu-unified] #shell #content [data-onbleu-insights] .aq-records dd {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
@media (forced-colors: active) {
  html[data-bleu-unified] #shell #content [data-onbleu-insight-source],
  html[data-bleu-unified] #shell #content [data-onbleu-insight-limits] { border-color: CanvasText; }
}

/* Additional current-native destinations. The existing runtime owns
 * data-bux-page; no extra observer, renderer or control adapter is needed.
 * Native guards, errors, calendars, table geometry and editors stay native. */

/* The native Sales worksheet's compact presentation reduced its connected
 * sort buttons and vehicle link to 20px. Restore real control hit areas;
 * native columns, cell metadata, selection and resize handlers remain owned
 * by the table. The DOM table lays out these controls without a row renderer. */
html[data-bleu-unified] #shell #content[data-bux-page=salesdelivery] .sd-workspace .td-table :is(button[data-sort-column],button.td-car-link) {
  display: inline-flex !important;
  align-items: center;
  min-block-size: 44px !important;
  min-inline-size: 44px !important;
}
html[data-bleu-unified] #shell #content[data-bux-page=wireInbox] .cv-views button[data-cv-mode] {
  min-inline-size: 44px;
}
/* Includes the same native retry control in its failed-read composition. */
html[data-bleu-unified] #shell #content:is([data-bux-page=wsorders],[data-bux-page=wspartnersettings]) [data-bd-refresh],
html[data-bleu-unified] #shell #content[data-bux-page=wsorders] .sn-orders [data-fa-order] {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  min-inline-size: 44px;
}
html[data-bleu-unified] #shell #content[data-bux-page=wsorders] .sn-orders :is(input[data-fa-date],input[data-fa-due]) {
  min-block-size: 44px;
}
/* The associated label is the checkbox hit target. Keep the native checkbox
 * itself, its checked/disabled state and its intrinsic dimensions unchanged. */
html[data-bleu-unified] #shell #content[data-bux-page=wsstore] .bs label.bs-check {
  min-block-size: 44px;
}
/* The native Wires picker is a body-level dialog, guarded by its route. */
html[data-bleu-unified]:has(#content[data-bux-page=wireInbox]) dialog.wd-match input[aria-label="Find inventory vehicle"] {
  min-block-size: 44px;
}

/* The embedded Store's native active navigation used a fixed light surface
 * with a dark-mode blue foreground (1.79:1). Retain its native active state
 * and geometry, using the existing paired selection tokens in both themes. */
html[data-bleu-unified] #shell #content[data-bux-page=wsstore] .bs nav button.active:not([data-value=shop]) {
  background: var(--bux-selected);
  color: var(--bux-selected-text);
}
html[data-bleu-unified] #shell #content[data-bux-page=wsstore] .bs-logo[data-bux-store-wordmark] {
  display: inline-block;
  width: 88px;
  line-height: 0;
}
html[data-bleu-unified] #shell #content[data-bux-page=wsstore] .bs-logo[data-bux-store-wordmark] > svg {
  display: block;
  width: 100%;
  height: auto;
}
/* Native embedded Store suppresses this local mark beside the app chrome.
 * Keep that state; explicit wrapper sizing applies whenever it is visible. */
html[data-bleu-unified] #shell #content[data-bux-page=wsstore] .bs-embedded .bs-logo[data-bux-store-wordmark] {
  display: none;
}
@media (max-width: 700px) {
  html[data-bleu-unified] #shell #content[data-bux-page=wsstore] .bs-logo[data-bux-store-wordmark] {
    width: 80px;
  }
  /* Current native external-page toolbars/forms retain compact 13–14px
   * fields after their real populated renders. Keep phone input text at
   * 16px without changing field geometry, values or native edit handlers. */
  html[data-bleu-unified] #shell #content:is(
    [data-bux-page=salesEmails], [data-bux-page=salesdelivery],
    [data-bux-page=vehiclelocations], [data-bux-page=wireInbox],
    [data-bux-page=wscalendar], [data-bux-page=wscollections],
    [data-bux-page=wsmanage], [data-bux-page=wsmerch],
    [data-bux-page=wsorders], [data-bux-page=wspartnersettings],
    [data-bux-page=wspromotions], [data-bux-page=wssettings],
    [data-bux-page=wsstore], [data-bux-page=wswriting]
  ) :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file]),select,textarea) {
    font-size: 16px !important;
  }
}

/* Captured mail uses an h2 as its native page title. Keep that semantic
 * heading and give it the same hierarchy as the other collection pages. */
html[data-bleu-unified] #shell #content[data-bux-page=salesEmails] .mi {
  margin-block: 0;
}
html[data-bleu-unified] #shell #content[data-bux-page=salesEmails] .mi > header {
  align-items: flex-start;
  gap: 16px 24px;
  margin-block-end: 20px;
}
html[data-bleu-unified] #shell #content[data-bux-page=salesEmails] .mi > header > div {
  min-inline-size: 0;
}
html[data-bleu-unified] #shell #content[data-bux-page=salesEmails] .mi > header h2 {
  margin: 0;
  color: var(--ink);
  font: 700 28px/1.2 var(--font-ui);
  letter-spacing: -.035em;
}
html[data-bleu-unified] #shell #content[data-bux-page=salesEmails] .mi > header p {
  max-inline-size: 72ch;
  margin-block: 8px 0;
  color: var(--stone);
  font: 400 14px/1.55 var(--font-ui);
}
/* The shell's button display rule otherwise exposes native hidden paging
 * buttons after an unreadable/empty response. Do not infer paging state. */
html[data-bleu-unified] #shell #content[data-bux-page=salesEmails] .mi > footer > button[hidden] {
  display: none !important;
}

/* These seven routes share the current Website Platform page component.
 * Scope to their route keys so the existing content/editor routes are exact. */
html[data-bleu-unified] #shell #content:is(
  [data-bux-page=wscalendar], [data-bux-page=wscollections],
  [data-bux-page=wsmanage], [data-bux-page=wsmerch],
  [data-bux-page=wspromotions], [data-bux-page=wssettings],
  [data-bux-page=wswriting]
) .wmp-page > .wmp-header h1 {
  margin: 0;
  color: var(--ink);
  font: 700 28px/1.2 var(--font-ui) !important;
  letter-spacing: -.035em;
}

/* Movement already has its own responsive map/list composition. Avoid its
 * second page inset inside the shell's existing responsive content padding. */
html[data-bleu-unified] #shell #content[data-bux-page=vehiclelocations] .vl-page {
  padding: 0;
}

/* Sales & delivery's narrow header was centered by native component rules,
 * unlike every adjacent inventory page. Keep the title and native action
 * start-aligned while preserving its horizontal lane scroller and grid. */
html[data-bleu-unified] #shell #content[data-bux-page=salesdelivery] .sd-workspace .sd-header {
  align-items: flex-start;
}

@media (max-width: 350px) {
  html[data-bleu-unified] #shell #content[data-bux-page=salesEmails] .mi > header h2,
  html[data-bleu-unified] #shell #content:is(
    [data-bux-page=wscalendar], [data-bux-page=wscollections],
    [data-bux-page=wsmanage], [data-bux-page=wsmerch],
    [data-bux-page=wspromotions], [data-bux-page=wssettings],
    [data-bux-page=wswriting]
  ) .wmp-page > .wmp-header h1 {
    font-size: 24px !important;
  }
}

