/* GRAFICA UCHOA | PADRAO GLOBAL v207 | 2026-10-27
   Ajustes puramente visuais, escopo gg207-standard.
   Objetivos: alinhamento, ritmo de espacamento, estados de interação,
   eliminar o overflow horizontal da PAGINA sem suprimir colunas de tabelas.
   Preserva logica, IDs, permissoes, visibilidade e responsividade especifica.
*/
body.gg207-standard{
 --gg207-ink:#193454;
 --gg207-muted:#607590;
 --gg207-line:#dbe6f2;
 --gg207-surface:#fff;
 --gg207-primary:#175bd1;
 --gg207-focus:#77aef4;
 --gg207-radius:12px;
 --gg207-shadow:0 4px 14px rgba(15,47,87,.075);
 box-sizing:border-box!important;
 max-width:100%!important;
 overflow-x:clip!important;
}
html:has(body.gg207-standard){overflow-x:clip!important}
@supports not (overflow:clip){
 body.gg207-standard,html:has(body.gg207-standard){overflow-x:hidden!important}
}
body.gg207-standard :where(main,.cash034-app,.erp011-page,.cash034-main,.gg205-main,.dash036,.crud-main,.sm66-main,.ops038,.erp023){
 box-sizing:border-box!important;min-width:0!important;
}
/* Corrige largura 100% + margem lateral do rodape compartilhado:
   essa combinacao fazia a PAGINA transbordar horizontalmente. */
body.gg207-standard > .uchoa048-footer{
 display:flex!important;box-sizing:border-box!important;
 width:auto!important;max-width:none!important;
 margin:14px 20px 0 264px!important;
 padding:12px 16px!important;
 border-radius:10px 10px 0 0!important;
 min-width:0!important;
}
body.gg207-standard.cash034-body > .uchoa048-footer{margin-left:20px!important}
body.gg207-standard > .uchoa048-footer .u108-footer-content{
 min-width:0!important;gap:9px 15px!important;
}
/* Margens internas padronizadas; nao reposiciona cabecalhos aprovados. */
body.gg207-standard.cash035-shared > main:not(.gg173-operational){
 padding-top:17px!important;padding-bottom:34px!important;
}
body.gg207-standard :where(.cash034-app,.gg205-main,.gg173-operational,.erp011-page,.crud-main,.sm66-main){
 max-width:100%!important;
}
body.gg207-standard main :where(.panel,.dash036-panel,.gg173-panel,.gg173-admin-hub,.cash034-card,.ops038-section,.sm66-panel,.gg205-app-card,.gg205-chat-card,.gg205-operacao-card,.chat184-shell,.gg122-pending){
 box-sizing:border-box!important;min-width:0!important;
 max-width:100%!important;
 border:1px solid var(--gg207-line)!important;
 border-radius:var(--gg207-radius)!important;
 box-shadow:var(--gg207-shadow)!important;
}
body.gg207-standard main :where(.panel,.dash036-panel,.gg173-panel,.gg173-admin-hub,.cash034-card,.ops038-section,.sm66-panel,.gg205-app-card,.gg205-chat-card,.gg205-operacao-card){
 padding:16px 18px!important;
 margin-top:10px!important;margin-bottom:12px!important;
}
body.gg207-standard main :where(.panel,.dash036-panel,.gg173-panel,.gg173-admin-hub,.cash034-card,.ops038-section,.sm66-panel,.gg205-app-card,.gg205-chat-card,.gg205-operacao-card) :where(h2,h3){
 margin-top:0!important;margin-bottom:7px!important;
 line-height:1.25!important;
}
body.gg207-standard main :where(.panel,.dash036-panel,.gg173-panel,.gg173-admin-hub,.cash034-card,.ops038-section,.sm66-panel,.gg205-app-card) > p{
 margin-top:5px!important;margin-bottom:10px!important;
 line-height:1.5!important;
}
/* Cards menores que exibem KPIs, rankings e atalhos seguem a mesma linguagem. */
body.gg207-standard main :where(.dash036-kpi,.gg178-metric,.client133-metrics>div,.gg173-hub-grid>a,.dash036-shortcuts>a,.gg173-operational .gg173-hub-grid>a){
 box-sizing:border-box!important;min-width:0!important;
 border-radius:10px!important;border-color:var(--gg207-line)!important;
 box-shadow:0 3px 12px rgba(15,47,87,.06)!important;
}
body.gg207-standard main :where(.dash036-kpi,.gg178-metric,.client133-metrics>div,.gg173-hub-grid>a,.dash036-shortcuts>a){
 padding:13px!important;gap:7px!important;
}
body.gg207-standard main :where(.gg173-hub-grid>a,.gg173-operational .gg173-hub-grid>a){
 min-height:104px!important;
}
body.gg207-standard main :where(.gg173-hub-grid,.dash036-kpis,.dash036-shortcuts,.gg178-metrics,.client133-metrics,.cash034-metrics,.gg173-operational .gg173-hub-grid){
 gap:10px!important;
}
body.gg207-standard main :where(.dash036-kpi,.gg178-metric,.client133-metrics>div,.gg173-hub-grid>a,.dash036-shortcuts>a):where(:hover){
 box-shadow:0 6px 17px rgba(15,47,87,.105)!important;
}
/* Botao e links de acao: medidas, bordas e efeitos consistentes.
   Cores do tipo de acao e botao de perigo sao preservadas. */
body.gg207-standard main :where(button,.btn,a.btn,a.primary,a.secondary,input[type="submit"],input[type="button"]){
 box-sizing:border-box!important;
 border-radius:8px!important;
 font-family:Inter,"Segoe UI",Arial,sans-serif!important;
 line-height:1.35!important;
 transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
body.gg207-standard main :where(button:not([class*="icon"]):not([class*="eye"]):not([class*="toggle"]),.btn,a.btn,a.primary,a.secondary,input[type="submit"],input[type="button"]){
 min-height:34px!important;padding:7px 11px!important;
}
body.gg207-standard main :where(button,.btn,a.btn,a.primary,a.secondary):where(:not(:disabled):hover){
 box-shadow:0 3px 11px rgba(15,47,87,.13)!important;
}
body.gg207-standard main :where(button,input,select,textarea,a):focus-visible{
 outline:2px solid var(--gg207-focus)!important;outline-offset:2px!important;
}
body.gg207-standard main button:disabled{
 cursor:not-allowed!important;opacity:.64;
}
/* Campos, seletores e barras de pesquisa com o mesmo ritmo. */
body.gg207-standard main :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){
 box-sizing:border-box!important;max-width:100%!important;
 border-radius:8px!important;
 border-color:#cbd9e9!important;
 font-size:13px!important;
}
body.gg207-standard main :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select):where(:not([type="range"]):not([type="color"])){
 min-height:35px!important;padding:6px 9px!important;
}
body.gg207-standard main textarea{
 padding:8px 10px!important;
}
body.gg207-standard main :where(label,.field>label){
 line-height:1.4!important;
}
body.gg207-standard main :where(.toolbar,.erp-toolbar,.ops038-toolbar,.search-row,.p50-actions,.sm66-actions,.client-line,.cash034-inline,.gg205-intro-actions,.erp011-heroactions){
 gap:8px!important;
}
body.gg207-standard main :where(.section-head,.dash036-heading,.erp011-sectionhead,.gg173-hub-head,.gg122-pending-head,.p50-top,.cash034-tablehead){
 gap:9px 13px!important;
 margin-bottom:12px!important;
}
/* Tabelas: linhas menores sem perder informacao ou bloquear cabecalhos. */
body.gg207-standard main table{
 max-width:100%!important;
 border-collapse:separate;border-spacing:0;
}
body.gg207-standard main table :where(th,td){
 box-sizing:border-box!important;
 padding:8px 9px!important;
 font-size:12px!important;line-height:1.45!important;
 vertical-align:middle!important;
 border-bottom:1px solid #e8eff7!important;
}
body.gg207-standard main table thead th{
 background:#f1f6fd!important;
 color:#254969!important;
 font-weight:750!important;
}
body.gg207-standard main table tbody tr{
 transition:background-color .14s ease!important;
}
body.gg207-standard main table tbody tr:hover{
 background:#f6faff!important;
}
/* Tabelas realmente largas permanecem completas e rolam SOMENTE dentro
   de sua area, sem provocar barra horizontal na pagina. */
body.gg207-standard :where(.table-wrap,.table-scroll,.erp-table-wrap,.scroll,.p50-scroll,.sm66-table-wrap,.cash034-scroll,.ops038-table,.gg121-table-wrap,.gg123-table-wrap,.client-table-wrap,.cv174-table-wrap){
 box-sizing:border-box!important;
 width:100%;min-width:0!important;max-width:100%!important;
 overflow-x:auto;overscroll-behavior-inline:contain;
}
body.gg207-standard main :where(.grid,.cash034-layout,.erp011-page,.c31-layout,.sm66-layout,.ops038-board,.ops037-cards,.dash036-kpis,.gg173-hub-grid,.gg178-metrics,.gg121-details,.chat184-shell){
 min-width:0!important;max-width:100%!important;
}
body.gg207-standard main :where(.grid,.cash034-layout,.sm66-layout,.gg121-details)>*{
 min-width:0!important;
}
body.gg207-standard main :where(img,video,canvas,svg){
 max-width:100%;
}
body.gg207-standard main :where(.alert,.hint,.note){
 overflow-wrap:anywhere;
}
body.gg207-standard main .alert:empty{
 display:none!important;
}
body.gg207-standard main .gg205-intro{
 margin-bottom:13px!important;padding-bottom:13px!important;
}
body.gg207-standard main :where(.gg205-intro h1,.gg205-intro h2){
 margin-bottom:3px!important;
}
/* Elimina espaco entre indicadores do Caixa e borda do painel. */
body.gg207-standard.cash034-body .gg197-caixa-content{
 box-sizing:border-box!important;max-width:100%!important;min-width:0!important;
 padding:15px clamp(14px,2vw,24px) 26px!important;
}
/* Caixa dinamico: preserva campos de fechamento e as secoes completas. */
body.gg207-standard.cash034-body :where(#cash,.cash034-layout,.cash034-primary,.cash034-aside){
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
}
@media(max-width:800px){
 body.gg207-standard > .uchoa048-footer{
  margin:12px 10px 0!important;
  width:auto!important;padding:12px!important;
 }
 body.gg207-standard.cash035-shared > main:not(.gg173-operational){
  padding:13px 12px 30px!important;
 }
 body.gg207-standard main :where(.panel,.dash036-panel,.gg173-panel,.gg173-admin-hub,.cash034-card,.ops038-section,.sm66-panel,.gg205-app-card,.gg205-chat-card,.gg205-operacao-card){
  padding:13px 14px!important;margin-top:8px!important;margin-bottom:10px!important;
 }
 body.gg207-standard main :where(.gg173-hub-grid,.dash036-kpis,.dash036-shortcuts,.gg178-metrics,.client133-metrics){gap:8px!important}
 body.gg207-standard main :where(.gg173-hub-grid>a,.gg173-operational .gg173-hub-grid>a){min-height:90px!important}
 body.gg207-standard main table :where(th,td){padding:7px 8px!important}
}
/* Layout de login e recuperacao: somente controles/estados. */
body.gg207-standard .login-card :where(input,button){
 border-radius:8px!important;
}
body.gg207-standard .login-card button:focus-visible,
body.gg207-standard .login-card input:focus-visible{
 outline:2px solid #77aef4!important;outline-offset:2px!important;
}
@media(prefers-reduced-motion:reduce){
 body.gg207-standard main :where(button,.btn,a.btn,table tbody tr){transition:none!important}
}



/* GRAFICA UCHOA — UNIFIED PANEL v208 (2026-10-27)
   Objetivo: espaço de trabalho central contínuo, igual ao conceito da Visão Geral.
   Somente em páginas operacionais com gg208-unified; a Visão Geral permanece aprovada.
   Não altera HTML interno nem regras de venda, caixa, autenticação ou permissões. */
body.gg207-standard.gg208-unified {
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  background:#f2f6fc!important;
}
/* A folha do ERP antigo cria um segundo header fixo. Apenas o menu atual fica visível. */
body.gg207-standard.gg208-unified.cash035-shared > header{
  display:none!important;
}
/* Painel principal ÚNICO: borda externa sutil; dentro dele, seções integradas. */
body.gg207-standard.gg208-unified.cash035-shared > main{
  box-sizing:border-box!important;
  margin:16px 18px 24px 262px!important;
  width:auto!important;max-width:calc(100% - 280px)!important;
  min-width:0!important;min-height:calc(100vh - 48px)!important;
  padding:20px clamp(16px,2vw,27px) 28px!important;
  background:#fff!important;background-image:none!important;
  color:#193454!important;
  border:1px solid #e0e8f4!important;border-radius:17px!important;
  box-shadow:0 5px 22px rgba(15,40,75,.055)!important;
  overflow-x:clip!important;
}
body.gg207-standard.gg208-unified.cash034-body .cash034-app{
  min-width:0!important;width:auto!important;max-width:100%!important;
}
body.gg207-standard.gg208-unified.cash034-body .cash034-app > main.cash034-main{
  box-sizing:border-box!important;
  width:auto!important;max-width:calc(100% - 36px)!important;
  min-width:0!important;min-height:calc(100vh - 48px)!important;
  margin:16px 18px 24px!important;
  padding:15px clamp(14px,2vw,26px) 28px!important;
  background:#fff!important;background-image:none!important;
  border:1px solid #e0e8f4!important;border-radius:17px!important;
  box-shadow:0 5px 22px rgba(15,40,75,.055)!important;
  overflow-x:clip!important;
}
body.gg207-standard.gg208-unified.cash034-body .cash034-app > main.cash034-main .gg197-caixa-content{
  background:transparent!important;border:0!important;
  margin:0!important;padding:4px 0 0!important;
}
/* Não altera conteúdo nem visibilidade. Transforma os antigos cards em seções internas. */
body.gg207-standard.gg208-unified main :is(
 .panel,.dash036-panel,.gg173-panel,.gg173-admin-hub,
 .cash034-card,.ops038-section,.sm66-panel,.gg205-app-card,
 .gg205-chat-card,.gg205-operacao-card,.gg122-pending,
 .gg205-form-card,.chat184-shell,.cash034-open
){
  box-sizing:border-box!important;
  min-width:0!important;max-width:100%!important;
  background:transparent!important;background-image:none!important;
  border:0!important;border-radius:0!important;
  box-shadow:none!important;outline:0!important;
  margin:0 0 13px!important;padding:12px 18px 16px!important;
}
body.gg207-standard.gg208-unified main :is(
 .panel,.dash036-panel,.gg173-panel,.gg173-admin-hub,
 .cash034-card,.ops038-section,.sm66-panel,.gg205-app-card,
 .gg205-chat-card,.gg205-operacao-card,.gg122-pending
):not(:last-child){
  border-bottom:1px solid #e8eef6!important;
}
/* Áreas de conteúdo flexíveis, sem gaps excessivos entre linhas e colunas. */
body.gg207-standard.gg208-unified main :is(
 .gg173-hub-grid,.dash036-shortcuts,.dash036-kpis,.gg178-metrics,
 .client133-metrics,.cash034-metrics,.cash034-layout,.cash034-primary,
 .cash034-aside,.cash034-totals,.sm66-layout,.sm66-grid,
 .erp011-page .grid,.ops038-toolbar,.gg121-details,.c31-layout
){gap:9px!important;}
body.gg207-standard.gg208-unified main :is(
 .dash036-heading,.section-head,.erp011-sectionhead,.cash034-tablehead,
 .gg173-hub-head,.gg122-pending-head,.p50-top,.ops038-section-head
){margin-bottom:9px!important;gap:8px!important;}
body.gg207-standard.gg208-unified main :is(h1,h2,h3,h4,h5,h6){
  color:#1a365a!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-weight:500!important;
  letter-spacing:-.015em!important;
  line-height:1.25!important;
}
body.gg207-standard.gg208-unified main h1{font-size:clamp(23px,2.4vw,29px)!important;}
body.gg207-standard.gg208-unified main h2{font-size:clamp(17px,1.9vw,21px)!important;}
body.gg207-standard.gg208-unified main h3{font-size:15px!important;}
body.gg207-standard.gg208-unified main :is(
 p,span,small,label,legend,a,button,input,select,textarea,th,td,strong,b,em
){
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-weight:400!important;
}
body.gg207-standard.gg208-unified main :is(strong,b,th){
  font-weight:400!important;
}
body.gg207-standard.gg208-unified main :is(button,[role="button"],a.btn,a.primary,a.secondary){
  font-weight:400!important;
}
/* Indicadores: dimensão e cor comunicam importância, não peso exagerado. */
body.gg207-standard.gg208-unified main :is(
 .dash036-kpi,.gg178-metric,.client133-metrics>div,.cash034-metric,
 .cash034-total,.gg173-hub-grid>a,.dash036-shortcuts>a,
 .gg125-kpi,.gg125-secondary-money,.sm66-result
){
  border-color:#e4ecf7!important;
  box-shadow:none!important;
}
body.gg207-standard.gg208-unified main :is(
 .dash036-kpi,.gg178-metric,.client133-metrics>div,.cash034-metric,
 .gg173-hub-grid>a,.dash036-shortcuts>a,.sm66-result
){background:#f7faff!important;border-radius:10px!important;}
body.gg207-standard.gg208-unified main :is(
 .dash036-kpi,.gg178-metric,.client133-metrics>div,.cash034-metric,
 .cash034-total,.gg173-hub-grid>a,.dash036-shortcuts>a
) :is(strong,b){
  font-weight:400!important;
}
/* Status permanece visível por contraste, sem negrito. */
body.gg207-standard.gg208-unified main :is(
 #cash034-status,.cash034-pill,.cash034-tag,.cash034-value,.tag,.badge
){font-weight:400!important;}
body.gg207-standard.gg208-unified main :is(
 .dash036-kpi,.gg178-metric,.client133-metrics>div,.cash034-metric,
 .gg173-hub-grid>a,.dash036-shortcuts>a
):hover{
  border-color:#c7d9f1!important;
  box-shadow:0 4px 12px rgba(20,54,95,.08)!important;
}
body.gg207-standard.gg208-unified main :where(input,select,textarea,button){
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
}
body.gg207-standard.gg208-unified main :is(.gg205-intro,.gg205-intro-copy){
  margin-bottom:10px!important;
  padding-bottom:11px!important;
}
body.gg207-standard.gg208-unified main :is(.gg205-intro h1,.gg205-intro h2){
  font-weight:500!important;
}
body.gg207-standard.gg208-unified main :is(.gg205-intro,.gg205-intro-copy) :is(strong,span){
  font-weight:400!important;
}
/* As tabelas ficam dentro do mesmo painel; sua rolagem, quando necessária, é interna. */
body.gg207-standard.gg208-unified main :is(
 .table-wrap,.table-scroll,.erp-table-wrap,.p50-scroll,.cash034-scroll,
 .sm66-table-wrap,.ops038-table,.gg121-table-wrap,.gg123-table-wrap
){max-width:100%!important;min-width:0!important;}
/* Cabeçalho de chat, vendas e produção é parte da mesma folha visual. */
body.gg207-standard.gg208-unified main :is(
 .gg193-hero,.gg205-intro,.gg205-chat-card,.gg205-app-card
){background:transparent!important;box-shadow:none!important;}
/* Campos financeiros e termos importantes não desaparecem; preserva cores de estado. */
body.gg207-standard.gg208-unified :where(.cash036-sidebar,.uchoa204-account){
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
}
body.gg207-standard.gg208-unified :where(.cash036-sidebar nav a,.uchoa204-account strong,.uchoa204-account button){
  font-weight:400!important;
}
@media(max-width:800px){
 body.gg207-standard.gg208-unified.cash035-shared > main{
  max-width:calc(100% - 22px)!important;
  min-height:0!important;
  margin:11px!important;
  padding:15px 13px 24px!important;
  border-radius:13px!important;
 }
 body.gg207-standard.gg208-unified.cash034-body .cash034-app > main.cash034-main{
  max-width:calc(100% - 22px)!important;
  min-height:0!important;
  margin:11px!important;
  padding:14px 12px 22px!important;
  border-radius:13px!important;
 }
 body.gg207-standard.gg208-unified main :is(
  .panel,.dash036-panel,.gg173-admin-hub,.cash034-card,
  .ops038-section,.sm66-panel,.gg122-pending,.gg205-app-card
 ){padding:9px 0 12px!important;margin-bottom:12px!important;}
}
@media print {
 body.gg207-standard.gg208-unified.cash035-shared > main,
 body.gg207-standard.gg208-unified.cash034-body .cash034-app > main.cash034-main{
  border:0!important;box-shadow:none!important;
  margin:0!important;padding:0!important;max-width:100%!important;
 }
}


/* RECUOS LATERAIS v209 — revisão de alinhamento em módulos operacionais.
   Ex.: Nova Venda: títulos, formulários e tabelas não tocam mais nas bordas.
   Mantém painel principal único, ações, IDs e fluxo de dados intactos. */
body.gg207-standard.gg208-unified{
  --gg209-gutter:clamp(14px,1.4vw,20px);
}
body.gg207-standard.gg208-unified main :is(
 .panel,.dash036-panel,.gg173-panel,.gg173-admin-hub,
 .cash034-card,.ops038-section,.sm66-panel,.gg205-app-card,
 .gg205-chat-card,.gg205-operacao-card,.gg122-pending,
 .gg205-form-card,.chat184-shell,.cash034-open
){
  padding-inline:var(--gg209-gutter)!important;
  box-sizing:border-box!important;
}
body.gg207-standard.gg208-unified main :is(
 .panel,.dash036-panel,.gg173-panel,.gg173-admin-hub,
 .cash034-card,.ops038-section,.sm66-panel,.gg205-app-card,
 .gg205-chat-card,.gg205-operacao-card,.gg122-pending
) > :is(.gg205-intro,.gg173-hub-head,.dash036-heading,.erp011-sectionhead,.ops038-section-head,.p50-top){
  max-width:100%!important;
  min-width:0!important;
}
body.gg207-standard.gg208-unified main :is(
 .panel,.dash036-panel,.cash034-card,.ops038-section,.sm66-panel
) > :is(form,.grid,.row,.toolbar,.table-wrap,.table-scroll,.p50-scroll,.cash034-scroll,.ops038-board,.sm66-grid){
  box-sizing:border-box!important;
  max-width:100%!important;
  min-width:0!important;
}
body.gg207-standard.gg208-unified main :is(
 .erp011-page .grid,.cash034-layout,.sm66-layout,.c31-layout,.ops038-board,
 .gg173-hub-grid,.gg178-metrics,.client133-metrics
) > *{min-width:0!important;}
/* Seções não encapsuladas, sobretudo indicadores e barra de filtros,
   seguem a mesma linha de alinhamento visual. */
body.gg207-standard.gg208-unified main > :is(
 .client133-metrics,.gg178-metrics,.gg205-intro,.controls
){
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
  padding-inline:var(--gg209-gutter)!important;
}
body.gg207-standard.gg208-unified.cash034-body .cash034-app > main.cash034-main .gg197-caixa-content{
  padding:6px var(--gg209-gutter) 16px!important;
}
/* Diminuir o risco de linhas de borda acidentais entre subseções. */
body.gg207-standard.gg208-unified main :is(.gg205-intro,.gg193-hero){
  max-width:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:800px){
  body.gg207-standard.gg208-unified{--gg209-gutter:12px;}
  body.gg207-standard.gg208-unified main :is(
    .panel,.dash036-panel,.gg173-panel,.gg173-admin-hub,
    .cash034-card,.ops038-section,.sm66-panel,.gg205-app-card,
    .gg205-chat-card,.gg205-operacao-card,.gg122-pending,
    .gg205-form-card,.chat184-shell
  ){
    padding-inline:var(--gg209-gutter)!important;
  }
  body.gg207-standard.gg208-unified.cash034-body .cash034-app > main.cash034-main .gg197-caixa-content{
    padding-inline:var(--gg209-gutter)!important;
  }
}
@media print {
  body.gg207-standard.gg208-unified main :is(.panel,.dash036-panel,.cash034-card,.ops038-section,.sm66-panel){
    padding-inline:8px!important;
  }
}


/* Uchôa v210 — cards com detalhe superior azul, sem divisões pesadas */
body.gg207-standard.gg208-unified main :is(
  .panel,.dash036-panel,.gg173-admin-hub,.sm66-panel,
  .ops038-section,.cash034-card,.gg205-app-card,.gg122-pending
){
  border-top:3px solid #1765e8!important;
  border-radius:12px!important;
  padding-top:13px!important;
}
body.gg207-standard.gg208-unified main :is(.sm66-summary,.sm66-panel){
  min-width:0!important;max-width:100%!important;
}
/* Resultado da simulação — valores e rótulos alinhados com respiro lateral. */
body.gg207-standard.gg208-unified .sm66-summary{
  padding-inline:18px!important;
}
body.gg207-standard.gg208-unified .sm66-summary > h2{margin:0 0 13px!important;}
body.gg207-standard.gg208-unified .sm66-summary .sm66-result{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.4fr) minmax(108px,.9fr)!important;
  gap:10px!important;
  align-items:center!important;
  margin:0 0 4px!important;
  padding:11px 12px!important;
  background:#f6f9fe!important;
  border-bottom:1px solid #e1e9f5!important;
  border-radius:8px!important;
  min-width:0!important;
}
body.gg207-standard.gg208-unified .sm66-summary .sm66-result :is(span,strong){
  min-width:0!important;overflow-wrap:anywhere!important;
  line-height:1.45!important;
}
body.gg207-standard.gg208-unified .sm66-summary .sm66-result :is(strong,span:last-child){
  text-align:right!important;
}
body.gg207-standard.gg208-unified .sm66-summary .sm66-total{
  margin:14px 0 9px!important;
  padding:15px 14px!important;
}
body.gg207-standard.gg208-unified .sm66-summary .sm66-hint{
  margin:7px 0 0!important;
}
body.gg207-standard.gg208-unified .sm66-summary .sm66-details{
  margin:11px 0 5px!important;
  padding:9px 0 0!important;
  border-top:1px solid #e1e9f5!important;
}
body.gg207-standard.gg208-unified .sm66-summary .sm66-details summary{
  padding:6px 0!important;cursor:pointer!important;
}
body.gg207-standard.gg208-unified .sm67-rate{
  grid-template-columns:minmax(160px,1fr) 155px 110px!important;
  padding:11px 0!important;gap:10px!important;
}
body.gg207-standard.gg208-unified .sm67-rate label{
  display:flex!important;flex-direction:column!important;gap:4px!important;
}
body.gg207-standard.gg208-unified .sm210-rate-note{
  display:block!important;font-size:10px!important;color:#667b96!important;
}
body.gg207-standard.gg208-unified .sm66-grid label{min-width:0!important;}
body.gg207-standard.gg208-unified .sm66-grid select{display:block!important;max-width:100%!important;}
/* Caixa: remove a área duplicada da situação e diminui o vazio acima do turno. */
body.gg207-standard.gg208-unified.cash034-body #cash034-status[hidden]{display:none!important;}
body.gg207-standard.gg208-unified.cash034-body .cash034-app > main.cash034-main{
  padding-top:13px!important;
}
body.gg207-standard.gg208-unified.cash034-body .gg197-caixa-content{
  padding-top:0!important;
}
body.gg207-standard.gg208-unified.cash034-body .cash034-primary > .cash034-card:first-child{
  padding-top:10px!important;margin-top:0!important;
}
body.gg207-standard.gg208-unified.cash034-body .cash034-cashhead{
  margin:0 0 8px!important;
}
body.gg207-standard.gg208-unified.cash034-body .cash034-metrics{
  margin-top:7px!important;gap:9px!important;
}
body.gg207-standard.gg208-unified.cash034-body .cash1756-heading-icon,
body.gg207-standard.gg208-unified .ops045-heading-icon,
body.gg207-standard.gg208-unified .cash1752-open-icon{
  display:none!important;
}
/* A coluna do comprovante deve preservar o acesso pelo teclado e em telas menores. */
body.gg207-standard.gg208-unified .erp023 .cv210-print{
  padding:6px 10px!important;
  min-height:32px!important;
  white-space:nowrap!important;
  background:#edf4ff!important;color:#1454ac!important;
  border:1px solid #cdddf4!important;
}
body.gg207-standard.gg208-unified .erp023 .cv210-print:hover{
  background:#dceaff!important;
}
@media(max-width:760px){
  body.gg207-standard.gg208-unified .sm66-summary .sm66-result{
    grid-template-columns:minmax(0,1fr) minmax(95px,.9fr)!important;
    padding:9px!important;
  }
  body.gg207-standard.gg208-unified .sm67-rate{
    grid-template-columns:minmax(0,1fr) 100px!important;
  }
  body.gg207-standard.gg208-unified .sm67-rate button{
    grid-column:1 / -1!important;
  }
}


/* v212 - margens do Gerencial e busca integrada em Produtos. */
body.gg207-standard.gg208-unified.cash035-shared > main{
  box-sizing:border-box!important;
  margin:16px 18px 24px 262px!important;
  width:auto!important;max-width:calc(100% - 280px)!important;
  padding:20px clamp(16px,2vw,27px) 28px!important;
}
body.gg207-standard.gg208-unified.cash035-shared > main > :is(.panel,.dash036-panel,.gg173-admin-hub,.ops038-section,.sm66-panel,.gg205-app-card){
  margin-block:0 13px!important;
  padding-inline:clamp(14px,1.4vw,20px)!important;
  min-width:0!important;max-width:100%!important;
}
body.gg207-standard.gg208-unified main :is(.dash036-columns,.dash036-kpis,.gg173-hub-grid,.grid,.c31-layout,.sm66-layout,.ops038-board,.client133-metrics,.gg178-metrics){gap:10px!important;}
/* Mesmo alinhamento do rodape em todas as paginas, inclusive Visao Geral. */
body.gg207-standard.cash035-shared > .uchoa048-footer{
  box-sizing:border-box!important;display:flex!important;
  width:auto!important;max-width:calc(100% - 280px)!important;
  min-width:0!important;
  margin:14px 18px 18px 262px!important;
  padding:12px clamp(16px,2vw,27px)!important;
  background:#fff!important;border:1px solid #e0e8f4!important;
  border-radius:12px!important;
  box-shadow:0 3px 14px rgba(15,40,75,.045)!important;
}
body.gg207-standard.cash035-shared > .uchoa048-footer .u108-footer-content{
  width:100%!important;display:flex!important;
  align-items:center!important;justify-content:space-between!important;
  flex-wrap:wrap!important;gap:8px 16px!important;min-width:0!important;
}
body.gg207-standard.cash035-shared > .uchoa048-footer .u108-footer-identity{
  display:flex!important;flex-direction:column!important;gap:2px!important;
  align-items:flex-start!important;
}
/* Elementos antes em duas linhas: busca e acoes na mesma faixa. */
body.gg207-standard.gg208-unified #p50-catalog > .p50-top{
  display:flex!important;align-items:flex-end!important;
  justify-content:space-between!important;flex-wrap:wrap!important;
  gap:10px 13px!important;margin:0 0 13px!important;
  padding:0!important;max-width:100%!important;
}
body.gg207-standard.gg208-unified #p50-catalog > .p50-top > .p50-search{
  flex:1 1 330px!important;min-width:210px!important;width:auto!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:5px!important;margin:0!important;padding:0!important;
}
body.gg207-standard.gg208-unified #p50-catalog > .p50-top > .p50-search :is(input,label){
  box-sizing:border-box!important;width:100%!important;margin:0!important;
}
body.gg207-standard.gg208-unified #p50-catalog > .p50-top > .p50-search input{
  height:34px!important;min-height:34px!important;
}
body.gg207-standard.gg208-unified #p50-catalog > .p50-top > .p50-actions{
  flex:0 1 auto!important;display:flex!important;
  align-items:center!important;justify-content:flex-end!important;
  flex-wrap:wrap!important;gap:6px!important;margin:0!important;padding:0!important;
}
body.gg207-standard.gg208-unified #p50-catalog > .p50-top > .p50-actions :is(button,a){
  box-sizing:border-box!important;white-space:nowrap!important;
  min-height:34px!important;height:34px!important;
  padding:6px 9px!important;font-size:11px!important;
  line-height:1.2!important;width:auto!important;
  border-radius:8px!important;box-shadow:none!important;
}
body.gg207-standard.gg208-unified #p50-catalog > .p50-scroll{
  width:100%!important;min-width:0!important;overflow-x:auto!important;
}
body.gg207-standard.gg208-unified #p50-catalog > .p136-help{margin:5px 0 11px!important;}
@media(max-width:1100px){
  body.gg207-standard.gg208-unified #p50-catalog > .p50-top > .p50-search{flex-basis:100%!important;}
  body.gg207-standard.gg208-unified #p50-catalog > .p50-top > .p50-actions{justify-content:flex-start!important;}
}
@media(max-width:800px){
  body.gg207-standard.gg208-unified.cash035-shared > main{
    margin:11px!important;max-width:calc(100% - 22px)!important;
    padding:15px 13px 24px!important;
  }
  body.gg207-standard.cash035-shared > .uchoa048-footer{
    max-width:calc(100% - 22px)!important;
    margin:12px 11px 18px!important;padding:12px 13px!important;
  }
  body.gg207-standard.gg208-unified #p50-catalog > .p50-top > .p50-search{
    flex-basis:100%!important;min-width:0!important;
  }
  body.gg207-standard.gg208-unified #p50-catalog > .p50-top > .p50-actions{
    flex:1 1 100%!important;justify-content:flex-start!important;
  }
}
@media print{
  body.gg207-standard.cash035-shared > .uchoa048-footer{display:none!important;}
}
