/* Minhas Finanças V8.11.55 — camada visual (vidro noturno + movimento). Somente aparência. */
/* ---- gerado a partir do styles.css original: fundos claros e textos escuros de cor fixa ---- */
.topbar,
.month-select,
.notice,
.search-wrap,
.filter-select,
.tx,
.empty,
.form-card,
.segmented,
.field input,
.field select,
.field textarea,
.money-input,
.summary-card,
.bottom-nav,
.cloud-pill,
.auth-card,
.year-select,
.cloud-notice.warning,
.insight-chip,
.account-add input,
.account-add select,
.import-drop,
.import-stat,
.import-row,
.import-row.duplicate,
.import-row-controls select,
.sticky-import-actions,
.otp-inputs input,
.onboarding-card,
.import-row.review-row,
.import-desc-input:focus,
.import-edit-grid>input,
.import-money-edit,
.import-batch-card,
.import-batch-card.legacy,
.batch-metrics span,
.workspace-strip,
.workspace-tab.add,
.tx-filter-summary>div,
.neutral-tx,
.recon-metrics span,
.voice-quick,
.voice-card,
.voice-transcript-wrap textarea,
.budget-row-actions button,
.chat-shell,
.chat-header,
.chat-context-pill,
.chat-bubble.assistant,
.chat-composer,
.chat-composer textarea,
.chat-footnote,
body.theme-company .topbar,
body.theme-company .workspace-strip,
body.theme-company .workspace-tab.add,
body.theme-company .chat-shell,
body.theme-company .notice,
body.theme-company .import-drop,
.v6-plan-card.featured,
.workspace-tab,
.v6-quick-card,
.v6-quick-grid button,
.theme-company .v6-quick-grid button,
.v6-smart-card,
.theme-company .chat-shell,
.category-add-row input,
.category-manage-row,
.theme-company .category-add-row input,
.accountability-options,
.accountability-preview>div,
.affiliate-stat,
.affiliate-link-box input,
.affiliate-rule-list>div,
.plan-center-card,
.plan-center-card.current,
.theme-company .plan-center-card.current,
.mp-subscription-card,
#mp-subscription-form input,
#mp-subscription-form select,
.mp-card-field,
.theme-company .promo-admin-stats span,
.legal-info-list>div,
.legal-modal-card,
.kpi,
.v6-week-grid>div,
.v6-alert,
.budget-row,
.btn.danger,
.chat-icon-btn.attach,
.chat-icon-btn.mic,
.workspace-tab.active,
body.theme-company .v6-quick-grid button,
.tx-category-modal-card,
.tx-category-create,
.tx-category-create input,
.tx-category-modal-foot,
.card-bill-explainer>div,
.card-bill-preview-row,
.card-bill-preview-row.locked,
.card-bill-row-grid input,
.card-bill-row-grid select,
.card-bill-history-card,
.notification-chip-row span,
.notification-row,
.global-search-box,
.global-search-results,
.global-search-result:hover,
.global-search-result.active,
body.theme-company .global-search-result:hover,
body.theme-company .global-search-result.active,
.investment-values>div,
.investment-delete,
body.theme-company .investment-estimate-note,
.employee-directory-values,
.payroll-values>div,
.payroll-values>div.net,
.payroll-breakdown span,
.payroll-entry-preview,
.payroll-paid-check,
.payroll-disclaimer,
body.theme-company .payroll-entry-preview,
body.theme-company .payroll-disclaimer,
.payroll-form-group,
.payroll-entry-preview-v2>div,
.payroll-entry-preview-v2>div.net,
.schedule-weekdays,
.schedule-day,
.schedule-day.work,
.schedule-day.vacation,
.schedule-day.leave,
.schedule-day.absence,
.schedule-day.swap,
.employee-employment-hint,
.schedule-hours-hint,
.payroll-info,
.schedule-entry-row,
.schedule-quick-status-popover,
.schedule-quick-status-btn,
.schedule-quick-status-btn:hover,
.schedule-quick-status-btn.active,
.employee-portal-mode,
.employee-portal-topbar,
.employee-portal-day,
.employee-portal-day.work,
.employee-portal-day.absence,
.employee-portal-day.vacation,
.employee-portal-day.leave,
.employee-portal-day.holiday,
.employee-portal-day.swap,
.employee-payslip-card,
.payroll-payment-status-notice,
.payroll-payment-status-notice.paid,
.payroll-payment-status-notice.warning,
.schedule-holiday-compensated,
.time-clock-day-head,
.time-clock-punch-type i,
.employee-time-clock-next,
.employee-time-clock-capture,
.employee-time-clock-today-row,
.cross-period-section,
.cross-period-tx,
.tx-date-filter input[type="date"]{background:var(--g-panel)!important;background-image:none!important;border-color:var(--g-edge)!important}
.tx-icon.despesa,
.cloud-pill.offline,
.field input:disabled,
.workspace-tab,
.voice-close,
.voice-status,
.chat-day,
.admin-status-pill,
.employee-status-pill.archived,
.schedule-day.off,
.field input[readonly],
.employee-portal-day.off,
.time-clock-proof-retained,
.time-clock-proof-line,
.employee-time-clock-privacy{background:var(--g-panel)!important;background-image:none!important;color:var(--mf-muted)!important;border-color:var(--g-edge)!important}
.field label,
.voice-transcript-wrap label,
.nav-btn,
.app-update-banner span,
.global-search-icon,
.global-search-clear,
.global-search-result small,
.global-search-empty,
.employee-portal-week span,
.employee-portal-day small,
.employee-portal-footnote,
.employee-payslip-card>div:first-child span,
.employee-payslip-card small,
.employee-payslip-values span,
.employee-time-clock-next small{color:var(--mf-muted)!important}
.field input:focus,
.field select:focus,
.field textarea:focus,
.cloud-pill.ok,
.cloud-pill.syncing,
.cloud-pill.error,
.repeat-box,
.batch-details>div,
.budget-category-toolbar,
.unbudgeted-card,
.chat-composer textarea:focus,
body.theme-company .chat-context-pill,
body.theme-company .budget-category-toolbar,
.affiliate-history-table th,
.affiliate-history-table td,
.theme-company .admin-metric-card,
.tx-category-create input:focus,
.card-bill-preview-row.review-row,
.notification-chip-row input:checked+span,
.notification-row.unread,
.investment-workspace-badge,
.investment-rate-pill,
.payroll-card.paid,
.payroll-entry-card,
.more-logout-btn,
.time-clock-punch-row{border-color:var(--g-edge)!important}
.btn.soft,
.import-undo-toast button,
.chat-icon-btn.attach,
.chat-icon-btn.mic,
body.theme-company .tx-icon.receita,
body.theme-company .kpi-icon.green,
body.theme-company .status-paid,
.category-manager-icon.income,
.affiliate-status-pill,
.admin-status-pill.active,
.chat-icon-btn.scan,
.nav-btn.active,
.global-search-result>i,
.employee-status-pill.active,
.payroll-status-pill.paid,
.time-clock-proof-line.ok,
.cash-period-badge{background:var(--g-panel)!important;background-image:none!important;color:var(--mf-brand)!important;border-color:var(--g-edge)!important}
.btn.danger,
.accountability-preview b.negative,
.promo-code-status.error,
.payroll-entry-preview em,
.more-logout-btn b,
.time-clock-day-head .warning,
.time-clock-punch-proof.outside{color:var(--mf-neg)!important}
.cloud-pill.pending,
.review-badge,
.chat-voice-status,
.affiliate-status-pill.pending,
.admin-status-pill.past_due,
.payroll-status-pill.pending{background:rgba(242,196,109,.13)!important;background-image:none!important;color:var(--mf-warn)!important;border-color:var(--g-edge)!important}
.transfer-badge,
.neutral-badge,
.neutral-tx .tx-icon,
.voice-nature-note,
.theme-company .nav-btn.active,
.admin-status-pill.trialing,
.admin-status-pill.incomplete,
.theme-company .legal-icon,
.btn.soft,
.tx-icon.despesa,
.workspace-tab,
body.theme-company .workspace-tab,
body.theme-company .workspace-tab.active,
body.theme-company .btn.soft,
.card-bill-badge,
.theme-company .card-bill-step,
.notification-row.card>i,
body.theme-company .global-search-result>i,
body.theme-company .investment-workspace-badge,
body.theme-company .investment-rate-pill,
.payroll-company-badge,
.employee-link-pill.clt,
.employee-link-pill.pj,
.employee-invite-auth-notice,
.workspace-tab.employee-mobile-workspace-tab{background:var(--g-panel)!important;background-image:none!important;color:#9ccaff!important;border-color:var(--g-edge)!important}
.voice-orb.listening,
.chat-bubble.user,
.chat-icon-btn.mic.listening,
.brand-mark span,
.v6-quick-grid button i,
.nav-btn.active{background:rgba(99,230,168,.11)!important;background-image:none!important;border-color:var(--g-edge)!important}
@media(max-width:520px){.voice-actions{background:var(--g-panel)!important;background-image:none!important;border-color:var(--g-edge)!important}}
body.theme-company .chat-bubble.user,
.theme-company .chat-bubble.user{background:rgba(124,196,255,.12)!important;background-image:none!important;border-color:var(--g-edge)!important}
body.theme-company .tx-amount.receita,
body.theme-company .bottom-nav-v58 .nav-btn[data-screen="income"].active,
.accountability-preview b.positive,
.promo-code-status.ok,
.global-search-result,
.schedule-day em,
.employee-access-ok{color:var(--mf-brand)!important}
body.theme-company .batch-validation,
.theme-company .accountability-preview b.positive,
.theme-company .legal-inline-link,
.theme-company .field-mini-action,
.schedule-day i,
.time-clock-live,
.employee-time-clock-next span,
.employee-time-clock-next b{color:#9ccaff!important}
.month-select option,
.year-select option,
.app-update-banner,
.global-search-clear:hover,
.employee-portal-gate{background:var(--g-panel)!important;background-image:none!important;color:var(--mf-ink)!important;border-color:var(--g-edge)!important}
.category-manager-icon.expense{background:rgba(255,128,137,.12)!important;background-image:none!important;color:var(--mf-neg)!important;border-color:var(--g-edge)!important}
.affiliate-status-pill.paid,
body.theme-company .v6-quick-grid button i,
body.theme-company .nav-btn.active{background:rgba(124,196,255,.12)!important;background-image:none!important;color:#9ccaff!important;border-color:var(--g-edge)!important}
.admin-dashboard-status.error,
.admin-status-pill.cancelled,
.admin-status-pill.paused,
.payroll-warning,
.more-logout-btn i{background:var(--g-panel)!important;background-image:none!important;color:var(--mf-neg)!important;border-color:var(--g-edge)!important}
.legal-document,
.legal-document h3,
.employee-payslip-values b{color:var(--mf-ink)!important}
.tx-icon.receita{background:rgba(99,230,168,.11)!important;background-image:none!important;color:var(--mf-brand)!important;border-color:var(--g-edge)!important}
@media (min-width:1024px){.desktop-sidebar,
.desktop-sidebar-logo span,
.desktop-workspace-symbol,
.desktop-workspace-menu,
.desktop-workspace-option:hover,
.desktop-workspace-option span{background:var(--g-panel)!important;background-image:none!important;border-color:var(--g-edge)!important}}
@media (min-width:1024px){.desktop-sidebar-brand-copy b,
.desktop-workspace-copy b,
.desktop-workspace-option{color:var(--mf-ink)!important}}
@media (min-width:1024px){.desktop-workspace-copy small,
.desktop-workspace-chevron,
.desktop-sidebar .desktop-nav-btn{color:var(--mf-muted)!important}}
@media (min-width:1024px){.desktop-workspace-option.active,
.desktop-workspace-option em,
.desktop-sidebar .desktop-nav-btn:hover{background:var(--g-panel)!important;background-image:none!important;color:var(--mf-brand)!important;border-color:var(--g-edge)!important}}
@media (min-width:1024px){.desktop-workspace-option.add{color:var(--mf-muted)!important;border-color:var(--g-edge)!important}}
@media (min-width:1024px){.desktop-sidebar .desktop-nav-btn .desktop-nav-icon{background:var(--g-panel)!important;background-image:none!important;color:var(--mf-muted)!important;border-color:var(--g-edge)!important}}
@media (min-width:1024px){.desktop-sidebar .desktop-nav-btn.active,
.desktop-sidebar .desktop-nav-btn.active .desktop-nav-icon{background:rgba(99,230,168,.11)!important;background-image:none!important;color:var(--mf-brand)!important;border-color:var(--g-edge)!important}}
@media (min-width:1024px){.desktop-sidebar .desktop-nav-btn[data-screen="expenses"].active{background:var(--g-panel)!important;background-image:none!important;color:var(--mf-neg)!important;border-color:var(--g-edge)!important}}
@media (min-width:1024px){.desktop-sidebar .desktop-nav-btn[data-screen="expenses"].active .desktop-nav-icon{background:rgba(255,128,137,.12)!important;background-image:none!important;color:var(--mf-neg)!important;border-color:var(--g-edge)!important}}
@media (min-width:1024px){.desktop-sidebar-footer{border-color:var(--g-edge)!important}}
.schedule-day.holiday{background:rgba(242,196,109,.13)!important;background-image:none!important;border-color:var(--g-edge)!important}
.employee-link-pill.freelance{background:rgba(242,196,109,.13)!important;background-image:none!important;color:var(--mf-neg)!important;border-color:var(--g-edge)!important}
.employee-access-wait,
.payroll-payment-status-notice.warning strong{color:var(--mf-warn)!important}
.time-clock-proof-line.warning{background:var(--g-panel)!important;background-image:none!important;color:var(--mf-warn)!important;border-color:var(--g-edge)!important}
/* =====================================================================
   Minhas Finanças — camada visual V8.11.50 (design-v850.css)
   Apenas aparência. Nenhuma regra financeira, ID, evento ou dado alterado.
   Para desfazer: remover a linha <link ... design-v850.css> do index.html.
   ===================================================================== */
:root{
  --mf-brand:#0d6b4d;--mf-brand-deep:#08452f;--mf-brand-soft:#e7f3ee;--mf-brand-ink:#0a5a40;
  --mf-bg:#f4f6f5;--mf-surface:#ffffff;--mf-ink:#14201b;--mf-muted:#68756f;--mf-line:#e4e9e6;
  --mf-pos:#0f7a55;--mf-neg:#c2414b;--mf-warn:#a1650f;
  --mf-r-lg:20px;--mf-r-md:14px;--mf-r-sm:10px;
  --mf-shadow:0 1px 2px rgba(16,24,20,.04),0 4px 14px rgba(16,24,20,.05);
}
html.theme-company,body.theme-company{--mf-brand:#1f4e79;--mf-brand-deep:#142f4a;--mf-brand-soft:#e8eff7;--mf-brand-ink:#1a4269}
html,body{background:var(--mf-bg)!important}
body{color:var(--mf-ink);-webkit-font-smoothing:antialiased}
.hero-value,.kpi b,.kpi strong,.kpi-value,.tx-amount,.summary-card b,.summary-card strong,
[class*="value"],[class*="amount"],[class*="total"]{font-variant-numeric:tabular-nums}

/* ---------- Barra superior: clara e discreta ---------- */
.topbar,body.theme-company .topbar{
  background:rgba(255,255,255,.94)!important;color:var(--mf-ink)!important;
  border-bottom:1px solid var(--mf-line)!important;box-shadow:none!important;
  -webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px)}
.topbar h1{color:var(--mf-ink)!important;font-size:22px!important;letter-spacing:-.4px!important;font-weight:800!important}
.topbar .eyebrow,.topbar #screenEyebrow{color:var(--mf-brand)!important;opacity:1}
.topbar .brand-block small,.topbar .brand-copy p,.topbar .brand-copy small{color:var(--mf-muted)!important}
.topbar .brand-mark{background:var(--mf-brand-soft)!important;box-shadow:none!important}
.topbar .brand-mark span{background:var(--mf-brand)!important}
.topbar .month-select,.topbar .year-select,.topbar select{
  background-color:#fff!important;color:var(--mf-ink)!important;border:1px solid var(--mf-line)!important;
  box-shadow:none!important;border-radius:12px!important;font-weight:700!important}
.topbar .avatar{background:var(--mf-brand)!important;color:#fff!important;border:0!important}
.topbar button,.topbar .header-notification-btn{
  background:#fff!important;color:var(--mf-ink)!important;border:1px solid var(--mf-line)!important;box-shadow:none!important}
.header-notification-icon{--mf-ico:18px}

/* ---------- Busca global e perfis ---------- */
.workspace-strip,body.theme-company .workspace-strip{background:var(--mf-bg)!important;border:0!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.workspace-tab{border-radius:999px!important;box-shadow:none!important;border:1px solid var(--mf-line)!important;background:#fff!important;color:var(--mf-muted)!important;font-weight:700!important}
.workspace-tab.active{background:var(--mf-brand)!important;color:#fff!important;border-color:var(--mf-brand)!important}
.workspace-tab.active span{color:#fff!important}
.workspace-tab.plan-locked{opacity:1!important;color:var(--mf-muted)!important;background:transparent!important;border-style:dashed!important}
.global-search-box,.search-wrap{background:#fff!important;border:1px solid var(--mf-line)!important;box-shadow:none!important;border-radius:var(--mf-r-md)!important}
.global-search-icon,.search-wrap>span{--mf-ico:17px;color:var(--mf-muted)}

/* ---------- Cartão principal (saldo) ---------- */
.hero-card,body.theme-company .hero-card{
  background:radial-gradient(120% 140% at 100% 0%,rgba(255,255,255,.10),transparent 55%),linear-gradient(160deg,var(--mf-brand) 0%,var(--mf-brand-deep) 100%)!important;
  box-shadow:0 10px 30px -12px var(--mf-brand)!important;border:0!important;border-radius:24px!important}
.hero-card:before{display:none!important}
.hero-card:after{border-color:rgba(255,255,255,.09)!important}
.hero-mark{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:none!important}

/* ---------- Indicadores ---------- */
.kpi{background:#fff!important;border:1px solid var(--mf-line)!important;box-shadow:var(--mf-shadow)!important;border-radius:var(--mf-r-lg)!important;background-image:none!important}
.kpi:before,.kpi:after{display:none!important}
.kpi-icon{border-radius:10px!important}

/* ---------- Ações rápidas ---------- */
.v6-quick-card{background:#fff!important;border:1px solid var(--mf-line)!important;box-shadow:var(--mf-shadow)!important;border-radius:var(--mf-r-lg)!important;background-image:none!important}
.v6-quick-grid button{background:#fff!important;border:1px solid var(--mf-line)!important;box-shadow:none!important;background-image:none!important;transition:border-color .15s,background .15s}
.v6-quick-grid button:hover{border-color:var(--mf-brand)!important;background:var(--mf-brand-soft)!important}
.v6-quick-grid i{background:var(--mf-brand-soft)!important;color:var(--mf-brand)!important;box-shadow:none!important;background-image:none!important;--mf-ico:20px;display:grid!important;place-items:center}

/* ---------- Listas de lançamentos ---------- */
.tx{background:#fff!important;border:1px solid var(--mf-line)!important;box-shadow:none!important;border-radius:var(--mf-r-md)!important;background-image:none!important;transition:border-color .15s}
.tx:hover{border-color:#cdd6d1!important}
.tx:before,.tx:after{display:none!important}
.tx-icon{border-radius:12px!important;box-shadow:none!important;background-image:none!important}
.tx-icon.despesa{background:#fbeced!important;color:var(--mf-neg)!important}
.tx-icon.receita{background:#e6f4ed!important;color:var(--mf-pos)!important}
.tx-title{font-weight:700!important}
.tx-meta{color:var(--mf-muted)!important}
.tx-amount.despesa{color:var(--mf-ink)!important}
.tx-amount.receita{color:var(--mf-pos)!important}
.tx-status{border-radius:999px!important;font-weight:700!important}

/* ---------- Títulos de página e filtros ---------- */
.page-intro h2{letter-spacing:-.6px!important}
.round-add{background:var(--mf-brand)!important;box-shadow:0 8px 20px -8px var(--mf-brand)!important;background-image:none!important;border-radius:16px!important}
.filter-select,.tx-date-filter input,.tx-date-filter select{background-color:#fff!important;border:1px solid var(--mf-line)!important;box-shadow:none!important;border-radius:12px!important}

/* ---------- Menu "Mais" ---------- */
.v6-profile-card{background:linear-gradient(160deg,var(--mf-brand),var(--mf-brand-deep))!important;box-shadow:0 10px 30px -14px var(--mf-brand)!important;border:0!important}
.v6-more-grid button{background:#fff!important;border:1px solid var(--mf-line)!important;box-shadow:none!important;background-image:none!important}
.v6-more-grid button:hover{border-color:var(--mf-brand)!important}
.v6-more-grid i{background:var(--mf-brand-soft)!important;color:var(--mf-brand)!important;box-shadow:none!important;--mf-ico:20px;display:grid!important;place-items:center}

/* ---------- Barra lateral (computador) — Pessoal: clara; Empresa: mantém azul-marinho ---------- */
html:not(.theme-company) .desktop-sidebar{background:#fff!important;border-right:1px solid var(--mf-line)!important;box-shadow:none!important;background-image:none!important}
html:not(.theme-company) .desktop-sidebar .desktop-nav-btn{border-radius:12px!important;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--mf-muted)!important;font-weight:650!important}
html:not(.theme-company) .desktop-sidebar .desktop-nav-btn:hover{background:#f3f6f4!important;color:var(--mf-ink)!important}
html:not(.theme-company) .desktop-sidebar .desktop-nav-btn.active{background:var(--mf-brand-soft)!important;color:var(--mf-brand-ink)!important;font-weight:800!important}
html:not(.theme-company) .desktop-workspace-toggle{background:#fff!important;border:1px solid var(--mf-line)!important;box-shadow:none!important;background-image:none!important}
.desktop-nav-icon{background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;--mf-ico:19px}
html.theme-company .desktop-sidebar .desktop-nav-btn.active{background:#1667bd!important}

/* ---------- Barra inferior (celular) ---------- */
.bottom-nav,.bottom-nav.bottom-nav-v6{
  background:rgba(255,255,255,.96)!important;border:1px solid var(--mf-line)!important;
  box-shadow:0 -1px 0 rgba(0,0,0,.02),0 10px 30px -10px rgba(16,24,20,.18)!important;
  -webkit-backdrop-filter:saturate(1.4) blur(16px);backdrop-filter:saturate(1.4) blur(16px)}
.bottom-nav .nav-btn{color:var(--mf-muted)!important;background:transparent!important;box-shadow:none!important}
.bottom-nav .nav-btn .nav-icon{--mf-ico:22px;background:transparent!important;box-shadow:none!important}
.bottom-nav .nav-btn.active{color:var(--mf-brand)!important;background:transparent!important}
.bottom-nav .nav-btn.active .nav-icon{background:var(--mf-brand-soft)!important;border-radius:999px!important}

/* ---------- Chat ---------- */
.chat-icon-btn{--mf-ico:19px}

/* =====================================================================
   CELULAR (até 760px)
   ===================================================================== */
@media(max-width:760px){
  body{padding-bottom:96px}
  .topbar{padding-top:calc(10px + env(safe-area-inset-top))!important;padding-bottom:10px!important;gap:10px!important}
  .topbar h1{font-size:21px!important;margin-top:0!important}
  .topbar .eyebrow,.topbar #screenEyebrow{font-size:9.5px!important;letter-spacing:.1em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42vw}
  .topbar .brand-mark{display:none!important}
  .topbar .header-actions{gap:6px!important}
  .topbar .month-select,.topbar .year-select{padding:8px 22px 8px 10px!important;font-size:12.5px!important;height:36px!important;min-height:36px!important}
  .topbar .month-select{max-width:104px!important}
  .topbar .header-notification-btn,.topbar button{width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border-radius:12px!important}

  .workspace-strip{position:static!important;padding:10px 16px 2px!important}
  .workspace-tab{padding:7px 14px!important;font-size:13px!important;min-height:34px!important}
  .global-search-strip{padding-top:8px!important}
  .global-search-box{min-height:44px!important}
  .global-search-box input{font-size:15px!important}

  .hero-card{padding:20px!important;min-height:auto!important;border-radius:22px!important}
  .hero-value{font-size:32px!important}
  .hero-mark{width:42px!important;height:42px!important;border-radius:14px!important}

  .kpi-grid{gap:8px!important}
  .kpi{padding:12px!important;min-height:auto!important;border-radius:16px!important}

  /* Ações rápidas: uma linha compacta com 5 atalhos */
  .v6-quick-card{padding:14px 12px!important}
  .v6-quick-head{margin-bottom:10px!important}
  .v6-quick-head h2{font-size:17px!important}
  .v6-quick-head>span{display:none!important}
  .v6-quick-grid{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:6px!important}
  .v6-quick-grid button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;padding:8px 2px!important;min-height:0!important;border:0!important;background:transparent!important;text-align:center!important;position:relative}
  .v6-quick-grid button:hover{background:transparent!important}
  .v6-quick-grid i{width:48px!important;height:48px!important;border-radius:16px!important;margin:0!important;--mf-ico:22px}
  .v6-quick-grid b{font-size:11.5px!important;font-weight:700!important;margin:0!important;line-height:1.15!important}
  .v6-quick-grid span{display:none!important}
  .v6-quick-grid button>em,.v6-quick-grid .plan-badge,.v6-quick-grid [class*="pro"]{position:absolute!important;top:2px!important;right:2px!important;transform:scale(.72);transform-origin:top right;margin:0!important}

  /* Despesas/Receitas: filtros compactos para a lista aparecer logo */
  .page-intro{margin-bottom:10px!important}
  .page-intro h2{font-size:28px!important}
  .round-add{width:48px!important;height:48px!important;border-radius:15px!important}
  #screen-transactions .search-wrap{margin-bottom:8px!important;min-height:44px!important}
  #screen-transactions .search-wrap input{font-size:15px!important}
  .filters.filters-v4{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px!important;margin:0 0 8px!important;padding:0 0 2px!important;max-width:100%;scrollbar-width:none}
  .filters.filters-v4::-webkit-scrollbar{display:none}
  .filters.filters-v4 .filter-select{flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:62vw;height:36px!important;min-height:36px!important;padding:0 28px 0 12px!important;font-size:13px!important;border-radius:999px!important}
  .tx-date-filter{display:grid!important;grid-template-columns:1fr 1fr auto!important;gap:6px!important;align-items:center!important;margin-bottom:10px!important}
  .tx-date-filter label{display:none!important}
  .tx-date-filter select,.tx-date-filter input{height:36px!important;min-height:36px!important;font-size:13px!important;padding:0 10px!important;border-radius:999px!important;width:100%!important;min-width:0!important}
  .tx-date-filter .btn{height:36px!important;min-height:36px!important;padding:0 12px!important;font-size:13px!important;border-radius:999px!important}
  .tx-filter-summary{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:6px!important}
  .tx-filter-summary>*{padding:10px!important;border-radius:14px!important;min-width:0!important;grid-column:auto!important}
  .tx-filter-summary small,.tx-filter-summary span{font-size:10.5px!important;line-height:1.25!important}
  .tx-filter-summary b,.tx-filter-summary strong{font-size:14px!important;white-space:nowrap}
  .tx-filter-summary p,.tx-filter-summary em{display:none!important}

  .tx{padding:11px 12px!important;grid-template-columns:36px 1fr auto!important;gap:10px!important}
  .tx-icon{width:36px!important;height:36px!important}
  .tx-title{font-size:14.5px!important}
  .tx-meta{font-size:12px!important}
  .tx-amount{font-size:14.5px!important}
  .tx-status{font-size:10.5px!important;padding:2px 8px!important}

  /* Mais: lista em duas colunas mais leve */
  .v6-more-grid{gap:8px!important}
  .v6-more-grid button{padding:12px!important;min-height:0!important;border-radius:16px!important;align-items:flex-start!important}
  .v6-more-grid i{width:38px!important;height:38px!important;border-radius:12px!important;--mf-ico:18px}
  .v6-more-grid b{font-size:14px!important}
  .v6-more-grid span{font-size:11.5px!important}

  .bottom-nav,.bottom-nav.bottom-nav-v6{left:10px!important;right:10px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;border-radius:22px!important;padding:6px!important}
  .bottom-nav .nav-btn{font-size:11px!important;font-weight:700!important;gap:3px!important;padding:4px 0!important}
  .bottom-nav .nav-btn .nav-icon{width:52px!important;height:30px!important;display:grid!important;place-items:center!important}
}

/* ---------- Ajustes de prioridade (vencem regras antigas) ---------- */
html body #workspaceTabs .workspace-tab.add,html body #workspaceTabs #quickAddWorkspace{
  color:var(--mf-brand)!important;-webkit-text-fill-color:var(--mf-brand)!important;background:#fff!important;border:1px dashed #c9d3ce!important;opacity:1!important;filter:none!important}
html body #workspaceTabs .workspace-tab.active{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .v6-quick-grid button i,html body .v6-more-grid button i{background-image:none!important;background-color:var(--mf-brand-soft)!important}
.v6-quick-grid button.plan-locked::after,.v6-more-grid button.plan-locked::after{background:var(--mf-ink)!important;font-size:9px!important;padding:3px 6px!important;letter-spacing:.06em!important}
.bottom-nav,.bottom-nav.bottom-nav-v6{width:auto!important}

/* ---------- Computador: mais compacto e arejado ---------- */
@media(min-width:761px){
  .topbar .brand-mark{display:none!important}
  .hero-card{min-height:0!important;padding:26px 30px!important}
  .hero-value{font-size:40px!important}
  .kpi{min-height:0!important;padding:16px 18px!important}
  .kpi-grid{gap:12px!important}
  .v6-quick-grid button{min-height:0!important;padding:14px!important}
  .v6-quick-grid i{width:40px!important;height:40px!important;border-radius:12px!important}
  .tx{padding:12px 16px!important}
}
@media(max-width:760px){
  .v6-quick-grid button.plan-locked::after{position:absolute!important;top:0!important;right:50%!important;transform:translate(30px,-2px)!important;margin:0!important}
  .v6-quick-grid button{padding-top:10px!important}
}
@media(max-width:760px){
  html body .tx-date-filter{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto!important}
  html body .tx-date-filter>*{grid-column:auto!important;grid-row:auto!important}
  html body .tx-filter-summary small{display:block!important;font-size:10.5px!important;line-height:1.3!important;color:var(--mf-muted)!important;white-space:normal!important}
  html body .tx-filter-summary>div:has(small){grid-column:1/-1!important}
  html body .tx-filter-summary span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body .tx-filter-summary>div{display:flex;flex-direction:column;gap:3px;justify-content:center}
}
/* Menu "Mais" no celular: lista limpa, um item por linha */
@media(max-width:760px){
  html body .v6-more-grid{display:flex!important;flex-direction:column!important;gap:0!important;background:#fff;border:1px solid var(--mf-line);border-radius:18px;overflow:hidden}
  html body .v6-more-grid button{display:grid!important;grid-template-columns:38px 1fr auto!important;grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:1px!important;align-items:center!important;text-align:left!important;border:0!important;border-bottom:1px solid var(--mf-line)!important;border-radius:0!important;padding:11px 14px!important;min-height:0!important;position:relative}
  html body .v6-more-grid button:last-child{border-bottom:0!important}
  html body .v6-more-grid button i{grid-row:1/3!important;grid-column:1!important;margin:0!important}
  html body .v6-more-grid button b{grid-column:2!important;grid-row:1!important;margin:0!important;font-size:14.5px!important;line-height:1.2!important}
  html body .v6-more-grid button span{grid-column:2!important;grid-row:2!important;margin:0!important;font-size:12px!important;line-height:1.25!important;color:var(--mf-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body .v6-more-grid button::after{grid-column:3!important;grid-row:1/3!important;position:static!important;margin:0!important;transform:none!important}
  html body .v6-more-grid button:not(.plan-locked)::after{content:"";width:8px;height:8px;border-right:2px solid #b8c2bd;border-top:2px solid #b8c2bd;transform:rotate(45deg)!important;background:none!important;padding:0!important;border-radius:0!important;display:block}
  html body .v6-more-grid button em{grid-column:3;grid-row:1/3;position:static!important}
}
/* Computador: filtros em uma linha */
@media(min-width:761px){
  html body .filters.filters-v4{display:flex!important;gap:10px!important}
  html body .filters.filters-v4 .filter-select:not([hidden]){flex:1 1 0!important;min-width:0!important}
  html body .tx-filter-summary small{font-size:10.5px!important}
}
@media(max-width:760px){html body .v6-more-grid button:hover{border-color:var(--mf-line)!important;background:#fff!important}}
/* Botões principais: cor sólida da marca (verde no Pessoal, azul em Empresa) */
html body .btn.primary{background:var(--mf-brand)!important;background-image:none!important;color:#fff!important;border:0!important;box-shadow:0 6px 16px -8px var(--mf-brand)!important}
html body .btn.primary:hover{filter:brightness(1.07)}
html body .btn.soft{background:var(--mf-brand-soft)!important;background-image:none!important;color:var(--mf-brand-ink)!important;border:0!important;box-shadow:none!important}
.auth-card{border-radius:24px!important;box-shadow:0 30px 80px -30px rgba(10,30,20,.45)!important}
.auth-card input,.field input,.field select,.field textarea{border-radius:12px!important}
/* Robustez no tema Empresa */
html body #workspaceTabs .workspace-tab.active{background:var(--mf-brand)!important;border-color:var(--mf-brand)!important}
html body .topbar select,html body .topbar .month-select,html body .topbar .year-select{background-color:#fff!important;border:1px solid var(--mf-line)!important}
html body .workspace-strip{background:transparent!important}
@media(max-width:760px){html body .v6-quick-grid button{background:transparent!important}}
html body .topbar .avatar{background:var(--mf-brand)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .topbar [class*="local"],html body .topbar .cloud-status{color:var(--mf-ink)!important;background:#fff!important;border:1px solid var(--mf-line)!important}

/* Correção de layout: em Relatórios (celular), o formulário "Contas e cartões" saía da tela e empurrava o menu inferior */
@media(max-width:760px){
  html body .account-add{grid-template-columns:minmax(0,1fr) auto!important}
  html body .account-add>input{grid-column:1/-1!important}
  html body .account-add>select{min-width:0!important;width:100%!important}
}
/* ===== Ícones em linha (SVG), substituem emojis/símbolos ===== */
[data-screen="home"] .nav-icon,
[data-screen="home"] .desktop-nav-icon,
[data-screen="income"] .nav-icon,
[data-screen="income"] .desktop-nav-icon,
[data-screen="expenses"] .nav-icon,
[data-screen="expenses"] .desktop-nav-icon,
[data-screen="reports"] .desktop-nav-icon,
[data-more-screen="reports"] i,
[data-screen="budget"] .desktop-nav-icon,
[data-screen="investments"] .desktop-nav-icon,
[data-more-screen="investments"] i,
[data-screen="payroll"] .desktop-nav-icon,
[data-more-screen="payroll"] i,
[data-screen="schedules"] .desktop-nav-icon,
[data-more-screen="schedules"] i,
#employeePortalMenuBtn i,
[data-screen="chat"] .nav-icon,
[data-screen="chat"] .desktop-nav-icon,
[data-v6-action="chat"] i,
[data-screen="more"] .nav-icon,
[data-screen="more"] .desktop-nav-icon,
.header-notification-icon,
#notificationsMoreBtn i,
[data-v6-action="receipt"] i,
#chatAttachBtn,
[data-v6-action="scan"] i,
#chatScanBtn,
[data-v6-action="import"] i,
[data-more-screen="import"] i,
[data-more-screen="export-report"] i,
[data-v6-action="manual"] i,
[data-more-screen="budget"] i,
[data-more-screen="card-bills"] i,
[data-more-anchor="reportsAccounts"] i,
[data-more-screen="categories"] i,
[data-more-anchor="reportsWorkspaces"] i,
[data-more-anchor="reportsCards"] i,
[data-more-anchor="reportsImportHistory"] i,
[data-more-anchor="reportsData"] i,
[data-more-screen="affiliate"] i,
[data-more-screen="plan"] i,
[data-more-screen="support"] i,
[data-more-screen="legal"] i,
#moreLogoutBtn i,
#adminDashboardMenuBtn i,
.global-search-icon,
.search-wrap>span,
#chatMicBtn,
#chatSendBtn{font-size:0!important;line-height:0!important;color:inherit}
[data-screen="home"] .nav-icon::before,
[data-screen="home"] .desktop-nav-icon::before,
[data-screen="income"] .nav-icon::before,
[data-screen="income"] .desktop-nav-icon::before,
[data-screen="expenses"] .nav-icon::before,
[data-screen="expenses"] .desktop-nav-icon::before,
[data-screen="reports"] .desktop-nav-icon::before,
[data-more-screen="reports"] i::before,
[data-screen="budget"] .desktop-nav-icon::before,
[data-screen="investments"] .desktop-nav-icon::before,
[data-more-screen="investments"] i::before,
[data-screen="payroll"] .desktop-nav-icon::before,
[data-more-screen="payroll"] i::before,
[data-screen="schedules"] .desktop-nav-icon::before,
[data-more-screen="schedules"] i::before,
#employeePortalMenuBtn i::before,
[data-screen="chat"] .nav-icon::before,
[data-screen="chat"] .desktop-nav-icon::before,
[data-v6-action="chat"] i::before,
[data-screen="more"] .nav-icon::before,
[data-screen="more"] .desktop-nav-icon::before,
.header-notification-icon::before,
#notificationsMoreBtn i::before,
[data-v6-action="receipt"] i::before,
#chatAttachBtn::before,
[data-v6-action="scan"] i::before,
#chatScanBtn::before,
[data-v6-action="import"] i::before,
[data-more-screen="import"] i::before,
[data-more-screen="export-report"] i::before,
[data-v6-action="manual"] i::before,
[data-more-screen="budget"] i::before,
[data-more-screen="card-bills"] i::before,
[data-more-anchor="reportsAccounts"] i::before,
[data-more-screen="categories"] i::before,
[data-more-anchor="reportsWorkspaces"] i::before,
[data-more-anchor="reportsCards"] i::before,
[data-more-anchor="reportsImportHistory"] i::before,
[data-more-anchor="reportsData"] i::before,
[data-more-screen="affiliate"] i::before,
[data-more-screen="plan"] i::before,
[data-more-screen="support"] i::before,
[data-more-screen="legal"] i::before,
#moreLogoutBtn i::before,
#adminDashboardMenuBtn i::before,
.global-search-icon::before,
.search-wrap>span::before,
#chatMicBtn::before,
#chatSendBtn::before{content:"";display:inline-block;width:var(--mf-ico,20px);height:var(--mf-ico,20px);background:currentColor;-webkit-mask:var(--mf-svg) center/contain no-repeat;mask:var(--mf-svg) center/contain no-repeat;vertical-align:middle}
[data-screen="home"] .nav-icon,[data-screen="home"] .desktop-nav-icon{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 10.5 12 3l9 7.5%22/%3E%3Cpath d=%22M5 9.5V21h14V9.5%22/%3E%3Cpath d=%22M10 21v-6h4v6%22/%3E%3C/svg%3E")}
[data-screen="income"] .nav-icon,[data-screen="income"] .desktop-nav-icon{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 17 17 7%22/%3E%3Cpath d=%22M8 7h9v9%22/%3E%3C/svg%3E")}
[data-screen="expenses"] .nav-icon,[data-screen="expenses"] .desktop-nav-icon{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 7l10 10%22/%3E%3Cpath d=%22M17 8v9H8%22/%3E%3C/svg%3E")}
[data-screen="reports"] .desktop-nav-icon,[data-more-screen="reports"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 3v18h18%22/%3E%3Cpath d=%22M8 17v-5%22/%3E%3Cpath d=%22M13 17V8%22/%3E%3Cpath d=%22M18 17v-9%22/%3E%3C/svg%3E")}
[data-screen="budget"] .desktop-nav-icon{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%225%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%221%22/%3E%3C/svg%3E")}
[data-screen="investments"] .desktop-nav-icon,[data-more-screen="investments"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m3 17 6-6 4 4 8-8%22/%3E%3Cpath d=%22M14 7h7v7%22/%3E%3C/svg%3E")}
[data-screen="payroll"] .desktop-nav-icon,[data-more-screen="payroll"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%22/%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22/%3E%3Cpath d=%22M22 21v-2a4 4 0 0 0-3-3.87%22/%3E%3Cpath d=%22M16 3.13a4 4 0 0 1 0 7.75%22/%3E%3C/svg%3E")}
[data-screen="schedules"] .desktop-nav-icon,[data-more-screen="schedules"] i,#employeePortalMenuBtn i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%224%22 width=%2218%22 height=%2218%22 rx=%222%22/%3E%3Cpath d=%22M16 2v4M8 2v4M3 10h18%22/%3E%3C/svg%3E")}
[data-screen="chat"] .nav-icon,[data-screen="chat"] .desktop-nav-icon,[data-v6-action="chat"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 12a8 8 0 0 1-11.6 7.1L3 21l1.9-6.4A8 8 0 1 1 21 12z%22/%3E%3C/svg%3E")}
[data-screen="more"] .nav-icon,[data-screen="more"] .desktop-nav-icon{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%225%22 cy=%2212%22 r=%221.3%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%221.3%22/%3E%3Ccircle cx=%2219%22 cy=%2212%22 r=%221.3%22/%3E%3C/svg%3E")}
.header-notification-icon,#notificationsMoreBtn i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9%22/%3E%3Cpath d=%22M10.3 21a1.94 1.94 0 0 0 3.4 0%22/%3E%3C/svg%3E")}
[data-v6-action="receipt"] i,#chatAttachBtn{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m21.4 11.1-9.2 9.2a6 6 0 0 1-8.5-8.5l9.2-9.2a4 4 0 0 1 5.7 5.7l-9.2 9.2a2 2 0 0 1-2.8-2.8l8.5-8.5%22/%3E%3C/svg%3E")}
[data-v6-action="scan"] i,#chatScanBtn{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3z%22/%3E%3Ccircle cx=%2212%22 cy=%2213%22 r=%223.5%22/%3E%3C/svg%3E")}
[data-v6-action="import"] i,[data-more-screen="import"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4%22/%3E%3Cpath d=%22m7 10 5 5 5-5%22/%3E%3Cpath d=%22M12 15V3%22/%3E%3C/svg%3E")}
[data-more-screen="export-report"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4%22/%3E%3Cpath d=%22m17 8-5-5-5 5%22/%3E%3Cpath d=%22M12 3v12%22/%3E%3C/svg%3E")}
[data-v6-action="manual"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 5v14M5 12h14%22/%3E%3C/svg%3E")}
[data-more-screen="budget"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21.2 15.9A10 10 0 1 1 8 2.8%22/%3E%3Cpath d=%22M22 12A10 10 0 0 0 12 2v10z%22/%3E%3C/svg%3E")}
[data-more-screen="card-bills"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%225%22 width=%2220%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M2 10h20%22/%3E%3C/svg%3E")}
[data-more-anchor="reportsAccounts"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1%22/%3E%3Cpath d=%22M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4%22/%3E%3C/svg%3E")}
[data-more-screen="categories"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12.6 2.6A2 2 0 0 0 11.2 2H4a2 2 0 0 0-2 2v7.2a2 2 0 0 0 .6 1.4l8.7 8.7a2.4 2.4 0 0 0 3.4 0l6.6-6.6a2.4 2.4 0 0 0 0-3.4z%22/%3E%3Ccircle cx=%227.5%22 cy=%227.5%22 r=%221%22/%3E%3C/svg%3E")}
[data-more-anchor="reportsWorkspaces"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%222%22 width=%2216%22 height=%2220%22 rx=%222%22/%3E%3Cpath d=%22M9 22v-4h6v4M8 6h.01M16 6h.01M12 6h.01M12 10h.01M12 14h.01M16 10h.01M16 14h.01M8 10h.01M8 14h.01%22/%3E%3C/svg%3E")}
[data-more-anchor="reportsCards"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 3 4 7l4 4%22/%3E%3Cpath d=%22M4 7h16%22/%3E%3Cpath d=%22m16 21 4-4-4-4%22/%3E%3Cpath d=%22M20 17H4%22/%3E%3C/svg%3E")}
[data-more-anchor="reportsImportHistory"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8%22/%3E%3Cpath d=%22M3 3v5h5%22/%3E%3Cpath d=%22M12 7v5l4 2%22/%3E%3C/svg%3E")}
[data-more-anchor="reportsData"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z%22/%3E%3C/svg%3E")}
[data-more-screen="affiliate"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%228%22 width=%2218%22 height=%224%22 rx=%221%22/%3E%3Cpath d=%22M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7%22/%3E%3Cpath d=%22M7.5 8a2.5 2.5 0 0 1 0-5C10 3 12 8 12 8s2-5 4.5-5a2.5 2.5 0 0 1 0 5%22/%3E%3C/svg%3E")}
[data-more-screen="plan"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3h12l4 6-10 13L2 9z%22/%3E%3Cpath d=%22M2 9h20%22/%3E%3C/svg%3E")}
[data-more-screen="support"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpath d=%22M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3%22/%3E%3Cpath d=%22M12 17h.01%22/%3E%3C/svg%3E")}
[data-more-screen="legal"] i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z%22/%3E%3Cpath d=%22M14 2v5h5M9 13h6M9 17h6%22/%3E%3C/svg%3E")}
#moreLogoutBtn i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4%22/%3E%3Cpath d=%22m16 17 5-5-5-5%22/%3E%3Cpath d=%22M21 12H9%22/%3E%3C/svg%3E")}
#adminDashboardMenuBtn i{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 2 2 7l10 5 10-5z%22/%3E%3Cpath d=%22m2 17 10 5 10-5%22/%3E%3Cpath d=%22m2 12 10 5 10-5%22/%3E%3C/svg%3E")}
.global-search-icon,.search-wrap>span{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%227%22/%3E%3Cpath d=%22m21 21-4.3-4.3%22/%3E%3C/svg%3E")}
#chatMicBtn{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%229%22 y=%222%22 width=%226%22 height=%2212%22 rx=%223%22/%3E%3Cpath d=%22M19 10v1a7 7 0 0 1-14 0v-1M12 18v4%22/%3E%3C/svg%3E")}
#chatSendBtn{--mf-svg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 2 11 13%22/%3E%3Cpath d=%22M22 2 15 22l-4-9-9-4z%22/%3E%3C/svg%3E")}

/* =====================================================================
   ESTILO VIDRO (glass) + ANIMAÇÕES — camada sobre o design V8.11.50
   ===================================================================== */
:root{
  --g-bg1:#efe6da;--g-bg2:#dfe8e1;--g-blob1:rgba(13,107,77,.55);--g-blob2:rgba(220,160,100,.60);--g-blob3:rgba(90,160,135,.50);--g-blob4:rgba(250,225,190,.85);
  --g-panel:rgba(255,255,255,.42);--g-panel-strong:rgba(255,255,255,.68);--g-edge:rgba(255,255,255,.75);
  --g-hi:inset 0 1px 0 rgba(255,255,255,.85),inset 0 -1px 0 rgba(255,255,255,.18);
  --g-shadow:0 8px 32px -8px rgba(40,50,40,.18);
  --g-blur:saturate(1.7) blur(22px);
}
html.theme-company,body.theme-company{--g-bg1:#e3e9f1;--g-bg2:#e9ecf0;--g-blob1:rgba(31,78,121,.55);--g-blob2:rgba(110,160,220,.55);--g-blob3:rgba(200,170,130,.45);--g-blob4:rgba(225,235,250,.85)}

/* Fundo: manchas de cor desfocadas que se movem devagar */
html{background:var(--g-bg1)!important}
body,body.theme-company,body.theme-personal{background:transparent!important}
body::before{content:"";position:fixed;inset:-20vmax;z-index:-1;pointer-events:none;
  background:
   radial-gradient(38vmax 38vmax at 18% 22%,var(--g-blob1),transparent 62%),
   radial-gradient(42vmax 42vmax at 82% 18%,var(--g-blob2),transparent 64%),
   radial-gradient(46vmax 46vmax at 60% 88%,var(--g-blob3),transparent 66%),
   radial-gradient(30vmax 30vmax at 45% 45%,var(--g-blob4),transparent 70%),
   radial-gradient(26vmax 26vmax at 92% 60%,var(--g-blob1),transparent 70%),
   linear-gradient(160deg,var(--g-bg1),var(--g-bg2));
  filter:blur(10px);animation:gDrift 26s ease-in-out infinite alternate;will-change:transform}
@keyframes gDrift{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-3vmax,2vmax,0) scale(1.05)}100%{transform:translate3d(2vmax,-2vmax,0) scale(1.02)}}
.app-shell,.content,main{background:transparent!important}

/* Painéis de vidro */
.topbar,body.theme-company .topbar{background:rgba(255,255,255,.42)!important;border-bottom:1px solid rgba(255,255,255,.6)!important;-webkit-backdrop-filter:var(--g-blur)!important;backdrop-filter:var(--g-blur)!important}
.kpi,.v6-quick-card,.tx,.global-search-box,.search-wrap,.filter-select,.tx-date-filter input,.tx-date-filter select,
.tx-filter-summary>div,html body .v6-more-grid,.topbar select,.topbar button,.workspace-tab,.desktop-workspace-toggle,
.notice,.card,.panel,.summary-card:not(.main),.chart-card,.report-card,.section-card{
  background:var(--g-panel)!important;border:1px solid var(--g-edge)!important;box-shadow:var(--g-hi),var(--g-shadow)!important;background-image:none!important}
.kpi,.v6-quick-card,html body .v6-more-grid,.global-search-box,.tx-filter-summary>div{-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}
html body .topbar select,html body .topbar .month-select,html body .topbar .year-select{background-color:rgba(255,255,255,.5)!important;border:1px solid var(--g-edge)!important}
.kpi,.v6-quick-card{border-radius:24px!important}
.tx{border-radius:18px!important}
.tx:hover{background:var(--g-panel-strong)!important}
html body .v6-more-grid button{background:transparent!important;border-bottom-color:rgba(255,255,255,.55)!important}
html body .v6-quick-grid button i,html body .v6-more-grid button i,.kpi-icon{background-color:rgba(255,255,255,.7)!important;box-shadow:var(--g-hi)!important}

/* Cartão de saldo: vidro escuro tingido com a cor do perfil */
.hero-card,body.theme-company .hero-card,.v6-profile-card{
  background:linear-gradient(150deg,var(--mf-brand),var(--mf-brand-deep))!important;
  background:linear-gradient(150deg,color-mix(in srgb,var(--mf-brand) 82%,transparent),color-mix(in srgb,var(--mf-brand-deep) 88%,transparent))!important;
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);
  border:1px solid rgba(255,255,255,.28)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 18px 40px -16px var(--mf-brand)!important}
/* Brilho que passa pelo cartão de saldo */
.hero-card{overflow:hidden}
.hero-card::before{content:""!important;display:block!important;position:absolute;inset:0;width:auto!important;height:auto!important;pointer-events:none;
  background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.16) 50%,transparent 65%)!important;transform:translateX(-120%);border:0!important;animation:gShine 6s ease-in-out 1.2s infinite}
@keyframes gShine{0%{transform:translateX(-120%)}22%,100%{transform:translateX(120%)}}

/* Barra lateral (computador): vidro claro; Empresa: vidro azul */
html:not(.theme-company) .desktop-sidebar{background:rgba(255,255,255,.40)!important;border-right:1px solid rgba(255,255,255,.6)!important;-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}
html.theme-company .desktop-sidebar{background:rgba(20,47,74,.78)!important;-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}
html:not(.theme-company) .desktop-sidebar .desktop-nav-btn.active{background:rgba(255,255,255,.75)!important;box-shadow:var(--g-hi),0 4px 14px -6px rgba(0,0,0,.18)!important}

/* Menu inferior flutuante de vidro */
.bottom-nav,.bottom-nav.bottom-nav-v6{background:rgba(255,255,255,.62)!important;border:1px solid rgba(255,255,255,.7)!important;
  -webkit-backdrop-filter:saturate(1.8) blur(26px)!important;backdrop-filter:saturate(1.8) blur(26px)!important;
  box-shadow:var(--g-hi),0 14px 40px -12px rgba(30,40,30,.35)!important;border-radius:28px!important}
.bottom-nav .nav-btn .nav-icon{transition:background .35s cubic-bezier(.2,.8,.2,1),transform .35s cubic-bezier(.2,.8,.2,1)}
.bottom-nav .nav-btn.active .nav-icon{background:rgba(255,255,255,.85)!important;box-shadow:var(--g-hi),0 4px 12px -4px rgba(0,0,0,.18);transform:translateY(-1px)}
.bottom-nav .nav-btn:active .nav-icon{transform:scale(.88)}

/* ---------- ANIMAÇÕES ---------- */
/* Troca de tela: a nova tela surge do desfoque */
.screen.active{animation:gScreenIn .55s cubic-bezier(.2,.8,.2,1) both}
@keyframes gScreenIn{from{opacity:0;filter:blur(10px);transform:translateY(10px) scale(.985)}to{opacity:1;filter:none;transform:none}}
/* Cartões entram em sequência */
.screen.active .hero-card,.screen.active .kpi,.screen.active .v6-quick-card,.screen.active .tx,.screen.active .tx-filter-summary>div,.screen.active .v6-profile-card,.screen.active .v6-more-grid{
  animation:gCardIn .6s cubic-bezier(.2,.8,.2,1) both}
@keyframes gCardIn{from{opacity:0;transform:translateY(14px) scale(.97);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
.screen.active .kpi:nth-child(1){animation-delay:.08s}.screen.active .kpi:nth-child(2){animation-delay:.14s}
.screen.active .kpi:nth-child(3){animation-delay:.20s}.screen.active .kpi:nth-child(4){animation-delay:.26s}
.screen.active .v6-quick-card{animation-delay:.30s}
.screen.active .tx:nth-child(1){animation-delay:.10s}.screen.active .tx:nth-child(2){animation-delay:.14s}.screen.active .tx:nth-child(3){animation-delay:.18s}
.screen.active .tx:nth-child(4){animation-delay:.22s}.screen.active .tx:nth-child(5){animation-delay:.26s}.screen.active .tx:nth-child(6){animation-delay:.30s}
.screen.active .tx:nth-child(n+7){animation-delay:.34s}
.screen.active .tx-filter-summary>div:nth-child(2){animation-delay:.06s}.screen.active .tx-filter-summary>div:nth-child(3){animation-delay:.12s}
/* Ícones das ações rápidas aparecem em cascata */
.screen.active .v6-quick-grid button{animation:gPop .5s cubic-bezier(.3,1.4,.5,1) both}
.screen.active .v6-quick-grid button:nth-child(1){animation-delay:.38s}.screen.active .v6-quick-grid button:nth-child(2){animation-delay:.43s}
.screen.active .v6-quick-grid button:nth-child(3){animation-delay:.48s}.screen.active .v6-quick-grid button:nth-child(4){animation-delay:.53s}
.screen.active .v6-quick-grid button:nth-child(5){animation-delay:.58s}
@keyframes gPop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
/* Toque/clique: leve afundamento */
.kpi,.tx,.v6-quick-grid button,.v6-more-grid button,.round-add,.btn{transition:transform .18s ease,background .25s ease,box-shadow .25s ease}
.tx:active,.kpi:active,.v6-quick-grid button:active,.v6-more-grid button:active,.round-add:active,.btn:active{transform:scale(.975)}
@media(hover:hover){.kpi:hover,.tx:hover{transform:translateY(-2px)}}
/* Gráficos: barras crescem ao abrir Relatórios */
.screen.active .dual-bar,.screen.active .growth-bar,.screen.active .growth-day-bar{transform-origin:bottom;animation:gGrow .9s cubic-bezier(.2,.8,.2,1) .25s both}
@keyframes gGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}

/* Quem prefere menos movimento (configuração do celular): sem animações */
@media(prefers-reduced-motion:reduce){
  body::before,.hero-card::before{animation:none!important}
  .screen.active,.screen.active *{animation:none!important;transition:none!important}
}

.topbar .brand-tagline{display:none!important}
/* Demais superfícies brancas viram vidro */
html body .v6-week-grid>div,html body .v6-smart-card,html body .insight-chip,html body .empty,html body .v6-plan-card,html body .screen .card,
html body .v6-alert-card,html body .budget-card,html body .goal-card,html body .investment-card{
  background:var(--g-panel)!important;border:1px solid var(--g-edge)!important;box-shadow:var(--g-hi),var(--g-shadow)!important;background-image:none!important}
@media(min-width:761px){html body .v6-quick-grid button{background:rgba(255,255,255,.45)!important;border:1px solid var(--g-edge)!important;box-shadow:var(--g-hi)!important}
  html body .v6-quick-grid button:hover{background:rgba(255,255,255,.7)!important}}
.screen.active .v6-week-grid>div,.screen.active .v6-smart-card,.screen.active .insight-chip{animation:gCardIn .6s cubic-bezier(.2,.8,.2,1) .35s both}

/* =====================================================================
   TEMA ESCURO "VIDRO NOTURNO" + MOVIMENTO — camada V8.11.51
   Somente aparência. Fica por cima das camadas anteriores.
   ===================================================================== */
:root{
  color-scheme:dark;
  /* variáveis do app original */
  --bg:#060b08;--card:rgba(255,255,255,.05);--ink:#eef6f1;--muted:#93a69d;--line:rgba(255,255,255,.10);
  --green:#63e6a8;--green2:#4fd596;--green3:#8af0c0;--greenSoft:rgba(99,230,168,.14);--greenSoft2:rgba(99,230,168,.08);
  --red:#ff8089;--redSoft:rgba(255,128,137,.14);--amber:#f2c46d;--amberSoft:rgba(242,196,109,.14);
  --shadow:0 20px 50px -20px rgba(0,0,0,.7);
  --text:#eef6f1;--border:rgba(255,255,255,.10);--surface:rgba(255,255,255,.05);--surface-soft:rgba(255,255,255,.04);--soft:rgba(255,255,255,.06);
  --input:rgba(255,255,255,.06);--premium-border:rgba(255,255,255,.10);--premium-shadow:0 20px 50px -20px rgba(0,0,0,.7);--premium-shadow-soft:0 10px 30px -16px rgba(0,0,0,.6);
  /* variáveis das camadas V8.11.50 */
  --mf-brand:#63e6a8;--mf-brand-deep:#1f8f63;--mf-brand-soft:rgba(99,230,168,.14);--mf-brand-ink:#8af0c0;--mf-on-brand:#04170e;
  --mf-bg:#060b08;--mf-surface:rgba(255,255,255,.05);--mf-ink:#eef6f1;--mf-muted:#93a69d;--mf-line:rgba(255,255,255,.10);
  --mf-pos:#63e6a8;--mf-neg:#ff8089;--mf-warn:#f2c46d;
  --g-bg1:#050a07;--g-bg2:#08120d;
  --g-panel:rgba(255,255,255,.045);--g-panel-strong:rgba(255,255,255,.08);--g-edge:rgba(255,255,255,.09);
  --g-hi:inset 0 1px 0 rgba(255,255,255,.07);--g-shadow:0 24px 60px -30px rgba(0,0,0,.8);
  --g-blur:saturate(1.3) blur(26px);
  --d-beam:rgba(99,230,168,.16);--d-beam2:rgba(60,150,105,.22);
}
html.theme-company:not(#_a):not(#_b),html:not(#_a):not(#_b) body.theme-company{
  --green:#7cc4ff;--green2:#62b2f5;--green3:#a6d6ff;--greenSoft:rgba(124,196,255,.14);--greenSoft2:rgba(124,196,255,.08);
  --mf-brand:#7cc4ff;--mf-brand-deep:#2a6fb0;--mf-brand-soft:rgba(124,196,255,.14);--mf-brand-ink:#a6d6ff;--mf-on-brand:#04121f;--mf-pos:#63e6a8;
  --g-bg1:#05080d;--g-bg2:#081019;--d-beam:rgba(124,196,255,.16);--d-beam2:rgba(60,110,170,.24)}

/* Fundo: quase preto com feixes de luz verticais desfocados */
html:not(#_a):not(#_b){background:var(--g-bg1)!important}
html:not(#_a):not(#_b) body{color:var(--mf-ink)!important}
html:not(#_a):not(#_b) body::before{inset:-10vmax!important;filter:blur(38px)!important;opacity:1;
  background:
   linear-gradient(90deg,transparent 8%,var(--d-beam) 14%,transparent 21%,transparent 30%,var(--d-beam2) 37%,transparent 46%,transparent 58%,var(--d-beam) 66%,transparent 74%,transparent 84%,var(--d-beam2) 90%,transparent 97%),
   radial-gradient(60vmax 40vmax at 50% -5%,var(--d-beam2),transparent 70%),
   linear-gradient(180deg,var(--g-bg2),var(--g-bg1))!important}

/* Texto base */
html:not(#_a):not(#_b) .topbar h1,html:not(#_a):not(#_b) .page-intro h2,html:not(#_a):not(#_b) .section-title h2,html:not(#_a):not(#_b) .section-title h3{color:var(--mf-ink)!important}
html:not(#_a):not(#_b) small,html:not(#_a):not(#_b) .muted,html:not(#_a):not(#_b) .tx-meta,html:not(#_a):not(#_b) .page-intro p{color:var(--mf-muted)!important}
html:not(#_a):not(#_b) a{color:var(--mf-brand)}
html:not(#_a):not(#_b) ::placeholder{color:#6f8279!important;opacity:1}
html:not(#_a):not(#_b) ::selection{background:rgba(99,230,168,.35)}

/* Barras e painéis */
html:not(#_a):not(#_b) .topbar,html:not(#_a):not(#_b) body.theme-company .topbar{background:rgba(6,11,8,.35)!important;border-bottom:1px solid rgba(255,255,255,.06)!important}
html:not(#_a):not(#_b) .topbar .eyebrow,html:not(#_a):not(#_b) .topbar #screenEyebrow{color:var(--mf-brand)!important}
html:not(#_a):not(#_b) body .topbar select,html:not(#_a):not(#_b) body .topbar .month-select,html:not(#_a):not(#_b) body .topbar .year-select,html:not(#_a):not(#_b) body .topbar button,html:not(#_a):not(#_b) body .topbar .header-notification-btn{
  background-color:rgba(255,255,255,.06)!important;color:var(--mf-ink)!important;border:1px solid var(--g-edge)!important}
html:not(#_a):not(#_b) body .topbar .avatar{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;-webkit-text-fill-color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) body .topbar [class*="local"],html:not(#_a):not(#_b) body .topbar .cloud-status{color:var(--mf-ink)!important;background:rgba(255,255,255,.06)!important;border:1px solid var(--g-edge)!important}
html:not(#_a):not(#_b) select option,html:not(#_a):not(#_b) select optgroup{background:#0e1712;color:#eef6f1}

html:not(#_a):not(#_b) .desktop-sidebar{background:rgba(255,255,255,.025)!important;border-right:1px solid rgba(255,255,255,.07)!important}
html:not(#_a):not(#_b) body .desktop-sidebar .desktop-nav-btn{background:transparent!important;color:#c5d3cc!important;border:0!important;box-shadow:none!important;position:relative;z-index:1;transition:color .25s ease}
html:not(#_a):not(#_b) body .desktop-sidebar .desktop-nav-btn:hover{background:rgba(255,255,255,.05)!important;color:#fff!important}
html:not(#_a):not(#_b) body .desktop-sidebar .desktop-nav-btn.active{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;font-weight:750!important;box-shadow:0 8px 24px -8px var(--mf-brand)!important}
html.mf-motion:not(#_a):not(#_b) body .desktop-sidebar .desktop-nav-btn.active{background:transparent!important;box-shadow:none!important}
html:not(#_a):not(#_b) body .desktop-sidebar,html:not(#_a):not(#_b) body .desktop-sidebar *{color:#c5d3cc}
html:not(#_a):not(#_b) body .desktop-sidebar strong,html:not(#_a):not(#_b) body .desktop-sidebar b{color:var(--mf-ink)!important}
html:not(#_a):not(#_b) body .desktop-workspace-toggle{background:rgba(255,255,255,.06)!important;border:1px solid var(--g-edge)!important;color:var(--mf-ink)!important}
html:not(#_a):not(#_b) .brand-mark{background:var(--mf-brand-soft)!important}

html:not(#_a):not(#_b) body #workspaceTabs .workspace-tab{background:rgba(255,255,255,.05)!important;border:1px solid var(--g-edge)!important;color:#c5d3cc!important}
html:not(#_a):not(#_b) body #workspaceTabs .workspace-tab.active{background:var(--mf-brand)!important;border-color:var(--mf-brand)!important;color:var(--mf-on-brand)!important;-webkit-text-fill-color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) body #workspaceTabs .workspace-tab.active span{color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) body #workspaceTabs .workspace-tab.add,html:not(#_a):not(#_b) body #workspaceTabs #quickAddWorkspace{background:transparent!important;border:1px dashed rgba(255,255,255,.22)!important;color:var(--mf-brand)!important;-webkit-text-fill-color:var(--mf-brand)!important}

/* Campos de formulário */
html:not(#_a):not(#_b) body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),html:not(#_a):not(#_b) body select,html:not(#_a):not(#_b) body textarea{
  background-color:rgba(255,255,255,.06)!important;color:var(--mf-ink)!important;border-color:var(--g-edge)!important;box-shadow:none!important;color-scheme:dark}
html:not(#_a):not(#_b) body input:focus,html:not(#_a):not(#_b) body select:focus,html:not(#_a):not(#_b) body textarea:focus{border-color:var(--mf-brand)!important;box-shadow:0 0 0 3px rgba(99,230,168,.18)!important;outline:0}
html:not(#_a):not(#_b) body .global-search-box,html:not(#_a):not(#_b) body .search-wrap{background:rgba(255,255,255,.05)!important;border:1px solid var(--g-edge)!important}
html:not(#_a):not(#_b) body .global-search-box input,html:not(#_a):not(#_b) body .search-wrap input{background:transparent!important;border:0!important;box-shadow:none!important}
html:not(#_a):not(#_b) input[type=checkbox],html:not(#_a):not(#_b) input[type=radio],html:not(#_a):not(#_b) input[type=range]{accent-color:var(--mf-brand)}

/* Botões */
html:not(#_a):not(#_b) body .btn.primary,html:not(#_a):not(#_b) body .round-add{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;-webkit-text-fill-color:var(--mf-on-brand)!important;box-shadow:0 10px 28px -10px var(--mf-brand)!important;border:0!important}
html:not(#_a):not(#_b) body .btn.soft{background:rgba(255,255,255,.07)!important;color:var(--mf-ink)!important;border:1px solid var(--g-edge)!important}

/* Cartão de saldo: vidro verde translúcido, como o cartão do vídeo */
html:not(#_a):not(#_b) .hero-card,html:not(#_a):not(#_b) body.theme-company .hero-card,html:not(#_a):not(#_b) .v6-profile-card{
  background:linear-gradient(140deg,rgba(99,230,168,.42),rgba(40,120,85,.30) 55%,rgba(99,230,168,.18))!important;
  background:linear-gradient(140deg,color-mix(in srgb,var(--mf-brand) 46%,transparent),color-mix(in srgb,var(--mf-brand-deep) 38%,transparent) 55%,color-mix(in srgb,var(--mf-brand) 18%,transparent))!important;
  border:1px solid rgba(255,255,255,.22)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 30px 70px -30px rgba(0,0,0,.9),0 0 60px -20px var(--mf-brand)!important;color:#fff!important}
html:not(#_a):not(#_b) .hero-card *{color:#fff}
html:not(#_a):not(#_b) .hero-mark{background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.25)!important}

/* Ícones e etiquetas */
html:not(#_a):not(#_b) body .v6-quick-grid button i,html:not(#_a):not(#_b) body .v6-more-grid button i,html:not(#_a):not(#_b) .kpi-icon{background-color:rgba(255,255,255,.07)!important;color:var(--mf-brand)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important}
html:not(#_a):not(#_b) .tx-icon.despesa{background:rgba(255,128,137,.13)!important;color:var(--mf-neg)!important}
html:not(#_a):not(#_b) .tx-icon.receita{background:rgba(99,230,168,.13)!important;color:var(--mf-pos)!important}
html:not(#_a):not(#_b) .tx-title,html:not(#_a):not(#_b) .tx-amount.despesa{color:var(--mf-ink)!important}
html:not(#_a):not(#_b) .tx-amount.receita{color:var(--mf-pos)!important}
html:not(#_a):not(#_b) .v6-quick-grid button.plan-locked::after,html:not(#_a):not(#_b) .v6-more-grid button.plan-locked::after{background:rgba(255,255,255,.14)!important;color:#fff!important}
html:not(#_a):not(#_b) body .v6-more-grid button{border-bottom-color:rgba(255,255,255,.07)!important}
html:not(#_a):not(#_b) body .v6-more-grid button:not(.plan-locked)::after{border-color:#6f8279!important}
@media(max-width:760px){html:not(#_a):not(#_b) body .v6-more-grid button:hover{background:rgba(255,255,255,.04)!important;border-color:rgba(255,255,255,.07)!important}}
@media(min-width:761px){html:not(#_a):not(#_b) body .v6-quick-grid button{background:rgba(255,255,255,.04)!important}
  html:not(#_a):not(#_b) body .v6-quick-grid button:hover{background:rgba(255,255,255,.09)!important}}

/* Menu inferior */
html:not(#_a):not(#_b) .bottom-nav,html:not(#_a):not(#_b) .bottom-nav.bottom-nav-v6{background:rgba(14,22,18,.62)!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 20px 50px -12px rgba(0,0,0,.9)!important}
html:not(#_a):not(#_b) .bottom-nav .nav-btn{color:#9fb1a8!important;position:relative;z-index:1}
html:not(#_a):not(#_b) .bottom-nav .nav-btn.active{color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .bottom-nav .nav-btn.active .nav-icon{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;box-shadow:0 6px 18px -6px var(--mf-brand)!important}
html.mf-motion:not(#_a):not(#_b) .bottom-nav .nav-btn.active .nav-icon{background:transparent!important;box-shadow:none!important}

/* Indicador deslizante do menu (criado pelo motion-v851.js) */
html:not(#_a):not(#_b) .mf-nav-pill{position:absolute;left:0;top:0;z-index:0;border-radius:14px;background:var(--mf-brand);box-shadow:0 8px 26px -8px var(--mf-brand);pointer-events:none;
  transition:transform .5s cubic-bezier(.3,1.25,.4,1),width .5s cubic-bezier(.3,1.25,.4,1),height .5s cubic-bezier(.3,1.25,.4,1),opacity .2s}
html:not(#_a):not(#_b) .bottom-nav .mf-nav-pill{border-radius:999px}
html:not(#_a):not(#_b) .mf-ripple{position:absolute;border-radius:50%;pointer-events:none;background:rgba(255,255,255,.35);transform:scale(0);animation:mfRipple .6s ease-out forwards}
@keyframes mfRipple{to{transform:scale(1);opacity:0}}

/* ---------- MOVIMENTO (mais marcado que na V8.11.50) ---------- */
html:not(#_a):not(#_b) .screen.active{animation:dScreenIn .7s cubic-bezier(.2,.8,.2,1) both}
@keyframes dScreenIn{0%{opacity:0;filter:blur(26px)}60%{opacity:1}100%{opacity:1;filter:none}}
/* título sobe por trás de uma máscara */
html:not(#_a):not(#_b) .screen.active .page-intro h2,html:not(#_a):not(#_b) .screen.active>h2:first-child{animation:dTitle .7s cubic-bezier(.2,.8,.2,1) .05s both}
@keyframes dTitle{from{clip-path:inset(0 0 100% 0);transform:translateY(60%)}to{clip-path:inset(-20% 0 -20% 0);transform:none}}
/* cartão de saldo entra girando em 3D */
html:not(#_a):not(#_b) .screen.active .hero-card{animation:dHero .95s cubic-bezier(.2,.9,.2,1) .05s both;transform-origin:50% 60%}
@keyframes dHero{0%{opacity:0;transform:perspective(1100px) rotateX(16deg) rotateY(-14deg) translateY(26px) scale(.94);filter:blur(10px)}100%{opacity:1;transform:perspective(1100px) rotateX(0) rotateY(0) translateY(0) scale(1);filter:none}}
/* barras de progresso enchem */
html:not(#_a):not(#_b) .screen.active .progress>i,html:not(#_a):not(#_b) .screen.active .progress>span,html:not(#_a):not(#_b) .screen.active .progress-fill,html:not(#_a):not(#_b) .screen.active .bar-fill{transform-origin:left;animation:dFill .9s cubic-bezier(.2,.8,.2,1) .3s both}
@keyframes dFill{from{transform:scaleX(0)}to{transform:scaleX(1)}}

@media(prefers-reduced-motion:reduce){html:not(#_a):not(#_b) .mf-nav-pill{transition:none!important}html:not(#_a):not(#_b) .mf-ripple{display:none!important}}

/* ---------- ajustes manuais do tema escuro ---------- */
html:not(#_a):not(#_b) .desktop-sidebar .desktop-nav-btn.active,html:not(#_a):not(#_b) .desktop-sidebar .desktop-nav-btn.active *{color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) .bottom-nav .nav-btn.active .nav-icon{color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) .btn.primary,html:not(#_a):not(#_b) .btn.primary *,html:not(#_a):not(#_b) .round-add{color:var(--mf-on-brand)!important;-webkit-text-fill-color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) .btn.danger{background:rgba(255,128,137,.12)!important;color:var(--mf-neg)!important;border:1px solid rgba(255,128,137,.3)!important}
html:not(#_a):not(#_b) .section-kicker,html:not(#_a):not(#_b) .link-btn,html:not(#_a):not(#_b) .section-value{color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .positive{color:var(--mf-pos)!important}
html:not(#_a):not(#_b) .negative{color:var(--mf-neg)!important}
html:not(#_a):not(#_b) .field label,html:not(#_a):not(#_b) label.field>span{color:#b4c4bc!important}
html:not(#_a):not(#_b) .auth-card{background:rgba(12,20,16,.72)!important;border:1px solid var(--g-edge)!important;-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);color:var(--mf-ink)!important;box-shadow:0 40px 100px -30px #000!important}
html:not(#_a):not(#_b) .summary-card.main{background:linear-gradient(140deg,rgba(99,230,168,.36),rgba(40,120,85,.26) 55%,rgba(99,230,168,.14))!important;border:1px solid rgba(255,255,255,.2)!important;color:#fff!important}
html:not(#_a):not(#_b) .summary-card.main *{color:#fff!important}
html:not(#_a):not(#_b) .donut-center{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html:not(#_a):not(#_b) .donut::after{background:#0a120e!important;inset:13px!important;width:auto!important;height:auto!important;border-radius:50%!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html.theme-company:not(#_a):not(#_b) .donut::after{background:#090f17!important}
html:not(#_a):not(#_b) .donut{box-shadow:0 0 40px -12px var(--mf-brand)}
html:not(#_a):not(#_b) .donut-center span{color:var(--mf-muted)!important}
html:not(#_a):not(#_b) .donut-center b{color:var(--mf-ink)!important}
html:not(#_a):not(#_b) .chat-bubble.user{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) .chat-bubble.user *{color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) .toast{background:rgba(20,30,25,.92)!important;color:#fff!important;border:1px solid var(--g-edge)!important}
html:not(#_a):not(#_b) hr{border-color:var(--g-edge)!important}
html:not(#_a):not(#_b) .dual-bar.rev{background:var(--mf-brand)!important}
html:not(#_a):not(#_b) .dual-bar.exp{background:rgba(255,255,255,.28)!important}
html:not(#_a):not(#_b) .chat-shell,html:not(#_a):not(#_b) .chat-header,html:not(#_a):not(#_b) .chat-thread,html:not(#_a):not(#_b) .chat-composer,html:not(#_a):not(#_b) .chat-footnote,html:not(#_a):not(#_b) .chat-context-pill,html:not(#_a):not(#_b) .chat-day{background:transparent!important;background-image:none!important;color:var(--mf-ink)!important;border-color:var(--g-edge)!important}
html:not(#_a):not(#_b) .chat-shell{background:var(--g-panel)!important;border:1px solid var(--g-edge)!important}
html:not(#_a):not(#_b) .chat-bubble.assistant,html:not(#_a):not(#_b) .chat-context-pill,html:not(#_a):not(#_b) .chat-day{background:rgba(255,255,255,.07)!important;color:var(--mf-ink)!important;border:1px solid var(--g-edge)!important}
html:not(#_a):not(#_b) .chat-composer{background:rgba(10,16,13,.6)!important;border-top:1px solid var(--g-edge)!important}
html:not(#_a):not(#_b) .chat-footnote,html:not(#_a):not(#_b) .chat-time{color:var(--mf-muted)!important}
html:not(#_a):not(#_b) .notification-toggle,html:not(#_a):not(#_b) .desktop-workspace-toggle{background:rgba(255,255,255,.06)!important;background-image:none!important;border:1px solid var(--g-edge)!important;color:var(--mf-ink)!important}
html:not(#_a):not(#_b) .desktop-workspace-toggle *{color:var(--mf-ink)}
html:not(#_a):not(#_b) .desktop-workspace-toggle small{color:var(--mf-muted)!important}
html:not(#_a):not(#_b) .v6-alert{background:var(--g-panel)!important;border:1px solid var(--g-edge)!important;color:var(--mf-ink)!important}
html:not(#_a):not(#_b) .v6-alert i{background:rgba(255,255,255,.08)!important}
html:not(#_a):not(#_b) .v6-alert.danger i{background:rgba(255,128,137,.14)!important;color:var(--mf-neg)!important}
html:not(#_a):not(#_b) .annual-cell small,html:not(#_a):not(#_b) .annual-cell span{color:rgba(255,255,255,.78)!important}
html:not(#_a):not(#_b) .icon-btn{color:#c5d3cc!important}
html:not(#_a):not(#_b) .desktop-workspace-symbol{background:var(--mf-brand-soft)!important;color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .v6-alert.ok i{color:var(--mf-pos)!important;background:rgba(99,230,168,.14)!important}
html:not(#_a):not(#_b) .chat-context-pill b{color:var(--mf-ink)!important}
html:not(#_a):not(#_b) .global-search-box input,html:not(#_a):not(#_b) .search-wrap input{background:transparent!important;border:0!important;box-shadow:none!important}
@media(max-width:760px){html:not(#_a):not(#_b) .bottom-nav{background:rgba(12,19,15,.86)!important}}
html:not(#_a):not(#_b) .tx:hover{border-color:rgba(255,255,255,.2)!important}
html:not(#_a):not(#_b) .tx-status{background:rgba(255,255,255,.08)!important;color:#c5d3cc!important;border:0!important}
html:not(#_a):not(#_b) .tx-status.status-paid{background:rgba(99,230,168,.15)!important;color:var(--mf-pos)!important}
html:not(#_a):not(#_b) .tx-status.status-pending{background:rgba(242,196,109,.15)!important;color:var(--mf-warn)!important}
html:not(#_a):not(#_b) .tx-status.status-overdue{background:rgba(255,128,137,.15)!important;color:var(--mf-neg)!important}
html:not(#_a):not(#_b) .open-badge,html:not(#_a):not(#_b) .personal-lock,html:not(#_a):not(#_b) .year-pill,html:not(#_a):not(#_b) .investment-workspace-badge{background:rgba(99,230,168,.14)!important;color:var(--mf-brand)!important;border:0!important}
html:not(#_a):not(#_b) .notification-chip-row label span{background:rgba(255,255,255,.07)!important;color:var(--mf-ink)!important;border:1px solid var(--g-edge)!important}
html:not(#_a):not(#_b) .notification-chip-row label input:checked+span{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;border-color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .chat-icon-btn{background:rgba(255,255,255,.08)!important;color:var(--mf-ink)!important;border:1px solid var(--g-edge)!important}
html:not(#_a):not(#_b) #chatSendBtn{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;border:0!important}
html:not(#_a):not(#_b) .donut-center b{font-size:11.5px!important;letter-spacing:-.2px}

/* ---------- V8.11.53: componentes que só aparecem conforme os dados ou ao clicar ---------- */
html:not(#_a):not(#_b) .cross-period-section{background:rgba(99,230,168,.07)!important;border:1px solid rgba(99,230,168,.28)!important}
html.theme-company:not(#_a):not(#_b) .cross-period-section{background:rgba(124,196,255,.07)!important;border-color:rgba(124,196,255,.28)!important}
html:not(#_a):not(#_b) .cross-period-head span,html:not(#_a):not(#_b) .cross-period-head>strong{color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .cross-period-head b{color:var(--mf-ink)!important;font-size:15px!important}
html:not(#_a):not(#_b) .cross-period-head small{color:#b4c4bc!important;font-size:12px!important;line-height:1.4!important}
html:not(#_a):not(#_b) .cross-period-head span{font-size:10px!important}
html:not(#_a):not(#_b) .cross-period-tx{background:rgba(255,255,255,.05)!important;border-color:var(--g-edge)!important}
html:not(#_a):not(#_b) .tx-period-divider{color:var(--mf-muted)!important;font-size:11px!important}
/* menu de troca de perfil (barra lateral): painel escuro opaco, por cima do menu */
html:not(#_a):not(#_b) .desktop-workspace-switcher{position:relative;z-index:30}
html:not(#_a):not(#_b) .desktop-workspace-menu,html:not(#_a):not(#_b) body.theme-company .desktop-workspace-menu{background:#0f1a15!important;background-image:none!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 24px 60px -10px rgba(0,0,0,.9)!important;z-index:40!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.theme-company:not(#_a):not(#_b) .desktop-workspace-menu{background:#0d1622!important}
html:not(#_a):not(#_b) .desktop-workspace-option,html:not(#_a):not(#_b) body.theme-company .desktop-workspace-option{background:transparent!important;color:var(--mf-ink)!important;border-color:rgba(255,255,255,.10)!important}
html:not(#_a):not(#_b) .desktop-workspace-option b{color:var(--mf-ink)!important}
html:not(#_a):not(#_b) .desktop-workspace-option:hover,html:not(#_a):not(#_b) body.theme-company .desktop-workspace-option:hover{background:rgba(255,255,255,.07)!important}
html:not(#_a):not(#_b) .desktop-workspace-option.active,html:not(#_a):not(#_b) body.theme-company .desktop-workspace-option.active{background:var(--mf-brand-soft)!important;color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .desktop-workspace-option.active b{color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .desktop-workspace-option span,html:not(#_a):not(#_b) body.theme-company .desktop-workspace-option span{background:rgba(255,255,255,.08)!important;color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .desktop-workspace-option em,html:not(#_a):not(#_b) body.theme-company .desktop-workspace-option em{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) .desktop-workspace-option.add,html:not(#_a):not(#_b) body.theme-company .desktop-workspace-option.add{color:var(--mf-muted)!important;border-top:1px solid rgba(255,255,255,.10)!important}
html:not(#_a):not(#_b) .desktop-workspace-option.add b{color:#c5d3cc!important}
/* perfil Empresa: abas de Funcionários/Escalas, avisos e botões ativos */
html:not(#_a):not(#_b) .employee-subtabs button,html:not(#_a):not(#_b) .schedule-subtabs button{background:rgba(255,255,255,.06)!important;color:var(--mf-ink)!important;border:1px solid var(--g-edge)!important}
html:not(#_a):not(#_b) .employee-subtabs button.active,html:not(#_a):not(#_b) .schedule-subtabs button.active{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;border-color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .payroll-disclaimer{background:rgba(255,255,255,.05)!important;border-color:var(--g-edge)!important;color:#c5d3cc!important}
html:not(#_a):not(#_b) .payroll-disclaimer strong,html:not(#_a):not(#_b) .payroll-disclaimer b{color:var(--mf-ink)!important}
html:not(#_a):not(#_b) .segmented button{background:rgba(255,255,255,.06)!important;color:var(--mf-ink)!important;border-color:var(--g-edge)!important}
html:not(#_a):not(#_b) .segmented button.active{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;-webkit-text-fill-color:var(--mf-on-brand)!important;border-color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .import-drop .drop-icon{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) .affiliate-hero-card .btn.affiliate-activate{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;border:0!important}
/* ---------- V8.11.54: janelas, menus suspensos e itens revelados pela varredura completa ---------- */
html:not(#_a):not(#_b) select option,html:not(#_a):not(#_b) select optgroup,html:not(#_a):not(#_b) .month-select option,html:not(#_a):not(#_b) .year-select option{background-color:#0e1712!important;color:#eef6f1!important}
html.theme-company:not(#_a):not(#_b) select option,html.theme-company:not(#_a):not(#_b) select optgroup{background-color:#0c1420!important}
html:not(#_a):not(#_b) select{color-scheme:dark}
/* janelas (modais) sempre opacas, para o conteúdo de trás não atravessar */
html:not(#_a):not(#_b) .tx-category-modal-card,html:not(#_a):not(#_b) .legal-modal-card,html:not(#_a):not(#_b) .time-clock-photo-card,html:not(#_a):not(#_b) .onboarding-card,html:not(#_a):not(#_b) [class*="modal-card"],html:not(#_a):not(#_b) [class*="dialog-card"]{background:#0f1a15!important;background-image:none!important;border:1px solid rgba(255,255,255,.14)!important;color:var(--mf-ink)!important;box-shadow:0 40px 100px -20px #000!important}
html.theme-company:not(#_a):not(#_b) .tx-category-modal-card,html.theme-company:not(#_a):not(#_b) .legal-modal-card,html.theme-company:not(#_a):not(#_b) .time-clock-photo-card,html.theme-company:not(#_a):not(#_b) .onboarding-card,html.theme-company:not(#_a):not(#_b) [class*="modal-card"]{background:#0d1622!important}
html:not(#_a):not(#_b) .tx-category-modal-backdrop,html:not(#_a):not(#_b) .legal-modal-backdrop,html:not(#_a):not(#_b) [class*="modal-backdrop"]{background:rgba(0,0,0,.66)!important}
html:not(#_a):not(#_b) .time-clock-photo-modal{background:rgba(0,0,0,.7)!important}
html:not(#_a):not(#_b) .time-clock-photo-card h2,html:not(#_a):not(#_b) .time-clock-photo-card p,html:not(#_a):not(#_b) .onboarding-card h2,html:not(#_a):not(#_b) .onboarding-card p{color:var(--mf-ink)!important}
html:not(#_a):not(#_b) #timeClockPhotoImage{background:#0a120e!important}
html:not(#_a):not(#_b) .onboarding-gate{background:rgba(3,7,5,.82)!important}
html:not(#_a):not(#_b) .onboarding-icon,html:not(#_a):not(#_b) .card-bill-step{background:var(--mf-brand-soft)!important;color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .onboarding-progress{background:rgba(255,255,255,.10)!important}
html:not(#_a):not(#_b) .check-line{background:rgba(255,255,255,.05)!important;border-color:var(--g-edge)!important;color:var(--mf-ink)!important}
html:not(#_a):not(#_b) .check-line small{color:var(--mf-muted)!important}
html:not(#_a):not(#_b) .settings-divider{background:rgba(255,255,255,.10)!important}
html:not(#_a):not(#_b) .legal-inline-link,html:not(#_a):not(#_b) .legal-accept a,html:not(#_a):not(#_b) .legal-accept button{color:var(--mf-brand)!important}
html:not(#_a):not(#_b) .auth-logo{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) .notification-menu-badge,html:not(#_a):not(#_b) .header-notification-badge{background:#ff5d6a!important;color:#fff!important;font-weight:800!important}
html:not(#_a):not(#_b) .toast{background:#16231d!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important}
html:not(#_a):not(#_b) .avatar{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important}
html:not(#_a):not(#_b) .growth-bar,html:not(#_a):not(#_b) .growth-day-bar{background:rgba(255,255,255,.09)!important}
html:not(#_a) .mf-ripple{background:rgba(255,255,255,.22)}
html:not(#_a):not(#_b) #workspaceTabs .workspace-tab,html:not(#_a):not(#_b) .bottom-nav .nav-btn,html:not(#_a):not(#_b) .btn,html:not(#_a):not(#_b) button{touch-action:manipulation}
html:not(#_a):not(#_b) #workspaceTabs .workspace-tab{-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
html:not(#_a):not(#_b) #workspaceTabs .workspace-tab span{pointer-events:none}
/* ---- gerado pelo auditor de contraste: superfícies claras do CSS antigo ---- */
html:not(#_a):not(#_b) .account-icon,
html:not(#_a):not(#_b) .accountability-preview > div,
html:not(#_a):not(#_b) .admin-dashboard-status.ok,
html:not(#_a):not(#_b) .admin-metric-card,
html:not(#_a):not(#_b) .affiliate-hero-card .affiliate-activate,
html:not(#_a):not(#_b) .affiliate-rule-list > div,
html:not(#_a):not(#_b) .budget-category-toolbar,
html:not(#_a):not(#_b) .budget-row,
html:not(#_a):not(#_b) .card-bill-status.paid,
html:not(#_a):not(#_b) .card.settings-grid > div.settings-divider,
html:not(#_a):not(#_b) .category-manage-row,
html:not(#_a):not(#_b) .category-manager-icon.expense,
html:not(#_a):not(#_b) .category-manager-icon.income,
html:not(#_a):not(#_b) .chat-bubble.assistant,
html:not(#_a):not(#_b) .chat-composer,
html:not(#_a):not(#_b) .chat-context-pill,
html:not(#_a):not(#_b) .chat-day,
html:not(#_a):not(#_b) .chat-footnote,
html:not(#_a):not(#_b) .chat-tx-actions button,
html:not(#_a):not(#_b) .closing-head > span,
html:not(#_a):not(#_b) .employee-directory-card,
html:not(#_a):not(#_b) .employee-directory-card.archived,
html:not(#_a):not(#_b) .field-help,
html:not(#_a):not(#_b) .form-card,
html:not(#_a):not(#_b) .growth-day-bar,
html:not(#_a):not(#_b) .import-drop,
html:not(#_a):not(#_b) .import-hero-icon,
html:not(#_a):not(#_b) .investment-estimate-note,
html:not(#_a):not(#_b) .investment-rate-pill,
html:not(#_a):not(#_b) .investment-workspace-badge,
html:not(#_a):not(#_b) .legal-icon,
html:not(#_a):not(#_b) .legal-info-list > div,
html:not(#_a):not(#_b) .legend-row > i.legend-dot,
html:not(#_a):not(#_b) .mini-copy,
html:not(#_a):not(#_b) .mini-ok,
html:not(#_a):not(#_b) .money-input,
html:not(#_a):not(#_b) .notification-chip-row > label > span,
html:not(#_a):not(#_b) .notification-row-top span,
html:not(#_a):not(#_b) .onboarding-card > div.onboarding-icon,
html:not(#_a):not(#_b) .payroll-card,
html:not(#_a):not(#_b) .payroll-card.paid,
html:not(#_a):not(#_b) .pdf-privacy,
html:not(#_a):not(#_b) .personal-lock,
html:not(#_a):not(#_b) .promo-admin-stats span,
html:not(#_a):not(#_b) .segmented,
html:not(#_a):not(#_b) .theme-company .admin-metric-card,
html:not(#_a):not(#_b) .theme-company .budget-category-toolbar,
html:not(#_a):not(#_b) .theme-company .growth-day-bar,
html:not(#_a):not(#_b) .theme-company .investment-rate-pill,
html:not(#_a):not(#_b) .theme-company .status-paid,
html:not(#_a):not(#_b) .time-clock-day-card,
html:not(#_a):not(#_b) .time-clock-photo-modal > div.time-clock-photo-card,
html:not(#_a):not(#_b) .tx-status.status-paid,
html:not(#_a):not(#_b) .v6-beta-badge,
html:not(#_a):not(#_b) .v6-goal-card,
html:not(#_a):not(#_b) .voice-confidence b,
html:not(#_a):not(#_b) .year-pill,
html:not(#_a):not(#_b) button.account-icon,
html:not(#_a):not(#_b) button.admin-dashboard-status.ok,
html:not(#_a):not(#_b) button.admin-metric-card,
html:not(#_a):not(#_b) button.budget-category-toolbar,
html:not(#_a):not(#_b) button.card-bill-status.paid,
html:not(#_a):not(#_b) button.employee-directory-card,
html:not(#_a):not(#_b) button.employee-directory-card.archived,
html:not(#_a):not(#_b) button.growth-day-bar,
html:not(#_a):not(#_b) button.investment-rate-pill,
html:not(#_a):not(#_b) button.mini-copy,
html:not(#_a):not(#_b) button.mini-ok,
html:not(#_a):not(#_b) button.payroll-card,
html:not(#_a):not(#_b) button.payroll-card.paid,
html:not(#_a):not(#_b) button.time-clock-day-card,
html:not(#_a):not(#_b) div > span.card-bill-step,
html:not(#_a):not(#_b) span.account-icon,
html:not(#_a):not(#_b) span.admin-metric-card,
html:not(#_a):not(#_b) span.budget-category-toolbar,
html:not(#_a):not(#_b) span.employee-directory-card,
html:not(#_a):not(#_b) span.growth-day-bar,
html:not(#_a):not(#_b) span.investment-rate-pill,
html:not(#_a):not(#_b) span.mini-copy,
html:not(#_a):not(#_b) span.mini-ok,
html:not(#_a):not(#_b) span.payroll-card,
html:not(#_a):not(#_b) span.time-clock-day-card{background:var(--g-panel)!important;background-image:none!important;border-color:var(--g-edge)!important;color:var(--mf-ink)}
html:not(#_a):not(#_b) .onboarding-card > div.onboarding-progress,
html:not(#_a):not(#_b) .progress,
html:not(#_a):not(#_b) .progress.v6-goal-progress{background:rgba(255,255,255,.09)!important;background-image:none!important}
/* ---- gerado pelo auditor de contraste: textos escuros do CSS antigo ---- */
html:not(#_a):not(#_b) #employeePortalMenuBtn > b,
html:not(#_a):not(#_b) #notificationsMoreBtn > b,
html:not(#_a):not(#_b) .admin-metric-card b,
html:not(#_a):not(#_b) .batch-metrics b,
html:not(#_a):not(#_b) .closing-metrics > span > b,
html:not(#_a):not(#_b) .closing-metrics b,
html:not(#_a):not(#_b) .filter-select,
html:not(#_a):not(#_b) .filters-v4 .filter-select,
html:not(#_a):not(#_b) .growth-funnel-head b,
html:not(#_a):not(#_b) .growth-retention-item b,
html:not(#_a):not(#_b) .hero-value,
html:not(#_a):not(#_b) .import-desc-input,
html:not(#_a):not(#_b) .investment-estimate-note > strong,
html:not(#_a):not(#_b) .notification-row,
html:not(#_a):not(#_b) .notification-row .card,
html:not(#_a):not(#_b) .notification-row .danger,
html:not(#_a):not(#_b) .notification-row .expense,
html:not(#_a):not(#_b) .notification-row .income,
html:not(#_a):not(#_b) .notification-row .unread,
html:not(#_a):not(#_b) .notification-row i,
html:not(#_a):not(#_b) .notification-row.card,
html:not(#_a):not(#_b) .notification-row.danger,
html:not(#_a):not(#_b) .notification-row.expense,
html:not(#_a):not(#_b) .notification-row.income,
html:not(#_a):not(#_b) .notification-row.unread,
html:not(#_a):not(#_b) .payroll-breakdown b,
html:not(#_a):not(#_b) .payroll-entry-preview b,
html:not(#_a):not(#_b) .payroll-payment-status-notice,
html:not(#_a):not(#_b) .payroll-payment-status-notice .paid,
html:not(#_a):not(#_b) .payroll-payment-status-notice .warning,
html:not(#_a):not(#_b) .payroll-payment-status-notice.paid,
html:not(#_a):not(#_b) .payroll-payment-status-notice.warning,
html:not(#_a):not(#_b) .plan-locked > b,
html:not(#_a):not(#_b) .promo-admin-stats b,
html:not(#_a):not(#_b) .recon-metrics b,
html:not(#_a):not(#_b) .schedule-day,
html:not(#_a):not(#_b) .schedule-day .absence,
html:not(#_a):not(#_b) .schedule-day .holiday,
html:not(#_a):not(#_b) .schedule-day .leave,
html:not(#_a):not(#_b) .schedule-day .off,
html:not(#_a):not(#_b) .schedule-day .override,
html:not(#_a):not(#_b) .schedule-day .swap,
html:not(#_a):not(#_b) .schedule-day .vacation,
html:not(#_a):not(#_b) .schedule-day .work,
html:not(#_a):not(#_b) .schedule-day b,
html:not(#_a):not(#_b) .schedule-day span,
html:not(#_a):not(#_b) .schedule-day.absence,
html:not(#_a):not(#_b) .schedule-day.holiday,
html:not(#_a):not(#_b) .schedule-day.leave,
html:not(#_a):not(#_b) .schedule-day.override,
html:not(#_a):not(#_b) .schedule-day.swap,
html:not(#_a):not(#_b) .schedule-day.vacation,
html:not(#_a):not(#_b) .schedule-day.work,
html:not(#_a):not(#_b) .schedule-quick-status-btn,
html:not(#_a):not(#_b) .schedule-quick-status-btn .active,
html:not(#_a):not(#_b) .schedule-quick-status-btn.active,
html:not(#_a):not(#_b) .tx-category-pick,
html:not(#_a):not(#_b) .tx-category-pick span,
html:not(#_a):not(#_b) .tx-date-filter .filter-select,
html:not(#_a):not(#_b) .v6-more-grid > button > b,
html:not(#_a):not(#_b) .v6-more-grid button,
html:not(#_a):not(#_b) .v6-quick-grid > button > b,
html:not(#_a):not(#_b) .v6-quick-grid button,
html:not(#_a):not(#_b) button.filter-select,
html:not(#_a):not(#_b) button.hero-value,
html:not(#_a):not(#_b) button.import-desc-input,
html:not(#_a):not(#_b) button.notification-row,
html:not(#_a):not(#_b) button.notification-row.card,
html:not(#_a):not(#_b) button.notification-row.danger,
html:not(#_a):not(#_b) button.notification-row.expense,
html:not(#_a):not(#_b) button.notification-row.income,
html:not(#_a):not(#_b) button.notification-row.unread,
html:not(#_a):not(#_b) button.payroll-payment-status-notice,
html:not(#_a):not(#_b) button.payroll-payment-status-notice.paid,
html:not(#_a):not(#_b) button.payroll-payment-status-notice.warning,
html:not(#_a):not(#_b) button.schedule-day,
html:not(#_a):not(#_b) button.schedule-day.absence,
html:not(#_a):not(#_b) button.schedule-day.holiday,
html:not(#_a):not(#_b) button.schedule-day.leave,
html:not(#_a):not(#_b) button.schedule-day.override,
html:not(#_a):not(#_b) button.schedule-day.swap,
html:not(#_a):not(#_b) button.schedule-day.vacation,
html:not(#_a):not(#_b) button.schedule-day.work,
html:not(#_a):not(#_b) button.schedule-quick-status-btn,
html:not(#_a):not(#_b) button.schedule-quick-status-btn.active,
html:not(#_a):not(#_b) button.tx-category-pick,
html:not(#_a):not(#_b) span.filter-select,
html:not(#_a):not(#_b) span.hero-value,
html:not(#_a):not(#_b) span.import-desc-input,
html:not(#_a):not(#_b) span.notification-row,
html:not(#_a):not(#_b) span.payroll-payment-status-notice,
html:not(#_a):not(#_b) span.schedule-day,
html:not(#_a):not(#_b) span.schedule-quick-status-btn,
html:not(#_a):not(#_b) span.tx-category-pick{color:var(--mf-ink)!important;-webkit-text-fill-color:currentColor}
html:not(#_a):not(#_b) .affiliate-rule-list > div > b,
html:not(#_a):not(#_b) .affiliate-rule-list b,
html:not(#_a):not(#_b) .auth-link-btn,
html:not(#_a):not(#_b) .auth-message,
html:not(#_a):not(#_b) .auth-message .error,
html:not(#_a):not(#_b) .batch-net,
html:not(#_a):not(#_b) .batch-validation,
html:not(#_a):not(#_b) .eyebrow,
html:not(#_a):not(#_b) .feedback-status,
html:not(#_a):not(#_b) .feedback-status .error,
html:not(#_a):not(#_b) .field-mini-action,
html:not(#_a):not(#_b) .hero-mark,
html:not(#_a):not(#_b) .import-message,
html:not(#_a):not(#_b) .import-money-edit span,
html:not(#_a):not(#_b) .investment-rate-pill,
html:not(#_a):not(#_b) .mini-ok,
html:not(#_a):not(#_b) .money-input > span,
html:not(#_a):not(#_b) .notification-save-state,
html:not(#_a):not(#_b) .payroll-payment-status-notice strong,
html:not(#_a):not(#_b) .pdf-privacy > b,
html:not(#_a):not(#_b) .plan-center-card span,
html:not(#_a):not(#_b) .theme-company .batch-validation,
html:not(#_a):not(#_b) .theme-company .investment-rate-pill,
html:not(#_a):not(#_b) .v6-alert i,
html:not(#_a):not(#_b) .v6-plan-card > span,
html:not(#_a):not(#_b) .v6-plan-card.featured > span,
html:not(#_a):not(#_b) span > button.legal-inline-link{color:var(--mf-brand)!important;-webkit-text-fill-color:currentColor}
html:not(#_a):not(#_b) .more-logout-btn > b{color:var(--mf-neg)!important;-webkit-text-fill-color:currentColor}

/* =====================================================================
   V8.11.52 — Chat por voz: aviso legível, microfone "ouvindo" e campo de mensagem acima do menu
   ===================================================================== */
html:not(#_a):not(#_b) .chat-voice-status{margin:0 10px 8px!important;padding:10px 12px!important;border-radius:14px!important;font-size:13px!important;line-height:1.4!important;
  background:rgba(255,255,255,.07)!important;border:1px solid var(--g-edge)!important;color:var(--mf-ink)!important;display:flex;gap:9px;align-items:flex-start;animation:gCardIn .3s ease both}
html:not(#_a):not(#_b) .chat-voice-status[hidden]{display:none!important}
html:not(#_a):not(#_b) .chat-voice-status::before{content:"";flex:0 0 auto;width:9px;height:9px;border-radius:50%;margin-top:5px;background:var(--mf-muted)}
html:not(#_a):not(#_b) .chat-voice-status[data-kind="listening"]{border-color:rgba(255,128,137,.45)!important;background:rgba(255,128,137,.10)!important}
html:not(#_a):not(#_b) .chat-voice-status[data-kind="listening"]::before{background:#ff6b76;animation:mfRec 1s ease-in-out infinite}
html:not(#_a):not(#_b) .chat-voice-status[data-kind="ok"]{border-color:rgba(99,230,168,.45)!important;background:rgba(99,230,168,.10)!important}
html:not(#_a):not(#_b) .chat-voice-status[data-kind="ok"]::before{background:var(--mf-pos)}
html:not(#_a):not(#_b) .chat-voice-status[data-kind="warn"]{border-color:rgba(242,196,109,.45)!important;background:rgba(242,196,109,.10)!important}
html:not(#_a):not(#_b) .chat-voice-status[data-kind="warn"]::before{background:var(--mf-warn)}
@keyframes mfRec{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
/* botão do microfone enquanto ouve: vermelho, pulsando, com anel */
html:not(#_a):not(#_b) #chatMicBtn.listening{background:#ff5d6a!important;color:#fff!important;border-color:#ff5d6a!important;animation:mfMic 1.2s ease-out infinite!important}
@keyframes mfMic{0%{box-shadow:0 0 0 0 rgba(255,93,106,.55)}100%{box-shadow:0 0 0 14px rgba(255,93,106,0)}}
html:not(#_a):not(#_b) body.chat-listening #chatInput{border-color:rgba(255,128,137,.6)!important}
html:not(#_a):not(#_b) .chat-icon-btn{min-width:44px;min-height:44px}
@media(prefers-reduced-motion:reduce){html:not(#_a):not(#_b) #chatMicBtn.listening,html:not(#_a):not(#_b) .chat-voice-status::before{animation:none!important}}
/* Celular: o painel do chat termina acima do menu inferior, para o campo de mensagem,
   o microfone e o botão enviar nunca ficarem escondidos atrás do menu */
@media(max-width:760px){
  html:not(#_a):not(#_b) body:not(.chat-typing) #screen-chat .chat-shell{height:calc(var(--visual-viewport-height,100dvh) - 273px - env(safe-area-inset-bottom,0px))!important;min-height:300px!important;max-height:none!important}
  html:not(#_a):not(#_b) body:not(.chat-typing) #screen-chat .chat-composer{padding-bottom:9px!important}
  html:not(#_a):not(#_b) #screen-chat .chat-footnote{font-size:10px!important;line-height:1.3!important;padding:0 12px 8px!important}
  html:not(#_a):not(#_b) #screen-chat .chat-composer textarea{font-size:16px!important}
}
/* enquanto digita no chat, o menu inferior sai da frente do campo de mensagem */
@media(max-width:760px){html:not(#_a):not(#_b) body.chat-typing .bottom-nav{opacity:0!important;pointer-events:none!important;transform:translateY(140%)!important;transition:transform .25s ease,opacity .2s ease}}
/* V8.11.55 — microfone em destaque no celular (é o caminho mais rápido para lançar) */
@media(max-width:760px){
  html:not(#_a):not(#_b) #chatMicBtn{width:52px!important;height:52px!important;min-width:52px!important;border-radius:18px!important;background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;border:0!important;box-shadow:0 10px 26px -10px var(--mf-brand)!important;--mf-ico:24px}
  html:not(#_a):not(#_b) #chatMicBtn.listening{background:#ff5d6a!important;color:#fff!important}
  html:not(#_a):not(#_b) #chatSendBtn{background:rgba(255,255,255,.08)!important;color:var(--mf-ink)!important;border:1px solid var(--g-edge)!important;box-shadow:none!important}
  html:not(#_a):not(#_b) .chat-composer:has(textarea:not(:placeholder-shown)) #chatSendBtn{background:var(--mf-brand)!important;color:var(--mf-on-brand)!important;border:0!important}
}

/* V8.11.57 — teclado móvel: chat em viewport visual fixa, sem rolar a página inteira.
   Apenas quando o campo está em foco; navegação normal fora do chat é preservada. */
@media (max-width:760px){
  html:not(#_a):not(#_b) body.chat-typing #screen-chat.active .chat-shell{
    position:fixed!important;
    top:var(--visual-viewport-top,0px)!important;
    left:0!important;right:0!important;bottom:auto!important;
    width:100%!important;height:var(--visual-viewport-height,100dvh)!important;
    min-height:0!important;max-height:none!important;
    margin:0!important;padding:0!important;
    border-radius:0!important;z-index:120!important;
    overflow:hidden!important;overscroll-behavior:contain!important;
    display:flex!important;flex-direction:column!important;
  }
  html:not(#_a):not(#_b) body.chat-typing #screen-chat.active .chat-header{display:none!important}
  html:not(#_a):not(#_b) body.chat-typing #screen-chat.active .chat-context-pill{flex:0 0 auto!important;margin:4px 8px!important;padding:6px 10px!important}
  html:not(#_a):not(#_b) body.chat-typing #screen-chat.active .chat-thread{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  html:not(#_a):not(#_b) body.chat-typing #screen-chat.active .chat-voice-status{flex:0 0 auto!important;max-height:24vh!important;overflow:auto!important}
  html:not(#_a):not(#_b) body.chat-typing #screen-chat.active .chat-composer{flex:0 0 auto!important;padding:7px 8px 8px!important;margin:0!important}
  html:not(#_a):not(#_b) body.chat-typing #screen-chat.active .chat-footnote{display:none!important}
  html:not(#_a):not(#_b) body.chat-typing .bottom-nav,
  html:not(#_a):not(#_b) body.chat-typing .bottom-nav-v6{visibility:hidden!important;pointer-events:none!important}
  html:not(#_a):not(#_b) body.chat-typing #screen-chat.active .chat-composer textarea{font-size:16px!important}
  html:not(#_a):not(#_b) #screen-chat .chat-composer #chatSendBtn:disabled{opacity:.55!important;pointer-events:none!important}
}
/* A animação de entrada (filter/blur) cria um containing block para position:fixed no iOS/Chrome.
   Removê-la somente enquanto o teclado estiver aberto é indispensável para o chat não subir. */
@media(max-width:760px){
  html:not(#_a):not(#_b) body.chat-typing #screen-chat.active{
    animation:none!important;filter:none!important;transform:none!important;perspective:none!important;
  }
}

/* Foco no texto ao digitar: ações secundárias ficam acessíveis ao fechar teclado. */
@media(max-width:760px){
 html:not(#_a):not(#_b) body.chat-typing #chatForm{grid-template-columns:minmax(0,1fr) 48px!important;gap:8px!important}
 html:not(#_a):not(#_b) body.chat-typing #chatForm #chatAttachBtn,
 html:not(#_a):not(#_b) body.chat-typing #chatForm #chatScanBtn,
 html:not(#_a):not(#_b) body.chat-typing #chatForm #chatMicBtn{display:none!important}
 html:not(#_a):not(#_b) body.chat-typing #chatForm #chatInput{grid-column:1/2!important;min-width:0!important}
 html:not(#_a):not(#_b) body.chat-typing #chatForm #chatSendBtn{grid-column:2/3!important;width:48px!important;min-width:48px!important;height:48px!important;align-self:end}
}
@media(max-width:760px){
  html:not(#_a):not(#_b) body.chat-typing #screen-chat.active .chat-shell{
    background:#101b17!important;background-image:none!important;
    box-shadow:none!important;border:0!important;
  }
  html:not(#_a):not(#_b) body.chat-typing.theme-company #screen-chat.active .chat-shell{
    background:#091524!important;background-image:none!important;
  }
}

/* V8.11.59 — chat realmente rolável no celular, sem arrastar a página por trás. */
@media(max-width:760px){
 html:not(#_a):not(#_b) body.chat-screen-active{overflow:hidden!important;height:100dvh!important;touch-action:pan-y;overscroll-behavior:none!important}
 html:not(#_a):not(#_b) body.chat-screen-active .topbar,
 html:not(#_a):not(#_b) body.chat-screen-active .workspace-strip,
 html:not(#_a):not(#_b) body.chat-screen-active .global-search-strip,
 html:not(#_a):not(#_b) body.chat-screen-active .bottom-nav{display:none!important}
 html:not(#_a):not(#_b) body.chat-screen-active #screen-chat.active,
 html:not(#_a):not(#_b) body.chat-screen-active #screen-chat.active .chat-shell{animation:none!important;filter:none!important;transform:none!important;perspective:none!important}
 html:not(#_a):not(#_b) body.chat-screen-active #screen-chat.active .chat-shell{
   position:fixed!important;top:var(--visual-viewport-top,0px)!important;left:0!important;right:0!important;
   width:100%!important;height:var(--visual-viewport-height,100dvh)!important;
   min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;
   margin:0!important;padding:0!important;border:0!important;border-radius:0!important;z-index:120!important;
   overflow:hidden!important;overscroll-behavior:contain!important;
 }
 html:not(#_a):not(#_b) body.chat-screen-active #screen-chat .chat-thread{
   flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
   overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;
   scroll-behavior:auto!important;contain:layout!important;
 }
 html:not(#_a):not(#_b) body.chat-screen-active #screen-chat .chat-header{display:flex!important;flex:0 0 auto!important;padding:9px 12px!important;align-items:center}
 html:not(#_a):not(#_b) body.chat-screen-active.chat-typing #screen-chat .chat-header{display:none!important}
 html:not(#_a):not(#_b) body.chat-screen-active #screen-chat .chat-context-pill{flex:0 0 auto!important}
 html:not(#_a):not(#_b) body.chat-screen-active #screen-chat .chat-voice-status{flex:0 0 auto!important;max-height:26vh!important;overflow:auto!important}
 html:not(#_a):not(#_b) body.chat-screen-active #screen-chat .chat-composer{flex:0 0 auto!important;min-height:62px!important;margin:0!important;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px))!important}
 html:not(#_a):not(#_b) body.chat-screen-active #screen-chat .chat-footnote{display:none!important}
 html:not(#_a):not(#_b) body.chat-screen-active #screen-chat .chat-header p{display:none!important}
}
.chat-back-btn{width:36px;height:36px;border-radius:12px;border:1px solid var(--mf-line);background:var(--mf-surface);color:var(--mf-ink);font-size:28px;cursor:pointer;flex:none}
@media(min-width:761px){.chat-back-btn{display:none}}
.chat-empty{margin:auto;padding:28px 20px;text-align:center;font-size:13px;color:var(--mf-muted);line-height:1.55;max-width:310px}
.quick-voice-action{border:1px solid var(--mf-brand)!important;box-shadow:0 0 0 1px var(--mf-brand-soft),0 8px 25px -18px var(--mf-brand)!important}
.quick-voice-action i{color:var(--mf-brand)!important}
.workspace-theme-gate[hidden]{display:none!important}
.workspace-theme-gate{position:fixed;z-index:7000;inset:0;background:rgba(0,0,0,.76);display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto}
.workspace-theme-card{background:#101e25;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:22px;width:min(520px,100%);max-height:92dvh;overflow:auto;padding:22px;box-shadow:0 24px 65px rgba(0,0,0,.55);display:grid;gap:16px}
.workspace-theme-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.workspace-theme-top h2{font-size:22px;margin:0;color:#fff}.workspace-theme-top button{background:transparent;border:0;color:#fff;font-size:30px;cursor:pointer}
.workspace-theme-card p{margin:0;color:#b9c7d0;font-size:13px;line-height:1.5}.workspace-theme-name{display:grid;gap:8px;font-size:13px;font-weight:700}.workspace-theme-name input{width:100%;border-radius:12px;padding:13px;background:#fff;color:#0b1720;border:1px solid #d1dbe1;font-size:16px}
.workspace-theme-options{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.workspace-theme-options legend{font-size:13px;font-weight:700;margin-bottom:12px}
.workspace-theme-options label{position:relative;display:flex;align-items:center;gap:6px;padding:11px 8px;border-radius:12px;border:1px solid rgba(255,255,255,.16);font-size:12px;cursor:pointer;white-space:nowrap}
.workspace-theme-options label:has(input:checked){border-color:#fff;background:rgba(255,255,255,.11)}.workspace-theme-options input{position:absolute;opacity:0;width:1px;height:1px}.workspace-theme-options input:focus-visible+.theme-swatch{outline:3px solid #fff;outline-offset:2px}.workspace-theme-options .theme-swatch{width:22px;height:22px;border-radius:50%;display:inline-block;flex:none;background:var(--swatch);box-shadow:0 0 0 2px rgba(255,255,255,.3)}
.workspace-theme-actions{display:flex;justify-content:flex-end;gap:9px}.workspace-theme-actions button{min-height:44px}.workspace-list-color{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:middle;margin-right:5px}
/* Tema por empresa: a receita/despesa mantém cores semânticas; só a marca visual muda. */
html.theme-company[data-company-palette] .workspace-tab.active,
html.theme-company[data-company-palette] .nav-btn.active,
html.theme-company[data-company-palette] .desktop-nav-btn.active{background:var(--mf-brand-soft)!important;color:var(--mf-brand)!important;border-color:var(--mf-brand)!important}
html.theme-company[data-company-palette] .btn.primary,
html.theme-company[data-company-palette] .chat-icon-btn.mic:not(.listening){background:var(--mf-brand)!important;color:var(--mf-on-brand)!important}
@media(max-width:430px){.workspace-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-theme-card{padding:16px}}

.workspace-tab-color{display:inline-block;width:9px;height:9px;min-width:9px;border-radius:50%;margin-left:4px;box-shadow:0 0 0 2px rgba(255,255,255,.12)}

/* V8.11.59 — exclusão de empresa visível no editor e acesso rápido a gerenciamento. */
.workspace-theme-actions{flex-wrap:wrap;align-items:center}
.workspace-theme-actions #workspaceThemeDelete:not([hidden]){margin-right:auto;border:1px solid #f4a0a0;color:#ffdede;background:rgba(145,20,24,.23)}
#manageWorkspacesQuick{white-space:nowrap;border:1px solid var(--mf-line);background:var(--mf-surface);color:var(--mf-ink)}
@media(max-width:430px){.workspace-theme-actions{display:grid;grid-template-columns:1fr 1fr}.workspace-theme-actions #workspaceThemeDelete:not([hidden]){grid-column:1/-1;margin:0}.workspace-theme-actions button{width:100%}}

#workspaceThemeDelete[hidden]{display:none!important}

/* V8.11.61: alternativa ao reconhecedor Web Speech quando Safari/iOS não retorna texto */
html:not(#_a):not(#_b) #chatDictateBtn.chat-dictate-fallback{display:block;margin:0 12px 9px;padding:9px 12px;max-width:calc(100% - 24px);border-radius:12px;text-align:center;white-space:normal;background:rgba(110,185,147,.12);border:1px solid var(--g-edge);color:var(--mf-ink);font-size:13px}
html:not(#_a):not(#_b) #chatDictateBtn[hidden]{display:none!important}

/* V8.11.63 — ícones de categoria nos lançamentos, sem impacto nos dados */
.tx-icon.tx-category-icon{position:relative;overflow:visible;min-width:38px;min-height:38px;padding:0!important;border:none;display:grid;place-items:center;background:transparent!important;box-shadow:none!important;}
.tx-category-glyph{position:relative;box-sizing:border-box;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--tx-category-soft)!important;color:var(--tx-category-ink)!important;border:1px solid rgba(16,34,47,.035);}
.tx-category-glyph svg{width:22px;height:22px;display:block;flex:none;}
.tx-category-direction{position:absolute;right:-4px;bottom:-4px;width:17px;height:17px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#fff;color:#119b70;font-family:system-ui,sans-serif;font-size:13px;font-weight:900;line-height:1;box-shadow:0 2px 5px rgba(0,0,0,.05);}
.tx-icon.despesa .tx-category-direction{color:#e25759;}
@media(max-width:520px){.tx-category-glyph{width:38px;height:38px;border-radius:12px}.tx-category-glyph svg{width:20px;height:20px}.tx-category-direction{width:16px;height:16px;font-size:12px}}
/* Logo do aplicativo: imagem independente da camada de design do Claude. */
.desktop-sidebar .desktop-sidebar-logo.app-graphic-brand,.topbar .brand-mark.app-graphic-brand{padding:0!important;overflow:hidden!important;border:0!important;background:transparent!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.desktop-sidebar-logo.app-graphic-brand img,.brand-mark.app-graphic-brand img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;max-width:100%!important;max-height:100%!important;opacity:1!important;visibility:visible!important;filter:none!important;}
@media(max-width:430px){.topbar .brand-mark.app-graphic-brand{display:none!important}}
