:root { --rush-ribbon-height: 20px; --rush-header-height: 72px; --rush-chrome-bottom: calc(var(--rush-ribbon-height) + var(--rush-header-height)); }
:root[data-beta-dismissed="true"] { --rush-ribbon-height: 0px; }
body { padding-top: var(--rush-ribbon-height); }
.rush-beta-ribbon { position: fixed; inset: 0 0 auto; z-index: 1000; display: flex; align-items: center; justify-content: center; height: var(--rush-ribbon-height); padding: 0 38px; border-bottom: 1px solid #ffffff12; background: #191919; color: #a8a8a8; font: 10px/1 "FT Kunst Grotesk", sans-serif; letter-spacing: .015em; }
[data-beta-dismissed="true"] .rush-beta-ribbon { display: none; }
.rush-beta-ribbon button { position: absolute; right: 12px; inset-block: 0; width: 24px; padding: 0; border: 0; background: none; color: #818181; font: 17px/1 sans-serif; cursor: pointer; }
.rush-beta-ribbon button:hover,.rush-beta-ribbon button:focus-visible{color:#eee}
.shell { --chrome-height: var(--rush-header-height); min-height: calc(100dvh - var(--rush-ribbon-height)); border-inline: 1px solid transparent; }
.shell > header, .market-shell > header, #rush-shared-header header { min-height: var(--rush-header-height); height: var(--rush-header-height); }
.market-shell { min-height: calc(100dvh - var(--rush-ribbon-height)); }
.shell > header .logo, .market-shell > header .logo, #rush-shared-header .logo, :where(body:not(.rush-has-unified-header)) [data-site-navigation-header] #nav-logo-button img { height: 36px; width: auto; max-width: none; }
/* Legacy geometry retained for comparison, inactive on the unified component. */
:where(body:not(.rush-has-unified-header)) [data-site-navigation-header] { top: var(--rush-ribbon-height) !important; }
:where(body:not(.rush-has-unified-header)) [data-site-navigation-header] > div.relative { max-width: 1200px !important; height: var(--rush-header-height) !important; padding-inline: 32px !important; margin-inline: auto; border-inline: 1px solid transparent; }
:where(body:not(.rush-has-unified-header)) [data-site-navigation-header] #nav-logo-button { margin: 0 !important; padding: 0 !important; }
:where(body:not(.rush-has-unified-header)) [data-site-navigation-header] #nav-logo-button > img { display: block; }
:where(body:not(.rush-has-unified-header)) [data-nav-scroll-tabs], .market-header-nav { position: absolute; left: 50%; transform: translateX(-50%); }
.market-header-nav { z-index: 55; margin: 0; font: 500 14px "FT Kunst Grotesk", sans-serif; color: var(--rush-fg); }
.market-header-trigger { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid transparent; border-radius: 6px; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.market-header-trigger:hover, .market-header-trigger[aria-expanded="true"] { border-color: var(--color-border-100); background: color-mix(in srgb, var(--rush-fg) 5%, transparent); }
.market-header-trigger svg { width: 16px; height: 16px; opacity: .3; }
.market-header-links { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; width: 260px; padding: 8px; border: 1px solid var(--color-border-100); border-radius: 12px; background: var(--rush-bg-band); box-shadow: 0 8px 24px #0004; }
.market-header-links::before { content: ''; position: absolute; inset: -20px 0 auto; height: 20px; }
.market-header-links > a, .market-header-links > button { display: block; width: 100%; text-align: left; padding: 14px 20px; border: 1px solid var(--color-border-100); border-radius: 0; background: var(--rush-bg); color: var(--rush-fg); text-decoration: none; font: inherit; cursor: pointer; }
.market-header-links > :first-child { border-radius: 6px 6px 0 0; }
.market-header-links > :last-child { border-radius: 0 0 6px 6px; }
.market-header-links > :not(:first-child) { border-top: 0; }
.market-header-links > :hover { background: color-mix(in srgb, var(--rush-fg) 5%, var(--rush-bg)); }
.market-header-links[hidden], .rush-account-menu[hidden] { display: none !important; }
.rush-account { position: relative; display: flex; justify-content: flex-end; align-items: center; min-width: 132px; margin-left: auto; pointer-events: auto; }
.rush-auth-slot{display:flex;flex:0 0 136px;width:136px;min-height:44px;align-items:center;justify-content:flex-end;margin-left:auto;position:relative;pointer-events:auto}
.rush-auth-slot>.member-link{box-sizing:border-box;margin:0!important;width:136px;min-height:40px;justify-content:center}
.rush-auth-slot .rush-account{min-width:0;margin:0}
.rush-auth-slot [aria-busy=true]{cursor:progress;opacity:.7}
.rush-auth-error{position:absolute;top:calc(100% + 8px);right:0;z-index:70;width:240px;max-width:calc(100vw - 32px);padding:12px;border:1px solid var(--rush-muted,#777);border-radius:10px;background:var(--rush-bg-band,#151515);color:var(--rush-fg,white);font:14px/1.4 "FT Kunst Grotesk",sans-serif}
.rush-auth-error p{margin:0 0 8px}
.rush-auth-error a,.rush-auth-error button{display:block;padding:8px 0;color:inherit;font:inherit;text-decoration:underline;background:none;border:0;cursor:pointer}
.rush-account-trigger { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rush-muted, #777); border-radius: 50%; overflow: hidden; background: var(--rush-bg-card, #202020); color: var(--rush-fg, white); cursor: pointer; font: 500 14px "FT Kunst Grotesk", sans-serif; }
.rush-account-trigger img { position: absolute; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.rush-account-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; min-width: 180px; padding: 8px; background: var(--rush-bg-band, #151515); border: 1px solid var(--rush-muted, #777); border-radius: 10px; }
.rush-account-menu a,.rush-account-logout { display: block; width:100%; padding: 10px 12px; border:0; border-radius: 6px; background:transparent; color: var(--rush-fg, white); text-align:left; text-decoration: none; font: 14px "FT Kunst Grotesk", sans-serif; cursor:pointer; }
.rush-account-menu .rush-account-home{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.rush-account-plan{font:400 11px/1.2 "FT Kunst Grotesk",sans-serif;color:var(--rush-muted,#aaa);white-space:nowrap}
.rush-account-plan[hidden]{display:none}
.rush-account-menu a:hover,.rush-account-logout:hover { background: #ffffff0d; }
.rush-account-separator{height:1px;margin:4px 6px;background:#ffffff18}
:where(body:not(.rush-has-unified-header)) [data-site-navigation-header] .member-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-left: 8px; padding: 8px 16px; border: 1px solid white; border-radius: 999px; color: white; text-decoration: none; white-space: nowrap; font: 14px "FT Kunst Grotesk", sans-serif; pointer-events: auto; }
:where(body:not(.rush-has-unified-header)) [data-site-navigation-header] [data-nav-search-button] { order: -1; }
@media (max-width: 767px) {
  :root{--rush-ribbon-height:18px}
  .shell, .market-shell { padding-inline: 20px; }
  :where(body:not(.rush-has-unified-header)) [data-site-navigation-header] > div.relative, #rush-shared-header header { width: 100% !important; padding-inline: 20px !important; }
  .rush-account { min-width: 110px; margin-left: auto; }
  .market-header-nav { width: auto; order: 0; }
  .market-header-trigger { padding-inline: 1px; font-size: 11px; gap: 3px; }
  .market-header-trigger svg { width: 12px; height: 12px; }
  .market-shell > header > .member-link, .market-shell > header > .rush-account { margin-left: auto; }
  .market-shell > header > .member-link { padding-inline: 8px; font-size: 11px; }
}
