/* Gestão TT | Biblioteca | Configurações • 24/11/2026
   Visual isolado, sem alterar os controles ou dados. */
#portalScreen #view-biblioteca #library-settings{
  background:#fff!important;color:#080808!important;padding:6px 0 32px!important;
}
#portalScreen #view-biblioteca #library-settings .library-settings-intro{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:0!important;height:auto!important;gap:18px!important;padding:22px 24px!important;
  margin:8px 0 18px!important;background:#fff!important;background-image:none!important;
  border:1px solid #E5E5E2!important;border-left:4px solid #E2001B!important;border-radius:16px!important;
  box-shadow:none!important;
}
#portalScreen #view-biblioteca #library-settings .library-settings-intro-copy{
  display:flex!important;flex-direction:column!important;min-width:0!important;align-items:flex-start!important;
}
#portalScreen #view-biblioteca #library-settings .library-settings-eyebrow{
  font-size:10px!important;color:#99001A!important;font-weight:850!important;letter-spacing:.1em!important;
  line-height:1.4!important;margin-bottom:6px!important;
}
#portalScreen #view-biblioteca #library-settings .library-settings-intro h3{
  color:#080808!important;font-size:20px!important;line-height:1.25!important;font-weight:850!important;
  margin:0!important;letter-spacing:-.025em!important;
}
#portalScreen #view-biblioteca #library-settings .library-settings-intro p{
  color:#626262!important;font-size:12px!important;line-height:1.5!important;margin:6px 0 0!important;
}
#portalScreen #view-biblioteca #library-settings .library-settings-save-group{
  display:flex!important;flex:0 0 auto!important;flex-direction:column!important;
  align-items:flex-end!important;gap:9px!important;
}
#portalScreen #view-biblioteca #library-settings .library-settings-save-state{
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  color:#626262!important;font-size:11px!important;font-weight:700!important;white-space:nowrap!important;
}
#portalScreen #view-biblioteca #library-settings .library-settings-save-state::before{
  content:"";width:7px;height:7px;flex:none;border-radius:50%;background:#A6A6A6;
}
#portalScreen #view-biblioteca #library-settings .library-settings-save-state[data-state="unsaved"]{color:#99001A!important}
#portalScreen #view-biblioteca #library-settings .library-settings-save-state[data-state="unsaved"]::before{background:#E2001B}
#portalScreen #view-biblioteca #library-settings .library-settings-intro .library-settings-save-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:175px!important;min-height:43px!important;padding:11px 18px!important;
  background:#E2001B!important;background-image:none!important;color:#fff!important;
  border:1px solid #E2001B!important;border-radius:10px!important;box-shadow:none!important;
  font-size:12px!important;font-weight:850!important;white-space:nowrap!important;transform:none!important;
}
#portalScreen #view-biblioteca #library-settings .library-settings-intro .library-settings-save-button:hover:not(:disabled){
  background:#99001A!important;border-color:#99001A!important;
}
#portalScreen #view-biblioteca #library-settings .library-settings-save-button:disabled{opacity:.65!important}
#portalScreen #view-biblioteca #library-settings .library-settings-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;align-items:start!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-card{
  display:flex!important;flex-direction:column!important;min-width:0!important;
  padding:20px 22px 22px!important;margin:0!important;
  border:1px solid #E5E5E2!important;border-radius:16px!important;
  background:#FFFFFF!important;background-image:none!important;box-shadow:none!important;overflow:visible!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-card.library-config-wide{grid-column:1/-1!important}
#portalScreen #view-biblioteca #library-settings .library-config-card-head{
  display:flex!important;align-items:flex-start!important;gap:13px!important;
  margin:0 0 17px!important;padding:0 0 15px!important;border-bottom:1px solid #EFEFED!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-card-head>div{min-width:0!important}
#portalScreen #view-biblioteca #library-settings .library-config-step{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:34px!important;height:34px!important;flex:0 0 34px!important;
  border-radius:10px!important;background:#FCE5E8!important;color:#99001A!important;
  font-size:12px!important;font-weight:850!important;font-variant-numeric:tabular-nums!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-card h4{
  display:block!important;margin:0 0 4px!important;padding:0!important;
  background:transparent!important;background-image:none!important;color:#080808!important;
  font-size:15px!important;font-weight:850!important;line-height:1.35!important;
  letter-spacing:-.02em!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-card h4::before{
  content:none!important;display:none!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-card-head p{
  padding:0!important;margin:0!important;background:transparent!important;border:0!important;
  color:#626262!important;font-size:11.5px!important;line-height:1.5!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-fields{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px 18px!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-fields .field{min-width:0!important;margin:0!important}
#portalScreen #view-biblioteca #library-settings .library-config-fields .field.full{grid-column:1/-1!important}
#portalScreen #view-biblioteca #library-settings .library-config-fields .field label{
  display:block!important;margin:0 0 7px!important;color:#333!important;
  font-size:12px!important;font-weight:750!important;line-height:1.4!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-fields input,
#portalScreen #view-biblioteca #library-settings .library-config-fields textarea,
#portalScreen #view-biblioteca #library-settings .library-option-add input,
#portalScreen #view-biblioteca #library-settings .library-status-add>input{
  box-sizing:border-box!important;min-width:0!important;width:100%!important;min-height:43px!important;
  padding:10px 12px!important;background:#fff!important;background-image:none!important;
  border:1px solid #D8D8D5!important;border-radius:10px!important;box-shadow:none!important;
  color:#080808!important;font-size:12px!important;line-height:1.45!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-fields textarea{
  min-height:75px!important;resize:vertical!important;
}
#portalScreen #view-biblioteca #library-settings :is(input,textarea)::placeholder{color:#898989!important;opacity:1!important}
#portalScreen #view-biblioteca #library-settings :is(input,textarea):focus-visible{
  outline:2px solid rgba(226,0,27,.24)!important;outline-offset:0!important;
  border-color:#E2001B!important;box-shadow:none!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-details{
  display:block!important;overflow:hidden!important;margin-top:17px!important;
  background:#FBFBFA!important;border:1px solid #E5E5E2!important;border-radius:12px!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-details summary{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:14px!important;padding:14px 16px!important;cursor:pointer!important;list-style:none!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-details summary::-webkit-details-marker{display:none!important}
#portalScreen #view-biblioteca #library-settings .library-config-details summary:focus-visible{
  outline:2px solid #E2001B!important;outline-offset:-2px!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-details-text{
  display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-details-text strong{
  color:#080808!important;font-size:12.5px!important;font-weight:800!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-details-text small{
  color:#626262!important;font-size:11px!important;line-height:1.4!important;
}
#portalScreen #view-biblioteca #library-settings .library-config-chevron{
  width:9px!important;height:9px!important;flex:0 0 9px!important;margin:0 5px!important;
  border-right:2px solid #626262!important;border-bottom:2px solid #626262!important;
  transform:rotate(45deg);transition:transform .17s ease;
}
#portalScreen #view-biblioteca #library-settings .library-config-details[open] .library-config-chevron{transform:rotate(225deg)}
#portalScreen #view-biblioteca #library-settings .library-config-label-fields{
  padding:17px 16px 18px!important;background:#fff!important;border-top:1px solid #E5E5E2!important;
}
#portalScreen #view-biblioteca #library-settings .library-option-add,
#portalScreen #view-biblioteca #library-settings .library-status-add{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;
  margin:0 0 12px!important;padding:0!important;
}
#portalScreen #view-biblioteca #library-settings .library-option-add input,
#portalScreen #view-biblioteca #library-settings .library-status-add>input{
  width:auto!important;flex:1 1 190px!important;
}
#portalScreen #view-biblioteca #library-settings .library-option-add button,
#portalScreen #view-biblioteca #library-settings .library-status-add>button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:43px!important;width:auto!important;padding:10px 15px!important;
  background:#080808!important;border:1px solid #080808!important;border-radius:10px!important;
  color:#fff!important;font-size:11.5px!important;font-weight:800!important;box-shadow:none!important;
}
#portalScreen #view-biblioteca #library-settings .library-option-add button:hover,
#portalScreen #view-biblioteca #library-settings .library-status-add>button:hover{background:#333!important;border-color:#333!important}
#portalScreen #view-biblioteca #library-settings .library-status-add label{
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  color:#333!important;font-size:11px!important;font-weight:700!important;white-space:normal!important;
}
#portalScreen #view-biblioteca #library-settings .library-status-add label input{
  flex:0 0 auto!important;width:16px!important;height:16px!important;accent-color:#E2001B!important;
}
#portalScreen #view-biblioteca #library-settings .library-option-list{
  display:flex!important;flex-wrap:wrap!important;align-content:flex-start!important;gap:8px!important;
  min-height:47px!important;padding:10px!important;margin:0!important;
  border:1px solid #EAEAE6!important;border-radius:11px!important;background:#FAFAF9!important;
}
#portalScreen #view-biblioteca #library-settings .library-option-chip{
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  max-width:100%!important;padding:6px 8px!important;
  background:#fff!important;border:1px solid #DEDEDC!important;border-radius:8px!important;
  color:#333!important;font-size:11px!important;font-weight:650!important;line-height:1.35!important;
}
#portalScreen #view-biblioteca #library-settings .library-option-chip small{color:#626262!important;font-size:10px!important}
#portalScreen #view-biblioteca #library-settings .library-option-chip button{
  display:inline-grid!important;place-items:center!important;
  min-width:22px!important;width:22px!important;height:22px!important;min-height:22px!important;
  padding:0!important;background:#F7F7F5!important;border:0!important;
  border-radius:6px!important;color:#99001A!important;font-size:16px!important;
}
#portalScreen #view-biblioteca #library-settings .library-option-chip button:hover{background:#F7BCBC!important;color:#080808!important}
#portalScreen #view-biblioteca #library-settings .library-admin-note{color:#626262!important;font-size:11px!important}
@media(max-width:1050px){
  #portalScreen #view-biblioteca #library-settings .library-settings-grid{grid-template-columns:1fr!important}
  #portalScreen #view-biblioteca #library-settings .library-config-card.library-config-wide{grid-column:auto!important}
}
@media(max-width:700px){
  #portalScreen #view-biblioteca #library-settings .library-settings-intro{
    flex-direction:column!important;align-items:stretch!important;padding:18px!important;
  }
  #portalScreen #view-biblioteca #library-settings .library-settings-save-group{width:100%!important;align-items:stretch!important}
  #portalScreen #view-biblioteca #library-settings .library-settings-save-button{width:100%!important}
  #portalScreen #view-biblioteca #library-settings .library-config-card{padding:18px!important}
  #portalScreen #view-biblioteca #library-settings .library-config-fields{grid-template-columns:1fr!important}
  #portalScreen #view-biblioteca #library-settings .library-config-fields .field.full{grid-column:auto!important}
  #portalScreen #view-biblioteca #library-settings .library-option-add button,
  #portalScreen #view-biblioteca #library-settings .library-status-add>button{width:100%!important}
}
@media(prefers-reduced-motion:reduce){
  #portalScreen #view-biblioteca #library-settings .library-config-chevron{transition:none!important}
}
