*{margin:0;padding:0;box-sizing:border-box}:root{--screen-bg:#f8fafc;--sidebar-bg:#fff;--surface-card:#fff;--surface-strong:#fff;--border-muted:#e2e8f0;--text-primary:#1e293b;--text-secondary:#64748b;--accent:#6366f1;--accent-soft:rgba(99,102,241,.16);--shadow-card:0 1px 3px rgba(0,0,0,.05);--radius-lg:16px;--radius-md:12px;--radius-sm:8px}body{font-family:Inter,Manrope,Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--screen-bg);color:var(--text-primary)}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.login-card{background:#fff;padding:40px;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.3);width:100%;max-width:400px}.login-card h1{color:#333;margin-bottom:10px;font-size:2rem}.login-card p{color:#666;margin-bottom:30px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#333;font-weight:500}.form-group input{width:100%;padding:12px;border:2px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .3s}.form-group input:focus{outline:none;border-color:#667eea}.btn-primary{width:100%;padding:14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 20px rgba(102,126,234,.4)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.error-message{background-color:#fee;color:#c33;padding:12px;border-radius:6px;margin-bottom:20px;border-left:4px solid #c33}.admin-layout{min-height:100vh;background:#f8fafc;overflow:hidden}.admin-layout,.sidebar{display:flex;height:100vh;max-height:100vh}.sidebar{width:240px;background:#fff;color:#1e293b;padding:24px 16px 32px;flex-direction:column;align-items:stretch;gap:24px;border-right:1px solid #e2e8f0;position:relative;z-index:10;box-shadow:2px 0 8px rgba(0,0,0,.02);flex-shrink:0;overflow-y:auto}.mobile-nav-trigger,.sidebar-backdrop{display:none}.sidebar-nav{display:flex;flex-direction:column;gap:8px;width:100%;align-items:stretch;margin-top:12px}.sidebar-nav:after{content:"";display:block;margin-top:auto;height:24px}.sidebar-link{width:100%;height:48px;padding:0 16px;border-radius:12px;display:flex;align-items:center;justify-content:flex-start;gap:12px;background:transparent;color:#64748b;text-decoration:none;transition:all .2s ease;position:relative;font-weight:500}.sidebar-link:hover{background:#f8fafc;color:#1e293b}.sidebar-link.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;box-shadow:0 4px 12px rgba(99,102,241,.25)}.sidebar-icon{font-size:18px;flex-shrink:0}.sidebar-label{display:block;font-size:14px;font-weight:500}.sidebar-footer{margin-top:auto;padding-top:16px;border-top:1px solid rgba(31,42,46,.08);display:flex;flex-direction:column;gap:16px}.sidebar-user{gap:12px;padding:12px;border-radius:14px;background:hsla(0,0%,100%,.6)}.sidebar-avatar,.sidebar-user{display:flex;align-items:center}.sidebar-avatar{width:36px;height:36px;border-radius:50%;background:var(--accent);color:var(--surface-card);justify-content:center;font-weight:700;font-size:13px;letter-spacing:.04em;flex-shrink:0}.sidebar-user-info{display:flex;flex-direction:column;gap:4px;flex:1 1;min-width:0}.sidebar-username{font-weight:600;font-size:13px;color:#1f2a2e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-logout{all:unset;display:inline-flex;align-items:center;gap:6px;font-size:11px;cursor:pointer;color:rgba(31,42,46,.65);transition:color .2s ease}.sidebar-logout:hover{color:var(--accent)}.language-toggle{display:flex;gap:8px}.language-toggle--compact{background:rgba(31,42,46,.05);padding:4px;border-radius:16px;gap:6px}.language-toggle--compact .language-option{width:38px;height:32px;font-size:11px}.language-option{width:44px;height:36px;border-radius:14px;border:none;background:rgba(31,42,46,.08);color:#1f2a2e;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease}.language-option.active{background:#6366f1;color:#fff;box-shadow:0 2px 8px rgba(99,102,241,.25)}.language-option:not(.active):hover{background:rgba(31,42,46,.14)}.main-content{background:var(--screen-bg);position:relative;overflow:hidden}.main-content,.main-scroll{flex:1 1;display:flex;flex-direction:column;min-height:0}.main-scroll{overflow-y:auto;padding:48px;gap:32px}.page-shell{display:flex;flex-direction:column;gap:32px;width:100%}.page-hero{align-items:center;gap:16px}.page-hero h1{font-size:2rem;color:#24312d}.page-hero__meta{color:var(--text-secondary);font-size:.95rem}.page-section{background:var(--surface-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:28px 32px;display:flex;flex-direction:column;gap:24px}.page-loading{padding:120px 0}.page-loading,.panel-loading{display:flex;align-items:center;justify-content:center}.panel-loading{padding:60px 0}.main-scroll::-webkit-scrollbar{width:6px}.main-scroll::-webkit-scrollbar-thumb{background:rgba(31,42,46,.2);border-radius:8px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.page-header h1{font-size:2rem;color:#24312d}.btn{padding:10px 20px;border:none;border-radius:6px;font-size:1rem;cursor:pointer;transition:all .3s}.btn-secondary{background:#e2e8f0;color:#2d3748}.btn-secondary:hover{background:#cbd5e0}.btn-danger{background:#f56565;color:#fff}.btn-danger:hover{background:#e53e3e}.icon-button{width:46px;height:46px;border-radius:50%;border:none;display:inline-flex;align-items:center;justify-content:center;background:rgba(31,42,46,.08);color:#1f2a2e;cursor:pointer;transition:all .2s ease}.icon-button:hover{transform:translateY(-2px);box-shadow:0 10px 18px rgba(31,42,46,.15)}.icon-button.ghost{background:hsla(0,0%,100%,.8);box-shadow:inset 0 0 0 1px rgba(31,42,46,.05)}.icon-button.subtle{width:36px;height:36px;border-radius:12px;background:rgba(31,42,46,.06);box-shadow:none}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;padding:20px 28px;background:var(--surface-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.topbar-spacer{flex:1 1}.topbar-actions{gap:16px}.topbar-actions,.topbar-user{display:flex;align-items:center}.topbar-user{gap:12px;padding:8px 16px;border-radius:22px;background:rgba(31,42,46,.06)}.topbar-avatar{width:36px;height:36px;border-radius:50%;background:var(--accent);color:var(--surface-card);display:flex;align-items:center;justify-content:center;font-weight:700;letter-spacing:.04em}.topbar-user-meta{display:flex;flex-direction:column;gap:2px;font-size:12px;color:rgba(31,42,46,.7)}.topbar-user-meta span{font-weight:600;color:#1f2a2e}.topbar-user-meta button{all:unset;display:inline-flex;align-items:center;gap:6px;font-size:12px;cursor:pointer;color:rgba(31,42,46,.65)}.topbar-user-meta button:hover{color:var(--accent)}.ant-card{background:var(--surface-card);border:none;border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.ant-card-bordered{border:none!important}.ant-card-head{border-bottom:none;padding:24px 24px 0}.ant-card-head-title{font-weight:700;font-size:1.1rem;color:var(--text-primary)}.ant-card-body{padding:24px}.ant-btn{border-radius:18px;font-weight:600;padding:8px 18px;transition:all .2s ease}.ant-btn-primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;box-shadow:0 4px 12px rgba(99,102,241,.25)}.ant-btn-primary:focus,.ant-btn-primary:hover{background:linear-gradient(135deg,#4f46e5,#7c3aed);box-shadow:0 6px 16px rgba(99,102,241,.35)}.ant-btn-default{background:rgba(31,42,46,.08);border:none;color:var(--text-primary)}.ant-btn-link{color:var(--accent)}.ant-input,.ant-input-affix-wrapper,.ant-picker,.ant-picker-input>input,.ant-select-selector{background:hsla(0,0%,100%,.92);box-shadow:inset 0 0 0 1px transparent}.ant-input-affix-wrapper-focused,.ant-input:focus,.ant-picker-focused,.ant-select-focused .ant-select-selector{border-color:var(--accent)!important;box-shadow:0 0 0 2px rgba(46,87,71,.15)!important}.ant-select-selector{padding:6px 12px!important}.ant-form-item-label>label{color:var(--text-primary);font-weight:600}.ant-table{border-radius:var(--radius-lg);overflow:hidden;background:transparent}.ant-table-container{border-radius:inherit}.ant-table-thead>tr>th{background:rgba(46,87,71,.08)!important;border-bottom:none!important;color:var(--text-primary)!important;font-weight:600}.ant-table-tbody>tr>td{background:hsla(0,0%,100%,.9);border-bottom:1px solid var(--border-muted)}.ant-table-tbody>tr.ant-table-row:hover>td{background:rgba(46,87,71,.08)!important}.ant-table-pagination{margin:20px 24px}.ant-pagination-item-active{border-color:var(--accent)}.ant-pagination-item-active a{color:var(--accent)}.ant-modal-content{border-radius:var(--radius-lg);background:var(--surface-strong);box-shadow:var(--shadow-card)}.ant-modal-footer,.ant-modal-header{border:none;background:transparent}.ant-modal-close-x{width:44px;height:44px;line-height:44px}.ant-tabs-nav:before{border:none!important}.ant-tabs-tab{padding:12px 18px;border-radius:18px;transition:all .2s ease}.ant-tabs-tab-active{background:rgba(46,87,71,.12)}.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--accent)!important;font-weight:600}.ant-picker-range{width:100%}@media(max-width:1024px){.sidebar{position:fixed;top:0;bottom:0;left:0;width:240px;align-items:flex-start;padding:32px 24px;transform:translateX(-100%);transition:transform .3s ease;background:#f4f1e6;z-index:40}.sidebar.open{transform:translateX(0);box-shadow:10px 0 24px rgba(15,23,42,.12)}.sidebar.collapsed{transform:translateX(-100%)}.topbar{flex-direction:column;align-items:stretch;gap:16px}.topbar-actions{justify-content:space-between}.topbar-search input{width:100%}.sidebar-collapse-btn{display:none}.mobile-nav-trigger{position:fixed;top:16px;left:16px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:16px;border:none;background:rgba(31,42,46,.9);color:#f4f1e6;box-shadow:0 12px 24px rgba(31,42,46,.16);z-index:60}.mobile-nav-trigger.open{background:#2e5747}.sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:30}.main-scroll{padding:28px 24px}}@media(max-width:640px){.topbar{padding:18px}.topbar-actions{flex-wrap:wrap;gap:12px}.topbar-user{width:100%;justify-content:space-between}.language-toggle--compact{width:100%;justify-content:center}}.btn-success{background:#48bb78;color:#fff}.btn-success:hover{background:#38a169}.card{background:#fff;border-radius:8px;padding:24px;box-shadow:0 1px 3px rgba(0,0,0,.1);margin-bottom:20px}.table{width:100%;border-collapse:collapse}.table td,.table th{padding:12px;text-align:left;border-bottom:1px solid #e2e8f0}.table th{font-weight:600;color:#4a5568}.table th,.table tr:hover{background:#f7fafc}.badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:.875rem;font-weight:500}.badge-success{background:#c6f6d5;color:#22543d}.badge-warning{background:#feebc8;color:#7c2d12}.badge-info{background:#bee3f8;color:#2c5282}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:20px;gap:20px;margin-bottom:30px}.stat-card{background:#fff;padding:20px;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.stat-card h3{color:#718096;font-size:.875rem;margin-bottom:8px;text-transform:uppercase}.stat-card .stat-value{font-size:2rem;font-weight:700;color:#2d3748}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:1000}.modal{background:#fff;padding:30px;border-radius:12px;max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.modal h2{margin-bottom:20px;color:#2d3748}.modal-buttons{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.empty-state,.loading{padding:60px;color:#718096}.empty-state h3{margin-bottom:12px;color:#4a5568}.materials-grid{grid-gap:20px;gap:20px}.material-card{border-radius:8px;padding:20px;box-shadow:0 2px 4px rgba(0,0,0,.1)}.material-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.material-header h3{color:#2d3748;font-size:1.25rem}.stock-badge{padding:4px 12px;border-radius:12px;font-size:.875rem;font-weight:600}.stock-badge.ok{background:#c6f6d5;color:#22543d}.stock-badge.low{background:#fed7d7;color:#742a2a}.material-details{margin-bottom:16px}.detail-row{padding:8px 0}.material-actions{display:flex;gap:8px;margin-top:16px}.btn-sm{padding:6px 12px;font-size:.875rem}.modal-content{background:#fff;padding:30px;border-radius:12px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}.modal-content h2{margin-bottom:24px;color:#2d3748}.form-group select,.form-group textarea{width:100%;padding:10px;border:2px solid #e2e8f0;border-radius:6px;font-size:1rem}.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.recipes-page .filter-section{background:#fff;padding:20px;border-radius:8px;margin-bottom:20px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.filter-select{padding:10px;border:2px solid #e2e8f0;border-radius:6px;font-size:1rem;margin-left:12px;min-width:250px}.recipe-details{background:#fff;padding:24px;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.ingredients-list{margin-top:20px}.ingredient-card{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f7fafc;border-radius:6px;margin-bottom:12px}.ingredient-info h4{color:#2d3748;margin-bottom:4px}.ingredient-info p{color:#718096}.cost-info{font-size:.875rem;color:#48bb78}.recipe-summary{margin-top:24px;padding-top:24px;border-top:2px solid #e2e8f0}.recipes-overview{display:flex;flex-direction:column;gap:20px}.menu-item-recipe{background:#fff;padding:24px;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.menu-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.recipe-stats{display:flex;gap:16px;font-size:.875rem}.ingredient-count{color:#718096}.recipe-cost{color:#ed8936}.recipe-price{color:#48bb78}.recipe-margin.positive{color:#48bb78;font-weight:600}.recipe-margin.negative{color:#f56565;font-weight:600}.ingredients-summary{display:flex;flex-wrap:wrap;gap:8px}.ingredient-tag{padding:6px 12px;background:#edf2f7;border-radius:12px;font-size:.875rem;color:#4a5568}.empty-message{text-align:center;padding:40px;color:#a0aec0}.cost-preview{padding:16px;background:#f7fafc;border-radius:6px;margin-top:16px;color:#48bb78}.orders-page .header-stats{display:flex;gap:16px}.orders-page .stat-card{min-width:150px}.orders-page .stat-label{display:block;font-size:.875rem;color:#718096;margin-bottom:4px}.orders-page .stat-value{display:block;font-size:1.5rem;font-weight:700;color:#2d3748}.filter-section{background:#fff;padding:16px;border-radius:8px;margin-bottom:20px;display:flex;align-items:center;gap:12px}.date-filter{padding:8px 12px;border:2px solid #e2e8f0;border-radius:6px;font-size:1rem}.orders-layout{display:grid;grid-template-columns:1fr 1.5fr;grid-gap:20px;gap:20px}.orders-list{background:#fff;padding:20px;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.1);max-height:calc(100vh - 300px);overflow-y:auto}.orders-list h2{margin-bottom:16px;color:#2d3748}.order-item{padding:16px;border:2px solid #e2e8f0;border-radius:6px;margin-bottom:12px;cursor:pointer;transition:all .3s}.order-item:hover{border-color:#667eea;background:#f7fafc}.order-item.selected{border-color:#667eea;background:#edf2f7}.order-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.order-customer{font-weight:600;color:#2d3748}.order-total{font-weight:700;color:#48bb78;font-size:1.125rem}.order-meta{display:flex;justify-content:space-between;font-size:.875rem;color:#718096}.order-details{background:#fff;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.1);max-height:calc(100vh - 300px);overflow-y:auto}.order-details h2{margin-bottom:20px;color:#2d3748}.detail-section{margin-bottom:24px}.detail-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e2e8f0}.detail-row .label{color:#718096;font-weight:500}.detail-row .value{color:#2d3748}.order-items-list{margin-top:16px}.order-item-detail{padding:12px;background:#f7fafc;border-radius:6px;margin-bottom:8px}.item-info{display:flex;justify-content:space-between;margin-bottom:4px}.item-name{font-weight:600;color:#2d3748}.item-quantity{color:#718096}.item-pricing{display:flex;justify-content:space-between;font-size:.875rem}.item-unit-price{color:#718096}.item-total{color:#48bb78;font-weight:600}.order-total-section{margin-top:24px;padding-top:16px;border-top:2px solid #e2e8f0}.total-row{display:flex;justify-content:space-between;align-items:center}.total-label{font-size:1.25rem;font-weight:600;color:#2d3748}.total-value{font-size:1.75rem;font-weight:700;color:#48bb78}.empty-detail{display:flex;align-items:center;justify-content:center;height:100%;color:#a0aec0}.analytics-page .period-selector{display:flex;gap:8px}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:20px;gap:20px;margin-bottom:30px}.analytics-card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.1);display:flex;align-items:center;gap:16px}.card-icon{font-size:3rem}.card-content h3{font-size:.875rem;color:#718096;margin-bottom:8px;text-transform:uppercase;font-weight:500}.card-value{font-size:2rem;font-weight:700;color:#2d3748}.card-value.positive{color:#48bb78}.card-value.negative{color:#f56565}.card-subtitle{font-size:.875rem;color:#a0aec0;margin-top:4px}.analytics-section{background:#fff;padding:24px;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.1);margin-bottom:24px}.analytics-section h2{margin-bottom:20px;color:#2d3748}.top-items-grid{display:flex;flex-direction:column;gap:16px}.top-item-card{display:flex;align-items:center;gap:16px;padding:16px;background:#f7fafc;border-radius:8px}.item-rank{font-size:1.5rem;font-weight:700;color:#667eea;min-width:50px;text-align:center}.item-details{flex:1 1}.item-details h4{color:#2d3748;margin-bottom:8px}.item-stats{display:flex;gap:16px;font-size:.875rem;color:#718096}.item-progress{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin-top:8px}.progress-bar{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s}.low-stock-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:16px;gap:16px}.low-stock-card{padding:16px;background:#fff5f5;border-left:4px solid #f56565;border-radius:6px}.material-name{font-weight:600;color:#2d3748;margin-bottom:8px}.stock-info{display:flex;justify-content:space-between;font-size:.875rem;color:#718096;margin-bottom:8px}.stock-bar{width:100%;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.stock-level{height:100%;transition:width .3s}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:20px;gap:20px}.summary-card{padding:20px;background:#f7fafc;border-radius:8px}.summary-card h4{margin-bottom:16px;color:#2d3748}.breakdown-item,.metric-item{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e2e8f0}.breakdown-item.total{border-top:2px solid #2d3748;margin-top:8px;font-weight:700}.breakdown-item .cost{color:#f56565}.breakdown-item .profit{color:#48bb78}.breakdown-item .loss{color:#f56565}.metric-value{font-weight:600;color:#667eea}.analytics-controls{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.view-mode-tabs{display:flex;gap:8px;background:#f3f4f6;padding:4px;border-radius:8px}.view-mode-tabs .tab{padding:8px 16px;border:none;background:transparent;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s;color:#6b7280}.view-mode-tabs .tab.active{background:#fff;color:#667eea;box-shadow:0 1px 3px rgba(0,0,0,.1)}.date-range-picker{background:#fff;padding:20px;border-radius:8px;margin-bottom:20px;display:flex;gap:20px;align-items:center}.date-input-group{display:flex;align-items:center;gap:10px}.date-input-group label{font-weight:500;color:#374151}.date-input-group input[type=date]{padding:8px 12px;border:2px solid #e5e7eb;border-radius:6px;font-size:14px}.date-input-group input[type=date]:focus{outline:none;border-color:#667eea}.daily-profit-section{background:#fff;padding:24px;border-radius:12px;margin-top:20px}.chart-container{margin:30px 0;padding:20px;background:#f9fafb;border-radius:8px}.chart-bars{display:flex;gap:12px;align-items:flex-end;justify-content:space-around;min-height:250px;padding:20px 0}.chart-bar-group{display:flex;flex-direction:column;align-items:center;flex:1 1;max-width:80px}.bar-stack{display:flex;gap:4px;align-items:flex-end;width:100%;justify-content:center}.bar{width:35px;border-radius:4px 4px 0 0;transition:all .3s;cursor:pointer}.revenue-bar{background:linear-gradient(180deg,#667eea,#764ba2)}.profit-bar{background:linear-gradient(180deg,#10b981,#059669)}.bar:hover{opacity:.8;transform:scale(1.05)}.bar-label{margin-top:8px;font-size:11px;color:#6b7280;text-align:center;max-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-legend{display:flex;gap:20px;justify-content:center;margin-top:20px}.legend-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#374151}.legend-color{width:24px;height:12px;border-radius:2px}.legend-color.revenue{background:linear-gradient(90deg,#667eea,#764ba2)}.legend-color.profit{background:linear-gradient(90deg,#10b981,#059669)}.daily-table{margin-top:30px;overflow-x:auto}.daily-table table{width:100%;border-collapse:collapse;background:#fff}.daily-table th{background:#f9fafb;padding:12px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb}.daily-table td{padding:12px;border-bottom:1px solid #e5e7eb;color:#6b7280}.daily-table tfoot td{background:#f9fafb;font-weight:600;border-top:2px solid #e5e7eb}.daily-table .positive{color:#059669;font-weight:600}.daily-table .negative{color:#dc2626;font-weight:600}.products-section{background:#fff;padding:24px;border-radius:12px;margin-top:20px}.products-table{margin-top:20px;overflow-x:auto}.products-table table{width:100%;border-collapse:collapse;font-size:14px}.products-table th{background:#f9fafb;padding:12px 8px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap}.products-table td{padding:12px 8px;border-bottom:1px solid #e5e7eb;color:#6b7280}.products-table tfoot td{background:#f9fafb;font-weight:600;border-top:2px solid #e5e7eb}.product-insights{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-top:30px}.insight-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:20px;border-radius:12px}.insight-card h3{font-size:14px;opacity:.9}.insight-value{font-size:24px;font-weight:700;margin-bottom:8px}.insight-detail{font-size:14px;opacity:.9}.empty-state{background:#fff;padding:60px 20px;color:#6b7280;margin-top:20px}.empty-state p{font-size:16px}.loading{background:#fff;padding:60px 20px;border-radius:12px;text-align:center;color:#667eea;margin-top:20px;font-weight:500}.total-row{background:#f3f4f6!important}.total-row td{font-weight:600!important;color:#111827!important}.inventory-section{background:#fff;padding:24px;border-radius:12px;margin-top:20px}.inventory-section h2{margin-bottom:20px;color:#2d3748}.inventory-table{margin-top:20px;overflow-x:auto}.inventory-table table{width:100%;border-collapse:collapse;font-size:14px}.inventory-table th{background:#f9fafb;padding:12px 8px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap}.inventory-table td{padding:12px 8px;border-bottom:1px solid #e5e7eb;color:#6b7280}.inventory-table tr.low-stock-row{background:#fff5f5}.inventory-table tr.low-stock-row:hover{background:#fed7d7}.type-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.type-badge.raw{background:#dbeafe;color:#1e40af}.type-badge.processed{background:#fef3c7;color:#92400e}.status-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600}.status-badge.success{background:#d1fae5;color:#065f46}.status-badge.warning{background:#fee2e2;color:#991b1b}@media(max-width:1024px){.sidebar{width:200px}.main-content{padding:20px}.analytics-grid,.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.orders-layout{grid-template-columns:1fr}.materials-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}@media(max-width:767px){.admin-layout{flex-direction:column}.sidebar{width:100%;height:auto;min-height:auto;padding:16px;position:-webkit-sticky;position:sticky;top:0;z-index:100;max-height:70px;overflow:hidden;transition:max-height .3s ease}.sidebar.open{max-height:100vh;overflow-y:auto}.sidebar-header{margin-bottom:8px}.sidebar-header h2{font-size:1.25rem}.sidebar-header p{font-size:.75rem}.nav-menu{display:none}.sidebar.open .nav-menu{display:block}.sidebar.open .sidebar-header{margin-bottom:16px}.main-content{padding:16px;height:auto}.page-header{flex-direction:column;align-items:flex-start;gap:16px}.page-header h1{font-size:1.5rem}.analytics-grid,.stats-grid{grid-template-columns:1fr;gap:12px}.orders-layout{grid-template-columns:1fr}.order-details,.orders-list{max-height:none}.materials-grid{grid-template-columns:1fr}.card{padding:16px}.table{font-size:.875rem}.table td,.table th{padding:8px}.table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}.modal,.modal-content{width:95%;padding:20px;max-height:85vh}.login-card{padding:24px;margin:16px}.login-card h1{font-size:1.5rem}.recipes-new-page .recipes-layout{display:flex;flex-direction:column}.ingredients-card,.products-card{width:100%}.chart-bars{overflow-x:auto;justify-content:flex-start}.chart-bar-group{min-width:60px}.date-range-picker{flex-direction:column;gap:12px}.date-input-group{width:100%;flex-direction:column;align-items:flex-start}.date-input-group input[type=date]{width:100%}.daily-table,.inventory-table,.products-table{font-size:.75rem}.daily-table td,.daily-table th,.inventory-table td,.inventory-table th,.products-table td,.products-table th{padding:6px 4px}.product-insights,.summary-grid{grid-template-columns:1fr}.top-item-card{flex-direction:column;text-align:center}.item-stats{flex-direction:column;gap:8px}.form-group label{font-size:.875rem}.form-group input,.form-group select,.form-group textarea{font-size:1rem}.btn{padding:12px 16px;font-size:.875rem}}.recent-pages{background:hsla(0,0%,100%,.6);border-radius:14px;padding:12px 16px;margin-bottom:16px}.recent-pages-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.recent-pages-title{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;color:rgba(31,42,46,.7);text-transform:uppercase;letter-spacing:.05em}.recent-pages-clear{all:unset;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:6px;color:rgba(31,42,46,.5);cursor:pointer;transition:all .2s ease;font-size:10px}.recent-pages-clear:hover{background:rgba(31,42,46,.08);color:rgba(31,42,46,.8)}.recent-pages-list{display:flex;flex-wrap:wrap;gap:8px}.recent-page-item{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;background:rgba(31,42,46,.06);border-radius:8px;text-decoration:none;font-size:11px;color:rgba(31,42,46,.75);transition:all .2s ease;white-space:nowrap}.recent-page-item:hover{background:rgba(46,87,71,.12);color:var(--accent)}.recent-page-label{font-weight:500}.recent-page-time{font-size:10px;opacity:.7}.sidebar-footer-actions{display:flex;align-items:center;gap:8px;padding:8px;background:rgba(31,42,46,.04);border-radius:12px}.sidebar-footer-actions>*{flex-shrink:0}.sidebar-footer .language-toggle--compact{display:flex;align-items:center;width:auto;flex:0 0 auto}.sidebar-footer .ant-btn,.sidebar-footer .theme-toggle{min-width:32px!important;padding:0!important}.notification-trigger,.sidebar-footer .ant-btn,.sidebar-footer .theme-toggle{width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important}.notification-trigger{cursor:pointer;background:transparent;border-radius:8px;transition:all .2s ease}.notification-trigger:hover{background:rgba(31,42,46,.08)}.command-palette-trigger{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:rgba(31,42,46,.06);cursor:pointer;transition:all .2s ease}.command-palette-trigger:hover{background:rgba(31,42,46,.12)}.breadcrumbs-wrapper{margin-bottom:16px}.breadcrumbs-wrapper .ant-breadcrumb{font-size:13px}.breadcrumbs-wrapper .ant-breadcrumb-link{color:rgba(31,42,46,.65);transition:color .2s ease}.breadcrumbs-wrapper .ant-breadcrumb-link:hover{color:var(--accent)}.sidebar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid rgba(31,42,46,.08)}.sidebar-collapse-btn{all:unset;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:rgba(31,42,46,.06);cursor:pointer;transition:all .2s ease;font-size:16px;color:rgba(31,42,46,.7);flex-shrink:0}.sidebar-collapse-btn:hover{background:rgba(46,87,71,.12);color:var(--accent)}.sidebar.collapsed{width:80px;align-items:center}.sidebar.collapsed .sidebar-logo{margin:0}.sidebar.collapsed .logo-text,.sidebar.collapsed .sidebar-label{display:none}.sidebar.collapsed .sidebar-footer-actions{flex-direction:column;gap:6px}.sidebar.collapsed .language-toggle--compact{flex-direction:column;width:100%}.sidebar.collapsed .sidebar-user-info{display:none}.main-content.sidebar-collapsed{margin-left:80px}.sidebar-logo{display:flex;align-items:center;gap:12px;padding:8px}.logo-mark{flex-shrink:0;font-size:32px;line-height:1;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.logo-text{font-size:20px;font-weight:700;color:#1f2a2e;letter-spacing:-.02em;line-height:1}.tab-navigation{display:inline-flex;align-items:center;gap:8px;background:#f1f5f9;padding:6px;border-radius:12px;flex-wrap:wrap}.tab-button{all:unset;display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:8px;font-size:.875rem;font-weight:600;color:#64748b;cursor:pointer;transition:all .2s ease;white-space:nowrap}.tab-button:hover{color:#1e293b;background:hsla(0,0%,100%,.5)}.tab-button.tab-button--active{background:#fff;color:#6366f1;box-shadow:0 2px 8px rgba(0,0,0,.08)}.tab-icon{font-size:16px}.tab-icon,.tab-label{line-height:1}.page-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:8px 0 24px;flex-wrap:wrap}.page-hero__title{display:flex;flex-direction:column;gap:8px}.page-hero__title h1{font-size:2rem;font-weight:700;color:#1e293b;margin:0;line-height:1.2}.page-hero__title p{font-size:.95rem;color:#64748b;margin:0}.page-hero__actions{align-items:center}.metrics-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:20px;gap:20px;margin-bottom:24px}.metric-summary-card{background:#fff;border-radius:16px;padding:20px;display:flex;align-items:center;gap:16px;box-shadow:0 1px 3px rgba(0,0,0,.05);border:1px solid #e2e8f0;transition:all .3s cubic-bezier(.4,0,.2,1)}.metric-summary-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-2px);border-color:#cbd5e1}.metric-summary-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0}.metric-summary-content{flex:1 1;display:flex;flex-direction:column;gap:6px;min-width:0}.metric-summary-content .label{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;font-weight:600}.metric-summary-content .value{font-size:1.75rem;font-weight:700;color:#1e293b;line-height:1;letter-spacing:-.02em}.metric-summary-content .note{font-size:.75rem;color:#64748b}.data-table-panel{background:#fff;border-radius:16px;padding:24px;box-shadow:0 1px 3px rgba(0,0,0,.05);border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:20px}.data-table-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;border-bottom:1px solid #f1f5f9;flex-wrap:wrap}.data-table-header h2{font-size:1.25rem;color:#1e293b;margin:0;font-weight:700}.data-table-header p{font-size:.875rem;color:#64748b;margin:4px 0 0}.data-table-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}@media(max-width:768px){.metrics-summary{grid-template-columns:1fr}.tab-navigation{width:100%;justify-content:center}.page-hero{flex-direction:column;align-items:stretch}.page-hero__actions{width:100%}}.products-page{display:flex;flex-direction:column;gap:32px;width:100%}.products-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:24px;gap:24px;margin-bottom:24px}.products-summary__card{background:#f8fafc;border-radius:24px;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:24px;display:flex;align-items:center;gap:24px;transition:all .2s ease}.products-summary__card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.products-summary__card--products .products-summary__icon{background:linear-gradient(135deg,#10b981,#059669)}.products-summary__card--categories .products-summary__icon,.products-summary__card--products .products-summary__icon{width:52px;height:52px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0}.products-summary__card--categories .products-summary__icon{background:linear-gradient(135deg,#f59e0b,#d97706)}.products-summary__card--direct .products-summary__icon{background:linear-gradient(135deg,#6366f1,#8b5cf6)}.products-summary__card--direct .products-summary__icon,.products-summary__card--manufactured .products-summary__icon{width:52px;height:52px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0}.products-summary__card--manufactured .products-summary__icon{background:linear-gradient(135deg,#ec4899,#db2777)}.products-summary__card--inactive .products-summary__icon{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,#ef4444,#dc2626);display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0}.products-summary__icon{flex-shrink:0}.products-summary__content{display:flex;flex-direction:column;gap:6px;flex:1 1}.products-summary__content span{font-size:.85rem;color:rgba(31,42,46,.6)}.products-summary__content strong{font-size:1.6rem;color:#1f2a2e}.products-summary__note{font-size:.75rem;color:rgba(31,42,46,.6);font-weight:600}.products-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:24px}.products-header h1{font-size:1.75rem;color:#24312d;margin:0}.products-filters,.products-header__actions{display:flex;gap:12px}.products-filters{flex-wrap:wrap;margin-bottom:24px;align-items:stretch}.products-filters .ant-input-search,.products-filters .ant-select{flex:1 1 220px;min-width:220px}.products-filters .ant-input-group{width:100%}@media(max-width:639px){.products-filters{flex-direction:column}.products-filters .ant-input-search,.products-filters .ant-select{width:100%}}.products-table-wrapper .ant-table{border-radius:24px;overflow:hidden;background:transparent}.products-table-wrapper .ant-table-thead>tr>th{background:rgba(46,87,71,.08)!important;border-bottom:none!important;color:#1e293b!important;font-weight:600;padding:16px 12px}.products-table-wrapper .ant-table-tbody>tr>td{background:hsla(0,0%,100%,.9);border-bottom:1px solid rgba(31,42,46,.08);padding:16px 12px}.products-table-wrapper .ant-table-tbody>tr.ant-table-row:hover>td{background:rgba(99,102,241,.08)!important}.products-table-wrapper .product-image-cell{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.products-table-wrapper .product-image{width:60px;height:60px;object-fit:cover;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.05);transition:all .2s ease}.products-table-wrapper .product-image:hover{transform:scale(1.1);box-shadow:0 4px 12px rgba(0,0,0,.08)}.products-table-wrapper .product-image-placeholder{width:60px;height:60px;border-radius:12px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:.7rem}.products-table-wrapper .product-name-input{font-weight:600}.products-table-wrapper .product-name-input .ant-input{font-weight:600;border:2px solid transparent}.products-table-wrapper .product-name-input .ant-input:hover{border-color:#e2e8f0}.products-table-wrapper .product-name-input .ant-input:focus{border-color:#6366f1}.products-table-wrapper .ant-select{width:100%}.products-table-wrapper .ant-select .ant-select-selector{border:2px solid transparent;transition:all .2s ease}.products-table-wrapper .ant-select .ant-select-selector:hover{border-color:#e2e8f0}.products-table-wrapper .ant-select.ant-select-focused .ant-select-selector{border-color:#6366f1}.products-table-wrapper .status-active{color:#16a34a}.products-table-wrapper .status-inactive{color:#94a3b8}.products-table-wrapper .ant-btn-link.ant-btn-dangerous:hover{background:#fee2e2;color:#ef4444}.product-form-modal .ant-modal-header{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border-radius:24px 24px 0 0}.product-form-modal .ant-modal-header .ant-modal-title{color:#fff;font-weight:700}.product-form-modal .ant-modal-close{color:#fff}.product-form-modal .ant-modal-close:hover{background:hsla(0,0%,100%,.2)}.product-form .ant-typography{margin-bottom:12px}.product-form .ant-divider{margin:24px 0;border-color:#e2e8f0}.product-form .ant-form-item-label>label{font-weight:600;color:#1e293b}.product-image-upload{display:flex;flex-direction:column;gap:12px}.product-image-upload__preview{width:96px;height:96px;border-radius:16px;object-fit:cover;border:2px solid #e2e8f0;box-shadow:0 1px 3px rgba(0,0,0,.05);transition:all .2s ease}.product-image-upload__preview:hover{transform:scale(1.05);box-shadow:0 4px 12px rgba(0,0,0,.08)}.product-image-upload__placeholder{display:flex;align-items:center;justify-content:center;width:96px;height:96px;border-radius:16px;border:2px dashed #e2e8f0;background:#f1f5f9;color:#94a3b8;font-size:.75rem;text-align:center;padding:12px;transition:all .2s ease}.product-image-upload__placeholder:hover{border-color:#6366f1;color:#6366f1;background:rgba(99,102,241,.16)}.product-image-upload .ant-btn{width:-moz-fit-content;width:fit-content}.table-image-upload{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.table-image-upload .ant-btn-sm{font-size:.7rem;height:28px;padding:0 12px;border-radius:12px}.material-config-section{background:rgba(99,102,241,.05);border:2px solid rgba(99,102,241,.1);border-radius:16px;padding:24px;margin-top:20px}.material-config-section .ant-typography-title{color:#6366f1;margin-bottom:4px!important}.material-config-section .ant-typography-paragraph{color:#64748b;font-size:.75rem}.material-config-section .ant-form-item{margin-bottom:16px}.product-form-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:28px;padding-top:24px;border-top:1px solid #e2e8f0}.product-form-footer .ant-btn{min-width:100px}.product-type-badge--manufactured{background:#dbeafe;color:#4f46e5}.product-type-badge--direct,.product-type-badge--manufactured{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600}.product-type-badge--direct{background:#dcfce7;color:#16a34a}.products-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:48px;color:#94a3b8;gap:20px}.products-empty__icon{font-size:64px;opacity:.5}.products-empty__title{font-size:1.25rem;font-weight:600;color:#64748b}.products-empty__description{font-size:.85rem;color:#94a3b8;text-align:center;max-width:400px}.products-empty .ant-btn{margin-top:16px}.products-loading{display:flex;align-items:center;justify-content:center;padding:48px 0;color:#94a3b8;min-height:400px}@media(max-width:639px){.products-summary{grid-template-columns:1fr}.products-header{flex-direction:column;align-items:flex-start}.products-header__actions{width:100%;justify-content:stretch}.products-header__actions .ant-btn{flex:1 1}.products-table-wrapper .ant-table{font-size:.75rem}.products-table-wrapper .product-image{width:48px;height:48px}.product-form-footer{flex-direction:column}.product-form-footer .ant-btn{width:100%}}@media(min-width:768px){.products-summary{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}.product-quick-actions{display:flex;gap:4px;align-items:center}.product-quick-actions .ant-btn{padding:0 12px;height:32px}.product-quick-actions .ant-btn-icon-only{width:32px;padding:0}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-gap:24px;gap:24px}.product-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:24px;transition:transform .2s ease,box-shadow .2s ease}.product-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.product-card{display:flex;flex-direction:column;gap:16px;position:relative;overflow:hidden}.product-card__image{width:100%;height:180px;object-fit:cover;border-radius:12px;background:#f1f5f9}.product-card__header{display:flex;flex-direction:column;gap:4px}.product-card__name{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.product-card__category{font-size:.75rem;color:#64748b}.product-card__meta{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #e2e8f0}.product-card__actions{display:flex;gap:4px;margin-top:auto}.product-card--inactive{opacity:.6}.orders-page{display:flex;flex-direction:column;gap:32px;width:100%}.orders-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:24px;gap:24px;margin-bottom:24px}.orders-stats .ant-card{transition:transform .2s ease,box-shadow .2s ease}.orders-stats .ant-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.orders-stats .ant-card{position:relative;overflow:hidden}.orders-stats .ant-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(135deg,#10b981,#059669)}.orders-stats .ant-card--unpaid:before{background:linear-gradient(135deg,#ef4444,#dc2626)}.orders-stats .ant-card--revenue:before{background:linear-gradient(135deg,#6366f1,#8b5cf6)}.orders-stats .ant-statistic-title{color:#64748b;font-weight:600;font-size:.9rem;margin-bottom:8px}.orders-stats .ant-statistic-content{font-size:1.5rem;font-weight:700}.orders-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:24px}.orders-header h1{font-size:1.75rem;color:#24312d;margin:0}.orders-header h2{font-size:1.1rem;font-weight:600;color:#24312d;margin:0 0 16px}.orders-filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px;align-items:center}.orders-filters .ant-input{width:250px}.orders-filters .ant-picker{width:200px}@media(max-width:639px){.orders-filters{flex-direction:column;align-items:stretch}.orders-filters .ant-btn,.orders-filters .ant-input,.orders-filters .ant-picker{width:100%}}.orders-bulk-actions{display:flex;gap:12px;flex-wrap:wrap;padding:16px;background:rgba(24,144,255,.05);border:2px solid rgba(24,144,255,.1);border-radius:16px;margin-bottom:16px}.orders-bulk-actions__count{display:flex;align-items:center;justify-content:center;padding:0 12px;font-weight:600;color:#6366f1}.orders-bulk-actions .ant-btn{height:36px;padding:0 18px;border-radius:18px;font-weight:600;transition:all .2s ease;cursor:pointer;border:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.orders-bulk-actions .ant-btn:disabled{opacity:.5;cursor:not-allowed}.orders-bulk-actions .ant-btn-primary{height:36px;padding:0 18px;border-radius:18px;font-weight:600;transition:all .2s ease;cursor:pointer;border:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.orders-bulk-actions .ant-btn-primary:disabled{opacity:.5;cursor:not-allowed}.orders-bulk-actions .ant-btn-primary{background:#6366f1;color:#fff;box-shadow:0 12px 24px rgba(46,87,71,.25)}.orders-bulk-actions .ant-btn-primary:hover:not(:disabled){background:#8b5cf6;transform:translateY(-1px);box-shadow:0 8px 16px rgba(0,0,0,.12)}.orders-bulk-actions .ant-btn-primary:active:not(:disabled){transform:translateY(0)}@media(max-width:639px){.orders-bulk-actions{flex-direction:column}.orders-bulk-actions .ant-btn{width:100%}}.orders-table-wrapper .ant-table{border-radius:24px;overflow:hidden;background:transparent}.orders-table-wrapper .ant-table-thead>tr>th{background:rgba(46,87,71,.08)!important;border-bottom:none!important;color:#1e293b!important;font-weight:600;padding:16px 12px}.orders-table-wrapper .ant-table-tbody>tr>td{background:hsla(0,0%,100%,.9);border-bottom:1px solid rgba(31,42,46,.08);padding:16px 12px}.orders-table-wrapper .ant-table-tbody>tr.ant-table-row:hover>td{background:rgba(99,102,241,.08)!important}.orders-table-wrapper .unpaid-row{background:rgba(255,77,79,.08)!important}.orders-table-wrapper .unpaid-row:hover{background:rgba(255,77,79,.12)!important}.orders-table-wrapper .order-id-cell{font-weight:600;color:#6366f1;font-family:Courier New,monospace}.orders-table-wrapper .customer-cell{font-weight:500}.orders-table-wrapper .date-cell{font-size:.75rem;color:#64748b}.orders-table-wrapper .amount-cell{font-weight:700;color:#16a34a;font-size:.9rem}.orders-table-wrapper .ant-tag{font-weight:600;padding:4px 12px}.orders-table-wrapper .ant-tag.ant-tag-success{background:#dcfce7;color:#16a34a}.orders-table-wrapper .ant-tag.ant-tag-error,.orders-table-wrapper .ant-tag.ant-tag-success{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600}.orders-table-wrapper .ant-tag.ant-tag-error{background:#fee2e2;color:#991b1b}.orders-table-wrapper .orders-actions{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.orders-table-wrapper .orders-actions .ant-btn-sm{font-size:.7rem;height:28px;padding:0 12px;border-radius:12px}.orders-table-wrapper .ant-checkbox-wrapper .ant-checkbox-checked .ant-checkbox-inner{background:#6366f1;border-color:#6366f1}.orders-table-wrapper .ant-checkbox-wrapper .ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:#6366f1}.payment-modal .ant-modal-header{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-radius:24px 24px 0 0}.payment-modal .ant-modal-header .ant-modal-title{color:#fff;font-weight:700}.payment-modal .ant-modal-close{color:#fff}.payment-modal .ant-modal-close:hover{background:hsla(0,0%,100%,.2)}.payment-modal .ant-modal-body{padding:28px}.payment-modal .ant-modal-body p{margin-bottom:16px;font-size:.9rem;color:#64748b}.payment-modal .ant-modal-body .ant-select{width:100%}.payment-modal .ant-modal-footer{border-top:1px solid #e2e8f0;padding:16px 28px}.payment-modal .ant-modal-footer .ant-btn{min-width:100px}.payment-method-select .ant-select-item{padding:12px 16px;transition:all .2s ease}.payment-method-select .ant-select-item:hover{background:rgba(99,102,241,.08)}.payment-method-select .ant-select-item-option-selected{background:rgba(99,102,241,.12);color:#6366f1;font-weight:600}.payment-method-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600;font-family:Courier New,monospace;text-transform:uppercase}.payment-method-badge--cash{background:rgba(82,196,26,.1);color:#16a34a}.payment-method-badge--card{background:rgba(24,144,255,.1);color:#6366f1}.payment-method-badge--transfer{background:rgba(250,173,20,.1);color:#d97706}.print-button{height:36px;padding:0 18px;border-radius:18px;font-weight:600;transition:all .2s ease;cursor:pointer;border:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.print-button:disabled{opacity:.5;cursor:not-allowed}.print-button{background:rgba(95,95,95,.08);color:#1e293b}.print-button:hover{background:rgba(95,95,95,.15)}.print-button .anticon{color:#64748b}.combine-bills-button{height:36px;padding:0 18px;border-radius:18px;font-weight:600;transition:all .2s ease;cursor:pointer;border:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.combine-bills-button:disabled{opacity:.5;cursor:not-allowed}.combine-bills-button{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.combine-bills-button:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}.orders-summary-banner{background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:16px;padding:24px;margin-bottom:24px;color:#fff;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.orders-summary-banner__info h3{color:#fff;margin:0 0 4px;font-size:1.25rem}.orders-summary-banner__info p{margin:0;opacity:.9}.orders-summary-banner__stats{display:flex;gap:28px}.orders-summary-banner__stats .stat{text-align:center}.orders-summary-banner__stats .stat__value{display:block;font-size:1.5rem;font-weight:700;margin-bottom:4px}.orders-summary-banner__stats .stat__label{display:block;opacity:.9;font-size:.75rem}@media(max-width:639px){.orders-summary-banner__stats{width:100%;justify-content:space-around}}.filter-pills{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.filter-pills__pill{padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600;background:rgba(99,102,241,.12);color:#6366f1;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:4px}.filter-pills__pill:hover{transform:translateY(-1px)}.filter-pills__pill--active,.filter-pills__pill:hover{background:#6366f1;color:#fff}.filter-pills__pill .anticon-close{font-size:10px;opacity:.7}.filter-pills__pill .anticon-close:hover{opacity:1}.orders-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:48px;color:#94a3b8;gap:20px}.orders-empty__icon{font-size:64px;opacity:.5}.orders-empty__title{font-size:1.25rem;font-weight:600;color:#64748b}.orders-empty__description{font-size:.85rem;color:#94a3b8;text-align:center;max-width:400px}.orders-loading{display:flex;align-items:center;justify-content:center;padding:48px 0;color:#94a3b8;min-height:400px}.order-details{background:#f1f5f9;border-radius:16px;padding:24px;margin:16px 0}.order-details__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding-bottom:16px;border-bottom:2px solid #e2e8f0}.order-details__header h4{margin:0;font-size:1rem;color:#24312d}.order-details__items{display:flex;flex-direction:column;gap:12px}.order-details__item{display:flex;justify-content:space-between;padding:12px;background:#fff;border-radius:12px}.order-details__item-name{font-weight:500;color:#1e293b}.order-details__item-quantity{color:#64748b;font-size:.75rem;margin-left:12px}.order-details__item-price{font-weight:600;color:#16a34a}.order-details__total{margin-top:16px;padding-top:16px;border-top:2px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.order-details__total span{font-size:1rem;font-weight:700;color:#24312d}.order-details__total strong{font-size:1.25rem;color:#16a34a}@media(max-width:639px){.orders-stats{grid-template-columns:1fr}.orders-header{flex-direction:column;align-items:flex-start}.orders-table-wrapper .ant-table{font-size:.75rem}.orders-table-wrapper .orders-actions{flex-direction:column;width:100%}.orders-table-wrapper .orders-actions .ant-btn-sm{width:100%}.payment-modal .ant-modal-body,.payment-modal .ant-modal-footer{padding:16px}}@media(min-width:768px){.orders-stats{grid-template-columns:repeat(3,1fr)}}.orders-selection-indicator{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;padding:16px 28px;border-radius:100px;box-shadow:0 8px 16px rgba(0,0,0,.12);z-index:100;display:flex;align-items:center;gap:24px;animation:slideUp .3s ease-out}.orders-selection-indicator__count{font-weight:700;font-size:1rem}.orders-selection-indicator__actions{display:flex;gap:8px}.orders-selection-indicator__actions .ant-btn{border:none;color:#fff;background:hsla(0,0%,100%,.2)}.orders-selection-indicator__actions .ant-btn:hover{background:hsla(0,0%,100%,.3)}@media(max-width:639px){.orders-selection-indicator{bottom:16px;left:16px;right:16px;transform:none;width:auto;flex-direction:column}.orders-selection-indicator__actions{width:100%;flex-direction:column}.orders-selection-indicator__actions .ant-btn{width:100%}}@keyframes slideUp{0%{opacity:0;transform:translateX(-50%) translateY(20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.dashboard-page{display:flex;flex-direction:column;gap:24px;min-height:calc(100vh - 72px);width:100%}.dashboard-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding:8px 0}.dashboard-title{display:flex;flex-direction:column;gap:6px}.dashboard-greeting{font-size:2rem;font-weight:700;color:#1e293b;line-height:1.2}.dashboard-greeting span{background:linear-gradient(135deg,#6366f1,#8b5cf6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.dashboard-subtitle{font-size:.95rem;color:#64748b;font-weight:400}.dashboard-loading{display:flex;align-items:center;justify-content:center;height:400px;background:#fff;border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,.05)}.dashboard-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:20px;gap:20px;margin-bottom:8px}.metric-card{background:#fff;border-radius:16px;padding:20px;display:flex;align-items:center;gap:16px;box-shadow:0 1px 3px rgba(0,0,0,.05);border:1px solid #e2e8f0;transition:all .3s cubic-bezier(.4,0,.2,1);min-height:164px}.metric-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-2px);border-color:#cbd5e1}.metric-card.metric-card--loading{justify-content:center}.metric-icon-wrapper{flex-shrink:0}.metric-icon{width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 4px 12px rgba(99,102,241,.25)}.metric-icon.metric-icon--sales{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 12px rgba(16,185,129,.25)}.metric-icon.metric-icon--orders{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px rgba(245,158,11,.25)}.metric-icon.metric-icon--profit{background:linear-gradient(135deg,#ec4899,#db2777);box-shadow:0 4px 12px rgba(236,72,153,.25)}.metric-content{flex:1 1;display:flex;flex-direction:column;gap:8px;min-width:0}.metric-title{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;font-weight:600}.metric-value{font-size:1.75rem;font-weight:700;color:#1e293b;line-height:1;letter-spacing:-.02em}.metric-bottom{display:flex;align-items:center;gap:12px;margin-top:4px}.metric-trend{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:100px;font-size:.75rem;font-weight:600}.metric-trend.metric-trend--up{background:#dcfce7;color:#16a34a}.metric-trend.metric-trend--down{background:#fee2e2;color:#dc2626}.metric-trend.metric-trend--neutral{background:#f1f5f9;color:#64748b}.metric-caption{font-size:.7rem;color:#94a3b8;font-weight:500}.metric-note{font-size:.7rem;color:#64748b;margin-top:4px;padding-top:8px;border-top:1px solid #f1f5f9}.period-selector-wrapper{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding:20px 24px;background:#fff;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 1px 3px rgba(0,0,0,.05)}.period-title{margin:0 0 4px;font-size:1.15rem;font-weight:700;color:#1e293b}.period-subtitle{margin:0;font-size:.8rem;color:#94a3b8;font-weight:500}:global(.ant-segmented){background:#f1f5f9!important;padding:4px!important;border-radius:10px!important}:global(.ant-segmented) :global(.ant-segmented-item){border-radius:8px!important;font-weight:600!important;color:#64748b!important;transition:all .2s ease!important}:global(.ant-segmented) :global(.ant-segmented-item):hover{color:#475569!important}:global(.ant-segmented) :global(.ant-segmented-item-selected){background:#fff!important;color:#6366f1!important;box-shadow:0 1px 3px rgba(0,0,0,.08)!important}:global(.ant-segmented) :global(.ant-segmented-thumb){background:#fff!important;border-radius:8px!important;box-shadow:0 1px 3px rgba(0,0,0,.08)!important}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-gap:20px;gap:20px;margin-bottom:8px}.report-card{background:#fff;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:24px;box-shadow:0 1px 3px rgba(0,0,0,.05);border:1px solid #e2e8f0}.report-card__header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}.report-card__header h2{font-size:1.25rem;color:#1e293b;margin-bottom:4px;font-weight:700;line-height:1.3}.report-card__header span{font-size:.85rem;color:#64748b}.ghost-chip{border:none;background:#f1f5f9;border-radius:100px;padding:8px 16px;font-size:.8rem;font-weight:600;color:#475569;cursor:pointer;transition:all .2s ease}.ghost-chip:hover{background:#e2e8f0;color:#1e293b}.text-link{border:none;background:none;font-size:.85rem;font-weight:600;color:#6366f1;cursor:pointer;transition:color .2s ease;text-decoration:none}.text-link:hover{color:#4f46e5}.bar-chart{display:flex;align-items:flex-end;gap:16px;height:280px;position:relative;padding:20px 12px 0}.chart-loading{position:absolute;inset:0;justify-content:center;background:rgba(248,250,252,.9);border-radius:12px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.bar,.chart-loading{display:flex;align-items:center}.bar{flex:1 1;flex-direction:column;gap:12px;min-width:0}.bar__fill{position:relative;width:100%;max-width:48px;border-radius:8px 8px 4px 4px;background:linear-gradient(180deg,#6366f1,#8b5cf6);display:flex;align-items:flex-start;justify-content:center;transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer}.bar__fill:hover{transform:translateY(-4px);filter:brightness(1.1)}.bar__tooltip{position:absolute;top:-60px;left:50%;transform:translateX(-50%) scale(.9);background:#1e293b;color:#fff;padding:12px 14px;border-radius:8px;text-align:center;font-size:.75rem;display:flex;flex-direction:column;gap:4px;opacity:0;pointer-events:none;transition:all .2s cubic-bezier(.4,0,.2,1);white-space:nowrap;box-shadow:0 8px 16px rgba(0,0,0,.2);z-index:10}.bar__tooltip:after{content:"";position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #1e293b}.bar__tooltip strong{font-size:.875rem;font-weight:700}.bar__tooltip span{font-size:.7rem;color:#cbd5e1}.bar__fill:hover .bar__tooltip{opacity:1;transform:translateX(-50%) scale(1)}.bar__label{font-size:.75rem;color:#64748b;text-align:center;font-weight:500}.quick-stats-card{background:#fff;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:20px;box-shadow:0 1px 3px rgba(0,0,0,.05);border:1px solid #e2e8f0}.quick-stats-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.quick-stat-item{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f8fafc;border-radius:12px;transition:all .2s ease}.quick-stat-item:hover{background:#f1f5f9;transform:translateY(-1px)}.quick-stat-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;color:#fff}.quick-stat-icon.quick-stat-icon--primary{background:linear-gradient(135deg,#10b981,#059669)}.quick-stat-icon.quick-stat-icon--warning{background:linear-gradient(135deg,#f59e0b,#d97706)}.quick-stat-icon.quick-stat-icon--success{background:linear-gradient(135deg,#ec4899,#db2777)}.quick-stat-icon.quick-stat-icon--info{background:linear-gradient(135deg,#6366f1,#8b5cf6)}.quick-stat-content{display:flex;flex-direction:column;gap:4px;flex:1 1;min-width:0}.quick-stat-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;font-weight:600}.quick-stat-value{font-size:1.25rem;font-weight:700;color:#1e293b;line-height:1.2}.quick-stat-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:100px;font-size:.65rem;font-weight:600;margin-top:4px;align-self:flex-start}.quick-stat-badge.badge-success{background:#dcfce7;color:#16a34a}.quick-stat-badge.badge-danger{background:#fee2e2;color:#dc2626}.quick-stat-badge.badge-neutral{background:#f1f5f9;color:#64748b}.quick-stat-badge.badge-info{background:#dbeafe;color:#1e40af}.donut-card{align-items:center}.donut-chart{gap:32px;flex-wrap:wrap}.donut-chart,.donut-chart__figure{display:flex;align-items:center;justify-content:center}.donut-chart__figure{width:200px;height:200px;border-radius:50%;position:relative;background:#f1f5f9;box-shadow:inset 0 2px 8px rgba(0,0,0,.05)}.donut-chart__center{width:130px;height:130px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;box-shadow:0 4px 12px rgba(0,0,0,.08)}.donut-chart__center span{font-size:.75rem;color:#94a3b8;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.donut-chart__center strong{font-size:1.1rem;color:#1e293b;font-weight:700}.donut-chart__legend{list-style:none;display:flex;flex-direction:column;gap:12px;margin:0;padding:0}.donut-chart__legend li{display:flex;align-items:center;gap:12px}.legend-dot{width:14px;height:14px;border-radius:50%;flex-shrink:0}.legend-copy{display:flex;flex-direction:column;gap:2px;font-size:.85rem;color:#64748b}.legend-copy strong{color:#1e293b;font-weight:600}.dashboard-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));grid-gap:20px;gap:20px}.list-card{background:#fff;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:20px;box-shadow:0 1px 3px rgba(0,0,0,.05);border:1px solid #e2e8f0}.list-card__header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}.list-card__header h2{font-size:1.1rem;margin-bottom:4px;color:#1e293b;font-weight:700}.list-card__header span{font-size:.8rem;color:#64748b}.list-card__items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}.low-stock-list{gap:14px}.transaction-row{display:flex;align-items:center;gap:14px;padding:12px;border-radius:12px;transition:background .2s ease}.transaction-row:hover{background:#f8fafc}.transaction-thumb{width:48px;height:48px;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.1rem;flex-shrink:0}.transaction-thumb img{width:100%;height:100%;object-fit:cover}.transaction-copy{display:flex;flex-direction:column;gap:4px;flex:1 1;min-width:0}.transaction-copy strong{color:#1e293b;font-size:.9rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transaction-copy span{font-size:.75rem;color:#94a3b8}.transaction-meta{display:flex;flex-direction:column;gap:4px;text-align:right;flex-shrink:0}.transaction-meta span{font-size:.75rem;color:#94a3b8}.transaction-meta strong{color:#10b981;font-size:.9rem;font-weight:700}.low-stock-row{display:flex;align-items:center;gap:14px;padding:12px;border-radius:12px;transition:all .2s ease;border:1px solid transparent}.low-stock-row:hover{background:#fef2f2;border-color:#fecaca}.low-stock-icon{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#ef4444,#dc2626);display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;color:#fff;flex-shrink:0;box-shadow:0 4px 12px rgba(239,68,68,.3)}.low-stock-copy{flex:1 1;display:flex;flex-direction:column;gap:4px;min-width:0}.low-stock-copy strong{color:#1e293b;font-size:.9rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.low-stock-copy span{font-size:.75rem;color:#94a3b8}.low-stock-meta{display:flex;flex-direction:column;gap:8px;align-items:flex-end;min-width:100px;flex-shrink:0}.low-stock-meta span{font-size:.7rem;color:#94a3b8;font-weight:500}.low-stock-meter{width:100%;height:6px;border-radius:100px;background:#fee2e2;overflow:hidden}.low-stock-meter__fill{height:100%;background:linear-gradient(90deg,#f59e0b,#ef4444);border-radius:inherit;transition:width .3s ease}.empty-state{font-size:.875rem;color:#94a3b8;padding:32px 20px;border-radius:12px;background:#f8fafc;text-align:center;border:1px dashed #cbd5e1}@media(max-width:1280px){.dashboard-grid{grid-template-columns:1fr}.donut-chart{justify-content:center}}@media(max-width:768px){.dashboard-greeting{font-size:1.5rem}.dashboard-subtitle{font-size:.85rem}.dashboard-metrics{grid-template-columns:1fr}.metric-card{flex-direction:row;align-items:center}.metric-icon{width:48px;height:48px;font-size:20px}.metric-value{font-size:1.5rem}.dashboard-lists{grid-template-columns:1fr}.bar-chart{height:200px;gap:8px}.bar__fill{max-width:32px}.metric-value{font-size:1.75rem}.list-card,.report-card{padding:20px}.period-selector-wrapper{flex-direction:column;align-items:flex-start;gap:12px;padding:16px}.period-title{font-size:1rem}.quick-stats-grid{grid-template-columns:1fr}}@media(max-width:480px){.dashboard-greeting{font-size:1.25rem}.metric-card{padding:20px}.metric-value{font-size:1.5rem}.low-stock-row,.transaction-row{padding:10px}.donut-chart{flex-direction:column}.donut-chart__figure{width:160px;height:160px}.donut-chart__center{width:110px;height:110px}}.materials-page,.warehouses-page{display:flex;flex-direction:column;gap:32px;width:100%}.materials-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:24px;gap:24px;margin-bottom:24px}.materials-summary__card{background:#f8fafc;border-radius:24px;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:24px;display:flex;align-items:center;gap:24px;transition:all .2s ease}.materials-summary__card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.materials-summary__card--total .materials-summary__icon{background:linear-gradient(135deg,#10b981,#059669)}.materials-summary__card--low-stock .materials-summary__icon,.materials-summary__card--total .materials-summary__icon{width:52px;height:52px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0}.materials-summary__card--low-stock .materials-summary__icon{background:linear-gradient(135deg,#ef4444,#dc2626)}.materials-summary__card--value .materials-summary__icon{background:linear-gradient(135deg,#6366f1,#8b5cf6)}.materials-summary__card--types .materials-summary__icon,.materials-summary__card--value .materials-summary__icon{width:52px;height:52px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0}.materials-summary__card--types .materials-summary__icon{background:linear-gradient(135deg,#f59e0b,#d97706)}.materials-summary__icon{flex-shrink:0}.materials-summary__content{display:flex;flex-direction:column;gap:6px;flex:1 1}.materials-summary__content span{font-size:.85rem;color:rgba(31,42,46,.6)}.materials-summary__content strong{font-size:1.6rem;color:#1f2a2e}.materials-summary__note{font-size:.75rem;color:rgba(31,42,46,.6);font-weight:600;margin-top:4px}.materials-panel h2{margin:0;font-size:1.25rem;color:#24312d}.materials-panel p{margin:4px 0 0;font-size:.85rem;color:#64748b}.materials-panel__header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:24px}.page-hero__actions{display:flex;gap:12px;flex-wrap:wrap}.materials-toolbar-wrapper{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;flex:1 1}.materials-toolbar{display:flex;gap:12px;align-items:center;flex:1 1;flex-wrap:wrap}.materials-toolbar .ant-input,.materials-toolbar .ant-select-selector{min-width:210px}@media(max-width:639px){.materials-toolbar{flex-direction:column;align-items:stretch;width:100%}.materials-toolbar .ant-input,.materials-toolbar .ant-select{width:100%}}.materials-table-wrapper .ant-table{border-radius:24px;overflow:hidden;background:transparent}.materials-table-wrapper .ant-table-thead>tr>th{background:rgba(46,87,71,.08)!important;border-bottom:none!important;color:#1e293b!important;font-weight:600;padding:16px 12px}.materials-table-wrapper .ant-table-tbody>tr>td{background:hsla(0,0%,100%,.9);border-bottom:1px solid rgba(31,42,46,.08);padding:16px 12px}.materials-table-wrapper .ant-table-tbody>tr.ant-table-row:hover>td{background:rgba(99,102,241,.08)!important}.materials-table-wrapper .materials-row--low td{background:rgba(239,68,68,.08)!important}.materials-table-wrapper .materials-row--low:hover td{background:rgba(239,68,68,.14)!important}.materials-table-wrapper .material-name-cell{font-weight:600;color:#1e293b}.materials-table-wrapper .stock-level-cell{font-weight:700}.materials-table-wrapper .stock-level-cell--low{color:#ef4444}.materials-table-wrapper .stock-level-cell--ok{color:#16a34a}.materials-table-wrapper .unit-badge{font-size:.75rem;font-size:.7rem;text-transform:uppercase}.materials-table-wrapper .type-badge--raw,.materials-table-wrapper .unit-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-weight:600;background:#dbeafe;color:#4f46e5}.materials-table-wrapper .type-badge--raw{font-size:.75rem}.materials-table-wrapper .type-badge--processed{background:#fef3c7;color:#d97706}.materials-table-wrapper .status-badge--ok,.materials-table-wrapper .type-badge--processed{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600}.materials-table-wrapper .status-badge--ok{background:#dcfce7;color:#16a34a}.materials-table-wrapper .status-badge--low{background:#fee2e2;color:#991b1b}.materials-table-wrapper .status-badge--empty,.materials-table-wrapper .status-badge--low{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600}.materials-table-wrapper .status-badge--empty{background:#e2e8f0;color:#94a3b8}.materials-table-wrapper .warehouse-tags{display:flex;flex-direction:column;gap:4px}.materials-table-wrapper .warehouse-tags .ant-tag{margin:0;font-size:.7rem}.materials-history{margin-top:32px}.materials-history h2{margin:0 0 24px;font-size:1.25rem;color:#24312d}.materials-history .ant-table-tbody>tr{transition:all .2s ease}.materials-history .ant-table-tbody>tr:hover{transform:translateX(4px)}.movement-type-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600}.movement-type-badge--in{background:#dcfce7;color:#16a34a}.movement-type-badge--out{background:#fee2e2;color:#991b1b}.movement-type-badge--adjustment{background:#fef3c7;color:#d97706}.movement-type-badge--transfer{background:#dbeafe;color:#4f46e5}.material-form-modal .ant-modal-header{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-radius:24px 24px 0 0}.material-form-modal .ant-modal-header .ant-modal-title{color:#fff;font-weight:700}.material-form-modal .ant-modal-close{color:#fff}.material-form-modal .ant-modal-close:hover{background:hsla(0,0%,100%,.2)}.material-form-modal .ant-modal-body{padding:28px}.material-form-modal .ant-modal-footer{border-top:1px solid #e2e8f0;padding:16px 28px}.material-form-modal .ant-modal-footer .ant-btn{min-width:100px}.stock-adjustment-modal .ant-modal-header{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.stock-adjustment-modal .ant-modal-header .ant-modal-title{color:#fff;font-weight:700}.stock-adjustment-modal .ant-modal-close{color:#fff}.stock-adjustment-modal .ant-modal-close:hover{background:hsla(0,0%,100%,.2)}.stock-adjustment-modal__info{background:rgba(250,173,20,.1);border:2px solid rgba(250,173,20,.2);border-radius:16px;padding:16px;margin-bottom:24px}.stock-adjustment-modal__info-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.stock-adjustment-modal__info-row:last-child{margin-bottom:0}.stock-adjustment-modal__info-row strong{font-weight:600;color:#1e293b}.stock-adjustment-modal__info-row span{color:#64748b}.materials-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-gap:24px;gap:24px}.material-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:24px;transition:transform .2s ease,box-shadow .2s ease}.material-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.material-card{display:flex;flex-direction:column;gap:16px;position:relative;overflow:hidden}.material-card--low-stock{border-left:4px solid #ef4444}.material-card__header{display:flex;align-items:center;justify-content:space-between;align-items:flex-start}.material-card__name{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.material-card__type{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600;background:#dbeafe;color:#4f46e5;font-size:.7rem}.material-card__body{display:flex;flex-direction:column;gap:12px}.material-card__row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9}.material-card__row:last-child{border-bottom:none}.material-card__row label{font-size:.75rem;color:#64748b}.material-card__row value{font-weight:600;color:#1e293b}.material-card__stock{background:rgba(16,185,129,.1);padding:16px;border-radius:12px;text-align:center}.material-card__stock--low{background:rgba(239,68,68,.1)}.material-card__stock--low .material-card__stock-value{color:#ef4444}.material-card__stock-label{display:block;font-size:.7rem;color:#64748b;margin-bottom:4px;text-transform:uppercase;letter-spacing:.05em}.material-card__stock-value{display:block;font-size:1.5rem;font-weight:700;color:#16a34a}.material-card__stock-unit{display:block;font-size:.75rem;color:#94a3b8;margin-top:4px}.material-card__actions{display:flex;gap:4px;margin-top:auto;padding-top:16px;border-top:1px solid #e2e8f0}.material-card__actions .ant-btn{flex:1 1;font-size:.75rem}.warehouse-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:24px;transition:transform .2s ease,box-shadow .2s ease}.warehouse-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.warehouse-card{display:flex;flex-direction:column;gap:16px}.warehouse-card__header{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:2px solid #e2e8f0}.warehouse-card__header h3{margin:0;font-size:1.1rem;color:#24312d}.warehouse-card__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-gap:16px;gap:16px}.warehouse-card__stat{text-align:center;padding:16px;background:#f1f5f9;border-radius:12px}.warehouse-card__stat-value{display:block;font-size:1.25rem;font-weight:700;color:#1e293b;margin-bottom:4px}.warehouse-card__stat-label{display:block;font-size:.75rem;color:#64748b}.warehouse-card__materials{margin-top:16px}.warehouse-card__materials h4{font-size:.9rem;color:#64748b;margin-bottom:12px}.materials-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:48px;color:#94a3b8;gap:20px}.materials-empty__icon{font-size:64px;opacity:.5}.materials-empty__title{font-size:1.25rem;font-weight:600;color:#64748b}.materials-empty__description{font-size:.85rem;color:#94a3b8;text-align:center;max-width:400px}.materials-empty .ant-btn{margin-top:16px}.materials-loading{display:flex;align-items:center;justify-content:center;padding:48px 0;color:#94a3b8;min-height:400px}@media(max-width:639px){.materials-toolbar{flex-direction:column;align-items:stretch}.page-hero__actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.materials-summary__card{flex-direction:column;align-items:flex-start}.materials-grid,.warehouse-card__stats{grid-template-columns:1fr}}@media(min-width:768px){.materials-summary{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}.recipes-new-page .recipes-layout{display:grid;grid-template-columns:320px 1fr;grid-gap:24px;gap:24px;margin-bottom:24px}@media(max-width:1200px){.recipes-new-page .recipes-layout{grid-template-columns:1fr}}.recipes-new-page .products-sidebar .ant-card{border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.06);border:1px solid #f0f0f0;overflow:hidden;position:-webkit-sticky;position:sticky;top:24px;max-height:calc(100vh - 200px)}.recipes-new-page .products-sidebar .ant-card .ant-card-head{background:linear-gradient(135deg,#667eea,#764ba2);border:none;padding:16px 20px}.recipes-new-page .products-sidebar .ant-card .ant-card-head .ant-card-head-title{color:#fff;font-weight:600;font-size:16px}.recipes-new-page .products-sidebar .ant-card .ant-card-body{padding:16px;overflow-y:auto;max-height:calc(100vh - 280px)}.recipes-new-page .products-sidebar .ant-card .ant-card-body::-webkit-scrollbar{width:6px}.recipes-new-page .products-sidebar .ant-card .ant-card-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.recipes-new-page .products-sidebar .ant-card .ant-card-body::-webkit-scrollbar-thumb{background:#667eea;border-radius:10px}.recipes-new-page .products-sidebar .ant-card .ant-card-body::-webkit-scrollbar-thumb:hover{background:#764ba2}.recipes-new-page .products-sidebar .ant-input-search{margin-bottom:16px}.recipes-new-page .products-sidebar .ant-input-search .ant-input{border-radius:8px;border:1px solid #e0e0e0}.recipes-new-page .products-sidebar .ant-input-search .ant-input:focus{border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.1)}.recipes-new-page .products-sidebar .product-category{margin-bottom:20px}.recipes-new-page .products-sidebar .product-category:last-child{margin-bottom:0}.recipes-new-page .products-sidebar .product-category-header{background:linear-gradient(135deg,#f5f7fa,#e8ecf1);padding:10px 14px;border-radius:8px;font-weight:600;font-size:13px;color:#4a5568;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px;border-left:3px solid #667eea}.recipes-new-page .products-sidebar .product-category-item{padding:12px 14px;border-radius:10px;cursor:pointer;transition:all .3s ease;margin-bottom:6px;border:1px solid transparent;background:#fff}.recipes-new-page .products-sidebar .product-category-item:hover{background:linear-gradient(135deg,#f8f9ff,#f0f2ff);border-color:#e0e5ff;transform:translateX(4px)}.recipes-new-page .products-sidebar .product-category-item.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;box-shadow:0 4px 12px rgba(102,126,234,.3);transform:translateX(4px)}.recipes-new-page .products-sidebar .product-category-item.active .product-name{color:#fff;font-weight:600}.recipes-new-page .products-sidebar .product-category-item.active .ingredient-count,.recipes-new-page .products-sidebar .product-category-item.active .product-price{color:hsla(0,0%,100%,.9)}.recipes-new-page .products-sidebar .product-category-item .product-name{font-size:14px;color:#2d3748;font-weight:500;margin-bottom:4px;display:block}.recipes-new-page .products-sidebar .product-category-item .product-price{font-size:13px;color:#718096;display:block}.recipes-new-page .products-sidebar .product-category-item .product-price .ingredient-count{font-size:12px;color:#a0aec0;margin-left:8px;font-style:italic}.recipes-new-page .recipe-content{flex:1 1;min-width:0}.recipes-new-page .recipe-content .ant-card{border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.06);border:1px solid #f0f0f0;overflow:hidden;margin-bottom:16px}.recipes-new-page .recipe-content .ant-card:last-child{margin-bottom:0}.recipes-new-page .ingredients-card .ant-card-head{background:linear-gradient(135deg,#f8f9ff,#f0f2ff);border-bottom:2px solid #e0e5ff}.recipes-new-page .ingredients-card .ant-card-head .ant-card-head-title{padding:16px 0;color:#2d3748;font-weight:600;font-size:16px}.recipes-new-page .ingredients-card .ant-card-body{padding:20px}.recipes-new-page .ingredients-card .ant-table{margin-bottom:0}.recipes-new-page .ingredients-card .ant-table .ant-table-thead>tr>th{background:linear-gradient(135deg,#f5f7fa,#e8ecf1);color:#4a5568;font-weight:600;border-bottom:2px solid #e0e5ff}.recipes-new-page .ingredients-card .ant-table .ant-table-tbody>tr:hover{background:#fafbff}.recipes-new-page .ingredients-card .ant-input-number,.recipes-new-page .ingredients-card .ant-select{width:100%;border-radius:8px;border:1px solid #e0e0e0}.recipes-new-page .ingredients-card .ant-input-number:focus,.recipes-new-page .ingredients-card .ant-input-number:hover,.recipes-new-page .ingredients-card .ant-select:focus,.recipes-new-page .ingredients-card .ant-select:hover{border-color:#667eea}.recipes-new-page .ingredients-card .ant-select-selector{border-radius:8px!important}.recipes-new-page .ingredients-footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:20px;border-top:2px solid #e0e5ff}.recipes-new-page .ingredients-footer .ant-btn-dashed{border-radius:8px;font-weight:500;border-color:#667eea;color:#667eea;height:40px;padding:0 24px}.recipes-new-page .ingredients-footer .ant-btn-dashed:hover{background:linear-gradient(135deg,#f8f9ff,#f0f2ff);border-color:#764ba2;color:#764ba2}.recipes-new-page .ingredients-footer .total-cost{font-size:16px;color:#2d3748;background:linear-gradient(135deg,#f8f9ff,#f0f2ff);padding:12px 24px;border-radius:10px;font-weight:600;border:2px solid #e0e5ff}.recipes-new-page .ingredients-footer .total-cost strong{margin-left:8px;font-size:20px;color:#667eea}.recipes-new-page .action-buttons{margin-top:20px;padding-top:20px;border-top:2px solid #e0e5ff;display:flex;justify-content:flex-end}.recipes-new-page .action-buttons .ant-btn-primary{height:42px;padding:0 32px;font-size:15px;font-weight:600;border-radius:10px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;box-shadow:0 4px 14px rgba(102,126,234,.4);transition:all .3s ease}.recipes-new-page .action-buttons .ant-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(102,126,234,.5)}.recipes-new-page .action-buttons .ant-btn-primary:active{transform:translateY(0)}.recipes-new-page .ant-statistic .ant-statistic-title{font-size:14px;font-weight:600;color:#4a5568}.recipes-new-page .ant-statistic .ant-statistic-content{font-size:28px;font-weight:700;color:#2d3748}.recipes-new-page .ant-tabs .ant-tabs-nav{margin-bottom:24px}.recipes-new-page .ant-tabs .ant-tabs-nav:before{border-bottom:2px solid #e0e5ff}.recipes-new-page .ant-tabs .ant-tabs-tab{font-weight:500;padding:12px 20px;transition:all .3s ease}.recipes-new-page .ant-tabs .ant-tabs-tab:hover{color:#667eea}.recipes-new-page .ant-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#667eea;font-weight:600}.recipes-new-page .ant-tabs .ant-tabs-ink-bar{background:linear-gradient(135deg,#667eea,#764ba2);height:3px}.recipes-new-page .recipe-empty-state{min-height:500px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8f9ff,#f0f2ff);border-radius:12px;border:2px dashed #e0e5ff}.recipes-new-page .recipe-empty-state .empty-content{text-align:center;padding:60px 40px}.recipes-new-page .recipe-empty-state .empty-content .empty-icon{font-size:80px;margin-bottom:24px;opacity:.8}.recipes-new-page .recipe-empty-state .empty-content h3{font-size:24px;color:#2d3748;margin-bottom:12px;font-weight:600}.recipes-new-page .recipe-empty-state .empty-content p{font-size:16px;color:#718096}.recipes-new-page .anticon-delete{font-size:18px;transition:all .3s ease;color:#ff4d4f}.recipes-new-page .anticon-delete:hover{transform:scale(1.2);color:#cf1322}@media(max-width:1200px){.recipes-new-page .recipes-layout{grid-template-columns:1fr}.recipes-new-page .products-sidebar .ant-card{position:relative;max-height:400px}}@media(max-width:768px){.recipes-new-page .ingredients-footer{flex-direction:column;align-items:stretch;gap:12px}.recipes-new-page .ingredients-footer .ant-btn-dashed{width:100%}.recipes-new-page .ingredients-footer .total-cost{width:100%;text-align:center}.recipes-new-page .action-buttons .ant-btn-primary{width:100%}}@keyframes skeleton-loading{0%{background-position:200% 0}to{background-position:-200% 0}}.analytics-page{display:flex;flex-direction:column;gap:32px;width:100%}.analytics-section{padding:0;background:transparent;box-shadow:none}.analytics-tabs .ant-tabs-nav{margin-bottom:24px;padding:0 4px}.analytics-tabs .ant-tabs-tab{padding:12px 24px;border-radius:18px;transition:all .2s ease;font-weight:500}.analytics-tabs .ant-tabs-tab:hover{background:rgba(99,102,241,.08);color:#6366f1}.analytics-tabs .ant-tabs-tab-active{background:rgba(99,102,241,.12)}.analytics-tabs .ant-tabs-tab-active .ant-tabs-tab-btn{color:#6366f1!important;font-weight:600}.analytics-tabs .ant-tabs-ink-bar{display:none}.analytics-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:24px;gap:24px;margin-bottom:24px}.analytics-summary__card{background:#f8fafc;border-radius:24px;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:24px;display:flex;align-items:center;gap:24px;transition:all .2s ease}.analytics-summary__card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.analytics-summary__card:first-child .analytics-summary__icon{background:linear-gradient(135deg,#6366f1,#8b5cf6)}.analytics-summary__card:first-child .analytics-summary__icon,.analytics-summary__card:nth-child(2) .analytics-summary__icon{width:52px;height:52px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0}.analytics-summary__card:nth-child(2) .analytics-summary__icon{background:linear-gradient(135deg,#f59e0b,#d97706)}.analytics-summary__card:nth-child(3) .analytics-summary__icon{background:linear-gradient(135deg,#ec4899,#db2777)}.analytics-summary__card:nth-child(3) .analytics-summary__icon,.analytics-summary__card:nth-child(4) .analytics-summary__icon{width:52px;height:52px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0}.analytics-summary__card:nth-child(4) .analytics-summary__icon{background:linear-gradient(135deg,#10b981,#059669)}.analytics-summary__icon{flex-shrink:0}.analytics-summary__content{display:flex;flex-direction:column;gap:6px;flex:1 1}.analytics-summary__content span{font-size:.85rem;color:rgba(31,42,46,.6)}.analytics-summary__content strong{font-size:1.6rem;color:#1f2a2e}.analytics-summary__note{font-size:.75rem;color:rgba(31,42,46,.6);font-weight:600;text-align:right;margin-top:4px}.analytics-card{margin-bottom:24px}.analytics-card .ant-card-head{background:rgba(99,102,241,.05);border-bottom:2px solid rgba(99,102,241,.1)}.analytics-card .ant-card-head .ant-card-head-title{display:flex;align-items:center;gap:8px;color:#6366f1}.analytics-card .ant-card-head .ant-card-head-title .anticon{font-size:1.1rem}.top-selling-table .rank-cell{font-weight:700;font-size:1rem;color:#6366f1}.top-selling-table .rank-cell--gold{color:#faad14}.top-selling-table .product-name-cell{font-weight:600;color:#1e293b}.top-selling-table .quantity-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600;background:#dbeafe;color:#4f46e5;font-weight:700}.top-selling-table .revenue-cell{font-weight:700;color:#16a34a}.inventory-filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px;align-items:stretch}.inventory-filters .ant-input-search,.inventory-filters .ant-select{flex:1 1 220px;min-width:220px}.inventory-filters .ant-input-group{width:100%}@media(max-width:639px){.inventory-filters{flex-direction:column}.inventory-filters .ant-input-search,.inventory-filters .ant-select{width:100%}}.inventory-table{margin-top:16px}.inventory-table .low-stock-row td{background:rgba(239,68,68,.08)!important}.inventory-table .low-stock-row:hover td{background:rgba(239,68,68,.14)!important}.inventory-table .type-badge--raw{background:#dbeafe;color:#4f46e5}.inventory-table .type-badge--processed,.inventory-table .type-badge--raw{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600}.inventory-table .type-badge--processed{background:#fef3c7;color:#d97706}.inventory-table .status-badge--ok{background:#dcfce7;color:#16a34a}.inventory-table .status-badge--low,.inventory-table .status-badge--ok{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600}.inventory-table .status-badge--low{background:#fee2e2;color:#991b1b}.inventory-table .status-badge--empty{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600;background:#e2e8f0;color:#94a3b8}.inventory-table .stock-value-cell{font-weight:700}.inventory-table .stock-value-cell--low{color:#ef4444}.inventory-table .stock-value-cell--ok{color:#16a34a}.inventory-table .warehouse-tag{font-size:.7rem;margin:2px 0}.analytics-date-range{display:flex;align-items:center;gap:12px}.analytics-date-range .ant-picker-range{min-width:280px}@media(max-width:639px){.analytics-date-range{flex-direction:column;align-items:stretch;width:100%}.analytics-date-range .ant-picker-range{width:100%}}.period-selector{display:flex;gap:8px;align-items:center}.period-selector .ant-btn{min-width:80px}@media(max-width:639px){.period-selector{width:100%}.period-selector .ant-btn{flex:1 1}}.daily-profit-table .date-cell{font-weight:600}.daily-profit-table .revenue-cell{color:#16a34a;font-weight:600}.daily-profit-table .cost-cell{color:#ef4444}.daily-profit-table .profit-cell{font-weight:700}.daily-profit-table .profit-cell--positive{color:#16a34a}.daily-profit-table .profit-cell--negative{color:#ef4444}.daily-profit-table .margin-cell{font-family:Courier New,monospace;font-weight:600}.daily-profit-table .ant-table-summary{background:rgba(99,102,241,.05)}.daily-profit-table .ant-table-summary td{font-weight:700!important;color:#24312d!important}.products-profitability-table .product-name-cell{font-weight:600;color:#1e293b}.products-profitability-table .price-cell{font-weight:500}.products-profitability-table .profit-cell{font-weight:700}.products-profitability-table .profit-cell--positive{color:#16a34a}.products-profitability-table .profit-cell--negative{color:#ef4444}.products-profitability-table .margin-cell{font-family:Courier New,monospace;font-weight:600}.products-profitability-table .margin-cell--high{color:#16a34a}.products-profitability-table .margin-cell--low{color:#d97706}.products-profitability-table .margin-cell--negative{color:#ef4444}.product-insights{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:16px;gap:16px;margin-top:24px}.insight-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,.05);transition:transform .2s ease,box-shadow .2s ease}.insight-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.insight-card{text-align:center;padding:24px;position:relative;overflow:hidden}.insight-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(135deg,#6366f1,#8b5cf6)}.insight-card--best-profit:before{background:linear-gradient(135deg,#10b981,#059669)}.insight-card--best-margin:before{background:linear-gradient(135deg,#ec4899,#db2777)}.insight-card--best-seller:before{background:linear-gradient(135deg,#f59e0b,#d97706)}.insight-card h3{font-size:.75rem;color:#64748b;margin-bottom:12px;text-transform:uppercase;letter-spacing:.05em}.insight-card .insight-value{font-size:1.5rem;font-weight:700;color:#1e293b;margin-bottom:4px}.insight-card .insight-detail{font-size:.75rem;color:#16a34a;font-weight:600}.best-sellers-table .rank-cell{font-size:1.25rem;text-align:center}.best-sellers-table .medal-icon{font-size:1.5rem}.best-sellers-table .product-name-cell{font-weight:600;font-size:.9rem}.best-sellers-table .quantity-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-weight:600;background:#dbeafe;color:#4f46e5;font-weight:700;font-size:.75rem}.best-sellers-table .last-sold-cell{font-size:.7rem;color:#94a3b8}.slow-movers-table .product-name-cell{font-weight:500;color:#64748b}.slow-movers-table .zero-quantity{color:#ef4444;font-weight:700}.slow-movers-table .low-quantity{color:#d97706}.slow-movers-table .never-sold{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600;background:#fee2e2;color:#991b1b}.sales-trend-table .trend-up{color:#16a34a}.sales-trend-table .trend-up .anticon{animation:bounce 1s infinite}.sales-trend-table .trend-down{color:#ef4444}.sales-trend-table .trend-down .anticon{animation:bounce 1s infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.inventory-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:16px;gap:16px;margin-bottom:24px}.inventory-summary-cards .ant-card{transition:transform .2s ease,box-shadow .2s ease}.inventory-summary-cards .ant-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.inventory-summary-cards .ant-card .ant-statistic-title{color:#64748b;font-weight:500}.inventory-summary-cards .ant-card .ant-statistic-content{color:#1e293b}.analytics-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:48px;color:#94a3b8;gap:20px}.analytics-empty__icon{font-size:64px;opacity:.5}.analytics-empty__title{font-size:1.25rem;font-weight:600;color:#64748b}.analytics-empty__description{font-size:.85rem;color:#94a3b8;text-align:center;max-width:400px}.analytics-empty__action{margin-top:16px}.analytics-loading{display:flex;align-items:center;justify-content:center;padding:48px 0;color:#94a3b8;min-height:400px}@media(max-width:639px){.analytics-summary{grid-template-columns:1fr}.analytics-summary__card{flex-direction:column;align-items:flex-start}.inventory-summary-cards,.product-insights{grid-template-columns:1fr}.analytics-tabs .ant-tabs-tab{padding:8px 16px;font-size:.75rem}.best-sellers-table,.daily-profit-table,.products-profitability-table,.sales-trend-table,.slow-movers-table{font-size:.7rem}.best-sellers-table td,.best-sellers-table th,.daily-profit-table td,.daily-profit-table th,.products-profitability-table td,.products-profitability-table th,.sales-trend-table td,.sales-trend-table th,.slow-movers-table td,.slow-movers-table th{padding:8px 4px}}@media(min-width:768px){.analytics-summary,.product-insights{grid-template-columns:repeat(2,1fr)}}@media(min-width:1024px){.analytics-summary{grid-template-columns:repeat(4,1fr)}.product-insights{grid-template-columns:repeat(3,1fr)}}.analytics-chart{background:#fff;border-radius:16px;padding:24px;min-height:300px;display:flex;align-items:center;justify-content:center;color:#94a3b8;margin-bottom:24px}.analytics-chart__placeholder{text-align:center}.analytics-chart__placeholder .anticon{font-size:48px;margin-bottom:16px;opacity:.5}.analytics-chart__placeholder p{font-size:.9rem}