/* Same named layer as the admitted templates: repair their geometry without
   disabling earlier styles, touching data, or shrinking interactive targets. */
@layer onbleu-experience {
 html[data-hub-refinement="1"] #shell>.rail {background:#111e32!important;--stone:#bdc9dc;--muted:#bdc9dc;--mut:#bdc9dc}
 html[data-hub-refinement="1"] #content table[data-ex-table] :is(.pill,.badge,.pf-status-label) {overflow-wrap:normal!important;word-break:normal!important}
 html[data-hub-refinement="1"] #content table[data-ex-table]:not([data-cv-view="card"])>tbody>tr>:is(td,th) {overflow-wrap:break-word!important;word-break:normal!important}
 /* Presentation must not override native filtering, permissions or retired panes. */
 html[data-hub-refinement="1"] :is(#content#content,#drawer#drawer,#shell#shell) [hidden] {display:none!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .desk-columns.hlc-primary {grid-template-columns:minmax(0,1.3fr) minmax(360px,1fr)!important;grid-template-areas:"fleet fleet" "pulse work" "secondary work"!important;grid-template-rows:auto auto 1fr!important;gap:16px!important;align-items:start!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .desk-activity {display:grid!important;gap:12px!important;align-content:start!important;padding:0!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .desk-activity .ux-fresh {padding:12px 20px!important;margin:0!important;min-width:0!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .ux-fresh>header {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:44px!important;padding:0!important;border:0!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .ux-fresh>header h2 {font:650 18px/1.4 var(--font-ui)!important;letter-spacing:-.015em!important;margin:0!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .ux-fresh>button:not([data-hp-retry]):not([data-hp-ask]) {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:3px 16px!important;width:100%!important;min-height:68px!important;padding:12px 0!important;text-align:left!important;border:0!important;border-top:1px solid var(--hairline)!important;border-radius:0!important;background:transparent!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .ux-fresh>button>strong {grid-column:1!important;font-size:14px!important;line-height:20px!important;font-weight:600!important;overflow-wrap:anywhere!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .ux-fresh>button>span {grid-column:1!important;font-size:13px!important;line-height:18px!important;color:var(--stone)!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .ux-fresh>button>time {grid-column:2!important;grid-row:1/3!important;align-self:start!important;white-space:nowrap!important;font-size:12px!important;line-height:20px!important;color:var(--stone)!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .ux-fresh>p {font-size:12px!important;line-height:18px!important;margin:8px 0!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .ux-fresh>:is([data-hp-retry],[data-hp-ask]) {width:auto!important;min-height:44px!important;padding:8px 0!important;border:0!important;background:transparent!important;font-size:13px!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .hlc-activity {margin:0!important;padding:0!important;min-width:0!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .hlc-activity summary {min-height:44px!important;padding:8px 16px!important;font-size:13px!important;line-height:24px!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .desk-queue-nav {display:flex!important;flex-wrap:wrap!important;gap:4px!important;padding:8px!important;overflow:visible!important;max-width:100%!important;border-bottom:1px solid var(--hairline)!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .desk-queue-nav>button {display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;gap:6px!important;width:auto!important;min-width:44px!important;min-height:44px!important;padding:8px 10px!important;border:0!important;border-radius:7px!important;font-size:13px!important;line-height:20px!important;white-space:nowrap!important;background:transparent!important;color:var(--stone)!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .desk-queue-nav>button[aria-selected="true"] {background:color-mix(in srgb,var(--bleu) 10%,var(--card))!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--bleu) 18%,transparent)!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .desk-panel>.hp-card {padding:12px 16px!important}
 /* Today's auxiliary review queue stays on Today when another Hub pane opens. */
 html[data-hub-refinement="1"] #content:has(.hub-center [data-hc-tab]:not([data-hc-tab="needs"])[aria-selected="true"]) :is([data-vendor-review-queue],.today-utilities) {display:none!important}
 html[data-hub-refinement="1"] #content .hub-layout-clarity .hp-focus-row {padding-block:10px!important;gap:8px!important;min-height:64px!important}
 /* Page navigation and queue filters have deliberately distinct hierarchy. */
 html[data-hub-refinement="1"] #content :is(.aw-stages,.expense-stages) {display:flex!important;flex-wrap:wrap!important;gap:3px!important;width:fit-content!important;max-width:100%!important;min-height:0!important;padding:3px!important;margin-block:12px!important;background:var(--well)!important;border:1px solid var(--hairline)!important;border-radius:10px!important;box-shadow:none!important}
 html[data-hub-refinement="1"] #content :is(.aw-stages,.expense-stages)>button {flex:0 0 auto!important;min-width:44px!important;min-height:44px!important;width:auto!important;padding:8px 12px!important;border:0!important;border-radius:7px!important;background:transparent!important;font-size:13px!important;line-height:20px!important;color:var(--stone)!important;white-space:normal!important;box-shadow:none!important}
 html[data-hub-refinement="1"] #content :is(.aw-stages,.expense-stages)>button[aria-selected="true"] {background:var(--card)!important;color:var(--ink)!important;border:0!important;box-shadow:0 1px 3px rgb(7 26 61 / .09),inset 0 0 0 1px var(--hairline)!important;font-weight:600!important}
 /* Document lists: compact content, full-size interaction and unrestricted text. */
 html[data-hub-refinement="1"] #content .wd-app .wx-list-tools {margin:10px 0 6px!important;gap:8px!important}
 html[data-hub-refinement="1"] #content .wd-app .wx-list-tools :is(input,select) {min-height:44px!important;padding:8px 10px!important;font-size:14px!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-list-summary {min-height:44px!important;margin:0 0 8px!important;gap:8px!important;font-size:12px!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-capture {margin-bottom:16px!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-add-task {padding:4px 8px!important;min-height:54px!important;gap:4px!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-add-task>[data-wd-task-new] {min-height:44px!important;padding:11px 4px!important;font-size:14px!important;line-height:22px!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-add-submit {width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-task-group {margin:0 0 16px!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-task-group>h3 {margin:0!important;padding:8px 0!important;min-height:36px!important;font-size:12px!important;line-height:20px!important;letter-spacing:.035em!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-task-row {display:flex!important;align-items:flex-start!important;gap:6px!important;padding:6px 0!important;min-height:64px!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-task-check {flex:0 0 44px!important;width:44px!important;height:44px!important;padding:0!important;display:grid!important;place-items:center!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-task-content {flex:1 1 auto!important;min-width:0!important;padding:0!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-task-text {font:400 14px/22px var(--font-ui)!important;min-height:44px!important;padding:11px 4px!important;margin:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
 html[data-hub-refinement="1"] #content .wd-app :is(.wd-task-meta,.wd-task-links) {padding:0 4px!important;margin:0!important;gap:2px 8px!important;font-size:12px!important;line-height:18px!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-task-meta>button {min-height:44px!important;padding:6px 2px!important;font-size:12px!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-task-actions {display:flex!important;flex:0 0 auto!important;gap:2px!important;align-items:center!important;padding:0!important}
 html[data-hub-refinement="1"] #content .wd-app .wd-task-actions>button {width:auto!important;min-width:44px!important;min-height:44px!important;padding:8px!important;font-size:12px!important;line-height:20px!important}
 html[data-hub-refinement="1"] #drawer [data-shell-settings] {display:grid;gap:4px;padding:12px}
 html[data-hub-refinement="1"] #drawer [data-shell-settings] .navi {width:100%;min-height:44px;border-radius:8px}
 html[data-hub-refinement="1"] #content :is(.bk-import-status,.bk-import-missing) {font-size:12px;line-height:18px;color:var(--stone);white-space:normal;word-break:normal}
 /* Insights use one compact row per brand with every native drill preserved. */
 html[data-hub-refinement="1"] #content .bv-breakdown.ss-breakdown[data-bv-breakdown] {padding:12px 16px!important;min-width:0!important}
 html[data-hub-refinement="1"] #content .bv-breakdown.ss-breakdown[data-bv-breakdown] .ss-summary-row {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;min-height:64px!important;padding:10px 0!important;margin:0!important}
 html[data-hub-refinement="1"] #content .bv-breakdown.ss-breakdown[data-bv-breakdown] .ss-row-head {display:flex!important;align-items:baseline!important;gap:8px!important;min-height:20px!important;font-size:14px!important;line-height:20px!important}
 html[data-hub-refinement="1"] #content .bv-breakdown.ss-breakdown[data-bv-breakdown] .ss-row-head>strong {flex:1!important;font-size:14px!important;line-height:20px!important;min-width:0!important;overflow-wrap:anywhere!important}
 html[data-hub-refinement="1"] #content .bv-breakdown.ss-breakdown[data-bv-breakdown] .ss-row-count {font-size:14px!important;line-height:20px!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
 html[data-hub-refinement="1"] #content .bv-breakdown.ss-breakdown[data-bv-breakdown] :is(.ss-row-facts,.ss-row-share) {display:flex!important;flex-wrap:wrap!important;gap:2px 12px!important;font-size:12px!important;line-height:18px!important;margin:0!important}
 html[data-hub-refinement="1"] #content .bv-breakdown.ss-breakdown[data-bv-breakdown] .ss-share-track {height:3px!important;margin-top:2px!important;opacity:.8!important}
 /* A chronological feed, with compact stable rows rather than a second record page. */
 html[data-hub-refinement="1"] #content [data-hc-activity] {padding:12px 20px!important;background:var(--card)!important;border:1px solid var(--hairline)!important;border-radius:12px!important;min-width:0!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] :is(.hta-heading,.hta-controls) {padding:0!important;margin:0 0 12px!important;gap:8px!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-heading h2 {font-size:20px!important;line-height:28px!important;margin:0!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] :is(.hta-events,.bhx-day-group) {padding:0!important;margin:0!important;list-style:none!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .bhx-day {display:flex!important;align-items:center!important;gap:12px!important;min-height:36px!important;font-size:13px!important;line-height:20px!important;padding:8px 0!important;margin:0!important;border:0!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-event {display:grid!important;grid-template-columns:32px minmax(0,1fr) auto!important;gap:4px 12px!important;box-sizing:border-box!important;min-height:60px!important;padding:8px 0!important;margin:0!important;border:0!important;border-bottom:1px solid var(--hairline)!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .tap-avatar {width:32px!important;height:32px!important;font-size:11px!important;grid-row:1!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-event-body {min-width:0!important;min-height:0!important;padding:0!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .tap-action {font-size:14px!important;line-height:20px!important;margin:0 0 4px!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-event time {font-size:12px!important;line-height:20px!important;white-space:nowrap!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] :is(.hta-car-row,.hta-car,.hta-facts,.hta-preview,.hta-event-meta) {margin:2px 0!important;font-size:12px!important;line-height:18px!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-car-open {min-height:44px!important;margin:0!important;padding:0!important;gap:8px!important;font-size:13px!important;line-height:18px!important;flex-wrap:nowrap!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-event-content {min-width:0!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-business-note {display:block!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-wire-context {display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;max-height:none!important;overflow:visible!important;white-space:normal!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .tap-vehicle-identity {flex:1 1 0!important;min-width:0!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .tap-vehicle-photo {width:44px!important;height:33px!important;flex:0 0 44px!important;min-height:0!important;border-radius:5px!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-event-meta {display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:2px 12px!important;color:var(--stone)!important;text-align:left!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-event-meta>span {width:auto!important;flex:0 1 auto!important;text-align:left!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-source {display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-width:44px!important;font-size:12px!important;min-height:44px!important;padding:6px 0!important;text-align:left!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] span.hta-source {min-height:18px!important;padding:0!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-source-coverage {margin-top:12px!important;font-size:12px!important;line-height:18px!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .hta-source-coverage>summary {min-height:44px!important;padding-block:8px!important}
 @media(min-width:1100px) {
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event-body {display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:20px!important;align-items:start!important;min-height:44px!important;padding:0!important}
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event-content {display:flow-root!important}
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event-content>p {margin:0!important}
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event-meta {position:static!important;width:auto!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;margin:0!important}
 }
 /* Week/month are summaries. Their native day heading opens the complete rows
    and source actions, rather than squeezing a record drawer into each day. */
 html[data-hub-refinement="1"] #content [data-hc-activity] .oac-grid:is([data-mode="week"],[data-mode="month"]) .hta-event {display:block!important;min-height:0!important;padding:8px 0!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .oac-grid:is([data-mode="week"],[data-mode="month"]) :is(.tap-avatar,.tap-vehicle-photo,.hta-event-meta) {display:none!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .oac-grid:is([data-mode="week"],[data-mode="month"]) .hta-event-body {display:block!important}
 html[data-hub-refinement="1"] #content [data-hc-activity] .oac-grid:is([data-mode="week"],[data-mode="month"]) .hta-event time {display:block!important;margin-top:4px!important}
 @media(max-width:1100px) {
  html[data-hub-refinement="1"] #content .hub-layout-clarity .desk-columns.hlc-primary {grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"fleet" "pulse" "work" "secondary"!important;grid-template-rows:none!important;gap:16px!important}
 }
 @media(max-width:760px) {
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event {position:relative!important}
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event>time {position:static!important;grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:start!important;margin:0!important;padding:0!important;text-align:right!important}
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event:has(.hta-event-meta>button:only-child) {position:relative!important;grid-template-columns:32px minmax(0,1fr) 72px!important;min-height:80px!important}
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event:has(.hta-event-meta>button:only-child) .hta-event-body {position:static!important}
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event:has(.hta-event-meta>button:only-child) .hta-event-meta {position:absolute!important;inset-inline-end:0!important;top:28px!important;width:72px!important;margin:0!important}
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event:has(.hta-event-meta>button:only-child) button.hta-source {width:72px!important;min-height:44px!important;font-size:0!important;justify-content:flex-end!important;gap:4px!important}
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event:has(.hta-event-meta>button:only-child) button.hta-source::before {content:"Open";font-size:12px;line-height:18px}
  html[data-hub-refinement="1"] #content [data-hc-activity] :is(.ux-activity-feed,.oac-grid[data-mode="day"]) .hta-event:has(.hta-event-meta>button:only-child) button.hta-source svg {width:14px!important;height:14px!important}
  /* iOS keeps focus in place when editable fields use a legible 16px type size. */
  html[data-hub-refinement="1"] :is(#content#content,#drawer#drawer,dialog) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select) {font-size:16px!important}
  html[data-hub-refinement="1"] #content .hub-layout-clarity .ux-fresh>button:not([data-hp-retry]):not([data-hp-ask]) {grid-template-columns:minmax(0,1fr)!important;gap:2px!important}
  html[data-hub-refinement="1"] #content .hub-layout-clarity .ux-fresh>button>time {grid-column:1!important;grid-row:auto!important;font-size:11px!important}
  html[data-hub-refinement="1"] #content .hub-layout-clarity .desk-activity .ux-fresh {padding:12px 16px!important}
  html[data-hub-refinement="1"] #content :is(.aw-stages,.expense-stages) {width:100%!important;flex-wrap:nowrap!important}
  html[data-hub-refinement="1"] #content :is(.aw-stages,.expense-stages)>button {flex:1 1 0!important;min-width:0!important;padding:8px 5px!important;font-size:12px!important}
  html[data-hub-refinement="1"] #content .wd-app .wd-task-row {gap:2px!important}
  html[data-hub-refinement="1"] #content .wd-app .wd-task-actions {flex-direction:column!important;gap:0!important}
 }
 @media(forced-colors:active) {
  html[data-hub-refinement="1"] #shell>.rail {background:Canvas!important;color:CanvasText!important}
  html[data-hub-refinement="1"] #content :is(.aw-stages,.expense-stages,.desk-queue-nav)>button[aria-selected="true"] {outline:2px solid Highlight!important;color:Highlight!important}
 }
}
