/* C-10 Menu de ações (⋯) com submenu. Submenu opens to the inside of the screen. */
.menu-acoes { position: relative; display: flex; justify-content: flex-end; }
.menu-acoes__gatilho {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--r-field-panel); background: var(--surface);
  color: var(--ink); cursor: pointer;
}
.menu-acoes__gatilho[aria-expanded="true"] { background: var(--bg); }
.menu {
  position: absolute; top: 46px; right: 0; z-index: 30; width: 240px;
  display: flex; flex-direction: column; gap: 2px; padding: var(--sp-2);
  border: 1px solid var(--line); border-radius: var(--r-button-app);
  background: var(--surface); box-shadow: var(--shadow-menu);
}
.menu--sub { top: calc(-1 * var(--sp-2)); right: calc(100% - var(--sp-1)); width: 260px; }
.menu--sub-direita { right: auto; left: calc(100% - var(--sp-1)); }
.menu__item {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  width: 100%; min-height: var(--touch-min); padding: 0 var(--sp-5);
  border: none; border-radius: var(--r-field-panel); background: transparent; color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer;
}
.menu__item:hover, .menu__item:focus-visible, .menu__item[aria-expanded="true"] { background: var(--bg); }
.menu__item-com-sub { position: relative; }
/* W-02.2 WhatsApp submenu: group label, template name with the start of its text, blank last. */
.menu__grupo {
  margin: 0; padding: var(--sp-2) var(--sp-5) 0; text-align: left;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.menu__item--modelo { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding-block: var(--sp-2); }
.menu__resumo {
  display: block; max-width: 100%; font-size: var(--fs-label); font-weight: 400; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.menu__item--separado { border-top: 1px solid var(--line-2); border-radius: 0; color: var(--ink-2); }
