/* Largura da coluna: token + literal 28rem (fallback se @import/variável falhar no servidor) */
/* Shell da app */
.ds-app-body .app {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--ds-main-max, 28rem);
  margin-inline: auto;
  min-height: max(884px, 100dvh);
  padding: calc(var(--ds-top-bar-h, 4rem) + 1.5rem) 1.25rem calc(var(--ds-bottom-nav-h, 5rem) + 2rem);
}

/* Ritmo vertical: espaço igual entre preview, texto, TTS, áudio, rodapés */
.ds-main {
  display: flex;
  flex-direction: column;
  gap: var(--ds-v-stack, 1.25rem);
  width: 100%;
  min-width: 0;
}

/* Top bar — flex centraliza o bloco interno no viewport (igual à coluna .app) */
.top-app-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: var(--ds-top-bar-h, 4rem);
  height: auto;
  padding: 0;
  background: color-mix(in srgb, var(--ds-background) 70%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.top-app-bar__inner {
  box-sizing: border-box;
  flex: 0 1 auto;
  width: 100%;
  max-width: var(--ds-main-max, 28rem);
  height: 100%;
  margin: 0;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.top-app-bar__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.top-app-bar__brand:hover,
.top-app-bar__brand:focus-visible {
  text-decoration: none;
}

.top-app-bar__nav {
  display: none;
}

.top-app-bar__auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
}

.top-app-bar__user {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  max-width: 9rem;
}

.top-app-bar__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.top-app-bar__user-name {
  font-family: var(--ds-font-body, "Inter", system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-app-bar__auth-link {
  font-family: var(--ds-font-body, "Inter", system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.top-app-bar__auth-link:hover {
  color: var(--primary-hover);
}

.top-app-bar__auth-link--cta {
  padding: 0.35rem 0.65rem;
  border-radius: var(--ds-radius-md, 8px);
  background: var(--primary-soft);
  text-decoration: none;
}

.top-app-bar__auth-link--cta:hover {
  background: color-mix(in srgb, var(--primary) 32%, transparent);
  text-decoration: none;
}

.ds-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--ds-radius-md);
  background: var(--primary);
  color: var(--primary-btn-text);
  line-height: 0;
}

.ds-logo-mark img {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.top-app-bar__title {
  margin: 0;
  font-family: var(--ds-font-headline);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}

.top-app-bar__accent {
  color: var(--primary);
}

/* Secções de conteúdo */
.ds-section {
  display: flex;
  flex-direction: column;
  gap: var(--ds-v-stack, 1.25rem);
}

.ds-section--stack {
  gap: var(--ds-v-stack, 1.25rem);
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

label.field-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ds-on-surface-variant);
}

.label-row-spaced {
  margin-top: 0.5rem;
}

/* Preview */
.preview-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  background: var(--ds-surface-container-low);
  border: 2px dashed color-mix(in srgb, var(--ds-outline-variant) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.preview-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ds-on-surface-variant);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
  cursor: pointer;
  border-radius: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}

.preview-placeholder:hover {
  background: color-mix(in srgb, var(--ds-surface-container-high) 35%, transparent);
  color: var(--ds-on-surface);
}

.preview-placeholder:focus {
  outline: none;
}

.preview-placeholder:focus-visible {
  outline: 2px solid var(--ds-primary);
  outline-offset: -2px;
}

.preview-placeholder[hidden] {
  display: none !important;
}

.preview-placeholder__label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
}

#preview-img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(50vh, 280px);
  margin: auto;
  object-fit: contain;
}

#preview-img[hidden] {
  display: none !important;
}

.live-video {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(52vh, 320px);
  margin: auto;
  object-fit: contain;
  border-radius: calc(var(--ds-radius-lg) - 4px);
}

.live-video[hidden] {
  display: none !important;
}

/* Máscara opcional (região desenhada) sobre vídeo ou imagem na pré-visualização */
.preview-mask-overlay {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border-radius: calc(var(--ds-radius-lg) - 6px);
  touch-action: none;
}

.preview-mask-overlay.is-interactive {
  pointer-events: auto;
  cursor: crosshair;
}

.preview-mask-overlay.hidden {
  display: none !important;
}

.preview-wrap--ocr-busy .preview-mask-overlay.is-interactive {
  pointer-events: none;
  opacity: 0.4;
}

.preview-mask-actions {
  position: absolute;
  bottom: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  max-width: calc(100% - 1rem);
}

.preview-mask-actions.hidden {
  display: none !important;
}

.preview-mask-btn {
  padding: 0.3rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ds-on-surface);
  background: color-mix(in srgb, var(--ds-surface-container-high) 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--ds-outline-variant) 45%, transparent);
  border-radius: var(--ds-radius-md, 8px);
  cursor: pointer;
  box-shadow: 0 1px 3px color-mix(in srgb, #000 18%, transparent);
}

.preview-mask-btn:hover {
  background: var(--ds-surface-container-high);
}

.preview-mask-btn--primary {
  color: var(--ds-on-primary);
  background: var(--ds-primary-dim);
  border-color: color-mix(in srgb, var(--ds-primary) 40%, transparent);
}

.preview-mask-btn--primary:hover {
  background: color-mix(in srgb, var(--ds-primary-dim) 88%, #fff);
}

.preview-mask-btn[hidden] {
  display: none !important;
}

.btn-live-capture,
.btn-live-cancel {
  position: absolute;
  top: 0.5rem;
  z-index: 4;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ds-on-surface);
  background: color-mix(in srgb, var(--ds-surface-container-high) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--ds-outline-variant) 50%, transparent);
  border-radius: var(--ds-radius-md, 8px);
  cursor: pointer;
  box-shadow: 0 1px 4px color-mix(in srgb, #000 25%, transparent);
}

.btn-live-capture {
  left: 0.5rem;
  color: var(--ds-on-primary);
  background: var(--ds-primary-dim);
  border-color: color-mix(in srgb, var(--ds-primary) 45%, transparent);
}

.btn-live-capture:hover {
  background: color-mix(in srgb, var(--ds-primary-dim) 88%, #fff);
}

.btn-live-capture.hidden {
  display: none !important;
}

.btn-live-cancel {
  right: 0.5rem;
}

.btn-live-cancel:hover {
  background: var(--ds-surface-container-high);
}

.btn-live-cancel[hidden] {
  display: none !important;
}

/* Controles TTS — mesmo ritmo que o resto do main */
.section-tts {
  display: flex;
  flex-direction: column;
  gap: var(--ds-v-stack, 1.25rem);
}

/* Grupo rótulo + controlo (Velocidade / Modo de voz) — mesma medida que o stack global */
.ds-stack-field {
  display: flex;
  flex-direction: column;
  gap: var(--ds-v-stack, 1.25rem);
}

.ctrl-row {
  display: flex;
  gap: 0.5rem;
}

.ctrl-row-idle,
.ctrl-row-playing {
  margin: 0;
}

/* Bottom navigation — flex no viewport + fila horizontal explícita */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: var(--ds-bottom-nav-h, 5rem);
  padding: 0;
  padding-bottom: max(0.25rem, env(safe-area-inset-bottom, 0));
  background: color-mix(in srgb, var(--ds-background) 70%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  border-radius: 1rem 1rem 0 0;
  box-shadow: var(--shadow-nav);
}

.bottom-nav__inner {
  box-sizing: border-box;
  flex: 0 1 auto;
  width: 100%;
  max-width: var(--ds-main-max, 28rem);
  height: 100%;
  margin: 0;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.25rem 0.25rem;
  border: none;
  background: none;
  font-family: var(--ds-font-body);
  font-size: 0.625rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--ds-on-surface-variant) 60%, transparent);
  cursor: default;
  pointer-events: none;
  text-align: center;
}

a.bottom-nav__item--link,
a.bottom-nav__item--link:visited,
a.bottom-nav__item--link:hover,
a.bottom-nav__item--link:focus-visible,
a.bottom-nav__item--link:active {
  text-decoration: none;
}

a.bottom-nav__item--link {
  color: color-mix(in srgb, var(--ds-on-surface-variant) 60%, transparent);
  cursor: pointer;
  pointer-events: auto;
  border-radius: var(--ds-radius-lg);
  transition: color 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

a.bottom-nav__item--link:hover {
  color: var(--ds-on-surface);
  opacity: 1;
}

.bottom-nav__item--muted {
  opacity: 0.55;
  cursor: not-allowed;
}

.bottom-nav__item .ds-mso {
  font-size: 1.5rem;
}

.bottom-nav__item--active {
  color: var(--ds-primary);
  pointer-events: none;
}

/* Item activo como <a>: mantém estilo mas permite clicar (ex.: ir à home / perfil). */
a.bottom-nav__item--link.bottom-nav__item--active {
  pointer-events: auto;
  cursor: pointer;
}

.bottom-nav__item--pill {
  background: var(--ds-surface-container-high);
  padding: 0.25rem 0.85rem;
  border-radius: var(--ds-radius-lg);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ds-primary) 30%, transparent);
}

.bottom-nav__item--active .ds-mso {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.site-footer {
  display: none;
}

@media (min-width: 900px) {
  .ds-app-body .app {
    max-width: none;
    min-height: 100dvh;
    padding: calc(var(--ds-top-bar-h, 4rem) + 2rem) clamp(2rem, 4vw, 4rem) calc(3.5rem + env(safe-area-inset-bottom, 0));
  }

  .ds-main {
    max-width: 90rem;
    margin-inline: auto;
  }

  .top-app-bar {
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .top-app-bar__inner {
    max-width: none;
    padding: 0 clamp(2rem, 4vw, 4rem);
    display: grid;
    grid-template-columns: minmax(13rem, auto) minmax(0, 1fr) auto;
  }

  .top-app-bar__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .top-app-bar__nav::-webkit-scrollbar {
    display: none;
  }

  .top-app-bar__nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    min-height: 2.5rem;
    padding: 0 0.8rem;
    border-radius: var(--ds-radius-md, 8px);
    color: color-mix(in srgb, var(--ds-on-surface-variant) 78%, transparent);
    font-family: var(--ds-font-body, "Inter", system-ui, sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .top-app-bar__nav-item:hover,
  .top-app-bar__nav-item:focus-visible {
    background: var(--ds-surface-container-high);
    color: var(--ds-on-surface);
    text-decoration: none;
  }

  .top-app-bar__nav-item--active {
    background: var(--ds-surface-container-high);
    color: var(--ds-primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ds-primary) 35%, transparent);
  }

  .top-app-bar__nav-item .ds-mso {
    font-size: 1.15rem;
  }

  .top-app-bar__nav-item--active .ds-mso {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
  }

  .top-app-bar__user {
    max-width: 12rem;
  }

  .bottom-nav {
    display: none;
  }

  .site-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: flex;
    justify-content: center;
    min-height: 3.5rem;
    background: var(--ds-background);
    border-top: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  }

  .site-footer__inner {
    box-sizing: border-box;
    width: 100%;
    padding: 0 clamp(1rem, 1.6vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .site-footer__brand,
  .site-footer__legal {
    display: flex;
    align-items: center;
  }

  .site-footer__brand {
    min-width: 0;
    gap: 0.55rem;
    color: color-mix(in srgb, var(--ds-on-surface-variant) 62%, transparent);
    font-family: var(--ds-font-body, "Inter", system-ui, sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .site-footer__brand img {
    flex: 0 0 auto;
  }

  .site-footer__legal {
    justify-content: flex-end;
    gap: clamp(1.3rem, 2.3vw, 2rem);
    min-width: 0;
  }

  .site-footer__legal a {
    color: color-mix(in srgb, var(--ds-on-surface-variant) 86%, transparent);
    font-family: var(--ds-font-body, "Inter", system-ui, sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
  }

  .site-footer__legal a:hover,
  .site-footer__legal a:focus-visible {
    color: var(--ds-on-surface);
    text-decoration: none;
  }

  .ds-main:has(#section-preview) {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
    align-items: start;
    gap: 1.5rem;
  }

  .ds-main:has(#section-preview) #section-preview {
    grid-column: 1;
    grid-row: 1 / span 5;
  }

  .ds-main:has(#section-preview) #section-text,
  .ds-main:has(#section-preview) .section-tts,
  .ds-main:has(#section-preview) .audio-wrap,
  .ds-main:has(#section-preview) .ds-status,
  .ds-main:has(#section-preview) .meta {
    grid-column: 2;
  }

  .ds-main:has(#section-preview) .preview-wrap {
    min-height: min(52dvh, 36rem);
  }

  .ds-main:has(#section-preview) #preview-img,
  .ds-main:has(#section-preview) .live-video {
    max-height: min(64dvh, 44rem);
  }

  .ds-main:has(#section-preview) .ds-card--text {
    min-height: 16rem;
  }

  .ds-main:has(#section-preview) .ds-textarea {
    max-height: 24rem;
  }
}

/* ---- Search bar (desktop, hidden on mobile) ---- */
.top-app-bar__search {
  display: none;
}

/* ---- Search bar input shared style ---- */
.top-app-bar__search-input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.15s;
}

.top-app-bar__search-input::placeholder {
  color: var(--text-dim);
}

.top-app-bar__search-input:focus {
  border-color: var(--primary);
}

/* ---- Hamburger (mobile only) ---- */
.top-app-bar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.top-app-bar__hamburger .ds-mso {
  font-size: 1.5rem;
}

/* ---- Mobile search (below header bar) ---- */
.top-app-bar__mobile-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.25rem 0.65rem;
  width: 100%;
  max-width: var(--ds-main-max, 28rem);
  box-sizing: border-box;
}

.top-app-bar__mobile-search .ds-mso {
  color: var(--text-dim);
  font-size: 1.15rem;
}

/* ---- Auth button as primary CTA ---- */
.top-app-bar__auth-link--cta {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md, 8px);
  background: var(--primary);
  color: var(--primary-btn-text);
  text-decoration: none;
  font-weight: 700;
}

.top-app-bar__auth-link--cta:hover {
  background: var(--primary-hover);
  color: var(--primary-btn-text);
  text-decoration: none;
}

/* ---- Mobile menu dropdown ---- */
.top-app-bar__mobile-menu {
  position: fixed;
  top: var(--top-bar-h, 4rem);
  left: 0;
  right: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.25rem 1rem;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.top-app-bar__mobile-menu.hidden {
  display: none;
}

/* ---- Search Results Dropdown ---- */
.bgbot-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  min-width: 100%;
  margin-top: 0.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  z-index: 60;
  display: none;
}

.bgbot-search-results.active {
  display: block;
}

.bgbot-search-results__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  white-space: nowrap;
}

.bgbot-search-results__thumb {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.bgbot-search-results__thumb--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem !important;
  background: var(--surface-3);
  color: var(--text-dim);
}

.bgbot-search-results__item-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bgbot-search-results__item:last-child {
  border-bottom: none;
}

.bgbot-search-results__item:hover {
  background: var(--surface-3);
  text-decoration: none;
  color: var(--text);
}

.bgbot-search-results__year {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.bgbot-search-results__empty {
  padding: 0.75rem 1rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-align: center;
}

.top-app-bar__mobile-menu.hidden {
  display: none;
}

.top-app-bar__mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}

.top-app-bar__mobile-menu-item:last-of-type {
  border-bottom: none;
}

.top-app-bar__mobile-menu-item:hover {
  color: var(--text);
}

.top-app-bar__mobile-menu-item .ds-mso {
  font-size: 1.15rem;
  color: var(--primary);
}

.top-app-bar__mobile-menu-item--active {
  color: var(--text) !important;
}

.top-app-bar__mobile-menu-item--active .ds-mso {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.top-app-bar__mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--primary-btn-text);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}

.top-app-bar__mobile-menu-cta:hover {
  background: var(--primary-hover);
}

/* ---- Desktop overrides for new elements ---- */
@media (min-width: 900px) {
  .top-app-bar__search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 0;
    max-width: none;
    padding-right: 10%;
  }

  .top-app-bar__search .ds-mso {
    color: var(--text-dim);
    font-size: 1.1rem;
  }

  .top-app-bar__hamburger {
    display: none;
  }

  .top-app-bar__mobile-search {
    display: none;
  }

  .top-app-bar__mobile-menu {
    display: none !important;
  }

  .top-app-bar__inner {
    grid-template-columns: minmax(13rem, auto) minmax(0, 1fr) auto auto;
  }
}
