/* Conecta V28 | Ajustes concentrados para lançamento */
/* Três buscas populares: contraste consistente, nenhum chip permanentemente escuro. */
#page-home .hero-quick-actions {gap:10px!important;align-items:center!important}
#page-home .hero-quick-actions button,
#page-home .hero-quick-actions button.is-active,
#page-home .hero-quick-actions button:hover,
#page-home .hero-quick-actions button:hover:not(.is-active) {
  background:#edf5ee!important;color:#194e37!important;
  border:1px solid #c9ddce!important;
  box-shadow:0 3px 10px rgba(28,80,49,.06)!important;
  font-weight:750!important;border-radius:999px!important;
  min-height:43px!important;padding:10px 19px!important;
  transform:none!important;
}
#page-home .hero-quick-actions button.is-active {background:#dceee2!important;border-color:#83b897!important;color:#0d4731!important}
#page-home .hero-quick-actions button:hover:not(.is-active){background:#e3f0e5!important;border-color:#a6d1b4!important}
#page-home .hero-quick-actions button:focus-visible{outline:3px solid #41845b!important;outline-offset:3px!important}
#page-home .hero-quick-actions button:active {transform:scale(.98)!important}
#page-home .hero-quick-actions button span {display:none!important}
/* Categorias sem cortes, mesmo em barras laterais estreitas. */
#page-explore .sidebar-categories {
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 gap:6px!important;max-height:480px!important;overflow-y:auto!important;
 overflow-x:hidden!important;padding:1px 4px 8px 0!important;scrollbar-width:thin;
}
#page-explore .sidebar-category {
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 min-height:52px!important;padding:8px 12px!important;gap:12px!important;
 font-size:13px!important;line-height:1.35!important;font-weight:650!important;
 white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;
 text-align:left!important;border-radius:13px!important;
}
#page-explore .sidebar-category-square{flex:0 0 36px!important;min-width:36px!important;width:36px!important;height:36px!important}
#page-explore .sidebar-category-square svg{width:18px!important;height:18px!important}
body > #v19FilterSheet .sidebar-categories{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 gap:7px!important;max-height:none!important;overflow:visible!important;
 padding:0!important;
}
body > #v19FilterSheet .sidebar-category{
 display:flex!important;align-items:center!important;flex:auto!important;
 width:100%!important;min-width:0!important;min-height:51px!important;
 padding:8px 12px!important;gap:12px!important;
 white-space:normal!important;overflow-wrap:normal!important;
 font-weight:650!important;font-size:13px!important;
}
body > #v19FilterSheet .sidebar-category-square{flex:0 0 35px!important;min-width:35px!important}
/* Não mostrar o bloco com seta diagonal sobre as fotografias de serviços. */
#page-home .category-go,#page-home .category-item .category-go {display:none!important}
/* Chat mobile: botão de voltar evidente e confortável ao toque. */
@media(max-width:900px) {
 #page-home .hero-quick-actions{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;padding:4px 2px 12px!important;scrollbar-width:none}
 #page-home .hero-quick-actions button{flex:0 0 auto!important;font-size:12px!important;padding:10px 17px!important}
 #page-inbox .chat-head-main {flex-wrap:wrap!important;align-items:center!important;row-gap:12px!important;column-gap:10px!important}
 #page-inbox .v27-chat-back {
   display:flex!important;align-items:center!important;justify-content:flex-start!important;
   flex:0 0 100%!important;width:100%!important;height:46px!important;min-height:46px!important;
   gap:10px!important;padding:0 14px!important;
   background:#134a36!important;color:#fff!important;border:1px solid #134a36!important;
   border-radius:13px!important;font-size:13px!important;font-weight:750!important;
   box-shadow:0 4px 13px rgba(10,55,37,.16)!important;
   cursor:pointer;touch-action:manipulation;
 }
 #page-inbox .v27-chat-back svg{width:19px!important;height:19px!important;stroke:currentColor!important;flex:none}
 #page-inbox .v27-chat-back:active {background:#0b3526!important}
 #page-inbox .chat-head-copy{flex:1 1 0!important;min-width:0!important}
 #page-inbox .chat-person-icon {margin:0!important}
 #page-inbox .chat-head{padding:12px!important}
 #page-explore .sidebar-categories{max-height:none!important;overflow:visible!important}
}
@media(min-width:901px){#page-inbox .v27-chat-back{display:none!important}}
/* Controle de som visível, sem ocupar o espaço das mensagens. */
#page-inbox .v28-sound-toggle{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;
 border:1px solid #c9dfce;background:#f0f7f0;color:#245a40;
 border-radius:999px;min-height:40px;padding:8px 15px;
 font-size:12px;font-weight:750;font-family:inherit;cursor:pointer;white-space:nowrap;
}
#page-inbox .v28-sound-toggle svg{width:18px;height:18px;flex:none;stroke:currentColor}
#page-inbox .v28-sound-toggle[aria-pressed="true"] {color:#fff;background:#15563d;border-color:#15563d}
#page-inbox .v28-sound-toggle:focus-visible{outline:3px solid #67a77e;outline-offset:3px}
@media(max-width:900px) {
 #page-inbox .v11-inbox-board-heading{display:flex!important;align-items:center!important;flex-direction:row!important;gap:9px!important;justify-content:space-between!important}
 #page-inbox .v28-sound-toggle{min-width:42px;min-height:42px;padding:9px}
 #page-inbox .v28-sound-toggle .v28-sound-label{display:none}
}

/* Controle também disponível quando a conversa está aberta no celular. */
#page-inbox .v28-chat-sound-inline {display:none!important}
@media(max-width:900px){
 #page-inbox .chat-head-main .v27-chat-back {flex:1 1 0!important;width:auto!important;min-width:0!important}
 #page-inbox .chat-head-main .v28-chat-sound-inline {display:inline-flex!important;flex:0 0 46px;min-width:46px;height:46px!important;padding:9px!important;border-radius:13px!important}
 #page-inbox .v28-chat-sound-inline .v28-sound-label{display:none!important}
}

#page-inbox .chat-head .chat-head-main{flex-direction:row!important;align-items:center!important}
#page-inbox .v28-chat-person-row{display:flex;flex-direction:row;align-items:center;gap:12px;flex:1;min-width:0}
#page-inbox .v28-chat-person-row .chat-head-copy{min-width:0;flex:1!important}
@media(max-width:900px){
 #page-inbox .chat-head .chat-head-main{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:11px!important}
 #page-inbox .chat-head-main .v28-chat-person-row{flex:0 0 100%!important;width:100%!important;min-width:0!important;gap:12px!important}
 #page-inbox .v28-chat-person-row .chat-head-copy{flex:1!important;min-width:0!important}
}
