/* Post-auth chrome: GADMATH | person — driver console + rider home (all tab views). */
.top-mts-bar,
.sw-app-chrome-bar {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line, var(--cp77-line));
  width: 100%;
}

.mts-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.mts-name-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

#mtsGadmathBrand,
#riderGadmathBrand,
.mts-driver-name,
.mts-member-name {
  overflow: visible;
}

/* Wordmark in header chrome: GADMATH | sw | PERSON */
.mts-sw-mark {
  color: var(--sw-cyan, var(--cp77-cyan, #00f0ff));
  font-family: var(--sw-font-display, var(--cp77-display-font, 'Orbitron', sans-serif));
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.75);
  display: inline-flex;
  align-items: center;
  user-select: none;
  flex-shrink: 0;
}

.mts-name-sep {
  color: rgba(5, 217, 232, 0.45);
  font-family: var(--cp77-font);
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
  margin: 0 4px;
}

.mts-sw-mark.cp77-gadmath-type {
  flex: 0 0 auto;
  color: var(--cp77-cyan);
}

#mtsGadmathBrand.cp77-gadmath-type,
#riderGadmathBrand.cp77-gadmath-type,
.mts-person-name.cp77-gadmath-type,
.mts-driver-name.cp77-gadmath-type,
.mts-member-name.cp77-gadmath-type {
  display: inline-flex;
  align-items: center;
  overflow: visible;
}

#mtsGadmathBrand.cp77-gadmath-type,
#riderGadmathBrand.cp77-gadmath-type {
  flex: 0 0 auto;
  white-space: nowrap;
}

.mts-person-name,
.mts-driver-name,
.mts-member-name {
  line-height: 1.2;
  min-width: 0;
  flex: 0 1 auto;
  white-space: nowrap;
  overflow: visible !important;
}

header.header-shell .sw-app-chrome-bar {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom-color: rgba(5, 217, 232, 0.14);
}

header.header-shell .brand-bar {
  align-items: flex-start;
}

header.header-shell .sw-app-chrome-col {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

header.header-shell .brand-titles--legacy {
  display: none;
}
