﻿/* Shared website navigation: desktop dropdowns and mobile disclosures. */
.app-sidebar{z-index:50}

/* Sidebar brand masthead: one lockup for every page. These rules used to be
   scoped to .live-rates-page in ma-reference-live.css, so only the rate board
   received the centred full-width logo. They live here because
   ma-navigation.css is the final stylesheet every page loads, which makes it the
   single source of truth for the header. */
.sidebar-logo{filter:drop-shadow(0 8px 18px rgba(7,63,52,.3))}
.sidebar-brand .mark{width:60px;height:60px;flex:0 0 60px;border-radius:16px;font-size:27px}
.sidebar-brand .name{font-size:16px}
.sidebar-brand .name small{font-size:11.5px}
@media(max-width:900px){
  .app-sidebar .sidebar-brand{min-height:92px}
}
/* Header restructure: logo -> menu -> account actions share the upper row;
   the ticker occupies the lower band. ma-navigation.js rebuilds #primaryNav into
   the same .ma-menu markup on every page (Liverates.html included), so the
   fixed rail becomes a mobile-only drawer everywhere: ma-common.js already
   relocates #primaryNav out of it below 901px. */
@media(min-width:901px){
  .app-sidebar{position:fixed;transform:translateX(-100%);pointer-events:none}
  .app-main{margin-left:0}
}
.app-sidebar .ma-navigation,.topbar-nav-slot .ma-navigation{display:block;overflow:visible;padding:0;min-width:0}
.ma-menu,.ma-submenu{list-style:none;margin:0;padding:0}
.ma-menu{display:flex;align-items:stretch;gap:8px;width:100%}
/* Inside the header the menu sits between the logo and the ticker/login
   group, so it should hug its own content instead of stretching full width.
   The account links move to .topbar-actions (see below) so login/logout
   stay pinned to the far right of the header, after the ticker. */
.topbar-nav-slot .ma-menu{width:auto;gap:2px}
.topbar-nav-slot .ma-menu .ma-menu-account:empty{display:none}
/* ma-reference-theme.css (Liverates.html) fixes the topbar to a slim 45px
   bar for its own ticker-only header; the shared logo/menu/login header now
   needs the same flexible height there as everywhere else. */
.app-topbar{height:auto!important;min-height:var(--topbar-h)}
.ma-menu>li{position:relative;margin:0}
.ma-menu-link,.ma-menu-trigger{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 20px;border:0;border-radius:0;background:transparent;color:#f4ecdc;font:600 14px/1.4 "Trebuchet MS",Verdana,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}
.ma-menu-link:hover,.ma-menu-trigger:hover,.ma-menu-trigger[aria-expanded=true]{background:rgba(207,173,104,.2);color:#fff;text-decoration:none}
.ma-menu-link[aria-current=page],.ma-menu-trigger.is-current{color:#fff;font-weight:800;box-shadow:none}
.ma-menu-link:focus-visible,.ma-menu-trigger:focus-visible{outline:2px solid #f4ecdc;outline-offset:-3px}
.ma-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-4px;transition:transform .15s}
.ma-menu-trigger[aria-expanded=true] .ma-chevron{transform:rotate(225deg);margin-top:3px}
.ma-submenu{position:absolute;top:100%;left:0;min-width:235px;padding:7px;background:#fffef9;border:1px solid #d8d2c7;border-radius:0 0 10px 10px;box-shadow:0 12px 26px rgba(7,63,52,.18);z-index:60}
.ma-submenu[hidden]{display:none}
.ma-submenu .ma-menu-link{min-height:44px;padding:11px 14px;border-radius:5px;font-size:14px;color:#41675e}
.ma-submenu .ma-menu-link:hover{background:#ffe8c9;color:#123e33}
.ma-submenu .ma-menu-link[aria-current=page]{background:#ffe8c9;color:#123e33;box-shadow:none}
.ma-menu .ma-menu-account{margin-left:auto;align-self:center}
.ma-menu-account .ma-menu-link{min-height:36px;padding:8px 18px;background:#123e33;color:#fffef9;border-radius:6px}
.ma-menu-account .ma-menu-link:hover{background:#0b2f28;color:#fffef9}
/* Login/Logout, once relocated into .topbar-actions on desktop, read as the
   header's right-aligned account pills rather than menu list items. */
.topbar-actions .ma-menu-link{display:inline-flex;align-items:center;gap:7px;min-height:0;padding:8px 16px;border-radius:999px;border:1px solid var(--border-strong);background:rgba(7,63,52,.035);color:var(--text);font:600 13.5px/1.4 "Trebuchet MS",Verdana,sans-serif;text-decoration:none;transition:transform .15s ease,border-color .15s ease,background .15s ease,color .15s ease}
.topbar-actions .ma-menu-link:hover{transform:translateY(-1px);border-color:var(--accent)}
.topbar-actions .ma-menu-link.auth-login{background:#123e33;color:#fffef9;border-color:rgba(207,173,104,.55)}
.topbar-actions .ma-menu-link.auth-login:hover{background:#0b2f28;border-color:#cfad68}
/* Logout is the account action's twin, so it carries the same footer-green
   pill as Client Login; the only difference is the icon, which stays red. */
.topbar-actions .ma-menu-link.auth-logout{background:#123e33;color:#fffef9;border-color:rgba(207,173,104,.55)}
.topbar-actions .ma-menu-link.auth-logout:hover{background:#0b2f28;border-color:#cfad68}
.topbar-actions .ma-menu-link .glyph{width:16px;height:16px;flex:0 0 16px}
.topbar-actions .ma-menu-link.auth-login .glyph .nav-svg,
.topbar-actions .ma-menu-link.auth-logout .glyph .nav-svg{filter:brightness(0) invert(1)}

/* Header menu items: animated underline sweep on hover/focus, matching the
   icon-loop and glow treatments already used across the menu. */
.topbar-nav-slot .ma-menu>li>.ma-menu-link,.topbar-nav-slot .ma-menu>li>.ma-menu-trigger{position:relative}
.topbar-nav-slot .ma-menu>li>.ma-menu-link::after,.topbar-nav-slot .ma-menu>li>.ma-menu-trigger::after{content:"";position:absolute;left:20px;right:20px;bottom:5px;height:3px;border-radius:2px;background:#b1893f;transform:scaleX(0);transform-origin:50% 50%;transition:transform .25s cubic-bezier(.16,1,.3,1)}
.topbar-nav-slot .ma-menu>li>.ma-menu-link:hover::after,.topbar-nav-slot .ma-menu>li>.ma-menu-trigger:hover::after,.topbar-nav-slot .ma-menu>li>.ma-menu-trigger[aria-expanded=true]::after,.topbar-nav-slot .ma-menu>li>.ma-menu-link[aria-current=page]::after,.topbar-nav-slot .ma-menu>li>.ma-menu-trigger.is-current::after{transform:scaleX(1)}
@media(prefers-reduced-motion:reduce){.topbar-nav-slot .ma-menu>li>.ma-menu-link::after,.topbar-nav-slot .ma-menu>li>.ma-menu-trigger::after{transition:none}}
@media(min-width:901px){
  .app-sidebar .sidebar-foot{font-size:12px;line-height:1.7}
}
@media(max-width:1050px) and (min-width:901px){.ma-menu{gap:2px}.ma-menu-link,.ma-menu-trigger{padding-inline:14px}}
@media(max-width:900px){
  .app-sidebar .ma-navigation{overflow-y:auto;padding:8px 0}
  .ma-menu{display:block}
  .ma-menu-link,.ma-menu-trigger{width:100%;justify-content:flex-start;gap:12px;min-height:48px;padding:13px 14px;font-size:14.5px;border-radius:6px;text-align:left;color:#f4ecdc}
  /* Group rows keep the chevron pinned right while the label stays hard left,
     so the drawer reads as a left-aligned list instead of centred text. */
  .ma-menu-trigger .ma-chevron{margin-left:auto;margin-right:2px;flex:0 0 auto}
  .app-sidebar .ma-menu>li>.ma-menu-link[aria-current=page],
  .app-sidebar .ma-menu>li>.ma-menu-trigger.is-current{background:rgba(207,173,104,.2);color:#fffef9;box-shadow:inset 0 -2px #cfad68}
  .app-sidebar .ma-menu>li>.ma-menu-link[aria-current=page] .nav-svg,
  .app-sidebar .ma-menu>li>.ma-menu-trigger.is-current .nav-svg{filter:brightness(0) saturate(100%) invert(73%) sepia(34%) saturate(710%) hue-rotate(3deg) brightness(94%) contrast(88%);animation:none}
  .ma-submenu{position:static;min-width:0;padding:2px 0 8px 14px;border:0;box-shadow:none;background:transparent}
  .ma-submenu .ma-menu-link{font-size:14px;white-space:normal;color:#f4ecdc}
  .ma-submenu .ma-menu-link:hover{background:rgba(207,173,104,.18);color:#fff}
  .ma-submenu .ma-menu-link[aria-current=page]{background:rgba(207,173,104,.22);color:#fff}
  .ma-menu .ma-menu-account{margin:14px 0 8px}
  .ma-menu-account .ma-menu-link{justify-content:flex-start;gap:12px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){.ma-chevron{transition:none}}

/* ---------------------------------------------------------------------- */
/* Animated icons: header menu + footer menus                              */
/* ---------------------------------------------------------------------- */
.ma-menu-link .glyph,.ma-menu-trigger .glyph{display:grid;place-items:center;pointer-events:none}
.ma-menu-link .glyph{width:20px;height:20px;flex:0 0 20px}
.ma-menu-trigger .glyph{width:17px;height:17px;flex:0 0 17px}
.ma-submenu .ma-menu-link .glyph{width:16px;height:16px;flex:0 0 16px}
.ma-menu>li:nth-child(-n+5)>.ma-menu-link>.glyph,
.ma-menu>li:nth-child(-n+5)>.ma-menu-trigger>.glyph{
  transform-origin:50% 72%;
  animation:maHeaderIconLoop 4.2s cubic-bezier(.16,1,.3,1) infinite both;
}
.ma-menu>li:nth-child(2)>.ma-menu-trigger>.glyph{animation-delay:-.7s}
.ma-menu>li:nth-child(3)>.ma-menu-trigger>.glyph{animation-delay:-1.4s}
.ma-menu>li:nth-child(4)>.ma-menu-trigger>.glyph{animation-delay:-2.1s}
.ma-menu>li:nth-child(5)>.ma-menu-trigger>.glyph{animation-delay:-2.8s}
.ma-menu-link .glyph .nav-svg,.ma-menu-trigger .glyph .nav-svg{display:block;width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1) drop-shadow(0 2px 3px rgba(7,63,52,.3));transition:transform .28s cubic-bezier(.16,1,.3,1),filter .28s ease}
.ma-menu-account .ma-menu-link .glyph .nav-svg{filter:none}
.ma-menu-link:hover .glyph .nav-svg,.ma-menu-trigger:hover .glyph .nav-svg,.ma-menu-trigger[aria-expanded=true] .glyph .nav-svg{animation:maIconNudge .55s ease}
.ma-menu-link[aria-current=page] .glyph .nav-svg{filter:brightness(0) invert(1);animation:none}
.ma-menu-trigger.is-current .glyph .nav-svg{filter:brightness(0) invert(1);animation:none}
.ma-menu-account .ma-menu-link:hover .glyph .nav-svg{animation:maIconGlowDark 2.6s ease-in-out infinite}
/* Dropdown panels are light, so icons carry the natural dark colour there. */
.ma-submenu .ma-menu-link .glyph .nav-svg{filter:none}
.ma-submenu .ma-menu-link:hover .glyph .nav-svg{filter:drop-shadow(0 0 4px rgba(207,173,104,.6))}
.ma-submenu .ma-menu-link[aria-current=page] .glyph .nav-svg{filter:none;animation:maIconGlowDark 2.6s ease-in-out infinite}
@keyframes maIconNudge{0%,100%{transform:translateX(0) rotate(0) scale(1)}30%{transform:translateX(2px) rotate(-8deg) scale(1.15)}65%{transform:translateX(-1px) rotate(6deg) scale(.95)}}
@keyframes maIconGlow{0%,100%{filter:brightness(0) invert(1) drop-shadow(0 0 3px rgba(207,173,104,.5))}50%{filter:brightness(0) invert(1) drop-shadow(0 0 10px rgba(207,173,104,1))}}
@keyframes maIconGlowDark{0%,100%{filter:drop-shadow(0 0 2px rgba(90,14,4,.4))}50%{filter:drop-shadow(0 0 7px rgba(90,14,4,.55))}}
@keyframes maHeaderIconLoop{
  0%,36%,100%{transform:translateY(0) rotate(0) scale(1)}
  10%{transform:translateY(-2px) rotate(-6deg) scale(1.08)}
  19%{transform:translateY(1px) rotate(4deg) scale(.98)}
  27%{transform:translateY(0) rotate(0) scale(1)}
}

.footer-acc .acc-body a{display:flex;align-items:center}
.foot-menu-svg{width:13px;height:13px;flex:0 0 13px;margin-right:8px;vertical-align:-2px;object-fit:contain;filter:brightness(0) invert(1);transition:transform .28s cubic-bezier(.16,1,.3,1),filter .28s ease}
:where(.app-footer.ma-icons-visible) .foot-menu-svg{transform-origin:50% 70%;animation:maFooterIconLoop 4.6s cubic-bezier(.16,1,.3,1) infinite both}
.footer-acc .acc-body a:nth-child(2) .foot-menu-svg{animation-delay:-.65s}
.footer-acc .acc-body a:nth-child(3) .foot-menu-svg{animation-delay:-1.3s}
.footer-acc .acc-body a:nth-child(4) .foot-menu-svg{animation-delay:-1.95s}
.footer-acc .acc-body a:nth-child(5) .foot-menu-svg{animation-delay:-2.6s}
.footer-acc .acc-body a:hover .foot-menu-svg,
.footer-acc .acc-body a:focus-visible .foot-menu-svg{animation:maIconNudge .5s ease;filter:brightness(0) saturate(100%) invert(42%) sepia(28%) saturate(1260%) hue-rotate(4deg) brightness(93%) contrast(87%)}

.footer-social a .social-svg{transition:transform .3s cubic-bezier(.16,1,.3,1),filter .3s ease}
:where(.app-footer.ma-icons-visible) .footer-social a .social-svg{animation:maSocialLoop 4.2s cubic-bezier(.16,1,.3,1) infinite both}
:where(.app-footer.ma-icons-visible) .footer-social a:nth-child(2) .social-svg{animation-delay:-2.1s}
.footer-social a:hover{border-color:var(--accent);box-shadow:0 8px 18px rgba(7,63,52,.24)}
.footer-social a:hover .social-svg{animation:maSocialNudge .55s cubic-bezier(.16,1,.3,1);filter:drop-shadow(0 4px 8px rgba(207,173,104,.6))}
@keyframes maSocialNudge{0%,100%{transform:translateY(0) scale(1)}45%{transform:translateY(-4px) scale(1.14) rotate(-5deg)}}
@keyframes maFooterIconLoop{
  0%,32%,100%{transform:translateX(0) rotate(0) scale(1)}
  9%{transform:translateX(2px) rotate(-8deg) scale(1.12)}
  18%{transform:translateX(-1px) rotate(5deg) scale(.98)}
  25%{transform:translateX(0) rotate(0) scale(1)}
}
@keyframes maSocialLoop{
  0%,38%,100%{transform:translateY(0) rotate(0) scale(1)}
  12%{transform:translateY(-3px) rotate(-5deg) scale(1.1)}
  23%{transform:translateY(0) rotate(3deg) scale(1)}
  30%{transform:translateY(0) rotate(0) scale(1)}
}
.ma-motion-paused .glyph,.ma-motion-paused .foot-menu-svg,.ma-motion-paused .social-svg{animation-play-state:paused!important}
@media(max-width:900px){.ma-menu-link .glyph,.ma-menu-trigger .glyph{flex:0 0 auto}.ma-menu-trigger .glyph .nav-svg,.ma-menu-link .glyph .nav-svg{width:18px;height:18px}.ma-menu>li:first-child>.ma-menu-link,.ma-submenu .ma-menu-link{justify-content:flex-start}.ma-submenu .ma-menu-link .glyph .nav-svg{filter:brightness(0) invert(1)}.ma-submenu .ma-menu-link[aria-current=page] .glyph .nav-svg{filter:brightness(0) invert(1);animation:maIconGlow 2.6s ease-in-out infinite}}
@media(prefers-reduced-motion:reduce){.ma-menu .glyph,.foot-menu-svg,.social-svg{animation:none!important}}
.sidebar-foot{
  display: none;
}

/* Larger type pass, footer half: ma-navigation.css loads last everywhere
   (including Liverates.html, where ma-reference-theme.css would otherwise
   win these ties), so the footer sizing increase belongs here to actually
   take effect on every page. */
.footer-brand-col p{font-size:14px}
.footer-acc .acc-body{font-size:14.5px}
.footer-acc summary{font-size:14px}
.footer-bottom{font-size:12.5px}



/* ---------------------------------------------------------------------- */
/* theme.jpeg brand treatment: the supplied logo.png is black serif text  */
/* on #f6f3ee, so the shared chrome uses the same ivory field. Desktop     */
/* navigation uses bottle-green ink with muted-gold hover/active details. */
/* Mobile drawer remains dark green and keeps its light text above.        */
/* ---------------------------------------------------------------------- */
.app-topbar{
  position:sticky!important;
  top:0;
  background:#f6f3ee!important;
  border-bottom:1px solid #d8d2c7;
  box-shadow:0 1px 0 rgba(7,63,52,.04);
}
.app-topbar.is-scrolled{
  background:rgba(246,243,238,.97)!important;
  box-shadow:0 12px 28px rgba(7,63,52,.16);
}
.topbar-wordmark:focus-visible{outline-color:#123e33}
@media(min-width:901px){
  .topbar-nav-slot .ma-menu-link,
  .topbar-nav-slot .ma-menu-trigger{color:#073f34}
  .topbar-nav-slot .ma-menu-link:hover,
  .topbar-nav-slot .ma-menu-trigger:hover,
  .topbar-nav-slot .ma-menu-trigger[aria-expanded=true]{background:rgba(207,173,104,.18);color:#123e33}
  .topbar-nav-slot .ma-menu-link[aria-current=page],
  .topbar-nav-slot .ma-menu-trigger.is-current{color:#0b2f28;background:rgba(207,173,104,.13);font-weight:800;box-shadow:none}
  .topbar-nav-slot .ma-menu-link:focus-visible,
  .topbar-nav-slot .ma-menu-trigger:focus-visible{outline-color:#123e33}
  .topbar-nav-slot .ma-menu-link .glyph .nav-svg,
  .topbar-nav-slot .ma-menu-trigger .glyph .nav-svg{filter:none}
  .topbar-nav-slot .ma-menu-link[aria-current=page] .glyph .nav-svg,
  .topbar-nav-slot .ma-menu-trigger.is-current .glyph .nav-svg{filter:brightness(0) saturate(100%) invert(42%) sepia(28%) saturate(1260%) hue-rotate(4deg) brightness(93%) contrast(87%);animation:none}
}
/* Header actions wear the footer's bottle green (#123e33, deepening to
   #0b2f28 on hover) so Client Login and Trade Now read as one family with
   the footer band instead of pale chips floating on the ivory header. */
.topbar-actions .ma-menu-link:not(.auth-login):not(.auth-logout),
.topbar-actions .pill-btn{color:#f4ecdc;background:#123e33;border-color:rgba(207,173,104,.55)}
.topbar-actions .ma-menu-link:not(.auth-login):not(.auth-logout):hover,
.topbar-actions .pill-btn:hover{background:#0b2f28;color:#fffef9;border-color:#cfad68}
.topbar-actions .pill-btn.accent{background:#123e33;color:#f4ecdc}
.topbar-actions .pill-btn.accent:hover{background:#0b2f28;color:#fffef9}

/* Footer follows the bottle-green navigation band in theme.jpeg. The supplied
   black logo remains on its native ivory rather than being colour-inverted. */
.app-footer{background:#0b2f28;border-top:2px solid #cfad68;color:#fffef9}
.footer-brand-col .mark-row .board-wordmark{display:inline-flex;align-items:center;padding:9px 12px;border:1px solid rgba(207,173,104,.72);border-radius:10px;background:#f6f3ee}
.footer-brand-col .mark-row .board-wordmark img{width:min(290px,100%)}
.footer-brand-col p{color:#d7e2dd}
.footer-acc summary{color:#fffef9}
.footer-acc .acc-body{color:#d7e2dd}
.footer-acc .acc-body a{color:#d7e2dd}
.footer-acc .acc-body a:hover,
.footer-acc .acc-body a:focus-visible{color:#f0d28f}
.footer-acc summary::after{color:#cfad68}
.footer-acc{border-bottom-color:rgba(207,173,104,.28)}
.footer-acc .acc-body a:focus-visible{outline:2px solid #cfad68;outline-offset:3px;border-radius:3px}
.footer-acc .acc-body a .foot-menu-svg{filter:brightness(0) invert(1)}
.footer-acc .acc-body a:hover .foot-menu-svg,
.footer-acc .acc-body a:focus-visible .foot-menu-svg{filter:brightness(0) saturate(100%) invert(82%) sepia(35%) saturate(566%) hue-rotate(2deg) brightness(101%) contrast(89%)}
.footer-social a{color:#fffef9;border-color:rgba(207,173,104,.72);background:rgba(255,254,249,.06)}
.footer-social a .social-svg{filter:brightness(0) invert(1)}
.footer-social a:hover,.footer-social a:focus-visible{color:#0b2f28;background:#cfad68;border-color:#cfad68}
.footer-social a:hover .social-svg,.footer-social a:focus-visible .social-svg{filter:brightness(0)}
.footer-social a:focus-visible{outline:2px solid #fffef9;outline-offset:3px}
.footer-bottom{color:#d7e2dd;border-color:rgba(207,173,104,.42)}

/* ---------------------------------------------------------------------- */
/* Two-tier shared header                                                  */
/* Primary navigation and account actions share the upper row. The live   */
/* market ticker owns the full-width lower band instead of forcing the     */
/* actions onto a separate wrapped line.                                   */
/* ---------------------------------------------------------------------- */
.app-topbar{
  --header-gutter:max(28px,calc((100vw - 1280px)/2));
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:"brand navigation actions" "ticker ticker ticker";
  grid-template-rows:auto 38px;
  align-items:center;
  column-gap:16px;
  row-gap:0;
  padding:0 var(--header-gutter)!important;
}
.app-topbar.is-scrolled{padding:0 var(--header-gutter)!important}
.topbar-wordmark{grid-area:brand;min-width:0;padding-block:10px}
.topbar-nav-slot{grid-area:navigation;min-width:0}
.topbar-actions{grid-area:actions;margin-left:0;justify-self:end;white-space:nowrap}
.topbar-toggle{grid-area:toggle}
.app-topbar .ticker{
  grid-area:ticker;
  align-self:stretch;
  width:auto;
  max-width:none;
  height:38px;
  margin-inline:calc(var(--header-gutter) * -1);
  padding-inline:var(--header-gutter);
  border-top:1px solid rgba(207,173,104,.72);
  border-bottom:1px solid rgba(207,173,104,.38);
  background:#123e33;
  mask-image:none;
}
.app-topbar .ticker-track{gap:42px;padding-right:42px}
.app-topbar .ticker-chip,.app-topbar .ticker-chip .sym{color:#f4ecdc}
.app-topbar .ticker-chip .px{color:#d9c18d}
.app-topbar .ticker-chip .dir-up{color:#b6e6cd}
.app-topbar .ticker-chip .dir-down{color:#ffd0c6}
.ma-motion-paused .app-topbar .ticker-track{animation-play-state:paused!important}

@media(min-width:901px) and (max-width:1180px){
  .app-topbar{column-gap:10px}
  .topbar-wordmark .board-wordmark img{width:205px;max-width:21vw}
  .topbar-nav-slot .ma-menu-link,
  .topbar-nav-slot .ma-menu-trigger{gap:5px;padding-inline:9px;font-size:12px}
  .topbar-nav-slot .ma-menu-link .glyph,
  .topbar-nav-slot .ma-menu-trigger .glyph{display:none}
  .topbar-nav-slot .ma-menu>li>.ma-menu-link::after,
  .topbar-nav-slot .ma-menu>li>.ma-menu-trigger::after{left:9px;right:9px}
  .topbar-actions .ma-menu-link,
  .topbar-actions .pill-btn{gap:5px;padding:7px 10px;font-size:12px}
}

@media(max-width:900px){
  .app-topbar{
    --header-gutter:14px;
    grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-areas:"toggle brand actions" "ticker ticker ticker";
    grid-template-rows:64px 36px;
    column-gap:10px;
  }
  .topbar-wordmark{padding:0;justify-self:start}
  .topbar-wordmark .board-wordmark img{width:min(210px,48vw);max-width:none}
  .topbar-actions{justify-self:end;gap:6px}
  .topbar-actions .pill-btn{padding:6px 11px;font-size:11px}
  .app-topbar .ticker{height:36px}
  .app-topbar .ticker-track{gap:34px;padding-right:34px}
  .app-topbar .ticker-chip{font-size:11px}
}

@media(max-width:430px){
  .app-topbar{column-gap:8px}
  .topbar-wordmark .board-wordmark img{width:min(188px,46vw)}
  .topbar-actions .pill-btn{gap:4px;padding:6px 9px;font-size:10.5px}
  .topbar-actions .pill-btn .button-svg{width:15px;height:15px}
}
