/* Stable glass: no geometry changes under the pointer. */
html.tema-claro body #ownerPortal:not(#_):not(#__) :is(.v3-cmp i.good,.ov-chip.good,.text-button,#ownerPersonalEarnings){color:#086547!important}

html body #ownerPortal .apl-r{animation:none!important;opacity:1}
html.tema-claro.pz-root body #ownerPortal .ap :is(.apl-main>b,.apl-day b,.apl-v){color:#252b3d!important}
html.tema-claro.pz-root body #ownerPortal .ap :is(.apl-main small,.apl-day small,.apl-when){color:#545b70!important}
html.tema-claro.pz-root body #ownerPortal .ap .apl-mk{color:#5535a0!important}
html.tema-claro.pz-root body #ownerPortal .ap :is(.apl-site,.apl-synced .apl-st){color:#126348!important}
.apr-balances{padding:16px!important}.apr-balances summary{cursor:pointer;font-size:13px;font-weight:700}.apr-balances table{min-width:620px}

html body #ownerPortal #visao-geral .health-score:not(#_){position:relative;background:none!important;box-shadow:none!important;isolation:isolate}
html body #ownerPortal #visao-geral .health-score:not(#_)::before{display:none}
html body #ownerPortal #visao-geral .health-score .margin-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transform:rotate(-90deg);fill:none;stroke-width:6}
html body #ownerPortal #visao-geral .health-banner:not(#_){grid-template-columns:68px minmax(0,1fr)!important;gap:7px 12px!important}
html body #ownerPortal #visao-geral .health-banner:not(#_) .health-score{grid-row:1/3}
html body #ownerPortal #visao-geral .health-banner:not(#_)>div:not(.health-score){grid-column:2;min-width:0}
html body #ownerPortal #visao-geral .health-banner:not(#_) [data-go="dre"]{grid-column:2!important;justify-self:start!important;height:28px!important;font-size:11px!important}
.margin-ring circle:first-child{stroke:rgba(128,160,146,.24)}.margin-ring circle:last-child{stroke:var(--c,#4ddba3);stroke-dasharray:var(--p,0) 100;stroke-linecap:round}
html body #ownerPortal #visao-geral .health-banner [data-go="dre"]:not(#_){display:inline-flex!important;align-items:center;gap:8px;width:auto!important;min-width:86px;height:34px!important;padding:6px 10px!important;font-size:12px!important;justify-content:center}
html body #ownerPortal #visao-geral .health-banner [data-go="dre"]:not(#_)::after{display:none!important}
html body #ownerPortal #visao-geral .health-banner [data-go="dre"] svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
html.tema-claro body #ownerPortal:not(#_) :is(.positive,.pb-pos,.sv-green,.dr-positive,.ov-chip.good,.v3-cmp .good,.trend.up,.pbx-stamp,.pcx-pos){color:#086547!important}
html.tema-claro body #ownerPortal:not(#_) :is(#incomeValue,#healthEyebrow,.sv-search-total strong,.sv-prod-qty b,.ov-cat em,.ov-g small,.an-kpi b,.ap-c-g){color:#126348!important}
html.tema-claro body #ownerPortal #visao-geral .health-score>span{color:#243229!important}html.tema-claro body #ownerPortal #visao-geral .health-score>small{color:#435e51!important}html.tema-claro body #ownerPortal #visao-geral .health-score{--c:#147b55}
html body .ap .ap-form .ap-colors{display:flex!important;gap:22px!important;align-items:center;flex-wrap:wrap}
html body .ap .ap-form .ap-colors .ap-f{display:flex!important;align-items:center;gap:10px;margin:0}
html body .ap .ap-form .ap-colors .ap-sts{display:flex!important;gap:7px!important;padding:3px}
html body .ap .ap-form .ap-colors .ap-color{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;border-radius:12px!important;flex:0 0 34px!important;opacity:.7;touch-action:manipulation}
html body .ap .ap-form .ap-colors .ap-color::after{width:12px;height:7px;border-width:0 0 2px 2px}html body .ap .ap-form .ap-colors .ap-color i{display:none}
html body .ap .ap-form .ap-colors .ap-color[aria-checked=true]{box-shadow:inset 0 1px 0 #fffa,0 0 0 2px rgba(var(--t),.4),0 5px 12px -5px rgba(var(--t),.5)!important}
html body .ap .ap-form .ap-wbox{padding:0}.pbx-readonly{color:inherit;opacity:.8;font-size:12px;margin:6px 0 14px}
#syndicPortal:not(.sd-light){--sd-text:#eef4f1;--sd-muted:#a4b8ad;--sd-side:linear-gradient(160deg,#ffffff12,#ffffff06);--sd-glass:linear-gradient(160deg,#ffffff17,#ffffff06)}
html body #syndicPortal:not(.sd-light)::before{background:radial-gradient(70% 55% at 15% -10%,rgba(77,219,163,.07),transparent 70%),#030404!important}
html.tema-claro body #syndicPortal.sd-light{--sd-text:#243229;--sd-muted:#4b6257;--sd-line:#ffffffc7;--sd-accent:#126348;--sd-glass:var(--fl-glass);--sd-side:var(--fl-glass);--sd-shine:var(--fl-shadow);color:var(--sd-text)}
html.tema-claro body #syndicPortal.sd-light::before{background:radial-gradient(42% 45% at 8% 0,rgba(142,220,187,.35),transparent 70%),radial-gradient(42% 45% at 92% 100%,rgba(167,200,231,.4),transparent 70%),#f1efea!important}
html.tema-claro body #syndicPortal.sd-light :is(.sd-sidebar,.sd-top,.sd-chip,.sd-icon,.sd-btn,.un-total,.un-card,.un-year,.rp-bar){background:var(--fl-glass)!important;box-shadow:var(--fl-shadow)!important;border-color:var(--fl-edge)!important;backdrop-filter:var(--fl-blur)!important}
html.tema-claro body #syndicPortal.sd-light :is(.sd-label,.sd-item,.sd-chip,.sd-icon,.sd-btn,.sd-title h1,.rp-head,.un-value){color:#243229!important}
html.tema-claro body #syndicPortal.sd-light .sd-item.active{color:#086547!important;background:linear-gradient(145deg,#ffffffb3,#a4e4c54d)!important}
html.tema-claro body #syndicPortal.sd-light :is(.un-total strong,.rp-cal-txt,.un-metric b){color:#126348!important}
.dr-table-wrap{max-height:360px;overflow:auto}.dr-table-wrap table{width:100%;border-collapse:collapse;font-size:13px}.dr-table-wrap :is(th,td){padding:10px;border-bottom:1px solid #ffffff18;text-align:right}.dr-table-wrap th:first-child{text-align:left}.dr-table-wrap button{background:none;border:none;color:inherit;text-decoration:underline;cursor:pointer}
@media(prefers-reduced-transparency:reduce){html.tema-claro body #syndicPortal.sd-light :is(.sd-sidebar,.sd-top,.sd-chip,.sd-icon,.sd-btn,.un-total,.un-card,.un-year,.rp-bar){background:#fbfaf7!important;backdrop-filter:none!important}}
/* Interactive lift uses a stable, pre-animation hit area (v2.js), not :hover geometry. */
html body #ownerPortal :is(#visao-geral,#fornecedores) :is(.metric-card,.v3-cmp,.an-kpi):not(#_){
 position:relative;isolation:isolate;transform:none!important;translate:none!important;scale:1!important;
 transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,border-color .28s ease!important;
}
html body #ownerPortal :is(#visao-geral,#fornecedores) :is(.metric-card,.v3-cmp,.an-kpi):not(#_)::before{
 content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;opacity:0;
 background:radial-gradient(220px circle at var(--mx,40%) var(--my,30%),rgba(200,255,230,.2),transparent 72%);
 transition:opacity .25s ease;
}
@media(hover:hover) and (pointer:fine){
 html body #ownerPortal :is(#visao-geral,#fornecedores) :is(.metric-card,.v3-cmp,.an-kpi):not(#_).ui-glass-active{
  transform:translateY(-4px)!important;border-color:rgba(166,233,208,.65)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.36),0 18px 32px -16px rgba(0,0,0,.5)!important;
 }
 html body #ownerPortal :is(#visao-geral,#fornecedores) :is(.metric-card,.v3-cmp,.an-kpi):not(#_).ui-glass-active::before{opacity:1}
 html.tema-claro body #ownerPortal :is(#visao-geral,#fornecedores) :is(.metric-card,.v3-cmp,.an-kpi):not(#_).ui-glass-active{box-shadow:var(--fl-shadow-up)!important;border-color:#fff!important}
}
/* Same calendar, summary, chart and expense detail; new numbers stay inside the original components. */
html body #ownerPortal #gastos-diarios .dx-sales-inline{grid-column:1/-1;display:flex;gap:8px 16px;flex-wrap:wrap;font-size:11px;line-height:1.35;padding-top:3px}
.dx-sales-inline span{white-space:nowrap}.dx-sales-inline b{margin-left:4px;font-variant-numeric:tabular-nums}
.dx-sale{color:#79e0b6}.dx-loss{color:#ffa093}
html body #ownerPortal #gastos-diarios .dx-day-sale{display:grid!important;grid-template-columns:1fr;gap:0;font-size:9px!important;line-height:1.25;color:#b7d9c9;letter-spacing:0;text-transform:none;margin-top:2px}
.dx-day-sale>span{display:flex;justify-content:space-between;gap:3px}.dx-day-sale b{font-weight:600;font-variant-numeric:tabular-nums}html body #ownerPortal #gastos-diarios .dx-day-sale :is(span,b){font-size:9px!important;line-height:11px!important}
html body #ownerPortal #gastos-diarios .dx-sales-note{display:block;color:#a7c4b6;font-size:10px;font-weight:400;line-height:1.3;margin-top:4px}
html.tema-claro body #ownerPortal #gastos-diarios :is(.dx-sale,.dx-day-sale,.dx-sales-note){color:#1a624a!important}
html.tema-claro body #ownerPortal #gastos-diarios .dx-loss{color:#a63830!important}
@media(min-width:1100px) and (min-height:640px){
 html body #ownerPortal #gastos-diarios.v2-gd-one.active-view{grid-template-rows:86px minmax(0,1fr) clamp(110px,18vh,170px)!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-days-panel{overflow:hidden!important;padding:12px!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-days-panel .panel-heading{margin-bottom:6px!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-days-panel .eyebrow{display:none}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-days-panel h2{font-size:15px!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-days-grid{flex:1;min-height:0;grid-auto-rows:minmax(0,1fr)}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-day{min-height:0!important;padding:4px 7px!important;gap:0!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-day>span{font-size:10px!important;line-height:1.15}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-day>strong{font-size:11px!important;line-height:1.2;white-space:nowrap!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-chart{flex:1!important;min-height:0!important;height:auto!important;padding-top:0!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .recent-day-bar{height:100%;min-height:0;display:grid!important;grid-template-rows:12px minmax(12px,1fr) 21px;gap:2px!important;padding:0 2px!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .recent-day-bar>span{position:relative;display:block!important;align-self:stretch!important;width:100%;height:100%!important;min-height:12px!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-chart-panel{display:grid!important;grid-template-rows:auto minmax(0,1fr);gap:6px!important;padding:12px!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-chart-panel .panel-heading{margin:0!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-chart-panel h2{font-size:14px!important;margin:0!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .daily-chart-panel .eyebrow{font-size:9px!important;margin:0!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .recent-day-bar>b{font-size:9px!important;line-height:12px!important;white-space:nowrap!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .recent-day-bar>small{font-size:11px!important;line-height:10px!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .recent-day-bar>small em{font-size:9px!important;line-height:10px!important}
 html body #ownerPortal #gastos-diarios.v2-gd-one .recent-day-bar>span>i{position:absolute;bottom:0;left:0;width:100%}

}
@media(prefers-reduced-motion:reduce){
 html body #ownerPortal :is(#visao-geral,#fornecedores) :is(.metric-card,.v3-cmp,.an-kpi):not(#_):not(#__){transform:none!important;transition:none!important}
 html body #ownerPortal .ui-glass-active::before{transition:none!important}
}
