:root{--font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--bg-sidebar: #0b1329;--bg-sidebar-hover: #172545;--bg-sidebar-active: #1d2d52;--text-sidebar: #94a3b8;--text-sidebar-active: #ffffff;--bg-app: #f4f6f9;--bg-card: #ffffff;--border-color: #e5e7eb;--text-primary: #0f172a;--text-secondary: #64748b;--text-muted: #94a3b8;--accent-primary: #2563eb;--accent-success: #10b981;--accent-warning: #ef4444}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans);background-color:var(--bg-app);color:var(--text-primary);-webkit-font-smoothing:antialiased;min-height:100vh}.app-container{display:flex;min-height:100vh;width:100vw}.sidebar{width:260px;background-color:var(--bg-sidebar);color:var(--text-sidebar);display:flex;flex-direction:column;padding:24px 16px;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:1.25rem;font-weight:700;padding:0 12px 28px}.brand-icon{color:#38bdf8}.nav-list{list-style:none;display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:10px;font-size:.95rem;font-weight:500;color:var(--text-sidebar);cursor:pointer;transition:all .2s ease;text-decoration:none}.nav-item:hover{background-color:var(--bg-sidebar-hover);color:#fff}.nav-item.active{background-color:var(--bg-sidebar-active);color:var(--text-sidebar-active);font-weight:600}.nav-item .icon{width:20px;height:20px}.main-content{flex:1;padding:36px 40px;overflow-y:auto;display:flex;flex-direction:column;gap:32px}.header-bar{display:flex;justify-content:space-between;align-items:center;background-color:#fff;padding:20px 28px;border-radius:16px;box-shadow:0 1px 3px #0000000d;border:1px solid var(--border-color)}.header-title{font-size:1.85rem;font-weight:700;color:var(--text-primary);letter-spacing:-.02em}.supabase-live-badge{display:flex;align-items:center;gap:8px;font-size:.9rem;font-weight:600;color:#10b981}.status-dot{width:8px;height:8px;border-radius:50%;background-color:#10b981;box-shadow:0 0 8px #10b981;display:inline-block}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.kpi-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;padding:22px 24px;box-shadow:0 1px 3px #0000000a;display:flex;flex-direction:column;gap:8px}.kpi-label{font-size:.875rem;color:var(--text-secondary);font-weight:500}.kpi-value{font-size:1.75rem;font-weight:800;color:var(--text-primary);letter-spacing:-.01em}.kpi-value.warning{color:#ef4444}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px;align-items:start}.content-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;padding:28px;box-shadow:0 1px 3px #0000000a}.card-heading{font-size:1.25rem;font-weight:700;margin-bottom:20px;color:var(--text-primary)}.orders-table{width:100%;border-collapse:separate;border-spacing:0 12px}.orders-table th{text-align:left;font-size:.875rem;font-weight:600;color:var(--text-secondary);padding:0 16px 8px}.orders-table td{padding:16px;font-size:.95rem;font-weight:500;background-color:#fff;border-top:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9}.orders-table tr td:first-child{border-left:1px solid #f1f5f9;border-top-left-radius:10px;border-bottom-left-radius:10px}.orders-table tr td:last-child{border-right:1px solid #f1f5f9;border-top-right-radius:10px;border-bottom-right-radius:10px}.badge{display:inline-flex;align-items:center;padding:6px 14px;border-radius:20px;font-size:.85rem;font-weight:600}.badge-in-progress{background-color:#dcfce7;color:#15803d}.badge-scheduled{background-color:#e0f2fe;color:#0369a1}.status-panel-description{font-size:.9rem;color:var(--text-secondary);margin-bottom:24px;line-height:1.5}.status-details-box{background-color:#0b1329;color:#f8fafc;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:14px}.status-item{display:flex;flex-direction:column;gap:4px}.status-key{font-size:.8rem;color:#94a3b8;font-weight:500}.status-val{font-size:.95rem;font-weight:600;color:#fff}@media (max-width: 1024px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}
