/* claude-shell-20261118: the global web shell (rail, top bar, Chat launcher, phone and tablet chrome)
   and the shared page-header pattern. Presentation only. Every rule is scoped to
   :root[data-claude-shell], which runtime.js sets, so removing the runtime removes the layer.
   Tokens are the live root's own: --bg, --card, --ink, --line, --mut, --inset, --miami, --sans. */

:root[data-claude-shell]{--ob-focus:var(--miami,#0075E1);--ob-row:44px;--ob-row-gap:2px;--ob-fade:28px}
@media (min-width:861px) and (pointer:fine){:root[data-claude-shell]{--ob-row:34px}}

/* 1. Focus: one visible ring on every shell control (keyboard only). */
:root[data-claude-shell] body #shell :is(.rail,.topbar,#tabbar) :is(button,a,[role=button],[tabindex]:not([tabindex="-1"])):focus-visible,
:root[data-claude-shell] body #dmFooter button:focus-visible{outline:2px solid var(--ob-focus)!important;outline-offset:2px!important}
:root[data-claude-shell] body #shell .topbar #gsi:focus-visible{outline:2px solid var(--ob-focus)!important;outline-offset:0!important}

/* 2. Rail rows: one row height, one gap, one icon column, on every group and item. */
:root[data-claude-shell] body #shell .rail #nav :is(.navi,.grphead){min-height:var(--ob-row)!important;height:auto!important;padding-top:0!important;padding-bottom:0!important;box-sizing:border-box}
:root[data-claude-shell] body #shell .rail #nav .leaves{gap:var(--ob-row-gap)!important}
:root[data-claude-shell] body #shell .rail #nav .bleu-nav-main{display:flex;flex-direction:column;gap:var(--ob-row-gap)}
:root[data-claude-shell] body #shell .rail #nav :is(.navi,.grphead)>span:not(.g):not(.chip):not(.op-lock),
:root[data-claude-shell] body #shell .rail #nav .grplabel{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (min-width:861px) and (pointer:fine){
 :root[data-claude-shell] body #shell:not(.railcompact) .rail{padding-top:10px!important}
 :root[data-claude-shell] body #shell:not(.railcompact) .rail .brand{box-sizing:border-box!important;height:55px!important;min-height:55px!important;padding-top:0!important;padding-bottom:0!important;margin-bottom:6px!important;align-items:center}
 :root[data-claude-shell] body #shell:not(.railcompact) .rail #nav>.bleu-nav-utilities{padding-top:4px!important;margin-top:4px!important}
 :root[data-claude-shell] body #shell:not(.railcompact) .rail .bleu-personal-nav-tools{padding-top:2px!important;padding-bottom:2px!important}
}

/* 2b. Labels keep their full width: a tighter icon gap and right edge so the longest destination
       ("Publishing calendar") shows in full at the default rail width; anything longer ellipsizes with a tooltip. */
@media (min-width:861px){
 :root[data-claude-shell] body #shell:not(.railcompact) .rail #nav .leaves>.navi{gap:8px!important;padding-left:8px!important;padding-right:4px!important}
}

/* 3. The rail's scroll regions say when there is more: a fade at the edge with more items, a thin visible bar. */
:root[data-claude-shell] body #shell .rail [data-claude-scroll]{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--ink) 28%,transparent) transparent;overscroll-behavior:contain}
:root[data-claude-shell] body #shell .rail [data-claude-scroll~="below"]{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - var(--ob-fade)),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - var(--ob-fade)),transparent)}
:root[data-claude-shell] body #shell .rail [data-claude-scroll~="above"]{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 var(--ob-fade));mask-image:linear-gradient(to bottom,transparent,#000 var(--ob-fade))}
:root[data-claude-shell] body #shell .rail [data-claude-scroll~="above"][data-claude-scroll~="below"]{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 var(--ob-fade),#000 calc(100% - var(--ob-fade)),transparent);mask-image:linear-gradient(to bottom,transparent,#000 var(--ob-fade),#000 calc(100% - var(--ob-fade)),transparent)}
:root[data-claude-shell] body #shell .rail [data-claude-scroll]{scroll-padding-block:var(--ob-fade)}
:root[data-claude-shell] body #shell .rail [data-claude-scroll]:has(:focus-visible){-webkit-mask-image:none!important;mask-image:none!important}
@media (prefers-contrast:more){:root[data-claude-shell] body #shell .rail [data-claude-scroll]{-webkit-mask-image:none!important;mask-image:none!important;scrollbar-color:var(--ink) transparent}}
@media (forced-colors:active){:root[data-claude-shell] body #shell .rail [data-claude-scroll]{-webkit-mask-image:none!important;mask-image:none!important}}

/* 5. Customize navigation: same icon column and row as the items above it; readable size. */
:root[data-claude-shell] body #shell .rail .bleu-personal-nav-customize{min-height:var(--ob-row)!important;font-size:13px!important;color:var(--mut)!important;gap:10px}
:root[data-claude-shell] body #shell .rail .bleu-personal-nav-customize:hover{color:var(--ink)!important}

/* 6. The person footer keeps the live layout; its full name and role are its tooltip (runtime). */

/* 7. Collapsed rail: every icon centred in one column of 40px tiles with 2px gaps, groups separated by a
      single hairline before Settings, the whole rail scrolls with the same cue when it is taller than the
      screen, and the active row uses the expanded on-state (CODEX §2): a --chip fill, the icon in --bleu-deep
      and a 3px --bleu indicator (≥3:1). When the active page's group is closed, its group head carries that
      state instead, so the collapsed rail always shows where the person is. */
@media (min-width:861px){
 :root[data-claude-shell] body #shell.railcompact .rail{display:flex!important;flex-direction:column!important;overflow:hidden!important;height:100vh;height:100dvh;box-sizing:border-box}
 :root[data-claude-shell] body #shell.railcompact .rail>#nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
 :root[data-claude-shell] body #shell.railcompact .rail>:not(#nav){flex:none!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav :is(.navi,.grphead){position:relative;justify-content:center!important;padding:0!important;margin:var(--ob-row-gap) auto 0!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav :is(.navi,.grphead):hover{background:var(--inset)!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav :is(.navi,.grphead)::after{content:""!important;display:block!important;position:absolute!important;inset:-2px!important;border-radius:12px;background:none!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav :is(.navi:is(.on,[aria-current="page"]),.navgrp.closed>.grphead.on){background:var(--chip,var(--inset))!important;color:var(--bleu-deep,var(--bleu,#0075E1))!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav :is(.navi:is(.on,[aria-current="page"]),.navgrp.closed>.grphead.on) svg{color:var(--bleu-deep,var(--bleu,#0075E1))!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav :is(.navi:is(.on,[aria-current="page"]),.navgrp.closed>.grphead.on)::before{content:"";position:absolute;left:-6px;top:10px;bottom:10px;width:3px;border-radius:2px;background:var(--bleu,#0075E1)}
 :root[data-claude-shell] body #shell.railcompact .rail #nav .leaves{padding:0!important;margin:0!important;border-left:0!important;gap:0!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav .navi .g,:root[data-claude-shell] body #shell.railcompact .rail #nav .grphead .chip{margin:0!important;background:transparent!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav :is(.navi,.grphead)>span:not(.g):not(.chip),
 :root[data-claude-shell] body #shell.railcompact .rail #nav .grphead>.chev{display:none!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav .navgrp{margin:0!important;padding:0!important;border-top:0!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav>:is(.bleu-nav-utilities,.navgrp[data-grp="Settings"]){margin-top:6px!important;padding-top:6px!important;border-top:1px solid var(--line)!important}
 :root[data-claude-shell] body #shell.railcompact .rail #nav>.bleu-nav-utilities>.navgrp[data-grp="Settings"]{margin-top:0!important;padding-top:0!important;border-top:0!important}
}

/* 7b. Expanded rail and every menu: the current row carries a 3px --bleu indicator besides its fill, so it is never
       shown by colour alone (dark: the fill was about 1.09:1 on the black rail); on the desktop rail the fill is
       --chip with the icon in --bleu-deep, as on the collapsed rail (CODEX §2). */
:root[data-claude-shell] body #shell:not(.railcompact) .rail #nav .navi:is(.on,[aria-current="page"]),
:root[data-claude-shell] body #shell.railcompact .rail.navopen #nav .navi:is(.on,[aria-current="page"]){position:relative}
:root[data-claude-shell] body #shell:not(.railcompact) .rail #nav .navi:is(.on,[aria-current="page"])::before,
:root[data-claude-shell] body #shell.railcompact .rail.navopen #nav .navi:is(.on,[aria-current="page"])::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:2px;background:var(--bleu,#0075E1)}
@media (min-width:861px) and (pointer:fine){
 :root[data-claude-shell] body #shell:not(.railcompact)>.rail:not(.navopen) #nav .navi:is(.on,[aria-current="page"]){background:var(--chip,var(--inset))!important}
 :root[data-claude-shell] body #shell:not(.railcompact)>.rail:not(.navopen) #nav .navi:is(.on,[aria-current="page"]) svg{color:var(--bleu-deep,var(--bleu,#0075E1))!important}
}
@media (forced-colors:active){:root[data-claude-shell] body #shell .rail #nav .navi:is(.on,[aria-current="page"])::before{background:Highlight}}

/* 8. Top bar. The crumb reads "Group › Page" (the group comes from the rail, runtime). */
@media (min-width:861px){:root[data-claude-shell] body #shell .topbar #crumb{min-width:0;max-width:260px;font-size:13px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
:root[data-claude-shell] body #shell .topbar #crumb[data-claude-group]::before{content:attr(data-claude-group) "\a0\203A\a0";color:var(--mut);font-weight:400;flex:none}
/* The crumb names the group itself while the active row is a page inside it: "Inventory › Items". The live text is
   replaced visually by the row's name only; assistive tech reads the same words from the rail's current row. */
:root[data-claude-shell] body #shell .topbar #crumb[data-claude-leaf]{font-size:0!important}
:root[data-claude-shell] body #shell .topbar #crumb[data-claude-leaf]::before{font-size:13px}
:root[data-claude-shell] body #shell .topbar #crumb[data-claude-leaf]::after{content:attr(data-claude-leaf);font-size:13px}
/* The resident search field is the only search on screen: the search icon only shows where the field is not resident. */
:root[data-claude-shell][data-claude-gs-resident] body #shell .topbar .shell-actions #gsToggle{display:none!important}
/* One row from 1024px up, on every page including the Hub (it wrapped below 1195px and spent 68px). */
@media (min-width:1024px){
 :root[data-claude-shell] body #shell .topbar{flex-wrap:nowrap!important;gap:12px}
 :root[data-claude-shell] body #shell .topbar>.gsearch{order:0!important;flex:1 1 360px!important;max-width:560px!important;min-width:220px!important;margin:0!important}
 :root[data-claude-shell] body #shell .topbar>.gsearch .gsi{height:44px!important;min-height:44px!important;font-size:14px!important;border-radius:10px!important}
 :root[data-claude-shell] body #shell .topbar>.shell-actions{margin-left:auto}
}
/* Page access is a quiet header action like its neighbours, not a second bordered button. It keeps its label
   from 600px up (an unlabelled people glyph reads as Team; the tablet top bar has room for it); on phones, icon
   only with the same name. */
:root[data-claude-shell] body #shell .topbar .op-page-tools>button{border-color:transparent!important;background:transparent!important;box-shadow:none!important;min-height:44px;border-radius:10px!important;color:var(--ink)}
:root[data-claude-shell] body #shell .topbar .op-page-tools>button:hover{background:var(--inset)!important}
@media (max-width:599px){
 :root[data-claude-shell] body #shell .topbar .op-page-tools>button{width:44px;min-width:44px;padding:0!important;justify-content:center}
 :root[data-claude-shell] body #shell .topbar .op-page-tools>button>span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
}
:root[data-claude-shell] body #shell .topbar .shell-actions :is(#msgBtn,#bellBtn,#gsToggle,.themeBtn):hover{background:var(--inset)}

/* 9. Chat launcher: below open record drawers and their scrim, above fixed composers and action bars
      (runtime sets --claude-chat-lift), and a compact right-hand pill on tablets instead of a full-width band. */
:root[data-claude-shell] body #dmFooter{translate:0 calc(-1 * var(--claude-chat-lift,0px))}
:root[data-claude-shell] body:has(#drawer:not(.hide):not(.dm)) #dmFooter,
:root[data-claude-shell] body:has(#scrim:not(.hide)) #dmFooter{z-index:39!important}
:root[data-claude-shell] body #shell #content [data-claude-chat-clear]{padding-bottom:max(80px,calc(var(--claude-reserve,0px) + 24px))!important;scroll-padding-bottom:80px}
/* Lifted above a composer, the launcher is a whole card: full border and radius. */
:root[data-claude-shell] body #dmFooter[data-claude-lifted]{border:1px solid var(--line)!important;border-radius:14px!important;box-shadow:0 8px 24px rgba(0,0,0,.12)}
/* Desktop: the end of every page clears the launcher, whatever a page leaf sets (never below the live 100px). */
@media (min-width:861px){
 :root[data-claude-shell] body #shell #content{padding-bottom:max(100px,calc(var(--claude-reserve,0px) + 32px))!important}
}
@media (min-width:768px) and (max-width:860px){
 /* Compact pill only while the Chat sheet is closed; with the sheet open it stays the full-width band the sheet sits on. */
 :root[data-claude-shell] body:not(:has(#drawer.dm:not(.hide))) #dmFooter{left:auto!important;right:16px!important;max-width:calc(100vw - 32px)!important;border-radius:14px;border-bottom:1px solid var(--line)!important}
 /* The end of every page clears the launcher and the floating tab bar (never less than the live 168px). */
 :root[data-claude-shell] body #shell #content{padding-bottom:max(168px,calc(var(--claude-reserve,0px) + 24px))!important}
}

/* 10a. Touch tablets in landscape (pointer coarse, 861px and up). The live shell means the rail to be a Menu
       overlay there, with the tab bar, exactly as in portrait ("The grid must collapse WITH the rail"), but a
       later layer shows the rail again inside a one-column grid, so on an iPad in landscape the rail filled the
       first screen and the page started below it. Restore the overlay. */
@media (pointer:coarse) and (min-width:861px){
 :root[data-claude-shell] body #shell{grid-template-columns:minmax(0,1fr)!important}
 :root[data-claude-shell] body #shell>.rail:not(.navopen){display:none!important}
 :root[data-claude-shell] body #shell>.rail.navopen{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto auto;position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;width:min(380px,85vw)!important;height:100dvh!important;z-index:50!important;box-shadow:0 0 0 1px var(--line),0 24px 64px rgba(0,0,0,.18)}
 :root[data-claude-shell] body #shell>.rail.navopen>.brand{grid-column:1/-1;grid-row:1}
 :root[data-claude-shell] body #shell>.rail.navopen>#nav{grid-column:1/-1;grid-row:2;min-height:0;overflow-y:auto}
 :root[data-claude-shell] body #shell>.rail.navopen>.spacer{display:none!important}
 :root[data-claude-shell] body #shell>.rail.navopen>.bleu-personal-nav-tools{grid-column:1/-1;grid-row:3}
 /* The theme switch sits in the account row, as it does in the phone menu. */
 :root[data-claude-shell] body #shell>.rail.navopen>.me{grid-column:1;grid-row:4;min-width:0}
 :root[data-claude-shell] body #shell>.rail.navopen>.railtheme{grid-column:2;grid-row:4;display:flex!important;align-items:center;padding:0 8px!important;border:0!important;margin:0!important}
 :root[data-claude-shell] body #shell>.rail.navopen>.railtheme .railthemelbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 :root[data-claude-shell] body #shell>.rail.navopen>.railtheme .themeBtn{width:44px;min-width:44px;height:44px;padding:0;justify-content:center;border:0;background:transparent}
 :root[data-claude-shell] body #shell>.rail.navopen :is(#nav,.bleu-nav-main)[data-claude-scroll]{--ob-fade:64px}
 :root[data-claude-shell] body #shell main>.topbar>.topbrand{display:flex!important;order:-1!important;flex:0 0 auto!important;margin-right:4px}
 :root[data-claude-shell] body #shell main>.topbar>.topbrand .mc-title{display:none!important}
 :root[data-claude-shell] body #shell main>.topbar>.topbrand .wm{opacity:1!important}
 :root[data-claude-shell] body #shell main>.topbar>.topbrand .topburger{display:inline-flex!important}
 /* One row system with the 834 and 390 menus: every row 15px/500 (children never larger than their group),
    destinations without icons, indented under their group, and the same current-row fill. */
 :root[data-claude-shell] body #shell>.rail.navopen #nav :is(.navi,.grphead){font-size:15px!important;font-weight:500!important}
 :root[data-claude-shell] body #shell>.rail.navopen #nav .leaves .navi{padding-left:40px!important}
 :root[data-claude-shell] body #shell>.rail.navopen #nav .leaves .navi .g{display:none!important}
 :root[data-claude-shell] body #shell>.rail.navopen #nav .grphead{padding-left:8px!important}
 :root[data-claude-shell] body #shell>.rail.navopen #nav .navi:is(.on,[aria-current="page"]){background:color-mix(in srgb,var(--ink) 5%,transparent)!important}
}

/* 10. Phone and tablet menu: the list scrolls with the same fade; the account row and Customize stay reachable. */
@media (max-width:860px){
 :root[data-claude-shell] body #shell .rail.navopen #nav{min-height:0}
 :root[data-claude-shell] body #shell .rail.navopen :is(#nav,.bleu-nav-main)[data-claude-scroll]{--ob-fade:64px}
}

/* 11. Page titles (owned here app-wide; Transport's page title is the h2 in .tdv .tav-heading, styled as one;
       a heading another leaf demotes with aria-level 2 or more is not a page title and keeps its own size): Geist 600, never serif; 28/34 on desktop and tablet, 24/30 on phones
       (Today keeps 28/34); long titles wrap. The selector outranks the live title rules, including the Hub's
       `font:650 … !important` and the phone chrome's `h1[data-mc-title]{font-weight:700!important}`. */
html:root[data-claude-shell] body #shell#shell #content :is(h1,h1.view,h1.hcx-greeting,.wv2-h1,.bac-title,h1.blh-title,.blh-title,h1[data-mc-title],.ob-ph__title,.tdv .tav-heading h2):not([aria-level]:not([aria-level="1"])){font-family:var(--font-ui,var(--sans,Geist,sans-serif))!important;font-weight:600!important;font-size:28px!important;line-height:34px!important;letter-spacing:-.7px!important;overflow-wrap:break-word;word-break:normal;min-width:min-content;text-wrap:balance}
@media (max-width:599px){
 html:root[data-claude-shell] body #shell#shell #content :is(h1,h1.view,.wv2-h1,.bac-title,h1.blh-title,.blh-title,h1[data-mc-title],.ob-ph__title,.tdv .tav-heading h2):not(.hcx-greeting):not([aria-level]:not([aria-level="1"])){font-size:24px!important;line-height:30px!important;letter-spacing:-.5px!important}
}

/* 11b. A title is never squeezed below its longest word: on phones the row that holds it wraps, so its
        actions go under the title instead of narrowing it (live headers and .ob-ph alike). */
@media (max-width:599px){
 html:root[data-claude-shell] body #shell#shell #content :is(:has(> :is(h1,h1.view,h1.hcx-greeting,.wv2-h1,.bac-title,h1.blh-title,.blh-title,h1[data-mc-title],.ob-ph__title,.tdv .tav-heading h2):not([aria-level]:not([aria-level="1"]))),:has(> * > :is(h1,h1.view,h1.hcx-greeting,.wv2-h1,.bac-title,h1.blh-title,.blh-title,h1[data-mc-title],.ob-ph__title,.tdv .tav-heading h2):not([aria-level]:not([aria-level="1"])))){flex-wrap:wrap!important}
 html:root[data-claude-shell] body #shell#shell #content :has(> * > :is(h1,h1.view,h1.hcx-greeting,.wv2-h1,.bac-title,h1.blh-title,.blh-title,h1[data-mc-title],.ob-ph__title,.tdv .tav-heading h2):not([aria-level]:not([aria-level="1"]))) > :has(> :is(h1,h1.view,h1.hcx-greeting,.wv2-h1,.bac-title,h1.blh-title,.blh-title,h1[data-mc-title],.ob-ph__title,.tdv .tav-heading h2):not([aria-level]:not([aria-level="1"]))){flex:1 1 auto!important;min-width:min-content!important}
}

/* 11b (list header). The live list header nests its title three levels inside the row that holds its actions
       (.blh-top > .blh-head > .blh-line > h1): on phones that row wraps and the title block takes the full line. */
@media (max-width:599px){
 html:root[data-claude-shell] body #shell#shell #content .blh-top{flex-wrap:wrap!important}
 html:root[data-claude-shell] body #shell#shell #content .blh-top>.blh-head{flex:1 1 100%!important}
}

/* 11b'. A title whose single longest word is wider than the content area (a pasted link or code in a typed
         title) is flagged by the runtime: it may break inside that word, and it and its block may shrink, so
         the page never scrolls sideways. Ordinary titles keep the floor above. */
html:root[data-claude-shell] body #shell#shell #content [data-claude-title-long][data-claude-title-long][data-claude-title-long]{overflow-wrap:anywhere!important;min-width:0!important;max-width:100%}
html:root[data-claude-shell] body #shell#shell #content :has(> [data-claude-title-long][data-claude-title-long][data-claude-title-long]):has(> [data-claude-title-long][data-claude-title-long][data-claude-title-long]){min-width:0!important} /* outranks 11b's block floor */

/* 11c. One title top per width: when nothing sits above a page's title, the runtime measures the title's
        offset from the top of the content area and corrects the page's top-level block by the difference,
        so every page title starts at --claude-title-top (32px desktop, 16px tablet and phone), whatever
        padding a page sets. Header rows
        start-align, so taller buttons beside a title never push it down, and the runtime centres each
        control beside the title on the title's line box. */
html:root[data-claude-shell] body #shell#shell #content{--claude-title-top:32px}
@media (max-width:860px){html:root[data-claude-shell] body #shell#shell #content{--claude-title-top:16px}}
html:root[data-claude-shell] body #shell#shell #content [data-claude-title-top]{margin-top:var(--claude-title-mt,0px)!important}
html:root[data-claude-shell] body #shell#shell #content [data-claude-title-mate]{margin-top:var(--claude-mate-mt,0px)!important;align-self:flex-start!important}
html:root[data-claude-shell] body #shell#shell #content :has(> :is(h1,h1.view,h1.hcx-greeting,.wv2-h1,.bac-title,h1.blh-title,.blh-title,h1[data-mc-title],.ob-ph__title,.tdv .tav-heading h2):not([aria-level]:not([aria-level="1"]))){align-items:flex-start!important}

/* 12. Shared page header (adopted by area sessions; documented in README.md):
   <header class="ob-ph">
     <div class="ob-ph__text"><h1 class="ob-ph__title">Title</h1><p class="ob-ph__meta">Meta line</p></div>
     <div class="ob-ph__actions">secondary .btn.sec … <button class="btn ob-ph__primary">Primary</button>
       <button class="btn sec icon ob-ph__more" aria-label="More actions" aria-haspopup="menu">⋯</button></div>
   </header> */
:root[data-claude-shell] .ob-ph{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 16px;margin:0 0 20px;min-width:0}
:root[data-claude-shell] .ob-ph__text{display:flex;flex-direction:column;gap:4px;min-width:min-content;flex:1 1 280px}
:root[data-claude-shell] .ob-ph__title{margin:0;color:var(--ink)}
:root[data-claude-shell] .ob-ph__meta{margin:0;font:400 13px/18px var(--sans);color:var(--mut);overflow-wrap:anywhere}
:root[data-claude-shell] .ob-ph__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;flex:0 1 auto;min-width:0}
:root[data-claude-shell] .ob-ph__actions>:is(.btn,button){min-height:44px}
:root[data-claude-shell] .ob-ph__more{width:44px;min-width:44px;padding:0;justify-content:center}
@media (max-width:860px){
 :root[data-claude-shell] .ob-ph{margin-bottom:16px}
 :root[data-claude-shell] .ob-ph__actions{width:100%;justify-content:flex-start}
 :root[data-claude-shell] .ob-ph__actions>.ob-ph__secondary{display:none}
}

/* 13. Forced colours and high contrast. */
@media (forced-colors:active){
 :root[data-claude-shell] body #shell .rail #nav .navi:is(.on,[aria-current="page"]){outline:2px solid Highlight;outline-offset:-2px}
 :root[data-claude-shell] body #dmFooter{border:1px solid CanvasText}
 :root[data-claude-shell] body #shell.railcompact .rail #nav :is(.navi:is(.on,[aria-current="page"]),.navgrp.closed>.grphead.on)::before{background:Highlight}
}
@media (prefers-contrast:more){
 :root[data-claude-shell] body #shell .rail #nav .navi:is(.on,[aria-current="page"]){box-shadow:inset 3px 0 0 var(--ink)}
 :root[data-claude-shell] body #shell .topbar #crumb[data-claude-group]::before{color:var(--ink)}
 :root[data-claude-shell] body #shell .rail .bleu-personal-nav-customize{color:var(--ink)!important}
}

/* 14. Motion: nothing here animates; under reduced motion the launcher's lift is instant. */
@media (prefers-reduced-motion:no-preference){:root[data-claude-shell] body #dmFooter{transition:translate .18s cubic-bezier(.2,0,0,1)}}
