.dashboard{padding:30px}.dashboard-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.dashboard-header h2{color:#1e293b;margin-bottom:5px;font-size:28px}.dashboard-header p{color:#64748b}.add-sale-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;padding:11px 18px}.add-sale-btn:hover{background:#1d4ed8}.stats-grid{grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:25px;display:grid}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:15px;padding:20px;display:flex}.stat-icon{background:#eff6ff;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;display:flex}.stat-card p{color:#64748b;margin-bottom:5px;font-size:13px}.stat-card h3{color:#1e293b;margin-bottom:5px;font-size:22px}.positive{color:#16a34a;font-size:12px}.negative{color:#dc2626;font-size:12px}.warning{color:#d97706;font-size:12px}.dashboard-grid{grid-template-columns:2fr 1fr;gap:20px;margin-bottom:25px;display:grid}.dashboard-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px}.card-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.card-header h3{color:#1e293b;margin-bottom:4px}.card-header p{color:#64748b;font-size:13px}.card-header select{border:1px solid #d1d5db;border-radius:6px;padding:8px}.chart{justify-content:space-around;align-items:flex-end;gap:15px;height:250px;display:flex}.bar-container{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:8px;height:220px;display:flex}.bar{background:#3b82f6;border-radius:5px 5px 0 0;width:55%}.bar-1{height:45%}.bar-2{height:65%}.bar-3{height:50%}.bar-4{height:80%}.bar-5{height:60%}.bar-6{height:90%}.bar-7{height:70%}.bar-container span{color:#64748b;font-size:12px}.product-list{flex-direction:column;display:flex}.product-item{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:14px 0;display:flex}.product-item:last-child{border-bottom:none}.product-item strong{color:#334155;margin-bottom:4px;font-size:14px;display:block}.product-item span{color:#94a3b8;font-size:11px}.stock-low{color:#dc2626;font-size:13px}.stock-warning{color:#d97706;font-size:13px}.view-btn{color:#2563eb;cursor:pointer;background:0 0;border:none}.recent-orders{margin-bottom:30px;overflow-x:auto}.recent-orders table{border-collapse:collapse;width:100%}.recent-orders th{text-align:left;color:#64748b;background:#f8fafc;padding:12px;font-size:12px}.recent-orders td{color:#334155;border-bottom:1px solid #f1f5f9;padding:15px 12px;font-size:13px}.status{border-radius:20px;padding:5px 9px;font-size:11px}.completed{color:#15803d;background:#dcfce7}.pending{color:#b45309;background:#fef3c7}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}@media (width<=700px){.stats-grid{grid-template-columns:1fr}.dashboard{padding:20px}.dashboard-header{align-items:flex-start;gap:15px}}.sales-page{padding:30px}.sales-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.sales-header h2{color:#1e293b;margin-bottom:5px;font-size:28px}.sales-header p{color:#64748b}.sales-add-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;padding:11px 18px;font-size:14px}.sales-add-btn:hover{background:#1d4ed8}.sales-stats{grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:25px;display:grid}.sales-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:15px;padding:20px;display:flex}.sales-stat-icon{background:#eff6ff;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;display:flex}.sales-stat-card p{color:#64748b;margin-bottom:5px;font-size:13px}.sales-stat-card h3{color:#1e293b;margin-bottom:5px;font-size:22px}.sales-positive{color:#16a34a;font-size:12px}.sales-negative{color:#dc2626;font-size:12px}.sales-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:25px;padding:20px}.sales-card-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.sales-card-header h3{color:#1e293b;margin-bottom:4px}.sales-card-header p{color:#64748b;font-size:13px}.sales-card-header select{color:#475569;border:1px solid #d1d5db;border-radius:6px;padding:8px 10px}.sales-chart{height:300px;display:flex}.chart-y-axis{color:#94a3b8;flex-direction:column;justify-content:space-between;width:55px;height:240px;font-size:11px;display:flex}.sales-chart-area{border-bottom:1px solid #e5e7eb;flex:1;height:240px;position:relative}.sales-grid-line{border-top:1px dashed #e5e7eb;height:20%;position:relative}.sales-bars{justify-content:space-around;align-items:flex-end;height:240px;display:flex;position:absolute;bottom:-35px;left:0;right:0}.sales-bar-item{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:8px;height:100%;display:flex}.sales-bar{background:#3b82f6;border-radius:5px 5px 0 0;width:45%;min-width:25px;max-width:55px}.sales-bar-1{height:45%}.sales-bar-2{height:65%}.sales-bar-3{height:52%}.sales-bar-4{height:80%}.sales-bar-5{height:60%}.sales-bar-6{height:90%}.sales-bar-7{height:70%}.sales-bar-item span{color:#64748b;font-size:12px}.sales-filters{gap:10px;display:flex}.sales-filters input{border:1px solid #d1d5db;border-radius:6px;outline:none;width:230px;padding:9px 12px}.sales-filters input:focus{border-color:#2563eb}.sales-filters select{border:1px solid #d1d5db;border-radius:6px;padding:9px 12px}.sales-table-container{overflow-x:auto}.sales-table{border-collapse:collapse;width:100%}.sales-table th{text-align:left;color:#64748b;background:#f8fafc;padding:13px 12px;font-size:12px;font-weight:600}.sales-table td{color:#334155;border-bottom:1px solid #f1f5f9;padding:15px 12px;font-size:13px}.sales-table tbody tr:hover{background:#f8fafc}.sales-status{border-radius:20px;padding:5px 9px;font-size:11px;display:inline-block}.sales-status.completed{color:#15803d;background:#dcfce7}.sales-status.pending{color:#b45309;background:#fef3c7}.sales-status.cancelled{color:#b91c1c;background:#fee2e2}@media (width<=1100px){.sales-stats{grid-template-columns:repeat(2,1fr)}}@media (width<=800px){.sales-card-header{flex-direction:column;align-items:flex-start;gap:15px}.sales-filters{width:100%}.sales-filters input{flex:1}}@media (width<=600px){.sales-page{padding:20px}.sales-stats{grid-template-columns:1fr}.sales-header{align-items:flex-start;gap:15px}}.sales-clear-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 16px;font-size:14px;font-weight:500;transition:all .2s}.sales-clear-btn:hover{background:#f3f4f6;border-color:#9ca3af}.sales-clear-btn:active{transform:scale(.97)}.orders-page{padding:30px}.orders-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.orders-header h2{color:#1e293b;margin-bottom:5px;font-size:28px}.orders-header p{color:#64748b}.add-order-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;padding:11px 18px;font-size:14px}.add-order-btn:hover{background:#1d4ed8}.orders-stats{grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:25px;display:grid}.order-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:15px;padding:20px;display:flex}.order-stat-icon{background:#eff6ff;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;display:flex}.order-stat-card p{color:#64748b;margin-bottom:5px;font-size:13px}.order-stat-card h3{color:#1e293b;margin-bottom:5px;font-size:22px}.order-positive{color:#16a34a;font-size:12px}.order-warning{color:#d97706;font-size:12px}.orders-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px}.orders-card-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.orders-card-header h3{color:#1e293b;margin-bottom:4px}.orders-card-header p{color:#64748b;font-size:13px}.orders-filters{gap:10px;display:flex}.orders-filters input{border:1px solid #d1d5db;border-radius:6px;outline:none;width:220px;padding:9px 12px}.orders-filters input:focus{border-color:#2563eb}.orders-filters select{color:#475569;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:9px 12px}.orders-table-container{overflow-x:auto}.orders-table{border-collapse:collapse;width:100%}.orders-table th{text-align:left;color:#64748b;white-space:nowrap;background:#f8fafc;padding:13px 12px;font-size:12px;font-weight:600}.orders-table td{color:#334155;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:15px 12px;font-size:13px}.orders-table tbody tr:hover{background:#f8fafc}.customer{align-items:center;gap:9px;display:flex}.customer-avatar{color:#2563eb;background:#dbeafe;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:12px;font-weight:600;display:flex}.payment-paid{color:#15803d;background:#dcfce7;border-radius:20px;padding:5px 9px;font-size:11px}.payment-pending{color:#b45309;background:#fef3c7;border-radius:20px;padding:5px 9px;font-size:11px}.payment-refunded{color:#7c3aed;background:#ede9fe;border-radius:20px;padding:5px 9px;font-size:11px}.order-status{border-radius:20px;padding:5px 9px;font-size:11px}.order-status.completed{color:#15803d;background:#dcfce7}.order-status.processing{color:#1d4ed8;background:#dbeafe}.order-status.pending{color:#b45309;background:#fef3c7}.order-status.cancelled{color:#b91c1c;background:#fee2e2}.action-btn{color:#2563eb;cursor:pointer;background:#eff6ff;border:none;border-radius:5px;padding:6px 11px;font-size:12px}.action-btn:hover{background:#dbeafe}.orders-pagination{color:#64748b;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-top:20px;padding-top:15px;font-size:12px;display:flex}.pagination-buttons{gap:5px;display:flex}.pagination-buttons button{color:#475569;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:5px;min-width:30px;height:30px}.pagination-buttons button:hover{background:#f8fafc}.pagination-buttons button:disabled{color:#cbd5e1;cursor:not-allowed}.pagination-buttons .page-active{color:#fff;background:#2563eb;border-color:#2563eb}@media (width<=1100px){.orders-stats{grid-template-columns:repeat(2,1fr)}.orders-card-header{flex-direction:column;align-items:flex-start;gap:15px}.orders-filters{width:100%}}@media (width<=700px){.orders-page{padding:20px}.orders-stats{grid-template-columns:1fr}.orders-filters{flex-direction:column}.orders-filters input{width:100%}.orders-pagination{flex-direction:column;align-items:flex-start;gap:12px}}.clear-filter-btn{color:#fff;cursor:pointer;background:#111827;border:none;border-radius:8px;padding:9px 16px;font-size:14px;font-weight:500;transition:all .2s}.clear-filter-btn:hover{background:#374151}.clear-filter-btn:active{transform:scale(.97)}.inventory-page{padding:30px}.inventory-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.inventory-header h2{color:#1e293b;margin-bottom:5px;font-size:28px}.inventory-header p{color:#64748b}.add-product-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;padding:11px 18px;font-size:14px}.add-product-btn:hover{background:#1d4ed8}.inventory-stats{grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:25px;display:grid}.inventory-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:15px;padding:20px;display:flex}.inventory-stat-icon{background:#eff6ff;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;display:flex}.inventory-stat-card p{color:#64748b;margin-bottom:5px;font-size:13px}.inventory-stat-card h3{color:#1e293b;margin-bottom:5px;font-size:22px}.inventory-positive{color:#16a34a;font-size:12px}.inventory-warning{color:#d97706;font-size:12px}.inventory-negative{color:#dc2626;font-size:12px}.inventory-neutral{color:#64748b;font-size:12px}.inventory-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px}.inventory-card-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.inventory-card-header h3{color:#1e293b;margin-bottom:4px}.inventory-card-header p{color:#64748b;font-size:13px}.inventory-filters{gap:10px;display:flex}.inventory-filters input{border:1px solid #d1d5db;border-radius:6px;outline:none;width:220px;padding:9px 12px}.inventory-filters input:focus{border-color:#2563eb}.inventory-filters select{color:#475569;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:9px 12px}.inventory-table-container{overflow-x:auto}.inventory-table{border-collapse:collapse;width:100%}.inventory-table th{text-align:left;color:#64748b;white-space:nowrap;background:#f8fafc;padding:13px 12px;font-size:12px;font-weight:600}.inventory-table td{color:#334155;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:14px 12px;font-size:13px}.inventory-table tbody tr:hover{background:#f8fafc}.inventory-product{align-items:center;gap:10px;display:flex}.product-image{background:#f1f5f9;border-radius:8px;justify-content:center;align-items:center;width:42px;height:42px;font-size:20px;display:flex}.inventory-product strong{color:#334155;margin-bottom:3px;display:block}.inventory-product span{color:#94a3b8;font-size:11px;display:block}.inventory-status{border-radius:20px;padding:5px 9px;font-size:11px;display:inline-block}.inventory-status.in-stock{color:#15803d;background:#dcfce7}.inventory-status.low{color:#dc2626;background:#fee2e2}.inventory-status.warning{color:#b45309;background:#fef3c7}.inventory-status.out{color:#475569;background:#f3f4f6}.inventory-action{color:#2563eb;cursor:pointer;background:#eff6ff;border:none;border-radius:5px;padding:6px 11px;font-size:12px}.inventory-action:hover{background:#dbeafe}.inventory-pagination{color:#64748b;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-top:20px;padding-top:15px;font-size:12px;display:flex}.inventory-pagination-buttons{gap:5px;display:flex}.inventory-pagination-buttons button{color:#475569;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:5px;min-width:30px;height:30px}.inventory-pagination-buttons button:hover{background:#f8fafc}.inventory-pagination-buttons button:disabled{color:#cbd5e1;cursor:not-allowed}.inventory-pagination-buttons .inventory-page-active{color:#fff;background:#2563eb;border-color:#2563eb}@media (width<=1100px){.inventory-stats{grid-template-columns:repeat(2,1fr)}.inventory-card-header{flex-direction:column;align-items:flex-start;gap:15px}.inventory-filters{width:100%}}@media (width<=700px){.inventory-page{padding:20px}.inventory-stats{grid-template-columns:1fr}.inventory-filters{flex-direction:column}.inventory-filters input{width:100%}.inventory-pagination{flex-direction:column;align-items:flex-start;gap:12px}}.expenses-page{padding:30px}.expenses-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.expenses-header h2{color:#1e293b;margin-bottom:5px;font-size:28px}.expenses-header p{color:#64748b}.add-expense-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;padding:11px 18px;font-size:14px}.add-expense-btn:hover{background:#1d4ed8}.expenses-stats{grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:25px;display:grid}.expense-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:15px;padding:20px;display:flex}.expense-stat-icon{background:#eff6ff;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;display:flex}.expense-stat-card p{color:#64748b;margin-bottom:5px;font-size:13px}.expense-stat-card h3{color:#1e293b;margin-bottom:5px;font-size:22px}.expense-positive{color:#16a34a;font-size:12px}.expense-negative{color:#dc2626;font-size:12px}.expense-neutral{color:#64748b;font-size:12px}.expenses-overview-card,.expenses-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:25px;padding:20px}.expenses-card-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.expenses-card-header h3{color:#1e293b;margin-bottom:4px}.expenses-card-header p{color:#64748b;font-size:13px}.expenses-card-header select{color:#475569;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:8px 12px}.expense-chart{height:300px;display:flex}.expense-y-axis{color:#94a3b8;flex-direction:column;justify-content:space-between;width:55px;height:240px;font-size:11px;display:flex}.expense-chart-area{border-bottom:1px solid #e5e7eb;flex:1;height:240px;position:relative}.expense-grid-line{border-top:1px dashed #e5e7eb;height:20%}.expense-bars{justify-content:space-around;align-items:flex-end;height:240px;display:flex;position:absolute;bottom:-35px;left:0;right:0}.expense-bar-item{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:8px;height:100%;display:flex}.expense-bar{background:#3b82f6;border-radius:5px 5px 0 0;width:45%;min-width:25px;max-width:55px}.expense-bar-1{height:45%}.expense-bar-2{height:60%}.expense-bar-3{height:52%}.expense-bar-4{height:75%}.expense-bar-5{height:58%}.expense-bar-6{height:82%}.expense-bar-item span{color:#64748b;font-size:12px}.expense-filters{gap:10px;display:flex}.expense-filters input{border:1px solid #d1d5db;border-radius:6px;outline:none;width:220px;padding:9px 12px}.expense-filters input:focus{border-color:#2563eb}.expense-filters select{color:#475569;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:9px 12px}.expenses-table-container{overflow-x:auto}.expenses-table{border-collapse:collapse;width:100%}.expenses-table th{text-align:left;color:#64748b;white-space:nowrap;background:#f8fafc;padding:13px 12px;font-size:12px;font-weight:600}.expenses-table td{color:#334155;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:15px 12px;font-size:13px}.expenses-table tbody tr:hover{background:#f8fafc}.expense-category{border-radius:20px;padding:5px 9px;font-size:11px;display:inline-block}.expense-category.utilities{color:#1d4ed8;background:#dbeafe}.expense-category.supplies{color:#b45309;background:#fef3c7}.expense-category.marketing{color:#7c3aed;background:#ede9fe}.expense-category.rent{color:#b91c1c;background:#fee2e2}.expense-category.transport{color:#15803d;background:#dcfce7}.expense-category.salary{color:#9333ea;background:#f3e8ff}.expense-amount{font-weight:600;color:#1e293b!important}.expense-action{color:#2563eb;cursor:pointer;background:#eff6ff;border:none;border-radius:5px;padding:6px 11px;font-size:12px}.expense-action:hover{background:#dbeafe}.expenses-pagination{color:#64748b;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-top:20px;padding-top:15px;font-size:12px;display:flex}.expense-pagination-buttons{gap:5px;display:flex}.expense-pagination-buttons button{color:#475569;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:5px;min-width:30px;height:30px}.expense-pagination-buttons button:hover{background:#f8fafc}.expense-pagination-buttons button:disabled{color:#cbd5e1;cursor:not-allowed}.expense-pagination-buttons .expense-page-active{color:#fff;background:#2563eb;border-color:#2563eb}@media (width<=1100px){.expenses-stats{grid-template-columns:repeat(2,1fr)}.expenses-card-header{flex-direction:column;align-items:flex-start;gap:15px}.expense-filters{width:100%}}@media (width<=700px){.expenses-page{padding:20px}.expenses-stats{grid-template-columns:1fr}.expense-filters{flex-direction:column}.expense-filters input{width:100%}.expenses-pagination{flex-direction:column;align-items:flex-start;gap:12px}}.clear-expense-filter-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 16px;font-size:14px;font-weight:500;transition:all .2s}.clear-expense-filter-btn:hover{background:#f3f4f6;border-color:#9ca3af}.clear-expense-filter-btn:active{transform:scale(.97)}.report-page{box-sizing:border-box;width:100%;max-width:100%;padding:30px;overflow-x:hidden}.report-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.report-header h2{color:#1e293b;margin:0 0 5px;font-size:28px}.report-header p{color:#64748b;margin:0}.report-export-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:7px;padding:11px 18px;font-size:14px}.report-export-btn:hover{background:#1d4ed8}.report-export-btn:disabled{opacity:.5;cursor:not-allowed}.report-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:20px;padding:12px 16px}.report-filter-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:flex-end;gap:15px;width:100%;margin-bottom:25px;padding:18px;display:flex}.report-filter{flex-direction:column;gap:6px;display:flex}.report-filter label{color:#64748b;font-size:12px}.report-filter input,.report-filter select{color:#475569;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;min-width:170px;padding:9px 11px}.report-filter input:focus,.report-filter select:focus{border-color:#2563eb}.generate-report-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#1e293b;border:none;border-radius:6px;padding:10px 16px}.generate-report-btn:hover{background:#0f172a}.report-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;width:100%;margin-bottom:25px;display:grid}.report-stat-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:15px;min-width:0;padding:20px;display:flex}.report-stat-icon{border-radius:10px;justify-content:center;align-items:center;width:48px;min-width:48px;height:48px;font-size:20px;font-weight:600;display:flex}.sales-icon{color:#15803d;background:#dcfce7}.expense-icon{color:#dc2626;background:#fee2e2}.profit-icon{color:#2563eb;background:#dbeafe}.order-icon{color:#9333ea;background:#f3e8ff}.report-stat-card p{color:#64748b;margin:0 0 5px;font-size:13px}.report-stat-card h3{color:#1e293b;white-space:nowrap;margin:0 0 5px;font-size:22px}.report-positive{color:#16a34a;font-size:12px}.report-negative{color:#dc2626;font-size:12px}.report-charts{grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:20px;width:100%;min-width:0;margin-bottom:25px;display:grid}.report-chart-card,.profit-card,.report-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:10px;min-width:0;padding:20px}.report-chart-card,.profit-card{overflow:hidden}.report-card{margin-bottom:25px}.report-card-header{justify-content:space-between;align-items:center;gap:15px;min-width:0;margin-bottom:20px;display:flex}.report-card-header>div{min-width:0}.report-card-header h3{color:#1e293b;margin:0 0 4px}.report-card-header p{color:#64748b;margin:0;font-size:13px}.report-card-header select{background:#fff;border:1px solid #d1d5db;border-radius:6px;flex-shrink:0;padding:8px 10px}.report-chart{box-sizing:border-box;width:100%;min-width:0;height:300px;display:flex;position:relative}.report-y-axis{color:#94a3b8;box-sizing:border-box;flex-direction:column;justify-content:space-between;width:65px;min-width:65px;height:235px;padding-right:8px;font-size:11px;display:flex}.report-y-axis span{white-space:nowrap;text-align:right}.report-chart-area{box-sizing:border-box;border-bottom:1px solid #e5e7eb;flex:auto;width:0;min-width:0;height:235px;position:relative;overflow:hidden}.report-grid-line{box-sizing:border-box;pointer-events:none;border-top:1px dashed #e5e7eb;height:20%}.report-grid-line:last-child{border-bottom:none}.report-bars{box-sizing:border-box;justify-content:space-between;align-items:flex-end;width:100%;max-width:100%;height:235px;padding:0 4px;display:flex;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.report-bar-group{box-sizing:border-box;flex:1 1 0;justify-content:center;align-items:flex-end;gap:3px;min-width:0;height:235px;display:flex;position:relative}.report-bar-group span{color:#64748b;white-space:nowrap;pointer-events:none;max-width:100%;font-size:10px;position:absolute;bottom:-27px;left:50%;transform:translate(-50%)}.report-bar{z-index:2;border-radius:4px 4px 0 0;flex:0 0 10px;width:10px;min-width:10px;max-width:10px;transition:height .25s,opacity .2s;position:relative}.report-bar:hover{opacity:.8}.report-bar.sales-bar-r1,.report-bar.sales-bar-r2,.report-bar.sales-bar-r3,.report-bar.sales-bar-r4,.report-bar.sales-bar-r5,.report-bar.sales-bar-r6,.report-bar.sales-bar-r7{background:#3b82f6}.report-bar.expense-bar-r1,.report-bar.expense-bar-r2,.report-bar.expense-bar-r3,.report-bar.expense-bar-r4,.report-bar.expense-bar-r5,.report-bar.expense-bar-r6,.report-bar.expense-bar-r7{background:#f59e0b}.report-legend{color:#64748b;justify-content:center;gap:25px;margin-top:18px;font-size:12px;display:flex}.report-legend span{align-items:center;gap:6px;display:flex}.report-legend i{border-radius:3px;width:10px;height:10px;display:inline-block}.legend-sales{background:#3b82f6}.legend-expenses{background:#f59e0b}.profit-card{flex-direction:column;display:flex}.profit-card .report-card-header{flex-shrink:0}.profit-circle{background:conic-gradient(#2563eb 0deg 221deg,#e5e7eb 221deg 360deg);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:190px;height:190px;margin:15px auto 25px;display:flex;position:relative}.profit-circle:before{content:"";background:#fff;border-radius:50%;width:140px;height:140px;position:absolute}.profit-circle>div{z-index:2;text-align:center;background:#fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:140px;height:140px;display:flex;position:relative}.profit-circle strong{color:#1e293b;font-size:25px}.profit-circle span{color:#64748b;margin-top:4px;font-size:11px}.profit-details{flex-direction:column;gap:13px;width:100%;display:flex}.profit-details div{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:10px;padding-bottom:10px;display:flex}.profit-details span{color:#64748b;font-size:13px}.profit-details strong{color:#1e293b;white-space:nowrap;font-size:13px}.category-report{flex-direction:column;gap:22px;display:flex}.category-row{grid-template-columns:minmax(150px,180px) minmax(0,1fr) 45px;align-items:center;gap:15px;min-width:0;display:grid}.category-info{justify-content:space-between;gap:10px;min-width:0;display:flex}.category-info span{color:#475569;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.category-info strong{color:#1e293b;white-space:nowrap;font-size:13px}.category-progress{background:#f1f5f9;border-radius:10px;min-width:0;height:8px;overflow:hidden}.category-progress-fill{background:#3b82f6;border-radius:10px;height:100%;transition:width .3s}.category-percent{color:#64748b;text-align:right;font-size:12px}.report-table-container{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.report-table{border-collapse:collapse;width:100%;min-width:650px}.report-table th{text-align:left;color:#64748b;white-space:nowrap;background:#f8fafc;padding:13px 12px;font-size:12px}.report-table td{color:#334155;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:14px 12px;font-size:13px}.report-table tbody tr:hover{background:#f8fafc}.profit-value{font-weight:600;color:#15803d!important}.profit-ring-container{justify-content:center;align-items:center;padding:25px 0;display:flex}.profit-ring{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:190px;height:190px;display:flex;position:relative}.profit-ring-inner{text-align:center;background:#fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:145px;height:145px;display:flex}.profit-ring-inner strong{font-size:28px;font-weight:700}.profit-ring-inner span{color:#6b7280;margin-top:5px;font-size:13px}.generated-report-info{flex-wrap:wrap;gap:20px;margin-bottom:20px;display:flex}.generated-report-info>div{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:4px;padding:12px 18px;display:flex}.generated-report-info span{color:#6b7280;font-size:12px}.generated-report-info strong{font-size:14px}.report-draft-notice{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:20px;padding:12px 16px;display:flex}.report-draft-notice strong{color:#c2410c}.report-draft-notice span{color:#9a3412}.report-two-column{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;width:100%;margin-bottom:20px;display:grid}.simple-report-list{padding:10px 20px 20px}.simple-report-row{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;display:flex}.simple-report-row:last-child{border-bottom:none}.simple-report-row span{color:#4b5563}.simple-report-row strong{white-space:nowrap;font-size:15px}.report-empty{text-align:center;color:#6b7280;padding:30px!important}.report-loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:300px;display:flex}.report-loading h2{color:#1e293b}.report-loading p{color:#64748b}.report-spinner{border:4px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;width:42px;height:42px;margin:0 auto 15px;animation:.8s linear infinite report-spin}@keyframes report-spin{to{transform:rotate(360deg)}}@media (width<=1100px){.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.report-charts{grid-template-columns:1fr}.report-filter-card{flex-wrap:wrap}.report-filter{flex:180px}.report-filter input,.report-filter select{width:100%;min-width:0}}@media (width<=900px){.report-page{padding:25px}.report-two-column{grid-template-columns:1fr}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.report-page{padding:20px}.report-header{flex-direction:column;align-items:flex-start;gap:15px}.report-export-btn{width:100%}.report-stats{grid-template-columns:1fr}.report-filter-card{flex-direction:column;align-items:stretch}.report-filter,.report-filter input,.report-filter select,.generate-report-btn{width:100%}.report-card-header{flex-direction:column;align-items:flex-start}.report-card-header select{width:100%}.category-row{grid-template-columns:1fr;gap:8px}.category-info{justify-content:space-between}.category-percent{text-align:left}}@media (width<=600px){.report-page{padding:15px}.report-stats,.report-two-column{grid-template-columns:1fr}.profit-circle{width:170px;height:170px}.profit-circle:before,.profit-circle>div{width:125px;height:125px}.profit-ring{width:160px;height:160px}.profit-ring-inner{width:120px;height:120px}.report-y-axis{width:55px;min-width:55px;font-size:10px}.report-bar{flex-basis:8px;width:8px;min-width:8px;max-width:8px}.report-bar-group{gap:2px}.report-bar-group span{font-size:9px}}@media (width<=400px){.report-page{padding:10px}.report-chart{height:280px}.report-chart-area,.report-bars,.report-bar-group,.report-y-axis{height:220px}.report-y-axis{width:48px;min-width:48px;font-size:9px}}.ai-manager-page{box-sizing:border-box;flex-direction:column;width:100%;height:calc(100vh - 40px);padding:24px;display:flex}.ai-manager-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.ai-manager-header h2{color:#1f2937;margin:0;font-size:26px}.ai-manager-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.ai-online{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:20px;align-items:center;gap:8px;padding:8px 14px;font-size:14px;font-weight:600;display:flex}.ai-online span{background:#22c55e;border-radius:50%;width:8px;height:8px;display:block}.ai-chat-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.ai-messages{background:#f9fafb;flex-direction:column;flex:1;gap:18px;padding:25px;display:flex;overflow-y:auto}.ai-messages::-webkit-scrollbar{width:6px}.ai-messages::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:10px}.message{align-items:flex-end;gap:10px;max-width:75%;display:flex}.ai-message{align-self:flex-start}.user-message{align-self:flex-end}.ai-avatar,.user-avatar{border-radius:50%;justify-content:center;align-items:center;width:36px;min-width:36px;height:36px;font-size:12px;font-weight:700;display:flex}.ai-avatar{color:#4f46e5;background:#eef2ff;border:1px solid #c7d2fe}.user-avatar{color:#fff;background:#111827}.message-bubble{word-break:break-word;border-radius:12px;padding:12px 16px;font-size:14px;line-height:1.5}.ai-bubble{color:#374151;background:#fff;border:1px solid #e5e7eb;border-bottom-left-radius:4px}.user-bubble{color:#fff;background:#4f46e5;border-bottom-right-radius:4px}.ai-input-container{background:#fff;border-top:1px solid #e5e7eb;align-items:center;gap:10px;padding:15px 18px;display:flex}.ai-input-container input{color:#1f2937;box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;outline:none;flex:1;height:44px;padding:0 15px;font-size:14px}.ai-input-container input::placeholder{color:#9ca3af}.ai-input-container input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.ai-input-container button{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:8px;justify-content:center;align-items:center;width:44px;height:44px;font-size:18px;transition:all .2s;display:flex}.ai-input-container button:hover{background:#4338ca;transform:translateY(-1px)}.ai-input-container button:disabled{cursor:not-allowed;background:#c7d2fe;transform:none}@media (width<=768px){.ai-manager-page{height:calc(100vh - 20px);padding:15px}.ai-manager-header h2{font-size:22px}.message{max-width:90%}.ai-messages{padding:15px}}@media (width<=500px){.ai-manager-header{align-items:flex-start}.ai-online{padding:6px 10px;font-size:12px}.ai-input-container{padding:10px}}.settings-page{max-width:900px;margin:0 auto;padding:30px}.settings-header{margin-bottom:25px}.settings-header h2{margin:0;font-size:28px}.settings-header p{color:#777;margin-top:6px}.settings-card{background:#fff;border:1px solid #e5e5e5;border-radius:12px;margin-bottom:20px;padding:25px}.settings-card-header{align-items:center;gap:15px;margin-bottom:25px;display:flex}.settings-card-header h3{margin:0}.settings-card-header p{color:#777;margin:5px 0 0}.settings-icon{background:#f1f3f5;border-radius:10px;justify-content:center;align-items:center;width:45px;height:45px;font-size:20px;display:flex}.setting-field{margin-bottom:20px}.setting-field label{margin-bottom:8px;font-weight:600;display:block}.setting-field input{box-sizing:border-box;border:1px solid #dcdcdc;border-radius:8px;outline:none;width:100%;padding:12px 14px;font-size:14px}.setting-field input:focus{border-color:#555}.setting-field small{color:#888;margin-top:6px;display:block}.generate-session-btn{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:7px;margin-bottom:20px;padding:10px 15px}.generate-session-btn:hover{background:#f5f5f5}.settings-actions{gap:10px;display:flex}.save-settings-btn{color:#fff;cursor:pointer;background:#222;border:none;border-radius:7px;padding:11px 18px}.save-settings-btn:hover{opacity:.85}.clear-settings-btn{cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:7px;padding:11px 18px}.settings-success{color:#237a3b;background:#eaf8ee;border-radius:7px;margin-top:18px;padding:12px}.config-status{flex-direction:column;gap:15px;display:flex}.config-status div{background:#f7f7f7;border-radius:8px;justify-content:space-between;gap:20px;padding:14px;display:flex}.config-status span{color:#777}.config-status strong{word-break:break-all;text-align:right}.marketing-page{box-sizing:border-box;background:#f7f8fa;width:100%;min-height:100%;padding:28px}.marketing-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.marketing-header h1{color:#17191c;margin:0 0 7px;font-size:30px;font-weight:700}.marketing-header p{color:#73777d;margin:0;font-size:14px}.marketing-period{background:#fff;border:1px solid #e5e7eb;border-radius:10px;gap:4px;padding:4px;display:flex}.marketing-period button{color:#6b7077;cursor:pointer;background:0 0;border:none;border-radius:7px;padding:9px 14px;font-size:13px;transition:all .2s}.marketing-period button:hover{background:#f2f3f5}.marketing-period button.active{color:#fff;background:#17191c}.marketing-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px;display:grid}.marketing-stat-card{background:#fff;border:1px solid #e7e8eb;border-radius:14px;align-items:center;gap:15px;min-width:0;padding:20px;display:flex}.stat-icon{color:#202328;background:#f1f2f4;border-radius:11px;justify-content:center;align-items:center;width:46px;min-width:46px;height:46px;font-size:20px;font-weight:700;display:flex}.marketing-stat-card span{color:#7b8087;margin-bottom:5px;font-size:12px;display:block}.marketing-stat-card strong{color:#17191c;font-size:23px;display:block}.marketing-section{margin-bottom:28px}.section-heading{margin-bottom:16px}.section-heading h2{color:#17191c;margin:0 0 5px;font-size:19px}.section-heading p{color:#858a91;margin:0;font-size:13px}.channel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.channel-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px}.channel-card-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.channel-name{align-items:center;gap:12px;display:flex}.channel-logo{background:#f0f1f3;border-radius:10px;justify-content:center;align-items:center;width:42px;height:42px;font-size:21px;font-weight:700;display:flex}.channel-name h3{color:#1b1d20;margin:0 0 3px;font-size:15px}.channel-name span{color:#8a8f96;font-size:12px}.performance-badge,.table-status{border-radius:20px;align-items:center;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex}.performance-badge.excellent,.table-status.excellent{color:#178247;background:#e8f7ee}.performance-badge.good,.table-status.good{color:#3b68c5;background:#eef4ff}.performance-badge.poor,.table-status.poor{color:#c94b4b;background:#fff0f0}.channel-revenue{margin:24px 0 18px}.channel-revenue span{color:#858a91;margin-bottom:5px;font-size:12px;display:block}.channel-revenue strong{color:#17191c;font-size:25px}.channel-details{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.channel-details div{min-width:0}.channel-details span{color:#8b9096;margin-bottom:5px;font-size:11px;display:block}.channel-details strong{color:#25282c;font-size:13px}.channel-progress{margin-top:20px}.progress-label{color:#858a91;justify-content:space-between;margin-bottom:7px;font-size:11px;display:flex}.progress-track{background:#eceef1;border-radius:20px;width:100%;height:7px;overflow:hidden}.progress-fill{border-radius:20px;height:100%}.progress-fill.excellent{background:#2fa66a}.progress-fill.good{background:#527acb}.progress-fill.poor{background:#d45b5b}.marketing-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:28px;display:grid}.highlight-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;align-items:center;gap:15px;padding:20px;display:flex}.highlight-icon{background:#f1f2f4;border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;font-size:22px;display:flex}.highlight-card span{color:#858a91;font-size:12px}.highlight-card h3{color:#17191c;margin:4px 0;font-size:19px}.highlight-card p{color:#6f747b;margin:0;font-size:12px}.table-container{background:#fff;border:1px solid #e5e7eb;border-radius:14px;width:100%;overflow-x:auto}.marketing-table{border-collapse:collapse;width:100%;min-width:760px}.marketing-table th{text-align:left;color:#777c83;background:#fafafa;border-bottom:1px solid #e8e9eb;padding:14px 18px;font-size:11px;font-weight:600}.marketing-table td{color:#42464c;border-bottom:1px solid #eeeeef;padding:16px 18px;font-size:13px}.marketing-table tbody tr:last-child td{border-bottom:none}.marketing-table tbody tr:hover{background:#fafbfc}.category-name{color:#25282c;align-items:center;gap:9px;font-weight:600;display:flex}.category-dot{background:#777c83;border-radius:50%;width:8px;height:8px}.email-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.email-stat{background:#fff;border:1px solid #e5e7eb;border-radius:13px;padding:18px}.email-stat span{color:#858a91;margin-bottom:7px;font-size:12px;display:block}.email-stat strong{color:#17191c;font-size:22px;display:block}.email-stat small{color:#858a91;margin-top:5px;font-size:11px;display:block}.insights-container{flex-direction:column;gap:12px;display:flex}.insight-card{background:#fff;border:1px solid #e5e7eb;border-radius:13px;align-items:flex-start;gap:13px;padding:17px;display:flex}.insight-icon{background:#f1f2f4;border-radius:9px;justify-content:center;align-items:center;width:35px;min-width:35px;height:35px;font-weight:700;display:flex}.insight-card h3{color:#24272b;margin:0 0 4px;font-size:14px}.insight-card p{color:#72777e;margin:0;font-size:13px;line-height:1.5}.no-insights{color:#777c83;background:#fff;border:1px solid #e5e7eb;border-radius:13px;align-items:center;gap:10px;padding:20px;display:flex}.no-insights span{font-size:22px}.marketing-loading,.marketing-error{color:#73777d;flex-direction:column;justify-content:center;align-items:center;min-height:400px;display:flex}.loading-spinner{border:3px solid #e5e7eb;border-top-color:#25282c;border-radius:50%;width:32px;height:32px;margin-bottom:12px;animation:.8s linear infinite marketing-spin}.marketing-error h3{color:#24272b;margin-bottom:5px}.marketing-error button{color:#fff;cursor:pointer;background:#17191c;border:none;border-radius:8px;margin-top:12px;padding:9px 18px}@keyframes marketing-spin{to{transform:rotate(360deg)}}@media (width<=1100px){.marketing-stats{grid-template-columns:repeat(2,1fr)}.channel-grid{grid-template-columns:1fr}.email-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=750px){.marketing-page{padding:18px}.marketing-header{flex-direction:column}.marketing-period{width:100%;overflow-x:auto}.marketing-period button{white-space:nowrap}.marketing-stats,.marketing-highlight-grid{grid-template-columns:1fr}.email-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=480px){.email-grid{grid-template-columns:1fr}.channel-details{grid-template-columns:1fr;gap:13px}}*{box-sizing:border-box;margin:0;padding:0}body{color:#171923;background:#f5f6f8;font-family:Arial,sans-serif}button{font-family:inherit}.app{min-height:100vh;display:flex}.sidebar{background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;width:250px;height:100vh;padding:24px 16px;display:flex;position:fixed;top:0;left:0}.logo{align-items:center;gap:12px;margin-bottom:35px;padding:0 8px;display:flex}.logo-icon{color:#fff;background:#171923;border-radius:10px;justify-content:center;align-items:center;width:42px;height:42px;font-size:14px;font-weight:700;display:flex}.logo-text h2{font-size:18px;line-height:20px}.logo-text span{color:#8b8f98;font-size:11px}.sidebar-nav{flex-direction:column;gap:5px;display:flex}.nav-heading{color:#9ca0a8;letter-spacing:1px;margin-bottom:8px;padding:0 12px;font-size:10px;font-weight:700}.nav-item{color:#656973;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:13px;width:100%;padding:11px 12px;font-size:14px;transition:all .2s;display:flex}.nav-item:hover{color:#171923;background:#f4f5f7}.nav-item.active{color:#fff;background:#171923}.nav-icon{justify-content:center;align-items:center;width:20px;font-size:16px;display:flex}.sidebar-bottom{margin-top:auto}.sidebar-bottom>.nav-item{margin-bottom:15px}.user-profile{border-top:1px solid #eee;align-items:center;gap:10px;padding:16px 8px 0;display:flex}.user-avatar{background:#e8e9ed;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-weight:700;display:flex}.user-info{flex-direction:column;gap:3px;display:flex}.user-info strong{font-size:13px}.user-info span{color:#8b8f98;font-size:11px}.main-content{width:calc(100% - 250px);min-height:100vh;margin-left:250px;padding:30px}
