:root{--primary:#6366f1;--primary-hover:#4f46e5;--bg:#f8fafc;--sidebar-bg:#0f172a;--text:#1e293b;--text-muted:#64748b;--border:#e2e8f0}body{background-color:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,system-ui,-apple-system,sans-serif}.sidebar-antd{z-index:100;box-shadow:4px 0 10px #0000000d}.logo-antd{color:#fff;letter-spacing:-.02em;background:#ffffff0d;align-items:center;height:64px;margin-bottom:8px;padding:0 24px;font-size:1.25rem;font-weight:800;display:flex}.header-antd{z-index:10;align-items:center;display:flex;box-shadow:0 2px 8px #0000000d;background:#fff!important;padding:0 24px!important}.header-content-antd{justify-content:space-between;align-items:center;width:100%;display:flex}.search-input-antd{flex:1;max-width:400px;background:#f1f5f9!important;border:none!important;border-radius:12px!important}.search-input-antd:hover,.search-input-antd:focus{background:#e2e8f0!important}.quick-create-btn-antd{border-radius:10px!important;height:38px!important;font-weight:600!important;box-shadow:0 4px 10px #6366f133!important}.content-antd{width:100%;max-width:1600px;margin:0 auto;padding:24px}.invoice-sidebar-antd{height:calc(100vh - 120px);padding-right:8px;overflow-y:auto}.invoice-sidebar-antd::-webkit-scrollbar{width:4px}.invoice-sidebar-antd::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:10px}.compact-invoice-card{cursor:pointer;margin-bottom:12px;transition:all .2s;border:1px solid #f1f5f9!important;border-radius:12px!important}.compact-invoice-card:hover{background:#fdfdff!important;border-color:#6366f1!important}.summary-card{border:none;border-radius:12px;transition:transform .2s;box-shadow:0 4px 6px -1px #0000001a}.summary-card:hover{transform:translateY(-4px)}.summary-card.gold{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%)}.summary-card.indigo{background:linear-gradient(135deg,#e0e7ff 0%,#c7d2fe 100%)}.summary-card.slate{background:linear-gradient(135deg,#f1f5f9 0%,#e2e8f0 100%)}.chart-placeholder-antd{background:#fff;border-radius:8px;flex-direction:column;justify-content:flex-end;height:250px;padding:20px;display:flex}.chart-bars-container{justify-content:space-between;align-items:flex-end;gap:8px;height:180px;display:flex}.chart-bar-group{flex:1;align-items:flex-end;gap:4px;display:flex}.bar{border-radius:4px 4px 0 0;flex:1;transition:height 1s ease-out}.bar.sales{opacity:.8;background:#6366f1}.bar.expenses{opacity:.5;background:#94a3b8}.chart-legend{color:#64748b;justify-content:center;margin-top:20px;font-size:.85rem;display:flex}.dot{border-radius:50%;width:10px;height:10px;display:inline-block}.dot.sales{background:#6366f1}.dot.expenses{background:#94a3b8}.sidebar-antd{background:#1e293b!important}.compact-invoice-card.selected{background:#f5f7ff!important;border-color:#6366f1!important;box-shadow:0 4px 12px #6366f11a!important}.invoice-preview-container{background:#f1f5f9;border-radius:16px;flex-direction:column;align-items:center;height:calc(100vh - 120px);padding:24px;display:flex;overflow-y:auto}.preview-actions{justify-content:flex-end;width:100%;max-width:800px;margin-bottom:24px;display:flex}.invoice-paper{width:100%;max-width:800px;min-height:1100px;margin-bottom:40px;background:#fff!important;border-radius:4px!important;padding:60px!important;box-shadow:0 10px 40px -10px #0000001a!important}@media print{.no-print,.sidebar-antd,.header-antd,.invoice-sidebar-antd,.preview-actions,.quick-create-btn-antd,.float-button-group{display:none!important}.site-layout,.content-antd,.invoice-preview-container{background:#fff!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}.invoice-paper{box-shadow:none!important;width:100%!important;max-width:100%!important;min-height:auto!important;margin:0!important;padding:0!important}body{background:#fff!important}}.mb-antd{margin-bottom:24px}.receivables-card-antd{box-shadow:0 10px 25px -5px #6366f11a;background:linear-gradient(135deg,#fff 0%,#f5f7ff 100%)!important;border:none!important;border-radius:16px!important}.receivable-stat-sub-antd{background:#ffffff80!important;border-radius:10px!important}.receivable-stat-sub-antd.current{border-left:4px solid #10b981!important}.receivable-stat-sub-antd.overdue{border-left:4px solid #ef4444!important}.ant-statistic-title{margin-bottom:8px!important}.ant-card-head-title{font-weight:700!important}.invoice-form-page{background:#f8fafc;flex-direction:column;min-height:calc(100vh - 64px);display:flex}.invoice-form-header{z-index:10;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:16px 32px;display:flex;position:sticky;top:0;box-shadow:0 2px 8px #0000000a}.invoice-form-total-banner{color:#fff;background:linear-gradient(135deg,#6366f1,#4f46e5);align-items:center;gap:16px;padding:20px 40px;display:flex}.invoice-form-total-banner .ant-typography{color:#fff!important}.invoice-form-body{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:32px 40px}.rounded-textarea{border-radius:8px!important}
