*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,PingFang SC,Helvetica Neue,Arial,sans-serif;background:radial-gradient(circle at 10% 20%,#6f7bff,#6c5dd3,#5a5bcf,#4e56c6,#4b4fb8);color:#1f2937;min-height:100vh}#root{min-height:100vh}.page{max-width:1280px;margin:0 auto;padding:32px 24px 48px}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-header h1{font-size:28px;color:#0f172a;letter-spacing:.5px}.eyebrow{font-size:13px;color:#6b7280;margin-bottom:6px}.header-actions{display:flex;gap:12px}.content{display:flex;flex-direction:column;gap:16px}.stats-hero{background:transparent;padding:8px 0 12px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.stat-card{background:#fff;border-radius:16px;padding:24px 20px;box-shadow:0 20px 40px #16224f29;border:1px solid rgba(255,255,255,.4);min-height:140px;display:flex;flex-direction:column;justify-content:center}.stat-label{font-size:18px;font-weight:700;color:#5b6b8b;margin-bottom:16px}.stat-value{font-size:48px;font-weight:800;line-height:1}.stat-value.tone-indigo{color:#1f2a68}.stat-value.tone-blue{color:#0f3d91}.stat-value.tone-red{color:#c53030}.stat-value.tone-orange{color:#b45309}.stat-value.tone-green{color:#0f8a5f}.card{background:#fff;border-radius:12px;box-shadow:0 12px 30px #0f172a0f;padding:20px 24px;border:1px solid #e5e7eb}.card.modern{padding:0;overflow:hidden}.btn{padding:10px 16px;border:none;border-radius:8px;font-size:14px;cursor:pointer;transition:all .3s;font-weight:600}.btn-primary{background:linear-gradient(90deg,#5b6bff,#7a5af8);color:#fff}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 18px #5a67d840}.btn-success{background:#48bb78;color:#fff}.btn-success:hover{background:#38a169}.btn-secondary{background:#718096;color:#fff}.btn-secondary:hover{background:#4a5568}.btn.ghost{background:#eef2ff;color:#4f46e5;border:1px solid #e0e7ff}.btn.ghost:hover{background:#e0e7ff}.input{width:100%;padding:12px;border:2px solid #e2e8f0;border-radius:8px;font-size:16px;transition:border-color .3s}.input:focus{outline:none;border-color:#667eea}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#2d3748}.filters-bar{display:grid;grid-template-columns:1fr;gap:12px;align-items:center}.time-filter{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;color:#374151;width:fit-content}.time-filter .icon{font-size:16px}.tabs{display:flex;flex-wrap:wrap;gap:10px}.tab{border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:14px;padding:10px 14px;display:inline-flex;gap:8px;align-items:center;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 10px #0f172a0f}.tab:hover{border-color:#c7d2fe}.tab-active{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}.tab-count{background:#6366f11a;color:#4338ca;padding:4px 8px;border-radius:10px;font-size:12px}.filters-right{margin-left:auto}.tone-gray .tab-count{background:#6b72801f;color:#374151}.tone-orange .tab-count{background:#fb923c29;color:#c2410c}.tone-blue .tab-count{background:#3b82f624;color:#1d4ed8}.tone-green .tab-count{background:#22c55e24;color:#15803d}.task-table{width:100%;border-collapse:collapse}.task-table.modern th,.task-table.modern td{padding:16px 18px;text-align:left;border-bottom:1px solid #e5e7eb}.task-table.modern thead{background:#f9fafb;color:#4b5563;font-size:13px;text-transform:none}.task-table.modern tbody tr:hover{background:#f8fafc}.task-table.modern .mono{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;color:#1f2937}.task-table.modern .strong{font-weight:700;color:#111827}.task-table.modern .muted{color:#6b7280;font-size:14px}.chip{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;font-weight:600;font-size:13px;border:1px solid #e5e7eb;background:#f9fafb;color:#374151}.chip-pending{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.chip-producing{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.chip-done{background:#ecfdf3;border-color:#bbf7d0;color:#15803d}.chip-cancelled{background:#fef2f2;border-color:#fecaca;color:#dc2626}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:20px 0}.image-grid img{width:100%;height:150px;object-fit:cover;border-radius:8px;cursor:pointer;transition:transform .3s}.image-grid img:hover{transform:scale(1.05)}.product-image-list{display:grid;gap:18px;margin:20px 0}.product-image-card{border:1px solid #e5e7eb;border-radius:12px;padding:16px;background:#f8fafc}.product-image-header{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}.product-image-title{font-size:14px;font-weight:700;color:#1f2937}.product-meta-row{display:inline-flex;align-items:center;gap:6px}.product-size-chip{display:inline-flex;align-items:center;font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px;background:#fef3c7;color:#92400e;border:1px solid #fcd34d;letter-spacing:.02em}.product-qty-chip{display:inline-flex;align-items:center;font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px;background:#e2e8f0;color:#1f2937}.product-image-stack{display:flex;flex-direction:row;gap:12px;flex-wrap:wrap}.product-image-item{display:flex;flex-direction:column;align-items:center;gap:6px}.product-image{width:100px;height:100px;object-fit:cover;border-radius:10px;cursor:pointer;transition:transform .3s}.product-image:hover{transform:scale(1.02)}.image-download-btn{font-size:12px;padding:4px 10px;border:1px solid #cbd5e0;border-radius:6px;background:#fff;color:#2d3748;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}.image-download-btn:hover{background:#f7fafc;border-color:#a0aec0}.image-download-btn:active{background:#edf2f7}.product-image-empty{width:100px;height:100px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#e2e8f0;color:#64748b;font-size:13px;text-align:center}.image-preview-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172aa6;display:flex;align-items:center;justify-content:center;padding:24px;z-index:1000}.image-preview-panel{background:#fff;border-radius:16px;padding:16px;max-width:min(900px,92vw);max-height:90vh;display:flex;flex-direction:column;gap:12px;box-shadow:0 24px 60px #0f172a4d}.image-preview-panel img{width:100%;height:auto;max-height:70vh;object-fit:contain;border-radius:12px}.image-preview-title{font-size:14px;font-weight:600;color:#475569;text-align:center}.image-preview-close{position:absolute;top:24px;right:24px;width:40px;height:40px;border-radius:50%;border:none;background:#ffffffe6;color:#0f172a;font-size:24px;cursor:pointer;box-shadow:0 8px 20px #0f172a33}.image-preview-close:hover{background:#fff}.loading{text-align:center;padding:40px;color:#718096}.empty{padding:48px 24px;text-align:center;color:#6b7280}.empty-title{font-size:18px;font-weight:700;color:#111827}.empty-sub{margin-top:6px}.error{background:#fed7d7;color:#c53030;padding:16px;border-radius:8px;margin-bottom:20px}.filters{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}.filters select{padding:10px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px}@media (max-width: 600px){.page{padding:8px 2px 24px;max-width:100vw}.page-header h1{font-size:18px}.eyebrow{font-size:11px}.header-actions{flex-direction:column;gap:6px}.content{gap:8px}.task-table.modern th,.task-table.modern td{padding:8px 6px;font-size:12px}.task-table.modern{display:block;overflow-x:auto;width:100%;font-size:12px}.filters-bar{grid-template-columns:1fr;gap:6px}.tabs{gap:4px;flex-wrap:wrap}.btn{font-size:12px;padding:8px 10px}.card{padding:8px 4px}.product-image-list{gap:8px;margin:8px 0}.product-image-card{padding:8px}.product-image-header{gap:6px;margin-bottom:6px}.product-image-title{font-size:12px}.product-size-chip{font-size:12px;padding:2px 8px}.product-qty-chip{font-size:11px;padding:2px 6px}.product-image-stack{gap:6px}.product-image{width:60px;height:60px}.product-image-empty{width:60px;height:60px;font-size:11px}.image-download-btn{font-size:11px;padding:3px 8px}}
