/* V22.3.85 / build 2408
   Redesign EXCLUSIVO da aba Orçamentos.
   Sem modificação de elementos, campos, handlers ou regras de negócio.
   Identidade visual alinhada ao Relatórios / 2405.
*/
#orcamentoView{
  --quote-ink:#f8f8f9;
  --quote-muted:#bac0cb;
  --quote-yellow:#ffd426;
  --quote-surface:#191b20;
  --quote-edge:#393d45;
  min-width:0;
}
/* Cabeçalho: mesma linguagem de Relatórios. */
#orcamentoView .quote-page-head{
  position:relative!important;
  isolation:isolate;
  overflow:hidden;
  margin-bottom:22px!important;
  border:1px solid #58502d!important;
  border-radius:20px!important;
  background:linear-gradient(117deg,#25231c,#191a1e 60%,#15171a)!important;
  padding:clamp(20px,3vw,32px)!important;
  gap:16px!important;
}
#orcamentoView .quote-page-head::after{
  content:"";
  position:absolute;
  right:-105px;
  top:-150px;
  width:345px;
  height:345px;
  background:radial-gradient(circle,rgba(255,212,38,.13),transparent 69%);
  pointer-events:none;
  z-index:-1;
}
#orcamentoView .quote-page-head .eyebrow{
  color:var(--quote-yellow)!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.16em!important;
}
#orcamentoView .quote-page-head h3{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:clamp(24px,3vw,33px)!important;
  letter-spacing:-.04em!important;
  line-height:1.16!important;
}
#orcamentoView .quote-page-head>.btn{
  position:relative;
  z-index:1;
  border-radius:11px!important;
  min-height:43px;
  margin:0!important;
  padding:11px 16px!important;
  font-weight:850!important;
}
#orcamentoView .quote-page-head #newQuoteBtn{
  border:1px solid #484c54!important;
  background:#22252a!important;
  color:#f2f3f6!important;
}
#orcamentoView .quote-page-head #saveQuoteBtn{
  border:1px solid var(--quote-yellow)!important;
  background:var(--quote-yellow)!important;
  color:#171717!important;
  -webkit-text-fill-color:#171717!important;
  box-shadow:0 8px 22px rgba(255,212,38,.12);
}
/* Colunas e cartões; não altera inputs, dependências ou quantidade de itens. */
#orcamentoView .quote-layout{
  gap:18px!important;
  align-items:start;
  min-width:0;
}
#orcamentoView .quote-form-panel{
  min-width:0;
  border:1px solid var(--quote-edge)!important;
  border-radius:20px!important;
  background:linear-gradient(165deg,#202227,#16181c)!important;
  padding:clamp(16px,2.35vw,25px)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.12);
  color:var(--quote-ink)!important;
}
#orcamentoView .quote-form-panel label{
  color:#d8dce4!important;
  font-size:12px;
  font-weight:750;
  line-height:1.45;
  min-width:0;
}
#orcamentoView .quote-form-panel :is(input:not([type="checkbox"]):not([type="hidden"]),select,textarea){
  border:1px solid #434750!important;
  border-radius:11px!important;
  background:#111318!important;
  color:#f8f8f9!important;
  -webkit-text-fill-color:#f8f8f9!important;
  min-width:0;
}
#orcamentoView .quote-form-panel :is(input,select,textarea):focus-visible{
  outline:2px solid rgba(255,212,38,.45)!important;
  outline-offset:1px;
  border-color:#e8c543!important;
}
#orcamentoView .quote-form-panel :is(input,textarea)::placeholder{
  color:#8e95a0!important;
  -webkit-text-fill-color:#8e95a0!important;
}
#orcamentoView .quote-form-panel .quote-primary{
  position:relative;
  overflow:hidden;
  margin-bottom:17px!important;
  padding:clamp(17px,2.25vw,24px)!important;
  border:1px solid #454037!important;
  border-radius:17px!important;
  background:linear-gradient(145deg,#23221e,#17191d 72%)!important;
}
#orcamentoView .quote-form-panel .quote-primary>.eyebrow{
  margin-bottom:18px;
  color:#ffe06b!important;
  font-size:10px;
  letter-spacing:.15em;
  font-weight:900;
}
#orcamentoView .quote-primary .quote-daily-value-highlight{
  background:#ffd426!important;
  border:1px solid #efc526!important;
  box-shadow:0 8px 20px rgba(255,212,38,.09);
}
#orcamentoView .quote-primary .quote-daily-value-highlight .quote-money-control input{
  background:#fff8d6!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  border-color:#d8b52d!important;
}
/* Projeto integrado e opção existente de anexar equipamentos. */
#orcamentoView .quote-project-autofill{
  margin-bottom:13px!important;
  border:1px solid #3d4149!important;
  border-radius:15px!important;
  background:#14161a!important;
  padding:15px!important;
}
#orcamentoView .quote-project-autofill .project-autofill-label{color:#ffda52!important;letter-spacing:.1em}
#orcamentoView .quote-project-autofill strong{color:#fff!important}
#orcamentoView .quote-attachment-option{
  margin-bottom:17px!important;
  padding:11px 13px!important;
  border:1px solid #383d45!important;
  border-radius:12px!important;
  background:#16191d!important;
}
#orcamentoView .quote-attachment-option span{color:#d6dae2!important}
#orcamentoView .quote-attachment-option input{accent-color:#ffd426}
/* Dados do cliente agrupados como seção visual sem mudar a ordem ou os campos. */
#orcamentoView .quote-client-card{
  margin-bottom:18px!important;
  padding:clamp(15px,2vw,22px)!important;
  border:1px solid #373b43!important;
  border-radius:16px!important;
  background:linear-gradient(150deg,#1c1f24,#15171b)!important;
  gap:14px!important;
}
#orcamentoView .quote-form-panel .favorite-input{min-width:0}
#orcamentoView .quote-form-panel .favorite-btn{border-radius:9px!important}
#orcamentoView .quote-kit-preview:not(:empty){
  overflow:hidden;
  border-radius:14px;
  margin-bottom:17px!important;
}
#orcamentoView .quote-items-head{
  margin:24px 0 13px!important;
  padding:14px 15px!important;
  border:1px solid #3d4048!important;
  border-radius:14px!important;
  background:#17191e!important;
}
#orcamentoView .quote-items-head .eyebrow{
  color:#ffda52!important;
  font-size:10px;
  font-weight:850;
  letter-spacing:.14em;
}
#orcamentoView .quote-items-head h3{
  color:#fff!important;
  font-size:clamp(17px,2vw,21px)!important;
  letter-spacing:-.03em;
}
#orcamentoView .quote-items-head #addQuoteItemBtn{
  color:#ffd426!important;
  border:1px solid #665625!important;
  border-radius:10px!important;
  padding:9px 12px!important;
  background:#242114!important;
}
#orcamentoView #quoteItems{gap:10px!important;margin:0 0 18px!important}
#orcamentoView #quoteItems .quote-item{
  min-width:0;
  border:1px solid #393c45!important;
  border-radius:13px!important;
  background:#111318!important;
  padding:12px!important;
  color:#f4f4f4!important;
}
#orcamentoView .quote-form-panel>label:has(> #quoteNotes){
  display:grid;
  gap:8px;
  border-top:1px solid #363a42;
  margin-top:18px;
  padding-top:17px;
}
#orcamentoView #quoteNotes{resize:vertical;line-height:1.55}
/* Resumo: visual harmonizado com os indicadores de Relatórios. */
#orcamentoView .quote-summary{
  border:1px solid #4e4934!important;
  border-radius:20px!important;
  background:linear-gradient(165deg,#222329,#15171c)!important;
  padding:clamp(17px,2vw,22px)!important;
  box-shadow:0 15px 38px rgba(0,0,0,.16)!important;
}
#orcamentoView .quote-summary:before{
  height:3px!important;
  background:linear-gradient(90deg,#ffd426,#b99d28)!important;
}
#orcamentoView .quote-summary-head{
  border-bottom:1px solid #3b3e45;
  padding:4px 0 15px!important;
  margin-bottom:15px!important;
}
#orcamentoView .quote-summary-head h3{font-size:clamp(18px,2vw,22px)!important;letter-spacing:-.03em}
#orcamentoView .quote-summary-card{
  padding:15px 13px!important;
  border:1px solid #3b3e46!important;
  border-radius:13px!important;
  background:#15171c!important;
}
#orcamentoView .quote-summary-card strong{font-size:clamp(14px,1.7vw,17px)!important;font-variant-numeric:tabular-nums}
#orcamentoView .quote-summary-grid{gap:11px!important;margin-bottom:13px!important}
#orcamentoView .quote-note-result{gap:10px!important;margin-bottom:13px!important}
#orcamentoView .quote-note-result>div,#orcamentoView .quote-note-result>label{
  border:1px solid #3b3e46!important;
  background:#15171c!important;
  padding:13px!important;
}
#orcamentoView .quote-summary .summary-total{
  border-radius:14px!important;
  margin-bottom:14px!important;
  padding:18px 16px!important;
  background:linear-gradient(110deg,#ffda45,#f3c520)!important;
  box-shadow:0 8px 24px rgba(255,212,38,.12);
}
#orcamentoView .quote-summary .summary-total strong{
  font-size:clamp(22px,2.55vw,31px)!important;
  font-variant-numeric:tabular-nums;
  white-space:normal!important;
  overflow-wrap:anywhere;
  text-align:right;
}
#orcamentoView .quote-summary-actions .btn{min-height:45px!important;border-radius:11px!important}
#orcamentoView .quote-summary .quote-approval-status{
  border:1px dashed #444852!important;
  border-radius:11px!important;
  background:#15171b!important;
  line-height:1.5!important;
  padding:12px!important;
}
/* Histórico continua com cinco linhas e rolagem existentes; apenas aparência. */
#orcamentoView .saved-quotes{
  margin-top:19px!important;
  border:1px solid #393d45!important;
  border-radius:19px!important;
  background:linear-gradient(160deg,#202227,#17191d)!important;
  padding:clamp(16px,2.25vw,23px)!important;
}
#orcamentoView .saved-quotes .panel-head{
  padding-bottom:13px;
  border-bottom:1px solid #3a3e45;
  margin-bottom:15px!important;
}
#orcamentoView .saved-quotes .panel-head .eyebrow{font-size:10px!important;letter-spacing:.15em}
#orcamentoView .saved-quotes .panel-head h3{
  font-size:clamp(18px,2.2vw,22px)!important;
  letter-spacing:-.03em;
}
#orcamentoView .quote-history-row{
  border:1px solid #383c44!important;
  border-radius:13px!important;
  background:linear-gradient(110deg,#16181d,#121417)!important;
  box-shadow:inset 3px 0 #ffd42626;
}
#orcamentoView .quote-history-row:hover{border-color:#746329!important;background:#1b1c20!important}
#orcamentoView .quote-history-main strong{font-size:.86rem!important}
#orcamentoView .quote-history-total{font-variant-numeric:tabular-nums;font-size:.86rem!important}
#orcamentoView .quote-history-action{border-radius:10px!important}
#orcamentoView #savedQuotesList{scrollbar-color:#53545a transparent}
@media(min-width:761px){
  #orcamentoView .quote-page-head{
    margin-top:24px!important;
    min-height:150px!important;
  }
}
@media(max-width:1000px){
  #orcamentoView .quote-layout{grid-template-columns:minmax(0,1fr)!important}
  #orcamentoView .quote-summary{position:static!important}
}
@media(max-width:760px){
  #orcamentoView .quote-page-head{padding:20px!important;gap:12px!important}
  #orcamentoView .quote-page-head>div:first-child{width:100%}
  #orcamentoView .quote-page-head>.btn{min-height:44px;width:100%}
  #orcamentoView .quote-form-panel{padding:16px!important}
  #orcamentoView .quote-primary{padding:16px!important}
  #orcamentoView .quote-summary{padding:16px!important}
  #orcamentoView .quote-summary-card{padding:12px!important}
  #orcamentoView .quote-history-main{overflow:hidden}
}
@media(max-width:420px){
  #orcamentoView .quote-summary .summary-total{grid-template-columns:1fr!important;gap:7px!important}
  #orcamentoView .quote-summary .summary-total strong{text-align:left}
  #orcamentoView .quote-summary-actions{grid-template-columns:1fr!important}
  #orcamentoView .quote-items-head{padding:12px!important}
}
