.atlasFinanceToolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:-8px 0 18px}.atlasFinanceToolbar .field{width:min(290px,100%)}
.atlasFinanceKpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.atlasFinanceKpi{min-width:0;background:#fff;border:1px solid #e6ecf0;border-radius:14px;padding:18px;display:grid;gap:8px;box-shadow:0 4px 16px rgba(28,52,75,.025)}.atlasFinanceKpi span,.atlasFinanceKpi small{color:#708194;font-size:12px}.atlasFinanceKpi strong{font-size:clamp(18px,2vw,24px);letter-spacing:-.5px;overflow-wrap:anywhere}.atlasFinanceKpi.positive strong{color:#117b70}.atlasFinanceKpi.negative strong{color:#b04b45}
.atlasFinanceGrid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:16px;margin-bottom:16px}.atlasFinanceCard{min-width:0;background:#fff;border:1px solid #e6ecf0;border-radius:16px;padding:20px;box-shadow:0 4px 16px rgba(28,52,75,.025)}.atlasFinanceHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.atlasFinanceHead h2{margin:0 0 5px}.atlasFinanceHead .muted{margin:0}.atlasFinanceChart{min-width:0}.atlasFinanceChart svg{width:100%;height:auto;overflow:visible}.atlasFinanceChart svg line{stroke:#e8eef1}.atlasFinanceChart svg text{fill:#7d8b9a;font:11px system-ui,sans-serif}.atlasFinanceLegend{display:flex;flex-wrap:wrap;gap:15px;font-size:12px;color:#718191;margin:3px 0 9px}.atlasFinanceLegend i,.atlasFinanceLegendList i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}.atlasFinanceLegend .rev,.atlasFinanceLegendList .variable{background:#168775}.atlasFinanceLegend .cost{background:#d7a15e}
.atlasFinanceDonutRow{display:flex;align-items:center;justify-content:center;gap:24px;padding:15px 0 18px}.atlasFinanceDonut{--fixed:0%;width:160px;height:160px;flex:none;border-radius:50%;background:conic-gradient(#d7a15e 0 var(--fixed),#168775 var(--fixed) 100%);display:grid;place-content:center;position:relative;text-align:center}.atlasFinanceDonut:before{content:"";position:absolute;inset:15px;border-radius:50%;background:#fff}.atlasFinanceDonut strong,.atlasFinanceDonut small{z-index:1}.atlasFinanceDonut strong{font-size:18px;letter-spacing:-.4px}.atlasFinanceDonut small{color:#708194;font-size:11px}.atlasFinanceLegendList{display:grid;gap:14px;font-size:12px;color:#708194}.atlasFinanceLegendList b{color:#35485a;margin-right:4px}.atlasFinanceLegendList .fixed{background:#d7a15e}.atlasFinanceNote{border-top:1px solid #edf1f3;padding-top:12px;margin:0;color:#708194;font-size:11px;line-height:1.55}
.atlasFinanceTableWrap{width:100%;overflow:auto}.atlasFinanceTable{width:100%;border-collapse:collapse;font-size:12px}.atlasFinanceTable th{text-align:left;color:#82909d;font-size:10px;text-transform:uppercase;letter-spacing:.5px;padding:10px 8px;border-bottom:1px solid #e6ecf0}.atlasFinanceTable td{padding:12px 8px;border-bottom:1px solid #edf1f3;vertical-align:middle}.atlasFinanceTable tr:last-child td{border-bottom:0}.atlasFinanceTable .amount{font-weight:750;white-space:nowrap;color:#314356}.atlasFinanceTable .actions{white-space:nowrap;text-align:right}.atlasFinanceTable .smallLink{border:0;background:none;color:#137a73;padding:4px 6px;font-size:11px}.atlasFinanceTable .smallLink.danger{color:#a34e4e}.atlasFinanceTable .tag{white-space:nowrap}
.atlasFinanceBackdrop[hidden]{display:none}.atlasFinanceBackdrop{position:fixed;inset:0;z-index:60;background:#102033aa;display:grid;place-items:center;padding:18px}.atlasFinanceModal{width:min(560px,100%);max-height:calc(100dvh - 36px);overflow:auto;background:#fff;border-radius:16px;padding:22px;box-shadow:0 18px 60px #0b1a2a35}.atlasFinanceModal h2{margin:0 0 5px}.atlasFinanceModal .atlasFinanceHead{align-items:center}.atlasFinanceClose{border:0;border-radius:8px;background:#f0f4f6;color:#506273;width:34px;height:34px;font-size:22px;line-height:1}.atlasFinanceForm{display:grid;gap:14px}.atlasFinanceForm .grid{gap:12px}.atlasFinanceActions{display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.atlasFinanceCategoryAdd{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.atlasFinanceCategoryAdd input{width:100%}.atlasFinanceCategoryRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 4px;border-bottom:1px solid #edf1f3}.atlasFinanceCategoryRow:last-child{border-bottom:0}
@media(max-width:1050px){.atlasFinanceKpis{grid-template-columns:repeat(2,minmax(0,1fr))}.atlasFinanceGrid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:740px){.atlasFinanceToolbar{align-items:stretch;flex-direction:column}.atlasFinanceToolbar .field{width:100%}.atlasFinanceCard{padding:15px}.atlasFinanceGrid{gap:12px}.atlasFinanceDonut{width:130px;height:130px}.atlasFinanceTable thead{display:none}.atlasFinanceTable,.atlasFinanceTable tbody,.atlasFinanceTable tr,.atlasFinanceTable td{display:block;width:100%}.atlasFinanceTable tbody{display:grid;gap:9px}.atlasFinanceTable tr{border:1px solid #e6ecf0;border-radius:11px;padding:9px 11px}.atlasFinanceTable td{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:5px 0;border:0;text-align:right}.atlasFinanceTable td:before{content:attr(data-label);color:#82909d;font-size:10px;text-align:left}.atlasFinanceTable td:first-child{padding-bottom:8px;margin-bottom:2px;border-bottom:1px solid #edf1f3;text-align:left}.atlasFinanceTable td:first-child:before{content:none}.atlasFinanceTable td.actions{justify-content:flex-end;border-top:1px solid #edf1f3;margin-top:4px;padding-top:9px}.atlasFinanceTable td.actions:before{content:none}.atlasFinanceModal{padding:17px}.atlasFinanceForm .grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.atlasFinanceDonutRow{flex-direction:column;gap:15px}.atlasFinanceForm .grid.two{grid-template-columns:minmax(0,1fr)}.atlasFinanceActions{flex-direction:column-reverse}.atlasFinanceActions .btn{width:100%}.atlasFinanceKpi{padding:13px}}
