/* =========================================================
   MIYAZAKI v2 — camada visual nova (vidro líquido + celular)
   Carregar por último. Não altera a lógica do site.
   ========================================================= */
:root{
  --v2-gold:#d9b46a; --v2-gold-hi:#f3d99b; --v2-mint:#4ddba3; --v2-ink:#241a05;
  --v2-glass:linear-gradient(160deg,rgba(255,255,255,.13),rgba(255,255,255,.035) 48%,rgba(255,255,255,.07));
  --v2-edge:inset 1.5px 1.5px 0 rgba(255,255,255,.38),inset -1px -1px 0 rgba(255,255,255,.1),inset 0 0 24px rgba(255,255,255,.05);
  --v2-drop:0 18px 50px rgba(0,0,0,.38),0 2px 8px rgba(0,0,0,.22);
  --v2-spring:cubic-bezier(.34,1.56,.64,1);
}

/* ---------- vidro líquido reutilizável ---------- */
.v2-glass,
html body .panel,
html body .metric-card,
html body .owner-welcome,
html body .health-banner,
html body .filters,
html body .topbar,
html body .month-comparison>article,
html body .presentation-benefit-strip,
html body .landing-location,
html body .landing-proposal-points p,
html body .presentation-how ol li,
html body .presentation-contact{
  background:radial-gradient(260px circle at var(--mx,25%) var(--my,0%),rgba(255,255,255,.11),transparent 62%),var(--v2-glass)!important;
  -webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:var(--v2-edge),var(--v2-drop)!important;
}
html body .metric-card,html body .panel{border-radius:26px!important;transition:transform .45s var(--v2-spring),box-shadow .3s}
@media (hover:hover){html body .metric-card:hover{transform:translateY(-3px)}}

/* botões em vidro */
html body .ghost-button,
html body .presentation-secondary,
html body .landing-access summary,
html body .profile-chip,
html body .hero-unit-arrow{
  background:var(--v2-glass)!important;border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:var(--v2-edge)!important;-webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%);
  border-radius:999px!important;transition:transform .35s var(--v2-spring)!important;
}
html body .primary-button,
html body .presentation-primary{
  background:linear-gradient(180deg,var(--v2-gold-hi),var(--v2-gold))!important;color:var(--v2-ink)!important;border:0!important;border-radius:999px!important;
  box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.8),inset -1px -1px 0 rgba(120,80,10,.35),0 10px 30px rgba(217,180,106,.28)!important;
  font-weight:800!important;transition:transform .35s var(--v2-spring)!important;
}
html body .primary-button:active,html body .ghost-button:active,html body .presentation-primary:active,html body .landing-access summary:active{transform:scale(.96)!important}

/* legenda da foto do topo em vidro */
html body .presentation-hero-photo>span{
  background:var(--v2-glass)!important;-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%);
  border:1px solid rgba(255,255,255,.14);box-shadow:var(--v2-edge);border-radius:18px!important;padding:10px 16px!important;
}

/* menu lateral do painel */
html body .sidebar{
  background:linear-gradient(180deg,rgba(10,26,18,.72),rgba(10,26,18,.55))!important;
  -webkit-backdrop-filter:blur(24px) saturate(170%);backdrop-filter:blur(24px) saturate(170%);
  border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:inset -1px 0 0 rgba(255,255,255,.05)!important;
}
html body .nav-item{border-radius:14px!important;transition:background .25s,transform .35s var(--v2-spring)}
html body .nav-item.active{background:var(--v2-glass)!important;box-shadow:var(--v2-edge)!important;border:1px solid rgba(255,255,255,.12)!important}

/* ---------- LOGIN em tela cheia ---------- */
.v2-login{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px 16px;overflow:auto;opacity:0;pointer-events:none;transition:opacity .35s}
.v2-login.on{opacity:1;pointer-events:auto}
.v2-login .v2-bg{position:fixed;inset:0;z-index:-1;overflow:hidden;background:#05130e}
/* mesmo fundo da página inicial (presentation.css: .staging-landing::before) */
.v2-login .v2-bg::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.7;
  background-image:linear-gradient(90deg,#05130e10,#05130eb8 24%,#05130ee8 50%,#05130eb8 76%,#05130e10),url('./assets/miyazaki-foliage-frame.webp');
  background-size:100% 100%,100% auto;background-position:center,center top;background-repeat:no-repeat,repeat-y}
@media (max-width:800px){.v2-login .v2-bg::before{opacity:.55;background-size:100% 100%,cover;background-position:center,center}}
.v2-card{position:relative;width:min(420px,100%);padding:30px 26px 24px;border-radius:36px;
  background:radial-gradient(300px circle at var(--mx,30%) var(--my,0%),rgba(255,255,255,.16),transparent 60%),linear-gradient(160deg,rgba(20,40,29,.55),rgba(10,24,17,.4));
  -webkit-backdrop-filter:blur(22px) saturate(190%);backdrop-filter:blur(22px) saturate(190%);
  border:1px solid rgba(255,255,255,.16);box-shadow:inset 2px 2px 0 rgba(255,255,255,.4),inset -1px -1px 0 rgba(255,255,255,.12),0 30px 80px rgba(0,0,0,.5);
  transform:scale(.92) translateY(20px);transition:transform .7s var(--v2-spring);color:#f4efe3}
.v2-login.on .v2-card{transform:none}
.v2-card .v2-logo{width:150px;margin:0 auto 4px;display:block}
.v2-close{position:fixed;top:calc(16px + env(safe-area-inset-top,0px));left:16px;z-index:2;padding:10px 16px;border-radius:999px;font:700 14px/1 Manrope,system-ui,sans-serif;color:#f4efe3;background:var(--v2-glass);border:1px solid rgba(255,255,255,.16);box-shadow:var(--v2-edge);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer}
.v2-card .eyebrow{text-align:center;color:var(--v2-gold)!important}
.v2-card h2{text-align:center;font-size:28px!important;margin:4px 0 18px!important;color:#f4efe3!important}
.v2-card #passwordHelp{text-align:center;color:#dfe5da;font-size:14px}
.v2-card form{display:grid!important;gap:14px!important;grid-template-columns:1fr!important}
.v2-card label{display:grid!important;gap:6px;font-size:13px!important;font-weight:700!important;color:#dfe5da!important;margin:0!important}
.v2-card input{width:100%;font:500 16px/1.2 Manrope,system-ui,sans-serif!important;color:#f4efe3!important;padding:14px 16px!important;border-radius:18px!important;
  background:linear-gradient(160deg,rgba(255,255,255,.1),rgba(255,255,255,.04))!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:inset 1px 1px 0 rgba(255,255,255,.25)!important;outline:0!important;transition:box-shadow .25s,border-color .25s}
.v2-card input::placeholder{color:rgba(244,239,227,.45)!important}
.v2-card input:focus{border-color:rgba(243,217,155,.8)!important;box-shadow:inset 1px 1px 0 rgba(255,255,255,.25),0 0 0 4px rgba(243,217,155,.15)!important}
.v2-pw{position:relative}
.v2-pw input{padding-right:84px!important}
.v2-eye{position:absolute;right:8px;bottom:8px;border:0;background:rgba(255,255,255,.08);color:#f4efe3;border-radius:999px;padding:8px 12px;font:700 12px/1 Manrope,system-ui,sans-serif;cursor:pointer}
.v2-card .primary-button{width:100%;padding:16px!important;font-size:16px!important;margin-top:4px}
.v2-card .auth-link{display:block;margin:14px auto 0;background:none!important;border:0!important;color:var(--v2-gold-hi)!important;font-weight:700;cursor:pointer}
.v2-card .auth-feedback{text-align:center;margin-top:10px;font-size:14px}
.v2-card .auth-feedback.error,.v2-card .auth-feedback[data-type="error"]{color:#ffc2b8}
.v2-shake{animation:v2shake .35s}
@keyframes v2shake{25%{transform:translateX(-10px)}75%{transform:translateX(10px)}}
.v2-safe{margin-top:16px;text-align:center;font-size:12px;color:rgba(244,239,227,.6)}
html body .staging-landing .landing-access .landing-login-bar.auth-card{display:none!important}

/* ---------- CELULAR ---------- */
.v2-wa,.v2-dock{display:none}
@media (max-width:760px){
  /* site */
  .v2-wa{display:flex;position:fixed;z-index:60;left:16px;right:16px;bottom:calc(14px + env(safe-area-inset-bottom,0px));justify-content:center;align-items:center;gap:8px;padding:15px;border-radius:999px;text-decoration:none;
    font:800 16px/1 Manrope,system-ui,sans-serif;color:var(--v2-ink);background:linear-gradient(180deg,var(--v2-gold-hi),var(--v2-gold));
    box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.8),0 12px 30px rgba(0,0,0,.45);transform:translateY(150%);transition:transform .5s var(--v2-spring)}
  .v2-wa.on{transform:none}
  html body .presentation-contact{margin-bottom:84px}
  html body .presentation-hero-photo img{aspect-ratio:4/3.4;object-fit:cover}
  html body .landing-motion .landing-reveal{transform:translateY(16px);transition-duration:.5s}
  /* painel: barra inferior estilo iPhone */
  .v2-dock{display:flex;position:fixed;z-index:80;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));justify-content:space-between;gap:2px;padding:6px;border-radius:999px;
    background:radial-gradient(200px circle at var(--mx,50%) var(--my,0%),rgba(255,255,255,.12),transparent 60%),linear-gradient(160deg,rgba(20,40,29,.62),rgba(10,24,17,.5));
    -webkit-backdrop-filter:blur(22px) saturate(190%);backdrop-filter:blur(22px) saturate(190%);border:1px solid rgba(255,255,255,.14);box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.35),0 16px 40px rgba(0,0,0,.5)}
  .v2-dock[hidden]{display:none}
  .v2-dock button{position:relative;z-index:2;flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;color:#dfe5da;font:700 11px/1.1 Manrope,system-ui,sans-serif;padding:8px 2px;border-radius:999px;transition:color .3s}
  .v2-dock button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .v2-dock button.on{color:var(--v2-ink)}
  .v2-dock .v2-pill{position:absolute;z-index:1;top:6px;bottom:6px;left:0;width:0;border-radius:999px;background:linear-gradient(180deg,var(--v2-gold-hi),var(--v2-gold));box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.8);transition:transform .55s var(--v2-spring),width .55s var(--v2-spring)}
  html body #ownerPortal main{padding-bottom:110px!important}
  html body .topbar{border-radius:22px!important}
  html body .filters{border-radius:22px!important}
  html body .metric-card strong{font-size:26px!important}
}
@media (prefers-reduced-motion:reduce){.v2-card,.v2-dock .v2-pill,.v2-wa{transition:none}}

/* =========================================================
   VISÃO GERAL EM UMA TELA (computador/notebook)
   Ativado pelo v2.js com a classe .v2-one no #ownerPortal
   ========================================================= */
@media (min-width:1100px) and (min-height:640px){
  #ownerPortal.v2-one>main{padding-top:12px!important;padding-bottom:12px!important}
  #ownerPortal.v2-one .topbar{margin-bottom:8px!important;min-height:0!important;padding-block:8px!important}
  #ownerPortal.v2-one:has(#visao-geral.active-view) .filters{margin-bottom:10px!important;padding:6px 12px!important;min-height:0!important}
  #ownerPortal.v2-one:has(#visao-geral.active-view) .filters label{display:flex!important;align-items:center;gap:10px;font-size:13px}
  #ownerPortal.v2-one:has(#visao-geral.active-view) .filters select{padding-block:6px!important}
  #ownerPortal.v2-one:has(#visao-geral.active-view) .filters .ghost-button{padding:7px 14px!important;font-size:13px!important}

  #ownerPortal.v2-one #visao-geral.active-view{
    display:grid!important;overflow:hidden!important;gap:12px!important;scrollbar-gutter:auto!important;
    grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,.95fr);
    grid-template-rows:auto auto minmax(0,1fr) auto;
    grid-template-areas:"welcome welcome welcome" "kpi kpi kpi" "cash cat units" "cmp health annual";
  }
  #ownerPortal.v2-one #visao-geral .workspace-tabs{display:none!important}
  #ownerPortal.v2-one #visao-geral>*{min-width:0;min-height:0;margin:0!important}

  /* faixa de boas-vindas fina */
  #ownerPortal.v2-one #visao-geral .owner-welcome{grid-area:welcome;padding:8px 16px!important;display:flex;align-items:center;justify-content:space-between;gap:16px}
  #ownerPortal.v2-one #visao-geral .owner-welcome h2{font-size:16px!important;margin:0!important}
  #ownerPortal.v2-one #visao-geral .owner-welcome .eyebrow{display:none}
  #ownerPortal.v2-one #visao-geral .owner-welcome>div:last-child{display:flex;align-items:baseline;gap:10px}
  #ownerPortal.v2-one #visao-geral .owner-welcome strong{font-size:20px!important}

  /* 4 números principais */
  #ownerPortal.v2-one #visao-geral .metric-grid{grid-area:kpi;gap:12px!important}
  #ownerPortal.v2-one #visao-geral .metric-card{padding:12px 16px!important;min-height:0!important;gap:4px!important}
  #ownerPortal.v2-one #visao-geral .metric-card strong{font-size:24px!important;line-height:1.1!important;margin:2px 0!important}
  #ownerPortal.v2-one #visao-geral .metric-card .spark-bars,#ownerPortal.v2-one #visao-geral .metric-card .spark-line{height:18px!important;margin-top:2px!important}
  #ownerPortal.v2-one #visao-geral .metric-card .spark-line svg{height:18px!important}

  /* gráfico mensal */
  #ownerPortal.v2-one #visao-geral .main-grid{grid-area:cash;display:flex!important;min-height:0}
  #ownerPortal.v2-one #visao-geral .cash-panel{flex:1;display:flex!important;flex-direction:column;min-height:0;padding:14px 16px!important;overflow:hidden}
  #ownerPortal.v2-one #visao-geral .cash-panel .panel-note{display:none}
  #ownerPortal.v2-one #visao-geral .cash-panel .panel-heading{margin-bottom:0!important}
  #ownerPortal.v2-one #visao-geral .cash-panel h2{font-size:17px!important}
  #ownerPortal.v2-one #visao-geral .cash-chart{flex:1;min-height:0!important;max-height:none!important;margin-top:8px!important;padding-bottom:4px!important}
  #ownerPortal.v2-one #visao-geral .chart-summary{display:none!important}

  /* despesas por categoria */
  #ownerPortal.v2-one #visao-geral .category-panel{grid-area:cat;display:flex!important;flex-direction:column;padding:14px 16px!important;overflow:hidden}
  #ownerPortal.v2-one #visao-geral .category-panel h2{font-size:17px!important}
  #ownerPortal.v2-one #visao-geral .category-panel .panel-heading{margin-bottom:6px!important}
  #ownerPortal.v2-one #visao-geral .category-drilldown{flex:1;min-height:0;display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;gap:12px!important;align-items:start}
  #ownerPortal.v2-one #visao-geral .expense-donut-wrap{width:118px!important;min-width:0!important;height:auto!important;padding:0!important}
  #ownerPortal.v2-one #visao-geral .expense-donut-wrap>*{max-width:118px!important;max-height:118px!important}
  #ownerPortal.v2-one #visao-geral #expenseDonut{width:118px!important;height:118px!important}
  #ownerPortal.v2-one #visao-geral #categoryBars{height:100%;overflow:auto;scrollbar-width:thin;gap:4px!important}
  #ownerPortal.v2-one #visao-geral #categoryBars>*{padding:6px 10px!important;min-height:0!important}

  /* mercados */
  #ownerPortal.v2-one #visao-geral .overview-unit-panel{grid-area:units;display:flex!important;flex-direction:column;padding:14px 16px!important;overflow:hidden}
  #ownerPortal.v2-one #visao-geral .overview-unit-panel h2{font-size:17px!important}
  #ownerPortal.v2-one #visao-geral .overview-unit-panel .panel-note{display:none}
  #ownerPortal.v2-one #visao-geral #overviewUnitList{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
  #ownerPortal.v2-one #visao-geral #overviewUnitList>*{padding-block:7px!important}

  /* linha de baixo */
  #ownerPortal.v2-one #visao-geral #monthComparison{grid-area:cmp;display:grid!important;grid-template-columns:1fr 1fr;gap:12px}
  #ownerPortal.v2-one #visao-geral #monthComparison>article{padding:10px 14px!important}
  #ownerPortal.v2-one #visao-geral #monthComparison strong{font-size:20px!important}
  #ownerPortal.v2-one #visao-geral .health-banner{grid-area:health;padding:10px 14px!important;gap:12px!important;align-items:center}
  #ownerPortal.v2-one #visao-geral .health-banner h2{font-size:15px!important}
  #ownerPortal.v2-one #visao-geral .health-banner #healthDescription{display:none}
  #ownerPortal.v2-one #visao-geral .health-score{width:52px!important;height:52px!important;min-width:52px!important}
  #ownerPortal.v2-one #visao-geral .annual-summary{grid-area:annual;padding:10px 14px!important;display:block!important}
  #ownerPortal.v2-one #visao-geral .annual-summary .panel-heading{margin-bottom:6px!important}
  #ownerPortal.v2-one #visao-geral .annual-summary h2{font-size:14px!important}
  #ownerPortal.v2-one #visao-geral .annual-summary .annual-totals{gap:8px!important}
  #ownerPortal.v2-one #visao-geral .annual-summary .annual-totals>*{padding:8px 10px!important}
  #ownerPortal.v2-one #visao-geral .annual-summary .annual-totals strong{font-size:17px!important}
  #ownerPortal.v2-one #visao-geral .annual-summary #annualNote{display:none}
}
@media (min-width:1100px) and (min-height:640px){
  /* gráfico: todos os meses cabem, sem rolagem lateral */
  #ownerPortal.v2-one #visao-geral .cash-chart{overflow:hidden!important;gap:6px!important;align-items:stretch!important}
  #ownerPortal.v2-one #visao-geral .chart-group{flex:1 1 0!important;min-width:0!important;width:auto!important;display:flex!important;flex-direction:column;justify-content:flex-end;padding:6px 4px!important;gap:4px!important}
  #ownerPortal.v2-one #visao-geral .chart-bars{flex:1;min-height:0!important;height:auto!important}
  #ownerPortal.v2-one #visao-geral .chart-month{font-size:12px!important}
  #ownerPortal.v2-one #visao-geral .chart-values{display:none!important}
  /* categorias: lista legível em largura total (a rosca fica na tela DRE) */
  #ownerPortal.v2-one #visao-geral .expense-donut-wrap{display:none!important}
  #ownerPortal.v2-one #visao-geral .category-drilldown{display:block!important;overflow:auto;scrollbar-width:thin}
  #ownerPortal.v2-one #visao-geral #categoryBars{display:flex!important;flex-direction:column;height:auto;overflow:visible;width:100%!important}
  #ownerPortal.v2-one #visao-geral #categoryBars summary{display:grid!important;grid-template-columns:10px minmax(0,1fr) auto 14px;align-items:center;gap:10px;padding:6px 8px!important;min-height:0!important}
  #ownerPortal.v2-one #visao-geral #categoryBars summary span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px!important}
  #ownerPortal.v2-one #visao-geral #categoryBars summary small{display:inline!important;margin-left:6px;opacity:.65;font-size:11px!important}
  #ownerPortal.v2-one #visao-geral #categoryBars summary b{font-size:13px!important}
  #ownerPortal.v2-one #visao-geral #categoryBars details{padding:0!important;margin:0!important}
  /* mercados: uma linha por mercado */
  #ownerPortal.v2-one #visao-geral #overviewUnitList>div{display:grid!important;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:center}
  #ownerPortal.v2-one #visao-geral #overviewUnitList small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px!important}
  #ownerPortal.v2-one #visao-geral #overviewUnitList strong{font-size:14px!important}
  /* linha de baixo baixa */
  #ownerPortal.v2-one #visao-geral #monthComparison>article{display:flex;flex-direction:column;gap:2px;justify-content:center}
  #ownerPortal.v2-one #visao-geral #monthComparison span{font-size:12px!important}
  #ownerPortal.v2-one #visao-geral #monthComparison strong{font-size:18px!important;line-height:1.15}
  #ownerPortal.v2-one #visao-geral #monthComparison small{font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #ownerPortal.v2-one #visao-geral .health-banner .eyebrow{font-size:10px!important;margin:0!important}
  #ownerPortal.v2-one #visao-geral .health-banner h2{font-size:14px!important;line-height:1.25}
  #ownerPortal.v2-one #visao-geral .annual-summary .panel-heading{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
  #ownerPortal.v2-one #visao-geral .annual-summary .eyebrow,#ownerPortal.v2-one #visao-geral .annual-summary .annual-period{font-size:10px!important}
  #ownerPortal.v2-one #visao-geral .annual-summary h2{display:none}
  #ownerPortal.v2-one #visao-geral .annual-summary .annual-totals{display:grid!important;grid-template-columns:1fr 1fr}
  #ownerPortal.v2-one #visao-geral .annual-summary .annual-totals span,#ownerPortal.v2-one #visao-geral .annual-summary .annual-totals small{font-size:11px!important}
  #ownerPortal.v2-one #visao-geral .annual-summary .annual-totals strong{font-size:16px!important}
}
@media (min-width:1100px) and (min-height:640px) and (max-height:820px){
  #ownerPortal.v2-one #visao-geral .owner-welcome{display:none!important}
  #ownerPortal.v2-one #visao-geral.active-view{grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"kpi kpi kpi" "cash cat units" "cmp health annual"}
  #ownerPortal.v2-one #visao-geral .metric-card{padding:10px 14px!important}
  #ownerPortal.v2-one #visao-geral .metric-card strong{font-size:22px!important}
}
@media (min-width:1100px) and (min-height:640px){
  #ownerPortal.v2-one #visao-geral #monthComparison{overflow:hidden}
  #ownerPortal.v2-one #visao-geral #monthComparison>article{min-width:0;overflow:hidden}
  #ownerPortal.v2-one #visao-geral #monthComparison strong,#ownerPortal.v2-one #visao-geral #monthComparison span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #ownerPortal.v2-one #visao-geral .health-banner,#ownerPortal.v2-one #visao-geral .annual-summary{overflow:hidden}
  #ownerPortal.v2-one #visao-geral .annual-summary .annual-totals>*{min-width:0}
  #ownerPortal.v2-one #visao-geral .annual-summary .annual-totals i,#ownerPortal.v2-one #visao-geral .annual-summary .annual-totals [class*="bar"]{height:4px!important;margin-top:4px!important}
}

/* =========================================================
   ROTINA EM UMA TELA (computador/notebook)
   Resumo no topo · semana · dia | mês | recorrentes
   ========================================================= */
.v2-routine-stats{display:none}
.v2-recurring .v2-when{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:44px;padding:4px 6px;border-radius:10px;background:rgba(255,255,255,.06);line-height:1.1}
.v2-recurring .v2-when b{font-size:12px;text-transform:capitalize}
.v2-recurring .v2-when small{font-size:10px;opacity:.7}
.v2-recurring .v2-when.is-today{background:linear-gradient(180deg,var(--v2-gold-hi),var(--v2-gold));color:var(--v2-ink)}
.v2-recurring .v2-when.is-today small{opacity:.8}
.v2-recurring .task-row.v2-rec{grid-template-columns:auto minmax(0,1fr) auto auto!important}
@media (min-width:1100px) and (min-height:640px){
  #rotina.v2-routine-wide .routine-tabs{display:none!important}
  #rotina.v2-routine-wide .routine-toolbar{display:flex!important;flex-wrap:nowrap;align-items:stretch;gap:12px;margin:0 0 12px!important}
  #rotina.v2-routine-wide .routine-toolbar>#newMonthlyTask{align-self:center;white-space:nowrap}
  #rotina.v2-routine-wide .v2-routine-stats{display:flex;gap:10px;flex:1;min-width:0}
  .v2-stat{flex:1;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;align-items:center;text-align:left;cursor:pointer;
    padding:10px 14px;border-radius:18px;color:inherit;font:inherit;border:1px solid rgba(255,255,255,.12);
    background:radial-gradient(200px circle at var(--mx,30%) var(--my,0%),rgba(255,255,255,.1),transparent 60%),var(--v2-glass);box-shadow:var(--v2-edge);
    -webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);transition:transform .35s var(--v2-spring)}
  .v2-stat:hover{transform:translateY(-2px)}
  .v2-stat strong{grid-column:2;font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums}
  .v2-stat span{grid-column:2;font-size:12px;font-weight:700;opacity:.75;order:-1}
  .v2-stat small{grid-column:2;font-size:11px;opacity:.6}
  .v2-stat.today{grid-template-rows:auto auto auto}
  .v2-stat .v2-ring{grid-row:1/4;grid-column:1;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;
    background:conic-gradient(var(--v2-mint) calc(var(--p)*1%),rgba(255,255,255,.1) 0)}
  .v2-stat .v2-ring::before{content:"";grid-area:1/1;width:38px;height:38px;border-radius:50%;background:#0d1f16}
  .v2-stat .v2-ring b{grid-area:1/1;position:relative;font-size:11px}
  .v2-stat:not(.today){grid-template-columns:minmax(0,1fr)}
  .v2-stat:not(.today) strong,.v2-stat:not(.today) span,.v2-stat:not(.today) small{grid-column:1}
  .v2-stat.late strong{color:#f2b860}
  .v2-stat.late{border-color:rgba(242,184,96,.4)}
  .v2-stat.ok strong{color:var(--v2-mint)}

  #rotina.v2-routine-wide .calendar-layout{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,.95fr) minmax(0,1.05fr);gap:12px!important;flex:1;min-height:0;margin:0!important}
  #rotina.v2-routine-wide .calendar-panel{grid-column:1/-1;display:flex!important;flex-direction:column;min-height:0;overflow:hidden;padding:12px 14px!important}
  #rotina.v2-routine-wide .calendar-head{margin-bottom:8px!important}
  #rotina.v2-routine-wide .calendar-weekdays{display:none!important}
  #rotina.v2-routine-wide .calendar-grid{flex:1;min-height:0;grid-auto-rows:minmax(0,1fr)!important;height:auto!important}
  #rotina.v2-routine-wide .calendar-day{min-height:0!important;height:auto!important;overflow:auto;scrollbar-width:none;align-content:start}
  #rotina.v2-routine-wide .calendar-day strong::after{content:" " attr(data-weekday);font-size:11px;font-weight:600;opacity:.6;text-transform:capitalize}
  #rotina.v2-routine-wide .routine-right{display:contents!important}
  #rotina.v2-routine-wide :is(.day-panel,.monthly-tasks,.v2-recurring){min-height:0;overflow:hidden;display:flex!important;flex-direction:column;padding:12px 14px!important;margin:0!important}
  #rotina.v2-routine-wide :is(.day-panel,.monthly-tasks,.v2-recurring) .panel-heading{margin-bottom:6px!important}
  #rotina.v2-routine-wide :is(.day-panel,.monthly-tasks,.v2-recurring) h2{font-size:17px!important}
  #rotina.v2-routine-wide :is(.day-panel,.monthly-tasks,.v2-recurring) .panel-heading p{font-size:12px!important;margin:0!important;opacity:.7}
  #rotina.v2-routine-wide :is(#taskList,#monthlyTaskList,#v2RecurringList){flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
  #rotina.v2-routine-wide .task-row{padding:7px 8px!important;min-height:0!important}
  #rotina.v2-routine-wide .task-row strong{font-size:13.5px!important}
  #rotina.v2-routine-wide .task-row small{font-size:11.5px!important}
  #v2RecurringCount,#todayTaskCount{font-size:12px;font-weight:800;min-width:22px;height:22px;padding:0 7px;border-radius:999px;display:inline-grid;place-items:center;background:rgba(255,255,255,.08)}
}
@media (min-width:1100px) and (min-height:640px) and (max-height:820px){
  #ownerPortal.v2-one #visao-geral #overviewUnitList small{display:none!important}
  #ownerPortal.v2-one #visao-geral #overviewUnitList>div{padding-block:5px!important}
  #ownerPortal.v2-one #visao-geral #monthComparison>article,#ownerPortal.v2-one #visao-geral .health-banner,#ownerPortal.v2-one #visao-geral .annual-summary{padding-block:8px!important}
}

/* ---------- PIZZA INTERATIVA (Visão geral em uma tela) ---------- */
.v2-pie-panel[hidden]{display:none!important}
@media (min-width:1100px) and (min-height:640px){
  #ownerPortal.v2-one #visao-geral .main-grid{display:none!important}
  #ownerPortal.v2-one #visao-geral .v2-pie-panel{grid-area:cash;display:flex!important;flex-direction:column;min-height:0;padding:14px 16px!important;overflow:hidden}
  #ownerPortal.v2-one #visao-geral .v2-pie-panel h2{font-size:17px!important}
  #ownerPortal.v2-one #visao-geral .v2-pie-panel .panel-heading{margin-bottom:4px!important}
}
.v2-pie-hint{font-size:11px;font-weight:700;color:var(--v2-gold);opacity:.85;white-space:nowrap}
.v2-pie-wrap{position:relative;flex:1;min-height:0;display:grid;place-items:center}
.v2-pie-wrap svg{width:100%;height:100%;max-height:100%;aspect-ratio:1;overflow:visible;display:block}
.v2-pie-wrap svg path{cursor:pointer;transform-origin:150px 150px;transition:transform .45s var(--v2-spring),opacity .3s,filter .3s;outline:none}
.v2-pie-wrap svg path.on{transform:translate(var(--dx),var(--dy)) scale(1.03);filter:drop-shadow(0 6px 14px rgba(0,0,0,.45)) brightness(1.08)}
.v2-pie-wrap svg path.dim{opacity:.32}
.v2-pie-wrap svg path:focus-visible{stroke:#fff;stroke-width:2}
.v2-pie-wrap svg.grow path{animation:v2slice .8s var(--v2-spring) both;animation-delay:var(--d)}
@keyframes v2slice{from{transform:scale(.6) rotate(-25deg);opacity:0}}
.v2-pie-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42%;aspect-ratio:1;border-radius:50%;border:0;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center;color:#f4efe3;padding:6px;
  background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.14),rgba(10,26,18,.85) 70%);box-shadow:inset 1px 1px 0 rgba(255,255,255,.3),0 10px 30px rgba(0,0,0,.4)}
.v2-pie-center small{font-size:clamp(9px,.8vw,11px);font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--v2-gold);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v2-pie-center strong{font-size:clamp(14px,1.45vw,20px);font-variant-numeric:tabular-nums;line-height:1.1}
.v2-pie-center span{font-size:clamp(9px,.75vw,11px);opacity:.7}
.v2-pie-center em{font-style:normal;font-size:9px;opacity:.55;margin-top:2px}
.v2-pie-legend{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:6px}
.v2-pie-legend button{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#dfe5da;border-radius:999px;padding:4px 9px;font:600 11px/1 Manrope,system-ui,sans-serif;cursor:pointer;transition:background .2s,transform .3s var(--v2-spring)}
.v2-pie-legend button b{font-weight:800;color:#f4efe3}
.v2-pie-legend button i{width:8px;height:8px;border-radius:50%}
.v2-pie-legend button.on,.v2-pie-legend button:hover{background:rgba(255,255,255,.12);transform:translateY(-1px)}
@media (prefers-reduced-motion:reduce){.v2-pie-wrap svg.grow path{animation:none}.v2-pie-wrap svg path{transition:none}}
/* pizza sempre inteira e centralizada, do tamanho do espaço disponível */
.v2-pie-wrap{container-type:size;overflow:hidden}
.v2-pie-wrap svg{width:min(100cqw,100cqh)!important;height:min(100cqw,100cqh)!important;max-height:none;aspect-ratio:auto;overflow:visible;padding:8px}
.v2-pie-center{width:calc(min(100cqw,100cqh)*.46)!important;height:calc(min(100cqw,100cqh)*.46);aspect-ratio:auto}
.v2-pie-center strong{font-size:clamp(13px,calc(min(100cqw,100cqh)*.075),22px)}
.v2-pie-legend{flex:none}
/* pizza à esquerda, legenda em coluna à direita */
.v2-pie-body{flex:1;min-height:0;display:flex;gap:12px;align-items:stretch}
.v2-pie-body .v2-pie-wrap{flex:1 1 60%;min-width:0}
.v2-pie-body .v2-pie-legend{flex:0 1 40%;min-width:0;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:stretch;gap:5px;margin:0;overflow:auto;scrollbar-width:none}
.v2-pie-body .v2-pie-legend button{justify-content:flex-start;width:100%;padding:6px 10px;font-size:12px;border-radius:12px}
.v2-pie-body .v2-pie-legend button b{margin-left:auto}
.v2-pie-body .v2-pie-legend button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v2-pie-legend button i{flex:none}


/* botão fixo de WhatsApp em vidro líquido */
dialog.v2-login{margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;padding:0;color:inherit}
dialog.v2-login:not([open]){display:none}
dialog.v2-login::backdrop{background:rgba(0,12,8,.65);backdrop-filter:blur(12px)}
.v2-pie-body .v2-pie-legend{justify-content:flex-start;padding-top:4px}
.v2-stat span,.v2-pie-legend button,.v2-pie-center small,.v2-pie-center span{font-size:14px!important}
.v2-stat small,.v2-pie-center em{font-size:12px!important}
@media(prefers-reduced-motion:reduce){.v2-login *,.v2-stat,.v2-pie-legend button{animation:none!important;transition:none!important}}
@media (max-width:760px){
  .v2-wa{color:#f4efe3!important;gap:10px!important;
    background:radial-gradient(220px circle at var(--mx,30%) var(--my,0%),rgba(255,255,255,.16),transparent 60%),linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.05) 50%,rgba(255,255,255,.09))!important;
    -webkit-backdrop-filter:blur(20px) saturate(190%);backdrop-filter:blur(20px) saturate(190%);
    border:1px solid rgba(255,255,255,.2)!important;
    box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.45),inset -1px -1px 0 rgba(255,255,255,.12),0 14px 36px rgba(0,0,0,.5)!important}
  .v2-wa svg{width:22px;height:22px;fill:#4ddba3;flex:none;filter:drop-shadow(0 0 8px rgba(77,219,163,.45))}
  .v2-wa:active{transform:scale(.97)}
}


/* ===== correções sobre a versão do ChatGPT ===== */
.v2-dock button[hidden]{display:none!important}
/* Rotina: resumo do topo com espaço (sem abas no computador) */
@media (min-width:1100px) and (min-height:640px){
  #rotina.v2-routine-wide .v2-routine-stats{flex:1 1 auto;min-width:0;order:0;flex-basis:auto}
  #rotina.v2-routine-wide .v2-stat span{font-size:12px!important}
  #rotina.v2-routine-wide .v2-stat small{font-size:11px!important}
}
/* Pizza: centro desenhado dentro do gráfico, sempre alinhado ao anel */
.v2-pie-wrap svg{padding:0!important}
.v2-mid{cursor:default;outline:none}
.v2-mid.can-reset{cursor:pointer}
.v2-mid text{text-anchor:middle;font-family:Manrope,system-ui,sans-serif;pointer-events:none}
.v2-mid .t1{font-size:11.5px;font-weight:800;letter-spacing:.08em;fill:#d9b46a;text-transform:uppercase}
.v2-mid .t2{font-size:23px;font-weight:800;fill:#f4efe3;font-variant-numeric:tabular-nums}
.v2-mid .t3{font-size:11.5px;font-weight:600;fill:#b7bfae}
.v2-mid .t4{font-size:9.5px;font-weight:600;fill:#7d8b80}
.v2-mid:focus-visible circle:last-of-type{stroke:#f3d99b;stroke-width:2}
/* Legenda: nome encurta se precisar, percentual nunca é cortado */
.v2-pie-body .v2-pie-legend button{display:grid!important;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:12.5px!important;overflow:visible;padding:6px 10px}
.v2-pie-body .v2-pie-legend button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.v2-pie-body .v2-pie-legend button b{margin-left:0;font-variant-numeric:tabular-nums}
.v2-pie-body .v2-pie-legend button i{width:9px;height:9px}
.v2-pie-body .v2-pie-wrap{flex:1 1 54%}
.v2-pie-body .v2-pie-legend{flex:0 0 46%}
.v2-pie-body .v2-pie-legend button{font-size:12px!important;gap:7px;padding:6px 9px}

/* ===== Rotina: correções dos testes ===== */
/* novas categorias com cor */
.category-maintenance{background:linear-gradient(110deg,#8a5a2b,#b07a4a66)!important}
.category-admin{background:linear-gradient(110deg,#4b5d8a,#6d7fae66)!important}
/* dia cheio: "+N tarefas" */
#ownerPortal #rotina .calendar-day .calendar-more{display:block;margin:3px 0 0;padding:2px 6px;border-radius:999px;font-size:10px;font-weight:800;text-align:center;color:#f3d99b;background:rgba(217,180,106,.14);border:1px dashed rgba(217,180,106,.45)}
/* botões dos formulários do mesmo tamanho */
dialog .dialog-actions :is(.ghost-button,.primary-button,.danger-button){font-size:14px!important;font-weight:800!important;padding:11px 20px!important;min-height:44px;line-height:1.1!important;border-radius:999px!important}
/* celular: a semana vira uma lista de dias */
@media (max-width:760px){
  #ownerPortal #rotina .calendar-weekdays{display:none!important}
  #ownerPortal #rotina .calendar-grid{display:flex!important;flex-direction:column;gap:6px;overflow:visible!important;min-width:0!important;width:100%!important}
  #ownerPortal #rotina .calendar-day{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:5px 6px;min-height:46px!important;height:auto!important;padding:9px 12px!important;text-align:left;width:100%!important;border-radius:14px!important}
  #ownerPortal #rotina .calendar-day strong{width:100%;font-size:13px!important;text-transform:capitalize;text-align:left}
  #ownerPortal #rotina .calendar-day strong::before{content:none!important}
  #ownerPortal #rotina .calendar-day strong::after{content:" · " attr(data-weekday)!important;font-weight:600;opacity:.65;position:static!important}
  #ownerPortal #rotina .calendar-day{justify-content:flex-start!important;place-content:flex-start!important;align-content:flex-start!important;justify-items:start!important}
  #ownerPortal #rotina .calendar-day>*{align-self:auto!important;justify-self:auto!important}
  #ownerPortal #rotina .calendar-day .calendar-event{display:inline-block!important;font-size:11.5px!important;padding:4px 9px!important;border-radius:999px!important;margin:0!important;max-width:100%}
  #ownerPortal #rotina .calendar-day .calendar-more{display:inline-block;font-size:11px;padding:4px 9px}
}

/* =========================================================
   UNIDADES (redesenho)
   ========================================================= */
#unidades .section-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:12px!important}
#unidades .section-intro h2{font-size:24px!important;margin:2px 0!important}
#unidades .section-intro p{margin:0!important;font-size:13px}
#ownerPortal #unitGrid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;flex:1;min-height:0}
.v2u-card{--unit-color:#4ddba3;position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border-radius:24px;
  background:radial-gradient(240px circle at var(--mx,30%) var(--my,0%),rgba(255,255,255,.08),transparent 62%),var(--v2-glass);border:1px solid rgba(255,255,255,.11);box-shadow:var(--v2-edge),var(--v2-drop);
  -webkit-backdrop-filter:blur(18px) saturate(170%);backdrop-filter:blur(18px) saturate(170%);transition:transform .45s var(--v2-spring)}
.v2u-card::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--unit-color);z-index:2}
@media (hover:hover){.v2u-card:hover{transform:translateY(-3px)}.v2u-card:hover .v2u-photo img{transform:scale(1.05)}}
.v2u-photo{position:relative;aspect-ratio:16/10;max-height:38%;flex:none;overflow:hidden;background:#0b1a12}
.v2u-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s}
.v2u-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(5,13,9,.85))}
.v2u-rank{position:absolute;z-index:1;top:10px;left:10px;min-width:34px;height:28px;padding:0 9px;display:grid;place-items:center;border-radius:999px;font:800 13px/1 Manrope,system-ui,sans-serif;color:#06120c;background:var(--unit-color);box-shadow:0 4px 14px rgba(0,0,0,.35)}
.v2u-rank:empty{display:none}
.v2u-name{position:absolute;z-index:1;left:14px;right:14px;bottom:10px}
.v2u-name h3{margin:0;font-size:19px;font-weight:800;color:#fff;line-height:1.15;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.v2u-name small{font-size:12px;color:#d9e2d6}
.v2u-body{display:flex;flex-direction:column;gap:8px;padding:12px 16px 14px;flex:1;min-height:0}
.v2u-value{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
.v2u-value strong{font-size:24px;font-weight:800;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.v2u-delta{font-size:12px;font-weight:800;white-space:nowrap;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.06);color:#b7bfae}
.v2u-delta:empty{display:none}
.v2u-delta.up{color:#4ddba3;background:rgba(77,219,163,.12)}
.v2u-delta.down{color:#f08a7a;background:rgba(240,138,122,.12)}
.v2u-share{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.v2u-bar{height:8px;border-radius:9px;background:rgba(255,255,255,.08);overflow:hidden}
.v2u-bar i{display:block;height:100%;border-radius:9px;background:var(--unit-color);transform-origin:left;animation:v2grow .9s var(--v2-spring) both}
@keyframes v2grow{from{transform:scaleX(0)}}
.v2u-share b{font-size:15px;font-variant-numeric:tabular-nums}
.v2u-share-label{font-size:11.5px;color:#93a097;margin-top:-4px}
.v2u-spark{flex:1;min-height:44px;display:flex;align-items:flex-end;gap:6px;padding-top:6px}
.v2u-spark span{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px}
.v2u-spark i{width:100%;max-width:26px;border-radius:5px 5px 2px 2px;background:color-mix(in srgb,var(--unit-color) 38%,transparent);transform-origin:bottom;animation:v2rise .8s var(--v2-spring) both}
.v2u-spark i.now{background:var(--unit-color);box-shadow:0 0 12px color-mix(in srgb,var(--unit-color) 45%,transparent)}
.v2u-spark em{font-style:normal;font-size:10px;color:#7d8b80;text-transform:capitalize}
@keyframes v2rise{from{transform:scaleY(0)}}
.v2u-note{margin:0;font-size:11px;color:#7d8b80;border-top:1px solid rgba(255,255,255,.07);padding-top:8px}
/* comparativo */
#unidades .unit-compare{margin-top:14px!important;padding:14px 18px!important;flex:none}
#unidades .unit-compare h2{font-size:16px!important}
#unidades .unit-compare #unitTotal{font-size:22px}
#ownerPortal #unitStacked{display:flex!important;height:30px!important;border-radius:12px!important;overflow:hidden;gap:3px;margin:10px 0!important;background:none!important}
#ownerPortal #unitStacked i{display:flex!important;align-items:center;justify-content:center;height:100%!important;border-radius:8px;min-width:4px;transform-origin:left;animation:v2grow .9s var(--v2-spring) both}
#ownerPortal #unitStacked i span{font:800 11.5px/1 Manrope,system-ui,sans-serif;color:#06120c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 6px}
#ownerPortal #unitLegend{display:flex!important;flex-wrap:wrap;gap:8px 18px}
#ownerPortal #unitLegend span{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#cfd8cb}
#ownerPortal #unitLegend i{width:10px!important;height:10px!important;border-radius:50%!important;flex:none}
#ownerPortal #unitLegend b{color:#f4efe3;font-variant-numeric:tabular-nums}
@media (min-width:1100px) and (min-height:640px){
  #ownerPortal #unidades.active-view{display:flex!important;flex-direction:column;overflow:hidden!important}
}
@media (max-width:1100px){#ownerPortal #unitGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v2u-photo{max-height:none}}
@media (max-width:560px){#ownerPortal #unitGrid{grid-template-columns:1fr!important}.v2u-spark{min-height:60px}}
@media (prefers-reduced-motion:reduce){.v2u-bar i,.v2u-spark i,#ownerPortal #unitStacked i{animation:none}}

/* =========================================================
   CELULAR: revisão geral (topo, filtros, cartões, tabelas)
   ========================================================= */
@media (max-width:760px){
  /* topo numa linha só: menu · título · avatar · sair */
  html body #ownerPortal .topbar{display:flex!important;align-items:center!important;gap:10px!important;padding:8px 10px!important;min-height:0!important;flex-wrap:nowrap!important}
  html body #ownerPortal .page-title{flex:1;min-width:0}
  html body #ownerPortal .page-title h1{font-size:20px!important;line-height:1.15!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}
  html body #ownerPortal .topbar-actions{display:flex!important;align-items:center;gap:6px!important;width:auto!important;flex:none}
  html body #ownerPortal .profile-chip{padding:3px!important;min-height:0!important;border-radius:999px!important}
  html body #ownerPortal .profile-chip>div{display:none!important}
  html body #ownerPortal .profile-chip #ownerAvatar{width:34px!important;height:34px!important;font-size:15px!important}
  html body #ownerPortal #ownerExit{padding:8px 14px!important;font-size:13px!important;min-height:0!important}
  /* botão do menu: quadrado de vidro alinhado, sem anel torto */
  html body #ownerPortal #menuButton{width:42px!important;height:42px!important;min-width:42px;padding:0!important;display:grid!important;place-items:center;border-radius:14px!important;
    background:var(--v2-glass)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.3)!important;outline:none!important;flex:none}
  html body #ownerPortal #menuButton svg{width:20px!important;height:20px!important;margin:0!important;display:block}
  html body #ownerPortal #menuButton:focus-visible{box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.3),0 0 0 2px rgba(77,219,163,.7)!important}
  /* período: seletor + dois botões lado a lado */
  html body #ownerPortal .filters{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;padding:10px!important}
  html body #ownerPortal .filters label{grid-column:1/-1;display:flex!important;align-items:center;gap:10px;font-size:12px!important}
  html body #ownerPortal .filters label{min-width:0!important;width:100%!important;max-width:100%}
  html body #ownerPortal .filters label select{flex:1;min-width:0!important;width:100%!important;max-width:100%!important;text-overflow:ellipsis}
  html body #ownerPortal .filters .filter-spacer{display:none!important}
  html body #ownerPortal .filters .ghost-button{width:100%!important;padding:9px 8px!important;min-height:0!important;white-space:nowrap;overflow:hidden}
  /* respiro e títulos */
  html body #ownerPortal>main{padding-inline:12px!important}
  html body #ownerPortal .panel{padding:16px!important;border-radius:22px!important}
  html body #ownerPortal .view h2{font-size:19px!important}
  html body #ownerPortal .section-intro{text-align:left!important;display:block!important}
  html body #ownerPortal .section-intro>*{text-align:left!important;margin-left:0!important}
  html body #ownerPortal .section-intro .status-pill{display:inline-block;margin-top:6px}
  /* números principais 2 x 2 */
  html body #ownerPortal #visao-geral .metric-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  html body #ownerPortal #visao-geral .metric-card{padding:12px!important;min-height:0!important;border-radius:20px!important}
  html body #ownerPortal #visao-geral .metric-card strong{font-size:19px!important;margin:4px 0 2px!important;white-space:nowrap}
  html body #ownerPortal #visao-geral .metric-card small{font-size:11px!important;line-height:1.3}
  html body #ownerPortal #visao-geral .metric-card .metric-head{font-size:12px!important;gap:4px;flex-wrap:wrap}
  html body #ownerPortal #visao-geral .metric-card .trend{font-size:10px!important;padding:2px 6px!important}
  html body #ownerPortal #visao-geral .metric-card :is(.spark-bars,.spark-line,.coverage,.mini-progress){height:14px!important;margin-top:6px!important}
  html body #ownerPortal #visao-geral .metric-card .metric-icon{display:none}
  html body #ownerPortal #visao-geral .owner-welcome{padding:12px 14px!important;display:flex!important;align-items:center;justify-content:space-between;gap:10px}
  html body #ownerPortal #visao-geral .owner-welcome .eyebrow{display:none}
  html body #ownerPortal #visao-geral .owner-welcome h2{font-size:15px!important;margin:0!important}
  html body #ownerPortal #visao-geral .owner-welcome strong{font-size:18px!important}
  html body #ownerPortal #visao-geral .expense-donut-wrap{max-width:220px;margin-inline:auto}
  /* gastos diários: dias que ainda não chegaram ficam apagados */
  html body #ownerPortal .daily-day.v2-future{opacity:.28}
  html body #ownerPortal .daily-day.v2-future strong{visibility:hidden}
  html body #ownerPortal #dailyExpenseDays{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  html body #ownerPortal .daily-day{padding:8px 6px!important;min-height:0!important}
  html body #ownerPortal .daily-day span{font-size:11px!important}
  html body #ownerPortal .daily-day strong{font-size:12px!important}
  /* tabelas viram cartões (Lançamentos e Gastos diários) */
  html body #ownerPortal :is(#lancamentos,#gastos-diarios) table{min-width:0!important;width:100%!important;display:block}
  html body #ownerPortal :is(#lancamentos,#gastos-diarios) thead{display:none!important}
  html body #ownerPortal :is(#lancamentos,#gastos-diarios) tbody{display:grid!important;gap:8px}
  html body #ownerPortal :is(#lancamentos,#gastos-diarios) tbody tr{display:grid!important;grid-template-columns:1fr auto;gap:2px 10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
  html body #ownerPortal :is(#lancamentos,#gastos-diarios) tbody td{display:block!important;padding:0!important;border:0!important;font-size:12px!important;color:#b7bfae;text-align:left!important;white-space:normal!important}
  html body #ownerPortal :is(#lancamentos,#gastos-diarios) tbody td:nth-child(2){grid-column:1;grid-row:1;font-size:14px!important;font-weight:700;color:#f4efe3}
  html body #ownerPortal :is(#lancamentos,#gastos-diarios) tbody td:last-child,html body #ownerPortal #lancamentos tbody td:nth-child(5){grid-column:2;grid-row:1;text-align:right!important;font-weight:800;color:#f4efe3;font-size:14px!important}
  html body #ownerPortal #lancamentos tbody td:last-child{grid-row:2;font-weight:600;font-size:11px!important;color:#7d8b80}
  html body #ownerPortal :is(#lancamentos,#gastos-diarios) .table-wrap,html body #ownerPortal :is(#lancamentos,#gastos-diarios) [class*="table"]{overflow:visible!important}
  /* rotina: o dia de hoje na lista, sem a bolinha esticada */
  html body #ownerPortal #rotina .calendar-day.today strong,html body #ownerPortal #rotina .calendar-day.selected strong{background:none!important;color:#4ddba3!important;width:100%!important;height:auto!important;border-radius:0!important;padding:0!important;box-shadow:none!important;display:block!important}
  html body #ownerPortal #rotina .calendar-day.today{border-color:rgba(77,219,163,.6)!important}
  /* barra de baixo: 3 atalhos maiores */
  .v2-dock{left:16px!important;right:16px!important}
  .v2-dock button{font-size:12px!important;padding:9px 4px!important}
  .v2-dock button svg{width:22px!important;height:22px!important}
}

/* =========================================================
   MELHORIAS 3
   ========================================================= */
/* Rotina: alça para arrastar e mudar a ordem */
#ownerPortal #rotina .task-row{grid-template-columns:18px 25px minmax(0,1fr) auto 30px!important}
#ownerPortal #rotina .task-row.v2-rec{grid-template-columns:auto minmax(0,1fr) auto auto!important}
.task-grip{width:18px;height:30px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:none;color:#dfe5da;opacity:.35;cursor:grab;touch-action:none;transition:opacity .2s,background .2s}
.task-grip svg{width:10px;height:16px;fill:currentColor}
.task-row:hover .task-grip,.task-grip:focus-visible{opacity:.9;background:rgba(255,255,255,.06)}
.task-grip:disabled{opacity:.15;cursor:default}
.task-grip:active{cursor:grabbing}
.is-sorting{user-select:none}
.task-row.dragging{position:relative;z-index:3;border-radius:14px;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.06))!important;
  box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.35),0 14px 30px rgba(0,0,0,.45)!important;transform:scale(1.02);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.task-row.dragging .task-grip{opacity:1;color:#f3d99b}
@media (hover:none){.task-grip{opacity:.6;width:26px}#ownerPortal #rotina .task-row{grid-template-columns:26px 25px minmax(0,1fr) auto 30px!important}}

/* Botões em vidro líquido: "+ Adicionar" (Rotina) e "Conheça nossos mercados" (site) */
html body #newMonthlyTask,
html body .staging-landing .presentation-primary{
  background:radial-gradient(180px circle at var(--mx,30%) var(--my,0%),rgba(255,255,255,.2),transparent 60%),linear-gradient(160deg,rgba(77,219,163,.26),rgba(77,219,163,.08) 55%,rgba(255,255,255,.08))!important;
  color:#eafff5!important;border:1px solid rgba(160,240,205,.38)!important;
  box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.5),inset -1px -1px 0 rgba(255,255,255,.12),0 10px 26px rgba(0,0,0,.35),0 0 22px rgba(77,219,163,.18)!important;
  -webkit-backdrop-filter:blur(14px) saturate(180%);backdrop-filter:blur(14px) saturate(180%);text-shadow:0 1px 8px rgba(0,0,0,.35)}
html body #newMonthlyTask:hover,html body .staging-landing .presentation-primary:hover{box-shadow:inset 1.5px 1.5px 0 rgba(255,255,255,.6),inset -1px -1px 0 rgba(255,255,255,.12),0 14px 32px rgba(0,0,0,.4),0 0 30px rgba(77,219,163,.3)!important}

/* Unidades interativa: meses clicáveis, dica ao passar o mouse, destaque cruzado */
.v2u-spark{position:relative}
.v2u-spark button{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;border:0;background:none;padding:0;cursor:pointer;color:inherit;border-radius:8px;transition:background .2s}
.v2u-spark button:hover{background:rgba(255,255,255,.05)}
.v2u-spark button i{width:100%;max-width:26px;border-radius:5px 5px 2px 2px;background:color-mix(in srgb,var(--unit-color) 38%,transparent);transform-origin:bottom;animation:v2rise .8s var(--v2-spring) both;transition:background .2s,box-shadow .2s,transform .3s var(--v2-spring)}
.v2u-spark button:hover i{transform:scaleY(1.04);background:color-mix(in srgb,var(--unit-color) 70%,transparent)}
.v2u-spark button.on i{background:var(--unit-color);box-shadow:0 0 14px color-mix(in srgb,var(--unit-color) 50%,transparent)}
.v2u-spark button em{font-style:normal;font-size:10px;color:#7d8b80;text-transform:capitalize}
.v2u-spark button.on em{color:#f4efe3;font-weight:800}
.v2u-spark button:focus-visible{outline:2px solid var(--unit-color);outline-offset:1px}
.v2u-tip{position:absolute;z-index:5;bottom:calc(100% + 6px);transform:translateX(-50%);min-width:130px;padding:8px 11px;border-radius:12px;pointer-events:none;text-align:center;
  background:linear-gradient(160deg,rgba(20,40,29,.92),rgba(10,24,17,.92));border:1px solid rgba(255,255,255,.16);box-shadow:inset 1px 1px 0 rgba(255,255,255,.25),0 12px 28px rgba(0,0,0,.5);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);display:flex;flex-direction:column;gap:1px;animation:v2tip .18s ease-out}
.v2u-tip[hidden]{display:none}
.v2u-tip,.v2u-tip *{text-transform:none!important}
.v2u-tip b{font-size:11px;color:#d9b46a}
.v2u-tip b::first-letter{text-transform:uppercase}
.v2u-tip span{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.v2u-tip em{font-style:normal;font-size:11px;font-weight:700}
.v2u-tip em.up{color:#4ddba3}.v2u-tip em.down{color:#f08a7a}
.v2u-tip small{font-size:9.5px;color:#7d8b80}
@keyframes v2tip{from{opacity:0;transform:translate(-50%,4px)}}
.v2u-chip{margin-left:10px;padding:6px 12px;border-radius:999px;border:1px solid rgba(217,180,106,.45);background:rgba(217,180,106,.14);color:#f3d99b;font:700 12px/1 Manrope,system-ui,sans-serif;cursor:pointer;text-transform:none}
.v2u-chip[hidden]{display:none}
.v2u-card{transition:transform .45s var(--v2-spring),opacity .3s,filter .3s}
.v2u-card.dim{opacity:.45;filter:saturate(.6)}
#ownerPortal #unitStacked i,#ownerPortal #unitLegend span{transition:opacity .25s}
#ownerPortal #unitStacked i.dim,#ownerPortal #unitLegend span.dim{opacity:.3}
#ownerPortal #unitStacked i{cursor:default}

/* Sócios: tudo numa tela */
#socios.v2-socios-one .workspace-tabs{display:none!important}
#socios .partner-card .v2p-year{display:block;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#b7bfae}
#socios .partner-card .v2p-year b{color:#f4efe3;font-variant-numeric:tabular-nums}
.v2p-table-wrap{overflow-x:auto;margin-top:6px}
.v2p-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.v2p-table th{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#7d8b80;text-align:left;padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.1)}
.v2p-table td{padding:10px;border-bottom:1px solid rgba(255,255,255,.06)}
.v2p-table .r{text-align:right}
.v2p-table tbody tr{transition:background .2s}
.v2p-table tbody tr:hover{background:rgba(255,255,255,.04)}
.v2p-table tfoot td{font-weight:800;border-bottom:0;border-top:1px solid rgba(255,255,255,.14);color:#f3d99b}
#socios.v2-socios-one #partnerAnnual .partner-annual-grid{display:none!important}
@media (min-width:1100px) and (min-height:640px){
  #ownerPortal #socios.v2-socios-one.active-view{display:grid!important;overflow:hidden!important;gap:12px!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"intro intro" "cards annual" "table annual"}
  #socios.v2-socios-one>.section-intro{grid-area:intro;margin:0!important}
  #socios.v2-socios-one #partnerGrid{grid-area:cards;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0!important}
  #socios.v2-socios-one #partnerGrid .partner-card{padding:12px 14px!important;min-width:0}
  #socios.v2-socios-one #partnerGrid .partner-card strong{font-size:22px!important}
  #socios.v2-socios-one #partnerBreakdown{grid-area:table;margin:0!important;min-height:0;overflow:auto;padding:14px 16px!important}
  #socios.v2-socios-one #partnerAnnual{grid-area:annual;margin:0!important;min-height:0;display:flex!important;flex-direction:column;padding:14px 16px!important;overflow:hidden}
  #socios.v2-socios-one #partnerGainChart{flex:1;min-height:0;display:flex;flex-direction:column}
  #socios.v2-socios-one #partnerGainChart svg{flex:1;min-height:0;width:100%;height:auto}
}
@media (max-width:760px){.v2p-table{font-size:12px}.v2p-table th,.v2p-table td{padding:8px 6px}}
@media (min-width:1100px) and (min-height:640px){
  #ownerPortal #socios.v2-socios-one.active-view{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important}
  #socios.v2-socios-one .v2p-table{font-size:13px;table-layout:fixed}
  #socios.v2-socios-one .v2p-table th:first-child,#socios.v2-socios-one .v2p-table td:first-child{width:30%}
  #socios.v2-socios-one .v2p-table th,#socios.v2-socios-one .v2p-table td{padding:8px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #socios.v2-socios-one .v2p-table th{letter-spacing:.04em}
}
#socios .v2p-table{min-width:0!important;width:100%!important}
#socios.v2-socios-one #partnerGainChart{justify-content:center}

/* ===================== MELHORIAS CLAUDE 5 ===================== */

/* ---------- Página inicial: primeira tela cheia (computador) ---------- */
@media (min-width:1100px) and (min-height:620px){
  html body .staging-landing.v2-hero-fit .presentation-hero{transition:min-height .2s ease}
  html body .staging-landing.v2-hero-fit .presentation-hero-photo img{aspect-ratio:auto!important;height:100%!important;width:100%!important;object-fit:cover}
  html body .staging-landing.v2-hero-fit #mercados{margin-top:110px!important}
}
/* ---------- Nossas unidades: 4 cartões iguais, alinhados ---------- */
html body .staging-landing .landing-markets-heading{width:100%!important;max-width:none!important}
html body .staging-landing .landing-markets-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;grid-auto-rows:auto!important}
html body .staging-landing .landing-market{grid-column:auto!important;grid-row:auto!important;height:auto!important;min-height:0!important;aspect-ratio:3/4;margin:0!important;border-radius:26px!important;border:1px solid rgba(255,255,255,.14)!important;overflow:hidden;position:relative;isolation:isolate;box-shadow:0 24px 50px rgba(0,0,0,.35);transform:none;transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s,border-color .3s,opacity .7s ease}
html body .staging-landing .landing-market img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
html body .staging-landing .landing-market::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(3,14,10,0) 45%,rgba(3,14,10,.82));pointer-events:none}
html body .staging-landing .landing-market .landing-market-caption{position:absolute!important;left:14px!important;right:14px!important;bottom:14px!important;top:auto!important;z-index:1;display:flex!important;flex-direction:column;align-items:flex-start;gap:10px;padding:16px!important;border-radius:20px;background:linear-gradient(150deg,rgba(255,255,255,.16),rgba(255,255,255,.04) 50%,rgba(54,213,154,.1))!important;border:1px solid rgba(255,255,255,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 24px rgba(0,0,0,.3);backdrop-filter:blur(14px) saturate(150%);-webkit-backdrop-filter:blur(14px) saturate(150%);width:auto!important;max-width:none!important}
html body .staging-landing .landing-market .unit-name strong{font-size:19px!important}
html body .staging-landing .landing-market .unit-gallery-action{font-size:13px;font-weight:700;color:#bff5dd;display:inline-flex;gap:6px;align-items:center}
html body .staging-landing .landing-market:hover{transform:translateY(-6px)!important;box-shadow:0 34px 70px rgba(0,0,0,.45),0 0 0 1px rgba(77,219,163,.35);border-color:rgba(77,219,163,.45)!important}
html body .staging-landing .landing-market:hover img{transform:scale(1.06)}
html body .staging-landing .landing-market:not(.is-visible){opacity:0;transform:translateY(26px)}
html body .staging-landing .landing-market:nth-child(2){transition-delay:.08s}
html body .staging-landing .landing-market:nth-child(3){transition-delay:.16s}
html body .staging-landing .landing-market:nth-child(4){transition-delay:.24s}
html body .staging-landing .landing-market:hover{transition-delay:0s}
@media (max-width:1099px){html body .staging-landing .landing-markets-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}}
@media (max-width:640px){
  html body .staging-landing .landing-markets-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px!important;padding-bottom:6px;scrollbar-width:none}
  html body .staging-landing .landing-market{flex:0 0 78%;scroll-snap-align:start;aspect-ratio:4/5}
  html body .staging-landing .landing-market:not(.is-visible){opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){html body .staging-landing .landing-market,html body .staging-landing .landing-market img{transition:none}html body .staging-landing .landing-market:not(.is-visible){opacity:1;transform:none}}

/* ---------- Rotina (computador): calendário compacto e painéis maiores ---------- */
@media (min-width:1100px) and (min-height:640px){
  html body #ownerPortal #rotina.v2-routine-wide .calendar-layout{grid-template-rows:auto minmax(0,1fr)!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  html body #ownerPortal #rotina.v2-routine-wide .calendar-panel{flex:none}
  html body #ownerPortal #rotina.v2-routine-wide .calendar-grid{flex:none!important;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:8px!important;border:0!important;background:none!important}
  html body #ownerPortal #rotina .calendar-day.v2c{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:0!important;height:auto!important;padding:10px 6px!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.1)!important;background:rgba(255,255,255,.03)!important;cursor:pointer;overflow:hidden!important;transition:background .25s,border-color .25s,transform .25s cubic-bezier(.2,.8,.2,1)}
  html body #ownerPortal #rotina .calendar-day.v2c:hover{background:rgba(255,255,255,.07)!important;transform:translateY(-2px)}
  html body #ownerPortal #rotina .calendar-day.v2c .v2c-week{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.65}
  html body #ownerPortal #rotina .calendar-day.v2c strong{width:auto!important;font-size:22px!important;line-height:1!important;font-weight:800;text-align:center;margin:0!important;display:block!important;background:none!important;color:#eef6f0!important;height:auto!important}
  html body #ownerPortal #rotina .calendar-day.v2c strong::after,html body #ownerPortal #rotina .calendar-day.v2c strong::before{content:none!important}
  html body #ownerPortal #rotina .calendar-day.v2c .v2c-dots{display:flex;gap:4px;justify-content:center;flex-wrap:wrap;min-height:7px;max-width:100%}
  html body #ownerPortal #rotina .calendar-day.v2c .v2c-dots i{display:block!important;width:7px;height:7px;border-radius:50%;box-shadow:0 0 6px rgba(0,0,0,.3)}
  html body #ownerPortal #rotina .calendar-day.v2c .v2c-dots i.done{opacity:.35}
  html body #ownerPortal #rotina .calendar-day.v2c .v2c-count{font-size:11px;font-weight:600;opacity:.7;white-space:nowrap}
  html body #ownerPortal #rotina .calendar-day.v2c.all-done .v2c-count{color:#4ddba3;opacity:1}
  html body #ownerPortal #rotina .calendar-day.v2c.today{border-color:rgba(77,219,163,.45)!important}
  html body #ownerPortal #rotina .calendar-day.v2c.today strong{color:#4ddba3!important}
  html body #ownerPortal #rotina .calendar-day.v2c.selected{background:linear-gradient(160deg,rgba(77,219,163,.28),rgba(77,219,163,.08))!important;border-color:rgba(77,219,163,.7)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 24px rgba(0,0,0,.25)}
  html body #ownerPortal #rotina .calendar-day.v2c.selected strong{color:#fff!important}
  html body #ownerPortal #rotina.v2-routine-wide :is(.day-panel,.monthly-tasks){padding:16px 18px!important}
  html body #ownerPortal #rotina.v2-routine-wide :is(.day-panel,.monthly-tasks) h2{font-size:19px!important}
  html body #ownerPortal #rotina.v2-routine-wide .task-row{padding:10px 10px!important}
  html body #ownerPortal #rotina.v2-routine-wide .task-row strong{font-size:14.5px!important}
  html body #ownerPortal #rotina.v2-routine-wide .task-row small{font-size:12px!important}
  html body #ownerPortal #rotina #taskList.v2-swap>*{animation:v2swap .42s cubic-bezier(.2,.8,.2,1) both}
  html body #ownerPortal #rotina #taskList.v2-swap>*:nth-child(2){animation-delay:.04s}
  html body #ownerPortal #rotina #taskList.v2-swap>*:nth-child(3){animation-delay:.08s}
  html body #ownerPortal #rotina #taskList.v2-swap>*:nth-child(4){animation-delay:.12s}
  html body #ownerPortal #rotina #taskList.v2-swap>*:nth-child(n+5){animation-delay:.16s}
}
.v2c-dots i.category-market{background:#22c48a!important}.v2c-dots i.category-finance{background:#e0b85a!important}.v2c-dots i.category-security{background:#4fa8d6!important}.v2c-dots i.category-shopping{background:#8fa4c4!important}.v2c-dots i.category-personal{background:#a98be0!important}.v2c-dots i.category-other{background:#a8a39a!important}.v2c-dots i.category-maintenance{background:#d08a4a!important}.v2c-dots i.category-admin{background:#7d93d6!important}
@keyframes v2swap{from{opacity:0;transform:translateY(10px)}}

/* ---------- Janela "Adicionar tarefa": vidro líquido + abertura fluida ---------- */
html body dialog.routine-dialog{border-radius:32px!important;padding:30px!important;border:1px solid rgba(255,255,255,.24)!important;color:#f2f8f4;background:linear-gradient(155deg,rgba(255,255,255,.17),rgba(255,255,255,.05) 38%,rgba(255,255,255,.02) 60%,rgba(77,219,163,.10))!important;backdrop-filter:blur(30px) saturate(175%)!important;-webkit-backdrop-filter:blur(30px) saturate(175%)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -1px 0 rgba(0,0,0,.25),inset 0 0 40px rgba(255,255,255,.04),0 40px 100px rgba(0,0,0,.55)!important;overflow-x:hidden;position:fixed}
html body dialog.routine-dialog::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(120% 60% at 15% -10%,rgba(255,255,255,.22),transparent 55%),radial-gradient(80% 50% at 110% 110%,rgba(77,219,163,.18),transparent 60%)}
html body dialog.routine-dialog>*{position:relative}
html body dialog.routine-dialog::backdrop{background:rgba(2,12,8,.42)!important;backdrop-filter:blur(10px) saturate(120%)!important;-webkit-backdrop-filter:blur(10px) saturate(120%)!important}
html body dialog.routine-dialog[open]{animation:v2dlgIn .56s cubic-bezier(.16,1.12,.3,1) both}
html body dialog.routine-dialog[open]::backdrop{animation:v2fade .35s ease both}
html body dialog.routine-dialog.v2-closing{animation:v2dlgOut .22s cubic-bezier(.4,0,1,1) both!important}
html body dialog.routine-dialog.v2-closing::backdrop{animation:v2fadeOut .22s ease both!important}
html body dialog.routine-dialog[open] .form-grid>label:not([hidden]),html body dialog.routine-dialog[open] .task-recurrence-preview,html body dialog.routine-dialog[open] .dialog-actions{animation:v2rowIn .5s cubic-bezier(.2,.8,.2,1) both}
html body dialog.routine-dialog[open] .form-grid>label:nth-child(1){animation-delay:.06s}
html body dialog.routine-dialog[open] .form-grid>label:nth-child(2){animation-delay:.1s}
html body dialog.routine-dialog[open] .form-grid>label:nth-child(3){animation-delay:.13s}
html body dialog.routine-dialog[open] .form-grid>label:nth-child(n+4){animation-delay:.16s}
html body dialog.routine-dialog[open] .task-recurrence-preview{animation-delay:.2s}
html body dialog.routine-dialog[open] .dialog-actions{animation-delay:.24s}
html body dialog.routine-dialog .eyebrow{color:#7ff0c2!important}
html body dialog.routine-dialog h2{font-size:26px!important;letter-spacing:-.01em}
html body dialog.routine-dialog label{color:rgba(240,248,244,.86)!important;font-weight:600}
html body dialog.routine-dialog :is(input,select){min-height:48px;border-radius:16px!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.07)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);transition:border-color .2s,box-shadow .2s,background .2s;color-scheme:dark}
html body dialog.routine-dialog :is(input,select):hover{background:rgba(255,255,255,.1)!important}
html body dialog.routine-dialog :is(input,select):focus{outline:none!important;border-color:rgba(77,219,163,.75)!important;box-shadow:0 0 0 4px rgba(77,219,163,.16),inset 0 1px 0 rgba(255,255,255,.1)!important;background:rgba(255,255,255,.1)!important}
html body dialog.routine-dialog select option{background:#0f241b;color:#fff}
html body dialog.routine-dialog .task-recurrence-preview{border-radius:16px!important;background:rgba(77,219,163,.08)!important;border:1px solid rgba(77,219,163,.25)!important;color:#c9f5e2!important}
html body dialog.routine-dialog .panel-heading button[data-close-task],html body dialog.routine-dialog .panel-heading button[data-close-task-actions],html body dialog.routine-dialog .panel-heading button[data-close-period]{width:44px;height:44px;border-radius:50%!important;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:22px!important;line-height:1;transition:background .2s,transform .2s}
html body dialog.routine-dialog .panel-heading button[data-close-task]:hover{background:rgba(255,255,255,.16)!important;transform:rotate(90deg)}
html body dialog.routine-dialog .dialog-actions{gap:10px}
html body dialog.routine-dialog .dialog-actions .ghost-button{border-radius:999px!important;min-height:48px;padding:0 22px!important;border:1px solid rgba(255,255,255,.2)!important;background:rgba(255,255,255,.06)!important;color:#fff!important}
html body dialog.routine-dialog .dialog-actions .primary-button{border-radius:999px!important;min-height:48px;padding:0 26px!important;color:#fff!important;border:1px solid rgba(255,255,255,.3)!important;background:linear-gradient(160deg,rgba(77,219,163,.55),rgba(77,219,163,.22) 55%,rgba(255,255,255,.08))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 12px 26px rgba(0,0,0,.3),0 0 22px rgba(77,219,163,.22)!important;text-shadow:0 1px 2px rgba(0,0,0,.35);transition:transform .2s,box-shadow .2s}
html body dialog.routine-dialog .dialog-actions .primary-button:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 16px 32px rgba(0,0,0,.35),0 0 30px rgba(77,219,163,.35)!important}
@keyframes v2dlgIn{from{opacity:0;transform:translateY(26px) scale(.9)}60%{opacity:1}to{opacity:1;transform:none}}
@keyframes v2dlgOut{to{opacity:0;transform:translateY(14px) scale(.95)}}
@keyframes v2rowIn{from{opacity:0;transform:translateY(12px)}}
@keyframes v2fade{from{opacity:0}}
@keyframes v2fadeOut{to{opacity:0}}
@media (prefers-reduced-motion:reduce){html body dialog.routine-dialog[open],html body dialog.routine-dialog[open] *{animation:none!important}}

/* ---------- Entrada no painel depois do login: suave ---------- */
#ownerPortal.v2-enter>*{animation:v2enter .6s cubic-bezier(.2,.8,.2,1) both}
#ownerPortal.v2-enter>*:nth-child(2){animation-delay:.06s}
@keyframes v2enter{from{opacity:0;transform:translateY(14px)}}
@media (prefers-reduced-motion:reduce){#ownerPortal.v2-enter>*{animation:none}}

.v2-veil{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;pointer-events:none;background-color:#05130e;background-image:linear-gradient(90deg,#05130e10,#05130eb8 24%,#05130ee8 50%,#05130eb8 76%,#05130e10),url('./assets/miyazaki-foliage-frame.webp');background-size:100% 100%,cover;background-position:center,center top;transition:opacity .6s cubic-bezier(.4,0,.2,1)}
.v2-veil img{width:min(240px,50vw);height:auto;opacity:.95;filter:drop-shadow(0 14px 32px rgba(0,0,0,.4));transition:transform .6s cubic-bezier(.4,0,.2,1),opacity .45s}
.v2-veil.out{opacity:0}.v2-veil.out img{transform:scale(1.08);opacity:0}
@media (min-width:1100px) and (max-height:820px){
  html body .staging-landing .landing-header{padding-top:4px!important;padding-bottom:10px!important}
  html body .staging-landing .landing-header .presentation-brand img{max-height:110px;width:auto!important}
  html body .staging-landing .presentation-hero-copy h1{font-size:clamp(40px,5.6vh,56px)!important}
  html body .staging-landing .presentation-hero-copy p:not(.eyebrow){margin-top:12px!important;margin-bottom:0!important}
  html body .staging-landing .presentation-actions{margin-top:20px!important}
}

/* ===================== MELHORIAS CLAUDE 7 ===================== */
/* ---------- Gastos diários: sem abas, dia escolhido em destaque ---------- */
#gastos-diarios.v2-gd-one .workspace-tabs{display:none!important}
#gastos-diarios.v2-gd-one .daily-building-panel{display:none!important}
#gastos-diarios.v2-gd-one .daily-expense-today{order:-1}
#gastos-diarios.v2-gd-one .daily-expense-toolbar{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:0!important;align-items:stretch}
#gastos-diarios.v2-gd-one .daily-expense-total{display:grid!important;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;gap:2px 16px;padding:6px 18px!important;border:0!important;margin:0!important}
#gastos-diarios.v2-gd-one .daily-expense-total>span{grid-column:1;font-weight:700}
#gastos-diarios.v2-gd-one .daily-expense-total>small{grid-column:1;text-transform:none!important}
#gastos-diarios.v2-gd-one .daily-expense-total>small::first-letter{text-transform:uppercase}
#gastos-diarios.v2-gd-one .daily-expense-total>strong{grid-column:2;grid-row:1/3}
#gastos-diarios.v2-gd-one .daily-expense-today{border-right:1px solid rgba(255,255,255,.1)!important;border-left:0!important}
#gastos-diarios.v2-gd-one .daily-expense-today>strong{color:#4ddba3;font-size:32px!important;transition:opacity .25s}
#gastos-diarios.v2-gd-one .daily-expense-total:not(.daily-expense-today)>strong{font-size:24px!important;opacity:.9}
#gastos-diarios.v2-gd-one .daily-day{transition:background .2s,border-color .2s,transform .2s cubic-bezier(.2,.8,.2,1)}
#gastos-diarios.v2-gd-one .daily-day:hover{transform:translateY(-2px)}
#gastos-diarios.v2-gd-one .daily-day.selected{background:linear-gradient(160deg,rgba(77,219,163,.3),rgba(77,219,163,.08))!important;border-color:rgba(77,219,163,.75)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 8px 18px rgba(0,0,0,.25)}
#gastos-diarios.v2-gd-one #dailyExpenseRows.v2-swap tr{animation:v2swap .4s cubic-bezier(.2,.8,.2,1) both}
@media (min-width:1100px) and (min-height:640px){
  html body #ownerPortal #gastos-diarios.v2-gd-one.active-view{display:grid!important;overflow:hidden!important;gap:12px!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"bar bar" "days table" "chart table"}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-toolbar{grid-area:bar;margin:0!important}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-days-panel{grid-area:days;margin:0!important;display:flex!important;flex-direction:column;min-height:0}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-days-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-layout{display:contents!important}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-chart-panel{grid-area:chart;margin:0!important;min-height:0;display:flex!important;flex-direction:column}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-chart{flex:1;min-height:0!important}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table{grid-area:table;margin:0!important;min-height:0!important;display:flex!important;flex-direction:column;overflow:hidden}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table .table-wrap{flex:1;min-height:0;overflow:auto!important}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table table{min-width:0!important;width:100%!important;display:block}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table thead{display:none!important}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table tbody{display:grid!important;gap:8px}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table tbody tr{display:grid!important;grid-template-columns:1fr auto;gap:3px 12px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table tbody td{display:block!important;padding:0!important;border:0!important;font-size:12.5px!important;color:#b7bfae;text-align:left!important;white-space:normal!important}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table tbody td:nth-child(1){display:block!important;grid-column:2;grid-row:3;text-align:right!important;font-size:12px!important;color:#9fb2a8!important}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table tbody td:nth-child(3){grid-column:1;grid-row:1;font-size:14.5px!important;font-weight:700;color:#f4efe3}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table tbody td:nth-child(2){grid-column:1;grid-row:2}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table tbody td:nth-child(5){grid-column:1;grid-row:3}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table tbody td:nth-child(4){grid-column:2;grid-row:2;text-align:right!important}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-table tbody td:last-child{grid-column:2;grid-row:1;text-align:right!important;font-size:15px!important;font-weight:800}
  html body #ownerPortal #gastos-diarios.v2-gd-one .daily-days-panel .panel-note{display:none}
}

/* ---------- Rotina: arrastar fluido ---------- */
#ownerPortal #rotina .task-grip{touch-action:none;cursor:grab}
#ownerPortal #rotina .is-sorting{user-select:none;-webkit-user-select:none}
#ownerPortal #rotina .is-sorting .task-row:not(.dragging){will-change:transform}
html body #ownerPortal #rotina .task-row.dragging{position:relative;z-index:20;cursor:grabbing;transition:none!important;border-radius:16px!important;background:linear-gradient(160deg,rgba(56,92,75,.98),rgba(22,46,35,.98))!important;border:1px solid rgba(77,219,163,.45)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 18px 26px -12px rgba(0,0,0,.75)!important;will-change:transform}
html body #ownerPortal #rotina .is-sorting{overflow-x:hidden}
html body #ownerPortal #rotina .task-row.dragging .task-actions{opacity:.6}
html body #ownerPortal #rotina .task-row.dragging .task-grip{cursor:grabbing;color:#4ddba3}

/* ---------- Unidades: faturamento do ano ---------- */
#unidades .unit-compare.v2u-year-mode :is(.unit-stacked,.unit-legend,#unitStacked,#unitLegend){display:none!important}
#unidades .v2u-card .v2u-note{display:none!important}
#unidades .unit-compare.v2u-year-mode #unitTotal{display:none!important}
#unidades .v2u-year{display:grid;grid-template-columns:minmax(0,1.1fr) auto minmax(0,1fr);grid-template-areas:"rows total cols";gap:8px 22px;align-items:end;margin-top:6px}
#unidades .v2u-year-rows{grid-area:rows;display:flex;flex-direction:column;gap:4px}
#unidades .v2u-year-row{display:grid;grid-template-columns:130px minmax(0,1fr) auto 46px;align-items:center;gap:10px;padding:4px 8px;border:0;border-radius:10px;background:transparent;color:#eef4ef;font:600 13px Manrope,system-ui,sans-serif;text-align:left;cursor:pointer;transition:background .2s,opacity .25s}
#unidades .v2u-year-row:hover,#unidades .v2u-year-row.on{background:rgba(255,255,255,.06)}
#unidades .v2u-year-bar{height:10px;border-radius:9px;background:rgba(255,255,255,.07);overflow:hidden}
#unidades .v2u-year-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--c),color-mix(in srgb,var(--c) 60%,#fff));transform-origin:left;animation:v2grow .9s cubic-bezier(.2,.8,.2,1) both}
#unidades .v2u-year-row b{font-variant-numeric:tabular-nums;white-space:nowrap}
#unidades .v2u-year-row small{color:#a9bbb3;text-align:right;font-variant-numeric:tabular-nums}
#unidades .v2u-year-total{grid-area:total;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 6px;align-self:center}
#unidades .v2u-year-total span{font-size:12px;color:#a9bbb3;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
#unidades .v2u-year-total strong{font-size:24px;font-variant-numeric:tabular-nums}
#unidades .v2u-year-cols{grid-area:cols;display:flex;gap:6px;align-items:flex-end;height:118px}
#unidades .v2u-year-col{position:relative;flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;cursor:pointer;outline:none}
#unidades .v2u-year-stack{width:100%;max-width:26px;display:flex;flex-direction:column-reverse;border-radius:7px 7px 3px 3px;overflow:hidden;transform-origin:bottom;animation:v2rise .8s cubic-bezier(.2,.8,.2,1) both;transition:filter .2s}
#unidades .v2u-year-stack i{display:block;min-height:2px;transition:opacity .25s}
#unidades .v2u-year-col:hover .v2u-year-stack,#unidades .v2u-year-col:focus-visible .v2u-year-stack{filter:brightness(1.25)}
#unidades .v2u-year-col em{font-style:normal;font-size:11px;color:#a9bbb3;text-transform:capitalize}
#unidades .v2u-year .dim{opacity:.25}
#unidades .v2u-year-row.dim{opacity:.45}
#unidades .v2u-year-tip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);z-index:5;min-width:190px;padding:10px 12px;border-radius:14px;background:rgba(8,24,17,.92);border:1px solid rgba(255,255,255,.16);box-shadow:0 14px 30px rgba(0,0,0,.45);backdrop-filter:blur(12px);display:flex;flex-direction:column;gap:4px;font-size:12px;color:#d8e4dc;white-space:nowrap;animation:v2tip .18s ease both}
#unidades .v2u-year-tip[hidden]{display:none}
#unidades .v2u-year-tip b{font-size:13px;color:#fff;text-transform:capitalize;margin-bottom:2px}
#unidades .v2u-year-tip span{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center}
#unidades .v2u-year-tip span i{width:8px;height:8px;border-radius:50%}
#unidades .v2u-year-tip strong{font-variant-numeric:tabular-nums}
#unidades .v2u-year-col:first-child .v2u-year-tip{left:0;transform:none}
#unidades .v2u-year-col:last-child .v2u-year-tip{left:auto;right:0;transform:none}
@keyframes v2tip{from{opacity:0;transform:translate(-50%,4px)}}
@media (max-width:980px){#unidades .v2u-year{grid-template-columns:1fr;grid-template-areas:"total" "rows" "cols"}#unidades .v2u-year-row{grid-template-columns:100px minmax(0,1fr) auto 40px;font-size:12px}#unidades .v2u-year-total{align-items:flex-start}}

/* ---------- Visão geral: pizza sem a bola do meio e com entrada suave ---------- */
html body .v2-pie-wrap svg.grow path{animation:v2pieIn .7s cubic-bezier(.2,.8,.2,1) both!important;animation-delay:var(--d)!important}
@keyframes v2pieIn{from{opacity:0;transform:scale(.94)}}
html body #ownerPortal #visao-geral .expense-donut>div{background:transparent!important;border:0!important;box-shadow:none!important}

/* ---------- Página inicial: galeria de fotos em tela cheia, com fundo que acompanha a foto ---------- */
html body dialog.market-gallery{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;inset:0!important;margin:0!important;border:0!important;border-radius:0!important;padding:0!important;overflow:hidden!important;background:#040a07!important;color:#f2f6f3}
html body dialog.market-gallery::backdrop{background:rgba(2,8,5,.6)!important;backdrop-filter:blur(6px)}
html body dialog.market-gallery[open]{animation:v2galOpen .5s cubic-bezier(.2,.8,.2,1) both!important}
html body dialog.market-gallery.v2-closing{animation:v2galClose .25s cubic-bezier(.4,0,1,1) both!important}
.v2-gal-amb{position:absolute;inset:-12%;z-index:0;background-size:cover;background-position:center;filter:blur(46px) saturate(1.35) brightness(.42);transform:scale(1.05);transition:opacity .7s ease;pointer-events:none}
.v2-gal-amb.b{opacity:0}
dialog.market-gallery.v2-amb-b .v2-gal-amb.a{opacity:0}dialog.market-gallery.v2-amb-b .v2-gal-amb.b{opacity:1}
.v2-gal-vignette{position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(120% 90% at 50% 40%,transparent 40%,rgba(2,8,5,.75)),linear-gradient(180deg,rgba(2,8,5,.55),transparent 18%,transparent 78%,rgba(2,8,5,.75))}
html body dialog.market-gallery .market-gallery-shell{position:relative!important;z-index:1;height:100%!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto auto!important;gap:14px;padding:22px clamp(16px,3vw,40px) 22px!important;background:none!important;box-sizing:border-box}
html body dialog.market-gallery .market-gallery-head{margin:0!important;align-items:center!important}
html body dialog.market-gallery .market-gallery-head .eyebrow{color:#7ff0c2!important;letter-spacing:.2em}
html body dialog.market-gallery .market-gallery-head h2{margin:4px 0 0!important;font-size:clamp(26px,3vw,40px)!important;text-shadow:0 4px 24px rgba(0,0,0,.5)}
html body dialog.market-gallery :is(.market-gallery-close,.market-gallery-arrow){border:1px solid rgba(255,255,255,.24)!important;background:linear-gradient(160deg,rgba(255,255,255,.18),rgba(255,255,255,.05))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 10px 26px rgba(0,0,0,.35)!important;backdrop-filter:blur(16px) saturate(160%);-webkit-backdrop-filter:blur(16px) saturate(160%);color:#fff!important;outline-color:#7ff0c2!important;transition:transform .25s cubic-bezier(.2,.8,.2,1),background .2s!important}
html body dialog.market-gallery .market-gallery-close{width:50px!important;height:50px!important;font-size:26px!important}
html body dialog.market-gallery .market-gallery-close:hover{transform:rotate(90deg)}
html body dialog.market-gallery .market-gallery-arrow{width:58px!important;height:58px!important;font-size:30px!important}
html body dialog.market-gallery .market-gallery-arrow:hover{transform:translateY(-50%) scale(1.08)!important}
html body dialog.market-gallery .market-gallery-prev{left:4px!important}html body dialog.market-gallery .market-gallery-next{right:4px!important}
html body dialog.market-gallery .market-gallery-photo{border:0!important;border-radius:0!important;background:none!important;display:grid!important;place-items:center;min-height:0!important;height:auto!important;overflow:visible!important}
html body dialog.market-gallery .market-gallery-photo img{width:auto!important;height:auto!important;max-width:calc(100% - 140px)!important;max-height:calc(100dvh - 300px)!important;object-fit:contain;border-radius:22px;box-shadow:0 40px 90px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.08)}
html body dialog.market-gallery .market-gallery-photo img.is-changing{animation:v2galPhoto .55s cubic-bezier(.2,.8,.2,1) both!important}
html body dialog.market-gallery .market-gallery-zoom-hint{background:rgba(4,12,8,.55)!important;backdrop-filter:blur(10px);border-color:rgba(255,255,255,.18)!important;bottom:18px!important}
html body dialog.market-gallery .market-gallery-foot{display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:12px!important;margin:0!important;color:#e6efe9!important;font-size:15px!important}
html body dialog.market-gallery .market-gallery-foot span{padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);font-size:13px;font-variant-numeric:tabular-nums}
html body dialog.market-gallery .market-gallery-thumbs{justify-content:center;gap:10px!important;padding:8px!important;margin:0 auto;max-width:100%;border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.1),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);width:max-content}
html body dialog.market-gallery .market-gallery-thumbs button{width:84px!important;height:58px!important;border-radius:14px!important;border:2px solid transparent!important;opacity:.55;transition:transform .3s cubic-bezier(.2,.8,.2,1),opacity .25s,border-color .25s!important}
html body dialog.market-gallery .market-gallery-thumbs button:hover{opacity:.9;transform:translateY(-3px)!important}
html body dialog.market-gallery .market-gallery-thumbs button[aria-current="true"]{opacity:1;border-color:#4ddba3!important;transform:translateY(-3px) scale(1.06)!important;box-shadow:0 8px 20px rgba(0,0,0,.4)}
html body dialog.market-gallery[open] .market-gallery-head{animation:v2galDown .6s cubic-bezier(.2,.8,.2,1) .05s both}
html body dialog.market-gallery[open] .market-gallery-photo{animation:v2galZoom .7s cubic-bezier(.2,.8,.2,1) .08s both}
html body dialog.market-gallery[open] :is(.market-gallery-foot,.market-gallery-thumbs){animation:v2galUp .6s cubic-bezier(.2,.8,.2,1) .18s both}
@keyframes v2galOpen{from{opacity:0}}
@keyframes v2galClose{to{opacity:0}}
@keyframes v2galZoom{from{opacity:0;transform:scale(.92)}}
@keyframes v2galDown{from{opacity:0;transform:translateY(-14px)}}
@keyframes v2galUp{from{opacity:0;transform:translateY(18px)}}
@keyframes v2galPhoto{from{opacity:0;transform:translateX(var(--gal-dir,36px)) scale(.97)}}
@media (max-width:760px){
  html body dialog.market-gallery .market-gallery-shell{padding:calc(14px + env(safe-area-inset-top,0px)) 12px calc(14px + env(safe-area-inset-bottom,0px))!important;gap:10px}
  html body dialog.market-gallery .market-gallery-photo img{max-width:100%!important;max-height:calc(100dvh - 270px)!important;border-radius:18px}
  html body dialog.market-gallery .market-gallery-arrow{width:46px!important;height:46px!important;font-size:26px!important}
  html body dialog.market-gallery .market-gallery-thumbs{width:auto;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}
  html body dialog.market-gallery .market-gallery-thumbs button{width:70px!important;height:50px!important;flex:none}
  html body dialog.market-gallery .market-gallery-close{width:46px!important;height:46px!important}
}
@media (prefers-reduced-motion:reduce){html body dialog.market-gallery,html body dialog.market-gallery *{animation:none!important}}

/* ---------- Celular como app: topo limpo, título grande e barra de baixo com 5 atalhos ---------- */
.v2-sheet{position:fixed;inset:0;z-index:200}
.v2-sheet[hidden]{display:none}
.v2-sheet-backdrop{position:absolute;inset:0;background:rgba(2,8,5,.5);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .3s}
.v2-sheet-panel{position:absolute;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));padding:10px 14px 16px;border-radius:30px;background:linear-gradient(160deg,rgba(40,70,56,.92),rgba(10,26,19,.95));border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 -10px 40px rgba(0,0,0,.5);backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);transform:translateY(110%);transition:transform .42s cubic-bezier(.2,.9,.25,1)}
.v2-sheet.open .v2-sheet-backdrop{opacity:1}.v2-sheet.open .v2-sheet-panel{transform:none}
.v2-sheet-grab{display:block;width:40px;height:5px;border-radius:9px;background:rgba(255,255,255,.3);margin:0 auto 10px}
.v2-sheet-title{margin:0 4px 10px;font:800 13px Manrope,system-ui;letter-spacing:.14em;text-transform:uppercase;color:#7ff0c2}
.v2-sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.v2-sheet-grid button{display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 12px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#eef4ef;font:700 14px Manrope,system-ui;text-align:left;cursor:pointer}
.v2-sheet-grid button.on{border-color:rgba(77,219,163,.6);background:rgba(77,219,163,.14)}
.v2-sheet-grid svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v2-sheet-grid span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:760px){
  /* topo: avatar, botão Empresarial | Pessoal no centro e Sair */
  html body #ownerPortal .topbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:6px 8px!important;padding:10px 12px!important;min-height:64px!important;border-radius:26px!important;position:relative!important}
  html body #ownerPortal .topbar .menu-button{display:none!important}
  html body #ownerPortal .topbar .page-title{order:3;flex:1 0 100%;visibility:visible!important;padding:6px 4px 0}
  html body #ownerPortal .topbar .page-title h1{font-size:26px!important;font-weight:800!important;letter-spacing:-.02em;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body #ownerPortal.personal-mode .topbar .page-title{display:none!important}
  html body #ownerPortal .topbar .finance-scope{top:32px!important}
  html body #ownerPortal .topbar-actions{order:1;width:100%!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:6px!important;min-height:44px}
  html body #ownerPortal .topbar #alertsButton{display:none!important}
  html body #ownerPortal .profile-chip{order:0;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0!important}
  html body #ownerPortal .profile-chip>div{display:none!important}
  html body #ownerPortal .profile-chip #ownerAvatar{display:grid!important;place-items:center;width:42px!important;height:42px!important;border-radius:50%!important;font-size:17px!important;font-weight:800;color:#06261a!important;background:linear-gradient(150deg,#9ef5d1,#36d59a)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 6px 16px rgba(0,0,0,.35)!important;border:0!important;line-height:1}
  html body #ownerPortal.personal-mode .profile-chip #ownerAvatar{background:linear-gradient(150deg,#c4b8ff,#8b7bff)!important;color:#140c3a!important}
  html body #ownerPortal #ownerExit{order:2;min-height:42px!important;padding:0 14px!important;border-radius:999px!important;font-size:14px!important;white-space:nowrap}
  html body #ownerPortal .finance-scope button{font-size:13px!important;padding:8px 13px!important}
  /* barra de baixo: 5 atalhos, vidro verde (sem dourado) */
  html body .v2-dock{left:10px!important;right:10px!important;padding:5px!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}
  html body .v2-dock button{font-size:11px!important;font-weight:700!important;padding:8px 2px!important;gap:3px!important;min-width:0;letter-spacing:-.01em}
  html body .v2-dock button svg{width:22px!important;height:22px!important}
  html body .v2-dock button.on{color:#fff!important}
  html body .v2-dock .v2-pill{background:linear-gradient(160deg,rgba(77,219,163,.5),rgba(77,219,163,.18))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 6px 14px rgba(0,0,0,.25)!important}
  html body #ownerPortal main{padding-bottom:110px!important}
  /* textos sempre dentro do vidro */
  html body #ownerPortal :is(.panel,.metric-card,.owner-welcome) :is(h2,h3,small,p){overflow-wrap:break-word;min-width:0}
  html body #ownerPortal .filters select{min-width:0!important;max-width:100%!important}
}
@media (max-width:760px){
  html body #ownerPortal .topbar #menuButton{display:none!important}
  html body #ownerPortal .topbar .finance-scope button{font-size:13px!important;padding:8px 12px!important;min-width:0!important;line-height:1.2!important}
}
.v2-sheet-grid button:focus-visible{outline:2px solid #4ddba3!important;outline-offset:2px}

#gastos-diarios.v2-gd-one .daily-day span{text-transform:capitalize}
#gastos-diarios.v2-gd-one #dailyExpenseDetailTitle{text-transform:none}
#gastos-diarios.v2-gd-one #dailyExpenseDetailTitle::first-letter{text-transform:uppercase}

/* ---------- Filtros: Sincronização e Exportar como botões de vidro com ícone ---------- */
html body #ownerPortal .filters .v2-fbtn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;font-size:13px!important;min-height:40px!important;padding:0 14px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.2)!important;background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.04))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 16px rgba(0,0,0,.25)!important;color:#eef4ef!important;transition:transform .2s,background .2s!important}
html body #ownerPortal .filters .v2-fbtn:hover{transform:translateY(-1px);background:linear-gradient(160deg,rgba(77,219,163,.3),rgba(77,219,163,.08))!important}
html body #ownerPortal .filters .v2-fbtn svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html body #ownerPortal .filters .v2-fbtn::after,html body #ownerPortal .filters .v2-fbtn::before{content:none!important;display:none!important}
@media (min-width:761px){html body #ownerPortal .filters .v2-fbtn{width:40px!important;padding:0!important}html body #ownerPortal .filters .v2-fbtn .v2-fbtn-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}

/* ---------- Celular: cabeçalho fora do vidro, no estilo do Pessoal ---------- */
.v2-mhead{display:none}
@media (max-width:760px){
  html body #ownerPortal:not(.personal-mode) .v2-mhead{display:block;padding:6px 6px 4px}
  .v2-mhead-eyebrow{margin:0 0 4px;font:800 12px Manrope,system-ui;letter-spacing:.2em;text-transform:uppercase;background:linear-gradient(90deg,#4ddba3,#9ef5d1);-webkit-background-clip:text;background-clip:text;color:transparent}
  .v2-mhead-title{margin:0;font:800 26px/1.15 Manrope,system-ui;letter-spacing:-.02em;color:#f2f6f3}
  html body #ownerPortal .topbar .page-title{display:none!important}
  html body #ownerPortal #visao-geral .owner-welcome h2{display:none!important}
  html body #ownerPortal .filters{grid-template-columns:minmax(0,1fr) 44px 44px!important;align-items:center!important}
  html body #ownerPortal .filters label{grid-column:auto!important}
  html body #ownerPortal .filters .v2-fbtn{width:44px!important;height:44px!important;padding:0!important}
  html body #ownerPortal .filters .v2-fbtn .v2-fbtn-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  /* gaveta "Mais telas" em vidro líquido */
  .v2-sheet-panel{background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.05) 45%,rgba(77,219,163,.1))!important;border:1px solid rgba(255,255,255,.24)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -1px 0 rgba(0,0,0,.2),0 -10px 50px rgba(0,0,0,.45)!important;backdrop-filter:blur(30px) saturate(180%)!important;-webkit-backdrop-filter:blur(30px) saturate(180%)!important}
  .v2-sheet-panel::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(120% 60% at 15% -10%,rgba(255,255,255,.2),transparent 55%)}
  .v2-sheet-backdrop{background:rgba(2,8,5,.25)!important}
  .v2-sheet-grid button{background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.04))!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3)!important;backdrop-filter:blur(10px);transition:transform .2s,background .2s}
  .v2-sheet-grid button:active{transform:scale(.97)}
  .v2-sheet.open .v2-sheet-grid button{animation:v2rowIn .45s cubic-bezier(.2,.8,.2,1) both}
  .v2-sheet.open .v2-sheet-grid button:nth-child(2){animation-delay:.03s}.v2-sheet.open .v2-sheet-grid button:nth-child(3){animation-delay:.06s}.v2-sheet.open .v2-sheet-grid button:nth-child(4){animation-delay:.09s}.v2-sheet.open .v2-sheet-grid button:nth-child(n+5){animation-delay:.12s}
}
@media (max-width:760px){html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-toolbar{grid-template-columns:1fr!important}html body #ownerPortal #gastos-diarios.v2-gd-one .daily-expense-today{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.1)!important;padding-bottom:10px!important}}
/* 7c: data de cada dia no gráfico "Gastos por dia", sem cortar */
@media (min-width:1100px) and (min-height:640px){
html body #ownerPortal #gastos-diarios .daily-expense-chart{align-items:stretch}
html body #ownerPortal #gastos-diarios .recent-day-bar{height:100%;min-height:0;gap:6px}
html body #ownerPortal #gastos-diarios .recent-day-bar>span{flex:1 1 auto;min-height:40px;height:auto!important}
html body #ownerPortal #gastos-diarios .recent-day-bar>b{white-space:nowrap;font-size:11px;letter-spacing:-.01em}}
@media (max-width:1099px){
html body #ownerPortal #gastos-diarios .daily-chart-panel{min-height:0!important}
html body #ownerPortal #gastos-diarios .daily-expense-chart{height:auto!important;min-height:0!important;flex:none!important}
html body #ownerPortal #gastos-diarios .recent-day-bar{gap:6px;padding:6px 2px}
html body #ownerPortal #gastos-diarios .recent-day-bar>span{height:150px!important}
html body #ownerPortal #gastos-diarios .recent-day-bar>b{width:100%;white-space:normal!important;overflow-wrap:normal;word-break:normal;font-size:10px;line-height:1.2;text-align:center}
html body #ownerPortal #gastos-diarios .recent-day-bar>b em{display:block;font-style:normal;opacity:.7}}
html body #ownerPortal #gastos-diarios .recent-day-bar>b em{font-style:normal}
html body #ownerPortal #gastos-diarios .recent-day-bar>small{display:grid;gap:1px;height:auto!important;font-size:13px;font-weight:800;color:#f2eee3;line-height:1.15;text-align:center}
html body #ownerPortal #gastos-diarios .recent-day-bar>small em{font-style:normal;font-size:11px;font-weight:700;color:#9fb3a7;text-transform:capitalize}
html body #ownerPortal #gastos-diarios .recent-day-bar.selected>small{color:#4ddba3}

/* ---------- MELHORIAS 7c: mês com setas no Empresarial (igual ao Pessoal) ---------- */
html body #ownerPortal .filters label:has(#periodFilter){display:none!important}
.v2-period{--pz-line:rgba(255,255,255,.08);--pz-text:#eceef4;display:flex!important;align-items:center;gap:6px;padding:5px;border-radius:999px;border:1px solid var(--pz-line);background:rgba(255,255,255,.04)}
.v2-period>button[data-per]{width:38px;height:38px;flex:none;border-radius:50%;border:0;background:rgba(255,255,255,.06);color:var(--pz-text);font-size:20px;line-height:1;cursor:pointer;transition:background .2s,opacity .2s}
.v2-period>button[data-per]:hover{background:rgba(255,255,255,.12)}
.v2-period>button[data-per]:disabled{opacity:.3;cursor:default}
.v2-period .v2-period-label{min-width:170px;flex:1;display:flex;align-items:baseline;justify-content:center;gap:6px;border:0;background:transparent;color:var(--pz-text);font:700 14px Manrope,system-ui;cursor:pointer;padding:6px 8px;border-radius:999px;transition:background .2s}
.v2-period .v2-period-label:hover{background:rgba(255,255,255,.06)}
.v2-period .v2-period-state{font-size:11px;font-weight:700;color:#8fb9a5;text-transform:lowercase}
.v2-period.v2-tick .v2-period-name{animation:v2tick .35s cubic-bezier(.2,.8,.2,1)}
@keyframes v2tick{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
html body #ownerPortal .filters .v2-period{margin-right:auto}
.pz-month-label input{pointer-events:none}

/* calendário em vidro líquido */
.mz-mp{position:fixed;inset:0;z-index:2000}
.mz-mp[hidden]{display:none}
.mz-mp-bg{position:absolute;inset:0;background:rgba(2,8,5,0);transition:background .25s}
.mz-mp.open .mz-mp-bg{background:rgba(2,8,5,.28)}
.mz-mp-panel{position:absolute;padding:14px;border-radius:26px;color:#f2f6f3;font-family:Manrope,system-ui;
  background:linear-gradient(160deg,rgba(255,255,255,.18),rgba(255,255,255,.06) 45%,rgba(77,219,163,.1));border:1px solid rgba(255,255,255,.26);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -1px 0 rgba(0,0,0,.25),0 30px 60px -20px rgba(0,0,0,.7);
  -webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%);
  opacity:0;scale:.92;translate:0 -6px;transition:opacity .22s ease,scale .38s cubic-bezier(.34,1.4,.64,1),translate .38s cubic-bezier(.34,1.4,.64,1)}
.mz-mp-panel::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(120% 70% at 15% -10%,rgba(255,255,255,.22),transparent 55%)}
.mz-mp.open .mz-mp-panel{opacity:1;scale:1;translate:0 0}
.mz-mp-head{position:relative;display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.mz-mp-head b{font-size:16px;font-weight:800;letter-spacing:-.01em}
.mz-mp-head button{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:inherit;font-size:20px;line-height:1;cursor:pointer}
.mz-mp-head button:hover{background:rgba(255,255,255,.16)}
.mz-mp-grid{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mz-mp-grid button{height:44px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03));color:inherit;font:700 14px Manrope,system-ui;cursor:pointer;transition:background .2s,transform .2s cubic-bezier(.2,.8,.2,1),border-color .2s}
.mz-mp-grid button:hover:not(:disabled){transform:translateY(-2px);background:linear-gradient(160deg,rgba(255,255,255,.2),rgba(255,255,255,.06))}
.mz-mp-grid button:disabled{opacity:.28;cursor:default}
.mz-mp-grid button.now{border-color:rgba(255,255,255,.4)}
.mz-mp-grid button.on,.mz-mp-grid button.pick{background:linear-gradient(160deg,rgba(77,219,163,.55),rgba(77,219,163,.2));border-color:rgba(158,245,209,.8);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
html body #ownerPortal.personal-mode~.mz-mp .mz-mp-grid button.on,body:has(#ownerPortal.personal-mode) .mz-mp-grid button.on,body:has(#ownerPortal.personal-mode) .mz-mp-grid button.pick{background:linear-gradient(160deg,rgba(139,123,255,.6),rgba(139,123,255,.22));border-color:rgba(190,180,255,.8)}
body:has(#ownerPortal.personal-mode) .mz-mp-panel{background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.05) 45%,rgba(139,123,255,.14))}
.mz-mp-today{position:relative;width:100%;margin-top:10px;height:40px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:inherit;font:700 13px Manrope,system-ui;cursor:pointer}
.mz-mp-today:hover{background:rgba(255,255,255,.14)}
@media (prefers-reduced-motion:reduce){.mz-mp-panel,.mz-mp-bg{transition:none}}

/* ---------- MELHORIAS 7c: celular — topo do Empresarial idêntico ao do Pessoal ---------- */
@media (max-width:760px){
  html body #ownerPortal:not(.personal-mode) .filters{display:none!important}
  .v2-mhead-title{font-size:22px!important;line-height:1.2!important}
  .v2-mhead-period{margin-top:10px}
  .v2-mhead .v2-period{width:100%;justify-content:space-between}
  .v2-mhead .v2-period .v2-period-label{min-width:0}
}
@media (max-width:760px){html body #ownerPortal:not(.personal-mode) .v2-mhead{padding:4px 0 2px!important}}
@media (max-width:760px){.v2-mhead .v2-period .v2-period-state{display:none}}
/* calendário: vidro mais encorpado para o fundo não atrapalhar a leitura */
.mz-mp-panel{background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.04) 45%,rgba(77,219,163,.1)),rgba(10,26,19,.78)!important}
body:has(#ownerPortal.personal-mode) .mz-mp-panel{background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.03) 45%,rgba(139,123,255,.14)),rgba(16,14,30,.8)!important}
.mz-mp.open .mz-mp-bg{background:rgba(2,8,5,.4);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
html body #ownerPortal.v2-one .filters label:has(#periodFilter),html body #ownerPortal .filters label:has(#periodFilter),html body #ownerPortal#ownerPortal .filters>label:has(> #periodFilter){display:none!important}

/* ---------- MELHORIAS 7c: celular — cartão "Seu repasse" mais bonito e alinhado ---------- */
@media (max-width:760px){
  html body #ownerPortal #visao-geral .owner-welcome{display:block!important;padding:14px 16px!important;text-align:left!important;min-height:0!important}
  html body #ownerPortal #visao-geral .owner-welcome>div:first-child{display:none!important}
  html body #ownerPortal #visao-geral .owner-welcome>div:last-child{display:grid!important;grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;row-gap:2px;align-items:center;text-align:left!important;margin:0!important;width:100%}
  html body #ownerPortal #visao-geral .owner-welcome>div:last-child::before{content:"";grid-row:1/3;width:46px;height:46px;border-radius:50%;
    background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.35),transparent 55%),linear-gradient(160deg,rgba(77,219,163,.55),rgba(77,219,163,.15));
    border:1px solid rgba(158,245,209,.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 8px 18px -8px rgba(77,219,163,.6)}
  html body #ownerPortal #visao-geral .owner-welcome>div:last-child::after{content:"";grid-row:1/3;grid-column:1;justify-self:center;width:22px;height:22px;background:#eafff6;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0 0 4h14a2 2 0 0 1 2 2v3h-4a2 2 0 0 0 0 4h4v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0 0 4h14a2 2 0 0 1 2 2v3h-4a2 2 0 0 0 0 4h4v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5'/%3E%3C/svg%3E") center/contain no-repeat}
  html body #ownerPortal #visao-geral .owner-welcome>div:last-child>span{grid-column:2;grid-row:1;align-self:end;margin:0!important;font:600 13px/1.2 Manrope,system-ui!important;color:#a9bdb2!important;letter-spacing:0!important;text-transform:none!important}
  html body #ownerPortal #visao-geral .owner-welcome>div:last-child>span::first-letter{text-transform:uppercase}
  html body #ownerPortal #visao-geral .owner-welcome>div:last-child>strong{grid-column:2;grid-row:2;align-self:start;margin:0!important;font:800 26px/1.15 Manrope,system-ui!important;letter-spacing:-.02em;color:#4ddba3!important;font-variant-numeric:tabular-nums;text-align:left!important}
}
@media (max-width:760px){
  html body #ownerPortal #visao-geral .owner-welcome>div:last-child{position:relative!important}
  html body #ownerPortal #visao-geral .owner-welcome>div:last-child::before,html body #ownerPortal #visao-geral .owner-welcome>div:last-child::after{position:static!important;inset:auto!important;transform:none!important;margin:0!important;animation:none!important;opacity:1!important;filter:none!important;grid-column:1!important;grid-row:1/3!important}
  html body #ownerPortal #visao-geral .owner-welcome>div:last-child::after{justify-self:center;align-self:center}
}
@media (max-width:760px){html body #ownerPortal #visao-geral .owner-welcome{margin:12px 0 12px!important}}
/* Melhorias Claude 94 · página inicial: os 5 mercados em uma fileira só e etiqueta pequena, para a foto aparecer */
@media (min-width:1100px){html body .staging-landing .landing-markets-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}}
@media (min-width:641px) and (max-width:1099px){html body .staging-landing .landing-markets-grid{display:flex!important;flex-wrap:wrap;justify-content:center;gap:14px!important}html body .staging-landing .landing-markets-grid .landing-market{flex:0 0 calc((100% - 28px)/3)}}
html body .staging-landing .landing-markets-grid .landing-market:nth-child(5){transition-delay:.32s}
html body .staging-landing .landing-markets-grid .landing-market:hover{transition-delay:0s}
html body .staging-landing .landing-markets-grid .landing-market::after{background:linear-gradient(180deg,rgba(3,14,10,0) 74%,rgba(3,14,10,.34))!important}
html body .staging-landing .landing-markets-grid .landing-market .landing-market-caption{left:10px!important;right:auto!important;bottom:10px!important;width:max-content!important;max-width:calc(100% - 20px)!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding:6px 7px 6px 12px!important;border-radius:14px!important;border:1px solid rgba(255,255,255,.28)!important;background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.04)),rgba(6,27,19,.46)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 6px 16px rgba(0,0,0,.22)!important}
html body .staging-landing .landing-markets-grid .landing-market .landing-market-caption .unit-name{display:grid;gap:0;min-width:0}
html body .staging-landing .landing-markets-grid .landing-market .landing-market-caption .unit-name strong{display:block;font-size:14px!important;line-height:1.2;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .staging-landing .landing-markets-grid .landing-market .landing-market-caption .unit-name small{display:block;font-size:11px;line-height:1.25;color:rgba(255,255,255,.86)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .staging-landing .landing-markets-grid .landing-market .landing-market-caption .unit-gallery-action{flex:none;display:grid;place-items:center;width:28px;height:28px;padding:0!important;border-radius:50%;font-size:0!important;color:#fff!important;border:1px solid rgba(255,255,255,.34);background:rgba(255,255,255,.14)!important}
html body .staging-landing .landing-markets-grid .landing-market .landing-market-caption .unit-gallery-action b{display:block!important;width:auto!important;height:auto!important;border:0!important;visibility:visible!important;opacity:1!important;font-size:13px!important;line-height:1;font-weight:700;color:#fff!important}
/* Melhorias Claude 97 · página inicial: vidros menores sobre as fotos, seta centralizada e celular mais enxuto */
/* seta das unidades: o texto escondido não empurra mais a seta (todas as telas) */
html body .staging-landing .landing-markets-grid .landing-market .landing-market-caption .unit-gallery-action{position:relative!important;display:block!important}
html body .staging-landing .landing-markets-grid .landing-market .landing-market-caption .unit-gallery-action b{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;line-height:1!important;font-size:13px!important}
@media (max-width:760px){
  /* foto do topo: etiqueta pequena no canto em vez da faixa */
  html body .staging-landing .presentation-hero-photo>span{left:12px!important;right:auto!important;bottom:12px!important;top:auto!important;width:auto!important;max-width:calc(100% - 24px)!important;padding:7px 13px!important;border-radius:13px!important;text-align:left!important;background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.04)),rgba(6,27,19,.46)!important;border:1px solid rgba(255,255,255,.26)!important}
  html body .staging-landing .presentation-hero-photo>span strong{display:block;font-size:15px!important;line-height:1.2!important;color:#fff!important}
  html body .staging-landing .presentation-hero-photo>span small{display:block;font-size:11.5px!important;line-height:1.3!important;color:rgba(255,255,255,.86)!important}
  html body .staging-landing .hero-unit-arrow{width:34px!important;height:34px!important;top:12px!important;font-size:18px!important;line-height:1!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.25)!important;background:rgba(6,27,19,.42)!important}
  html body .staging-landing .hero-unit-arrow::before{display:none!important}
  /* WhatsApp: botão redondo pequeno no canto, sem cobrir o conteúdo */
  html body a.v2-wa{left:auto!important;right:14px!important;width:54px!important;height:54px!important;padding:0!important;gap:0!important;border-radius:50%!important;font-size:0!important;justify-content:center!important}
  html body a.v2-wa svg{width:27px!important;height:27px!important;flex:none}
  html body .presentation-contact{margin-bottom:24px!important}
  /* categorias: legenda menor embaixo da foto */
  html body .staging-landing .presentation-categories h3{padding:9px 12px!important;margin:0!important;font-size:14.5px!important;line-height:1.2!important}
  /* como funciona: lista compacta, um passo por linha */
  html body .staging-landing .presentation-how ol{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important}
  html body .staging-landing .presentation-how ol li{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;column-gap:12px!important;row-gap:2px!important;align-items:start;min-height:0!important;padding:13px 15px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.12)!important}
  html body .staging-landing .presentation-how ol li>span{grid-row:1/3;margin:0!important;font-size:18px!important;line-height:1.3!important}
  html body .staging-landing .presentation-how ol li h3{margin:0!important;font-size:16px!important;line-height:1.3!important}
  html body .staging-landing .presentation-how ol li p{margin:0!important;font-size:13.5px!important;line-height:1.45!important}
  /* endereços: lista mais curta */
  html body .staging-landing .landing-location{padding:11px 15px!important;border-radius:14px!important}
  html body .staging-landing .landing-location strong{font-size:15.5px!important}
  html body .staging-landing .landing-location span{font-size:12.5px!important;line-height:1.4!important}
  html body .staging-landing .landing-location-list{gap:8px!important}
}
/* Melhorias Claude 98 · página inicial no design atual, só com ajustes: "Acessar minha conta" limpo e efeitos ao passar o mouse */
/* entrar: só ícone + texto, sem caixa (computador e celular) */
html body .staging-landing .landing-access summary{display:inline-flex!important;align-items:center!important;gap:7px!important;padding:9px 14px!important;border-radius:999px!important;background:transparent!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:rgba(255,255,255,.88)!important;font:700 13.5px/1 Manrope,system-ui,sans-serif!important;text-shadow:0 1px 2px rgba(0,0,0,.45);transition:background .2s,color .2s!important}
html body .staging-landing .landing-access summary::before{content:"";width:15px;height:15px;flex:none;background:currentColor;opacity:.85;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='12' cy='8' r='4'/><path d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='12' cy='8' r='4'/><path d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/></svg>") center/contain no-repeat}
html body .staging-landing .landing-access summary:hover,html body .staging-landing .landing-access[open] summary{background:rgba(255,255,255,.09)!important;color:#fff!important}
@media (max-width:760px){html body .staging-landing .landing-access summary{font-size:0!important;padding:8px 11px!important}html body .staging-landing .landing-access summary::after{content:"Entrar";font:700 12.5px/1 Manrope,system-ui,sans-serif}}
/* efeitos */
html body .staging-landing :is(.landing-location,.presentation-categories article,.presentation-how li,.landing-proposal-points p,.landing-benefits article,.presentation-benefit-strip span,.presentation-primary,.presentation-secondary,.presentation-text-link){transition:transform .45s cubic-bezier(.16,1,.3,1),border-color .3s,background-color .3s,box-shadow .45s,color .25s!important}
html body .staging-landing .landing-location strong{display:flex!important;align-items:center;gap:8px}
html body .staging-landing .landing-location strong::after{content:"→";margin-left:auto;color:#5fe3ab;font-weight:900;opacity:0;transform:translateX(-8px);transition:opacity .3s,transform .45s cubic-bezier(.16,1,.3,1)}
html body .staging-landing .landing-location.is-active{border-color:rgba(95,227,171,.55)!important;box-shadow:inset 3px 0 0 #5fe3ab!important}
html body .staging-landing .landing-location.is-active strong::after{content:"●";font-size:9px;opacity:1;transform:none}
html body .staging-landing .landing-location:active{transform:scale(.985)!important}
html body .staging-landing .presentation-categories article{overflow:hidden}
html body .staging-landing .presentation-categories img{transition:transform 1s cubic-bezier(.16,1,.3,1)!important}
html body .staging-landing .landing-markets-grid .landing-market .landing-market-caption .unit-gallery-action{transition:background .3s,transform .5s cubic-bezier(.34,1.56,.64,1)!important}
@media (hover:hover) and (pointer:fine){
  html body .staging-landing .landing-location:hover{transform:translateX(6px)!important;border-color:rgba(95,227,171,.45)!important;background-color:rgba(95,227,171,.08)!important}
  html body .staging-landing .landing-location:hover strong::after{opacity:1;transform:none}
  html body .staging-landing .landing-markets-grid .landing-market:hover .landing-market-caption .unit-gallery-action{background:#5fe3ab!important;color:#04120c!important;transform:rotate(45deg)}
  html body .staging-landing .presentation-categories article:hover{transform:translateY(-6px)!important;border-color:rgba(95,227,171,.45)!important;box-shadow:0 24px 44px -26px rgba(0,0,0,.9)!important}
  html body .staging-landing .presentation-categories article:hover img{transform:scale(1.06)}
  html body .staging-landing .presentation-how li:hover{transform:translateY(-4px)!important;background-color:rgba(255,255,255,.06)!important;border-color:rgba(95,227,171,.4)!important}
  html body .staging-landing :is(.landing-proposal-points p,.landing-benefits article):hover{transform:translateY(-4px)!important;border-color:rgba(95,227,171,.4)!important;box-shadow:0 20px 40px -26px rgba(95,227,171,.6)!important}
  html body .staging-landing .presentation-benefit-strip span:hover{transform:translateY(-2px)!important}
  html body .staging-landing :is(.presentation-primary,.presentation-secondary):hover{transform:translateY(-3px)!important}
  html body .staging-landing .presentation-text-link:hover{transform:translateX(3px)!important}
}
@media (prefers-reduced-motion:reduce){html body .staging-landing *{transition-duration:.01s!important}}
/* Melhorias Claude 100 · login: o cartão começa sempre na mesma altura, abaixo do "Voltar ao site".
   Assim os botões Gestão / Síndico ficam exatamente no mesmo lugar ao alternar, e nada passa por cima do logo no celular. */
html body dialog.v2-login{box-sizing:border-box!important;place-items:start center!important;padding:calc(76px + env(safe-area-inset-top,0px)) 0 calc(28px + env(safe-area-inset-bottom,0px))!important}
@media (min-width:761px){html body dialog.v2-login{padding-top:clamp(84px,11vh,120px)!important}}
html body dialog.v2-login .v2-card{margin:0 auto!important;transition:height .35s cubic-bezier(.16,1,.3,1)}
