:root{--primary: #3b82f6;--primary-dark: #2563eb;--secondary: #06b6d4;--accent: #0ea5e9;--success: #10b981;--bg: #ffffff;--bg-secondary: #f8fafc;--text: #0f172a;--text-secondary: #64748b;--text-light: #94a3b8;--border: #e2e8f0;--shadow: 0 1px 3px 0 rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1)}.landing-container{min-height:100vh;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.landing-header{position:sticky;top:0;z-index:50;background:#fffc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}.header-content{max-width:1200px;margin:0 auto;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center}.logo{display:flex;align-items:center;gap:.625rem;font-weight:700;font-size:1.125rem;color:var(--text)}.logo-icon{width:24px;height:24px;color:var(--primary)}.header-nav{display:flex;align-items:center;gap:2rem}.nav-link{color:var(--text-secondary);text-decoration:none;font-weight:500;font-size:.9375rem;transition:color .2s}.nav-link:hover{color:var(--text)}.nav-link-cta{padding:.5rem 1.25rem;background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%);color:#fff;border-radius:.5rem;font-weight:600;font-size:.9375rem;text-decoration:none;transition:transform .2s,box-shadow .2s}.nav-link-cta:hover{transform:translateY(-1px);box-shadow:0 10px 20px -10px #3b82f680}.hero-section{max-width:1200px;margin:0 auto;padding:5rem 2rem 3rem;text-align:center}.hero-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:linear-gradient(135deg,#eff6ff,#e0f2fe);border:1px solid #bfdbfe;border-radius:2rem;color:var(--primary);font-size:.875rem;font-weight:600;margin-bottom:2rem}.badge-icon{width:16px;height:16px}.hero-title{font-size:3.5rem;font-weight:800;line-height:1.1;letter-spacing:-.02em;margin-bottom:1.5rem;color:var(--text)}.gradient-text{background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero-subtitle{font-size:1.25rem;line-height:1.6;color:var(--text-secondary);margin-bottom:2.5rem;max-width:800px;margin-left:auto;margin-right:auto}.hero-ctas{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:3rem}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.875rem 1.75rem;border-radius:.625rem;font-weight:600;font-size:1rem;text-decoration:none;transition:all .2s;border:none;cursor:pointer}.btn i{width:20px;height:20px}.btn-primary{background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%);color:#fff;box-shadow:0 4px 14px #3b82f666}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #3b82f680}.btn-secondary{background:#fff;color:var(--text);border:2px solid var(--border);box-shadow:var(--shadow)}.btn-secondary:hover{border-color:var(--primary);transform:translateY(-2px);box-shadow:var(--shadow-lg)}.btn-large{padding:1rem 2rem;font-size:1.125rem}.hero-badges{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap}.info-badge{display:flex;align-items:center;gap:.5rem;color:var(--text-secondary);font-size:.875rem;font-weight:500}.info-badge i{width:18px;height:18px;color:var(--success)}.demo-preview-section{max-width:1200px;margin:4rem auto;padding:0 2rem}.demo-preview{perspective:1000px}.preview-window{background:#fff;border-radius:1rem;box-shadow:0 25px 50px -12px #00000040;overflow:hidden;border:1px solid var(--border);transition:transform .3s}.preview-window:hover{transform:translateY(-4px)}.window-header{background:linear-gradient(135deg,#f8fafc,#f1f5f9);padding:1rem;display:flex;align-items:center;gap:1rem;border-bottom:1px solid var(--border)}.window-dots{display:flex;gap:.5rem}.window-dots span{width:12px;height:12px;border-radius:50%;background:#cbd5e1}.window-dots span:nth-child(1){background:#ef4444}.window-dots span:nth-child(2){background:#f59e0b}.window-dots span:nth-child(3){background:#10b981}.window-title{font-weight:600;font-size:.875rem;color:var(--text-secondary)}.window-content{padding:2rem;background:linear-gradient(135deg,#fafbfc,#f8fafc)}.preview-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-bottom:2rem}.metric-item{display:flex;align-items:center;gap:1rem;padding:1.5rem;background:#fff;border-radius:.75rem;border:1px solid var(--border);box-shadow:var(--shadow)}.metric-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eff6ff,#e0f2fe);border-radius:.75rem;color:var(--primary)}.metric-icon.success{background:linear-gradient(135deg,#ecfdf5,#d1fae5);color:var(--success)}.metric-icon i{width:24px;height:24px}.metric-data{flex:1}.metric-value{font-size:1.875rem;font-weight:700;color:var(--text);line-height:1;margin-bottom:.25rem}.metric-label{font-size:.875rem;color:var(--text-secondary);font-weight:500}.metric-change{font-size:.875rem;font-weight:600;padding:.25rem .625rem;border-radius:.375rem}.metric-change.positive{background:#ecfdf5;color:#10b981}.preview-chart{background:#fff;border-radius:.75rem;padding:1.5rem;border:1px solid var(--border);box-shadow:var(--shadow)}.chart-svg{width:100%;height:120px;color:var(--primary)}.features-section{max-width:1200px;margin:6rem auto;padding:0 2rem}.section-header{text-align:center;margin-bottom:4rem}.section-title{font-size:2.5rem;font-weight:800;margin-bottom:1rem;color:var(--text)}.section-subtitle{font-size:1.125rem;color:var(--text-secondary);max-width:600px;margin:0 auto}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem}.feature-card{padding:2rem;background:#fff;border:1px solid var(--border);border-radius:1rem;transition:all .3s}.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-xl);border-color:var(--primary)}.feature-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eff6ff,#e0f2fe);border-radius:.75rem;color:var(--primary);margin-bottom:1.5rem}.feature-icon i{width:24px;height:24px}.feature-title{font-size:1.25rem;font-weight:700;margin-bottom:.75rem;color:var(--text)}.feature-description{font-size:.9375rem;line-height:1.6;color:var(--text-secondary)}.stack-section{max-width:1200px;margin:6rem auto;padding:0 2rem}.stack-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.stack-category h4{font-size:1rem;font-weight:700;color:var(--text);margin-bottom:1rem;text-transform:uppercase;letter-spacing:.05em}.stack-items{display:flex;flex-wrap:wrap;gap:.75rem}.stack-badge{padding:.5rem 1rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid var(--border);border-radius:.5rem;font-size:.875rem;font-weight:600;color:var(--text);transition:all .2s}.stack-badge:hover{border-color:var(--primary);background:linear-gradient(135deg,#eff6ff,#e0f2fe);transform:translateY(-2px)}.how-section{max-width:800px;margin:6rem auto;padding:0 2rem}.steps-container{margin-top:3rem}.step-item{display:flex;gap:2rem;align-items:flex-start}.step-number{flex-shrink:0;width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%);color:#fff;border-radius:50%;font-size:1.5rem;font-weight:700;box-shadow:0 4px 14px #3b82f666}.step-content{flex:1}.step-title{font-size:1.5rem;font-weight:700;margin-bottom:.75rem;color:var(--text)}.step-description{font-size:1rem;line-height:1.6;color:var(--text-secondary)}.step-divider{display:flex;justify-content:center;padding:1.5rem 0}.step-divider i{width:24px;height:24px;color:var(--text-light)}.cta-section{max-width:1200px;margin:6rem auto;padding:0 2rem}.cta-card{padding:4rem 2rem;background:linear-gradient(135deg,#eff6ff,#e0f2fe,#f0fdfa);border:1px solid #bfdbfe;border-radius:1.5rem;text-align:center;box-shadow:var(--shadow-xl)}.cta-title{font-size:2.5rem;font-weight:800;margin-bottom:1rem;color:var(--text)}.cta-description{font-size:1.125rem;color:var(--text-secondary);margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto}.cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.landing-footer{background:linear-gradient(135deg,#0f172a,#1e293b);color:#e2e8f0;padding:3rem 2rem;margin-top:6rem}.footer-content{max-width:1200px;margin:0 auto;text-align:center}.footer-main{margin-bottom:2rem}.footer-brand{display:inline-flex;align-items:center;gap:.625rem;font-weight:700;font-size:1.25rem;color:#fff;margin-bottom:.5rem}.footer-icon{width:24px;height:24px;color:var(--secondary)}.footer-logo{background:linear-gradient(135deg,var(--secondary) 0%,#06b6d4 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.footer-tagline{font-size:.9375rem;color:#94a3b8}.footer-links{display:flex;justify-content:center;align-items:center;gap:1rem;margin-bottom:1.5rem}.footer-links a{display:inline-flex;align-items:center;gap:.5rem;color:#cbd5e1;text-decoration:none;font-size:.9375rem;transition:color .2s}.footer-links a:hover{color:#fff}.footer-links a i{width:18px;height:18px}.footer-divider{color:#475569}.footer-note{font-size:.875rem;color:#64748b}@media (max-width: 768px){.header-content{padding:1rem}.header-nav{gap:1rem}.nav-link{display:none}.hero-section{padding:3rem 1rem 2rem}.hero-title{font-size:2rem}.hero-title br{display:none}.hero-subtitle{font-size:1rem}.hero-subtitle br{display:none}.hero-ctas{flex-direction:column}.btn{width:100%;justify-content:center}.hero-badges{flex-direction:column;gap:1rem}.demo-preview-section{margin:2rem auto;padding:0 1rem}.window-content{padding:1rem}.preview-metrics{grid-template-columns:1fr}.features-section{margin:4rem auto;padding:0 1rem}.section-title{font-size:1.875rem}.features-grid{grid-template-columns:1fr;gap:1.5rem}.stack-section{margin:4rem auto;padding:0 1rem}.stack-grid{grid-template-columns:1fr;gap:2rem}.how-section{margin:4rem auto;padding:0 1rem}.step-item{flex-direction:column;gap:1rem}.cta-section{margin:4rem auto;padding:0 1rem}.cta-card{padding:2rem 1.5rem}.cta-title{font-size:1.875rem}.cta-description{font-size:1rem}.landing-footer{padding:2rem 1rem;margin-top:4rem}.footer-links{flex-wrap:wrap}}@media (max-width: 480px){.hero-title{font-size:1.75rem}.section-title,.cta-title{font-size:1.5rem}}:root{--primary-color: #2196f3;--success-color: #4caf50;--error-color: #f44336;--warning-color: #ff9800;--neutral-color: #757575;--bg-color: #f5f5f5;--surface-color: #ffffff;--border-color: #e0e0e0;--text-primary: #212121;--text-secondary: #757575;--hover-bg: #fafafa;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);--shadow-md: 0 4px 6px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 20px rgba(0, 0, 0, .12);--radius: 8px;--radius-sm: 4px;--font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif}body.dark-mode{--bg-color: #0f1419;--surface-color: #1c2128;--border-color: #30363d;--text-primary: #e6edf3;--text-secondary: #8b949e;--hover-bg: #262c36;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .5);--shadow-md: 0 4px 6px rgba(0, 0, 0, .6);--shadow-lg: 0 10px 20px rgba(0, 0, 0, .7)}body.dark-mode .chart-container,body.dark-mode .heatmap-container,body.dark-mode .metric-card,body.dark-mode .table-container,body.dark-mode .period-selector,body.dark-mode .filters-dropdown,body.dark-mode .save-dialog{background:var(--surface-color);border-color:var(--border-color)}body.dark-mode .orders-table thead{background-color:#161b22;border-bottom-color:#484f58}body.dark-mode .orders-table th{color:#c9d1d9;font-weight:700}body.dark-mode .orders-table td{border-bottom-color:var(--border-color)}body.dark-mode .orders-table tbody tr:hover{background-color:var(--hover-bg)}body.dark-mode .drawer{background:var(--surface-color)}body.dark-mode .drawer-header,body.dark-mode .drawer-footer,body.dark-mode .total-row,body.dark-mode .items-list{background:#161b22;border-color:var(--border-color)}body.dark-mode .item-row{border-bottom-color:var(--border-color)}body.dark-mode .recharts-cartesian-grid-horizontal line,body.dark-mode .recharts-cartesian-grid-vertical line{stroke:#30363d}body.dark-mode .recharts-text{fill:var(--text-secondary)}body.dark-mode .recharts-tooltip-wrapper .recharts-default-tooltip{background-color:#1c2128!important;border:1px solid var(--border-color)!important;color:var(--text-primary)!important}body.dark-mode .heatmap-cell[style*="background: #f5f5f5"],body.dark-mode .heatmap-cell[style*="background:#f5f5f5"]{background:#161b22!important}body.dark-mode .save-preview{background:#161b22}body.dark-mode .alert-banner{background-color:#352008;border-left-color:var(--warning-color);color:#ffb366}body.dark-mode .date-filter-badge{background-color:#352008;border-left-color:var(--warning-color)}body.dark-mode .bulk-actions-bar{background-color:#0d2d44;color:var(--text-primary)}body.dark-mode .notification.success{background-color:#0f2817;color:#8fdf9f;border-left-color:var(--success-color)}body.dark-mode .notification.error{background-color:#2d0f0f;color:#f88d8d;border-left-color:var(--error-color)}body.dark-mode .empty-state,body.dark-mode .error-message{background:var(--surface-color)}body.dark-mode .btn-secondary{background-color:#262c36;border-color:var(--border-color);color:var(--text-primary)}body.dark-mode .btn-secondary:hover:not(:disabled){background-color:#30363d;border-color:#484f58}body.dark-mode .btn-icon{background-color:#262c36;border-color:var(--border-color)}body.dark-mode .btn-icon:hover:not(:disabled){background-color:#30363d;border-color:#484f58}body.dark-mode .page-btn{background-color:#262c36;border-color:var(--border-color);color:var(--text-primary)}body.dark-mode .page-btn:hover:not(:disabled){background-color:#30363d}body.dark-mode .period-btn{color:var(--text-secondary)}body.dark-mode .period-btn:hover{background-color:#262c36}body.dark-mode .period-btn.active{background-color:var(--primary-color);color:#fff}body.dark-mode .stats-badge{background:#262c36;border-color:var(--border-color)}body.dark-mode .order-id{color:#58a6ff}body.dark-mode .close-btn:hover{background:#ffffff1a}body.dark-mode .clear-filter-btn{background:#262c36;border-color:var(--border-color);color:var(--text-primary)}body.dark-mode .clear-filter-btn:hover{background:var(--error-color);color:#fff}body.dark-mode .filter-apply-btn{background:#262c36;border-color:var(--border-color)}body.dark-mode .filter-apply-btn:hover{background:#30363d;border-color:var(--primary-color)}body.dark-mode .filter-delete-btn{background:transparent;border-color:var(--border-color)}body.dark-mode .filter-delete-btn:hover{background:var(--error-color);border-color:var(--error-color)}body,.metric-card,.chart-container,.table-container,.drawer,button,input,select,textarea{transition:background-color .3s ease,color .3s ease,border-color .3s ease}*{box-sizing:border-box}body{font-family:var(--font-family);color:var(--text-primary);background-color:var(--bg-color);margin:0;padding:0;min-height:100vh}body.dark-mode{background-color:var(--bg-color);color:var(--text-primary)}.admin-container{max-width:1400px;margin:0 auto;padding:24px}.admin-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.admin-header h1{margin:0 0 4px;font-size:28px;font-weight:600;color:var(--text-primary)}.subtitle{margin:0;font-size:14px;color:var(--text-secondary);font-weight:500}body.dark-mode .admin-header h1{color:#fff;font-weight:700}body.dark-mode .subtitle{color:#8b949e}.header-actions{display:flex;gap:8px}button{font-family:var(--font-family);font-size:14px;font-weight:500;padding:8px 16px;border-radius:var(--radius-sm);border:none;cursor:pointer;transition:all .2s ease}.btn-primary{background-color:var(--primary-color);color:#fff}.btn-primary:hover:not(:disabled){background-color:#1976d2;transform:translateY(-1px);box-shadow:var(--shadow-md)}.btn-secondary{background-color:var(--surface-color);color:var(--text-primary);border:1px solid var(--border-color)}.btn-secondary:hover:not(:disabled){background-color:var(--hover-bg)}.btn-icon{background-color:var(--surface-color);color:var(--text-primary);border:1px solid var(--border-color);width:40px;height:40px;padding:0;display:flex;align-items:center;justify-content:center;font-size:18px}.btn-icon:hover:not(:disabled){background-color:var(--hover-bg);transform:scale(1.05)}.btn-success{background-color:var(--success-color);color:#fff}.btn-success:hover:not(:disabled){background-color:#388e3c}button:disabled{opacity:.5;cursor:not-allowed}.notification{padding:12px 16px;border-radius:var(--radius-sm);margin-bottom:16px;font-size:14px;animation:slideDown .3s ease}.notification.success{background-color:#e8f5e9;color:#2e7d32;border-left:4px solid var(--success-color)}.notification.error{background-color:#ffebee;color:#c62828;border-left:4px solid var(--error-color)}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.alert-banner{background-color:#fff3e0;color:#e65100;padding:12px 16px;border-radius:var(--radius-sm);border-left:4px solid var(--warning-color);margin-bottom:16px;font-size:14px;font-weight:500}.period-selector{display:flex;gap:8px;margin-bottom:24px;background:#fff;padding:4px;border-radius:var(--radius);box-shadow:var(--shadow-sm);width:fit-content}.period-btn{padding:10px 20px;background:transparent;border:none;border-radius:var(--radius-sm);color:var(--text-secondary);font-weight:500;transition:all .2s ease}.period-btn:hover{background-color:#f5f5f5}.period-btn.active{background-color:var(--primary-color);color:#fff}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metric-card{background:#fff;padding:18px;border-radius:var(--radius);box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;position:relative}.metric-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.metric-card.alert{border-left:4px solid var(--error-color)}.metric-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:12px;gap:8px}.metric-header-left{display:flex;align-items:center;gap:8px;flex:1}.metric-icon{font-size:20px}.metric-label{font-size:13px;font-weight:500;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}body.dark-mode .metric-label{color:#8b949e;font-weight:600}.metric-value{font-size:32px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.metric-delta{font-size:12px;font-weight:500}.metric-delta.positive{color:var(--success-color)}.metric-delta.negative{color:var(--error-color)}.metric-delta.neutral{color:var(--text-secondary)}.metric-info-icon{position:relative;display:flex;align-items:center;justify-content:center}.info-icon{font-size:16px;color:var(--text-secondary);cursor:help;opacity:.6;transition:opacity .2s ease}.metric-card:hover .info-icon{opacity:1}.metric-tooltip{position:absolute;top:24px;right:0;background:#000000f2;color:#fff;padding:12px 16px;border-radius:var(--radius-sm);font-size:12px;line-height:1.5;width:280px;max-width:90vw;z-index:100;box-shadow:var(--shadow-lg);animation:fadeIn .2s ease;pointer-events:none}.metric-tooltip:before{content:"";position:absolute;top:-6px;right:12px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid rgba(0,0,0,.95)}body.dark-mode .metric-tooltip{background:#fffffff2;color:#1a1a1a}body.dark-mode .metric-tooltip:before{border-bottom-color:#fffffff2}body.dark-mode .info-icon{color:#8b949e}.chart-container{background:#fff;padding:20px;border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-bottom:24px}.chart-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;gap:8px}.chart-title{margin:0;font-size:16px;font-weight:600;color:var(--text-primary)}.chart-hint{font-size:12px;color:var(--text-secondary);font-weight:400;font-style:italic}body.dark-mode .chart-title,body.dark-mode .heatmap-title{color:#fff;font-weight:700}body.dark-mode .chart-hint{color:#8b949e}body.dark-mode .metric-value{color:#fff;font-weight:700}body.dark-mode .page-info{color:#c9d1d9}body.dark-mode .info-grid strong{color:#8b949e;font-weight:600}body.dark-mode .info-grid p,body.dark-mode .timeline-message{color:#e6edf3}body.dark-mode .search-input::placeholder{color:#6e7681;opacity:1}body.dark-mode .note-textarea::placeholder{color:#6e7681;opacity:1}body.dark-mode .filter-apply-btn strong{color:#e6edf3}body.dark-mode .filter-details,body.dark-mode .empty-filters{color:#8b949e}body.dark-mode .date-filter-badge span{color:#e6edf3}body.dark-mode .date-filter-badge strong{color:#fff}body.dark-mode .bulk-actions-bar span{color:#e6edf3}.chart-container.empty{padding:60px 20px;text-align:center;color:var(--text-secondary)}.heatmap-container{background:#fff;padding:20px;border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-bottom:24px}.heatmap-title{margin:0 0 16px;font-size:16px;font-weight:600;color:var(--text-primary)}.heatmap-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(50px,1fr));gap:4px;margin-bottom:12px}.heatmap-cell{position:relative;aspect-ratio:1;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease}.heatmap-cell:hover{transform:scale(1.05);z-index:10}.heatmap-hour{font-size:11px;font-weight:600}.heatmap-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#000c;color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;white-space:nowrap;margin-bottom:4px;pointer-events:none}.heatmap-legend{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:var(--text-secondary)}.legend-gradient{width:120px;height:8px;background:linear-gradient(to right,#f5f5f5,#e8f5e9,#c8e6c9,#81c784,#66bb6a,#4caf50);border-radius:4px}.saved-filters-container{margin-bottom:16px}.saved-filters-actions{display:flex;gap:8px;flex-wrap:wrap}.filters-dropdown{position:relative;background:var(--surface-color);border:1px solid var(--border-color);border-radius:var(--radius);box-shadow:var(--shadow-md);margin-top:8px;padding:8px;max-height:300px;overflow-y:auto;animation:slideDown .2s ease}.filter-item{display:flex;align-items:center;gap:8px;margin-bottom:4px}.filter-apply-btn{flex:1;text-align:left;padding:10px 12px;background:var(--surface-color);border:1px solid var(--border-color);border-radius:var(--radius-sm);cursor:pointer;transition:all .2s ease}.filter-apply-btn:hover{background:var(--hover-bg);border-color:var(--primary-color)}.filter-apply-btn strong{display:block;font-size:14px;color:var(--text-primary);margin-bottom:4px}.filter-details{font-size:12px;color:var(--text-secondary)}.filter-delete-btn{padding:8px;background:transparent;border:1px solid var(--border-color);border-radius:var(--radius-sm);cursor:pointer;font-size:16px;transition:all .2s ease}.filter-delete-btn:hover{background:var(--error-color);border-color:var(--error-color)}.empty-filters{padding:20px;text-align:center;color:var(--text-secondary);font-size:14px}.save-dialog{background:var(--surface-color);border:1px solid var(--border-color);border-radius:var(--radius);box-shadow:var(--shadow-md);margin-top:8px;padding:16px;animation:slideDown .2s ease}.filter-name-input{width:100%;padding:10px 12px;border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:14px;font-family:var(--font-family);margin-bottom:8px;background-color:var(--surface-color);color:var(--text-primary)}.filter-name-input:focus{outline:none;border-color:var(--primary-color)}.save-preview{font-size:12px;color:var(--text-secondary);margin-bottom:12px;padding:8px;background:var(--hover-bg);border-radius:var(--radius-sm)}.dialog-actions{display:flex;gap:8px;justify-content:flex-end}.controls-bar{display:flex;align-items:center;gap:16px;margin-bottom:16px;flex-wrap:wrap}.search-form{display:flex;gap:8px;flex:1;min-width:250px;max-width:400px}.search-input{flex:1;padding:10px 12px;border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:14px;font-family:var(--font-family);background-color:var(--surface-color);color:var(--text-primary)}.search-input:focus{outline:none;border-color:var(--primary-color)}.btn-search{padding:10px 16px;background:var(--primary-color);color:#fff;border:none;border-radius:var(--radius-sm);cursor:pointer}.filter-group{display:flex;align-items:center;gap:8px}.filter-group label{font-size:14px;font-weight:500;color:var(--text-secondary)}body.dark-mode .filter-group label{color:#c9d1d9;font-weight:600}.filter-group select{padding:8px 12px;border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:14px;font-family:var(--font-family);background:var(--surface-color);color:var(--text-primary);cursor:pointer}.stats-badge{padding:8px 16px;background:var(--surface-color);border-radius:var(--radius-sm);font-size:14px;color:var(--text-secondary);border:1px solid var(--border-color)}.date-filter-badge{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#fff3e0;border-radius:var(--radius);margin-bottom:16px;font-size:14px;font-weight:500;border-left:4px solid var(--warning-color);animation:slideDown .3s ease}.date-filter-badge span{color:var(--text-primary)}.clear-filter-btn{padding:6px 12px;background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:13px;font-weight:500;color:var(--text-primary);cursor:pointer;transition:all .2s ease}.clear-filter-btn:hover{background:var(--error-color);color:#fff;border-color:var(--error-color)}.bulk-actions-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#e3f2fd;border-radius:var(--radius);margin-bottom:16px;font-size:14px;font-weight:500;animation:slideDown .3s ease}.table-container{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;margin-bottom:16px}.orders-table{width:100%;border-collapse:collapse}.orders-table thead{background-color:#fafafa;border-bottom:2px solid var(--border-color)}.orders-table th{padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.orders-table td{padding:16px;border-bottom:1px solid var(--border-color);font-size:14px;color:var(--text-primary)}body.dark-mode .orders-table td{color:#e6edf3;font-weight:400}body.dark-mode .orders-table tbody tr{background-color:var(--surface-color)}.orders-table tbody tr{transition:background-color .2s ease}.orders-table tbody tr.clickable-row{cursor:pointer}.orders-table tbody tr:hover{background-color:#fafafa}.checkbox-col{width:40px;text-align:center}.checkbox-col input[type=checkbox]{cursor:pointer;width:16px;height:16px}.order-id{font-weight:600;color:var(--primary-color)}.status-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;color:#fff;white-space:nowrap}.attempts{text-align:center;font-weight:600}.note-indicator{font-size:16px;cursor:help}.empty-state,.error-message{text-align:center;padding:60px 20px;color:var(--text-secondary);background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm)}.error-message{color:var(--error-color)}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:24px}.page-btn{padding:8px 16px;background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-sm);color:var(--text-primary)}.page-btn:hover:not(:disabled){background-color:#fafafa}.page-info{font-size:14px;color:var(--text-secondary)}.drawer-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:999;animation:fadeIn .3s ease}.drawer{position:fixed;top:0;right:0;bottom:0;width:600px;max-width:90vw;background:#fff;box-shadow:var(--shadow-lg);z-index:1000;display:flex;flex-direction:column;animation:slideInRight .3s ease;overflow:hidden}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-header{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 24px;border-bottom:1px solid var(--border-color);background:#fafafa}.drawer-header h2{margin:0 0 8px;font-size:20px;font-weight:600;color:var(--text-primary)}body.dark-mode .drawer-header h2{color:#fff;font-weight:700}.close-btn{background:transparent;border:none;font-size:24px;color:var(--text-secondary);cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%}.close-btn:hover{background:#0000000d}.drawer-content{flex:1;overflow-y:auto;padding:24px}.drawer-section{margin-bottom:24px}.drawer-section h3{margin:0 0 12px;font-size:14px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}body.dark-mode .drawer-section h3{color:#c9d1d9;font-weight:700}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.info-grid strong{display:block;font-size:12px;color:var(--text-secondary);margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px}.info-grid p{margin:0;font-size:14px;color:var(--text-primary)}.info-grid .full-width{grid-column:1 / -1}.error-text{color:var(--error-color)}.items-list{border:1px solid var(--border-color);border-radius:var(--radius-sm);overflow:hidden}.item-row{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid var(--border-color)}.item-row:last-child{border-bottom:none}.item-row strong{display:block;font-size:14px;margin-bottom:2px}.sku{font-size:12px;color:var(--text-secondary)}.item-details{display:flex;gap:16px;font-size:14px}.total-row{display:flex;justify-content:space-between;padding:12px;background:#fafafa;font-size:16px;border-top:2px solid var(--border-color)}.note-textarea{width:100%;padding:12px;border:1px solid var(--border-color);border-radius:var(--radius-sm);font-family:var(--font-family);font-size:14px;margin-bottom:8px;resize:vertical;background-color:var(--surface-color);color:var(--text-primary)}.note-textarea:focus{outline:none;border-color:var(--primary-color)}.timeline{position:relative;padding-left:32px}.timeline:before{content:"";position:absolute;left:7px;top:0;bottom:0;width:2px;background:var(--border-color)}.timeline-item{position:relative;display:flex;gap:12px;margin-bottom:16px}.timeline-icon{position:absolute;left:-32px;width:16px;height:16px;background:#fff;border:2px solid var(--primary-color);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:8px;z-index:1}.timeline-content{flex:1}.timeline-message{font-size:14px;color:var(--text-primary);margin-bottom:4px}.timeline-date{font-size:12px;color:var(--text-secondary)}.drawer-footer{padding:16px 24px;border-top:1px solid var(--border-color);background:#fafafa;display:flex;gap:8px;justify-content:flex-end}.loading-state{text-align:center;padding:40px;color:var(--text-secondary)}.error-state{text-align:center;padding:40px;color:var(--error-color)}.skeleton{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-text{height:12px;border-radius:4px;margin-bottom:8px;width:60%}.skeleton-number{height:32px;border-radius:4px;width:80%}.skeleton-chart{height:300px;border-radius:var(--radius)}@media (max-width: 1200px){.metrics-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.admin-container{padding:16px}.admin-header{flex-direction:column;gap:16px}.header-actions{width:100%}.header-actions button{flex:1}.metrics-grid{grid-template-columns:1fr}.controls-bar{flex-direction:column;align-items:stretch}.search-form{max-width:100%}.table-container{overflow-x:auto}.orders-table{min-width:800px}.drawer{width:100%;max-width:100%}}@media (max-width: 480px){.period-selector{width:100%}.period-btn{flex:1}.heatmap-grid{grid-template-columns:repeat(6,1fr)}.metric-value{font-size:24px}}.demo-banner{background:linear-gradient(135deg,#3b82f6,#06b6d4);color:#fff;padding:1rem 2rem;border-bottom:1px solid rgba(255,255,255,.2);box-shadow:0 1px 3px #0000001a}.demo-banner-content{max-width:1400px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:1rem}.demo-badge{display:inline-flex;align-items:center;gap:.375rem;background:#fff3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:.375rem .875rem;border-radius:9999px;font-weight:700;font-size:.875rem;letter-spacing:.5px;border:1px solid rgba(255,255,255,.3)}.demo-badge:before{content:"";display:inline-block;width:8px;height:8px;background:#10b981;border-radius:50%;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.1)}}.demo-text{flex:1;min-width:200px;font-size:.9375rem;font-weight:500}.demo-actions{display:flex;gap:.75rem;flex-wrap:wrap}.demo-link{display:inline-flex;align-items:center;gap:.5rem;color:#fff;text-decoration:none;font-weight:600;font-size:.875rem;padding:.5rem 1.125rem;border-radius:.5rem;background:#ffffff26;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.2);transition:all .2s}.demo-link:hover{background:#ffffff40;border-color:#fff6;transform:translateY(-1px)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}@media (max-width: 768px){.demo-banner{padding:1rem}.demo-banner-content{flex-direction:column;align-items:flex-start}.demo-actions{width:100%}.demo-link{flex:1;text-align:center}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;color:#333}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}button{font-family:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}
