/* Ajustes de página dentro do shell. Barra superior, menu e padding do conteúdo: ds-shell.css. */
.cabecalho-tela { align-items: center; flex-wrap: wrap; gap: var(--espaco-4); }
.cabecalho-tela > .titulo-tela { flex: 1 1 280px; }
.cabecalho-tela > .acoes { flex: 0 1 auto; min-width: 0; max-width: 100%; padding-top: 0; }
.cabecalho-tela .acoes-da-pagina { margin: 0; order: 10; }
.tela-caso { gap: var(--espaco-3); }
.tela-caso > .resumo-caso { gap: var(--espaco-2); }
.tela-caso > .abas-caso { margin-block: 0; }
.ferramentas-caso .botao { white-space: normal; }
.ajustes-da-pagina summary { min-height: 44px; }
.ajustes-da-pagina summary:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 0; }
.area-principal:has(.tela-chat) { height: 100dvh; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.area-principal:has(.tela-chat) > .rodape-pagina { display: none; }
.area-principal:has(.tela-chat) > .conteudo { min-height: 0; height: 100%; overflow: hidden; padding: var(--espaco-4); }
@media (max-width: 1100px) {
  .cabecalho-tela { flex-wrap: wrap; }
  .cabecalho-tela > .acoes { max-width: 100%; }
}
@media (max-width: 700px) {
  .cabecalho-tela > .titulo-tela { flex: 0 1 auto; width: 100%; }
  .tela-caso .cabecalho-tela > .acoes { justify-content: flex-start; }
  .tela-caso .cabecalho-tela > .acoes > .botao { width: auto; }
  .tela-caso .acoes-da-pagina { justify-content: flex-start; }
  .ferramentas-caso > div { inset-inline: 0 auto; }
}
@media (max-width: 600px) {
  .tela-viewport .cabecalho-tela > .titulo-tela { flex: 1 1 280px; width: auto; }
  .cabecalho-tela { gap: var(--espaco-3); }
  .cabecalho-tela > .acoes { width: 100%; }
  .cabecalho-tela .acoes-da-pagina { justify-content: flex-start; }
  .cabecalho-tela .acoes-da-pagina:has(.ajustes-da-pagina) { flex-basis: 100%; }
  .cabecalho-tela .ajustes-da-pagina > div { left: 0; right: auto; }
  .area-principal:has(.tela-chat) > .conteudo { padding: var(--sp-4); }
}
