/* Keep the brand and account controls together; search gets its own mobile row. */
@media (max-width:900px) {
  :root .kbpos-topbar.kbpos-shared-header:not(.kbpos-shared-header--no-navigation) {
    grid-template-columns:34px minmax(124px,1fr) auto;
    grid-template-rows:auto minmax(38px,auto);
    gap:10px 8px;padding:10px 14px 12px;height:auto;
  }
  :root .kbpos-shared-header .kbpos-mobile-brand {
    width:124px;min-width:124px;max-width:124px;min-height:0;height:auto;
    margin:0;padding:0;justify-self:start;
  }
  :root .kbpos-shared-header .kbpos-mobile-brand img {width:100%;height:auto;object-fit:contain;aspect-ratio:1938/812}
  :root .kbpos-shared-header .kbpos-mobile-brand::after {font-size:10px;line-height:1.35;word-break:normal;overflow-wrap:normal;white-space:normal;text-align:center;margin:2px 0 0}
  :root .kbpos-shared-header .kbpos-header-actions {min-width:0;gap:3px}
  :root .kbpos-shared-header .kb-global-search {position:absolute;left:158px;right:14px;bottom:12px;width:auto;min-width:0;max-width:none;margin:0}
  :root .kbpos-shared-header .kb-global-search input {height:38px;min-width:0;width:100%;font-size:14px;padding:8px 12px}
  :root .kbpos-shared-header .kbpos-local-clock {grid-column:1 / 3;grid-row:2;max-width:136px;min-height:38px;margin:0}
  :root .kbpos-shared-header .kb-global-search__results {width:min(540px,calc(100vw - 28px));text-align:left}
}
@media (max-width:380px) {
  :root .kbpos-topbar.kbpos-shared-header:not(.kbpos-shared-header--no-navigation) {grid-template-columns:31px minmax(108px,1fr) auto;padding-inline:10px;column-gap:5px}
  :root .kbpos-shared-header .kbpos-mobile-brand {width:108px;min-width:108px;max-width:108px}
  :root .kbpos-shared-header .kb-global-search {left:148px;right:10px}
}
