/* Gestão TT | Biblioteca: solicitações de reserva + navegação lateral
   Padrão visual: #080808, #E2001B, #F7BCBC, #F7F7F5 e branco. */

/* Barra lateral de alto contraste: mesma identidade clara do portal, sem cartão
   branco isolado e sem conflito com gestao-tt-marca-2026.css. */
#portalScreen #sidebar.sidebar{
  background:#FFFFFF!important;
  background-image:none!important;
  color:#080808!important;
  border-right:1px solid #E6E6E2!important;
  box-shadow:none!important;
}
#portalScreen #sidebar.sidebar .side-brand-logo-only{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 5px 12px!important;
  padding:9px 10px 15px!important;
  min-height:70px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid #EAEAE7!important;
  border-radius:0!important;
  box-shadow:none!important;
}
#portalScreen #sidebar.sidebar .side-brand-logo-only .sidebar-logo{
  display:block!important;
  width:min(165px,100%)!important;
  max-width:165px!important;
  height:48px!important;
  max-height:48px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 auto!important;
  filter:none!important;
}
#portalScreen #sidebar.sidebar .nav{
  gap:4px!important;
  padding:0 1px!important;
}
#portalScreen #sidebar.sidebar .nav .nav-btn{
  box-sizing:border-box!important;
  align-items:center!important;
  gap:12px!important;
  min-height:44px!important;
  padding:6px 11px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:#FFFFFF!important;
  color:#232323!important;
  opacity:1!important;
  filter:none!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.3!important;
  text-align:left!important;
  letter-spacing:0!important;
  text-shadow:none!important;
  box-shadow:none!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease!important;
}
#portalScreen #sidebar.sidebar .nav .nav-btn .nav-ico{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 25px!important;
  width:25px!important;
  min-width:25px!important;
  height:27px!important;
  padding:2px!important;
  background:transparent!important;
  border:0!important;
  border-radius:5px!important;
  color:#404040!important;
  opacity:1!important;
  font-size:0!important;
  line-height:0!important;
}
#portalScreen #sidebar.sidebar .nav .nav-btn .nav-ico svg{
  display:block!important;
  flex:none!important;
  width:19px!important;
  height:19px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#portalScreen #sidebar.sidebar .nav .nav-btn:hover:not(.active){
  background:#F7F7F5!important;
  border-color:#E6E6E2!important;
  color:#080808!important;
  box-shadow:none!important;
}
#portalScreen #sidebar.sidebar .nav .nav-btn:hover:not(.active) .nav-ico{
  background:transparent!important;
  color:#080808!important;
}
#portalScreen #sidebar.sidebar .nav .nav-btn.active,
#portalScreen #sidebar.sidebar .nav .nav-btn.active:hover{
  background:#E2001B!important;
  border-color:#E2001B!important;
  color:#FFFFFF!important;
  box-shadow:none!important;
}
#portalScreen #sidebar.sidebar .nav .nav-btn.active .nav-ico,
#portalScreen #sidebar.sidebar .nav .nav-btn.active:hover .nav-ico{
  background:transparent!important;
  border:0!important;
  color:#FFFFFF!important;
}
#portalScreen #sidebar.sidebar .nav .nav-btn:focus-visible,
#portalScreen #sidebar.sidebar .logout:focus-visible{
  outline:2px solid #E2001B!important;
  outline-offset:2px!important;
}
#portalScreen #sidebar.sidebar .side-user{
  box-sizing:border-box!important;
  border-top:1px solid #E6E6E2!important;
  padding:13px 4px 4px!important;
  margin-top:10px!important;
  color:#080808!important;
}
#portalScreen #sidebar.sidebar .side-user strong{
  color:#080808!important;
  font-size:12px!important;
  font-weight:800!important;
}
#portalScreen #sidebar.sidebar .side-user small{
  color:#626262!important;
  font-size:10px!important;
  opacity:1!important;
}
#portalScreen #sidebar.sidebar .side-user .avatar{
  border:2px solid #E6E6E2!important;
}
#portalScreen #sidebar.sidebar .logout{
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 35px!important;
  width:35px!important;
  height:35px!important;
  border:1px solid #E6E6E2!important;
  border-radius:9px!important;
  background:#F7F7F5!important;
  color:#303030!important;
  box-shadow:none!important;
}
#portalScreen #sidebar.sidebar .logout svg{
  display:block!important;
  width:18px!important;height:18px!important;
  fill:none!important;
  stroke:currentColor!important;stroke-width:2!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
#portalScreen #sidebar.sidebar .logout:hover{
  background:#FFF1F3!important;
  color:#99001A!important;
  border-color:#F7BCBC!important;
}
@media(max-width:860px){
  #portalScreen #sidebar.sidebar{
    border-right:1px solid #E6E6E2!important;
  }
}

/* Área de solicitações: mais contraste nas informações, menos caixas vermelhas. */
#portalScreen #view-biblioteca #library-reservations .library-reservation-board{
  background:#FFFFFF!important;
  padding:clamp(18px,2.5vw,30px)!important;
  border:1px solid #E7E7E4!important;
  border-radius:18px!important;
  box-shadow:none!important;
  max-width:100%!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-board-head{
  display:flex!important;align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  padding-bottom:19px!important;
  border-bottom:1px solid #ECECE9!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-board-head h3{
  font-size:21px!important;
  line-height:1.2!important;
  font-weight:850!important;
  color:#080808!important;
  letter-spacing:-.03em!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-board-head p{
  font-size:12px!important;
  line-height:1.55!important;
  color:#626262!important;
  margin-top:5px!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-board-head .library-reservation-import-action{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;
  background:#FFFFFF!important;
  color:#080808!important;
  border:1px solid #DCDCD8!important;
  border-radius:10px!important;
  padding:0 15px!important;
  min-height:42px!important;
  font-size:11px!important;font-weight:800!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-import-action:hover{
  border-color:#E2001B!important;
  background:#FFF6F7!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-import-action svg{
  height:16px!important;width:16px!important;flex:none!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}

/* Indicadores de acompanhamento: filtram de verdade, com totais sincronizados. */
#portalScreen #view-biblioteca #library-reservations .library-reservation-overview{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:9px!important;
  margin-top:20px!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-overview-btn{
  display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;justify-content:space-between!important;
  min-width:0!important;min-height:92px!important;
  background:#F9F9F8!important;
  border:1px solid #E7E7E4!important;
  border-radius:12px!important;
  padding:13px 14px!important;
  color:#333333!important;
  text-align:left!important;cursor:pointer!important;
  box-shadow:none!important;
  transition:border-color .16s,background-color .16s!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-overview-btn:hover{
  border-color:#C8C8C4!important;background:#FFFFFF!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-overview-btn.is-active{
  background:#FFF5F6!important;
  border-color:#E2001B!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-overview-btn:focus-visible{
  outline:2px solid #E2001B!important;outline-offset:2px!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-overview-btn .overview-label{
  font-size:11px!important;font-weight:800!important;
  line-height:1.3!important;color:#555555!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-overview-btn .overview-value{
  font-size:24px!important;letter-spacing:-.045em!important;
  line-height:1.1!important;font-weight:900!important;color:#080808!important;
  font-variant-numeric:tabular-nums!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-overview-btn.is-urgent .overview-value{color:#AC162B!important}
#portalScreen #view-biblioteca #library-reservations .library-reservation-overview-btn.is-active .overview-label{color:#99001A!important}

/* Barra de busca e filtros. */
#portalScreen #view-biblioteca #library-reservations .library-reservation-filters{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) minmax(195px,255px) auto!important;
  align-items:end!important;
  gap:14px!important;
  margin:21px 0 18px!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-search{
  display:flex!important;align-items:center!important;
  border-radius:10px!important;
  border:1px solid #DADAD6!important;
  min-height:46px!important;
  padding:0 13px!important;
  background:#FFFFFF!important;box-shadow:none!important;
  gap:9px!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-search:focus-within{
  border-color:#E2001B!important;
  box-shadow:0 0 0 3px rgba(226,0,27,.08)!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-search .library-search-icon{
  width:18px!important;height:18px!important;flex:none!important;
  fill:none!important;stroke:#626262!important;stroke-width:1.9!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-search input{
  font-size:12px!important;min-width:0!important;color:#080808!important;
  outline:none!important;border:0!important;background:transparent!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-search input::placeholder{color:#8A8A86!important}
#portalScreen #view-biblioteca #library-reservations .library-reservation-filter{
  font-size:11px!important;color:#424242!important;font-weight:800!important;gap:6px!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-filter select{
  min-height:46px!important;padding:0 12px!important;
  background:#FFFFFF!important;color:#080808!important;
  border:1px solid #DADAD6!important;border-radius:10px!important;
  font-size:12px!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-count{
  align-self:center!important;
  color:#626262!important;
  font-size:11px!important;font-weight:800!important;
  padding-top:17px!important;
}

/* Cards: pessoa, acompanhamento e livro são os três elementos visuais principais. */
#portalScreen #view-biblioteca #library-reservations .library-reservation-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:15px!important;
  background:transparent!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card{
  display:flex!important;flex-direction:column!important;
  min-width:0!important;
  padding:19px!important;
  border:1px solid #E3E3DF!important;
  border-left:3px solid #D2D2CF!important;
  border-radius:13px!important;
  background:#FFFFFF!important;
  color:#080808!important;
  box-shadow:none!important;
  transition:border-color .16s ease!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card:hover{border-color:#C6C6C2!important}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card[data-tracking="overdue"]{border-left-color:#E2001B!important}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card[data-tracking="due-soon"]{border-left-color:#D39622!important}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card[data-tracking="closed"]{border-left-color:#388966!important}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-head{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
  gap:14px!important;padding-bottom:15px!important;
  border-bottom:0!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-person{
  display:flex!important;gap:10px!important;align-items:center!important;min-width:0!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-avatar{
  width:41px!important;height:41px!important;flex:0 0 41px!important;
  display:grid!important;place-items:center!important;
  border:1px solid #EBE3E4!important;border-radius:11px!important;
  color:#99001A!important;background:#FFF1F3!important;
  font-weight:900!important;font-size:13px!important;
  line-height:1!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-person-info{
  min-width:0!important;display:flex!important;flex-direction:column!important;gap:4px!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-person-info>strong{
  display:block!important;font-size:15px!important;font-weight:850!important;
  line-height:1.3!important;letter-spacing:-.02em!important;color:#111!important;
  overflow-wrap:anywhere!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-person-info>.library-record-kind{
  margin:0!important;font-size:10px!important;font-weight:800!important;
  letter-spacing:.03em!important;color:#737373!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-tracking{
  display:flex!important;flex-direction:column!important;align-items:flex-end!important;
  text-align:right!important;gap:6px!important;flex:0 0 auto!important;
  max-width:48%!important;min-width:0!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-tracking>span{
  font-size:9px!important;color:#626262!important;font-weight:800!important;
  letter-spacing:.04em!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-tracking .library-status{
  display:inline-flex!important;align-items:center!important;gap:5px!important;
  max-width:100%!important;
  border-radius:7px!important;padding:6px 9px!important;
  border:1px solid transparent!important;
  font-size:11px!important;font-weight:850!important;line-height:1.2!important;
  white-space:normal!important;text-align:right!important;
}
#portalScreen #view-biblioteca #library-reservations .library-status.overdue{background:#FFF0F2!important;color:#9A182A!important;border-color:#F7D2D8!important}
#portalScreen #view-biblioteca #library-reservations .library-status.due-soon{background:#FFF7E8!important;color:#835914!important;border-color:#F4DFB7!important}
#portalScreen #view-biblioteca #library-reservations .library-status.pending{background:#F4F4F3!important;color:#414141!important;border-color:#E6E6E2!important}
#portalScreen #view-biblioteca #library-reservations .library-status.active{background:#EDF7F1!important;color:#21633C!important;border-color:#CEEBDA!important}
#portalScreen #view-biblioteca #library-reservations .library-status.returned,
#portalScreen #view-biblioteca #library-reservations .library-status.closed{background:#EDF7F1!important;color:#21633C!important;border-color:#CEEBDA!important}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card .library-reservation-tags{
  display:flex!important;gap:5px!important;flex-wrap:wrap!important;
}
#portalScreen #view-biblioteca #library-reservations .library-record-review{
  font-size:10px!important;font-weight:800!important;
  border-radius:6px!important;padding:5px 8px!important;
  background:#FFF2D9!important;color:#795011!important;margin:0!important;
}
#portalScreen #view-biblioteca #library-reservations .library-record-review.duplicate{
  color:#99001A!important;background:#FFF0F2!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-book-panel{
  display:flex!important;gap:11px!important;align-items:flex-start!important;
  padding:14px!important;margin-bottom:14px!important;
  background:#F7F7F5!important;
  border:1px solid #ECECEA!important;border-radius:10px!important;
  min-width:0!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-book-icon{
  width:37px!important;height:37px!important;flex:0 0 37px!important;
  display:grid!important;place-items:center!important;
  border-radius:9px!important;background:white!important;
  border:1px solid #E8E8E5!important;
  color:#99001A!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-book-icon svg{
  width:20px!important;height:20px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-book-info{
  display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-book-info>span{
  font-size:9px!important;letter-spacing:.06em!important;font-weight:850!important;color:#7B666B!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-book-info>strong{
  font-size:13px!important;line-height:1.35!important;font-weight:850!important;color:#181818!important;
  overflow-wrap:anywhere!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-book-meta{
  display:flex!important;gap:7px!important;align-items:center!important;flex-wrap:wrap!important;
  margin-top:2px!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-book-code{
  display:inline-flex!important;margin:0!important;
  padding:3px 7px!important;border-radius:5px!important;
  background:#FFF0F2!important;color:#99001A!important;
  font-size:10px!important;font-weight:850!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-book-isbn{
  margin:0!important;color:#626262!important;font-size:10px!important;
  line-height:1.35!important;overflow-wrap:anywhere!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-book-isbn strong{font-weight:700!important;color:#494949!important}

/* Dados em colunas, com títulos discretos e valores maiores. */
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px 17px!important;
  padding:1px 0 19px!important;
  flex:1!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-field{
  display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-field>span{
  color:#777!important;font-size:10px!important;font-weight:750!important;
  letter-spacing:.01em!important;text-transform:none!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-field>strong{
  font-size:12px!important;font-weight:750!important;color:#191919!important;
  line-height:1.35!important;overflow-wrap:anywhere!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-field.is-due{
  background:#FCFCFB!important;border:1px solid #EBEBE8!important;
  border-radius:8px!important;padding:7px 9px!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card[data-tracking="overdue"] .library-reservation-card-field.is-due{
  background:#FFF5F6!important;border-color:#F6D6DB!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card[data-tracking="overdue"] .library-reservation-card-field.is-due>strong{color:#99001A!important}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-actions{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;flex-wrap:wrap!important;
  padding:14px 0 0!important;border-top:1px solid #EDEDEA!important;margin-top:auto!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-card-actions>span{
  color:#777!important;font-size:10px!important;font-weight:850!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:8px!important;flex-wrap:wrap!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions .table-action{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;min-height:37px!important;
  padding:8px 12px!important;
  font-size:11px!important;font-weight:850!important;line-height:1.2!important;
  border-radius:9px!important;
  border:1px solid #DCDCD9!important;
  color:#2B2B2B!important;background:white!important;
  box-shadow:none!important;white-space:nowrap!important;
  text-decoration:none!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions .table-action svg{
  display:inline-block!important;width:15px!important;height:15px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.85!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
  flex:none!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions .library-reservation-edit-action{
  color:#FFFFFF!important;background:#080808!important;border-color:#080808!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions .library-reservation-edit-action:hover{
  background:#333333!important;border-color:#333333!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions .library-whatsapp-action:not(.is-disabled){
  color:#237042!important;border-color:#BCDCC9!important;background:#F3FBF6!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions .library-whatsapp-action:not(.is-disabled):hover{
  background:#E4F5EA!important;border-color:#91C4A5!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions .library-whatsapp-action.is-disabled{
  color:#888!important;border-color:#E1E1DD!important;background:#F7F7F5!important;
  opacity:.75!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions .library-reservation-return-action{
  color:#99001A!important;background:#FFF3F5!important;border-color:#F4C8D0!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions .library-reservation-return-action:hover{background:#FFE6EA!important}
#portalScreen #view-biblioteca #library-reservations .library-reservation-more{
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:22px 0 4px!important;gap:12px!important;
  background:white!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-more[hidden]{display:none!important}
#portalScreen #view-biblioteca #library-reservations .library-reservation-more button{
  border:1px solid #D7D7D4!important;
  border-radius:10px!important;
  background:#FFFFFF!important;color:#080808!important;
  padding:11px 19px!important;font-size:12px!important;font-weight:850!important;min-height:43px!important;
  cursor:pointer!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-more button:hover{
  border-color:#E2001B!important;background:#FFF5F6!important;
}
#portalScreen #view-biblioteca #library-reservations .library-reservation-more span{
  color:#626262!important;font-size:11px!important;font-weight:700!important;
}
@media(max-width:1400px){
  #portalScreen #view-biblioteca #library-reservations .library-reservation-list{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(max-width:1080px){
 #portalScreen #view-biblioteca #library-reservations .library-reservation-overview{
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
@media(max-width:760px){
 #portalScreen #view-biblioteca #library-reservations .library-reservation-board{
   padding:14px!important;
 }
 #portalScreen #view-biblioteca #library-reservations .library-reservation-board-head{
   align-items:stretch!important;flex-direction:column!important;
 }
 #portalScreen #view-biblioteca #library-reservations .library-reservation-overview{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
 }
 #portalScreen #view-biblioteca #library-reservations .library-reservation-overview-btn{min-height:80px!important;padding:11px!important}
 #portalScreen #view-biblioteca #library-reservations .library-reservation-overview-btn .overview-value{font-size:21px!important}
 #portalScreen #view-biblioteca #library-reservations .library-reservation-filters{
   display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;
 }
 #portalScreen #view-biblioteca #library-reservations .library-reservation-filter{width:100%!important}
 #portalScreen #view-biblioteca #library-reservations .library-reservation-count{align-self:flex-start!important;padding:0!important}
 #portalScreen #view-biblioteca #library-reservations .library-reservation-card{padding:14px!important}
 #portalScreen #view-biblioteca #library-reservations .library-reservation-card-head{gap:9px!important}
 #portalScreen #view-biblioteca #library-reservations .library-reservation-card-grid{gap:11px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #portalScreen #view-biblioteca #library-reservations .library-reservation-card-tracking{max-width:45%!important}
 #portalScreen #view-biblioteca #library-reservations .library-reservation-row-actions{justify-content:flex-start!important}
}
@media(max-width:390px){
 #portalScreen #view-biblioteca #library-reservations .library-reservation-card-head{flex-wrap:wrap!important}
 #portalScreen #view-biblioteca #library-reservations .library-reservation-card-tracking{align-items:flex-start!important;text-align:left!important;max-width:100%!important}
 #portalScreen #view-biblioteca #library-reservations .library-reservation-card-grid{grid-template-columns:minmax(0,1fr)!important}
}

/* Gestão TT: cabeçalho e perfil fixos; navegação sem barra aparente. */
#portalScreen #sidebar.sidebar{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  padding-block:clamp(8px,1.5dvh,18px)!important;
}
#portalScreen #sidebar.sidebar > .side-brand-logo-only{
  flex:0 0 auto!important;
  min-height:0!important;
  padding:5px 10px 9px!important;
  margin:0 5px 6px!important;
}
#portalScreen #sidebar.sidebar > .nav{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 0%!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior-y:contain;
  scrollbar-width:none!important;
  -ms-overflow-style:none;
  gap:clamp(2px,.4dvh,4px)!important;
  margin-top:0!important;
  padding:3px!important;
}
#portalScreen #sidebar.sidebar > .nav::-webkit-scrollbar{display:none!important}
#portalScreen #sidebar.sidebar > .nav > .nav-btn{
  flex:0 0 auto!important;
  min-height:clamp(32px,calc((100dvh - var(--tt-native-top, 0px) - 190px)/14),44px)!important;
  padding-block:3px!important;
}
#portalScreen #sidebar.sidebar > .side-spacer{display:none!important}
#portalScreen #sidebar.sidebar > .side-user{
  flex:0 0 auto!important;
  margin-top:6px!important;
  padding-block:8px 2px!important;
}
@media(max-width:860px){
  #portalScreen #sidebar.sidebar{height:100dvh!important;max-height:100dvh!important}
}
