/* The Hub on a phone (Hallmark phone pass, 3 November 2026; review/hallmark/phone-rethink.html, approved with every mockup on 2 November).
   Only the look on a phone (up to 860px): the header, the floating pill bar, the floating find bar, More and its phone bar picker, the
   sheets from the bottom, the press-and-hold menu and "Open this on a computer". What a press does is unchanged (app.js, phonekit.js,
   rowmenu.js, desk.js). Loaded last so it can sit over the older phone rules (app.css, cadence.css). */
@media (max-width:860px){
  /* ---- the header: the page's colour, a plain back arrow, the title, then Search · the bell · Escalate · Kasper (his menu holds Feedback) ---- */
  html body:not(.on-home) .mhead:not(#_):not(#_){position:sticky;top:0;z-index:30;min-height:calc(58px + env(safe-area-inset-top,0px));padding:calc(env(safe-area-inset-top,0px) + 4px) 184px 6px 16px;background:var(--c-bg,var(--bg));border-bottom:1px solid transparent;transition:border-color .22s cubic-bezier(.16,1,.3,1)}
  html[dir="rtl"] body:not(.on-home) .mhead:not(#_):not(#_){padding-left:184px;padding-right:16px}
  html body.mh-scrolled:not(.on-home) .mhead:not(#_):not(#_){border-bottom-color:var(--border)}
  /* a page that is white under its header (Chat's list, a page's "Open this on a computer") keeps the header the same white */
  html body:is(:has(#p-ch.on .cx-list.cx-phone),:has(.dk.dk-page)):not(.on-home) .mhead:not(#_):not(#_){background:var(--surface)}
  html body:not(.on-home) .mhead .logo:not(#_):not(#_){min-height:48px;padding:0;align-items:center;gap:2px}
  html body:not(.on-home) #mTitle:not(#_):not(#_){font-family:Archivo,var(--font-sans),sans-serif;font-size:21px;line-height:1.25;font-weight:650;letter-spacing:-.015em;color:var(--c-ink,var(--ink));padding-inline-start:4px}
  html body .mhead #mBack:not(#_):not(#_){width:44px;height:44px;margin-inline-start:-10px;border-radius:999px;background:transparent;color:var(--c-ink,var(--ink))}
  html body .mhead #mBack:active:not(#_):not(#_){background:var(--surface-hover)}
  html body .mhead #mBack svg:not(#_):not(#_){width:22px;height:22px;stroke-width:1.8}
  /* the installed Hub: the ‹ also on a main page when there is somewhere to go back to (public/back.js); Arabic points it the other way */
  html.hub-app body .mhead #mBack:not([hidden]):not(#_):not(#_){display:grid;place-items:center;border:0}
  html.hub-app body .mhead #mBack svg:not(#_):not(#_){stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}
  html[dir="rtl"] body .mhead #mBack svg:not(#_):not(#_){transform:scaleX(-1)}
  /* the icons: round, 44px, the ink colour (the mockup's flag is plain, not red), level with the title */
  html body:not(.on-home) .mhead .mh-r:not(#_):not(#_):not(#_){display:block!important}
  html body .mhead .mh-r>.av:not(#_):not(#_){display:none!important}
  html body:not(.on-home) #mSearch:not(#_):not(#_){position:fixed;top:calc(env(safe-area-inset-top,0px) + 7px);inset-inline-end:140px;z-index:41;width:44px;height:44px;border-radius:999px;color:var(--c-ink,var(--ink))}
  html body:not(.on-home) #mSearch svg:not(#_):not(#_){width:21px;height:21px;stroke-width:1.8}
  html body:not(.on-home) .tb-bell:not(#_):not(#_):not(#_){top:calc(env(safe-area-inset-top,0px) + 7px);inset-inline-end:96px;width:44px;height:44px;color:var(--c-ink,var(--ink))}
  html body:not(.on-home) .tb-bell svg:not(#_):not(#_){width:21px;height:21px}
  html body:not(.on-home) .tb-bell i:not(#_):not(#_){top:4px;inset-inline-end:3px;min-width:18px;height:18px;padding:0 5px;font:700 11px/18px var(--font-sans);box-shadow:0 0 0 2px var(--c-bg,var(--bg))}
  html body:not(.on-home) .esc-fab:not(#_):not(#_):not(#_):not(#_),html body.fl-on:not(.on-home) .esc-fab:not(#_):not(#_):not(#_):not(#_){top:calc(env(safe-area-inset-top,0px) + 7px)!important;inset-inline-end:52px!important;width:44px;height:44px!important;border-radius:999px;color:var(--c-ink,var(--ink))}
  /* Kasper lives in the header (Rami, 3 November 2026): his button is the dark square at the end, on every page, Home too, and his menu
     has Feedback, so the Feedback button leaves the header. The round floating Kasper is a computer's only */
  html body #mKasper:not([hidden]):not(#_):not(#_){display:grid;place-items:center;position:fixed;top:calc(env(safe-area-inset-top,0px) + 7px);inset-inline-end:6px;z-index:41;width:44px;height:44px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--c-ink,var(--ink));cursor:pointer;-webkit-tap-highlight-color:transparent}
  html body.on-home #mKasper:not([hidden]):not(#_):not(#_){top:calc(env(safe-area-inset-top,0px) + 9px);inset-inline-end:12px}
  html body #mKasper .mh-kb:not(#_){display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--c-ink,var(--ink));color:var(--surface);--eye:var(--c-ink,var(--ink))}
  html body #mKasper svg:not(#_){width:21px;height:21px}
  html body #mKasper:active .mh-kb:not(#_){transform:scale(.94)}
  html body #mKasper:focus-visible:not(#_):not(#_){outline:2px solid var(--focus);outline-offset:-2px}
  html body .fb-fab:not(#_):not(#_):not(#_):not(#_):not(#_),html body .pal:not(#_):not(#_):not(#_):not(#_):not(#_){display:none!important}
  html body.on-home .esc-fab:not(#_):not(#_):not(#_):not(#_){inset-inline-end:56px!important}
  /* where the header's other icons step aside (an open chat's own header, a document's sheet, the bell's sheet over Home), so does he */
  html body:is(:has(#chatPage.has-room),:has(.page.on .dc-sheet),.bd-full-on) #mKasper:not(#_):not(#_):not(#_),html.pop body #mKasper:not(#_):not(#_):not(#_){display:none!important}
  /* his menu: a sheet with four rows, an icon, the name and a line under it */
  html body aside.sp.kph .kph-list:not(#_){display:flex;flex-direction:column;padding:0 0 calc(8px + env(safe-area-inset-bottom,0px))}
  html body .kph-row:not(#_):not(#_){display:flex;align-items:center;gap:16px;width:100%;min-height:64px;padding:10px 4px;border:0;border-top:1px solid var(--border);background:none;color:var(--c-ink,var(--ink));text-align:start;font:inherit;cursor:pointer}
  html body .kph-row:first-child:not(#_):not(#_){border-top:0}
  html body .kph-row:active:not(#_):not(#_){background:var(--surface-hover)}
  html body .kph-ic:not(#_){width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:var(--ink-muted)}
  html body .kph-t:not(#_){display:flex;flex-direction:column;gap:2px;min-width:0}
  html body .kph-t b:not(#_){font-size:17px;font-weight:650}
  html body .kph-t small:not(#_){font-size:14px;color:var(--ink-muted);line-height:1.3}
  html body:not(.on-home) .esc-fab svg:not(#_):not(#_):not(#_){width:21px;height:21px;stroke:currentColor!important}
  html body .mhead :is(#mSearch,#mBack):focus-visible:not(#_):not(#_),html body:not(.on-home) :is(.esc-fab,.tb-bell):focus-visible:not(#_):not(#_):not(#_){outline:2px solid var(--focus);outline-offset:-2px}

  /* ---- the floating pill bar: Home, up to four picked pages, More. The page you're on is the dark pill with its name ---- */
  html body .tabbar:not(#_):not(#_){display:flex;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));gap:2px;padding:6px!important;border:0!important;border-radius:34px;background:color-mix(in srgb,var(--surface) 88%,transparent)!important;-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);box-shadow:0 10px 30px rgba(17,18,20,.16),0 1px 3px rgba(17,18,20,.08),0 0 0 1px var(--border)}
  html body .tabbar a:not(#_):not(#_){position:relative;flex:1 1 0;min-width:42px;height:50px;min-height:50px;flex-direction:row;gap:7px;padding:0 8px;border-radius:26px;background:transparent!important;color:var(--ink-muted)!important;font-size:14px;transition:background-color .22s cubic-bezier(.16,1,.3,1)}
  html body .tabbar a.on:not(#_):not(#_){flex:0 0 auto;max-width:58%;padding:0 16px;background:var(--c-ink,var(--ink))!important;color:var(--surface)!important}
  html body .tabbar a:active:not(#_):not(#_){transform:scale(.96)}
  html body .tabbar a svg:not(#_):not(#_){width:24px;height:24px;stroke-width:1.7}
  html body .tabbar a .tb-t:not(#_):not(#_){display:none}
  html body .tabbar a.on .tb-t:not(#_):not(#_){display:block;min-width:0;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:14px;padding:0}
  html body #tabbar a .tb-n:not(#_):not(#_){top:6px;inset-inline-end:auto;inset-inline-start:calc(50% + 4px);box-shadow:0 0 0 2px var(--surface)}
  html body #tabbar a.on .tb-n:not(#_):not(#_){position:static;flex:none;box-shadow:none;background:color-mix(in srgb,var(--surface) 22%,transparent);color:var(--surface)}
  html body #tabbar a:focus-visible:not(#_):not(#_){outline:2px solid var(--focus);outline-offset:2px}

  /* ---- the floating find bar over a list: Quick find, Filter and + as three floating pieces above the bar ---- */
  html body .fl:not([hidden]):not(#_):not(#_){left:12px;right:12px;bottom:calc(80px + env(safe-area-inset-bottom,0px));gap:8px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
  html body .fl .fl-q:not(#_):not(#_){height:50px;padding:0 16px;gap:10px;border-radius:26px;background:color-mix(in srgb,var(--surface) 88%,transparent);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);box-shadow:0 10px 30px rgba(17,18,20,.16),0 1px 3px rgba(17,18,20,.08),0 0 0 1px var(--border);color:var(--ink-muted)}
  html body .fl .fl-q:focus-within:not(#_):not(#_){box-shadow:0 10px 30px rgba(17,18,20,.16),0 0 0 2px var(--c-ink,var(--ink))}
  html body .fl .fl-b:not(#_):not(#_){width:50px;height:50px;border-radius:50%;background:color-mix(in srgb,var(--surface) 88%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 10px 30px rgba(17,18,20,.16),0 1px 3px rgba(17,18,20,.08),0 0 0 1px var(--border);color:var(--c-ink,var(--ink))}
  html body .fl .fl-b.fl-n:not(#_):not(#_){background:var(--c-ink,var(--ink));color:var(--surface);box-shadow:0 10px 30px rgba(17,18,20,.2)}
  html body .fl .fl-b.on:not(#_):not(#_)::after{top:10px;right:10px}
  html body.fl-on main:not(#_){padding-bottom:200px!important}

  /* ---- More: your card, then groups as cards, each with a small capital heading; rows with an icon, a line under the name and › ---- */
  html body #moPage .mo-me:not(#_){margin:6px 0 12px;padding:14px 16px;border:0;border-radius:16px;background:var(--surface);box-shadow:none}
  html body #moPage .mo-me .av:not(#_){width:52px;height:52px;font-size:18px}
  html body #moPage .mo-me b:not(#_){font-size:18px;font-weight:650}
  html body #moPage .mo-me small:not(#_){color:var(--accent-blue,#2f6fdf);font-weight:600;font-size:14px}
  html body #p-mo .mo-g:not(#_),html body #moPage .mo-g:not(#_){margin:0 0 12px;padding:2px 16px;border:0;border-radius:16px;background:var(--surface);box-shadow:none}
  html body #moPage .mo-g>h3:not(#_){margin:0;padding:14px 0 2px;font:700 12.5px/1.2 var(--font-sans);text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted)}
  html body #moPage .mo-row:not(#_){min-height:58px;gap:14px;border-top-color:var(--border)}
  html body #moPage .mo-ic:not(#_){width:22px;flex:none;color:var(--ink-muted);display:grid;place-items:center}
  html body #moPage .mo-t b:not(#_){font-weight:600;font-size:16px}
  html body #moPage .mo-t small:not(#_){font-size:13.5px;color:var(--ink-muted)}
  html body #moPage .mo-cnt:not(#_){flex:none;font-style:normal;font-size:13px;font-weight:700;padding:2px 8px;border-radius:10px;background:#d92d2d;color:#fff}
  html body #moPage .mo-cnt:empty:not(#_){display:none}
  /* Your phone bar: what the bar looks like now, then the pages to tick (a black tick box and the number of its place) */
  html body .mo-bar .mo-prev:not(#_){display:flex;gap:4px;padding:5px;margin:6px 0 12px;border-radius:30px;background:var(--c-bg,var(--bg));box-shadow:0 0 0 1px var(--border)}
  html body .mo-bar .mo-prev span:not(#_){flex:1;height:38px;border-radius:20px;display:grid;place-items:center;color:var(--ink-muted)}
  html body .mo-bar .mo-prev span.on:not(#_){background:var(--c-ink,var(--ink));color:var(--surface)}
  html body .mo-bar .mo-prev svg:not(#_){width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  html body #setPage .mo-bar .mo-prev:not(#_){display:none}
  html body #moPage .mo-pick input:not(#_){width:24px;height:24px;accent-color:var(--c-ink,var(--ink))}
  html body #moPage .mo-pick .mo-no:not(#_){width:26px;height:26px;font-weight:700;background:var(--c-ink,var(--ink));color:var(--surface)}

  /* ---- sheets from the bottom (a Hub panel on a phone, the press-and-hold menu): rounded top, a grab line, the title and × ---- */
  html body aside.sp.in:not(#_):not(#_){border-radius:22px 22px 0 0}
  html body aside.sp.in>.sp-h:not(#_):not(#_)::before{content:"";position:absolute;top:8px;left:50%;width:40px;height:5px;margin-left:-20px;border-radius:3px;background:var(--border);pointer-events:none}
  html body aside.sp.in>.sp-h:not(#_){position:relative}
  html body :is(.rm-menu.rm-sheet,.rm-sheet .rm-sub):not(#_):not(#_){border:0;border-radius:22px 22px 0 0;padding:8px 20px calc(16px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 32px rgba(17,18,20,.16)}
  html body :is(.rm-menu.rm-sheet,.rm-sheet .rm-sub):not(#_):not(#_)::before{content:"";display:block;width:40px;height:5px;border-radius:3px;background:var(--border);margin:0 auto 6px}
  html body .rm-sheet .rm-head:not(#_):not(#_){padding:8px 0 10px;font-size:19px;font-weight:650;color:var(--c-ink,var(--ink))}
  html body .rm-sheet .rm-it:not(#_):not(#_){min-height:54px;gap:14px;padding:6px 4px;border-radius:0;font-size:16px;font-weight:600;border-top:1px solid var(--border)}
  html body .rm-sheet .rm-head+.rm-it:not(#_):not(#_),html body .rm-sheet hr+.rm-it:not(#_):not(#_){border-top:0}
  html body .rm-sheet hr:not(#_):not(#_){margin:0;border-top:1px solid var(--border)}
  html body .rm-sheet .rm-i:not(#_):not(#_),html body .rm-sheet .rm-ch:not(#_):not(#_){width:22px;height:22px;stroke-width:1.7;color:var(--ink-muted)}
  html body .rm-sheet .rm-it.bad:not(#_):not(#_),html body .rm-sheet .rm-it.bad .rm-i:not(#_):not(#_){color:var(--bad,#b01e4f)}
  html body .rm-sheet .rm-it small:not(#_):not(#_){font-size:13.5px}

  /* ---- "Open this on a computer": a sheet with the screen icon in a soft square, the reason, Copy link and Close ---- */
  html body .dk:not(.dk-page) .dk-card:not(#_){border-radius:22px 22px 0 0;padding:8px 20px calc(20px + env(safe-area-inset-bottom,0px));gap:10px;justify-items:start}
  html body .dk:not(.dk-page) .dk-card:not(#_)::before{content:"";justify-self:center;width:40px;height:5px;border-radius:3px;background:var(--border);margin-bottom:10px}
  html body .dk .dk-ic:not(#_){box-sizing:border-box;width:56px;height:56px;padding:15px;border-radius:16px;background:var(--surface-hover,var(--soft));stroke:var(--c-ink,var(--ink))}
  html body .dk .dk-card h2:not(#_){font-size:19px;font-weight:650}
  html body .dk .dk-acts:not(#_){display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  html body .dk .dk-acts .btn-s:not(#_):not(#_){min-height:44px;justify-content:center;border-radius:8px}
  /* Copy link first, as an outline; Close (Back on a page) last, filled */
  html body .dk .dk-acts [data-dkcopy]:not(#_):not(#_){order:-1;background:var(--surface)!important;color:var(--c-ink,var(--ink))!important;border:1px solid var(--border-strong)!important}
  html body .dk .dk-acts :is([data-dkx],[data-dkback]):not(#_):not(#_){background:var(--c-ink,var(--ink))!important;color:var(--surface)!important;border-color:var(--c-ink,var(--ink))!important}
  /* the floating bar on a phone (Rami, 11 November 2026: "remove the quick find search bar throughout the site on mobile ... the filter
     button on the left and the plus add feature on the right"): no Quick find; Filter (with its word) on the left, + on the right. The Hub's
     own search stays the magnifier at the top. The tools' panel slides up from the bottom, each kind under its heading. */
  html body .fl .fl-q:not(#_):not(#_):not(#_){display:none!important}
  html body .fl:not([hidden]):not(#_):not(#_):not(#_){left:14px;right:14px;justify-content:space-between;pointer-events:none}
  html body .fl>*:not(#_):not(#_){pointer-events:auto}
  html body .fl #flN:not(#_):not(#_):not(#_){margin-inline-start:auto}
  html body .fl #flF:not([hidden]):not(#_):not(#_):not(#_){width:auto;height:50px;border-radius:999px;padding:0 18px 0 14px;display:inline-flex;align-items:center;gap:8px;font:inherit;font-weight:600;font-size:15px;color:var(--c-ink,var(--ink))}
  html body .fl #flF svg:not(#_):not(#_){width:20px;height:20px}
  html body .fl #flF.on:not(#_):not(#_):not(#_){background:var(--c-ink,var(--ink));color:var(--surface)}
  html body .fl #flF.on:not(#_):not(#_)::after{display:none}
  html body .ph-dim:not(#_){position:fixed;inset:0;z-index:59;background:rgba(10,10,14,.42)}
  html body .ph-sheet.ph-up:not(#_):not(#_):not(#_){left:0;right:0;bottom:0;top:auto;border-radius:22px 22px 0 0;padding:6px 16px 0;box-shadow:0 -10px 40px rgba(0,0,0,.25);overflow:hidden}
  html body .ph-sheet.ph-up .ph-grab:not(#_){width:40px;height:5px;border-radius:99px;background:var(--border-strong,var(--line));margin:4px auto 8px}
  html body .ph-sheet.ph-up .ph-sh b:not(#_){font-size:17px}
  html body .ph-lab:not(#_):not(#_){position:absolute;left:24px;right:24px;z-index:61;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted,var(--muted))}
  html body .pr-frows:not(.ph-pin):not(#_):not(#_):not(#_){display:none!important}
  html body .pr-frows.ph-pin:not(#_):not(#_):not(#_):not(#_){display:grid!important;gap:10px;align-items:stretch}
  html body .pr-frows.ph-pin .pr-frow:not(#_):not(#_){display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px}
  html body .pr-frows.ph-pin .pr-fl:not(#_):not(#_){font-size:14px;color:var(--ink-muted,var(--muted))}
  html body .pr-frows.ph-pin :is(.bk-pk,.bk-pkb,select,.pr-wide):not(#_):not(#_):not(#_){width:100%;min-width:0;min-height:42px}
  html body .pr-frows.ph-pin .pr-fchk:not(#_):not(#_){display:flex;align-items:center;gap:10px;min-height:40px;font-size:15px}
  html body .ph-pin.mk-tabs:not(#_):not(#_):not(#_):not(#_){background:var(--surface-sunken,var(--soft))!important;padding:4px!important;border-radius:999px!important;flex-wrap:nowrap}
  html body .pr-frows.ph-pin .pr-frow>:last-child:not(#_):not(#_):not(#_){width:100%;min-width:0}
  html body .pr-frows.ph-pin .pr-frow .bk-pk>button:not(#_):not(#_):not(#_){width:100%;justify-content:space-between}
  html body .pr-frows.ph-pin .pr-frow:not(#_):not(#_):not(#_){grid-template-columns:88px minmax(0,1fr)!important;width:100%}
  html body .pr-frows.ph-pin .pr-frow>:last-child:not(#_):not(#_):not(#_):not(#_){justify-self:stretch;max-width:none!important;width:100%!important}
  html body .ph-pin:is(.sl-per,.bk-pk):not(#_):not(#_):not(#_):not(#_){display:block!important}
  html body .ph-pin:is(.sl-per,.bk-pk)>:is(button,summary):not(#_):not(#_):not(#_){width:100%!important;min-height:44px;justify-content:space-between}
  html body .pr-frows.ph-pin:not(#_):not(#_):not(#_):not(#_){grid-template-columns:minmax(0,1fr)!important;justify-items:stretch}
  html body .ph-pin:is(:focus-within,:has([open]),:has(.pk-pop:not([hidden]))):not(#_):not(#_):not(#_):not(#_){z-index:63!important}
  html body .ph-pin.bk-pk :is(.bk-pkd>summary,.bk-pkb):not(#_):not(#_):not(#_):not(#_){width:100%!important;max-width:none!important;min-height:44px;justify-content:space-between;box-sizing:border-box}
  /* the floating bar on every list page (Rami, 11 November 2026: "it's really important to be consistent in how we view all pages"):
     Publishing's Mine / Client, Clients' Mine / Everyone and Needs care, Social media's Mine / Due this week / Late, QA's To check / Sent back /
     Done and Traffic Control's Person / Type / Flagged wait behind Filter; Find boxes go; a page's own add button is the floating + */
  html body.fl-on .page.on :is(.pb-fil,.cl-head .bk-mine,.ct-pcare,.ct-pfilt,.wf-tgls,.qa-seg,.tv-fil):not(.ph-pin):not(#_):not(#_):not(#_){display:none!important}
  html body.fl-on .page.on :is(.wf-findw,.cl-find,.tv-find,.pb-vsep,.tv-vsep,.wf-vsep):not(#_):not(#_):not(#_){display:none!important}
  html body.fl-on .page.on :is(#ctAdd,.wf-addm>summary,.csh-addm>summary):not(#_):not(#_):not(#_){position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;border:0!important;white-space:nowrap!important}
  html body .ph-pin:is(.pb-fil,.tv-fil,.wf-tgls):not(#_):not(#_):not(#_):not(#_){display:flex!important;flex-wrap:wrap;gap:8px}
  html body .ph-pin.qa-seg:not(#_):not(#_):not(#_):not(#_){display:flex!important;gap:6px}
  /* Traffic Control's views stay at the top while the list scrolls under them (11 November 2026) */
  html body .page.on .tv-bar:not(#_):not(#_):not(#_){position:sticky;top:calc(58px + env(safe-area-inset-top,0px));z-index:20;background:var(--c-bg,var(--bg));margin-inline:-16px;padding:8px 16px}
  html body.ph-tools-on .page.on .tv-bar:not(#_):not(#_):not(#_):not(#_){position:static;z-index:auto}
  html body.fl-on .page.on :is(.csh-addm,.wf-addm)[open]>.wk-pop:not(#_):not(#_):not(#_):not(#_){position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:none!important;max-height:60vh!important;overflow:auto;z-index:62;border-radius:18px}
  html body .ph-pin:is(.qa-seg,.bk-mine):not(#_):not(#_):not(#_):not(#_){display:flex!important;flex-wrap:nowrap;gap:6px;padding:4px!important;border-radius:999px!important;background:var(--surface-sunken,var(--soft))!important;border:0!important}
  html body .ph-pin:is(.qa-seg,.bk-mine)>button:not(#_):not(#_):not(#_):not(#_){flex:1 1 0;min-height:40px;border-radius:999px!important;border:0!important;background:transparent!important;color:var(--c-ink,var(--ink))!important;font:inherit;font-weight:600;font-size:14px;box-shadow:none!important}
  html body .ph-pin:is(.qa-seg,.bk-mine)>button:is(.on,[aria-selected="true"]):not(#_):not(#_):not(#_):not(#_){background:var(--c-ink,var(--ink))!important;color:var(--c-bg,var(--bg))!important}
  /* tabs you cycle through stay at the top while scrolling (Rami, 11 November 2026: "any page that has tabs on the top that one would logically cycle through ... sticky") */
  html body :is(.page.on .hl-head:has(>.hl-head-l>:is(.mw-tabs,.pr-tabs,.wf-tabs,.pb-tabs)),.page.on .sl-page .sl-bar,.page.on .card.mw.sl>.bk-bar,.page.on .rph-tabs,.page.on .pe-ptabs,.page.on .adm-tabs,.page.on .area-tabs,.page.on .ct-tabs):not(#_):not(#_):not(#_):not(#_){position:sticky;top:calc(58px + env(safe-area-inset-top,0px));z-index:20;background:var(--c-bg,var(--bg))!important}
  html body .page.on .cx-scroll>.mk-strip:not(#_):not(#_):not(#_){position:sticky;top:0;z-index:5;background:var(--c-bg,var(--bg))}
  
  html body.ph-tools-on:not(#_) :is(.page.on .hl-head:has(>.hl-head-l>:is(.mw-tabs,.pr-tabs,.wf-tabs,.pb-tabs)),.page.on .sl-page .sl-bar,.page.on .card.mw.sl>.bk-bar,.page.on .rph-tabs,.page.on .pe-ptabs,.page.on .adm-tabs,.page.on .area-tabs,.page.on .ct-tabs,.page.on .ps-phone>.ps-tblock):not(#_):not(#_):not(#_):not(#_){position:static;z-index:auto}
  /* motion (public/motion.js; Rami, 11 November 2026, the approved mockup hub-motion): the pages change at once, the bar's pill slides */
  html body .page.on:not(#_):not(#_){animation:none}
  html body #tabbar .tb-pill:not(#_):not(#_){position:absolute;left:0;border-radius:26px;background:var(--c-ink,var(--ink));pointer-events:none;z-index:0}
  html body #tabbar:not(.tb-pilled) .tb-pill:not(#_):not(#_){display:none}
  html body #tabbar.tb-pilled:has(>.tb-pill) a.on:not(#_):not(#_):not(#_){background:transparent!important;transition:none}
  html body #tabbar a:not(#_):not(#_){z-index:1}
  html body .mo-line:not(#_){position:fixed;z-index:70;pointer-events:none;border-radius:2px}
  html body .mo-noline:not(#_):not(#_):not(#_){border-bottom-color:transparent!important}
  html body .mo-ghost:not(#_):not(#_){position:fixed!important;margin:0!important;pointer-events:none;background:var(--c-bg,var(--bg));display:block!important;overflow:hidden;max-height:100vh}
  html body .page.mo-front:not(#_):not(#_){position:relative;z-index:29;background:var(--c-bg,var(--bg));box-shadow:-12px 0 30px rgba(0,0,0,.12)}
  html body .page.mo-under:not(#_):not(#_){position:relative;z-index:27}
  html body .mo-dot:not(#_){position:fixed;width:6px;height:6px;border-radius:50%;background:var(--ok,#1a7f37);pointer-events:none;z-index:80}
  html body :is(.btn-s,.btn,.bk-new,#flF,#flN,.mk-tabs button,.qa-seg>button,.wk-sbar>button,.mk-pill,.mk-row,.mk-btn,.mk-tick,.td-tick,.ph-sheet .pri):not(:disabled):not(#_):not(#_){transition:transform .18s cubic-bezier(.2,.8,.2,1)}
  html body :is(.btn-s,.btn,.bk-new,#flF,#flN,.mk-tabs button,.qa-seg>button,.wk-sbar>button,.mk-pill,.mk-btn,.ph-sheet .pri):not(:disabled):active:not(#_):not(#_){transform:scale(.96)}
  html body .mk-row:not(:disabled):active:not(#_):not(#_){transform:scale(.985)}
  /* Find at the top of the Filter panel (11 November 2026) */
  html body .ph-sheet .ph-find:not(#_):not(#_):not(#_){position:absolute;left:24px;right:24px;width:auto;height:46px;box-sizing:border-box;border-radius:12px;font-size:16px;padding:0 14px;z-index:61}
  html.mo-pushing:not(#_),html.mo-pushing body:not(#_){overflow-x:clip}

  /* A shoot on a phone (11 November 2026, the approved mockup shoot-phone v5): the shoot card, Next, the video list, Information */
  html body .shp .shp-card:not(#_):not(#_){background:var(--surface);border-radius:20px;padding:16px;margin:6px 0 0;display:grid;gap:12px}
  html body .shp .shp-when:not(#_):not(#_){display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
  html body .shp .shp-when>span:first-child:not(#_){min-width:0}
  html body .shp .shp-when b:not(#_):not(#_){display:block;font-size:22px;line-height:1.2;letter-spacing:-.01em}
  html body .shp .shp-when small:not(#_):not(#_){display:block;color:var(--ink-muted);font-size:14px;margin-top:2px}
  html body .shp .shp-st select.bk-stsel:not(#_):not(#_):not(#_){border-radius:999px;max-width:170px;height:40px!important;min-height:40px!important;font-weight:600}
  html body .shp .shp-acts:not(#_):not(#_){display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}
  html body .shp .shp-act:not(#_):not(#_){background:var(--surface-sunken);border-radius:14px;padding:10px 4px;display:grid;gap:4px;justify-items:center;font-size:12.5px;font-weight:600;color:var(--c-ink);text-decoration:none;min-height:56px;min-width:0}
  html body .shp .shp-act span:not(#_){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html body .shp .shp-act svg:not(#_):not(#_){width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  html body .shp .shp-card .sd-pst:not(#_):not(#_){padding:0;background:transparent}
  html body .shp .shp-next:not(#_):not(#_){margin-top:10px;background:var(--status-working-bg);color:var(--status-working-fg);border-radius:18px;padding:12px 14px;display:flex;align-items:center;gap:10px}
  html body .shp .shp-next>span:not(#_){flex:1;min-width:0;font-size:14px;line-height:1.35}
  html body .shp .shp-next b:not(#_):not(#_){display:block;color:var(--c-ink);font-size:15px}
  html body .shp .shp-next .btn-s:not(#_):not(#_):not(#_){background:var(--c-ink);color:var(--surface);border-color:transparent;border-radius:999px;white-space:nowrap}
  html body .shp .shp-h:not(#_):not(#_){display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:22px 2px 8px}
  html body .shp .shp-h b:not(#_):not(#_){font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-muted);font-weight:700}
  html body .shp .shp-h small:not(#_){color:var(--ink-muted);font-size:13px}
  html body .shp .shp-vids:not(#_):not(#_){display:grid;gap:8px;margin:0;padding:0;background:transparent;border:0}
  html body .shp .shp-vids .sh-vl:not(#_):not(#_){display:grid;gap:8px}
  html body .shp .shp-empty:not(#_):not(#_){background:var(--surface);border-radius:16px;padding:18px 16px;color:var(--ink-muted);font-size:14px;line-height:1.5;border:1.5px dashed var(--border)}
  html body .shp .shp-v:not(#_):not(#_):not(#_){background:var(--surface);border-radius:16px;padding:12px 10px 12px 14px;display:grid;grid-template-columns:28px minmax(0,1fr) 30px;gap:10px 12px;align-items:center;border:0;margin:0}
  html body .shp .shp-v.drag:not(#_):not(#_){box-shadow:0 10px 30px rgba(15,16,17,.18);position:relative;z-index:3;transform:scale(1.02)}
  html body .shp .shp-n:not(#_):not(#_){width:28px;height:28px;border-radius:999px;background:var(--surface-sunken);display:grid;place-items:center;font-weight:700;font-size:13px}
  html body .shp .shp-tx:not(#_):not(#_){min-width:0;text-align:start;background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer}
  html body .shp .shp-tx b:not(#_):not(#_){display:block;font-size:15px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
  html body .shp .shp-tx small:not(#_):not(#_){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--ink-muted);font-size:13px;margin-top:2px}
  html body .shp .shp-v.open .shp-tx small:not(#_):not(#_){display:none}
  html body .shp .shp-drag:not(#_):not(#_){color:var(--ink-muted);letter-spacing:-2px;font-weight:700;text-align:center;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;height:40px;display:grid;place-items:center}
  html body .shp .shp-ed:not(#_):not(#_){display:none}
  html body .shp .shp-v.open .shp-ed:not(#_):not(#_){display:grid;gap:8px;grid-column:1/-1}
  html body .shp .shp-ed>*:not(#_):not(#_):not(#_){grid-column:1/-1!important;grid-row:auto!important;width:100%;max-width:100%;box-sizing:border-box;margin:0}
  html body .shp .shp-ed textarea:not(#_):not(#_):not(#_){min-height:96px;font-size:16px;resize:vertical}
  html body .shp .shp-ed input:not(#_):not(#_):not(#_){font-size:16px}
  html body .shp .shp-ed .shp-del:not(#_):not(#_):not(#_):not(#_){justify-self:start;width:auto}
  html body .shp .shp-new:not(#_):not(#_){display:flex;gap:8px;margin:0}
  html body .shp .shp-new input:not(#_):not(#_):not(#_){flex:1;min-width:0;border:1.5px dashed var(--border);background:transparent;border-radius:16px;padding:12px 14px;font-size:16px;min-height:48px}
  html body .shp .shp-new .btn-s:not(#_):not(#_):not(#_){border-radius:16px;min-height:48px;padding:0 18px}
  html body .shp .shp-info:not(#_):not(#_){background:var(--surface);border-radius:18px;overflow:hidden}
  html body .shp .shp-info>*+*:not(#_):not(#_){border-top:1px solid var(--border)}
  html body .shp .shp-link:not(#_):not(#_){display:flex;align-items:center;padding:14px 16px;color:var(--c-ink);text-decoration:none}
  html body .shp .shp-link.off:not(#_):not(#_){color:var(--ink-muted)}
  html body .shp .shp-info .mk-grp:not(#_):not(#_){margin:0;border-radius:0;background:transparent}
  html body .shp .shp-in:not(#_):not(#_){display:grid;gap:10px;padding:4px 12px 14px}
  html body .shp .shp-in .card:not(#_):not(#_){box-shadow:none;background:var(--surface-sunken)}
  html body .shp .shp-read:not(#_):not(#_){font-size:15px;line-height:1.55;overflow-wrap:anywhere}
  html body .shp .shp-ro:not(#_):not(#_){color:var(--ink-muted);font-size:12px}
  html body .shp .shp-rows>div:not(#_):not(#_){display:grid;gap:2px;padding:10px 0;border-top:1px solid var(--border);font-size:14px}
  html body .shp .shp-rows>div:first-child:not(#_):not(#_){border-top:0}
  html body .shp .shp-rows span:not(#_){color:var(--ink-muted);font-size:12.5px}
  html body .shp .shp-rows b:not(#_){font-weight:500;overflow-wrap:anywhere}
  html body .shp>.sd-restore:not(#_):not(#_){margin-top:16px}

  /* Every phone list in the shoot page's look (Rami, 12 November 2026, the approved mockup phone-style-all): the group labels small grey
     capitals with the count at the right (LATE stays red); a late item's detail line grey, with a red Late pill */
  html body .mk-sec h3:not(#_):not(#_):not(#_):not(#_){letter-spacing:.08em;font-weight:700!important;padding:16px 2px 8px!important}
  html body .mk-item.late .mk-body small:not(.mw-todo):not(#_):not(#_){color:var(--ink-muted)}
  html body .mk-item .mw-late:not(#_):not(#_){display:inline-flex;align-items:center;padding:1px 8px;border-radius:999px;background:var(--status-stuck-bg);color:var(--status-stuck-fg);font-size:12px;font-weight:600;line-height:1.5}
  /* Social media's month list: each client a white card, the groups (Active, Done…) grey capitals */
  html body #wfPage .wf-st tr.wf-row:not(#_):not(#_):not(#_){background:var(--surface);border-bottom:0;border-radius:16px;padding:14px;margin:0 0 8px}
  html body #wfPage .wf-hall .wf-st tr.wf-grp td:not(#_):not(#_):not(#_){border:0;background:transparent;padding:16px 2px 8px}
  html body #wfPage .wf-st .wf-gt:not(#_):not(#_){font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--ink-muted)}
  /* a board on a phone (Branding): the column no box, its heading a grey label; each card white with no outline */
  html body .mw-board .mw-col:not(#_):not(#_):not(#_){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
  html body :is(.mw-card,.sl-card,.br-card,.st-card):not(#_):not(#_):not(#_){background:var(--surface)!important;border:0!important;box-shadow:none!important;border-radius:16px!important}
  /* the chat list: each chat a white card */
  html body .cx-list.cx-phone .cx-row:not(#_):not(#_){background:var(--surface);border-radius:16px;padding:12px 14px;margin:0 0 8px}
  /* People: each person a white card */
  html body .pe-pr:not(#_):not(#_){background:var(--surface);border-bottom:0;border-radius:16px;padding:12px 14px;margin:0 0 8px}
}
