/* André OS · mobile polish
   Ajustes pequenos sobre o shell v2, sem efeito no desktop. */

html.aos-mobile .pmh-topbar {
  min-height: 64px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

html.aos-mobile .pmh-topbar h1 {
  font-size: clamp(21px, 5.7vw, 25px) !important;
}

html.aos-mobile .pmh-top-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* O cérebro vira uma ação do cabeçalho, em vez de flutuar sobre o conteúdo. */
html.aos-mobile .pmh-top-actions .aos-thinking-trigger,
html.aos-mobile .aos-thinking-trigger:not(.floating) {
  position: static !important;
  inset: auto !important;
  order: -1;
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 7px 18px rgba(31, 28, 52, .07) !important;
  transform: none !important;
}

html.aos-mobile .pmh-top-actions .aos-thinking-trigger .aos-thinking-orb,
html.aos-mobile .aos-thinking-trigger:not(.floating) .aos-thinking-orb {
  width: 28px !important;
  height: 28px !important;
  border-radius: 9px !important;
  font-size: 15px !important;
}

html.aos-mobile .pmh-top-actions .aos-thinking-trigger > span:last-child,
html.aos-mobile .aos-thinking-trigger:not(.floating) > span:last-child {
  display: none !important;
}

html.aos-mobile .pmh-top-actions > button {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 12px !important;
  font-size: 17px !important;
}

/* Botões do Radar mais leves e menos altos. */
html.aos-mobile .pmh-decision-actions {
  gap: 7px !important;
}

html.aos-mobile .pmh-decision-actions button,
html.aos-mobile .pmh-decision-actions button.primary {
  min-height: 39px !important;
  padding: 0 9px !important;
  border-radius: 10px !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
}

/* Botões de cabeçalho não precisam ocupar a largura inteira no celular. */
html.aos-mobile .pmh-section-head button,
html.aos-mobile .pmh-hero > button {
  align-self: flex-start !important;
  width: auto !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
}

/* Atalhos continuam em 2x2, mas deixam de parecer cards gigantes. */
html.aos-mobile .pmh-shortcuts button,
html.aos-mobile .pmh-shortcuts button:nth-child(1),
html.aos-mobile .pmh-shortcuts button:nth-child(2),
html.aos-mobile .pmh-shortcuts button:nth-child(3),
html.aos-mobile .pmh-shortcuts button:nth-child(4) {
  min-height: 70px !important;
  padding: 10px !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 2px 8px !important;
}

html.aos-mobile .pmh-shortcuts i {
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
  font-size: 16px !important;
}

html.aos-mobile .pmh-shortcuts strong {
  font-size: 12px !important;
}

html.aos-mobile .pmh-shortcuts span {
  font-size: 10px !important;
}

html.aos-mobile .pmh-active-context {
  min-height: 34px !important;
}
