/* Central de ajuda */
.badge { display: inline-block; min-width: 1.2rem; padding: 0 .35rem; border-radius: 999px; background: var(--danger); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1.2rem; text-align: center; vertical-align: middle; }
.ajuda-flutuante { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 50; }
.ajuda-flutuante summary { list-style: none; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--pri); color: #fff; font-size: 1.5rem; font-weight: 700; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); position: relative; }
.ajuda-flutuante summary::-webkit-details-marker { display: none; }
.ajuda-flutuante summary:hover { background: var(--pri-escuro); }
.ajuda-flutuante summary .badge { position: absolute; top: -.25rem; right: -.25rem; border: 2px solid #fff; }
.ajuda-menu { position: absolute; right: 0; bottom: 3.8rem; width: 16rem; background: #fff; border: 1px solid #dfe3ea; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: .7rem; display: flex; flex-direction: column; gap: .15rem; }
.ajuda-menu strong { padding: .2rem .4rem .4rem; }
.ajuda-menu a { padding: .45rem .5rem; border-radius: 6px; color: inherit; }
.ajuda-menu a:hover { background: #f1ede2; text-decoration: none; }
.ajuda-form { max-width: 760px; }
.tipos { display: flex; gap: .5rem; flex-wrap: wrap; border: 0; padding: 0; margin: 0 0 .5rem; }
.tipo-op { display: block; }
.tipo-op input { position: absolute; opacity: 0; width: 1px; }
.tipo-op span { display: inline-block; padding: .5rem .9rem; border: 1px solid #cdd2da; border-radius: 999px; cursor: pointer; font-weight: 500; }
.tipo-op input:checked + span { background: #e6efe0; border-color: var(--pri); color: var(--pri); }
.tipo-op input:focus-visible + span { outline: 2px solid rgba(30,122,76,.25); }
.anexos-campo .escolher { display: inline; font-weight: 500; }
.miniaturas { display: flex; gap: .5rem; flex-wrap: wrap; }
.miniaturas .mini { position: relative; border: 1px solid #dfe3ea; border-radius: 6px; padding: .2rem; background: #fafbfc; font-size: .8rem; }
.miniaturas .mini img { display: block; max-height: 90px; max-width: 160px; }
.miniaturas .mini button { position: absolute; top: -.5rem; right: -.5rem; border: 0; border-radius: 50%; width: 1.3rem; height: 1.3rem; background: var(--danger); color: #fff; cursor: pointer; line-height: 1; }
.colar.arrastando { outline: 2px dashed var(--pri); }
.chamado-item { color: inherit; }
.chamado-item:hover { text-decoration: none; border-color: #c9d8bf; }
.chamado-item.nova { border-left: 4px solid var(--danger); }
.chamado-item h3 { margin: 0 0 .2rem; font-size: 1rem; }
.tag.st-aberto { background: #fffaeb; color: var(--warn); }
.tag.st-em_andamento { background: #e6efe0; color: var(--pri); }
.tag.st-respondido { background: #f4f0ff; color: var(--fav); }
.tag.st-resolvido { background: #ecfdf3; color: var(--ok); }
.conversa { display: flex; flex-direction: column; gap: .7rem; margin: 1rem 0; max-width: 820px; }
.msg { border-radius: 10px; padding: .7rem .9rem; border: 1px solid #dfe3ea; background: #fff; max-width: 92%; }
.msg.suporte { align-self: flex-end; background: #eef6e6; border-color: #d7e6c4; }
.msg-texto { white-space: pre-wrap; margin-top: .3rem; overflow-wrap: anywhere; }
.msg-anexos { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.msg-anexos img { max-width: 320px; max-height: 220px; border-radius: 6px; border: 1px solid #dfe3ea; }
.filtros-suporte label { display: flex; gap: .4rem; align-items: center; }
.filtros-suporte select { width: auto; }
label.inline { display: flex; gap: .4rem; align-items: center; }
label.inline select { width: auto; }
@media (max-width: 600px) { .msg-anexos img { max-width: 100%; } .ajuda-flutuante { right: .8rem; bottom: .8rem; } }
