
/* Nome em destaque e identidade Origami no celular */
#app .agenda-greeting-name, #accountDrawer #drawerIdentity h3 {
  color: var(--agenda-name-ink, var(--ink));
  overflow-wrap: anywhere;
}
#accountDrawer #drawerIdentity {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 2px 12px;
  padding: 12px 14px;
  margin: 12px 0 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
}
#accountDrawer #drawerIdentity .avatar {
  width: 44px;
  height: 44px;
  margin: 0;
  grid-row: span 2;
}
#accountDrawer #drawerIdentity h3, #accountDrawer #drawerIdentity p { margin: 0; }
#accountDrawer #drawerIdentity h3 { font-size: 18px; line-height: 1.25; }
.agenda-personalization input[type="color"] { min-height: 44px; }

@media screen and (max-width: 760px) {
  #app .workspace { min-width: 0; }
  #app .topbar {
    gap: 8px;
    padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
  }
  #app .topbar .mobile-brand { flex: 0 0 auto; }
  #app .mobile-nav { padding-inline: max(4px, env(safe-area-inset-left)) max(4px, env(safe-area-inset-right)); }
  #app .mobile-nav .nav-item { min-width: 0; }
  #app .mobile-nav .nav-icon,
  #app .mobile-nav .nav-item.active .nav-icon { width: min(38px, 100%); }
  #app .mobile-nav .nav-item > span:last-child { white-space: normal; overflow-wrap: anywhere; }
  #app .page-heading:has(+ .daily-phrase) { gap: 10px; }
  #app .page-heading:has(+ .daily-phrase) > div:first-child { min-width: 0; }
  #app .page-heading:has(+ .daily-phrase) h1 { line-height: 1.08; }
  #app .hero.daily-phrase { padding: 8px 11px; }
  #app .hero.daily-phrase h2 { font-size: 15px; }
  #app .agenda-personalization { width: 100%; }
  #app .agenda-personalization-actions > button { min-height: 44px; }
}
