/* VM TAXES V6.0 — Refinamento visual global · 27/11/2026
   Opcional para HOMOLOGAÇÃO. Escopo: apresentação; sem mudanças de dados,
   permissões, autenticação, funções financeiras ou documentação.
   Mantém a semântica de cores dos módulos e dos quatro status do Kanban. */
:root {
  --vm-premium-ink: #102A43;
  --vm-premium-subtitle: #466174;
  --vm-premium-border: #D9E4F0;
  --vm-premium-focus: #2563EB;
  --vm-premium-shadow: 0 4px 20px rgba(16,42,67,.055),0 1px 3px rgba(16,42,67,.04);
  --vm-premium-shadow-hover: 0 12px 28px rgba(16,42,67,.105),0 2px 8px rgba(16,42,67,.06);
}
/* 1. Ritmo visual e hierarquia da área de trabalho */
.shell .content{max-width:1500px}
.shell .page-top{padding:5px 0 20px;margin-bottom:23px;border-bottom:1px solid var(--vm-premium-border);align-items:center}
.shell .page-top > div:first-child{min-width:0}
.shell .page-top h1{font-size:clamp(25px,2vw,33px);font-weight:800;line-height:1.16;letter-spacing:-.034em;color:var(--vm-navy,#102A43);margin:6px 0 7px}
.shell .page-top .eyebrow{font-size:10.5px;font-weight:800;letter-spacing:.14em;color:#087999}
.shell .page-top p.muted{font-size:12.5px;line-height:1.65;color:var(--vm-premium-subtitle);max-width:760px}
.shell .page-top .filters{align-items:center;gap:10px}
.shell .page-top .filters select{font-size:12px;font-weight:650;min-height:43px;border-color:#C9D8E7;padding:10px 33px 10px 12px}
.shell .page-top .filters button{min-height:43px}
.shell .content .pilot-ribbon{background:#EDF6FB;color:#36586D;border-color:#CDE4F0;border-radius:12px;gap:9px;padding:10px 14px;font-size:11.5px;line-height:1.55;margin-bottom:23px}
.shell .pilot-ribbon strong{color:#075A78;font-weight:850;font-size:10px}
/* 2. Superfícies e blocos: padronização sutil, sem remover acentos semânticos */
.shell #page-content .card,
.shell #page-content .v60-simple-list,
.shell #page-content .v60-simple-filters,
.shell #page-content .workspace-head,
.shell #page-content .admin-toolbar{
  border-radius:15px;box-shadow:var(--vm-premium-shadow);
}
.shell #page-content .card{padding:clamp(16px,1.5vw,23px);margin-bottom:20px}
.shell #page-content .card > h2:first-child{font-weight:800;letter-spacing:-.018em;line-height:1.42}
.shell #page-content .kpi{padding:20px 18px;border-radius:14px;box-shadow:var(--vm-premium-shadow)}
.shell #page-content .kpi .value{letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.shell #page-content .quick-card,
.shell #page-content .v60-line-link,
.shell #page-content .v60-record{transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}
/* 3. Tabelas: leitura melhor em módulos legados sem alterar linhas/dados */
.shell #page-content .data-table{font-size:12px;line-height:1.55}
.shell #page-content .data-table thead th{font-size:10.8px;letter-spacing:.035em;font-weight:800;color:#31536D;background:#EAF1F9;padding:13px 12px;border-bottom:1px solid #D7E3F0}
.shell #page-content .data-table tbody td{padding:13px 12px;color:#29475D;vertical-align:middle}
.shell #page-content .data-table tbody tr:nth-child(even){background:rgba(244,248,253,.50)}
.shell #page-content .data-table tbody tr:hover{background:#EAF3FF}
/* 4. Controles: tamanho e feedback consistentes em todos os formulários */
.shell .form-fields label,
.shell .finance-filters label,
.shell #page-content .v60-simple-filters label{font-size:12px;line-height:1.45;color:#2E5068;font-weight:750}
.shell .form-fields input:not([type=checkbox]):not([type=radio]),
.shell .form-fields select,.shell .form-fields textarea,
.shell .finance-filters input,.shell .finance-filters select,
.shell #page-content .v60-simple-filters input,
.shell #page-content .v60-simple-filters select{font-size:12.5px;min-height:42px;border-color:#C5D7E7;border-radius:10px}
.shell .field-help,.shell .password-guidance,.shell .password-match-note{font-size:11.5px;line-height:1.55;color:#516B7E}
.shell button.primary,.shell button.secondary,.shell button.table-action{font-weight:750;letter-spacing:.005em}
.shell button.primary{box-shadow:0 4px 12px rgba(37,99,235,.17)}
.shell button.primary:hover{box-shadow:0 6px 16px rgba(37,99,235,.23)}
/* 5. Janelas de trabalho e auditoria — não afeta campos nem eventos */
.shell ~ dialog{border:1px solid #C9DBEA;border-radius:17px;box-shadow:0 20px 70px rgba(5,25,45,.22)}
.shell ~ dialog::backdrop{background:rgba(4,19,37,.57)}
.shell ~ dialog .modal-top{border-bottom:1px solid #E1EAF3;padding-bottom:15px;margin-bottom:20px}
.shell ~ dialog .modal-top h2{color:var(--vm-premium-ink);letter-spacing:-.025em;line-height:1.25}
.shell ~ dialog .form-actions{border-top:1px solid #E9EFF5;padding-top:15px}
.shell ~ dialog .history-row{background:#F5F9FD;border-color:#DDE8F2;border-radius:11px;line-height:1.6}
/* 6. Acessibilidade: foco, alto contraste e responsividade */
.shell :is(button,a,[role="button"],input,select,textarea):focus-visible,
.shell ~ dialog :is(button,a,[role="button"],input,select,textarea):focus-visible{
  outline:3px solid var(--vm-premium-focus);outline-offset:2px;
}
.shell #page-content :is(.muted,.section-note,.vm-muted,.v60-muted){color:var(--vm-premium-subtitle)}
@media(min-width:741px) and (max-width:1099px){
  .shell .content{padding-inline:22px}
  .shell .page-top{align-items:flex-start;flex-wrap:wrap}
}
@media(max-width:740px){
  .shell .page-top{padding-bottom:16px;margin-bottom:18px;gap:14px;align-items:stretch}
  .shell .page-top h1{font-size:26px}
  .shell .page-top .filters{width:100%}
  .shell .page-top .filters select{min-width:0;flex:1 1 185px}
  .shell .content .pilot-ribbon{padding:10px 12px}
  .shell #page-content .card{padding:16px}
  .shell #page-content .data-table{font-size:12px}
  .shell ~ dialog .modal-top{padding-bottom:10px;margin-bottom:14px}
}
@media(prefers-reduced-motion:reduce){
  .shell #page-content .quick-card,.shell #page-content .v60-line-link,.shell #page-content .v60-record{transition:none}
}
