/* SouPrimeiroAC V22.3.86 / build 2409
 * VISUAL EXCLUSIVO DO DASHBOARD: nenhum handler, conteudo ou permissao alterados.
 * Linguagem visual da aba Relatorios/Orcamentos: grafite, amarelo, contraste e respiro.
 */
#dashboardView{
  --dash-accent:#ffd426;
  --dash-text:#f7f8fa;
  --dash-muted:#b9c0cc;
  --dash-border:#3b3e46;
  min-width:0;
}
/* Hero original, sem inserir novos elementos e respeitando a marca aprovada. */
#dashboardView .dashboard-brand-hero{
  isolation:isolate;
  position:relative;
  overflow:hidden;
  border:1px solid #5b5030!important;
  border-radius:20px!important;
  background:linear-gradient(117deg,#25231c 0%,#191a1e 60%,#15171a 100%)!important;
  color:var(--dash-text)!important;
  padding:clamp(20px,3vw,34px)!important;
  gap:clamp(12px,2vw,24px)!important;
  min-height:164px;
  box-shadow:0 14px 32px #00000018;
}
#dashboardView .dashboard-brand-hero::after{
  content:"";
  position:absolute;
  right:-85px;
  top:-125px;
  height:335px;
  width:335px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,212,38,.14),transparent 68%);
  opacity:1;
  pointer-events:none;
  z-index:-1;
  font-size:inherit;
}
#dashboardView .dashboard-brand-hero>div{
  min-width:0;
  position:relative;
  z-index:1;
}
#dashboardView .dashboard-brand-hero .eyebrow{
  color:var(--dash-accent)!important;
  -webkit-text-fill-color:var(--dash-accent)!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.16em!important;
  margin-bottom:13px;
}
#dashboardView .dashboard-brand-hero h3{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:clamp(25px,3.1vw,35px)!important;
  letter-spacing:-.045em!important;
  line-height:1.14!important;
  max-width:680px;
  margin:0 0 12px!important;
}
#dashboardView .dashboard-brand-hero p:not(.eyebrow){
  color:#c1c7d0!important;
  -webkit-text-fill-color:#c1c7d0!important;
  font-size:clamp(12px,1.2vw,14px);
  line-height:1.65!important;
  max-width:65ch;
}
#dashboardView .dashboard-section-logo{
  position:relative;
  z-index:1;
  filter:none!important;
  object-fit:contain;
}
/* Atalhos originais: tamanho confortável, sem criar ou remover botoes. */
#dashboardView .dashboard-quick-actions{
  margin:16px 0 20px!important;
  gap:12px!important;
  min-width:0;
}
#dashboardView .dashboard-quick-actions .dashboard-new-project{
  background:linear-gradient(150deg,#23252b,#17191e)!important;
  color:#f6f7f9!important;
  -webkit-text-fill-color:#f6f7f9!important;
  border:1px solid #40444d!important;
  border-radius:15px!important;
  box-shadow:0 8px 20px #00000013;
  padding:13px 15px!important;
  min-height:66px!important;
  min-width:0!important;
  transition:background .16s,border-color .16s,transform .16s;
}
#dashboardView .dashboard-quick-actions .dashboard-new-project:hover{
  background:#24262b!important;
  border-color:#87742e!important;
  transform:translateY(-1px);
}
#dashboardView .dashboard-quick-actions .dashboard-new-project:focus-visible,
#dashboardView .dashboard-agenda-panel .btn:focus-visible,
#dashboardView .dashboard-report-summary .btn:focus-visible{
  outline:2px solid var(--dash-accent)!important;
  outline-offset:2px;
}
#dashboardView .dashboard-quick-actions .dashboard-new-project-icon{
  background:var(--dash-accent)!important;
  color:#151515!important;
  -webkit-text-fill-color:#151515!important;
  border-radius:11px!important;
  box-shadow:0 4px 15px #ffd4261a;
}
#dashboardView .dashboard-quick-actions .dashboard-new-project strong{
  color:#f6f7f9!important;
  -webkit-text-fill-color:#f6f7f9!important;
  line-height:1.3!important;
}
/* Boas-vindas, fluxo, agenda e resumo: superficies de Relatorios, sem alterar sua ordem. */
#dashboardView :is(.getting-started-panel,.dashboard-workflow-panel,.dashboard-agenda-panel,.dashboard-report-summary){
  border:1px solid var(--dash-border)!important;
  border-radius:19px!important;
  background:linear-gradient(160deg,#202227,#17191d)!important;
  color:var(--dash-text)!important;
  padding:clamp(16px,2vw,24px)!important;
  box-shadow:0 12px 30px #00000012;
  min-width:0;
}
#dashboardView .getting-started-panel{
  border-color:#524830!important;
  background:linear-gradient(145deg,#25231d,#1b1c1f 75%)!important;
  margin-bottom:18px;
}
#dashboardView .getting-started-panel h3{
  color:#fff!important;
  letter-spacing:-.03em;
}
#dashboardView .getting-started-actions .btn,
#dashboardView .dashboard-welcome-dismiss{
  background:#26282c!important;
  border:1px solid #51545d!important;
  color:#f4f5f7!important;
  border-radius:11px!important;
}
#dashboardView .dashboard-welcome-dismiss:hover{border-color:#ffd426!important}
#dashboardView :is(.dashboard-workflow-panel,.dashboard-agenda-panel,.dashboard-report-summary){
  margin-top:18px!important;
}
#dashboardView :is(.dashboard-workflow-panel,.dashboard-agenda-panel,.dashboard-report-summary) .panel-head{
  gap:14px;
  margin-bottom:14px;
  padding-bottom:14px;
  border-bottom:1px solid #3a3e46;
  min-width:0;
}
#dashboardView :is(.dashboard-workflow-panel,.dashboard-agenda-panel,.dashboard-report-summary) .panel-head h3{
  font-size:clamp(18px,2vw,23px)!important;
  color:#fff!important;
  letter-spacing:-.035em!important;
  line-height:1.2;
}
#dashboardView :is(.dashboard-workflow-panel,.dashboard-agenda-panel,.dashboard-report-summary) .eyebrow{
  color:#ffda52!important;
  letter-spacing:.15em!important;
  font-size:10px!important;
  font-weight:850;
}
#dashboardView :is(.dashboard-workflow-panel,.dashboard-agenda-panel,.dashboard-report-summary) .muted{
  color:var(--dash-muted)!important;
  line-height:1.55!important;
}
#dashboardView .dashboard-agenda-panel .btn-primary{
  background:#ffd426!important;
  color:#131313!important;
  border:1px solid #ffd426!important;
  border-radius:11px!important;
  min-height:42px;
  white-space:normal;
}
#dashboardView .dashboard-report-summary .btn-ghost{
  background:#23262b!important;
  color:#fff!important;
  border:1px solid #50545c!important;
  border-radius:11px!important;
  min-height:42px;
  white-space:normal;
}
/* Itens gerados pela Agenda: estilos visuais, sem interferir em data-action ou IDs. */
#dashboardView .dashboard-workflow .dashboard-next-job{
  background:#121419!important;
  color:#f8f9fb!important;
  border:1px solid #43464e!important;
  border-radius:14px!important;
  padding:clamp(13px,1.8vw,18px)!important;
  min-width:0;
}
#dashboardView .dashboard-workflow .dashboard-next-job:hover{border-color:#7b692e!important;background:#181a1f!important}
#dashboardView .dashboard-next-job b,
#dashboardView .dashboard-next-job strong:not(.dashboard-next-job-more){color:#fff!important}
#dashboardView .dashboard-next-job small{color:#b9c1cd!important;line-height:1.5}
#dashboardView .dashboard-next-job-more{
  background:#ffd426!important;
  color:#151515!important;
  border-radius:10px!important;
}
#dashboardView .dashboard-workflow .workflow-mini-steps{margin-top:14px}
#dashboardView .dashboard-workflow .empty,
#dashboardView .dashboard-agenda-panel .empty{
  background:#14161b!important;
  border:1px dashed #484b54!important;
  border-radius:12px!important;
  color:#b9c1ca!important;
  padding:17px!important;
}
#dashboardView #dashboardJobs{gap:10px!important;min-width:0}
#dashboardView #dashboardJobs .list-row,
#dashboardView #dashboardJobs .agenda-card{
  background:#121419!important;
  color:#f6f7f9!important;
  border:1px solid #393d45!important;
  border-radius:13px!important;
  padding:clamp(11px,1.6vw,16px)!important;
  min-width:0;
}
#dashboardView #dashboardJobs :is(.list-row,.agenda-card):hover{border-color:#6e5e2b!important}
#dashboardView #dashboardJobs strong{color:#f6f7f9!important}
#dashboardView #dashboardJobs small{color:#b8c0cb!important}
#dashboardView #dashboardJobs.dashboard-jobs-scroll{scrollbar-color:#52545d transparent}
/* Indicadores financeiros existentes: melhor hierarquia, sem alterar valores. */
#dashboardView .dashboard-report-kpis{
  margin-top:16px!important;
  gap:12px!important;
}
#dashboardView .dashboard-report-kpis>div{
  position:relative;
  background:#121418!important;
  border:1px solid #3b3e46!important;
  border-radius:14px!important;
  padding:17px 15px!important;
  min-width:0;
  overflow:hidden;
}
#dashboardView .dashboard-report-kpis>div::before{
  content:"";display:block;height:3px;width:26px;
  border-radius:5px;background:#ffd426;margin-bottom:13px;
}
#dashboardView .dashboard-report-kpis span{
  color:#c6cbd4!important;
  font-size:12px!important;
  font-weight:700;
  line-height:1.3;
}
#dashboardView .dashboard-report-kpis strong{
  color:#fff!important;
  font-size:clamp(18px,1.95vw,25px)!important;
  letter-spacing:-.035em;
  line-height:1.22;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
#dashboardView .dashboard-report-kpis>div:nth-child(3) strong{color:#ffe178!important}
#dashboardView .dashboard-report-kpis>div:nth-child(4)::before{background:#f39a88}
#dashboardView .dashboard-stats-final{gap:14px!important;margin-top:18px!important;min-width:0}
#dashboardView .dashboard-stats-final .stat-card{
  position:relative;
  background:linear-gradient(155deg,#22242a,#17191d)!important;
  border:1px solid #3b3f47!important;
  border-radius:16px!important;
  padding:clamp(17px,2vw,23px)!important;
  color:#fff!important;
  min-width:0;
}
#dashboardView .dashboard-stats-final .stat-card::before{
  content:"";display:block;height:3px;width:25px;
  border-radius:5px;background:#ffd426;margin-bottom:13px;
}
#dashboardView .dashboard-stats-final .stat-card span,
#dashboardView .dashboard-stats-final .stat-card small{color:#c2c9d2!important;line-height:1.35}
#dashboardView .dashboard-stats-final .stat-card strong{
  color:#fff!important;
  font-size:clamp(22px,2.6vw,32px)!important;
  line-height:1.1;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.035em;
  margin-top:12px;
}
@media(max-width:760px){
  #dashboardView .dashboard-brand-hero{padding:20px!important;min-height:0;gap:12px!important}
  #dashboardView .dashboard-brand-hero h3{font-size:clamp(23px,6vw,30px)!important}
  #dashboardView .dashboard-quick-actions{gap:9px!important;margin:12px 0 16px!important}
  #dashboardView .dashboard-quick-actions .dashboard-new-project{padding:10px!important;min-height:64px!important}
  #dashboardView :is(.getting-started-panel,.dashboard-workflow-panel,.dashboard-agenda-panel,.dashboard-report-summary){padding:16px!important}
  #dashboardView :is(.dashboard-workflow-panel,.dashboard-agenda-panel,.dashboard-report-summary) .panel-head{align-items:stretch;flex-wrap:wrap}
  #dashboardView .dashboard-report-kpis{gap:9px!important}
  #dashboardView .dashboard-report-kpis>div{padding:13px!important}
}
@media(max-width:430px){
  #dashboardView .dashboard-brand-hero{padding:18px!important}
  #dashboardView .dashboard-brand-hero h3{font-size:23px!important}
  #dashboardView .dashboard-stats-final{gap:9px!important}
  #dashboardView .dashboard-stats-final .stat-card{padding:13px!important}
  #dashboardView .dashboard-report-kpis strong{font-size:18px!important}
  #dashboardView .dashboard-next-job{gap:10px;flex-wrap:wrap}
  #dashboardView .dashboard-next-job-more{max-width:100%}
}
