
/* bleu mobile chrome (2026-10-28). Jared, iPhone, dark: "The header should be full bleed, not like a [box]
   like that, it should be a top bar. It should blend into the top of the phone, and look at the tab bar. It
   looks ... crammed and just like not elegant in the slightest."
   Phones only. Everything is scoped under html.bleu-mc, which only this layer's script sets, so the sheet is
   inert without it. Tokens only: UI v2's neutral surfaces (--paper is the page and the browser's
   theme-color), --ink, --stone, --line; the accent only marks the current tab and Ask.
   1. Top bar: one surface with the status bar, a material and hairline only after scrolling, the large
      title that moves into the bar. 2. Tab bar: full width, docked over the home indicator. 3. Check-ins:
   one primary action, a segmented control, quiet cards, Load more at the end. 4. Chat page header. */
html.bleu-mc{
  --mc-row:52px;                 /* the top bar's row, under the status bar */
  --mc-tab:56px;                 /* the tab bar's row, above the home indicator */
  --mc-sat:env(safe-area-inset-top,0px);
  --mc-sab:env(safe-area-inset-bottom,0px);
  --mc-sal:env(safe-area-inset-left,0px);
  --mc-sar:env(safe-area-inset-right,0px);
  --mc-material:color-mix(in srgb,var(--paper) 80%,transparent);
  --mc-blur:saturate(180%) blur(20px);
  --mc-hair:color-mix(in srgb,var(--ink) 14%,transparent);
  --mc-quiet:var(--stone);
  --mc-tint:var(--bleu-deep);
  --mc-accent:var(--bleu);
  --mc-on-accent:var(--on-miami);
  --mc-press:color-mix(in srgb,var(--ink) 8%,transparent);
  --mc-track:color-mix(in srgb,var(--ink) 7%,transparent);
  --mc-thumb:var(--card);
  --mc-dur:180ms;
  --mc-ease:var(--feel-ease-out,var(--v2-ease));
}
html.bleu-mc[data-theme="dark"]{--mc-track:color-mix(in srgb,var(--ink) 11%,transparent);--mc-thumb:color-mix(in srgb,var(--ink) 22%,var(--paper))}
html.bleu-mc.feel-reduce{--mc-dur:0s}
@media (prefers-reduced-motion:reduce){html.bleu-mc{--mc-dur:0s}}

/* 1. Top bar ------------------------------------------------------------------------------------- */
@media (max-width:860px){
  /* viewport-fit=cover: in-flow content keeps clear of a landscape notch; the page colour runs under it. */
  html.bleu-mc body{padding-left:var(--mc-sal);padding-right:var(--mc-sar)}
  /* At rest the bar IS the page: --paper, which is also the browser's theme-color, so the status bar, the
     bar and the page read as one surface. No border, no inset highlight, no sheen. */
  html.bleu-mc:root #shell main>.topbar{position:sticky;top:0;z-index:30;display:flex;flex-wrap:wrap;align-items:center;gap:0!important;min-height:0;margin:0;
    padding:var(--mc-sat) 4px 0!important;border:0!important;border-radius:0!important;
    background:var(--paper)!important;background-image:none!important;box-shadow:0 1px 0 transparent!important;
    -webkit-backdrop-filter:var(--mc-blur);backdrop-filter:var(--mc-blur);
    transition:background-color var(--mc-dur) var(--mc-ease),box-shadow var(--mc-dur) var(--mc-ease)}
  /* Scrolled: content passes under a translucent material of the same colour, with one hairline. */
  html.bleu-mc[data-mc-scrolled]:root #shell main>.topbar{background:var(--mc-material)!important;box-shadow:0 1px 0 var(--mc-hair)!important}
  html.bleu-mc:root #shell main>.topbar>.topbrand{position:relative;display:flex;align-items:center;gap:4px!important;flex:1 1 auto;min-width:0;height:var(--mc-row);margin:0}
  html.bleu-mc:root #shell main>.topbar>.shell-actions{display:flex;align-items:center;gap:0!important;flex:none;height:var(--mc-row);margin:0 0 0 auto!important}
  html.bleu-mc:root #shell main>.topbar :is(.topburger,#gsToggle,#msgBtn,#bellBtn){display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;
    margin:0;padding:0;border:0!important;border-radius:22px;background:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--ink)!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;-webkit-tap-highlight-color:transparent;transition:background-color var(--mc-dur) var(--mc-ease)}
  html.bleu-mc:root #shell main>.topbar :is(.topburger,#gsToggle,#msgBtn,#bellBtn):active{background:var(--mc-press)!important}
  html.bleu-mc:root #shell main>.topbar :is(.topburger,#gsToggle,#msgBtn,#bellBtn) svg{width:22px;height:22px}
  html.bleu-mc:root #shell main>.topbar .shell-actions .themeBtn{display:none!important}
  html.bleu-mc:root #shell main>.topbar .topbrand .wm{display:flex;align-items:center;height:22px;transition:opacity var(--mc-dur) var(--mc-ease)}
  html.bleu-mc:root #shell main>.topbar .topbrand .wm svg{height:22px;width:auto}
  /* The large title, collapsed: the page's own title takes the wordmark's place (aria-hidden; the h1
     below stays the heading). */
  html.bleu-mc:root #shell main>.topbar .mc-title{position:absolute;left:48px;right:4px;top:50%;margin:0;opacity:0;transform:translateY(calc(-50% + 6px));pointer-events:none;
    font:600 17px/22px var(--font-ui);letter-spacing:-.01em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    transition:opacity var(--mc-dur) var(--mc-ease),transform var(--mc-dur) var(--mc-ease)}
  html.bleu-mc[data-mc-collapsed]:root #shell main>.topbar .mc-title{opacity:1;transform:translateY(-50%)}
  html.bleu-mc[data-mc-collapsed]:root #shell main>.topbar .topbrand .wm{opacity:0}
  /* Hub's resident search: a second row of the same bar, on the page's 16px edge. */
  html.bleu-mc:root #shell main>.topbar>.gsearch{flex:0 0 auto;width:calc(100% - 24px)!important;max-width:none;margin:0 12px 10px!important}
  /* The large title under the bar. */
  html.bleu-mc:root #shell #content h1[data-mc-title]{font-size:clamp(24px,7.2vw,30px)!important;line-height:1.18!important;font-weight:700!important;letter-spacing:-.022em!important}
  /* The shell's decorative glow would tint the bars' material (and the black page) blue: phones show
     the page colour only. */
  html.bleu-mc:root #shell>.aura{display:none}
  /* The offline notice is a banner above the tab bar, never under the clock. */
  html.bleu-mc:root #shell main>#offlineStrip:not(.hide){position:fixed;left:max(12px,var(--mc-sal));right:max(12px,var(--mc-sar));bottom:calc(var(--mc-tab) + var(--mc-sab) + 12px);z-index:24;
    display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:10px;border:1px solid var(--line)}
}
/* An installed iPhone app draws the clock white (black-translucent). In Light that would vanish into the
   page, so a soft scrim sits behind the clock only. Dark and the browser need nothing. */
@media (max-width:860px) and (display-mode:standalone){
  html.bleu-mc:root:not([data-theme="dark"]) #shell main>.topbar::before{content:"";position:absolute;left:0;right:0;top:0;height:var(--mc-sat);pointer-events:none;
    background:linear-gradient(color-mix(in srgb,var(--ink) 46%,transparent),color-mix(in srgb,var(--ink) 0%,transparent))}
}

/* 2. Tab bar ------------------------------------------------------------------------------------- */
/* Full width and docked, the same material as the scrolled top bar, one hairline on top. The home
   indicator gets its own clear zone inside the bar (the safe area), so nothing hovers over content. */
@media (max-width:600px){
  html.bleu-mc:root #shell #tabbar,html.bleu-mc:root[data-theme] #shell #tabbar{left:0!important;right:0!important;top:auto!important;bottom:0!important;width:auto!important;max-width:none!important;
    transform:none!important;translate:none!important;height:auto!important;min-height:0!important;margin:0!important;
    padding:0 var(--mc-sar) var(--mc-sab) var(--mc-sal)!important;gap:0!important;align-items:stretch;justify-content:space-around;overflow:visible;
    border:0!important;border-radius:0!important;box-shadow:0 -1px 0 var(--mc-hair)!important;
    background:var(--mc-material)!important;-webkit-backdrop-filter:var(--mc-blur)!important;backdrop-filter:var(--mc-blur)!important}
  html.bleu-mc:root #shell #tabbar::before,html.bleu-mc:root #shell #tabbar::after{display:none!important}
  html.bleu-mc:root #shell #tabbar .tabbtn,html.bleu-mc:root[data-theme] #shell #tabbar .tabbtn{flex:1 1 0;min-width:0;max-width:120px;height:var(--mc-tab);min-height:var(--mc-tab)!important;margin:0;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px!important;padding:5px 2px 4px!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;color:var(--mc-quiet)!important;font:500 11px/14px var(--font-ui)!important;letter-spacing:0;
    -webkit-tap-highlight-color:transparent;transition:color var(--mc-dur) var(--mc-ease)}
  /* One signal for the current tab: the tint on its icon and name. No pill, no weight change. */
  html.bleu-mc:root #shell #tabbar .tabbtn.on,html.bleu-mc:root[data-theme] #shell #tabbar .tabbtn.on{color:var(--mc-tint)!important;background:transparent!important}
  html.bleu-mc:root #shell #tabbar .tabbtn .tic,html.bleu-mc:root[data-theme] #shell #tabbar .tabbtn .tic{display:flex;align-items:center;justify-content:center;width:30px;height:30px;min-height:30px;flex:0 0 30px;
    margin:0!important;padding:0;border:0!important;border-radius:15px;background:transparent!important;box-shadow:none!important;color:inherit!important}
  html.bleu-mc:root #shell #tabbar .tabbtn .tic svg{width:24px;height:24px}
  html.bleu-mc:root #shell #tabbar .tabbtn .glass-nav-label,html.bleu-mc:root[data-theme] #shell #tabbar .tabbtn .glass-nav-label{display:block;max-width:100%;padding:0;margin:0;background:transparent!important;
    color:inherit!important;font:inherit!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  /* Ask: the one filled mark in the bar, on the same line as the other icons. No ring, no lift, no shadow. */
  html.bleu-mc:root #shell #tabbar .tabbtn[data-tabgo="ask"] .tic,html.bleu-mc:root[data-theme] #shell #tabbar .tabbtn[data-tabgo="ask"] .tic{background:var(--mc-accent)!important;color:var(--mc-on-accent)!important}
  html.bleu-mc:root #shell #tabbar .tabbtn[data-tabgo="ask"] .tic svg,html.bleu-mc:root #shell #tabbar .tabbtn[data-tabgo="ask"] .tic .ic{width:18px;height:18px;color:var(--mc-on-accent)!important}
  html.bleu-mc:root #shell #tabbar .tabbtn:active .tic{background:var(--mc-press)!important}
  html.bleu-mc:root #shell #tabbar .tabbtn[data-tabgo="ask"]:active .tic{background:var(--mc-tint)!important}
}
/* The hook for immersive screens (buying-swipe, a full-screen viewer): a layer adds the class mc-immersive to
   <html> while it is open and removes it on close; the tab bar steps aside and the shell's clearance follows. */
@media (max-width:600px){
  html.bleu-mc.mc-immersive:root #shell #tabbar{display:none!important}
}
@media (max-width:600px) and (prefers-reduced-transparency:reduce),(max-width:600px) and (prefers-contrast:more){
  html.bleu-mc:root #shell #tabbar,html.bleu-mc:root[data-theme] #shell #tabbar{background:var(--paper)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:0 -1px 0 var(--line)!important}
}
@media (max-width:860px) and (prefers-reduced-transparency:reduce),(max-width:860px) and (prefers-contrast:more){
  html.bleu-mc[data-mc-scrolled]:root #shell main>.topbar{background:var(--paper)!important;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 1px 0 var(--line)!important}
}
@media (max-width:600px) and (forced-colors:active){
  html.bleu-mc:root #shell #tabbar{background:Canvas!important;border-top:1px solid CanvasText!important}
  html.bleu-mc:root #shell #tabbar .tabbtn.on{color:Highlight!important}
  html.bleu-mc:root #shell #tabbar .tabbtn[data-tabgo="ask"] .tic{background:ButtonFace!important;color:ButtonText!important;border:1px solid ButtonText!important}
}

/* 3. Check-ins (Vehicle inspections), presentation only ---------------------------------------- */
@media (max-width:860px){
  html.bleu-mc:root #shell .inspection-dashboard.ix-worklist{display:flex;flex-direction:column;align-items:stretch;min-width:0}
  html.bleu-mc:root #shell .ix-worklist>.ix-header{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:0 0 16px}
  html.bleu-mc:root #shell .ix-worklist>.ix-header h1{margin:0}
  /* One primary action; Check Out is a quiet text button beside it, not a twin. */
  html.bleu-mc:root #shell .ix-worklist .id-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:0}
  html.bleu-mc:root #shell .ix-worklist .id-actions [data-inspection-start="checkin"]{flex:1 1 0;width:auto!important;min-width:0;min-height:48px;border-radius:10px;font:600 16px/20px var(--font-ui)}
  html.bleu-mc:root #shell .ix-worklist .id-actions [data-inspection-start="checkout"]{flex:0 0 auto;width:auto!important;min-height:48px;padding:0 10px;border-color:transparent!important;background:transparent!important;
    box-shadow:none!important;color:var(--mc-tint)!important;font:600 15px/20px var(--font-ui)}
  /* Segmented control: one track, one thumb; each segment is a 44px target. */
  html.bleu-mc:root #shell .ix-worklist>.id-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 16px;padding:0;border:0;border-radius:11px;background:var(--mc-track)}
  html.bleu-mc:root #shell .ix-worklist>.id-tabs button{min-height:44px;height:44px;margin:0;padding:0 6px;border:2px solid transparent!important;border-radius:11px;background:transparent!important;background-clip:padding-box!important;
    box-shadow:none!important;color:var(--mc-quiet)!important;font:500 14px/18px var(--font-ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background-color var(--mc-dur) var(--mc-ease),color var(--mc-dur) var(--mc-ease)}
  html.bleu-mc:root #shell .ix-worklist>.id-tabs button[aria-pressed="true"]{background:var(--mc-thumb)!important;color:var(--ink)!important;font-weight:600}
  html.bleu-mc:root #shell .ix-worklist>.ix-filter{margin:0}
  html.bleu-mc:root #shell .ix-worklist>.ix-filter label{display:block;color:var(--mc-quiet);font:500 13px/18px var(--font-ui)}
  html.bleu-mc:root #shell .ix-worklist>.ix-filter input{display:block;width:100%;margin-top:6px;min-height:48px;border-radius:10px}
  /* The count is a quiet line; Refresh is a text button. */
  html.bleu-mc:root #shell .ix-worklist>.ix-list-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 4px}
  html.bleu-mc:root #shell .ix-worklist>.ix-list-meta .id-source{margin:0;color:var(--mc-quiet);font:500 13px/18px var(--font-ui);font-variant-numeric:tabular-nums}
  html.bleu-mc:root #shell .ix-worklist>.ix-list-meta [data-inspection-refresh]{min-height:44px;padding:0 4px 0 10px;margin-right:-4px;border-color:transparent!important;background:transparent!important;box-shadow:none!important;
    color:var(--mc-tint)!important;font:600 14px/18px var(--font-ui)}
  html.bleu-mc:root #shell .ix-worklist .ix-group-title{margin:16px 0 8px;color:var(--ink);font:600 15px/20px var(--font-ui);letter-spacing:-.005em}
  /* Cards: title, one meta line with the state, one primary action and a text button, then Details. */
  html.bleu-mc:root #shell .ix-worklist .id-row{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:0 0 12px;padding:16px 16px 4px;border:1px solid var(--line);border-radius:12px;background:var(--card);box-shadow:none}
  html.bleu-mc:root #shell .ix-worklist .id-row>.ix-car{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:4px;align-items:center;min-width:0}
  html.bleu-mc:root #shell .ix-worklist .id-row>.ix-car h3{grid-column:1/-1;margin:0;color:var(--ink);font:600 17px/22px var(--font-ui);letter-spacing:-.01em;overflow-wrap:anywhere}
  html.bleu-mc:root #shell .ix-worklist .id-row>.ix-car p{grid-column:1;margin:0;color:var(--mc-quiet);font:400 13px/18px var(--font-ui);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
  html.bleu-mc:root #shell .ix-worklist .id-row>.ix-car .id-state{grid-column:2;grid-row:2;justify-self:end;align-self:center;margin:0;padding:3px 8px;border:0;border-radius:999px;background:var(--mc-track);
    color:var(--ink);font:500 12px/16px var(--font-ui);white-space:nowrap}
  html.bleu-mc:root #shell .ix-worklist .id-row>.id-row-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:4px;max-width:none;margin:0}
  html.bleu-mc:root #shell .ix-worklist .id-row>.id-row-actions .btn:not(.sec){flex:1 1 0;width:auto!important;max-width:none;min-width:0;min-height:48px;border-radius:10px;font:600 15px/20px var(--font-ui)}
  html.bleu-mc:root #shell .ix-worklist .id-row>.id-row-actions .btn.sec{flex:0 0 auto;width:auto!important;max-width:none;min-height:48px;padding:0 10px;border-color:transparent!important;background:transparent!important;box-shadow:none!important;
    color:var(--mc-tint)!important;font:600 15px/20px var(--font-ui)}
  html.bleu-mc:root #shell .ix-worklist .id-row>.id-context{grid-column:1/-1;margin:0 -16px;padding:0 16px;border-top:1px solid var(--line)}
  html.bleu-mc:root #shell .ix-worklist>:is(.ix-carrier,.ix-coverage)>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;color:var(--ink);font:500 14px/18px var(--font-ui)}
  html.bleu-mc:root #shell .ix-worklist>:is(.ix-carrier,.ix-coverage)>summary::-webkit-details-marker{display:none}
  html.bleu-mc:root #shell .ix-worklist>:is(.ix-carrier,.ix-coverage)>summary::after,
  html.bleu-mc:root #shell .ix-worklist .id-row>.id-context>summary::after{content:"";flex:none;width:7px;height:7px;margin:0 4px 3px 0;border-right:1.5px solid var(--mc-quiet);border-bottom:1.5px solid var(--mc-quiet);transform:rotate(45deg);transition:transform var(--mc-dur) var(--mc-ease)}
  html.bleu-mc:root #shell .ix-worklist>:is(.ix-carrier,.ix-coverage)[open]>summary::after,
  html.bleu-mc:root #shell .ix-worklist .id-row>.id-context[open]>summary::after{transform:translateY(3px) rotate(-135deg)}
  html.bleu-mc:root #shell .ix-worklist .id-row>.id-context>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0;list-style:none;color:var(--mc-quiet);font:500 13px/18px var(--font-ui);cursor:pointer}
  html.bleu-mc:root #shell .ix-worklist .id-row>.id-context>summary::-webkit-details-marker{display:none}
  /* Load more sits at the end of the list; Find another vehicle and the two notes follow it. */
  html.bleu-mc:root #shell .ix-worklist>[data-inspection-more]{order:1;align-self:stretch;min-height:48px;margin:4px 0 0;border:1px solid var(--line)!important;border-radius:10px;background:var(--card)!important;box-shadow:none!important;
    color:var(--ink)!important;font:600 15px/20px var(--font-ui)}
  html.bleu-mc:root #shell .ix-worklist>.ix-find{order:2;margin:8px 0 0;text-align:center}
  html.bleu-mc:root #shell .ix-worklist>.ix-find .btn{min-height:48px;border-color:transparent!important;background:transparent!important;box-shadow:none!important;color:var(--mc-tint)!important;font:600 15px/20px var(--font-ui)}
  html.bleu-mc:root #shell .ix-worklist>.ix-carrier{order:3}
  html.bleu-mc:root #shell .ix-worklist>.ix-coverage{order:4}
}

/* 4. Chat page (static/chat): the header is one surface with the status bar ------------------------ */
@media (max-width:860px){
  html.bleu-mc[data-bleu-chat] #drawer:not(.hide){background:var(--paper)!important}
  html.bleu-mc[data-bleu-chat] #bleu-chat-nav.bc-nav{background:var(--paper)!important;border-bottom:0!important;box-shadow:0 1px 0 transparent;transition:box-shadow var(--mc-dur) var(--mc-ease)}
  html.bleu-mc[data-bleu-chat][data-mc-scrolled] #bleu-chat-nav.bc-nav{box-shadow:0 1px 0 var(--mc-hair)}
  /* The drawer already clears the status bar; its list header must not clear it a second time. */
  html.bleu-mc[data-bleu-chat] #drawer.dm .dh{padding-top:10px!important;background:var(--paper)!important;border-bottom-color:transparent!important}
  html.bleu-mc[data-bleu-chat] #bleu-chat-nav :is(.bc-control,.bc-dashboard-entry){border-color:transparent!important;background:transparent!important;box-shadow:none!important;color:var(--ink)!important}
  html.bleu-mc[data-bleu-chat] #bleu-chat-nav :is(.bc-control,.bc-dashboard-entry):active{background:var(--mc-press)!important}
  html.bleu-mc[data-bleu-chat] #bleu-chat-nav .bc-audiences{gap:0;padding:0;border:0!important;border-radius:11px;background:var(--mc-track)!important}
  html.bleu-mc[data-bleu-chat] #bleu-chat-nav .bc-audience{min-height:44px;border:2px solid transparent!important;border-radius:11px;background:transparent!important;background-clip:padding-box!important;box-shadow:none!important;color:var(--mc-quiet)!important;font-weight:500}
  html.bleu-mc[data-bleu-chat] #bleu-chat-nav .bc-audience[aria-current="page"]{background:var(--mc-thumb)!important;color:var(--ink)!important;font-weight:600}
  html.bleu-mc[data-bleu-chat] #bleu-chat-nav .bc-brand:focus:not(:focus-visible){outline:0}
}

/* 5. Phone menu (the hamburger's full-screen drawer) ------------------------------------------------
   Jared: "the bottom especially feels like ... an afterthought". One neutral surface that blends into the
   status bar like the top bar; a 20px wordmark and a 44px close target; 44px rows of 15px/500 ink with
   20px icons in one neutral tone and exactly one accent icon, on the current row; a neutral fill for the
   current row (no navy); home (Hub, Today, Ask), work (the groups) and Settings by the footer; one
   account row inside the gutter, clear of the home indicator. The desktop rail is nav-polish's. */
@media (max-width:860px){
  html.bleu-mc{--mc-active:color-mix(in srgb,var(--ink) 5%,transparent)}
  html.bleu-mc[data-theme="dark"]{--mc-active:color-mix(in srgb,var(--ink) 8%,transparent)}
  html.bleu-mc:root body #shell .rail.navopen{background:var(--paper)!important;background-image:none!important;
    padding:0 var(--mc-sar) max(12px,var(--mc-sab)) var(--mc-sal)!important;grid-template-rows:auto minmax(0,1fr) auto}
  html.bleu-mc:root body #shell .rail.navopen::before,html.bleu-mc:root body #shell .rail.navopen::after{display:none}
  html.bleu-mc:root body #shell .rail.navopen>.brand{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;min-height:calc(var(--mc-sat) + var(--mc-row));height:auto;
    margin:0;padding:var(--mc-sat) 4px 0 16px!important;border:0!important;background:var(--paper)!important;box-shadow:0 1px 0 transparent;transition:box-shadow var(--mc-dur) var(--mc-ease)}
  html.bleu-mc[data-mc-menu-scrolled]:root body #shell .rail.navopen>.brand{box-shadow:0 1px 0 var(--mc-hair)}
  html.bleu-mc:root body #shell .rail.navopen>.brand .wm{--wm-h:20px;display:flex;align-items:center;height:20px}
  html.bleu-mc:root body #shell .rail.navopen>.brand .wm svg{height:20px;width:auto}
  html.bleu-mc:root body #shell .rail.navopen>.brand .navburger{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:22px;background:transparent!important;box-shadow:none;color:var(--ink)}
  html.bleu-mc:root body #shell .rail.navopen>.brand .navburger svg{width:20px;height:20px;stroke-width:1.75}
  html.bleu-mc:root body #shell .rail.navopen>#nav{display:flex;flex-direction:column;gap:0;padding:4px 8px 12px}
  html.bleu-mc:root body #shell .rail.navopen #nav :is(.grphead,.navi,.nav-home){display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;height:44px;min-height:44px;margin:0;padding:0 8px;
    border:0;border-radius:10px;background:transparent;box-shadow:none;color:var(--ink);font:500 15px/20px var(--font-ui);letter-spacing:-.005em}
  html.bleu-mc:root body #shell .rail.navopen #nav :is(.g,.chip){display:flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;margin:0;padding:0;border-radius:0;
    background:transparent!important;box-shadow:none;transform:none;color:var(--mc-quiet)!important}
  html.bleu-mc:root body #shell .rail.navopen #nav :is(.g,.chip) :is(svg,.ic,.gic,.gsvg){width:20px;height:20px;color:inherit!important;opacity:1;stroke-width:1.5}
  html.bleu-mc:root body #shell .rail.navopen #nav .chip>span{color:inherit!important}
  /* One accent icon: the current row's. A group that holds the page stays neutral. */
  html.bleu-mc:root body #shell .rail.navopen #nav :is(.navi,.nav-home).on,html.bleu-mc:root body #shell .rail.navopen #nav :is(.navi,.nav-home).on:active{background:var(--mc-active)!important;color:var(--ink);font-weight:500}
  html.bleu-mc:root body #shell .rail.navopen #nav :is(.navi,.nav-home).on :is(.g,.gsvg){color:var(--mc-tint)!important}
  html.bleu-mc:root body #shell .rail.navopen #nav .grphead.on,html.bleu-mc:root body #shell .rail.navopen #nav .navgrp.closed .grphead.on{background:transparent}
  html.bleu-mc:root body #shell .rail.navopen #nav .navgrp .grphead.on .chip{color:var(--mc-quiet)!important}
  html.bleu-mc:root body #shell .rail.navopen #nav .grphead.on::after{display:none}
  html.bleu-mc:root body #shell .rail.navopen #nav :is(.navi,.grphead,.nav-home):active{background:var(--mc-press)}
  html.bleu-mc:root body #shell .rail.navopen #nav .grphead .chev{order:2;flex:none;width:14px;height:14px;margin-left:auto;color:color-mix(in srgb,var(--mc-quiet) 70%,transparent);opacity:1}
  html.bleu-mc:root body #shell .rail.navopen #nav .grplabel{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit;font:inherit}
  /* Destinations: text only, on the group label's edge (20px icon + 12px gap). */
  html.bleu-mc:root body #shell .rail.navopen #nav .leaves{display:flex;flex-direction:column;gap:0;margin:0 0 4px;padding:0;border:0}
  html.bleu-mc:root body #shell .rail.navopen #nav .navgrp.closed .leaves{display:none}
  html.bleu-mc:root body #shell .rail.navopen #nav .leaves>.navi{padding-left:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html.bleu-mc:root body #shell .rail.navopen #nav .leaves>.navi .g{display:none}
  /* Home, then work, then Settings by the footer. */
  html.bleu-mc:root body #shell .rail.navopen #nav>.nav-home{margin:0}
  html.bleu-mc:root body #shell .rail.navopen #nav>.nav-top+.navgrp{margin-top:12px}
  html.bleu-mc:root body #shell .rail.navopen #nav>.navgrp:last-child:not(:only-of-type){margin-top:auto;padding-top:12px}
  /* Footer: one account row inside the gutter, then the theme switch as a quiet 44px icon button. */
  html.bleu-mc:root body #shell .rail.navopen>.me{grid-column:1;grid-row:3;min-width:0;margin:0 0 0 8px!important;padding:8px 0 0!important;border:0!important;box-shadow:0 -1px 0 var(--mc-hair)}
  html.bleu-mc:root body #shell .rail.navopen>.railtheme{grid-column:2;grid-row:3;display:flex;align-items:center;align-self:stretch;margin:0 8px 0 0!important;padding:8px 0 0 4px!important;border:0!important;box-shadow:0 -1px 0 var(--mc-hair)}
  html.bleu-mc:root body #shell .rail.navopen .railtheme .themeBtn{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;gap:0;justify-content:center;border:0;border-radius:22px;background:transparent!important;box-shadow:none;color:var(--mc-quiet)}
  html.bleu-mc:root body #shell .rail.navopen .railtheme .themeBtn .ic{width:20px;height:20px;margin:0;color:inherit}
  html.bleu-mc:root body #shell .rail.navopen .railtheme .themeBtn:active{background:var(--mc-press)!important}
  html.bleu-mc:root body #shell .rail.navopen #me .account-trigger{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:52px;margin:0;padding:8px;border:0;border-radius:10px;background:transparent;box-shadow:none;color:var(--ink);text-align:left}
  html.bleu-mc:root body #shell .rail.navopen #me .account-trigger[aria-expanded="true"],html.bleu-mc:root body #shell .rail.navopen #me .account-trigger:active{background:var(--mc-press)}
  html.bleu-mc:root body #shell .rail.navopen #me .account-avatar{display:flex;flex:none;width:32px;height:32px;justify-content:center;align-items:center;overflow:hidden;border-radius:50%}
  html.bleu-mc:root body #shell .rail.navopen #me .account-avatar>*{width:32px!important;height:32px!important;border-radius:50%}
  html.bleu-mc:root body #shell .rail.navopen #me .account-label{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
  html.bleu-mc:root body #shell .rail.navopen #me .account-label strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font:600 15px/20px var(--font-ui)}
  html.bleu-mc:root body #shell .rail.navopen #me .account-label small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mc-quiet);font:400 13px/18px var(--font-ui)}
  html.bleu-mc:root body #shell .rail.navopen #me .account-trigger>.ic{flex:none;width:14px;height:14px;color:color-mix(in srgb,var(--mc-quiet) 70%,transparent)}
}
