/* ===== portal-web: top bar (same look as the other Cold Cloud apps) ===== */
.pw-bar{display:flex;align-items:center;gap:12px;min-height:40px}
.site-header .pw-bar .brand,.gate .pw-bar .brand,.pw-bar .pw-logo{width:auto;height:40px;padding:0!important;background:none!important;border-radius:0!important;box-shadow:none!important;flex:none}
.pw-logo .cc-ink{fill:#183B4C}.pw-logo .cc-mech{fill:#007DA5}
:root[data-theme="dark"] .pw-logo .cc-ink{fill:#FFFFFF}:root[data-theme="dark"] .pw-logo .cc-mech{fill:#6DD1F2}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .pw-logo .cc-ink{fill:#FFFFFF}:root:not([data-theme="light"]) .pw-logo .cc-mech{fill:#6DD1F2}}
.pw-tag{font:700 12px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--action-dark);background:var(--wash-blue);padding:5px 10px;border-radius:999px;white-space:nowrap}
.pw-sp{flex:1}
.pw-back{font:600 13px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:var(--ink-strong);text-decoration:none;border:1px solid var(--line);background:var(--card);padding:8px 12px;border-radius:11px;white-space:nowrap}
.pw-back:hover,.pw-theme:hover{border-color:var(--action)}
.pw-theme{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:11px;border:1px solid var(--line);background:var(--card);color:var(--ink-strong);cursor:pointer;padding:0}
.gate-head .pw-bar{width:100%}
.pw-ti{display:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:root:not([data-theme]) .pw-ti-auto,:root[data-theme="light"] .pw-ti-light,:root[data-theme="dark"] .pw-ti-dark{display:block}
@media (max-width:520px){.site-header .pw-bar .brand,.pw-bar .pw-logo{height:30px}.pw-tag{font-size:12px;padding:4px 8px}.pw-bar{gap:8px}}

/* ===== Peter, Nov 18: the top bar of the portal header is dark, like the top strip of the main website, folded and unfolded, in both
   themes; the rest of the header keeps --header. One colour: --pw-bar-bg. The bar's own tokens make its text, buttons, menus and the
   folded line light on dark. The ground runs the full width (::before: the bar itself is .shell wide; no clip, its menus open below it). ===== */
:root{--pw-bar-bg:#183B4C}
.site-header__top{--header:var(--pw-bar-bg);--ink:#c7d5de;--ink-strong:#ffffff;--muted:#a9bdca;--line:rgba(255,255,255,.22);--line-soft:rgba(255,255,255,.12);--field-line:rgba(255,255,255,.22);--card:rgba(255,255,255,.07);--paper:#1f4a5f;--soft:rgba(255,255,255,.05);--wash-blue:#21516a;--mark-line:#3b6578;--action-dark:#6DD1F2;
  color:var(--ink);position:relative;z-index:3}
.site-header__top::before{content:"";position:absolute;inset:0 -100vmax;background:var(--pw-bar-bg);z-index:-1;pointer-events:none}
.site-header__top .pw-logo .cc-ink{fill:#FFFFFF}.site-header__top .pw-logo .cc-mech{fill:#6DD1F2}
html .site-header .site-header__top .pw-tag{color:#6DD1F2}
/* Peter, Nov 18 (iPad, Comfort Advisor view): buttons on the bar are glass on the navy; menus opening from it keep a solid ground; the
   My view / Client view switch: a light thumb, the chosen side white */
.site-header__top .ca-send-menu{background:#1f4a5f}
/* Peter, Nov 18: the step strip of the folded bar brighter on the navy (done green, current blue from the logo's gradient) */
html .site-header__top .pw-seg.d{background-color:#3DDC84}html .site-header__top .pw-seg.n{background-color:#33BCF4}
.site-header__top .sw2::before{background:rgba(255,255,255,.18);box-shadow:none}
html .site-header__top .sw2[aria-checked="false"] span:first-child,html .site-header__top .sw2[aria-checked="true"] span:last-child{color:#FFFFFF}
/* an iPad (finger) wider than 1100 px kept the button 44 px wide with its text: "Client details" was cut to "Client d" */
@media (pointer:coarse) and (min-width:1101px){html:not(.pw-line-on) .site-header__top .ca-details{width:auto;padding:8px 12px}}
.site-header__top .pw-bar>*{flex-shrink:0}.site-header__top .pw-bar>.pw-line{flex-shrink:1}

/* ===== one spacing between the header and the first block and between all blocks ===== */
:root{--pw-gap:22px}
@media (min-width:900px){:root{--pw-gap:28px}}
.brief,.dashboard-stack,.tracker-stack{gap:var(--pw-gap);padding-top:var(--pw-gap);padding-bottom:0}
#app > div:has(+ footer){padding-bottom:40px}
/* Peter, 19 Oct: the first block sits one --pw-gap under the header (portal.css adds 18px more to .details-top) */
.details-top{margin-top:0}
.brief-card.first,.found-card,.brief .found-card{margin-top:0!important}
.pay-corner-wrap{padding-top:var(--pw-gap)!important}

/* ===== collapsing header, scroll-linked (the iOS large-title pattern) =====
   --p goes 0 → 1 over the first D px of scrolling (D = full height − compact height, measured by JS).
   Everything is tied to --p, nothing jumps:
   - the address and the label shrink;
   - the full city line, contacts line and the estimator block (photo + name + title) fold away;
   - in their place two compact lines unfold: "city · client · phone · email" and "Your estimator: name · title";
   - the "View full project" / status line folds away; the timeline is not changed.
   The header's height follows the scroll exactly and the content below gets the same extra margin, so the page
   scrolls 1:1 under the finger and the gap to the first block never changes. Peter, 19 Oct: no easing anywhere, the header
   stops exactly where the scroll stops (no settling to the nearest state). */
:root{--p:0}
.staff-banner{position:static}
.site-header{position:sticky;top:0;z-index:40}
@media (max-width:899px){.site-header{position:static}}
/* v54 (Oct 22): a tablet held sideways (iPad 1024×768, Air 1180×820) is short: the compact header (≈325 px) took 40% of the screen,
   so there the header scrolls away like on a phone (the header script checks the same media query, Renderer::barHead) */
@media (max-width:1199px) and (max-height:860px){.site-header{position:static}}
/* Peter, Nov 11 (MacBook, Safari, trackpad: the header jerked): the hero keeps its full height and only its bottom part is seen
   (the header box clips it at its bottom edge, which moves in the browser's own scrolling). The timeline sits at the bottom of the
   hero and the block above it (.pw-top: label, address, lines, Comfort Advisor) is pinned under the bar with sticky, so the bar,
   the address and the timeline all move in the browser's scrolling, in the same frame as the content. Only the folding of the
   lines (--p, set by the header script a frame later) is left to the script. Before, the script set the hero's height on every
   scroll event; Safari scrolls on its own thread and runs the script a frame or two later, so the timeline lagged the edge.
   overflow: clip, not hidden: hidden makes the hero a scroll box and sticky inside it would stop working. */
html.pw-ready .site-header__hero{display:flex;flex-direction:column;overflow:clip;height:var(--pw-hero-h,auto)}
html.pw-ready .site-header__in{position:static}
html.pw-ready .site-header__top{position:sticky;top:0;z-index:40}
/* Peter, Nov 18 (iPad, Safari): scrolling back up showed only the timeline at the top, without the bar and the address. The bar and
   .pw-top were sticky inside the header, itself sticky at top:-D; Safari scrolls on its own thread and there, on the way up, the
   stickies inside a sticky dropped to their place in the page (above the screen). Now the header's own boxes are gone on a computer
   (display: contents, the markup stays): the bar is sticky in #app for the whole page and .pw-top sticky in the hero, no sticky
   inside a sticky. The hero takes the header's ground and line. Not while measuring: the header script measures the header box. */
html.pw-ready:not(.pw-measure) .site-header,html.pw-ready:not(.pw-measure) .site-header__in{display:contents}
html.pw-ready:not(.pw-measure) .site-header__hero{background:var(--header);border-bottom:1px solid var(--field-line)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]).pw-ready:not(.pw-measure) .site-header__hero{border-bottom-color:var(--line)}}
:root[data-theme="dark"].pw-ready:not(.pw-measure) .site-header__hero{border-bottom-color:var(--line)}
html.pw-ready .site-header__hero>.shell{display:flex;flex-direction:column;flex:1 0 auto}
html.pw-ready .pw-top{position:sticky;top:var(--pw-top-y,0px);z-index:2}
html.pw-ready:not(.pw-measure) .site-header .pipeline{margin-top:auto}
html.pw-measure .site-header__top,html.pw-measure .pw-top{position:static}
/* Peter, Nov 11 (iPad, Estimate visit): a short step still scrolls far enough for the header to fold fully (--pw-dz = the
   scroll the header needs, set by the header script); the footer then meets the window bottom with the header folded */
html.pw-ready #app{min-height:calc(100vh + var(--pw-dz,0px));min-height:calc(100dvh + var(--pw-dz,0px))}
/* Peter, 18 Oct: the scrollbar's place is always kept, so the page does not shift sideways when a short step has no scrollbar */
html{scrollbar-gutter:stable}
/* Peter, 18 Oct: under "View full project" half the space (50 -> 25 px) */
@media (min-width:900px){.site-header__hero{padding-bottom:23px}}
html.pw-ready:not(.pw-measure) .site-header__hero{padding-bottom:calc(23px - var(--pw-e,0px)*var(--p2,0))}
html.pw-ready .site-header__hero>.shell{width:min(100% - 32px,1160px)}
@media (min-width:620px){html.pw-ready .site-header__hero>.shell{width:min(100% - 48px,1160px)}}
/* Peter, 19 Oct (Safari, iPad): the header box keeps its full height and sticks at top:-D, so its bottom edge moves with the page
   in the browser's own scrolling, in the same frame as the content (the gap to the first block never changes, also when the page
   script runs late). Inside, the bar + hero stay pinned at the top (sticky) and shrink with --p. */
html.pw-ready .site-header{top:calc(-1*var(--pw-d,0px));height:var(--pw-hdr-h,auto);overflow:clip}
/* Peter, 19 Oct: the address and the label shrink with transform: scale, not font-size, so the text is not laid out again on
   every frame (the letters jittered). Their font size stays full; a negative bottom margin takes back the room the scale frees.
   --pw-k-h1 = compact size / full size and --pw-h-h1, --pw-h-lab = full heights, measured by JS. */
html.pw-ready .site-header h1{transform-origin:0 0;transform:scale(calc(1 - var(--p)*(1 - var(--pw-k-h1,1))));margin-bottom:calc(var(--pw-h-h1,0px)*(var(--pw-k-h1,1) - 1)*var(--p))}
.site-header .project-label{font-size:.75rem}
html.pw-ready .site-header .project-label{transform-origin:0 0;transform:scale(calc(1 - var(--p)*.205));margin-bottom:calc(10px - var(--pw-h-lab,0px)*.205*var(--p))}
/* full lines fold away */
html.pw-ready .site-header .address-city{max-height:calc(var(--pw-h-city,40px)*(1 - var(--p)));margin-top:calc(7px*(1 - var(--p)));opacity:max(0,calc(1 - var(--p)*3));overflow:hidden}
html.pw-ready .site-header .address-city.client-contacts{max-height:calc(var(--pw-h-cont,40px)*(1 - var(--p)))}
html.pw-ready .site-header .prepared{max-height:calc(var(--pw-h-prep,60px)*(1 - var(--p)));margin-top:calc(var(--pw-m-prep,20px)*(1 - var(--p)));opacity:max(0,calc(1 - var(--p)*3));overflow:hidden}
html.pw-ready .site-header .prepared .avatar{width:max(0px,calc(42px*(1 - var(--p)*1.5)));height:max(0px,calc(42px*(1 - var(--p)*1.5)));min-width:max(0px,calc(42px*(1 - var(--p)*1.5)));flex-basis:max(0px,calc(42px*(1 - var(--p)*1.5)))}
html.pw-ready .site-header .pipeline-caption,html.pw-ready .site-header .status-line{max-height:calc(var(--pw-h-cap,40px)*(1 - var(--p)));opacity:max(0,calc(1 - var(--p)*3));overflow:hidden}
/* compact lines unfold */
.pw-mini{display:none}
html.pw-ready .pw-mini{display:block;overflow:hidden;max-height:calc(var(--pw-h-mini,40px)*var(--p));opacity:max(0,calc(var(--p)*2 - 1));color:var(--muted);font-size:.8125rem;line-height:1.45}
.pw-mini div{margin-top:2px}
.pw-mini b{color:var(--ink-strong);font-weight:600}
@media (max-width:899px){html.pw-ready .pw-mini{font-size:.75rem}}
.pw-measure .site-header *{transition:none!important}

/* ===== the current step ("NOW") glows softly three times, then stays still (DESIGN.md section 8: nothing pulses forever) ===== */
@keyframes pw-pulse{0%{box-shadow:0 0 0 0 rgba(51,188,244,.55)}70%{box-shadow:0 0 0 10px rgba(51,188,244,0)}100%{box-shadow:0 0 0 0 rgba(51,188,244,0)}}
.pipeline li.current{position:relative;z-index:3}
.pipeline li.current .dot{position:relative;z-index:3;animation:pw-pulse 1.8s cubic-bezier(.4,0,.6,1) 3}
@media (prefers-reduced-motion:reduce){.pipeline li.current .dot{animation:none}}

@media (max-width:420px){.pw-back .pw-back-t{display:none}.pw-back{padding:7px 10px}}
/* v54 (Oct 22), v72: 44 px touch targets in the top bar; the theme button never shrinks when Back is there too */
@media (max-width:899px),(pointer:coarse){.pw-theme{width:44px;height:44px;flex:none}.pw-back{display:inline-flex;align-items:center;min-height:44px;min-width:44px;justify-content:center;flex:none}}
@media (max-width:620px){.pw-compact .site-header .address-city.client-contacts{display:block}.pw-compact .site-header .address-city.client-contacts::before{content:none}}

/* ===== timeline on desktop: hover a step to see its page; the content turns like a page (portal-web.js) ===== */
#pw-body{position:relative}
#app{overflow-x:clip}
#pw-body.pw-sliding{overflow-y:clip;overflow-clip-margin:28px}
#pw-body>.pw-old{position:absolute;top:0;left:0;right:0;pointer-events:none;z-index:1}
@media (min-width:900px) and (hover:hover){.pipeline a.pipe-link{cursor:default}}

/* Peter, 18 Oct: the bottom bar sits at the bottom of the window when the page is short, and simply after the content
   (out of view until you scroll to the end) when the page is long. It is not pinned. */
#app{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
#app>footer{margin-top:auto}
/* Light theme: pale grey bar with dark, high-contrast text (like apple.com); the dark theme keeps the dark bar */
footer{background:var(--footer-light);color:var(--footer-ink);border-top:1px solid var(--footer-line)}
footer a{color:var(--footer-strong)}
footer .escalation{color:var(--footer-ink)}
footer .escalation strong{color:var(--footer-strong)}
footer .privacy{color:var(--footer-ink)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) footer{background:var(--footer-dark);color:var(--on-dark-soft);border-top-color:transparent}
  :root:not([data-theme="light"]) footer a,:root:not([data-theme="light"]) footer .escalation strong{color:var(--on-color)}
  :root:not([data-theme="light"]) footer .escalation{color:var(--on-dark-soft)}:root:not([data-theme="light"]) footer .privacy{color:var(--on-dark-soft)}}
:root[data-theme="dark"] footer{background:var(--footer-dark);color:var(--on-dark-soft);border-top-color:transparent}
:root[data-theme="dark"] footer a,:root[data-theme="dark"] footer .escalation strong{color:var(--on-color)}
:root[data-theme="dark"] footer .escalation{color:var(--on-dark-soft)}:root[data-theme="dark"] footer .privacy{color:var(--on-dark-soft)}
:root[data-theme="dark"] .pw-tag{color:var(--action)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .pw-tag{color:var(--action)}}

/* ===== Peter, Nov 11 (review, mockup 5): the scrolled header on a computer is one line. The hero slides away under the bar
   (Renderer::barHead: the fold distance is the header minus the folded bar); the bar gets a solid ground, gets thinner, and shows
   .pw-line: address, the step with its strip, the balance, the Comfort Advisor. The steps and the "Payments and balance" box open
   over the page from the strip and the balance (.pw-pop, portal.js); the header does not grow. ===== */
.pw-line,.pw-pop[hidden]{display:none}
html.pw-ready .site-header.has-line .site-header__top{padding-top:calc(24px - 8px*var(--p))}   /* folded: 16 + 40 + 16 = 72px, the height of the other apps' header (services/_shared/brand/header.css) */
html.pw-ready .has-line .pw-sp{display:none}
html.pw-ready .has-line .pw-tag{max-width:calc(160px*(1 - var(--p)));padding-inline:calc(10px*(1 - var(--p)));margin-right:calc(-12px*var(--p));opacity:max(0,calc(1 - var(--p)*2));overflow:hidden;white-space:nowrap}
html.pw-ready .pw-line{display:flex;align-items:center;gap:14px;flex:1;min-width:0;visibility:hidden;opacity:clamp(0,calc(var(--p)*4 - 3),1)}
html.pw-ready.pw-line-on .pw-line{visibility:visible}
.pw-line-a{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink);font-size:.8125rem}
.pw-line-a strong{margin-right:8px;color:var(--ink-strong);font-size:1rem;font-weight:750;letter-spacing:-.01em}
.pw-line-sp{flex:1}
.pw-prog{display:grid;gap:0;flex:none;width:230px;color:var(--ink);font-size:.8125rem;line-height:1.2}
.pw-prog strong{color:var(--ink-strong)}
.pw-prog-bar{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
/* a part of the strip is 6px of colour in a 22px pointer target (the padding is clear) */
.pw-seg{display:block;box-sizing:content-box;height:6px;padding:8px 0;border-radius:3px;background:var(--mark-line);background-clip:content-box}
.pw-seg.d{background-color:var(--success)}
.pw-seg.n{background-color:var(--action)}
a.pw-seg{cursor:pointer;transition:height .12s ease,padding .12s ease}
a.pw-seg:hover,a.pw-seg.open{height:10px;padding:6px 0;border-radius:5px}
a.pw-seg:focus-visible{outline:2px solid var(--action-dark);outline-offset:1px}
.pw-bal{display:inline-flex;align-items:baseline;gap:8px;flex:none;min-height:36px;margin:0;padding:7px 13px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);font:inherit;font-size:.8125rem;line-height:1.3;cursor:pointer}
.pw-bal strong{color:var(--ink-strong);font-size:.9375rem;font-variant-numeric:tabular-nums}
.pw-bal.paid{border-color:var(--ok-line);background:var(--ok-wash)}
.pw-bal.paid strong{color:var(--ok)}
.pw-bal:hover,.pw-bal[aria-expanded="true"]{border-color:var(--action)}
.pw-bal:focus-visible{outline:2px solid var(--action-dark);outline-offset:2px}
.pw-line-adv{display:flex;align-items:center;gap:8px;flex:none;color:var(--ink-strong);font-size:.8125rem;font-weight:600}
.pw-line-adv .avatar{width:28px;height:28px;min-width:28px;flex-basis:28px;font-size:.6875rem}
.pw-pop{position:fixed;z-index:70;opacity:0;transform:scale(.96);transform-origin:top left;transition:opacity .14s ease,transform .14s ease}
.pw-pop.on{opacity:1;transform:none}
.pw-pay .pay-corner{position:static;min-width:0;width:290px;max-width:none;box-shadow:var(--shadow)}
@media (prefers-reduced-motion:reduce){.pw-pop{transition:none;transform:none}a.pw-seg{transition:none}}
/* the bar gets 8px thinner while it folds; the hero takes them back as a top margin, so the box the bar sticks in keeps its
   height (a sticky bar cannot leave its parent: without this the folded bar hung above the screen's top edge) */
html.pw-ready .site-header.has-line .site-header__hero{margin-top:calc(8px*var(--p))}

/* Nov 18: Membership in the folded header line: a star after the strip, apart from the seven parts (the bar is dark in both themes) */
.pw-mem{flex:none;display:grid;place-items:center;width:28px;height:28px;margin-left:-4px;border-radius:50%;color:inherit;font-size:1.0625rem;line-height:1;text-decoration:none}
.pw-mem:hover,.pw-mem[aria-current="page"]{background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.pw-mem:focus-visible{outline:2px solid currentColor;outline-offset:1px}
/* Nov 25 (Peter): the person button of the bar: Your sign-in, All my projects, Sign out (Accounts\Web::barMenu) */
.pw-acct{position:relative;flex:none}
.pw-acct-btn{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:11px;background:var(--card);color:var(--ink-strong);font:600 13px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;white-space:nowrap;cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent}
.pw-acct-btn::-webkit-details-marker{display:none}
.pw-acct-btn:focus-visible,.pw-acct-i:focus-visible{outline:2px solid var(--action);outline-offset:2px}
.pw-acct[open] .pw-acct-btn{border-color:var(--action)}
.pw-acct-menu{position:absolute;z-index:80;top:calc(100% + 6px);right:0;display:grid;gap:6px;min-width:220px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#1f4a5f;box-shadow:0 12px 40px rgba(10,24,32,.35)}
.pw-acct-who{padding:2px 4px 4px;color:var(--muted);font:500 12px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;overflow-wrap:anywhere}
.pw-acct-menu form{margin:0;display:grid}
.pw-acct-i{display:flex;align-items:center;min-height:44px;width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.07);color:var(--ink-strong);font:600 14px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;text-align:left;text-decoration:none;cursor:pointer}
.pw-acct-i:active{background:rgba(255,255,255,.16)}
@media (hover:hover){.pw-acct-btn:hover,.pw-acct-i:hover{border-color:var(--action)}}
@media (max-width:899px),(pointer:coarse){.pw-acct-btn{min-height:44px;min-width:44px;justify-content:center}}
@media (max-width:560px){.pw-acct-btn{padding:0}.pw-acct-t{display:none}}
footer .foot-acct{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 0}
footer .foot-acct a,footer .foot-acct button{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:11px;background:var(--card);color:var(--ink-strong);font:600 14px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;text-decoration:none;cursor:pointer}
footer .foot-acct a:focus-visible,footer .foot-acct button:focus-visible{outline:2px solid var(--action);outline-offset:2px}
@media (hover:hover){footer .foot-acct a:hover,footer .foot-acct button:hover{border-color:var(--action)}}
/* Peter, Nov 25: the sign-in pages (invite, code, password, Your sign-in, Your projects, the old password gate) carry the portal's own
   dark bar with the white logo, not a light head of their own */
.gate-bar{border-bottom:0}
/* Nov 30 (Peter): menus open below the account-page bar. overflow-x:clip (v220) still hid them under the bar in his browser, so this
   header clips nothing: it is full width and takes the bar colour itself, the -100vmax bleed is off; a tight bar shrinks its logo */
.site-header.gate-bar{overflow:visible;background:var(--pw-bar-bg)}
.site-header.gate-bar .site-header__top::before{content:none}
.gate-bar .pw-bar>.pw-logo{flex-shrink:1;min-width:0}
/* Peter, Nov 25 (evening): All my projects, a button of its own left of Account; its menu lists the projects */
.pw-proj .pw-acct-menu{min-width:280px;max-width:min(360px,calc(100vw - 32px))}
.pw-proj-i{display:grid;gap:2px;align-items:start;padding:10px 12px}
.pw-proj-i strong{font-weight:600;color:var(--ink-strong);overflow-wrap:anywhere}
.pw-proj-i span{font:500 12px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:var(--muted)}
.pw-proj-i[aria-current="page"]{border-color:#6DD1F2;background:rgba(109,209,242,.14)}
.pw-proj-n{display:none;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#6DD1F2;color:#0f2a37;font:700 12px/18px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;text-align:center}
@media (max-width:560px){.pw-proj .pw-acct-btn{position:relative}.pw-proj-n{display:block;position:absolute;top:-5px;right:-5px}.pw-bar:has(.pw-proj) .pw-tag{display:none}.pw-proj .pw-acct-menu{right:-52px}}
/* Nov 30 (Peter): on a phone the header menus open under the whole bar, edge to edge, never off the screen */
@media (max-width:560px){.pw-bar{position:relative}.pw-bar .pw-acct{position:static}.pw-bar .pw-acct-menu{left:0;right:0;min-width:0;max-width:none}}
@media (max-width:400px){.pw-bar:has(.pw-acct) .pw-tag{display:none}}
/* the folded one-line bar keeps its room for the address and the steps: the two buttons are icons there (the count stays on projects) */
@media (max-width:1499px){html.pw-line-on .site-header__top .pw-acct-t{display:none}html.pw-line-on .site-header__top .pw-acct-btn{padding:8px 10px}html.pw-line-on .pw-proj .pw-acct-btn{position:relative}html.pw-line-on .pw-proj-n{display:block;position:absolute;top:-5px;right:-5px}}
