/* ZenCaps: Financeiro moderno, somente apresentação em tela. */
@media screen{
.finance-shell{--zf-line:#dce9df;--zf-text:#1d402b;--zf-muted:#688070}
.finance-shell .page-heading{align-items:center;gap:17px 25px;margin-bottom:20px}
.finance-shell .page-heading h1{position:static;display:block;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal;color:#173c28;font-size:clamp(23px,2.15vw,31px);font-weight:850;line-height:1.2;letter-spacing:-.04em}
.finance-shell .page-heading .eyebrow{color:#138c50;font-size:10px;font-weight:850;letter-spacing:.11em;margin-bottom:7px}
.finance-shell .page-heading p{font-size:12px;color:var(--zf-muted);line-height:1.55;max-width:700px}
.finance-shell .heading-actions .btn{min-height:41px;border-radius:11px;padding:10px 15px;font-weight:800;background:#fff;color:#255b3e;border-color:#d5e6da}
.finance-shell .heading-actions .btn:hover{background:#edf8f1;border-color:#b3d7be}
.finance-shell .zen-finance-kpis{gap:14px;margin-bottom:17px}
.finance-shell .zen-finance-kpis .stat{min-width:0;min-height:143px;padding:18px 19px;border:1px solid var(--zf-line);border-radius:16px;overflow:hidden;background:linear-gradient(155deg,#fff 55%,#fbfefc);box-shadow:0 2px 8px rgba(27,66,36,.025),0 12px 28px rgba(27,66,36,.05)}
.finance-shell .zen-finance-kpis .stat::after{height:3px;left:19px;right:19px;opacity:.7}
.finance-shell .zen-finance-kpis .stat:nth-child(1)::after{background:#e4a539}
.finance-shell .zen-finance-kpis .stat:nth-child(2)::after{background:#db858b}
.finance-shell .zen-finance-kpis .stat:nth-child(3)::after{background:#39b676}
.finance-shell .zen-finance-kpis .stat:nth-child(4)::after{background:#618fc1}
.finance-shell .zen-finance-kpis .stat-icon{width:37px;height:37px;top:17px;right:17px;border-radius:11px}
.finance-shell .zen-finance-kpis .stat-label{max-width:calc(100% - 45px);font-size:10px;font-weight:850;letter-spacing:.055em;color:#697e70}
.finance-shell .zen-finance-kpis .stat-value{margin-top:24px;font-size:clamp(20px,1.8vw,28px);font-weight:850;line-height:1.26;color:var(--zf-text);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.finance-shell .zen-finance-kpis .stat-foot{margin-top:8px;color:#73877b;font-size:11px;line-height:1.45}
.finance-shell .zen-finance-pending-banner{min-height:66px;margin:0 0 16px;gap:14px;padding:13px 16px;border-radius:15px;border:1px solid #d1e9d8;border-left:4px solid #169956;background:linear-gradient(115deg,#edf9f1,#fff 89%);box-shadow:0 6px 18px rgba(27,66,36,.03)}
.finance-shell .zen-finance-pending-banner .zen-finance-orders-icon{width:41px;height:41px;border-radius:12px}
.finance-shell .zen-finance-pending-banner .zen-finance-orders-copy b{font-size:12.5px;color:#215038}
.finance-shell .zen-finance-pending-banner .zen-finance-orders-copy span{font-size:11px;color:#577965}
.finance-shell .zen-finance-pending-banner .btn{min-height:35px;padding:7px 12px;border:1px solid #d4e6d9;border-radius:9px;background:#fff;color:#205b39;font-weight:800;font-size:11px}
.finance-shell .zen-finance-analysis-grid{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:14px}
.finance-shell .zen-finance-analysis-grid>.finance-panel{min-height:0;min-width:0;padding:18px 20px;background:#fff;border:1px solid var(--zf-line);border-radius:16px;box-shadow:0 2px 8px rgba(27,66,36,.025),0 12px 28px rgba(27,66,36,.05)}
.finance-shell .zen-finance-section-kicker{display:block;margin-bottom:5px;color:#31925b;font-size:9.5px;font-weight:850;letter-spacing:.105em;line-height:1.4}
.finance-shell .zen-finance-analysis-grid .finance-panel-title{margin-bottom:12px}
.finance-shell .zen-finance-analysis-grid .finance-panel-title h2{color:#254830;font-size:15px;line-height:1.4;font-weight:850;letter-spacing:-.025em}
.finance-shell .zen-finance-analysis-grid .finance-panel-title p{margin-top:5px;color:#73887a;font-size:11px;line-height:1.5}
.finance-shell .zen-finance-no-delay{min-height:70px;gap:10px;padding:13px 14px;border:1px solid #dbece0;border-radius:11px;background:#eff8f2;color:#137544}
.finance-shell .zen-finance-no-delay strong{font-size:11.5px}
.finance-shell .zen-finance-no-delay span{font-size:10.5px}
.finance-shell .zen-finance-aging-panel>.finance-helper{padding-top:9px;margin:0;font-size:10.5px;color:#7a8d7f;line-height:1.5}
.finance-shell .zen-finance-analysis-grid .finance-aging-row{margin-top:9px;padding-block:5px}
.finance-shell .zen-finance-analysis-grid .finance-aging-label{font-size:11px}
.finance-shell .zen-finance-analysis-grid .finance-aging-track{height:7px;margin-top:8px}
.finance-shell .zen-finance-upcoming-panel .finance-highlight{min-height:61px;margin:0 0 8px;padding:12px 15px;gap:14px;background:#edf8f1;border-color:#d6e9db;border-radius:11px}
.finance-shell .zen-finance-upcoming-panel .finance-highlight b{color:#0c8548;font-size:clamp(19px,1.6vw,24px);line-height:1.25;letter-spacing:-.03em;white-space:nowrap}
.finance-shell .zen-finance-upcoming-panel .finance-highlight span{max-width:210px;color:#5c7a67;font-size:10.5px;line-height:1.4}
.finance-shell .zen-finance-upcoming-panel .finance-highlight.secondary{margin-bottom:0;background:#f8faf8;border-color:#e1eae2}
.finance-shell .zen-finance-upcoming-panel .finance-highlight.secondary b{color:#2b5039}
.finance-shell .zen-finance-receivables,.finance-shell .zen-finance-history{overflow:hidden;background:#fff;border:1px solid var(--zf-line);border-radius:16px;box-shadow:0 2px 8px rgba(27,66,36,.025),0 14px 31px rgba(27,66,36,.055)}
.finance-shell .zen-finance-receivables.table-card.section-gap,.finance-shell .zen-finance-history.table-card.section-gap{margin-top:16px}
.finance-shell .zen-finance-ledger-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(500px,1.5fr);align-items:center;gap:13px 20px;padding:17px 19px;background:linear-gradient(115deg,#f7fbf8,#fff 65%);border-bottom:1px solid var(--zf-line)}
.finance-shell .zen-finance-ledger-intro{min-width:0}
.finance-shell .zen-finance-ledger-intro>b{display:block;color:#254b35;font-size:15px;font-weight:850;letter-spacing:-.025em;line-height:1.45}
.finance-shell .zen-finance-ledger-intro .finance-helper{max-width:510px;margin-top:5px;color:#738a7b;font-size:10.5px;line-height:1.45}
.finance-shell .zen-finance-filters{display:grid;grid-template-columns:minmax(170px,1.35fr) minmax(135px,1fr) minmax(175px,1fr);gap:8px;width:100%;min-width:0}
.finance-shell .zen-finance-filters .searchbox,.finance-shell .zen-finance-filters .select.compact{min-width:0;max-width:none;width:100%;height:40px;min-height:40px;margin:0;border:1px solid #d4e6d9;border-radius:10px;background:#fff;color:#355744}
.finance-shell .zen-finance-filters .searchbox input{min-width:0;color:#355744;font-size:11.5px}
.finance-shell .zen-finance-filters .searchbox input::placeholder{color:#8da093}
.finance-shell .zen-finance-filters :is(.searchbox,.select):focus-within{border-color:#59ae7c;box-shadow:0 0 0 3px rgba(12,145,75,.10)}
.finance-shell .zen-finance-table-scroll{max-width:100%;overflow-x:auto;scrollbar-gutter:stable}
.finance-shell .zen-finance-table{width:100%;min-width:1100px;border-collapse:separate;border-spacing:0}
.finance-shell .zen-finance-table th{padding:13px 12px;background:#f1f7f3;color:#60786a;font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;border-bottom:1px solid #e0ebe2}
.finance-shell .zen-finance-table th:nth-child(2){min-width:195px}
.finance-shell .zen-finance-table th:last-child{min-width:132px}
.finance-shell .zen-finance-table td{padding:14px 12px;vertical-align:middle;color:#385240;font-size:11.5px;line-height:1.5;border-bottom:1px solid #e9f0eb}
.finance-shell .zen-finance-table tbody tr:nth-child(even){background:#fcfefd}
.finance-shell .zen-finance-table tbody tr:hover{background:#eff8f2}
.finance-shell .zen-finance-code{display:block;color:#246641;font-size:12px;font-weight:850;letter-spacing:-.02em}
.finance-shell .zen-finance-customer{display:block;color:#23472f;font-size:12.5px;font-weight:850}
.finance-shell .zen-finance-operation{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;margin-top:6px;padding:4px 8px;background:#e9f7ed;border:1px solid #cce5d4;border-radius:8px;color:#286b43;font-size:10.5px;font-weight:800;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.finance-shell .zen-finance-operation svg{flex:0 0 12px}
.finance-shell .zen-finance-op-primary{background:#f4f6f4;border-color:#e0e7e1;color:#63776a}
.finance-shell .zen-finance-date{color:#4c6754;font-weight:650;font-variant-numeric:tabular-nums}
.finance-shell .zen-finance-total,.finance-shell .zen-finance-paid{font-variant-numeric:tabular-nums;color:#496452}
.finance-shell .zen-finance-saldo b{color:#195f38;font-size:12.5px;font-weight:850;font-variant-numeric:tabular-nums}
.finance-shell .zen-finance-row-overdue .zen-finance-saldo b{color:#a44545}
.finance-shell .zen-finance-status-pill{display:inline-flex;max-width:100%}
.finance-shell .zen-finance-status-pill .badge{display:inline-flex;white-space:nowrap;padding:6px 10px;border-radius:999px;font-size:10.5px;font-weight:850;line-height:1.25}
.finance-shell .zen-finance-actions{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:nowrap}
.finance-shell .zen-finance-actions .zen-finance-action{display:inline-grid;place-items:center;width:33px;min-width:33px;height:34px;min-height:34px;padding:0;border:1px solid #dce7df;border-radius:9px;background:#fff;color:#43634d}
.finance-shell .zen-finance-actions .zen-finance-receive{min-height:34px;padding:7px 12px;border:1px solid #c4e7d2;border-radius:9px;background:#e8f6ed;color:#137647;font-size:11px;font-weight:850}
.finance-shell .zen-finance-actions .btn:hover:not(:disabled){background:#dcf3e5;border-color:#a4d5b4;color:#095f38}
.finance-shell .zen-finance-actions .btn:focus-visible,.finance-shell .zen-finance-filters :is(input,select):focus-visible{outline:2px solid #0d9955;outline-offset:2px}
.finance-shell .zen-finance-history-toolbar{padding:17px 19px;background:linear-gradient(115deg,#f8fbf9,#fff 65%);border-bottom:1px solid var(--zf-line)}
.finance-shell .zen-finance-history-toolbar b{display:block;color:#254a34;font-size:14.5px;font-weight:850}
.finance-shell .zen-finance-history-toolbar .finance-helper{margin-top:5px;color:#738979;font-size:10.5px}
.finance-shell .zen-finance-history.zen-empty-table .empty{min-height:156px;padding:20px 15px 23px}
.finance-shell .zen-finance-history.zen-empty-table .empty-icon{width:42px;height:42px;margin-bottom:8px;border-radius:12px}
.finance-shell .zen-finance-history.zen-empty-table .empty strong{font-size:12px}
.finance-shell .zen-finance-history.zen-empty-table .empty p{max-width:390px;margin:6px auto 0;font-size:11px;line-height:1.5}
.finance-shell .zen-finance-history-table{min-width:760px}
.finance-shell .zen-finance-history-table .zen-finance-action{display:inline-grid;place-items:center;width:32px;height:32px;min-height:32px;border:1px solid #dbe8df;border-radius:9px;background:#fff;color:#43634d}
@media(max-width:1300px){.finance-shell .zen-finance-ledger-toolbar{grid-template-columns:1fr}.finance-shell .zen-finance-filters{max-width:900px}}
@media(max-width:820px){.finance-shell .zen-finance-analysis-grid{grid-template-columns:1fr}}
@media(max-width:700px){.finance-shell .zen-finance-kpis{gap:10px}.finance-shell .zen-finance-analysis-grid>.finance-panel{padding:15px}.finance-shell .zen-finance-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-shell .zen-finance-filters .searchbox{grid-column:1/-1}}
@media(max-width:470px){.finance-shell .zen-finance-kpis .stat{padding:15px;min-height:132px}.finance-shell .zen-finance-kpis .stat-value{font-size:clamp(18px,5vw,23px)}.finance-shell .zen-finance-filters{grid-template-columns:1fr}.finance-shell .zen-finance-ledger-toolbar,.finance-shell .zen-finance-history-toolbar{padding:14px 13px}.finance-shell .zen-finance-upcoming-panel .finance-highlight{flex-wrap:wrap}.finance-shell .zen-finance-upcoming-panel .finance-highlight span{text-align:left;max-width:none}}
@media(prefers-reduced-motion:reduce){.finance-shell .zen-finance-kpis .stat,.finance-shell .zen-finance-row,.finance-shell .zen-finance-actions .btn{transition:none}.finance-shell .zen-finance-kpis .stat:hover{transform:none}}
html[data-theme="dark"] .finance-shell{--zf-line:#3b5845;--zf-text:#e7f4e9;--zf-muted:#bcd3c1}
html[data-theme="dark"] .finance-shell .page-heading h1{color:#eaf7ed}
html[data-theme="dark"] .finance-shell .page-heading .eyebrow,html[data-theme="dark"] .finance-shell .zen-finance-section-kicker{color:#86deac}
html[data-theme="dark"] .finance-shell .heading-actions .btn{background:#263e2f;border-color:#4d6e56;color:#d5f2df}
html[data-theme="dark"] .finance-shell .zen-finance-kpis .stat{background:linear-gradient(145deg,#203427,#19291f);border-color:#395641}
html[data-theme="dark"] .finance-shell .zen-finance-kpis :is(.stat-label,.stat-foot){color:#bcd2c2}
html[data-theme="dark"] .finance-shell .zen-finance-pending-banner{background:linear-gradient(115deg,#1d3928,#192a20);border-color:#3f6049;border-left-color:#39bd78}
html[data-theme="dark"] .finance-shell .zen-finance-pending-banner .zen-finance-orders-copy b{color:#e3f5e8}
html[data-theme="dark"] .finance-shell .zen-finance-pending-banner .zen-finance-orders-copy span{color:#bcd5c4}
html[data-theme="dark"] .finance-shell .zen-finance-pending-banner .btn{background:#284332;color:#dcf1df;border-color:#4c7157}
html[data-theme="dark"] .finance-shell .zen-finance-analysis-grid>.finance-panel{background:#1c2b21;border-color:#395641}
html[data-theme="dark"] .finance-shell .zen-finance-analysis-grid .finance-panel-title h2{color:#e1f3e6}
html[data-theme="dark"] .finance-shell .zen-finance-analysis-grid .finance-panel-title p,html[data-theme="dark"] .finance-shell .zen-finance-aging-panel>.finance-helper{color:#b6cbbc}
html[data-theme="dark"] .finance-shell .zen-finance-no-delay{color:#b0edc5;background:#203c2b;border-color:#446c4f}
html[data-theme="dark"] .finance-shell .zen-finance-upcoming-panel .finance-highlight{background:#20402d;border-color:#43664c}
html[data-theme="dark"] .finance-shell .zen-finance-upcoming-panel .finance-highlight b{color:#a9efc5}
html[data-theme="dark"] .finance-shell .zen-finance-upcoming-panel .finance-highlight span{color:#c1d6c8}
html[data-theme="dark"] .finance-shell .zen-finance-upcoming-panel .finance-highlight.secondary{background:#27382c;border-color:#405845}
html[data-theme="dark"] .finance-shell .zen-finance-upcoming-panel .finance-highlight.secondary b{color:#e0f2e3}
html[data-theme="dark"] .finance-shell .zen-finance-receivables,html[data-theme="dark"] .finance-shell .zen-finance-history{background:#1c2a20;border-color:#395641}
html[data-theme="dark"] .finance-shell .zen-finance-ledger-toolbar,html[data-theme="dark"] .finance-shell .zen-finance-history-toolbar{background:linear-gradient(110deg,#1e3427,#1a2b21);border-color:#3b5845}
html[data-theme="dark"] .finance-shell .zen-finance-ledger-intro>b,html[data-theme="dark"] .finance-shell .zen-finance-history-toolbar b{color:#edf7ef}
html[data-theme="dark"] .finance-shell .zen-finance-ledger-intro .finance-helper,html[data-theme="dark"] .finance-shell .zen-finance-history-toolbar .finance-helper{color:#b8ccbd}
html[data-theme="dark"] .finance-shell .zen-finance-filters :is(.searchbox,.select.compact){background:#203628;color:#e1f2e6;border-color:#426249}
html[data-theme="dark"] .finance-shell .zen-finance-filters .searchbox input{color:#e4f3e7}
html[data-theme="dark"] .finance-shell .zen-finance-filters .searchbox input::placeholder{color:#acbfaf}
html[data-theme="dark"] .finance-shell .zen-finance-table th{background:#233d2b;color:#bdd6c3;border-color:#385642}
html[data-theme="dark"] .finance-shell .zen-finance-table tbody tr:nth-child(even){background:#1d3024}
html[data-theme="dark"] .finance-shell .zen-finance-table tbody tr:hover{background:#2a4433}
html[data-theme="dark"] .finance-shell .zen-finance-table td{color:#dceade;border-color:#364c3c}
html[data-theme="dark"] .finance-shell .zen-finance-code{color:#bcf0cb}
html[data-theme="dark"] .finance-shell .zen-finance-customer{color:#e5f4e7}
html[data-theme="dark"] .finance-shell .zen-finance-operation{background:#244631;border-color:#4a7155;color:#d9f3e0}
html[data-theme="dark"] .finance-shell .zen-finance-op-primary{background:#283b2d;border-color:#465b48;color:#c5d9c9}
html[data-theme="dark"] .finance-shell :is(.zen-finance-date,.zen-finance-total,.zen-finance-paid){color:#c4d9c9}
html[data-theme="dark"] .finance-shell .zen-finance-saldo b{color:#bdf0ce}
html[data-theme="dark"] .finance-shell .zen-finance-row-overdue .zen-finance-saldo b{color:#ffacab}
html[data-theme="dark"] .finance-shell .zen-finance-actions .zen-finance-action,html[data-theme="dark"] .finance-shell .zen-finance-history-table .zen-finance-action{background:#223a2a;color:#d5eada;border-color:#4b6853}
html[data-theme="dark"] .finance-shell .zen-finance-actions .zen-finance-receive{background:#28543a;color:#d0f0db;border-color:#487e59}
html[data-theme="dark"] .finance-shell .zen-finance-actions .btn:hover:not(:disabled){background:#346347;color:#fff;border-color:#6aa57a}
}
