/* Quadro Geral da Agenda: contraste das linhas e alinhamento dos dias/profissionais.
   Camada exclusivamente visual; não altera dados, agenda ou regras. */

.ag-legacy.ag-board-active #ag-print-board .ag-room-card{
  border-color:#9eafbf!important;
  box-shadow:0 3px 10px rgba(15,23,42,.06)!important;
}

/* Grade mais escura para separar claramente dias, períodos e salas. */
.ag-legacy.ag-board-active #ag-print-board .ag-week-grid th,
.ag-legacy.ag-board-active #ag-print-board .ag-week-grid td{
  border-right:1px solid #9eafbf!important;
  border-bottom:1px solid #9eafbf!important;
}

.ag-legacy.ag-board-active #ag-print-board .ag-week-grid tr>*:last-child{
  border-right:0!important;
}

.ag-legacy.ag-board-active #ag-print-board .ag-week-grid tbody tr:last-child>*{
  border-bottom:0!important;
}

/* A coluna de período ganha uma divisão ainda mais forte para orientar a leitura. */
.ag-legacy.ag-board-active #ag-print-board .ag-week-grid thead th:first-child,
.ag-legacy.ag-board-active #ag-print-board .ag-hour{
  border-right-color:#7f94a8!important;
}

/* Dias da semana: centralização inequívoca e contraste maior. */
.ag-legacy.ag-board-active #ag-print-board .ag-week-grid thead th{
  text-align:center!important;
  vertical-align:middle!important;
  color:#17354d!important;
  background:#edf2f7!important;
  border-bottom-color:#7f94a8!important;
}

.ag-legacy.ag-board-active #ag-print-board .ag-week-grid thead th:not(:first-child){
  padding-left:6px!important;
  padding-right:6px!important;
}

.ag-legacy.ag-board-active #ag-print-board .ag-week-grid thead th>*{
  text-align:center!important;
  justify-content:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Profissional direto na célula: remove o segundo quadro interno. */
.ag-legacy.ag-board-active #ag-print-board .ag-board-cell{
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:6px 8px!important;
}

.ag-legacy.ag-board-active #ag-print-board .ag-board-cell button[data-search-prof]{
  width:100%!important;
  min-height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#17334a!important;
  text-align:center!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
}

.ag-legacy.ag-board-active #ag-print-board .ag-board-cell button[data-search-prof]:hover{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.ag-legacy.ag-board-active #ag-print-board .ag-board-prof-name{
  width:100%!important;
  text-align:center!important;
}

.ag-legacy.ag-board-active #ag-print-board .ag-board-prof-specialty{
  width:100%!important;
  text-align:center!important;
}

.ag-legacy.ag-board-active #ag-print-board .ag-board-filter-empty{
  color:#75889b!important;
}
