/* r120 · Rob.i: cor própria (violeta), diferente dos avisos que já existem (r141: avisos menores) */
/* r141: avisos pequenos no canto de baixo à direita (um aberto por vez, o resto vira "+N", recolher numa pílula) */
.r120-avisos { position: fixed; right: 14px; bottom: 14px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  width: 272px; max-width: calc(100vw - 28px); max-height: 46vh; overflow-y: auto; overscroll-behavior: contain; pointer-events: none; }
.r120-avisos > * { pointer-events: auto; }
.r120-avisos.recolhido { width: auto; }
.r120-aviso { position: relative; width: 100%; box-sizing: border-box; background: linear-gradient(135deg, #5b21b6, #7c3aed); color: #fff; border-radius: 12px;
  padding: 8px 10px 8px; box-shadow: 0 6px 18px rgba(91, 33, 182, .35); border: 1px solid rgba(255, 255, 255, .25); animation: r120-entra .3s ease-out; font-size: 12.5px; }
.r141-topo { display: flex; align-items: center; gap: 6px; }
.r141-topo b { flex: 1; min-width: 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r120-aviso p { margin: 3px 0 6px; font-size: 12.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r120-aviso.com-resp p { -webkit-line-clamp: 4; }
.r141-acoes { display: flex; align-items: center; gap: 10px; }
.r120-ir { display: inline-block; background: #fff; color: #5b21b6 !important; font-weight: 700; border-radius: 999px; padding: 3px 11px; border: 0; font: inherit; font-weight: 700;
  font-size: 12px; cursor: pointer; text-decoration: none; line-height: 1.4; }
.r141-ver, .r141-abrir { color: #ede9fe !important; font-size: 11.5px; text-decoration: underline; }
.r120-x { background: transparent; border: 0; color: #fff; font-size: 17px; cursor: pointer; line-height: 1; padding: 0 2px; flex: none; }
.r141-resp { margin-top: 6px; display: flex; flex-direction: column; gap: 5px; }
.r141-resp textarea { width: 100%; box-sizing: border-box; border-radius: 8px; border: 0; padding: 5px 7px; font: inherit; font-size: 12.5px; color: #1f1147; resize: vertical; min-height: 38px; }
.r141-resp-linha { display: flex; align-items: center; gap: 10px; }
.r141-enviar { background: #fff; color: #5b21b6; border: 0; border-radius: 999px; padding: 3px 12px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.r141-enviar:disabled { opacity: .6; cursor: default; }
.r141-res { color: #f5f3ff; font-size: 11.5px; }
.r141-mais, .r141-recolher, .r141-pilula, .r120-pilula { background: #ede9fe; color: #5b21b6 !important; border: 1px solid #c4b5fd; border-radius: 999px; padding: 3px 10px;
  font: inherit; font-size: 12px; text-decoration: none; box-shadow: 0 3px 10px rgba(0, 0, 0, .12); cursor: pointer; white-space: nowrap; }
.r141-recolher { padding: 1px 9px; font-size: 11px; box-shadow: none; }
.r141-pilula { background: linear-gradient(135deg, #5b21b6, #7c3aed); color: #fff !important; border-color: #5b21b6; font-weight: 600; }
@media (max-width: 600px) { .r120-avisos { width: 240px; right: 8px; bottom: 8px; max-height: 38vh; } }
@keyframes r120-entra { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

.r120-topo h2 small { font-weight: 400; color: #7c3aed; font-size: .6em; margin-left: 6px; }
.r120-chamados { border-left: 4px solid #7c3aed; }
.r120-lista { list-style: none; padding: 0; margin: 0; }
.r120-lista li { padding: 8px 0; border-bottom: 1px solid rgba(124, 58, 237, .15); }
.r120-rasc { border: 1px solid rgba(124, 58, 237, .25); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.r120-rasc textarea, .r120-funcao textarea, .r120-chamado-tela textarea, #r120-texto { width: 100%; box-sizing: border-box; }
.r120-rasc form { display: inline-block; margin: 6px 8px 0 0; }
.r120-rasc form:first-of-type { display: block; }
.r120-cliente { background: rgba(124, 58, 237, .07); border-radius: 10px; padding: 6px 10px; margin: 6px 0; }
.r120-cliente p { margin: 4px 0; }
.r120-resumo { color: #6b7280; }
.r120-funcoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.r120-funcao { border: 1px solid rgba(0, 0, 0, .1); border-radius: 12px; padding: 12px 14px; }
.r120-funcao.ligada { border-color: #7c3aed; box-shadow: 0 0 0 2px rgba(124, 58, 237, .15); }
.r120-funcao h4 small { font-weight: 400; color: #6b7280; }
.r120-funcao label { display: inline-block; margin: 4px 10px 4px 0; }
.r120-pino { background: #7c3aed; color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .7em; vertical-align: middle; }
.r120-pergunta { font-size: 1.15em; font-weight: 600; color: #5b21b6; }
.r120-conta { color: #7c3aed; font-weight: 600; }
.r120-gravando { background: #dc2626 !important; color: #fff !important; }
.r120-conversa { display: flex; flex-direction: column; gap: 8px; }
.r120-msg { max-width: 80%; border-radius: 12px; padding: 6px 10px; background: rgba(0, 0, 0, .05); }
.r120-msg.out { align-self: flex-end; background: rgba(124, 58, 237, .1); }
.r120-msg.nota { align-self: center; background: rgba(234, 179, 8, .15); }
.r120-msg p { margin: 2px 0 0; white-space: pre-wrap; }
/* r141 · tela do chamado: "Enviar agora" na frente, ao lado do Ditar */
.r141-linha-env { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.r141-enviar-agora { background: #7c3aed !important; border-color: #7c3aed !important; color: #fff !important; font-weight: 700; padding: .55rem 1.3rem; }
.r141-enviar-agora:disabled { opacity: .6; }
