/* Shared market navigation: normal same-tab links, identical on both pages. */
.platform-header,.stock-platform-header{padding:11px 24px!important}
.platform-header>.hd-main,.stock-platform-header>.platform-brand-row{position:relative;display:flex;align-items:center;flex-wrap:nowrap;gap:22px;width:100%;height:40px;min-height:40px}
.platform-header .brand,.stock-platform-header .logo{font-size:24px!important;gap:10px;width:150px;flex:0 0 150px}
.stock-platform-header .bond-launch{margin-right:0!important}
.platform-header .stock-launch,.stock-platform-header .bond-launch{background:linear-gradient(135deg,#8c651f,#b28d43)}
.platform-header .brand-by,.stock-platform-header .brand-by{color:var(--muted);font:600 12px/1.2 'IBM Plex Sans',system-ui,sans-serif;text-decoration:none;white-space:nowrap;flex:none}
@media(min-width:761px){
  .platform-header .brand,.stock-platform-header .logo{align-items:baseline;align-self:baseline;margin-top:6.2px}
  .platform-header .stock-launch,.stock-platform-header .bond-launch{align-self:center}
  .platform-header .brand-by,.stock-platform-header .brand-by{margin-left:-26px;align-self:baseline;margin-top:6.2px;margin-bottom:0}
}
.stock-platform-header .bond-launch{display:block;position:relative;box-sizing:border-box;width:22px;height:22px;min-width:22px;aspect-ratio:1;flex:0 0 22px;border-radius:6px;margin-right:10px;background:linear-gradient(135deg,#8c651f,#b28d43)}
.bond-launch::after{content:"";position:absolute;inset:-10px}
.bond-launch:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.brand,.stock-platform-header .logo{font-family:"IBM Plex Serif",Georgia,serif;font-weight:600;letter-spacing:-.01em;line-height:1.15}
.stock-platform-header .logo{font-size:24px;white-space:nowrap;flex:none}
.brand b,.stock-platform-header .logo b{font-weight:700}
.brand::before,.brand .stock-launch,.stock-platform-header .logo i{display:block;box-sizing:border-box;width:22px;height:22px;min-width:22px;aspect-ratio:1;flex:0 0 22px;border-radius:6px;box-shadow:none}
.stock-platform-header .logo i{margin-right:10px;background:linear-gradient(135deg,#8c651f,#b28d43)}
.stock-platform-header~.workspace h1{font-family:"IBM Plex Serif",Georgia,serif;letter-spacing:-.01em}
.platform-switch{display:inline-flex;align-self:flex-start;align-items:center;gap:3px;padding:3px;background:var(--panel-2,#e8e5dd);border:1px solid var(--line,#ddddd5);border-radius:9px;width:auto;max-width:100%;font-family:var(--font,system-ui,sans-serif)}
.platform-switch>a,.platform-switch>span{display:block;padding:7px 15px;border-radius:5px;text-decoration:none;font-size:12px;font-weight:600;line-height:20px;white-space:nowrap;color:var(--muted,#747979)}
.platform-switch>[aria-current=page]{background:var(--panel,#fff);color:var(--acc,#8c651f)}
.platform-switch>a:hover{color:var(--acc,#8c651f);background:rgba(140,101,31,.06)}
.platform-switch>a:focus-visible{outline:2px solid var(--acc,#8c651f);outline-offset:2px}
.stock-platform-header{height:auto;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 32px;background:white;border-bottom:1px solid var(--line)}
.platform-brand-row{display:flex;align-items:center;gap:20px;min-height:34px;width:100%}
.stock-platform-header .platform-switch{margin:0}
@media(max-width:760px){
  .platform-header,.stock-platform-header{padding:calc(6px + env(safe-area-inset-top)) 12px 6px!important}
  .platform-header .brand,.stock-platform-header .logo{font-size:21px!important;width:auto;flex:0 0 auto;gap:9px;align-self:flex-start;margin-top:2px}
  .platform-header .brand-by,.stock-platform-header .brand-by{display:block!important;position:absolute;left:29px;top:28px;font-size:9px;font-weight:500}
  .stock-platform-header .bond-launch{width:20px;height:20px;min-width:20px;flex-basis:20px;border-radius:5px}
  .brand,.stock-platform-header .logo{font-size:21px}
  .brand::before,.brand .stock-launch,.stock-platform-header .logo i{width:20px;height:20px;min-width:20px;flex-basis:20px;border-radius:5px}
  .stock-platform-header .prototype{display:none}
  header>.platform-switch{margin-top:7px}
  .platform-switch>a,.platform-switch>span{padding:5px 13px;font-size:11px;line-height:20px}
  .stock-platform-header{padding:calc(10px + env(safe-area-inset-top)) 16px 10px;gap:0}
  .platform-brand-row{min-height:38px}
  .stock-platform-header .platform-switch{margin-top:7px}
  html{scroll-padding-top:110px}
}
