/* Vinera Finance System 2.7 — identidade visual unificada.
   Complementa o layout existente sem alterar a lógica financeira ou autenticação. */
:root{--bg:#071423;--surface:#101f31;--surface2:#14283c;--stroke:#294459;--sub:#9eb9ca;--green:#48e6bb;--red:#ff879c;--vf-radius:17px;--vf-shadow:0 14px 40px rgba(0,0,0,.12);color-scheme:dark}
body{background:radial-gradient(90rem 45rem at 90% -20%,rgba(20,107,111,.12),transparent),#071423;color:#f0f8ff;font-size:14px}
button,a,input,select{transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
button:hover:not(:disabled),a:hover{filter:brightness(1.10)}
.btn{border-radius:11px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;background:linear-gradient(125deg,#185346,#17463e);border:1px solid #347765;color:#d1ffec;white-space:normal;text-align:center}
.btn.secondary{background:#172d41;border-color:#35546a;color:#dcecf5}
.btn.ghost{background:transparent;min-height:34px;color:#c9deea;border:1px solid #355064}
.btn.danger{background:#422733;border-color:#784553;color:#ffc4cc}
.btn:focus-visible,.tab:focus-visible,.account-trigger:focus-visible,.notice-trigger:focus-visible{outline:2px solid #62edc7;outline-offset:3px}
.page-titlebar{margin-bottom:20px;align-items:center}
.page-title h2{font-size:clamp(22px,2.6vw,26px);letter-spacing:-.04em;font-weight:800}
.page-title p{font-size:13px;color:#b0c8d8;margin-top:7px}
.page-title h2::after{background:linear-gradient(90deg,#4af0bf,#4ab5b4);height:3px;width:34px}
.card{background:linear-gradient(145deg,#11243a,#101e30 92%);border:1px solid #2a465c;border-radius:19px;box-shadow:var(--vf-shadow);padding:24px 25px;margin:17px 0}
.card h2,.card .section-heading h2{font-size:18px;font-weight:760;letter-spacing:-.025em;color:#f0f8ff;margin:0}
.card h2::before,.card .section-heading h2::before{background:linear-gradient(180deg,#51efd1,#32a9af);height:1em}
.note{color:#a5becf;font-size:12.5px;line-height:1.55}
.value,.stat .v,.income-item-value,.reserve-goal{font-variant-numeric:tabular-nums}
.good{color:#49e7be}.bad{color:#ff8298}
/* brand */
.app-topbar .system-logo-image{display:block;flex:none;width:44px;height:44px;object-fit:contain;border-radius:12px;filter:drop-shadow(0 3px 8px rgba(27,192,147,.12))}
.app-topbar .system-name h1{font-size:clamp(21px,2.3vw,24px)!important;line-height:1.04!important;font-weight:830!important;letter-spacing:-.045em!important;color:#f4fbff;white-space:nowrap}
.system-tagline{display:block!important;font-size:11px!important;line-height:1.32!important;font-weight:780!important;letter-spacing:.095em!important;color:#48e6bb!important;margin-top:3px}
.app-topbar .brand{gap:12px}.app-topbar .system-name{display:block}
.app-topbar .header-actions{gap:11px}
.notice-trigger{background:#122a3e;border:1px solid #345269;width:44px;height:44px;border-radius:12px;color:#dfedf7}
.account-trigger{border-radius:14px;min-height:48px;background:linear-gradient(120deg,#142b3e,#122a3b);border:1px solid #41667b;padding:5px 11px 5px 6px;box-shadow:none;gap:10px}
.account-trigger .account-avatar,.account-avatar{background:linear-gradient(130deg,#4de3b6,#338ca9);color:#052329;font-weight:800}
.account-identity{min-width:0}.account-identity strong{color:#ecf8ff;font-size:13px}.account-identity small{color:#b9cdda;font-size:11px}
.save-status{color:#8bbcac!important;max-width:165px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Sidebar, same throughout financial app */
@media(min-width:900px){
 .app-topbar{height:77px!important;padding:0 26px!important;background:linear-gradient(110deg,#081729,#0a1727)!important;box-shadow:0 6px 25px #0002}
 .tabs{top:77px!important;width:240px!important;background:linear-gradient(160deg,#0b1b2c,#091627)!important;border-right:1px solid #294354!important;padding:20px 12px!important}
 .tabs-inner{gap:5px!important}
 .tab{min-height:52px;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;padding:12px 16px!important;gap:17px!important;color:#b6ccda;font-size:14px;border-radius:12px}
 .tab .ic{display:grid;place-items:center;width:24px;min-width:24px;font-size:23px;font-weight:420;color:#a9cbdb}
 .tab.active{background:linear-gradient(115deg,#1a5145,#1d4e44)!important;border:1px solid #287c69!important;color:#f2fff9!important}
 .tab.active .ic{color:#59f5c8}
 .tab.nav-profile{display:none!important}
 .shell{margin-left:240px!important;width:calc(100% - 240px)!important;max-width:unset!important;padding:103px clamp(22px,2.4vw,52px) 40px!important}
 .shell:has(.auth-shell){width:100%!important;margin:0 auto!important;max-width:620px!important}
}
@media(min-width:1600px){.shell{padding-left:54px!important;padding-right:54px!important}}
/* Period control */
.period-strip{background:#122235;border:1px solid #31536b;box-shadow:0 7px 22px #0002;border-radius:15px;padding:12px 18px;margin:0 0 21px;gap:12px}
.period-caption{font-weight:720;color:#e5f1f8;font-size:13px}
.period-strip .period-picker{background:#0a1a29;border:1px solid #28465e;border-radius:13px;padding:4px;gap:5px;max-width:430px;flex-basis:430px}
.period-strip .period-picker select{background-color:#1a3247!important;color:#f1f9ff;border:1px solid #45677c!important;border-radius:10px;font-weight:700;min-height:41px;font-size:14px}
.period-arrow{background:transparent;color:#c5dce9;font-size:23px}
.period-today{min-height:43px;background:#183147!important}
.period-today:disabled{opacity:.5}
/* hero home and overview */
.monthly-summary.hero-summary{padding:27px 28px 25px;margin:0 0 20px;border-radius:20px;box-shadow:0 16px 42px #0002}
.monthly-summary.hero-summary.positive{background:radial-gradient(44rem 16rem at 95% 110%,rgba(8,139,116,.2),transparent 85%),linear-gradient(125deg,#123e35,#0c3134 65%,#102638);border:1px solid #39997d}
.monthly-summary.hero-summary.negative{background:linear-gradient(125deg,#442933,#2b2533 65%,#15273b);border-color:#a15a69}
.monthly-summary.hero-summary.neutral{background:linear-gradient(125deg,#173346,#11293a);border-color:#446a7e}
.hero-summary .eyebrow{font-size:12px;letter-spacing:.13em;font-weight:720;color:#d1e6e7}
.hero-summary .summary-status{font-size:12px;color:#7bf6c8;border:1px solid #439d87;border-radius:99px;padding:5px 11px}
.hero-summary .summary-balance{font-size:clamp(36px,5vw,59px);font-weight:830;letter-spacing:-.055em;margin:14px 0 18px}
.hero-summary .summary-total{display:flex;align-items:center;gap:16px;padding:16px 19px;border:1px solid #3b6361;background:#0a1e2d97;border-radius:14px}
.hero-summary .summary-total span:not(.summary-icon){color:#c4d7dd;font-size:14px;margin:0 0 5px}
.hero-summary .summary-total strong{font-size:clamp(19px,2.25vw,26px);letter-spacing:-.03em}
.summary-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;font-size:25px;font-weight:650}
.revenue-icon{color:#42f5bc;background:#174f43}.expense-icon{color:#ff879b;background:#492b3a}
.home-insights{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(240px,1fr);gap:18px;align-items:stretch}
.home-insights .card{margin:0;min-width:0}
.chart-card{padding:24px 25px 20px;min-height:305px}
.chart-card .section-heading{margin-bottom:16px}
.chart-card h2{font-size:18px!important}
.chart-card .note{margin:6px 0 0}
.financial-trend{max-height:280px;min-width:520px}
.chart-legend{font-size:12px;gap:16px}
.reserve-preview{display:flex;flex-direction:column;min-width:0}
.reserve-preview .section-heading{margin:0}.reserve-preview h2{font-size:22px}
.reserve-preview .note{margin:11px 0 0;line-height:1.5}
.reserve-deco{font-size:26px;color:#48e6bb}
.reserve-preview-details{margin-top:auto;border-top:1px solid #3b5363;padding-top:18px;display:grid;gap:13px}
.reserve-preview-details .line{font-size:13px;gap:8px;flex-wrap:wrap}
.reserve-preview-details .line strong{font-variant-numeric:tabular-nums}
.reserve-preview-details .highlight{background:#174c43;border:1px solid #3e8c78;padding:13px;border-radius:12px}
.reserve-preview-details .highlight strong{font-size:17px}
.reserve-link{margin-top:17px;width:100%}
/* receipts */
.revenue-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.revenue-kpi{display:flex;align-items:center;gap:14px;border-radius:16px;border:1px solid #315167;background:linear-gradient(120deg,#142b40,#102236);padding:19px 20px;min-width:0}
.revenue-kpi.primary{border-color:#288c74;background:linear-gradient(130deg,#104139,#103335)}
.revenue-kpi .kpi-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;background:#174e44;border-radius:12px;font-size:23px;color:#55f5c5}
.revenue-kpi div{display:flex;flex-direction:column;gap:3px;min-width:0}
.revenue-kpi div span{font-size:13px;color:#cbdee6}
.revenue-kpi div strong{font-size:clamp(18px,2vw,25px);line-height:1.22;color:#4fe7bb;letter-spacing:-.03em;overflow-wrap:anywhere;white-space:normal}
.chart-card.revenue-chart{margin-top:16px;min-height:320px}
.chart-switch{display:flex;gap:4px;padding:4px;border:1px solid #3e5f70;background:#112b3d;border-radius:99px}
.chart-mode{padding:7px 14px;border:0;border-radius:99px;background:transparent;color:#c8d9e6;font-size:12px;font-weight:700}
.chart-mode.active{background:#1b6955;color:#d8ffed}
.revenue-lists{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.revenue-lists>.card{margin:0;min-width:0}
.revenue-lists .section-heading{align-items:flex-start}
.revenue-lists .section-heading .note{margin:5px 0}
.revenue-lists .data-grid{padding:12px 0}
.revenue-lists .income-value-actions{display:flex;align-items:center;gap:15px;min-width:0;flex-wrap:wrap;justify-content:flex-end}
.business-shortcut{display:flex;align-items:center;justify-content:space-between;gap:20px}
.business-shortcut h2{margin-bottom:5px}.business-shortcut .note{margin:0}
.business-shortcut .btn{flex:none}
/* expenses */
.expense-overview{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,1.65fr);gap:16px;align-items:stretch;margin:16px 0}
.expense-overview>.chart-card{margin:0;min-height:270px}
.expense-kpi-column{display:flex;flex-direction:column;min-width:0}
.expense-overview .finance-page-total{flex:1;min-height:130px;margin:0 0 11px;background:linear-gradient(120deg,#114b3e,#15363c);border-color:#288e75;justify-content:center}
.expense-overview .finance-page-total strong{font-size:clamp(29px,3.3vw,42px)}
.expense-status-kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.expense-status-kpis .stat{border:1px solid #345369;border-radius:13px;background:#152b3d;padding:15px}
.expense-status-kpis .stat .k{color:#b8d0dc;font-size:12px}
.expense-status-kpis .stat .v{font-size:clamp(17px,2vw,22px)}
.expense-overview .category-chart{gap:14px;margin-top:15px}
.expense-overview .category-track{height:11px}
.expense-overview .category-chart-line{font-size:12px}
.expense-overview .category-chart-line strong{font-size:12px}
.expense-overview .chart-card h2{font-size:18px!important}
.expense-subnav{max-width:420px;border-radius:13px;margin:6px 0 14px}
.due-summary-card{background:linear-gradient(120deg,#122536,#122235);padding:16px 20px;margin:14px 0}
.due-summary-card .section-heading{margin:0}.due-summary-card .summary-due{margin:9px 0;padding:10px 12px;border:0;background:none}
.due-summary-card .stat-pair{display:none} /* Summary stays in the header KPIs; avoid duplicated visual figures */
.due-summary-card .summary-due>.small{font-size:12px}
.payment-entry{padding:13px 0;align-items:center;gap:16px}
.payment-entry-info{min-width:0;overflow-wrap:anywhere}
.payment-entry-side{min-width:125px;flex:none}
.payment-entry .meta{font-size:12px;line-height:1.5}
.payment-entry-side .value{font-size:15px;font-variant-numeric:tabular-nums}
.payment-entry-buttons{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin-top:5px}
.payment-entry-buttons .btn{min-width:58px}
.payment-entry-info .status{margin-right:5px}
/* reserve */
#app .reserve-sums{display:flex;justify-content:space-between;align-items:end;gap:20px}
#app .reserve-large{font-size:clamp(28px,4vw,41px);letter-spacing:-.045em}
#app .reserve-goal{font-size:20px;color:#eaf7ff}
#app .forecast{border:1px solid #328f77;color:#c6fff0;background:#10352d;border-radius:13px;padding:14px 16px;line-height:1.7}
#app .progress{height:12px;margin:22px 0 17px}
/* Settings */
.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.settings-column{display:grid;gap:17px;min-width:0}
.settings-column .card{margin:0}
.profile-settings-card{background:linear-gradient(135deg,#103b38,#123144 85%);border-color:#257f70}
.profile-settings-row{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:23px}
.account-avatar.large{width:65px;height:65px;flex:none;font-size:23px}
.profile-settings-identity{min-width:0;display:flex;flex-direction:column;gap:5px;flex:1}
.profile-settings-identity strong{font-size:19px;line-height:1.2;overflow-wrap:anywhere}
.profile-settings-identity span{font-size:12px;color:#b0cddd;overflow-wrap:anywhere}
.profile-settings-buttons{display:flex;flex-direction:column;gap:9px;width:170px;max-width:100%}
.profile-settings-buttons .btn{padding:10px 9px;min-height:39px;font-size:12px}
.setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 2px;border-bottom:1px solid #2e495e;cursor:pointer}
.setting-toggle:last-child{border:0}.setting-toggle span{display:flex;flex-direction:column;gap:5px}
.setting-toggle strong{font-size:13px}.setting-toggle small{color:#a5bdcc;font-size:12px;line-height:1.35}
.setting-toggle input{appearance:none;position:relative;width:44px;height:25px;flex:none;border-radius:99px;border:1px solid #52677a;background:#586979;cursor:pointer}
.setting-toggle input:after{content:'';width:17px;height:17px;position:absolute;left:3px;top:3px;border-radius:50%;background:#f9fbff;transition:transform .15s ease}
.setting-toggle input:checked{background:#33cba2;border-color:#3dd5ad}
.setting-toggle input:checked:after{transform:translateX(19px)}
.setting-toggle.disabled-setting{cursor:default;opacity:.8}
.setting-toggle.disabled-setting .tag{white-space:nowrap}
.settings-external-link{display:flex;justify-content:space-between;align-items:center;padding:16px 13px;margin-top:8px;border:1px solid #2f5067;border-radius:12px;text-decoration:none;color:#d9edf5;background:#14293c;font-weight:700}
.settings-external-link span{font-size:22px;color:#62eac8}
.settings-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.category-settings .section-heading{align-items:flex-start}
.category-settings .category-header .btn{min-height:40px;flex:none}
.category-group{border:1px solid #29495d;border-radius:12px;margin:10px 0 0;background:#122b3a;overflow:hidden}
.category-group>summary{padding:15px 14px;list-style:none;display:flex;justify-content:space-between;gap:9px;align-items:center;cursor:pointer;color:#ebf8ff;font-weight:750;font-size:13px}
.category-group>summary::-webkit-details-marker{display:none}
.category-group>summary .small{white-space:nowrap;color:#a5bbca}
.category-group .details-content{padding:0 14px 13px}
.settings-danger{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}
.settings-danger .btn{flex:1}
.app-version{font-size:11px;color:#7894a7;text-align:center;margin:25px 0}
/* Gestão de usuários e convites */
#app .invite-row,#app .user-meta{min-width:0}
#app .invite-actions{min-width:0}
#app .card:has(#adminCodeForm) form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(175px,.5fr);align-items:start;gap:10px}
#app .card:has(#adminCodeForm) form .field{margin:0}
#app .card:has(#adminCodeForm) form .note{grid-column:1/-1;margin:0}
#app .card:has(#adminCodeForm) form>button{grid-column:1/-1;width:100%}
/* footer */
.app-footer{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;color:#9fb8c9;border-top:1px solid #2b4658;margin:34px 0 0;padding:23px 12px 8px;font-size:12px;text-align:center}
.app-footer a{color:#b9d6e3;text-decoration:none;border-bottom:1px dotted transparent}
.app-footer a:hover{border-bottom-color:#54eabc;color:#62ecc6}
.footer-beta{border:1px solid #2c5860;padding:3px 7px;border-radius:6px;color:#85beb0;font-size:10px}
/* Auth */
.auth-shell{border:1px solid #315068;border-radius:22px;background:linear-gradient(140deg,#13273b,#102033);box-shadow:0 24px 60px #0004;padding:26px}
.auth-logo-image{display:block;width:62px;height:62px;object-fit:contain;margin-bottom:14px;border-radius:16px}
.auth-shell h1{font-size:26px}
#app:has(.auth-shell){max-width:540px}
/* Responsive */
@media(max-width:1100px){
 .home-insights{grid-template-columns:minmax(0,1fr)}
 .reserve-preview-details{margin-top:16px}
 .revenue-lists{grid-template-columns:minmax(0,1fr)}
 .settings-layout{gap:12px}
 .profile-settings-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr}
}
@media(max-width:899px){
 .shell{max-width:860px;padding:16px 16px 104px}
 .app-topbar .system-logo-image{width:36px;height:36px}
 .app-topbar .system-name h1{font-size:19px!important}
 .app-topbar{margin-bottom:16px}
 .system-tagline{font-size:9px!important}
 .tabs{overflow:visible!important}
 .tabs-inner{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 .tab.nav-users{display:none}
 .tab.nav-profile{display:flex}
 .tab.nav-settings{display:flex}
 .tab{min-width:0;font-size:10px}
 .tab .ic{font-size:20px}
 .settings-layout{grid-template-columns:1fr}
 .card{padding:20px}
 .hero-summary .summary-total{padding:13px}
 .expense-overview{grid-template-columns:1fr}
 .expense-kpi-column{max-width:none}
 .revenue-kpis{grid-template-columns:repeat(3,1fr);gap:9px}
 .revenue-kpi{padding:14px 12px;gap:8px;flex-wrap:wrap}
 .revenue-kpi .kpi-icon{width:34px;height:34px}
}
@media(max-width:599px){
 .shell{padding:13px 13px 110px}
 .app-topbar .system-name h1{font-size:17px!important}
 .app-topbar .system-logo-image{width:34px;height:34px}
 .app-topbar .brand{gap:7px}
 .notice-trigger{width:38px;height:38px}
 .period-strip{padding:12px 11px;gap:10px}
 .period-strip .period-picker{flex-basis:auto;max-width:100%;min-width:0}
 .period-today{margin-left:auto;min-height:37px}
 .monthly-summary.hero-summary{padding:19px 17px;margin-bottom:14px}
 .hero-summary .summary-balance{font-size:37px}
 .hero-summary .summary-totals{gap:8px}
 .hero-summary .summary-total{gap:9px;padding:12px 9px}
 .summary-icon{width:31px;height:31px;font-size:18px;border-radius:9px}
 .hero-summary .summary-total span:not(.summary-icon){font-size:11px}
 .hero-summary .summary-total strong{font-size:16px}
 .home-insights{gap:12px}
 .chart-card{padding:19px 14px;min-height:0}
 .card{padding:18px 15px;margin:12px 0;border-radius:16px}
 .revenue-kpis{grid-template-columns:1fr;gap:10px}
 .revenue-kpi{flex-wrap:nowrap;padding:14px 17px}
 .revenue-kpi div strong{font-size:20px}
 .revenue-lists{gap:12px}
 .business-shortcut{align-items:stretch;flex-direction:column;gap:12px}
 .business-shortcut .btn{width:100%}
 .expense-overview{gap:12px;margin:12px 0}
 .expense-overview .finance-page-total{min-height:100px}
 .expense-overview .chart-card{min-height:0}
 .expense-status-kpis .stat{padding:12px}
 .payment-entry-side{min-width:0}
 .settings-links{grid-template-columns:1fr 1fr}
 .profile-settings-buttons{grid-template-columns:1fr 1fr}
 .app-footer{font-size:11px;margin-top:24px;padding:19px 5px 0;line-height:1.7}
 .app-footer .footer-dot{display:none}
 .app-footer>*{overflow-wrap:anywhere}
 #app .card:has(#adminCodeForm) form{grid-template-columns:1fr}
 #app .card:has(#adminCodeForm) form>*{grid-column:1!important}
 .page-title-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:359px){
 .hero-summary .summary-totals{grid-template-columns:1fr}
 .revenue-kpi .kpi-icon{width:30px;height:30px}
 .profile-settings-buttons{grid-template-columns:1fr}
 .settings-links{grid-template-columns:1fr}
 .app-topbar .system-name h1{font-size:15px!important}
 .tab .tab-label{font-size:9px}
}

/* Final visual consistency fixes */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hero-summary .summary-total .summary-icon{font-size:23px;line-height:1;color:#55f4bd}
.hero-summary .summary-total .expense-icon{color:#ff9aae}
.account-avatar.large{border-radius:50%;display:grid;place-items:center}
.financial-trend{overflow:visible}
.admin-summary-strip{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,auto);gap:8px;align-items:center;border:1px solid #347c6a;border-radius:15px;padding:15px 20px;background:linear-gradient(100deg,#143e36,#11323b);margin:16px 0}
.admin-summary-strip>div{min-width:0}
.admin-summary-strip>div:first-child{display:flex;flex-direction:column;gap:4px}
.admin-summary-strip strong{font-size:15px}
.admin-summary-strip small{color:#aecbc8;font-size:12px}
.admin-count{border-left:1px solid #427266;padding-left:18px;display:grid;gap:5px}
.admin-count span{color:#b4d1d3;font-size:11px}
.admin-count strong{font-size:19px}
.admin-search{flex:1;max-width:260px;margin-left:auto}
.admin-search input{width:100%;min-height:39px;border:1px solid #34546b;border-radius:10px;padding:9px 12px;background:#0b1c2c;color:#ecf8ff;font-size:12px}
.admin-user-entry[hidden]{display:none!important}
@media(max-width:899px){.admin-summary-strip{grid-template-columns:minmax(0,1fr) auto}.admin-count{padding-left:12px}}
@media(max-width:599px){.financial-trend{min-width:0!important;max-height:none!important;width:100%!important;height:auto!important}.chart-viewport{overflow-x:hidden!important}.admin-summary-strip{gap:7px;padding:13px}.admin-count{padding-left:7px}.admin-count strong{font-size:16px}.admin-count span{font-size:10px}.admin-search{max-width:none;width:100%;flex-basis:100%;order:3}.category-header{flex-wrap:wrap}.category-header .btn{max-width:100%}}

/* v2.8 — Três grupos consistentes na área de Despesas */
.expense-groups{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:17px}
.expense-groups .expense-group{margin:0;min-width:0}
.expense-group .section-heading{align-items:center;gap:16px;margin-bottom:12px}
.expense-group .section-heading>div{min-width:0;flex:1}
.expense-group .section-heading .note{max-width:850px;margin:6px 0 0}
.expense-group .section-heading>.btn{white-space:nowrap;flex:none}
.expense-group .payment-entry{gap:18px}
.expense-group .payment-entry-side{min-width:180px;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.expense-group .payment-entry-buttons{margin:0;gap:6px}
.expense-group .payment-entry-info .status{display:inline-flex;margin-top:5px}
.expense-group .payment-entry-info .cat-badge{display:inline-flex;margin:5px 0 0 4px}
.expense-group .group-total{border-top:1px solid #2b4456;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;padding-top:14px;font-size:13px;color:#b5cede}
.expense-group .group-total strong{font-variant-numeric:tabular-nums;color:#eef9ff;font-size:15px}
.card-collection{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:14px;margin-top:14px}
.card-collection>.card{margin:0;padding:18px;background:linear-gradient(155deg,#10273a,#0f1d2d)}
@media(max-width:680px){
 .expense-groups{gap:12px}
 .expense-group .section-heading{align-items:flex-start;flex-wrap:wrap}
 .expense-group .section-heading>.btn{width:100%;justify-content:center}
 .expense-group .payment-entry-side{min-width:0;width:100%;align-items:flex-start}
 .expense-group .payment-entry-buttons{justify-content:flex-start;width:100%}
 .expense-group .group-total{flex-wrap:wrap}
}
