/* Compat: markup ProUI/Bootstrap herda o Design System Xingó enquanto as páginas não viram rec-* nativo */

body.rec{
  background:var(--rec-papel)!important;
  color:var(--rec-tinta)!important;
  font-family:var(--rec-fonte-ui)!important;
}
body.rec #page-content{
  padding:0!important;
  min-height:auto!important;
}
body.rec .content-header{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  flex-wrap:wrap!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  margin:0 0 26px!important;
  padding:0 var(--rec-tools-w,280px) 0 0!important;
  min-height:42px!important;
  font:inherit!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:var(--rec-tinta)!important
}
body.rec .content-header .header-section{
  float:none!important;
  padding:0!important;
  margin:0!important;
  min-width:0!important;
  flex:1!important
}
body.rec .content-header h1{
  margin:0!important;
  font:var(--rec-txt-pagina)!important;
  font-size:26px!important;
  letter-spacing:-.01em!important;
  text-transform:none!important;
  color:var(--rec-tinta)!important;
  line-height:1.2!important
}
body.rec .content-header h1 br{display:none!important}
body.rec .content-header h1 i,
body.rec .content-header h1 .gi,
body.rec .content-header h1 .fa,
body.rec .content-header h1 .hi,
body.rec .content-header h1 .si{display:none!important}
body.rec .content-header h1 strong{font-weight:600!important}
body.rec .content-header h1 small,
body.rec .content-header small{
  display:block!important;
  margin:4px 0 0!important;
  font-size:14px!important;
  font-weight:400!important;
  color:var(--rec-cinza)!important;
  letter-spacing:0!important;
  text-transform:none!important;
  line-height:1.4!important
}
body.rec .content-header .quick-links{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  text-align:left!important;
  margin:0!important
}
body.rec .content-header .nav-horizontal{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important
}
body.rec .breadcrumb{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  margin:0 0 12px!important;
  padding:0!important;
  font:600 12px var(--rec-fonte-ui)!important;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--rec-cinza)!important
}
body.rec .breadcrumb>li+li:before{color:var(--rec-mudo)!important;content:"· "!important;padding:0 8px!important}
body.rec .breadcrumb a{color:var(--rec-dourado-escuro)!important}

body.rec .block,
body.rec .widget,
body.rec .panel,
body.rec .block.full{
  background:var(--rec-superficie)!important;
  border:1px solid var(--rec-linha)!important;
  border-radius:var(--rec-raio-lg)!important;
  box-shadow:none!important;
  margin-bottom:16px!important;
}
body.rec .block-title,
body.rec .widget-title,
body.rec .panel-heading{
  background:transparent!important;
  border-bottom:1px solid var(--rec-linha)!important;
  padding:14px 18px!important;
  margin:0!important;
}
body.rec .block-title h1,
body.rec .block-title h2,
body.rec .block-title h3,
body.rec .block-title h4,
body.rec .widget-title h2,
body.rec .panel-title{
  font:var(--rec-txt-card)!important;
  color:var(--rec-tinta)!important;
  text-transform:none!important;
  letter-spacing:-.01em!important;
  padding:0!important;
  margin:0!important;
  line-height:1.35!important;
}
body.rec .block-content,
body.rec .widget-content,
body.rec .panel-body{
  padding:18px 20px!important;
}
/* Form/alert direto no .block (sem .block-content): afasta do .block-title */
body.rec .block > form{
  padding:18px 20px!important;
  box-sizing:border-box!important;
}
body.rec .block > .alert{
  margin:16px 20px!important;
}

body.rec .btn{
  font:600 13px var(--rec-fonte-ui)!important;
  border-radius:var(--rec-raio-md)!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
  padding:8px 14px!important;
  background-image:none!important;
}
body.rec .btn-primary,
body.rec .btn-info,
body.rec .themed-background,
body.rec .btn-effect-ripple.btn-primary{
  background:var(--rec-tinta)!important;
  border-color:var(--rec-tinta)!important;
  color:#fff!important;
}
body.rec .btn-success{background:var(--rec-tinta)!important;border-color:var(--rec-tinta)!important;color:#fff!important}
body.rec .btn-warning{background:var(--rec-dourado)!important;border-color:transparent!important;color:#fff!important}
body.rec .btn-danger{background:transparent!important;border-color:transparent!important;color:var(--rec-erro-texto)!important}
body.rec .btn-default,
body.rec .btn-alt{
  background:var(--rec-superficie)!important;
  border-color:var(--rec-borda-campo)!important;
  color:var(--rec-tinta)!important;
}

body.rec .form-control,
body.rec select.form-control,
body.rec textarea.form-control,
body.rec .input-group-addon{
  border:1px solid var(--rec-borda-campo)!important;
  border-radius:var(--rec-raio-md)!important;
  box-shadow:none!important;
  background:var(--rec-superficie)!important;
  color:var(--rec-tinta)!important;
  font:400 15px var(--rec-fonte-ui)!important;
  height:auto!important;
}
body.rec .form-control:focus{
  border-color:var(--rec-dourado-borda)!important;
  box-shadow:0 0 0 3px var(--rec-dourado-fundo)!important;
}
body.rec .chosen-container{width:100%!important;font:400 15px var(--rec-fonte-ui)!important;display:block!important}
body.rec select.select-chosen{display:none!important}
body.rec .chosen-container-single .chosen-single{
  height:42px!important;min-height:42px!important;max-height:42px!important;
  line-height:40px!important;padding:0 36px 0 14px!important;
  border:1px solid var(--rec-borda-campo)!important;border-radius:var(--rec-raio-md)!important;
  background:var(--rec-superficie)!important;box-shadow:none!important;
  color:var(--rec-tinta)!important;box-sizing:border-box!important
}
body.rec .chosen-container-single .chosen-single span{
  height:40px!important;line-height:40px!important;margin-right:0!important;
  color:var(--rec-tinta)!important;display:block!important
}
body.rec .chosen-container-single .chosen-default span{color:var(--rec-mudo)!important}
body.rec .chosen-container-single .chosen-single div{height:42px!important;width:28px!important;top:0!important}
body.rec .chosen-container-single .chosen-single div b{margin-top:0!important;height:42px!important;background-position:6px 12px!important}
body.rec .chosen-container-active .chosen-single,
body.rec .chosen-container-active.chosen-with-drop .chosen-single{
  border-color:var(--rec-dourado-borda)!important;
  box-shadow:0 0 0 3px var(--rec-dourado-fundo)!important
}
body.rec .chosen-container .chosen-drop{
  border:1px solid var(--rec-borda-campo)!important;border-top:0!important;
  border-radius:0 0 var(--rec-raio-md) var(--rec-raio-md)!important;
  box-shadow:var(--rec-sombra-pop)!important;background:var(--rec-superficie)!important
}
body.rec .chosen-container .chosen-results li.highlighted{background:var(--rec-tinta)!important;color:#fff!important}
body.rec .chosen-container .chosen-search input[type=text]{
  border:1px solid var(--rec-borda-campo)!important;border-radius:8px!important;
  box-shadow:none!important;padding:8px 10px!important
}
body.rec .has-error .form-control,
body.rec .has-error .chosen-container-single .chosen-single{
  border-color:var(--rec-erro)!important;
  box-shadow:0 0 0 3px var(--rec-erro-fundo)!important
}
body.rec .chosen-container-multi .chosen-choices{
  min-height:42px!important;padding:6px 10px!important;
  border:1px solid var(--rec-borda-campo)!important;border-radius:var(--rec-raio-md)!important;
  background:var(--rec-superficie)!important;box-shadow:none!important
}
body.rec .chosen-container-multi .chosen-choices li.search-choice{
  margin:3px 6px 3px 0!important;padding:6px 24px 6px 10px!important;
  background:var(--rec-tinta)!important;border:1px solid var(--rec-tinta)!important;
  color:#fff!important;border-radius:999px!important;box-shadow:none!important;
  font:600 12px var(--rec-fonte-ui)!important;line-height:1.2!important
}
body.rec .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{
  top:6px!important;right:8px!important;color:#fff!important
}
body.rec .chosen-container-multi .chosen-choices li.search-choice-focus{
  background:var(--rec-noite)!important;border-color:var(--rec-noite)!important
}
body.rec .chosen-container-active .chosen-choices,
body.rec .chosen-container-active.chosen-with-drop .chosen-choices{
  border-color:var(--rec-dourado-borda)!important;
  box-shadow:0 0 0 3px var(--rec-dourado-fundo)!important
}
body.rec .control-label,
body.rec label{color:var(--rec-tinta)!important;font-weight:600!important}
body.rec label.rec-auth-op.is-on,
body.rec label.rec-auth-op.is-on strong,
body.rec label.rec-auth-op:has(input:checked),
body.rec label.rec-auth-op:has(input:checked) strong{color:#fff!important}
body.rec label.rec-auth-op.is-on span,
body.rec label.rec-auth-op:has(input:checked) span{color:rgba(255,255,255,.72)!important}

body.rec .table,
body.rec table.dataTable{
  background:var(--rec-superficie)!important;
  color:var(--rec-tinta)!important;
}
body.rec .table>thead>tr>th,
body.rec table.dataTable thead th{
  background:var(--rec-hover)!important;
  color:var(--rec-cinza)!important;
  font:600 12px var(--rec-fonte-ui)!important;
  letter-spacing:.05em;
  text-transform:uppercase!important;
  border-bottom:1px solid var(--rec-linha)!important;
}
body.rec .table>tbody>tr>td{border-color:var(--rec-linha-suave)!important}
body.rec .table-striped>tbody>tr:nth-child(odd)>td{background:transparent!important}
body.rec .table-hover>tbody>tr:hover>td{background:var(--rec-hover)!important}
body.rec .dataTables_wrapper .dataTables_filter input,
body.rec .dataTables_wrapper .dataTables_length select{
  border:1px solid var(--rec-borda-campo)!important;
  border-radius:var(--rec-raio-pill)!important;
  background:var(--rec-suave)!important;
  box-shadow:none!important;
}
body.rec .pagination>li>a,
body.rec .pagination>li>span{
  color:var(--rec-tinta)!important;
  border-color:var(--rec-linha)!important;
  background:#fff!important;
}
body.rec .pagination>.active>a{
  background:var(--rec-tinta)!important;
  border-color:var(--rec-tinta)!important;
  color:#fff!important;
}

body.rec .alert{
  border-radius:var(--rec-raio-md)!important;
  border:0!important;
  box-shadow:none!important;
  font:600 13px var(--rec-fonte-ui)!important;
}
body.rec .alert-success{background:var(--rec-sucesso-fundo)!important;color:var(--rec-sucesso-texto)!important}
body.rec .alert-danger{background:var(--rec-erro-fundo)!important;color:var(--rec-erro-texto)!important}
body.rec .alert-warning{background:var(--rec-dourado-fundo)!important;color:var(--rec-dourado-texto)!important}
body.rec .alert-info{background:var(--rec-info-fundo)!important;color:var(--rec-info-texto)!important}

body.rec .label,
body.rec .badge{
  font:600 11px var(--rec-fonte-ui)!important;
  border-radius:999px!important;
  padding:4px 10px!important;
  text-shadow:none!important;
}
body.rec .label-success{background:var(--rec-sucesso-texto)!important}
body.rec .label-danger{background:var(--rec-erro-texto)!important}
body.rec .label-warning{background:var(--rec-dourado)!important;color:#fff!important}
body.rec .label-info,
body.rec .label-primary{background:var(--rec-tinta)!important}

body.rec .modal-content{
  border-radius:16px!important;
  border:1px solid var(--rec-linha)!important;
  box-shadow:var(--rec-sombra-pop)!important;
}
body.rec .modal-header,
body.rec .modal-footer{
  background:transparent!important;
  border-color:var(--rec-linha-suave)!important;
}
body.rec .modal-title{font:var(--rec-txt-card)!important;color:var(--rec-tinta)!important}
body.rec .rec-op-modal .modal-content{border:0!important}
body.rec .rec-op-modal__intro h2{color:var(--rec-papel)!important}
body.rec .modal-backdrop{background:#14120f!important}

body.rec .nav-tabs{border-bottom:1px solid var(--rec-linha)!important}
body.rec .nav-tabs>li>a{
  border-radius:var(--rec-raio-md) var(--rec-raio-md) 0 0!important;
  color:var(--rec-cinza)!important;
}
body.rec .nav-tabs>li.active>a{
  background:var(--rec-tinta)!important;
  color:#fff!important;
  border-color:var(--rec-tinta)!important;
}

body.rec .switch.switch-primary>input:checked+span{background:var(--rec-tinta)!important}
body.rec a.text-info,
body.rec .text-info,
body.rec .themed-color{color:var(--rec-dourado-escuro)!important}

body.rec #to-top{display:none!important}
body.rec .preloader{display:none!important}
body.rec .widget-extra.themed-background{background:var(--rec-tinta)!important;color:#fff!important}
body.rec .themed-background-dark,
body.rec .widget-extra.themed-background-dark{background:var(--rec-noite)!important;color:var(--rec-papel)!important}
body.rec .widget-content-light,
body.rec .widget-content-light strong{color:#fff!important}
body.rec h3.sub-header,
body.rec h4.sub-header{
  font:var(--rec-txt-secao)!important;
  border-bottom:1px solid var(--rec-linha)!important;
  color:var(--rec-tinta)!important;
  padding-bottom:10px!important;
  margin:24px 0 16px!important;
}

@media print{
  body.rec .rec-sidebar,
  body.rec .rec-topbar,
  body.rec .rec-page-loader,
  body.rec .rec-page-veil,
  body.rec .rec-main-footer,
  body.rec .rec-main-tools,
  body.rec .rec-no-print{display:none!important}
  body.rec .rec-shell{display:block!important}
  body.rec .rec-main{padding:0!important}
  body.rec a[href]:after,
  body.rec a[href]::after{content:none!important}
  html:has(.rec-resumo-page),
  body.rec:has(.rec-resumo-page),
  body.rec:has(.rec-resumo-page) .rec-shell,
  body.rec:has(.rec-resumo-page) .rec-main,
  body.rec:has(.rec-resumo-page) #page-container,
  body.rec:has(.rec-resumo-page) #main-container,
  body.rec:has(.rec-resumo-page) #page-content{
    background:#fff!important;
    -webkit-print-color-adjust:economy!important;
    print-color-adjust:economy!important
  }
}

body.rec .rec-sidebar a:hover,
body.rec .rec-sidebar a:focus,
body.rec .rec-sidebar a:active,
body.rec .rec-sidebar button:focus,
body.rec .rec-sidebar button:active{
  text-decoration:none!important;
  outline:none!important;
  box-shadow:none!important;
}
body.rec .rec-sidebar a:focus-visible,
body.rec .rec-sidebar button:focus-visible{
  outline:2px solid rgba(201,162,39,.5)!important;
  outline-offset:2px;
}
