/* V70.59: tema claro na seleção de modelos e seletor global de idiomas */
.wise-language-picker{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;font-weight:600;color:var(--text-main,#eef3fa);background:var(--bg-panels,#202c3e);border:1px solid var(--border-color,#627489);border-radius:6px;padding:4px 7px;max-width:255px}
.wise-language-picker select{min-width:110px;max-width:180px;padding:5px 6px;border:1px solid var(--border-color);border-radius:4px;background:var(--bg-panels,#202c3e);color:var(--text-main,#eef3fa);font-size:12px;cursor:pointer}
.wise-language-picker select:focus-visible{outline:2px solid var(--highlight-blue);outline-offset:2px}
body.wise7039-light #modal-novo-projeto .wise-template-head,body.wise7039-light #modal-novo-projeto .wise-template-head b{color:#143a56!important}
body.wise7039-light #modal-novo-projeto .wise-template-head p{color:#355c73!important}
body.wise7039-light #modal-novo-projeto .wise-template-list{background:#f1f8fd!important;border-color:#a3c7dc!important;scrollbar-color:#a3c7dc #e9f3fa}
body.wise7039-light #modal-novo-projeto .wise-template-item{background:#fff!important;border:1px solid #b8d2e2!important;color:#16405d!important}
body.wise7039-light #modal-novo-projeto .wise-template-item b{color:#173e59!important}
body.wise7039-light #modal-novo-projeto .wise-template-item span{color:#456b80!important}
body.wise7039-light #modal-novo-projeto .wise-template-item i{color:#0878a9!important}
body.wise7039-light #modal-novo-projeto .wise-template-item:hover{background:#e1f3ff!important;border-color:#1588c2!important}
body.wise7039-light #modal-novo-projeto .wise-template-item[aria-checked=true]{background:#d7f0fd!important;border-color:#057da9!important;box-shadow:inset 4px 0 #0786bf!important}
body.wise7039-light #modal-novo-projeto .wise-template-description{background:#eaf6fc!important;color:#204d68!important;border-left:3px solid #0786bf!important}
body.wise7039-light #modal-novo-projeto input{color:#193e59!important;background:#fff!important;border-color:#aac8da!important}
body.wise7039-light #modal-novo-projeto input::placeholder{color:#687f91!important;opacity:1}
body.wise7039-light #modal-novo-projeto .prop-item label{color:#234c66!important}
#novo-proj-autor:invalid:focus{border-color:#c33c4c!important;outline:1px solid #c33c4c}
@media(max-width:790px){.wise-language-picker #wise-language-label{display:none}.wise-language-picker{padding:3px}.wise-language-picker select{min-width:90px;max-width:130px}}

/* V70.61: a recuperação automática acompanha o tema selecionado.
   As cores escuras originais permanecem exclusivamente no tema escuro. */
body.wise7039-light #wise17-recovery-dialog.wise17-recovery-overlay{
  background:rgba(22,48,74,.43)!important;
  color:#1d4059!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-recovery-panel{
  background:#f7fbff!important;color:#223f55!important;
  border:1px solid #a7c9dc!important;
  box-shadow:0 24px 66px rgba(16,48,79,.26)!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-recovery-panel header,
body.wise7039-light #wise17-recovery-dialog .wise17-recovery-panel footer{
  background:#e8f3fb!important;color:#20425b!important;
  border-color:#bdd6e6!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-recovery-panel header strong{
  color:#11567e!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-recovery-panel header button{
  color:#386580!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-recovery-panel header button:hover{
  color:#075985!important;background:#d4e9f7!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-recovery-panel>p{
  color:#385971!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-list{
  background:#f7fbff!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-draft{
  background:#fff!important;color:#193e58!important;
  border-color:#b5d2e4!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-draft span{
  color:#193e58!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-draft time{
  color:#456d85!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-draft button,
body.wise7039-light #wise17-recovery-dialog .wise17-recovery-panel footer button{
  background:#e7f4fb!important;color:#175779!important;
  border-color:#a5cbe0!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-draft button:hover,
body.wise7039-light #wise17-recovery-dialog .wise17-recovery-panel footer button:hover{
  background:#d1eafa!important;color:#09577f!important;
  border-color:#409fce!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-draft .wise17-discard{
  background:#fff2f2!important;color:#a33140!important;
  border-color:#e7a8ae!important;
}
body.wise7039-light #wise17-recovery-dialog .wise17-draft .wise17-discard:hover{
  background:#ffe1e2!important;color:#8d1c2d!important;
  border-color:#d36c79!important;
}
body.wise7039-light #wise17-recovery-dialog button:focus-visible{
  outline:2px solid #007ba8!important;outline-offset:2px;
}
