/* Increase the prior desktop scale by ten percent; mobile retains its native scale. */
@media(min-width:701px){html{zoom:.935}.shell{height:calc(100dvh / .935 - 136px)}}
.masthead{gap:20px}
#workspace-menu-open{color:#e5e8ed;flex-shrink:0;width:32px;height:36px}
#workspace-menu-open:hover{background:rgba(255,255,255,.08)}
#workspace-menu{position:fixed;inset:0 auto 0 0;margin:0;width:310px;max-width:calc(100vw - 28px);height:calc(100dvh / .935);max-height:none;padding:26px 22px;border:0;border-right:var(--rule);background:var(--bg-primary);color:var(--text-primary);overflow:auto}
#workspace-menu::backdrop{background:rgba(0,0,0,.45);backdrop-filter:blur(3px)}
.workspace-menu-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:28px}
#workspace-menu h2{font-size:22px;font-weight:400;line-height:1.2;letter-spacing:-.4px;margin:0}
#workspace-menu-close{width:36px;height:36px}
#workspace-menu .primary-nav{position:static;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;width:auto;height:auto;padding:0;background:none;border:0}
#workspace-menu .primary-nav button{display:flex;align-items:center;gap:13px;flex:none;min-height:48px;padding:12px 14px;text-align:left;font-size:15px;font-weight:500;color:var(--text-secondary);border-left:2px solid transparent}
#workspace-menu .primary-nav button svg{width:19px;height:19px}
#workspace-menu .primary-nav button:hover{background:var(--surface-hover);color:var(--text-primary)}
#workspace-menu .primary-nav button.active{background:var(--surface-active);color:var(--text-primary);border-left-color:var(--text-tertiary)}
#workspace-menu .primary-nav button.active:after{display:none}
.workspace-menu-footer{font-size:11px;color:var(--text-tertiary);border-top:var(--rule);margin-top:28px;padding-top:18px}
@media(prefers-reduced-motion:no-preference){#workspace-menu[open]{animation:menu-arrive .18s ease-out}@keyframes menu-arrive{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}}
@media(max-width:700px){.masthead{padding-inline:12px;gap:10px;flex-wrap:nowrap}#workspace-menu-open{width:28px;height:36px}.masthead .identity{flex:1}.masthead .brand-lockup{gap:8px}.masthead .identity .brand-lockup .ds-axl-brand{width:46px!important}.masthead .wordmark-stack{padding-left:8px;gap:3px}.masthead .brand-lockup .word-title{font-size:21px}.masthead .wordmark-stack .brand-tagline{font-size:7px}.masthead .brand-tagline .official-wordmark{width:47px}.masthead .header-actions{gap:3px}.masthead .header-actions .icon-button{width:27px}.masthead .avatar{width:26px;height:28px}.shell{height:calc(100dvh - 106px)}#workspace-menu{height:100dvh;padding:22px 18px}#toast{bottom:24px}}
/* Analytics owns a separate, persistent navigation rail. */
#analytics-nav{display:none}
.analytics-mode>.rail{display:none}
.analytics-mode>#analytics-nav{display:flex;flex-direction:column;width:112px;flex-shrink:0;padding:20px 0;border-right:var(--rule);background:var(--bg-secondary);overflow:auto}
#analytics-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:78px;position:relative;color:var(--text-secondary);font-size:12px;font-weight:400}
#analytics-nav button svg{width:23px;height:23px;stroke-width:1.6}
#analytics-nav button:hover{background:var(--surface-hover);color:var(--text-primary)}
#analytics-nav button[aria-current=page]{background:var(--surface-active);color:var(--text-primary);font-weight:500}
#analytics-nav button[aria-current=page]:before{content:'';position:absolute;left:0;top:9px;bottom:9px;width:3px;background:#f34f59}
.analytics-delivery-empty{border:var(--rule);border-radius:9px;padding:56px 30px;text-align:center;background:var(--bg-primary)}
.analytics-delivery-empty>svg{width:28px;height:28px;color:var(--text-tertiary);margin-bottom:20px}
.analytics-delivery-empty h2{font-size:20px;font-weight:500;margin:0 0 12px}
.analytics-delivery-empty p{font-size:14px;line-height:1.6;max-width:460px;margin:auto;color:var(--text-secondary)}
@media(max-width:700px){.shell.analytics-mode{flex-direction:column}.analytics-mode>#analytics-nav{flex-direction:row;width:100%;padding:0;border-right:0;border-bottom:var(--rule);flex-shrink:0}.analytics-mode #workspace{min-height:0}#analytics-nav button{flex:1;min-width:58px;min-height:62px;gap:5px;font-size:10px}#analytics-nav button svg{width:20px;height:20px}#analytics-nav button[aria-current=page]:before{top:auto;bottom:0;left:10px;right:10px;width:auto;height:2px}}

@media(max-width:700px){.analytics-chart-summary dd{white-space:nowrap;font-size:17px}}

.header-search{display:flex;align-items:center;width:260px;height:38px;border:1px solid rgba(255,255,255,.25);background:rgba(7,11,17,.68);transition:border-color .16s ease}
.header-search:focus-within{border-color:rgba(255,255,255,.65)}
.header-search input{width:100%;min-width:0;background:transparent;border:0;color:#f5f5f5;padding:0 12px;font:inherit;font-size:13px;outline:none}
.header-search input::placeholder{color:#aeb5bf;opacity:1}
.header-search button{display:flex;align-items:center;justify-content:center;width:38px;height:36px;flex-shrink:0;color:#d5dbe2}
.header-search button:hover{background:rgba(255,255,255,.08)}
.header-search button svg{width:17px;height:17px}
@media(max-width:700px){.masthead{height:124px;display:grid;grid-template-columns:32px minmax(0,1fr) 44px;grid-template-rows:48px 44px;gap:8px 10px;padding:8px 12px 12px}.masthead #workspace-menu-open{grid-column:1;grid-row:1}.masthead .identity{grid-column:2;grid-row:1}.masthead .header-actions{display:contents}.masthead #theme{grid-column:3;grid-row:1}.header-search{grid-column:1/-1;grid-row:2;width:100%;height:32px}.header-search button{height:30px;width:34px}.header-search input{font-size:13px}.shell{height:calc(100dvh - 158px);padding-bottom:env(safe-area-inset-bottom)}}

/* Optical spacing for the FirstWire brand lockup. */
.masthead .brand-lockup{gap:18px}
.masthead .identity .brand-lockup .ds-axl-brand{width:80px!important}
.masthead .wordmark-stack{padding-left:18px;gap:6px;border-left-color:rgba(255,255,255,.22)}
.masthead .brand-lockup .firstwire-wordmark{display:inline-flex;align-items:baseline;gap:1px;font-size:35px;line-height:1.02;letter-spacing:-1.1px;white-space:nowrap}
.masthead .firstwire-wordmark>span{display:inline;color:inherit;font-size:inherit;line-height:inherit;letter-spacing:inherit;margin:0}
.masthead .firstwire-first{font-weight:500}
.masthead .firstwire-wire{font-weight:300;letter-spacing:-1.15px!important}
.masthead .wordmark-stack .brand-tagline{font-size:9px;letter-spacing:.2px;gap:6px;color:#aeb5bf}
.masthead .brand-tagline .official-wordmark{width:66px;color:#cbd0d8}
@media(max-width:700px){.masthead .brand-lockup{gap:10px}.masthead .identity .brand-lockup .ds-axl-brand{width:46px!important}.masthead .wordmark-stack{padding-left:10px;gap:4px}.masthead .brand-lockup .firstwire-wordmark{font-size:28px;letter-spacing:-.85px;gap:.5px}.masthead .firstwire-wire{letter-spacing:-.9px!important}.masthead .wordmark-stack .brand-tagline{font-size:8px;gap:5px}.masthead .brand-tagline .official-wordmark{width:55px}}

/* Standalone FirstWire wordmark in the masthead. */
.masthead .wordmark-stack{border-left:0;padding-left:0}

.masthead .firstwire-wordmark{text-decoration:none}
.masthead .brand-tagline .official-wordmark{color:#fff;display:inline-block;flex-shrink:0}
.masthead .brand-tagline .official-wordmark:hover{opacity:.8}

/* Both brand lines share a single intrinsic width. */
.masthead .wordmark-stack{display:inline-grid;grid-template-columns:max-content;gap:5px}
.masthead .wordmark-stack .brand-tagline{width:100%;justify-content:space-between;gap:6px;white-space:nowrap}
.masthead .brand-tagline .official-wordmark{width:0;min-width:0;flex:1 1 0;color:#fff}
@media(max-width:700px){.masthead .wordmark-stack{gap:4px}.masthead .wordmark-stack .brand-tagline{gap:5px}}

/* Compact editorial wordmark, with a lighter Wire and a single signal slash. */
@font-face{font-family:Plex;src:url('assets/plex-200.woff2') format('woff2');font-style:normal;font-weight:200;font-display:swap}
.masthead .brand-lockup{gap:14px}
.masthead .brand-lockup::before{content:"";display:block;flex:0 0 17px;width:17px;height:42px;transform:skew(-28deg);background:linear-gradient(110deg,#af1323 0%,#f52b40 75%,#ff6472 100%);margin-inline:10px 5px}
.masthead .wordmark-stack{gap:3px}
.masthead .brand-lockup .firstwire-wordmark{font-size:32px;line-height:.98;letter-spacing:-1.1px;gap:0;transform:scaleY(.9);transform-origin:left bottom}
.masthead .firstwire-first{font-weight:600}
.masthead .firstwire-wire{font-weight:200;letter-spacing:-1.2px!important}
.masthead .wordmark-stack .brand-tagline{font-size:6.5px;line-height:1;letter-spacing:1.1px;text-transform:uppercase;gap:7px;color:#b8bbc0}
.masthead .brand-tagline .official-wordmark{min-height:15px}
@media(max-width:700px){
 .masthead .brand-lockup{gap:10px}
 .masthead .brand-lockup::before{flex-basis:12px;width:12px;height:33px;margin-inline:7px 3px}
 .masthead .brand-lockup .firstwire-wordmark{font-size:27px;letter-spacing:-.9px}
 .masthead .firstwire-wire{letter-spacing:-1px!important}
 .masthead .wordmark-stack .brand-tagline{font-size:5.5px;letter-spacing:.8px;gap:5px}
 .masthead .brand-tagline .official-wordmark{min-height:12px}
}

/* Share the feed rail's centerline without shifting the brand lockup. */
@media(min-width:701px){
 .masthead{padding-left:11.5px}
 .masthead #workspace-menu-open{width:48px;height:44px;padding:0;display:flex;align-items:center;justify-content:center}
}
/* Reveal the signal flag after the screen is ready; replay on return. */
@media(prefers-reduced-motion:no-preference){
 .masthead .brand-lockup.brand-entering::before{transform-origin:50% 50%;animation:brand-signal-arrive 1100ms cubic-bezier(.22,1,.36,1) 160ms both}
 @keyframes brand-signal-arrive{
  0%{opacity:0;transform:translateY(7px) skew(-28deg) scaleY(.18);filter:brightness(.8)}
  65%{opacity:1;transform:translateY(0) skew(-28deg) scaleY(1);filter:brightness(1.12)}
  100%{opacity:1;transform:translateY(0) skew(-28deg) scaleY(1);filter:brightness(1)}
 }
}

/* Drawer utility link and bottom-anchored publisher credit. */
#workspace-menu[open]{display:flex;flex-direction:column}
#workspace-menu>*{flex-shrink:0;order:0}
.workspace-menu-legal{border-top:var(--rule);margin-top:28px;padding-top:12px}
.workspace-menu-legal a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 14px;color:var(--text-secondary);font-size:13px;text-decoration:none;border-radius:4px}
.workspace-menu-legal a:hover{background:var(--surface-hover);color:var(--text-primary)}
.workspace-menu-legal svg{width:14px;height:14px;color:var(--text-tertiary)}
#workspace-menu .workspace-menu-footer{display:flex;align-items:center;gap:12px;margin-top:auto;padding:32px 14px max(4px,env(safe-area-inset-bottom));border:0;color:var(--text-tertiary);font-size:12px;line-height:20px}
.menu-appliedxl{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:var(--text-primary);border-radius:4px}
.menu-appliedxl .official-wordmark{width:86px;color:var(--text-primary)}
.menu-appliedxl:hover{opacity:.75}

/* Quiet publisher mark stays below the independently scrolling feed icons. */
.rail-brand{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:100%}
.rail-brand .ds-axl-brand{display:block;width:30px;aspect-ratio:500/143;color:var(--text-tertiary);opacity:.6;-webkit-mask-image:url('assets/mark.png');mask-image:url('assets/mark.png')}
