
.topbar .topbar-wordmark img.demo-logo, .bottom-dock .dock-brand img.demo-logo { display:block; object-fit:contain; filter:none!important; }
.topbar-wordmark .demo-logo {height:29px; width:auto; opacity:1; }
.dock-brand .demo-logo {height:34px!important; width:42px!important; max-width:100%; }
@media (min-width:769px) {body[data-navigation-mode="compact"] .dock-brand .demo-logo {height:24px!important;width:30px!important;}}
@media (max-width:980px) {
 .topbar {min-height:48px!important;padding-top:0!important;}
 .topbar-center-stage {display:flex!important;top:50%;gap:8px;max-width:23%;pointer-events:none;}
 .topbar-center-stage::after{display:none}
 .topbar-wordmark {display:flex!important;}
 .topbar-wordmark .demo-logo {max-width:100%;height:18px;}
 .topbar-center-stage .topbar-currency-widget{display:none;}
}
body .topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(12px, 1.6vw, 32px);
}
.topbar .dltk-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar .dltk-tools:first-of-type { justify-content: space-between; }
.topbar .dltk-tools:last-child { justify-content: flex-end; }
.topbar .topbar-primary { min-width: 0; flex-shrink: 1; overflow-x: auto; scrollbar-width: none; }
.topbar .topbar-wordmark { display: flex; }
.topbar .topbar-currency-widget { display: block; width: auto; flex: none; }
.topbar .topbar-currency-trigger {
  width: auto; display: grid; grid-template-columns: repeat(3, max-content) auto;
  align-items: center; column-gap: 8px; padding: 0 4px; height: 34px;
}
.topbar .topbar-currency-source, .topbar .topbar-currency-separator { display: none; }
.topbar .topbar-currency-quote { display: grid; gap: 1px; justify-items: start; line-height: 1.1; }
.topbar .topbar-currency-quote + .topbar-currency-quote { padding-inline-start: 4px; }
.topbar .topbar-currency-quote b { font-size: 10px; }
.topbar .topbar-currency-quote strong { font-size: 12px; font-variant-numeric: tabular-nums; }
.topbar .tb-search { min-width: 0; }
@media (max-width: 1150px) {
  body[data-navigation-top] .topbar, body .topbar { height: auto; padding-block: 4px !important; row-gap: 3px; }
  .topbar .dltk-tools { display: contents; }
  .topbar .topbar-primary { grid-area: 1 / 1; }
  .topbar .topbar-wordmark { grid-area: 1 / 2; }
  .topbar .topbar-actions { grid-area: 1 / 3; justify-self: end; }
  .topbar .topbar-currency-widget { grid-area: 2 / 1 / 3 / 4; justify-self: start; }
  .topbar .tb-search { grid-area: 2 / 1 / 3 / 4; justify-self: end; width: min(420px, calc(100% - 212px)); }
  body[data-navigation-top] { --topbar-reserve: 96px; }
}
