.react-grid-layout{position:relative;transition:height .2s ease}.react-grid-item{transition:all .2s ease;transition-property:left,top,width,height}.react-grid-item img{pointer-events:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform,width,height}.react-grid-item.resizing{transition:none;z-index:1;will-change:width,height}.react-grid-item.react-draggable-dragging{transition:none;z-index:3;will-change:transform}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:red;opacity:.2;transition-duration:.1s;z-index:2;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.react-grid-item.react-grid-placeholder.placeholder-resizing{transition:none}.react-grid-item>.react-resizable-handle{position:absolute;width:20px;height:20px}.react-grid-item>.react-resizable-handle:after{content:"";position:absolute;right:3px;bottom:3px;width:5px;height:5px;border-right:2px solid rgba(0,0,0,.4);border-bottom:2px solid rgba(0,0,0,.4)}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-w,.react-grid-item>.react-resizable-handle.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.widget-library-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.widget-library-modal{background:#fff;border-radius:12px;width:100%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #0003}.library-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e2e8f0}.library-header h2{font-size:20px;font-weight:600;margin:0;color:#1e293b}.close-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;border-radius:8px;background:transparent;color:#6b7280;cursor:pointer;transition:all .2s}.close-btn:hover{background:#f3f4f6;color:#374151}.library-filters{padding:16px 24px;border-bottom:1px solid #e2e8f0}.search-box{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:12px;background:#f8fafc}.search-box:focus-within{border-color:#3b82f6;background:#fff}.search-box svg{color:#94a3b8}.search-box input{flex:1;border:none;background:transparent;font-size:14px;outline:none;color:#1e293b}.search-box input::placeholder{color:#94a3b8}.module-filters{display:flex;gap:6px;flex-wrap:wrap}.module-filter-btn{padding:6px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s}.module-filter-btn:hover{border-color:#3b82f6;color:#3b82f6}.module-filter-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.library-content{flex:1;overflow-y:auto;padding:20px 24px}.widget-module-section{margin-bottom:24px}.widget-module-section:last-child{margin-bottom:0}.module-title{font-size:16px;font-weight:600;color:#334155;margin:0 0 12px;padding-bottom:6px;border-bottom:2px solid #e2e8f0}.widgets-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.widget-card{display:flex;gap:12px;padding:12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;transition:all .2s;cursor:pointer}.widget-card:hover{border-color:#3b82f6;box-shadow:0 2px 8px #3b82f61a}.widget-card.added{background:#f8fafc;border-color:#cbd5e1}.widget-card-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;background:#dbeafe;color:#3b82f6;flex-shrink:0}.widget-card.added .widget-card-icon{background:#e2e8f0;color:#94a3b8}.widget-card-content{flex:1;min-width:0}.widget-card-title{font-size:14px;font-weight:600;color:#1e293b;margin:0 0 3px}.widget-card-description{font-size:12px;color:#64748b;margin:0 0 6px;line-height:1.4}.widget-card-meta{display:flex;gap:6px;font-size:11px}.widget-type{padding:2px 6px;border-radius:4px;background:#f1f5f9;color:#64748b;text-transform:capitalize}.widget-size{padding:2px 6px;border-radius:4px;background:#fef3c7;color:#92400e;font-weight:500}.widget-card-action{display:flex;align-items:center}.widget-btn{display:flex;align-items:center;gap:4px;padding:6px 12px;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.widget-btn-add{background:#3b82f6;color:#fff}.widget-btn-add:hover{background:#2563eb}.widget-btn-added{background:#e2e8f0;color:#94a3b8;cursor:not-allowed}.no-results{text-align:center;padding:60px 20px;color:#9ca3af}.no-results p{font-size:16px;margin:0}@media (max-width: 768px){.widget-library-overlay{padding:8px}.widget-library-modal{max-height:95vh;border-radius:8px}.library-header{padding:16px}.library-header h2{font-size:18px}.library-filters{padding:12px 16px}.library-content{padding:16px}.widgets-grid{grid-template-columns:1fr;gap:10px}.widget-card{padding:10px}.widget-card-icon{width:36px;height:36px}.widget-card-title{font-size:13px}.widget-card-description{font-size:11px}.module-filter-btn{font-size:12px;padding:5px 12px}}@media (max-width: 480px){.library-header{padding:12px}.library-header h2{font-size:16px}.library-filters{padding:10px 12px}.library-content{padding:12px}.widget-card{padding:8px;gap:8px}.module-title{font-size:14px}}:root{--dashboard-bg: #f8fafc;--dashboard-paper: #ffffff;--dashboard-border: rgba(0, 0, 0, .06);--dashboard-text: #1e293b;--dashboard-text-secondary: #64748b;--dashboard-primary: #2563eb;--dashboard-shadow: 0 1px 3px rgba(0, 0, 0, .06);--dashboard-shadow-hover: 0 4px 12px rgba(0, 0, 0, .08)}[data-theme=dark] .customizable-dashboard,.dark .customizable-dashboard{--dashboard-bg: #0f172a;--dashboard-paper: #1e293b;--dashboard-border: rgba(255, 255, 255, .06);--dashboard-text: #f1f5f9;--dashboard-text-secondary: #94a3b8;--dashboard-primary: #3b82f6;--dashboard-shadow: 0 1px 3px rgba(0, 0, 0, .3);--dashboard-shadow-hover: 0 4px 12px rgba(0, 0, 0, .4)}.customizable-dashboard{padding:16px;min-height:100vh}.dashboard-loading{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:var(--dashboard-bg);z-index:9999}.loading-spinner{width:32px;height:32px;border:2px solid var(--dashboard-border);border-top-color:var(--dashboard-primary);border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toolbar-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease;background:var(--dashboard-paper);color:var(--dashboard-text-secondary);border:1px solid var(--dashboard-border)}.toolbar-btn:hover{background:var(--dashboard-border);color:var(--dashboard-text)}.toolbar-btn-primary{background:var(--dashboard-primary);color:#fff;border-color:transparent}.toolbar-btn-primary:hover{background:#1d4ed8}.toolbar-btn-secondary{background:transparent;border:1px solid var(--dashboard-border)}.toolbar-btn-success{background:#10b981;color:#fff;border-color:transparent}.toolbar-btn-success:hover{background:#059669}.toolbar-btn-large{padding:10px 20px;font-size:14px}.toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.edit-mode-hint{background:var(--dashboard-paper)!important;border:1px solid var(--dashboard-primary)!important;border-radius:8px!important;color:var(--dashboard-text)!important}.edit-mode-hint .hint-icon{color:var(--dashboard-primary)}.dashboard-grid{position:relative}.dashboard-grid-item{background:var(--dashboard-paper);border-radius:10px;box-shadow:var(--dashboard-shadow);overflow:hidden;transition:box-shadow .2s ease}.dashboard-grid-item:hover{box-shadow:var(--dashboard-shadow-hover)}.react-grid-item.react-grid-placeholder{background:var(--dashboard-primary);opacity:.15;border-radius:10px}.react-grid-item.resizing,.react-grid-item.react-draggable-dragging{box-shadow:0 8px 24px #2563eb33;z-index:100}.widget-wrapper{height:100%;display:flex;flex-direction:column;background:var(--dashboard-paper)}.widget-wrapper.edit-mode{border:2px dashed transparent;transition:border-color .2s}.widget-wrapper.edit-mode:hover{border-color:var(--dashboard-primary)}.widget-header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid var(--dashboard-border);background:var(--dashboard-paper);gap:10px}.widget-title-text{flex:1;font-size:13px;font-weight:600;color:var(--dashboard-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.widget-drag-handle{cursor:move;display:flex;align-items:center;color:var(--dashboard-text-secondary);opacity:.6;flex-shrink:0}.widget-drag-handle:hover{opacity:1;color:var(--dashboard-primary)}.widget-action-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;border-radius:6px;background:transparent;color:var(--dashboard-text-secondary);cursor:pointer;transition:all .15s ease;flex-shrink:0}.widget-action-btn:hover,.widget-remove-btn:hover{background:#fee2e2;color:#ef4444}.widget-content{flex:1;overflow:auto;padding:12px;background:var(--dashboard-paper)}.widget-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--dashboard-text-secondary);font-size:13px}.widget-loading,.widget-error{height:100%;display:flex;align-items:center;justify-content:center;color:var(--dashboard-text-secondary);font-size:13px}.widget-error{color:#ef4444}.dashboard-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;text-align:center;color:var(--dashboard-text-secondary);background:var(--dashboard-paper);border-radius:12px;box-shadow:var(--dashboard-shadow);padding:40px}.empty-icon{color:var(--dashboard-text-secondary);opacity:.5;margin-bottom:16px}.dashboard-empty h2{font-size:18px;font-weight:600;color:var(--dashboard-text);margin-bottom:8px}.dashboard-empty p{font-size:14px;margin-bottom:20px;color:var(--dashboard-text-secondary)}.save-notification{position:fixed;bottom:24px;right:24px;background:var(--dashboard-paper);padding:12px 20px;border-radius:10px;box-shadow:0 4px 20px #00000026;display:flex;align-items:center;gap:10px;font-weight:500;font-size:14px;z-index:10000;color:#10b981;border:1px solid rgba(16,185,129,.2)}.save-notification .icon{color:#10b981}.dashboard-getting-started{margin-bottom:16px}@media (max-width: 768px){.customizable-dashboard{padding:12px}.widget-content{padding:10px}.widget-header{padding:8px 12px}.widget-title-text{font-size:12px}.save-notification{bottom:80px;right:12px;left:12px;font-size:13px}.edit-mode-hint{font-size:12px;flex-wrap:wrap}}@media (max-width: 480px){.customizable-dashboard,.widget-content{padding:8px}.widget-header{padding:6px 10px}.widget-title-text{font-size:11px}.widget-action-btn{width:20px;height:20px}}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px}.stat-card{padding:12px;border-radius:10px;background:var(--color-bg-subtle, #f8fafc);transition:transform .15s ease}.stat-card:hover{transform:translateY(-1px)}.stat-label{font-size:10px;color:var(--color-text-secondary, #64748b);margin-bottom:6px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.stat-value{font-size:20px;font-weight:700;color:var(--color-text, #1e293b);margin-bottom:4px;line-height:1.1}.stat-change{font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:3px;padding:3px 8px;border-radius:6px}.stat-change.positive{color:var(--color-success, #10b981);background:var(--color-success-bg, rgba(16, 185, 129, .1))}.stat-change.negative{color:var(--color-error, #ef4444);background:var(--color-error-bg, rgba(239, 68, 68, .1))}.widget-list{display:flex;flex-direction:column;gap:6px}.list-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:var(--color-bg-subtle, #f8fafc);border-radius:10px;transition:background .15s ease,transform .15s ease}.list-item:hover{background:var(--color-bg-hover, rgba(0, 0, 0, .04));transform:translate(2px)}.list-item-content{flex:1;min-width:0}.list-item-title{font-size:13px;font-weight:600;color:var(--color-text, #1e293b);margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-item-subtitle{font-size:11px;color:var(--color-text-secondary, #64748b)}.list-item-value{font-size:14px;font-weight:700;color:var(--color-primary, #3b82f6);white-space:nowrap;padding-left:12px}.alert-item{display:flex;gap:10px;padding:10px 12px;background:var(--color-warning-bg, rgba(245, 158, 11, .08));border-left:3px solid var(--color-warning, #f59e0b);border-radius:8px;margin-bottom:6px}.alert-item.info{background:var(--color-info-bg, rgba(59, 130, 246, .08));border-left-color:var(--color-info, #3b82f6)}.alert-item.success{background:var(--color-success-bg, rgba(16, 185, 129, .08));border-left-color:var(--color-success, #10b981)}.alert-item.error{background:var(--color-error-bg, rgba(239, 68, 68, .08));border-left-color:var(--color-error, #ef4444)}.alert-icon{flex-shrink:0;color:var(--color-warning, #f59e0b);opacity:.9}.alert-item.info .alert-icon{color:var(--color-info, #3b82f6)}.alert-item.success .alert-icon{color:var(--color-success, #10b981)}.alert-item.error .alert-icon{color:var(--color-error, #ef4444)}.alert-content{flex:1;min-width:0}.alert-title{font-size:12px;font-weight:600;color:var(--color-text, #1e293b);margin-bottom:2px}.alert-message{font-size:11px;color:var(--color-text-secondary, #64748b);line-height:1.4}.overview-widget{display:flex;flex-direction:column;gap:10px;height:100%}.overview-header{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:10px;color:#fff}.overview-header.blue{background:var(--color-primary, #3b82f6)}.overview-header.purple{background:#8b5cf6}.overview-header.teal{background:#14b8a6}.overview-header.orange{background:#f59e0b}.overview-header .header-left{display:flex;align-items:center;gap:10px}.overview-header .header-icon{opacity:.9}.overview-header .header-info{display:flex;flex-direction:column}.overview-header .header-count{font-size:1.5rem;font-weight:700;line-height:1}.overview-header .header-label{font-size:.7rem;opacity:.9}.overview-header .header-amount{font-size:1rem;font-weight:600;opacity:.95}.status-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;flex:1}.status-card{display:flex;flex-direction:column;padding:10px 12px;border-radius:10px;transition:transform .15s ease}.status-card:hover{transform:scale(1.02)}.status-header{display:flex;align-items:center;gap:6px;margin-bottom:6px}.status-label{font-size:11px;font-weight:600}.status-content{display:flex;flex-direction:column}.status-count{font-size:1.25rem;font-weight:700;line-height:1.2}.status-amount{font-size:11px;color:var(--color-text-secondary, #64748b)}.invoices-overview-widget{display:flex;flex-direction:column;gap:10px;height:100%}.invoices-header{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:10px;color:#fff;background:var(--color-primary, #3b82f6)}.invoices-total{display:flex;align-items:center;gap:10px}.invoices-header .total-info{display:flex;flex-direction:column}.invoices-header .total-count{font-size:1.5rem;font-weight:700;line-height:1}.invoices-header .total-label{font-size:.7rem;opacity:.9}.invoices-header .total-amount{font-size:1rem;font-weight:600;opacity:.95}.invoices-status-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;flex:1}.cashflow-widget{display:flex;flex-direction:column;gap:10px;height:100%}.cashflow-header{display:flex;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--color-border, rgba(0,0,0,.06))}.cashflow-icon{color:var(--color-text-secondary, #64748b)}.cashflow-title{font-size:13px;font-weight:600;color:var(--color-text, #1e293b)}.cashflow-amounts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cashflow-amount{display:flex;align-items:center;gap:8px;padding:10px;border-radius:10px;background:var(--color-bg-subtle, #f8fafc)}.cashflow-amount .amount-icon{flex-shrink:0}.cashflow-amount.receivable .amount-icon{color:var(--color-success, #10b981)}.cashflow-amount.payable .amount-icon{color:var(--color-error, #ef4444)}.amount-details{display:flex;flex-direction:column}.amount-label{font-size:10px;color:var(--color-text-secondary, #64748b);font-weight:500}.amount-value{font-size:14px;font-weight:700}.amount-value.positive{color:var(--color-success, #10b981)}.amount-value.negative{color:var(--color-error, #ef4444)}.cashflow-bar-container{padding:4px 0}.cashflow-bar{display:flex;height:8px;border-radius:4px;overflow:hidden;background:var(--color-border, #e5e7eb)}.cashflow-bar-receivable{background:var(--color-success, #10b981);transition:width .4s ease}.cashflow-bar-payable{background:var(--color-error, #ef4444);transition:width .4s ease}.cashflow-balance{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:10px;font-weight:600}.cashflow-balance.positive{background:var(--color-success-bg, rgba(16, 185, 129, .1));color:var(--color-success, #059669)}.cashflow-balance.negative{background:var(--color-error-bg, rgba(239, 68, 68, .1));color:var(--color-error, #dc2626)}.balance-label{font-size:12px;font-weight:500}.balance-value{font-size:14px;font-weight:700}.pareto-widget{display:flex;flex-direction:column;gap:10px;height:100%}.pareto-header{text-align:center}.pareto-title{font-size:13px;font-weight:600;color:var(--color-text, #1e293b)}.pareto-subtitle{font-size:11px;color:var(--color-text-secondary, #64748b)}.pareto-main-stat{display:flex;align-items:center;justify-content:center;gap:16px;padding:8px 0}.pareto-percentage{display:flex;flex-direction:column;align-items:center}.pareto-value{font-size:1.75rem;font-weight:700;line-height:1}.pareto-label{font-size:11px;color:var(--color-text-secondary, #64748b);margin-top:2px}.pareto-arrow{font-size:1.25rem;color:var(--color-text-muted, #94a3b8)}.pareto-bar-container{padding:0 4px}.pareto-bar-background{height:10px;background:var(--color-bg-subtle, #e5e7eb);border-radius:5px;overflow:hidden}.pareto-bar-fill{height:100%;border-radius:5px;transition:width .4s ease}.pareto-bar-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--color-text-secondary, #64748b);margin-top:4px}.pareto-insight{text-align:center;font-size:11px;font-weight:500;padding:8px;background:var(--color-bg-subtle, #f3f4f6);border-radius:8px}.widget-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px;text-align:center;color:var(--color-text-muted, #94a3b8);height:100%}.widget-empty-icon{margin-bottom:8px;color:var(--color-text-muted, #94a3b8);opacity:.4}.widget-empty-text{font-size:12px;color:var(--color-text-secondary, #64748b)}.widget-loading{display:flex;align-items:center;justify-content:center;padding:24px;color:var(--color-text-muted, #94a3b8);font-size:13px;height:100%}.widget-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center;color:var(--color-error, #ef4444);gap:6px;height:100%}.widget-error-icon{color:var(--color-error, #ef4444);opacity:.7}.widget-error-text{font-size:12px;color:var(--color-error, #ef4444)}@media (max-width: 768px){.stats-grid{grid-template-columns:repeat(2,1fr);gap:6px}.stat-card{padding:10px}.stat-value{font-size:18px}.list-item{padding:8px 10px}.list-item-title{font-size:12px}.list-item-value{font-size:13px}.alert-item{padding:8px 10px;gap:8px}.status-grid,.invoices-status-grid{gap:6px}.status-card{padding:8px 10px}.status-count{font-size:1.1rem}.cashflow-amounts{gap:6px}.cashflow-amount{padding:8px}}@media (max-width: 480px){.stats-grid{gap:4px}.stat-card{padding:8px}.stat-label{font-size:9px}.stat-value{font-size:16px}.stat-change{font-size:9px;padding:2px 6px}.list-item-title{font-size:11px}.list-item-subtitle{font-size:10px}.list-item-value{font-size:12px;padding-left:8px}.alert-title{font-size:11px}.alert-message{font-size:10px}.overview-header,.invoices-header{padding:10px 12px}.overview-header .header-count,.invoices-header .total-count{font-size:1.25rem}.status-count{font-size:1rem}.pareto-value{font-size:1.5rem}}:root,body.light,[data-theme=light]{--color-primary: #2563eb;--color-primary-hover: #1d4ed8;--color-primary-light: rgba(37, 99, 235, .1);--color-accent: #fef7ed;--color-accent-hover: #fef3e2;--color-accent-border: #fcd9b6;--color-secondary: #64748b;--color-bg: #f8fafc;--color-bg-paper: #ffffff;--color-bg-subtle: #f1f5f9;--color-bg-hover: rgba(0, 0, 0, .04);--color-bg-card: #ffffff;--color-text: #0f172a;--color-text-secondary: #64748b;--color-text-muted: #94a3b8;--color-border: rgba(0, 0, 0, .06);--color-divider: rgba(0, 0, 0, .06);--color-success: #10b981;--color-success-bg: rgba(16, 185, 129, .1);--color-warning: #f59e0b;--color-warning-bg: rgba(245, 158, 11, .1);--color-error: #ef4444;--color-error-bg: rgba(239, 68, 68, .1);--color-info: #3b82f6;--color-info-bg: rgba(59, 130, 246, .1);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);--shadow-md: 0 4px 12px rgba(0, 0, 0, .06);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .08);--scrollbar-track: #f1f5f9;--scrollbar-thumb: #cbd5e1;--scrollbar-thumb-hover: #94a3b8}body.dark,[data-theme=dark]{--color-primary: #3b82f6;--color-primary-hover: #60a5fa;--color-primary-light: rgba(59, 130, 246, .15);--color-accent: #fef7ed;--color-accent-hover: #fef3e2;--color-accent-border: #fcd9b6;--color-secondary: #94a3b8;--color-bg: #0f172a;--color-bg-paper: #1e293b;--color-bg-subtle: #334155;--color-bg-hover: rgba(255, 255, 255, .05);--color-bg-card: #1e293b;--color-text: #f1f5f9;--color-text-secondary: #94a3b8;--color-text-muted: #64748b;--color-border: rgba(255, 255, 255, .06);--color-divider: rgba(255, 255, 255, .06);--color-success: #34d399;--color-success-bg: rgba(52, 211, 153, .15);--color-warning: #fbbf24;--color-warning-bg: rgba(251, 191, 36, .15);--color-error: #f87171;--color-error-bg: rgba(248, 113, 113, .15);--color-info: #60a5fa;--color-info-bg: rgba(96, 165, 250, .15);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .3);--shadow-md: 0 4px 12px rgba(0, 0, 0, .4);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .5);--scrollbar-track: #1e293b;--scrollbar-thumb: #475569;--scrollbar-thumb-hover: #64748b}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;scroll-behavior:smooth;font-size:16px}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.875rem;line-height:1.5;color:var(--color-text);background-color:var(--color-bg);overflow-x:hidden;transition:background-color .2s ease,color .2s ease}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--scrollbar-track)}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}*{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}*:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:4px}::selection{background-color:var(--color-primary-light);color:inherit}a{color:var(--color-primary);text-decoration:none;transition:color .15s ease}a:hover{color:var(--color-primary-hover)}button{font-family:inherit;cursor:pointer;border:none;background:none}img{max-width:100%;height:auto;display:block}code,pre{font-family:SF Mono,Fira Code,Consolas,monospace;font-size:.813rem}pre{background:var(--color-bg-subtle);padding:1rem;border-radius:8px;overflow-x:auto}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.bg-accent{background-color:var(--color-accent)}.bg-accent-hover:hover{background-color:var(--color-accent-hover)}.card{background:var(--color-bg-card);border-radius:10px;box-shadow:var(--shadow-sm);transition:box-shadow .15s ease}.card:hover{box-shadow:var(--shadow-md)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.animate-fadeIn{animation:fadeIn .2s ease-out}.animate-slideUp{animation:slideUp .2s ease-out}.animate-pulse{animation:pulse 2s ease-in-out infinite}.MuiTableCell-root{border-bottom-color:var(--color-divider)!important}.MuiCard-root{background-color:var(--color-bg-card)!important;box-shadow:var(--shadow-sm)!important}.MuiPaper-root{background-color:var(--color-bg-paper)}.MuiListItemButton-root:hover{background-color:var(--color-bg-hover)!important}.MuiDialog-paper{margin:16px;background-color:var(--color-bg-paper)}@media print{body{background:#fff!important;color:#000!important}.no-print,.MuiDrawer-root,.MuiAppBar-root{display:none!important}}
