.area-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line,#dce6ee);background:var(--surface,#fff);border-radius:999px;flex-shrink:0}.area-switch a{padding:7px 14px;border-radius:999px;font-size:12px;font-weight:650;line-height:1.2;color:var(--muted,#527085);text-decoration:none;transition:background .18s,color .18s,box-shadow .18s}.area-switch a[aria-current=page]{color:var(--ink,#153950);background:var(--blue-soft,#edf4fb);box-shadow:0 1px 4px #15395013}.area-switch a:hover{background:var(--blue-soft,#edf4fb)}.area-switch a:focus-visible{outline:2px solid #2678b9;outline-offset:2px}.area-name{font-size:12px;font-weight:650;color:var(--muted,#527085)}.access-presets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.access-presets button{font:inherit;font-size:12px;background:var(--surface,#fff);color:var(--ink,#153950);border:1px solid var(--line,#dce6ee);border-radius:999px;padding:9px 13px;cursor:pointer}.access-warning{color:var(--orange,#a15a05);font-size:13px}
@media(max-width:600px){.top{gap:8px!important}.top .brand{display:none}.top .badge{display:none}.area-switch{margin-right:auto}.area-switch a{padding:10px 14px;min-height:36px;display:flex;align-items:center}.area-name{margin-right:auto}}
@media(prefers-reduced-motion:reduce){.area-switch a{transition:none}}

.area-switch{margin:0;background:var(--paper);}.area-switch a[aria-current=page],.area-switch a:hover{background:var(--soft)}.access-presets button{background:var(--paper)}.area-name{margin-left:auto}.area-switch{margin-left:auto}
/* v65: the settings gear always sits at the top right. On phones the badge is hidden, so nothing else pushed it there on
   pages without the status dot (Ordering, Settings, administration). */
@media(max-width:600px){.top .account-menu{margin-left:auto!important}.top .data-status~.account-menu{margin-left:0!important}}
/* v75: no page may scroll sideways. The area menu (Overview, Marketing, Stock, Finance) may scroll inside its own pill. */
html,body{max-width:100%;overflow-x:clip}
@media(max-width:600px){
.top .brand-logo,.top .data-status,.top .account-menu{flex:none}
.top .area-switch{flex:1 1 0;flex-wrap:nowrap;min-width:0;max-width:100%;margin-right:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.top .area-switch::-webkit-scrollbar{display:none}
.top .area-switch a{flex:none;white-space:nowrap;padding:10px 12px}
.top .area-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:400px){.stock-tabs{flex-wrap:nowrap;max-width:100%}.stock-tabs a,.stock-head.has-tabs .stock-tabs a{padding-left:9px!important;padding-right:9px!important;font-size:13px}}
/* v78: comfortable touch targets on phones (about 40 px; the logo link stays small on purpose). */
@media(max-width:600px){.top .area-switch a{min-height:40px}.top .account-menu>summary,.top .data-status>summary{min-width:40px;min-height:40px}}

/* v79: phone bottom bar for the areas, a search button in the top bar. */
.top-search{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;color:var(--ink);background:var(--soft);text-decoration:none}
.top-search .icon{width:19px;height:19px}
.top-search:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.bottom-bar{display:none}
@media(max-width:700px){
.top .area-switch{display:none}
.top .badge{display:none}
.bottom-bar{position:fixed;left:0;right:0;bottom:0;z-index:90;display:flex;gap:2px;padding:6px 6px calc(6px + env(safe-area-inset-bottom));background:var(--paper,#fff);border-top:1px solid var(--line,#dce6ee);box-shadow:0 -6px 20px rgb(15 30 50/.08)}
.bottom-bar a{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 2px 6px;border-radius:14px;color:var(--muted,#527085);text-decoration:none;font-size:11px;font-weight:650;line-height:1.1}
.bottom-bar a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bottom-bar a .icon{width:22px;height:22px}
.bottom-bar a[aria-current=page]{color:var(--blue,#1b75bb);background:color-mix(in srgb,var(--blue,#1b75bb) 13%,transparent)}
.bottom-bar a:focus-visible{outline:3px solid var(--blue,#1b75bb);outline-offset:-3px}
body.has-bottom-bar{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
/* Marketing's own Today / Marketers / Customers become an in-page switch, so there is only one bar at the bottom. */
html .intelligence .workspace-tabs{position:relative;left:auto;right:auto;bottom:auto;z-index:1;width:100%;margin:14px 0;padding:5px;border-radius:16px;box-shadow:none;border-top:0}
html .intelligence .workspace-tabs button{flex:1 1 0;min-width:0}
}
.bottom-bar a span{line-height:1.3;padding-bottom:1px}
@media(max-width:700px){body.has-bottom-bar .ui-progress{bottom:calc(78px + env(safe-area-inset-bottom))!important}}

/* v80: seamless moves. The old page stays on screen until the new one can be drawn, then they cross-fade; the header and the bottom
   bar are shared between the two pages, so they do not move. Browsers without this feature simply load the page as before. */
@view-transition{navigation:auto}
.top{view-transition-name:top-bar}
.bottom-bar{view-transition-name:bottom-bar}
/* v91: the old page stays fully visible underneath while the new one fades in over it, so nothing dips or flashes in between. */
::view-transition-old(root){animation:none}
::view-transition-new(root){animation:tcp-page-in .14s ease-out both}
@keyframes tcp-page-in{from{opacity:0}to{opacity:1}}
::view-transition-group(top-bar),::view-transition-group(bottom-bar){animation-duration:0s}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}}
.bottom-bar a{transition:background-color .15s,color .15s}
.bottom-bar a:active{transform:scale(.97)}
/* The thin bar at the very top shows that something is loading; the floating pill would cover the bottom bar. */
@media(max-width:700px){body.has-bottom-bar .ui-progress-label{display:none!important}}

/* v81: taps register at once (no double-tap-zoom wait), and the cross-fade never blocks the next tap. */
.bottom-bar a,.top-search,.top .account-menu>summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
::view-transition{pointer-events:none}
/* v83: the header is its own layer (view-transition-name makes it one), so it must sit above the page for the Settings and status menus to open in front. */
.top{position:relative;z-index:200}

/* v91: the selection in the bottom bar is one shape that slides to the tapped area (the tap moves aria-current at once, the page follows). */
.bottom-bar{overflow:hidden}
.bottom-bar a{position:relative;z-index:1}
.bar-pill{display:none}
@supports selector(:has(*)){
 .bottom-bar a[aria-current=page]{background:transparent}
 .bar-pill{display:block;position:absolute;z-index:0;left:6px;top:6px;bottom:calc(6px + env(safe-area-inset-bottom));width:0;border-radius:14px;background:color-mix(in srgb,var(--blue,#1b75bb) 13%,transparent);pointer-events:none;transition:transform .22s cubic-bezier(.3,.7,.2,1)}
 .bottom-bar:has(a:nth-child(3):last-child) .bar-pill{width:calc((100% - 12px - 2px) / 2)}
 .bottom-bar:has(a:nth-child(4):last-child) .bar-pill{width:calc((100% - 12px - 4px) / 3)}
 .bottom-bar:has(a:nth-child(5):last-child) .bar-pill{width:calc((100% - 12px - 6px) / 4)}
 .bottom-bar:has(a:nth-child(6):last-child) .bar-pill{width:calc((100% - 12px - 8px) / 5)}
 .bottom-bar:has(a:nth-child(7):last-child) .bar-pill{width:calc((100% - 12px - 10px) / 6)}
 .bottom-bar:has(a:nth-child(2)[aria-current=page]) .bar-pill{transform:translateX(calc(0 * (100% + 2px)))}
 .bottom-bar:has(a:nth-child(3)[aria-current=page]) .bar-pill{transform:translateX(calc(1 * (100% + 2px)))}
 .bottom-bar:has(a:nth-child(4)[aria-current=page]) .bar-pill{transform:translateX(calc(2 * (100% + 2px)))}
 .bottom-bar:has(a:nth-child(5)[aria-current=page]) .bar-pill{transform:translateX(calc(3 * (100% + 2px)))}
 .bottom-bar:has(a:nth-child(6)[aria-current=page]) .bar-pill{transform:translateX(calc(4 * (100% + 2px)))}
 .bottom-bar:has(a:nth-child(7)[aria-current=page]) .bar-pill{transform:translateX(calc(5 * (100% + 2px)))}
}
@media(prefers-reduced-motion:reduce){.bar-pill{transition:none}}
.bottom-bar:not(:has(a[aria-current=page])) .bar-pill{opacity:0}
/* v96: on a phone the empty middle of the header carries the screen's title, so the page does not spend a row of its own on it. */
.top-title{display:none}
@media(max-width:700px){
.top-title{display:block;flex:1 1 0;min-width:0;padding:0 4px;font-size:17px;font-weight:700;letter-spacing:-.2px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.top-title:empty{display:none}
h1.in-header{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
}
