@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap";.billing-plans-management{margin-top:8px}.billing-plans-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;gap:1rem;flex-wrap:wrap}.billing-plans-toolbar-text{font-size:13px;font-weight:600;color:#64748b;margin:0;letter-spacing:.02em;text-transform:uppercase}.billing-plans-toolbar-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.btn-primary{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#4f46e5;color:#fff;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-secondary{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:#f1f5f9;color:#0f172a;border:1px solid #cbd5e1;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-secondary:hover:not(:disabled){background:#e2e8f0;box-shadow:0 4px 8px #0f172a1f}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.btn-primary:hover:not(:disabled){background:#4338ca;box-shadow:0 4px 6px #4f46e533;transform:translateY(-2px)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.alert{padding:1rem;border-radius:6px;margin-bottom:1rem;animation:slideIn .3s ease}.alert-error{background:#fee2e2;color:#991b1b;border-left:4px solid #dc2626}.alert-success{background:#dcfce7;color:#166534;border-left:4px solid #16a34a}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.statistics-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;padding:1.5rem;border-radius:8px;display:flex;align-items:center;gap:1rem;box-shadow:0 1px 3px #0000001a;transition:all .2s ease}.stat-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.stat-icon{color:#4f46e5;flex-shrink:0}.stat-content h4{font-size:.875rem;color:#6b7280;margin:0 0 .5rem;font-weight:500}.stat-value{font-size:1.75rem;font-weight:700;color:#1a202c;margin:0}.billing-plan-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:220;background:#0f172a8c;display:flex;align-items:center;justify-content:center;padding:16px}.billing-plan-dialog{width:min(980px,100%);max-height:90vh;overflow-y:auto;background:#fff;border-radius:12px;box-shadow:0 30px 80px #0f172a40;padding:1.5rem;animation:slideIn .2s ease}.billing-plan-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:1rem}.billing-plan-dialog h3{font-size:1.25rem;font-weight:600;color:#1a202c;margin:0}.dialog-close-btn{width:32px;height:32px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.dialog-close-btn:hover{background:#f8fafc}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:1.5rem}.form-group{display:flex;flex-direction:column}.form-group label{font-weight:500;color:#374151;margin-bottom:.5rem;font-size:.875rem}.form-group input,.form-group select,.form-group textarea{padding:.75rem;border:1px solid #d1d5db;border-radius:4px;font-size:.875rem;font-family:inherit;transition:all .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.form-group input:disabled,.form-group select:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed}.form-section{margin-bottom:1.5rem}.form-section h4{font-size:1rem;font-weight:600;color:#1a202c;margin-bottom:1rem}.app-pricing-help{margin:-4px 0 12px;color:#64748b;font-size:.85rem}.app-pricing-empty{margin:0;color:#dc2626;font-size:.85rem}.app-pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:.9rem}.app-pricing-card{border:1px solid #dbe3ef;border-radius:10px;padding:.9rem;background:#f8fbff}.app-pricing-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:.6rem}.app-pricing-code{color:#64748b;font-size:.78rem;margin-top:2px}.app-pricing-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.7rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.feature-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem}.feature-checkbox input[type=checkbox]{cursor:pointer;width:18px;height:18px;accent-color:#4f46e5}.checkbox-row{gap:2rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:500;color:#374151}.checkbox-label input[type=checkbox]{cursor:pointer;accent-color:#4f46e5}.form-actions{display:flex;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.btn-success,.btn-cancel{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:.875rem}.btn-success{background:#16a34a;color:#fff}.btn-success:hover:not(:disabled){background:#15803d;box-shadow:0 4px 6px #16a34a33}.btn-cancel{background:#e5e7eb;color:#374151}.btn-cancel:hover{background:#d1d5db}.btn-success:disabled{opacity:.5;cursor:not-allowed}.filters-section{background:#fff;padding:1rem;border-radius:8px;display:flex;gap:1rem;margin-bottom:1rem;flex-wrap:wrap;border:1px solid #e2e8f0}.filter-group{display:flex;align-items:center;gap:.75rem}.filter-group label{font-weight:500;color:#374151;font-size:.875rem}.filter-group select{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:4px;font-size:.875rem;cursor:pointer}.filter-group select:focus{outline:none;border-color:#4f46e5}.plans-table-container{background:#fff;border-radius:8px;overflow-x:auto;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0}.plans-table{width:100%;border-collapse:collapse}.plans-table thead{background:#f9fafb;border-bottom:2px solid #e5e7eb}.plans-table th{padding:1rem;text-align:left;font-weight:600;color:#374151;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.plans-table td{padding:1rem;border-bottom:1px solid #f3f4f6;color:#1f2937;font-size:.875rem}.plans-table tbody tr:hover{background:#f9fafb}.code-cell{font-family:monospace;background:#f3f4f6;border-radius:4px;padding:.5rem .75rem!important}.code-cell code{color:#4f46e5;font-weight:500}.name-cell{font-weight:500}.name-column{display:flex;flex-direction:column;gap:.25rem}.plan-name{color:#1a202c;font-weight:600}.plan-stats{font-size:.75rem;color:#6b7280}.price-cell{font-weight:600;color:#4f46e5}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600}.status-badge.active{background:#dcfce7;color:#166534}.status-badge.inactive{background:#fee2e2;color:#991b1b}.actions-cell{display:flex;gap:.5rem}.btn-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:4px;cursor:pointer;transition:all .2s ease;color:#fff;font-size:0}.btn-edit{background:#3b82f6}.btn-edit:hover:not(:disabled){background:#2563eb}.btn-delete{background:#ef4444}.btn-delete:hover:not(:disabled){background:#dc2626}.btn-icon:disabled{opacity:.5;cursor:not-allowed}.no-plans-message{padding:3rem;text-align:center;color:#6b7280;font-size:1rem}.billing-plans-loading{padding:2rem;text-align:center;color:#6b7280}@media (max-width: 768px){.billing-plans-toolbar{flex-direction:column;align-items:flex-start}.billing-plan-dialog{padding:1rem;border-radius:10px}.form-row,.statistics-cards{grid-template-columns:1fr}.filters-section{flex-direction:column;gap:.75rem}.filter-group{flex-direction:column;align-items:flex-start}.plans-table{min-width:0;font-size:.75rem}.plans-table td{padding:0}.plans-table thead{display:none}.plans-table tbody tr{display:block;margin-bottom:12px;padding:14px;border-bottom:none}.plans-table td{display:block;min-width:0;border-bottom:none}.plans-table td+td{margin-top:12px}.plans-table td:before{content:attr(data-label);display:block;margin-bottom:6px;color:#64748b;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.plans-table td.code-cell{width:fit-content}.plans-table td[data-label=Actions]{margin-top:4px}.actions-cell{justify-content:flex-start;flex-wrap:wrap;gap:.25rem}.btn-icon{width:32px;height:32px}}.admin-dashboard-container{max-width:1400px;margin:0 auto;padding:40px 20px;background:var(--bg-secondary, #f5f5f5);min-height:100vh}.admin-header{margin-bottom:40px;display:flex;justify-content:space-between;align-items:center}.admin-header h1{font-size:32px;font-weight:600;margin:0 0 8px;color:var(--text-primary, #000)}.admin-header p{font-size:14px;color:var(--text-light, #666);margin:0}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:40px}.stat-card{background:#fff;border-radius:8px;padding:24px;display:flex;gap:16px;align-items:flex-start;box-shadow:0 1px 3px #0000001a;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.stat-icon{width:60px;height:60px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-content{flex:1}.stat-label{font-size:12px;color:var(--text-light, #666);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;font-weight:500}.stat-value{font-size:28px;font-weight:700;color:var(--text-primary, #000);margin-bottom:4px}.stat-meta{font-size:12px;color:var(--text-light, #999)}.admin-section{margin-bottom:40px}.admin-section-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.admin-section-title{margin:0}.admin-section h2{font-size:20px;font-weight:600;margin:0 0 20px;color:var(--text-primary, #000)}.management-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.management-card{background:#fff;border-radius:12px;padding:24px;display:flex;gap:16px;align-items:flex-start;cursor:pointer;transition:all .3s ease;border:2px solid transparent;position:relative;box-shadow:0 1px 3px #0000001a}.management-card:not(.disabled):hover{border-color:var(--primary-color, #667eea);box-shadow:0 4px 12px #667eea33;transform:translateY(-4px)}.management-card.disabled{opacity:.6;cursor:not-allowed}.management-icon{width:64px;height:64px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.management-content{flex:1}.management-content h3{font-size:18px;font-weight:600;margin:0 0 8px;color:var(--text-primary, #000)}.management-content p{font-size:14px;color:var(--text-light, #666);margin:0;line-height:1.4}.disabled-badge{position:absolute;top:12px;right:12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:10px;font-weight:600;padding:4px 8px;border-radius:4px;text-transform:uppercase;letter-spacing:.5px}.quick-actions{display:flex;gap:12px;flex-wrap:wrap}.action-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.action-btn.compact{padding:8px 14px;font-size:13px}.action-btn.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.action-btn.primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.action-btn.secondary{background:#fff;color:#667eea;border:2px solid #667eea}.action-btn.secondary:hover{background:#f0f4ff;transform:translateY(-2px)}.loading{text-align:center;padding:60px 20px;font-size:16px;color:var(--text-light, #666)}.error-message{background:#fee;border:1px solid #fcc;border-radius:8px;padding:16px;display:flex;gap:12px;align-items:center;color:#c33;margin:20px 0}.error-message svg{flex-shrink:0}.alert{display:flex;align-items:center;gap:12px;padding:16px 20px;border-radius:8px;margin-bottom:24px;font-size:14px;line-height:1.5}.alert-info{background:#e0f2fe;border:1px solid #bae6fd;color:#0369a1}.alert-error{background:#fee2e2;border:1px solid #fecaca;color:#991b1b;display:flex;align-items:center;gap:12px}.alert-error svg{flex-shrink:0}.admin-table-wrap{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:auto}.owners-summary{margin:-8px 0 12px;font-size:13px;color:#666}.owners-table-wrap{margin-bottom:22px}.admin-table-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-table{width:100%;border-collapse:collapse;min-width:760px}.admin-table th,.admin-table td{padding:12px 14px;border-bottom:1px solid #eef1f5;text-align:left;font-size:13px}.admin-table th{font-size:12px;color:#666;text-transform:uppercase;letter-spacing:.4px;background:#fafbfc}.role-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:600;text-transform:capitalize;background:#eef2ff;color:#4f46e5}.status-pill{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:600}.status-pill.active{background:#e9f9ee;color:#15803d}.status-pill.inactive{background:#fdecec;color:#b91c1c}.empty-users{text-align:center;color:#666}.promote-btn{border:1px solid #4f46e5;background:#eef2ff;color:#3730a3;border-radius:6px;font-size:12px;font-weight:600;padding:6px 10px;cursor:pointer}.promote-btn.compact{padding:5px 9px;font-size:11px}.promote-btn:disabled{opacity:.6;cursor:not-allowed}.platform-owner-tag{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#ecfeff;color:#155e75;font-size:11px;font-weight:700}@media (max-width: 768px){.admin-dashboard-container{padding:20px 12px}.admin-header{flex-direction:column;align-items:flex-start}.admin-header h1{font-size:24px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:12px}.stat-card{padding:16px}.management-grid{grid-template-columns:1fr}.quick-actions{flex-direction:column}.admin-section-header{flex-wrap:nowrap;align-items:center}.admin-table-wrap{overflow:visible;background:transparent;box-shadow:none}.admin-table{min-width:0;font-size:12px}.admin-table thead{display:none}.admin-table tbody tr{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:12px;padding:14px;box-shadow:0 1px 3px #0f172a0f}.admin-table td{display:block;border-bottom:none;padding:0;min-width:0}.admin-table td+td{margin-top:12px}.admin-table td:before{content:attr(data-label);display:block;margin-bottom:6px;color:#64748b;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.admin-actions-cell{margin-top:4px}.admin-table-actions{justify-content:flex-start}.promote-btn{min-height:36px}}.admin-layout-shell{min-height:100vh;background:#eef3f7;display:flex;flex-direction:column}.admin-layout-header{position:sticky;top:0;z-index:120;height:62px;padding:0 16px;background:#fff;border-bottom:1px solid #dbe3ea;box-shadow:0 2px 10px #0f172a0f;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.admin-layout-header-left{display:flex;align-items:center;gap:12px;min-width:0}.admin-layout-menu-toggle,.admin-layout-drawer-close{width:40px;height:40px;border:none;border-radius:10px;background:transparent;color:#0f172a;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.admin-layout-menu-toggle:hover,.admin-layout-drawer-close:hover{background:#eef3f7}.admin-layout-brand{text-decoration:none;display:inline-flex;align-items:center;gap:10px;min-width:0}.admin-layout-brand-mark{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#0ea5a4,#14b8a6);color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 10px #14b8a63d;flex-shrink:0}.admin-layout-brand-copy{display:flex;flex-direction:column;min-width:0}.admin-layout-brand-copy strong{font-size:14px;line-height:1.15;color:#0f172a}.admin-layout-brand-copy span{font-size:11px;line-height:1.15;color:#64748b;white-space:nowrap}.admin-layout-actions{display:flex;align-items:center;gap:10px;min-width:0}.admin-layout-profile-wrap{position:relative}.admin-layout-profile-toggle{border:1px solid #d6dee7;background:#fff;border-radius:14px;padding:5px 10px 5px 5px;display:inline-flex;align-items:center;gap:8px;cursor:pointer;min-width:0;max-width:260px}.admin-layout-profile-toggle:hover{background:#f8fafc;border-color:#c1cdd8}.admin-layout-avatar{width:32px;height:32px;border-radius:999px;background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}.admin-layout-avatar.small{width:30px;height:30px;font-size:11px}.admin-layout-identity-copy{display:flex;flex-direction:column;min-width:0;text-align:left}.admin-layout-identity-name{color:#0f172a;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.admin-layout-identity-role{display:inline-flex;align-items:center;gap:3px;color:#64748b;font-size:11px;font-weight:500;line-height:1.2}.admin-layout-chevron{color:#64748b;flex-shrink:0;transition:transform .2s ease}.admin-layout-chevron.open{transform:rotate(180deg)}.admin-layout-profile-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:220px;background:#fff;border:1px solid #dbe3ea;border-radius:14px;box-shadow:0 14px 28px #0f172a1f;padding:10px;z-index:130}.admin-layout-profile-summary{display:flex;flex-direction:column;gap:2px;padding:4px 4px 10px}.admin-layout-profile-name{font-size:13px;font-weight:700;color:#0f172a}.admin-layout-profile-email{font-size:12px;color:#64748b;overflow-wrap:anywhere}.admin-layout-logout{width:100%;border:1px solid #f1d0d0;background:#fff5f5;color:#b42318;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}.admin-layout-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a57;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:109}.admin-layout-overlay.visible{opacity:1;pointer-events:auto}.admin-layout-drawer{position:fixed;top:62px;left:0;bottom:0;width:270px;background:#fff;border-right:1px solid #dbe3ea;box-shadow:8px 0 24px #0f172a14;transform:translate(-100%);transition:transform .24s ease;z-index:110;display:flex;flex-direction:column;overflow:hidden}.admin-layout-drawer.open{transform:translate(0)}.admin-layout-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 10px;flex-shrink:0}.admin-layout-drawer-title{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#64748b}.admin-layout-drawer-nav{padding:8px;display:flex;flex-direction:column;gap:4px;flex:1;overflow-y:auto}.admin-layout-drawer-link{text-decoration:none;color:#334155;display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:12px;font-size:14px;font-weight:600;transition:background .15s ease,color .15s ease}.admin-layout-drawer-link:hover{background:#edf7f7;color:#0f766e}.admin-layout-drawer-link.active{background:#0ea5a4;color:#fff}.admin-layout-drawer-footer{flex-shrink:0;padding:12px 16px;border-top:1px solid #e9eff5}.admin-layout-drawer-user{border:1px solid #dbe3ea;border-radius:12px;padding:10px;display:flex;align-items:center;gap:10px;background:#f8fbfd}.admin-layout-drawer-user-copy{display:flex;flex-direction:column;min-width:0}.admin-layout-drawer-user-copy span:first-child{font-size:13px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-layout-drawer-user-copy span:last-child{font-size:11px;color:#64748b}.admin-layout-main{flex:1}@media (max-width: 640px){.admin-layout-header{padding:0 10px}.admin-layout-brand-copy span,.admin-layout-identity-copy{display:none}.admin-layout-profile-toggle{padding:5px 8px 5px 5px;gap:6px}.admin-layout-chevron{display:none}}.setup-wizard{min-height:100vh;background:linear-gradient(135deg,var(--bg-light, #f8fafc) 0%,var(--bg-lighter, #f1f5f9) 100%);padding:40px 20px;display:flex;align-items:flex-start;justify-content:center}.setup-wizard-container{width:100%;max-width:1200px;background:var(--bg, #ffffff);border-radius:16px;box-shadow:0 4px 6px #00000012;padding:40px}.setup-wizard-header{margin-bottom:32px}.setup-wizard-progress{margin-top:16px}.progress-bar{width:100%;height:8px;background:var(--border, #e2e8f0);border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#8b5cf6);border-radius:999px;transition:width .6s cubic-bezier(.4,0,.2,1)}.setup-wizard-sidebar{display:flex;flex-direction:column;gap:12px}.setup-wizard-step-card{display:flex;align-items:flex-start;gap:12px;padding:16px;border-radius:12px;border:2px solid var(--border, #e2e8f0);background:var(--bg, #ffffff);cursor:pointer;transition:all .3s ease;position:relative}.setup-wizard-step-card:hover{border-color:var(--primary, #3b82f6);background:var(--bg-light, #f8fafc)}.setup-wizard-step-card.active{border-color:var(--primary, #3b82f6);background:#3b82f60d;box-shadow:0 0 0 3px #3b82f61a}.setup-wizard-step-card.complete{border-color:#10b981;background:#10b9810d}.step-indicator{flex-shrink:0;margin-top:2px}.step-info{flex:1;min-width:0}.step-title{font-weight:600;color:var(--text, #1f2937);margin-bottom:4px}.step-desc{font-size:12px;color:var(--text-light, #6b7280);line-height:1.4}.setup-wizard-content{min-height:400px}.setup-wizard-step-content{animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.setup-wizard-step-header{text-align:center;margin-bottom:32px}.step-icon-large{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:12px;background:linear-gradient(135deg,#3b82f61a,#8b5cf61a);color:var(--primary, #3b82f6);margin-bottom:16px}.setup-wizard-step-header h2{margin:0 0 8px;color:var(--text, #1f2937)}.setup-wizard-step-header p{margin:0}.setup-wizard-form{background:var(--bg-light, #f8fafc);border:1px solid var(--border, #e2e8f0);border-radius:12px;padding:24px;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.setup-complete-message{text-align:center;padding:40px 20px}.setup-complete-message p{margin:0 0 16px;font-size:16px;color:var(--text, #1f2937)}.setup-complete-message p:last-of-type{margin-bottom:0;font-size:14px;color:var(--text-light, #6b7280)}.setup-wizard-next-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;border-radius:8px;background:var(--primary, #3b82f6);color:#fff;border:none;font-weight:600;font-size:14px;cursor:pointer;transition:all .3s ease;margin-top:24px}.setup-wizard-next-btn:hover{background:var(--primary-dark, #2563eb);transform:translateY(-2px);box-shadow:0 4px 12px #3b82f666}.setup-wizard-cta{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;border-radius:8px;background:linear-gradient(135deg,#3b82f6,#8b5cf6);color:#fff;border:none;font-weight:600;font-size:16px;cursor:pointer;transition:all .3s ease}.setup-wizard-cta:hover{transform:translateY(-2px);box-shadow:0 8px 16px #3b82f666}.setup-complete{display:flex;align-items:center;justify-content:center;min-height:600px}.setup-wizard-info{display:flex;align-items:flex-start;gap:12px;margin-top:32px;padding:16px;background:#3b82f60d;border:1px solid rgba(59,130,246,.2);border-radius:8px;font-size:14px;color:var(--text-light, #6b7280)}.setup-wizard-info p{margin:0}.setup-wizard-info svg{flex-shrink:0;color:var(--primary, #3b82f6);margin-top:2px}.spinner{width:40px;height:40px;border:4px solid rgba(59,130,246,.1);border-top-color:var(--primary, #3b82f6);border-radius:50%;animation:spin .8s linear infinite}@media (max-width: 768px){.setup-wizard-container{padding:20px}.setup-wizard-header{margin-bottom:24px}.setup-wizard-header h1{font-size:24px}.setup-wizard{padding:16px}.setup-wizard-step-header h2{font-size:20px}.setup-wizard-sidebar{order:2}.setup-wizard-content{order:1}.setup-wizard-step-card{padding:12px}.step-title{font-size:14px}.step-desc{font-size:11px}.setup-wizard-form{padding:16px}}.trial-page{min-height:100vh;padding:28px 20px;background:radial-gradient(circle at 12% 16%,rgba(15,106,90,.16),transparent 28%),radial-gradient(circle at 88% 18%,rgba(212,122,45,.18),transparent 24%),linear-gradient(180deg,#fefcf8,#f4f3ed 52%,#edf3ef);color:#162028;font-family:Manrope,Segoe UI,sans-serif}.trial-shell{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:26px;align-items:start}.trial-intro,.trial-form-card{border-radius:28px;border:1px solid rgba(22,32,40,.1);background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 20px 44px #16202814}.trial-intro{padding:30px}.trial-back-link{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;background:#fff;border:1px solid #d5ddd7;color:#24414b;text-decoration:none;font-weight:700;font-size:13px}.trial-kicker{margin-top:20px;display:inline-flex;min-height:32px;padding:0 14px;border-radius:999px;background:#0f6a5a1c;color:#0f6a5a;align-items:center;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800}.trial-intro h1{margin:18px 0 14px;font-family:Sora,Manrope,sans-serif;font-size:clamp(34px,4vw,56px);line-height:1.02;letter-spacing:-.04em;max-width:11ch}.trial-intro>p{margin:0;max-width:60ch;color:#51626b;font-size:17px;line-height:1.78}.trial-plan-card{margin-top:24px;border-radius:22px;padding:20px;background:linear-gradient(145deg,#163844,#0f6a5a);color:#f8fafc}.trial-plan-topline{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-family:Sora,Manrope,sans-serif}.trial-plan-topline span{font-size:22px;font-weight:700}.trial-plan-topline strong{font-size:18px}.trial-plan-card p{margin:12px 0 0;color:#f8fafcd9;line-height:1.7}.trial-pill-row{margin-top:16px;display:flex;flex-wrap:wrap;gap:10px}.trial-pill-row span{min-height:32px;border-radius:999px;background:#ffffff1f;padding:0 12px;display:inline-flex;align-items:center;font-size:12px;font-weight:700}.trial-checklist{margin-top:24px;display:grid;gap:12px}.trial-checklist div{display:flex;align-items:center;gap:10px;color:#21353d;font-weight:600}.trial-form-card{padding:26px}.trial-form-head h2{margin:0;font-family:Sora,Manrope,sans-serif;font-size:30px}.trial-form-head p{margin:8px 0 0;color:#5a6d75}.trial-form{margin-top:20px;display:grid;gap:16px}.trial-form label{display:grid;gap:8px}.trial-form label span{font-size:13px;font-weight:700;color:#314851}.trial-input-wrap,.trial-form input,.trial-slug-row{min-height:50px;border-radius:16px;border:1px solid #d4ddd7;background:#fff}.trial-input-wrap{display:flex;align-items:center;gap:10px;padding:0 14px}.trial-input-wrap input{border:0;background:transparent;min-height:48px;padding:0}.trial-form input{width:100%;padding:0 14px;font:inherit;color:inherit}.trial-form input:focus{outline:none;border-color:#2f9d82;box-shadow:0 0 0 4px #2f9d821f}.trial-input-wrap:focus-within,.trial-slug-row:focus-within{border-color:#2f9d82;box-shadow:0 0 0 4px #2f9d821f}.trial-slug-row{display:grid;grid-template-columns:minmax(0,1fr) auto;overflow:hidden}.trial-slug-row input{border:0;min-width:0}.trial-slug-row button{border:0;border-left:1px solid #d4ddd7;background:#eff6f2;padding:0 16px;font:inherit;font-weight:700;color:#0f6a5a;cursor:pointer}.trial-slug-ok,.trial-slug-bad,.trial-error,.trial-footnote{font-size:13px;line-height:1.6}.trial-slug-ok{color:#166534}.trial-slug-hint{font-size:12px;color:#5d6f77;line-height:1.5}.trial-url-preview{font-size:13px;color:#0f3f4c;background:#eef9f4;border:1px solid #c7ead8;border-radius:12px;padding:8px 10px;word-break:break-all}.trial-url-preview strong{font-weight:700}.trial-slug-bad,.trial-error{color:#b42318}.trial-error{border-radius:14px;padding:12px 14px;background:#fef3f2;border:1px solid #fecdca}.trial-submit{min-height:52px;border:0;border-radius:16px;background:linear-gradient(135deg,#0f6a5a,#2f9d82);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:10px;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 16px 32px #2f9d823d}.trial-submit:disabled{opacity:.7;cursor:not-allowed;box-shadow:none}.trial-spin{animation:trial-spin 1s linear infinite}.trial-footnote{margin-top:14px;color:#5d6f77}@keyframes trial-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 920px){.trial-shell{grid-template-columns:1fr}.trial-intro h1{max-width:none}}@media (max-width: 640px){.trial-page{padding:16px 12px 28px}.trial-intro,.trial-form-card{padding:20px;border-radius:22px}.trial-plan-topline{flex-direction:column}.trial-slug-row{grid-template-columns:1fr}.trial-slug-row button{border-left:0;border-top:1px solid #d4ddd7;min-height:42px}}.login-page{min-height:100vh;display:grid;place-items:center;padding:clamp(16px,3vw,32px);background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%)}.login-shell{width:min(900px,100%);border-radius:20px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 24px 64px #00000047}.login-visual{position:relative;overflow:hidden;padding:clamp(32px,6vw,56px) clamp(24px,4vw,44px);display:flex;justify-content:center;align-items:center;background:linear-gradient(160deg,#ffffff24,#ffffff0a);border-right:1px solid rgba(255,255,255,.18)}.login-visual:before{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:#ffffff12;bottom:-80px;right:-80px;pointer-events:none}.login-visual:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:#ffffff0d;top:-50px;left:-50px;pointer-events:none}.login-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;position:relative;z-index:1}.login-brand__logo{width:96px;height:96px;border-radius:20px;border:2px solid rgba(255,255,255,.45);background:#ffffff26;object-fit:contain;padding:12px}.login-brand__name{margin:0;font-size:clamp(40px,6vw,58px);font-weight:700;letter-spacing:.06em;color:#fff;line-height:1}.login-brand__subtitle{margin:-8px 0 0;font-size:clamp(12px,1.3vw,14px);color:#ffffffb8;line-height:1.4}.login-card-wrap{background:var(--white);display:grid;place-items:center;padding:clamp(28px,5vw,52px) clamp(24px,4vw,44px)}.login-card{width:100%;max-width:360px}.login-card h2{font-size:26px;font-weight:700;color:var(--text);margin:0 0 6px}.login-card>p{margin:0 0 24px;color:var(--text-light);font-size:14px}.login-error{margin:0 0 16px;padding:11px 12px;border-radius:8px;background:#fee2e2;border:1px solid #fca5a5;color:#991b1b;font-size:13px}.company-picker{display:flex;flex-direction:column;gap:12px}.company-picker h3{margin:0;font-size:20px;font-weight:700;color:var(--text)}.company-picker p{margin:0;color:var(--text-light);font-size:14px}.company-picker__list{display:flex;flex-direction:column;gap:10px}.company-picker__item{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;border-radius:12px;border:1px solid var(--border);background:linear-gradient(180deg,#fff,#f8fafc);padding:14px 16px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.company-picker__item:hover{transform:translateY(-1px);border-color:var(--primary);box-shadow:0 8px 20px #0f172a14}.company-picker__item:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.company-picker__name{font-size:15px;font-weight:700;color:var(--text)}.company-picker__slug{font-size:12px;color:var(--text-light)}.login-form{display:flex;flex-direction:column;gap:16px}.login-field label{display:block;margin-bottom:6px;font-size:14px;font-weight:500;color:var(--text)}.login-field__input{position:relative}.login-field__input svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-light);pointer-events:none}.login-field__input input{width:100%;height:44px;border-radius:8px;border:1px solid var(--border);background:var(--white);color:var(--text);font-size:14px;padding:0 40px;transition:border-color .2s,box-shadow .2s}.login-field__input input::placeholder{color:#94a3b8}.login-field__input input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #667eea1f}.login-password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:none;background:transparent;color:var(--text-light);width:32px;height:32px;border-radius:6px;cursor:pointer;display:grid;place-items:center}.login-password-toggle:hover{background:var(--bg)}.login-password-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.login-actions{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--text-light);margin:4px 0 0}.login-actions a{color:var(--primary);text-decoration:none;font-weight:500}.login-actions a:hover{text-decoration:underline}.login-actions a:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:2px}.login-submit{width:100%;border:none;height:46px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:600;cursor:pointer;color:#fff;background:var(--primary);transition:background .2s,transform .15s,box-shadow .15s;box-shadow:0 4px 14px #667eea66}.login-submit:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 6px 18px #667eea80}.login-submit:active:not(:disabled){transform:translateY(0)}.login-submit:disabled{opacity:.6;cursor:not-allowed}.login-submit:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.login-secure{margin-top:18px;padding-top:14px;border-top:1px solid var(--border);font-size:12px;color:var(--text-light);display:flex;align-items:center;gap:6px}@media (max-width: 768px){.login-shell{grid-template-columns:1fr;max-width:440px;margin:0 auto}.login-visual{padding:28px 24px;border-right:none;border-bottom:1px solid rgba(255,255,255,.2)}.login-brand__name{font-size:36px}.login-card-wrap{padding:28px 20px}}@media (max-width: 480px){.login-page{padding:32px 16px 16px;align-items:flex-start}.login-shell{border-radius:16px;box-shadow:0 8px 24px #00000026}.login-visual:before,.login-visual:after{display:none}.login-card-wrap{padding:24px 16px}}.production-runs-table{display:grid}.production-runs-wrap{max-height:70vh}.npd-action-bar.production-runs-filters{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(150px,1fr)) minmax(120px,auto);align-items:stretch}.production-runs-export{width:100%}.production-runs-compact{display:grid;gap:12px;padding:12px}.production-run-card{border:1px solid #e5e7eb;border-radius:10px;padding:10px;background:#fff;display:grid;gap:8px}.production-run-card__row{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.production-run-card__row--three{grid-template-columns:repeat(3,minmax(0,1fr))}.production-run-card__field{display:grid;gap:2px}.production-run-card__value{font-weight:600;font-size:13px;color:#0f172a;word-break:break-word}@media (max-width: 768px){.npd-action-bar.production-runs-filters{grid-template-columns:1fr}}.pde-entry{max-width:none;padding:0;margin:0 auto;color:#1f2937}.pde-entry__title{font-size:20px;font-weight:700;margin:0 0 4px}.pde-entry__subtitle{font-size:13px;color:#6b7280;margin:0 0 12px}.pde-form{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px}.pde-form__error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;padding:8px 10px;border-radius:8px;font-size:13px;margin-bottom:10px}.pde-form__success{background:#d1fae5;border:1px solid #a7f3d0;color:#065f46;padding:8px 10px;border-radius:8px;font-size:13px;margin-bottom:10px}.pde-form__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}.pde-field{display:flex;flex-direction:column;gap:4px;font-size:12px}.pde-field span{font-weight:500;color:#374151}.pde-field input,.pde-field select,.pde-field textarea{padding:6px 8px;border:1px solid #d1d5db;border-radius:6px;font-size:12px;background:#fff;font-family:inherit}.pde-field--full{grid-column:1 / -1}.pde-form__actions{display:flex;gap:10px;margin-top:12px}.pde-btn{padding:7px 14px;border-radius:8px;border:1px solid transparent;font-size:13px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:background .15s ease}.pde-btn:disabled{opacity:.6;cursor:not-allowed}.pde-btn--primary{background:#0f766e;color:#fff}.pde-btn--primary:hover:not(:disabled){background:#115e59}.pde-runs{margin-top:16px}.pde-runs__header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.pde-runs__title{font-size:16px;font-weight:700;margin:0}.pde-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.pde-header__text{min-width:0}.pde-header__text .pde-entry__title{margin-bottom:4px}.pde-header__text .pde-entry__subtitle{margin-bottom:0}.pde-btn--icon{padding:8px;width:40px;height:40px;flex-shrink:0}.pde-btn--secondary{background:#f3f4f6;color:#374151;border-color:#d1d5db}.pde-btn--secondary:hover:not(:disabled){background:#e5e7eb}.pde-btn--ghost{background:transparent;color:#6b7280;border-color:transparent}.pde-btn--ghost:hover:not(:disabled){background:#f3f4f6;color:#1f2937}.pde-form-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;padding:16px;z-index:100}.pde-form-dialog{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;width:100%;max-width:1100px;max-height:90vh;overflow-y:auto;display:flex;flex-direction:column}.pde-form-dialog__header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e5e7eb;position:sticky;top:0;background:#fff;z-index:1}.pde-form-dialog__title{font-size:18px;font-weight:700;margin:0}.pde-form-dialog .pde-form{border:0;border-radius:0;flex:1}.pde-downtime__list{display:flex;flex-direction:column;gap:8px;margin-top:4px}.pde-downtime__row{display:grid;grid-template-columns:1fr 120px 40px;gap:8px;align-items:center}.pde-downtime__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.pde-downtime__total{font-weight:600;color:#374151;font-size:13px}.pde-stages__table-wrap{border:1px solid #d1d5db;border-radius:8px;overflow:auto;max-height:220px}.pde-stages__table{width:100%;border-collapse:collapse;font-size:12px}.pde-stages__table th,.pde-stages__table td{padding:8px 10px;text-align:left;border-bottom:1px solid #e5e7eb}.pde-stages__table th{background:#f3f4f6;font-weight:600;color:#374151;position:sticky;top:0}.pde-stages__table tbody tr{cursor:pointer;transition:background .12s ease}.pde-stages__table tbody tr:hover{background:#f9fafb}.pde-stages__table tbody tr.pde-stages__row--selected{background:#d1fae5;font-weight:600}.pde-stages__empty{text-align:center;color:#6b7280;padding:16px}.pde-form-dialog--wide{max-width:1480px}.pde-form__grid--order{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.pde-stages--inline{margin-top:16px}.pde-stages__header{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-weight:600;color:#374151}.pde-stages__hint{font-weight:400;color:#6b7280}.pde-stages__table-wrap--inline{max-height:320px}.pde-stages__table input,.pde-stages__table select{width:100%;padding:4px 6px;border:1px solid #d1d5db;border-radius:4px;font-size:11px;font-family:inherit;background:#fff}.pde-stages__table td{vertical-align:top;padding:6px 4px}@media (max-width: 640px){.pde-form__grid{grid-template-columns:1fr}.pde-field--full{grid-column:auto}.pde-form-overlay{padding:0}.pde-form-dialog{max-width:100%;max-height:100vh;border-radius:0}.pde-header,.pde-runs__header{align-items:center}}.ppm-master{color:#1f2937;padding-bottom:20px}.ppm-table__empty{text-align:center;padding:20px;color:#64748b}.ppm-dialog__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:100;display:flex;align-items:center;justify-content:center;padding:16px}.ppm-dialog{background:#fff;border-radius:12px;width:min(760px,100%);max-height:90vh;overflow:auto;box-shadow:0 20px 50px #0003}.ppm-dialog__header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e2e8f0}.ppm-dialog__header h3{margin:0;font-size:16px;font-weight:700}.ppm-dialog__close{background:transparent;border:none;cursor:pointer;color:#64748b}.ppm-dialog__body{padding:20px;display:grid;gap:14px}.ppm-dialog__section{display:grid;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.ppm-dialog__section h4{margin:0;font-size:13px;color:#0f172a}.ppm-dialog__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ppm-dialog__grid label{display:grid;gap:4px;font-size:12px;font-weight:600}.ppm-dialog__grid input,.ppm-dialog__grid select{padding:8px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;font-family:inherit}.ppm-dialog__footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid #e2e8f0}.ppm-master .production-table-iot{width:max-content;min-width:100%;table-layout:auto}.ppm-master .production-table-iot th,.ppm-master .production-table-iot td{width:auto;min-width:max-content;max-width:none;white-space:nowrap;box-shadow:none}.ppm-master .production-table-iot thead th{position:sticky;top:0;z-index:2}.ppm-master .production-table-iot tbody td{position:static;left:auto;z-index:auto}.ppm-master .production-table-iot thead th:last-child,.ppm-master .production-table-iot tbody td:last-child{width:1%;min-width:max-content;max-width:max-content;text-align:center}.ppm-master .production-table-iot thead th:nth-child(-n+7){left:auto;box-shadow:none}.ppm-master .production-table-iot tbody td:nth-child(-n+7){position:static;left:auto;z-index:auto;box-shadow:none;background:transparent}.ppm-master .production-table-iot tbody tr:nth-child(2n) td:nth-child(-n+7){background:transparent}.pms-settings{max-width:900px;margin:0 auto;color:#1f2937}.pms-settings--loading{padding:40px;text-align:center;color:#6b7280}.pms-settings__title{font-size:20px;font-weight:700;margin:0 0 6px}.pms-settings__subtitle{font-size:14px;color:#6b7280;margin:0 0 20px}.pms-form{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin-bottom:20px}.pms-form__error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;padding:10px 12px;border-radius:8px;font-size:14px;margin-bottom:14px}.pms-form__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.pms-field{display:flex;flex-direction:column;gap:6px;font-size:14px}.pms-field span{font-weight:500;color:#374151}.pms-field input,.pms-field select{padding:8px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background:#fff}.pms-form__actions{display:flex;gap:10px;margin-top:16px}.pms-btn{padding:8px 16px;border-radius:8px;border:1px solid transparent;font-size:14px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:background .15s ease}.pms-btn:disabled{opacity:.6;cursor:not-allowed}.pms-btn--primary{background:#0f766e;color:#fff}.pms-btn--primary:hover:not(:disabled){background:#115e59}.pms-btn--secondary{background:#f3f4f6;color:#374151;border-color:#d1d5db}.pms-btn--danger{background:#ef4444;color:#fff}.pms-btn--danger:hover:not(:disabled){background:#dc2626}.pms-btn--small{padding:6px 10px;font-size:13px}.pms-list{display:grid;gap:12px}.pms-machine-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pms-machine-card__header{display:flex;align-items:center;gap:12px;min-width:200px}.pms-machine-card__code{font-size:14px;font-weight:700;color:#111827}.pms-machine-card__name{font-size:13px;color:#4b5563}.pms-status{padding:3px 10px;border-radius:20px;font-size:12px;font-weight:600;text-transform:capitalize}.pms-status--idle{background:#f3f4f6;color:#374151}.pms-status--running{background:#d1fae5;color:#065f46}.pms-status--down{background:#fee2e2;color:#991b1b}.pms-status--maintenance{background:#ffedd5;color:#9a3412}.pms-status--offline{background:#e5e7eb;color:#4b5563}.pms-machine-card__meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:#6b7280;flex:1}.pms-empty{padding:30px;text-align:center;color:#6b7280;border:1px dashed #d1d5db;border-radius:12px;background:#fff}@media (max-width: 640px){.pms-form__grid{grid-template-columns:1fr}.pms-machine-card{flex-direction:column;align-items:flex-start}.pms-machine-card__header{flex-direction:column;align-items:flex-start;gap:6px}}.loss-reason-master{padding:16px}.loss-reason-master__header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.loss-reason-master__title{font-size:20px;font-weight:700;margin:0;color:#111827}.loss-reason-master__actions{display:flex;gap:8px;align-items:center}.loss-reason-master--loading,.loss-reason-master--error{padding:24px;text-align:center;color:#4b5563}.loss-reason-master .npd-table th,.loss-reason-master .npd-table td{padding:8px 10px;vertical-align:middle}.loss-reason-master .npd-input,.loss-reason-master .npd-select{width:100%;padding:6px 8px;border:1px solid #d1d5db;border-radius:6px;font-size:12px;font-family:inherit}@keyframes oeeSkeletonShimmer{0%{background-position:100% 50%}to{background-position:0 50%}}.oee-skeleton .oee-skeleton__block,.oee-skeleton__title,.oee-skeleton__filter,.oee-skeleton__gauge,.oee-skeleton__gauge-ring,.oee-skeleton__gauge-label,.oee-skeleton__time,.oee-skeleton__time-title,.oee-skeleton__time-pie,.oee-skeleton__time-legend-item,.oee-skeleton__bar-card,.oee-skeleton__bar-title,.oee-skeleton__bar-chart{background:linear-gradient(90deg,#f3f4f6 25%,#e5e7eb 37%,#f3f4f6 63%);background-size:400% 100%;animation:oeeSkeletonShimmer 1.4s ease infinite;border-radius:10px}.oee-skeleton__title{width:180px;height:24px;margin-bottom:16px;border-radius:8px}.oee-skeleton__filters{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px;margin-bottom:16px}.oee-skeleton__filter{height:38px;border-radius:8px}.oee-skeleton__gauges{display:grid;grid-template-columns:repeat(4,1fr) 2fr;gap:12px;margin-bottom:16px;align-items:stretch}.oee-skeleton__gauge{aspect-ratio:1 / 1;padding:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.oee-skeleton__gauge-ring{width:60%;height:60%;border-radius:50%}.oee-skeleton__gauge-label{width:70%;height:14px;border-radius:6px}.oee-skeleton__time{padding:10px;display:flex;flex-direction:column;min-height:160px}.oee-skeleton__time-title{width:120px;height:16px;margin-bottom:12px;border-radius:6px}.oee-skeleton__time-body{flex:1;display:flex;align-items:center;gap:8px}.oee-skeleton__time-pie{flex:1 1 60%;height:100%;border-radius:50%}.oee-skeleton__time-legend{width:40%;display:flex;flex-direction:column;justify-content:center;gap:8px;padding-left:8px}.oee-skeleton__time-legend-item{height:14px;width:90%;border-radius:6px}.oee-skeleton__bars{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.oee-skeleton__bar-card{padding:10px;min-height:230px;display:flex;flex-direction:column;gap:10px}.oee-skeleton__bar-title{width:150px;height:16px;border-radius:6px}.oee-skeleton__bar-chart{flex:1;border-radius:6px}@media (max-width: 1024px){.oee-skeleton__gauges{grid-template-columns:repeat(3,1fr)}.oee-skeleton__bars{grid-template-columns:1fr}}@media (max-width: 640px){.oee-skeleton__filters{grid-template-columns:1fr}.oee-skeleton__gauges{grid-template-columns:1fr 1fr}}.oee-dashboard{display:flex;flex-direction:column;gap:12px;width:100%}.oee-dashboard__title{font-size:22px;font-weight:700;margin:0;color:#111827}.oee-dashboard--loading,.oee-dashboard--empty{padding:24px;color:#4b5563;text-align:center}.oee-filters{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px}.oee-filters>div,.oee-filters>.multi-select-dropdown{min-width:0}.oee-gauges{display:grid;grid-template-columns:repeat(4,1fr) 2fr;gap:12px;align-items:start}.oee-gauge{background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000a;padding:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;box-sizing:border-box;aspect-ratio:1 / 1}.oee-gauge__chart{position:relative;width:100%;flex:1 1 auto;min-height:0}.oee-gauge__value{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:20px;font-weight:700;color:#111827}.oee-gauge__label{margin-top:4px;font-size:12px;font-weight:600;color:#4b5563;text-transform:uppercase;letter-spacing:.05em;text-align:center}.oee-card{background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000a;padding:10px}.oee-card__title{font-size:15px;font-weight:700;color:#1f2937;margin:0 0 8px}.oee-time-card{display:flex;flex-direction:column;min-width:0;align-self:stretch}.oee-time-card__chart{flex:1 1 auto;min-height:160px;display:flex;align-items:center}.oee-time-chart{flex:1 1 60%;height:100%;min-width:0}.oee-time-legend{width:40%;margin:0;padding:0 0 0 8px;list-style:none;font-size:11px;color:#4b5563;display:flex;flex-direction:column;justify-content:center}.oee-time-legend__item{display:flex;align-items:flex-start;gap:6px;margin-bottom:8px;line-height:1.3}.oee-time-legend__dot{width:10px;height:10px;border-radius:2px;flex-shrink:0;margin-top:2px}.oee-time-legend__text{word-break:break-word}.oee-bar-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.oee-bar-card{display:flex;flex-direction:column;min-width:0}.oee-bar-card__chart{min-height:230px;flex:1}@media (max-width: 1280px){.oee-gauges{grid-template-columns:repeat(3,1fr)}}@media (max-width: 1024px){.oee-gauges{grid-template-columns:repeat(2,1fr)}}@media (max-width: 900px){.oee-filters{grid-template-columns:repeat(3,1fr)}.oee-bar-grid{grid-template-columns:1fr}}@media (max-width: 640px){.oee-filters,.oee-gauges{grid-template-columns:1fr}}.production-dashboard{display:flex;min-height:100vh;color:#1f2937;background:#f9fafb}.production-dashboard--loading{padding:40px;text-align:center;color:#6b7280}.production-sidebar{width:240px;background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;padding:16px;gap:16px;flex-shrink:0}.production-sidebar__brand{font-size:18px;font-weight:800;color:#0f766e;padding-bottom:12px;border-bottom:1px solid #e5e7eb}.production-sidebar__items{display:flex;flex-direction:column;gap:6px}.production-sidebar__item{display:flex;align-items:center;gap:10px;padding:10px 12px;border:none;border-radius:8px;background:transparent;color:#4b5563;font-size:15px;font-weight:500;cursor:pointer;text-align:left;transition:background .15s ease;width:100%}.production-sidebar__item:hover{background:#f3f4f6}.production-sidebar__item--active{background:#0f766e;color:#fff}.production-content{flex:1;padding:20px;overflow-y:auto;min-width:0}.production-content__title{font-size:22px;font-weight:700;margin:0 0 18px}.production-dashboard__content{display:grid;gap:20px}.production-summary{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.production-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;box-shadow:0 1px 2px #0000000a}.production-summary-card__label{font-size:13px;color:#6b7280;margin-bottom:6px}.production-summary-card__value{font-size:26px;font-weight:700;color:#111827}.production-machines{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px}.production-machines__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.production-machines__header h2{margin:0;font-size:18px}.production-machine-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.production-machine-card{border:1px solid #e5e7eb;border-radius:10px;padding:14px;position:relative;overflow:hidden;background:#fff}.production-machine-card:before{content:"";position:absolute;top:0;left:0;width:5px;height:100%}.status-idle:before{background:#9ca3af}.status-running:before{background:#10b981}.status-down:before{background:#ef4444}.status-maintenance:before{background:#f59e0b}.status-offline:before{background:#6b7280}.production-machine-card__type{font-size:12px;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.production-machine-card__code{font-size:16px;font-weight:700;margin-top:4px}.production-machine-card__name{font-size:14px;color:#374151;margin-top:2px}.production-machine-card__plant{font-size:12px;color:#6b7280;margin-top:4px}.production-machine-card__status{display:inline-block;margin-top:10px;padding:3px 8px;border-radius:20px;font-size:12px;font-weight:500;background:#f3f4f6;color:#374151;text-transform:capitalize}.production-machine-card__operator{margin-top:8px;font-size:12px;color:#6b7280}.production-empty-state{grid-column:1 / -1;padding:24px;text-align:center;color:#6b7280;border:1px dashed #d1d5db;border-radius:10px}.production-dashboard__placeholder{text-align:center;padding:40px 20px;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:12px}@media (max-width: 768px){.production-dashboard{flex-direction:column}.production-sidebar{width:100%;border-right:none;border-bottom:1px solid #e5e7eb;padding:10px;gap:8px}.production-sidebar__brand{padding-bottom:8px;font-size:16px}.production-sidebar__items{flex-direction:row;overflow-x:auto;gap:6px}.production-sidebar__item{white-space:nowrap;width:auto;padding:8px 12px;font-size:14px}.production-content{padding:14px}.production-summary{grid-template-columns:repeat(2,1fr)}.production-machine-grid{grid-template-columns:1fr}}*{margin:0;padding:0;box-sizing:border-box}:root{--primary: #0ea5a4;--primary-dark: #0b7f7e;--secondary: #0f766e;--primary-soft: rgba(14, 165, 164, .12);--success: #16a34a;--danger: #dc2626;--warning: #d97706;--info: #2563eb;--bg: #f5f7fa;--bg-dark: #1e293b;--text: #1f2937;--text-light: #5b6677;--border: #d7dee8;--white: #ffffff;--shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1)}@media (max-width: 768px){:root{font-size:14px}}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:var(--bg);color:var(--text);line-height:1.6}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.container{max-width:1200px;margin:0 auto;padding:0 20px}.btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;gap:8px}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-secondary{background:var(--text-light);color:#fff}.btn-danger{background:var(--danger);color:#fff}.btn-success{background:var(--success);color:#fff}.btn:disabled{opacity:.5;cursor:not-allowed}.card{background:var(--white);border-radius:12px;padding:24px;box-shadow:var(--shadow)}.input{width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:8px;font-size:14px;transition:border-color .2s}.input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.label{display:block;margin-bottom:6px;font-size:14px;font-weight:500;color:var(--text)}.loading{display:flex;align-items:center;justify-content:center;padding:40px}.spinner{border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;width:40px;height:40px;animation:spin .8s linear infinite}.startup-splash{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:linear-gradient(180deg,#fff,#f8fafc);color:var(--text);text-align:center;padding:24px}.startup-splash__logo-wrap{width:min(220px,55vw);min-height:72px;position:relative;display:grid;place-items:center;margin-bottom:8px}.startup-splash__logo{width:100%;max-width:220px;max-height:110px;height:auto;object-fit:contain;animation:splashFloat 1.8s ease-in-out infinite;position:relative}.startup-splash__title{font-size:30px;font-weight:700;letter-spacing:1px;line-height:1.2;color:var(--text)}.startup-splash__subtitle{font-size:14px;color:var(--text-light)}.startup-splash__dots{display:inline-flex;gap:8px;margin-top:4px}.startup-splash__dots span{width:8px;height:8px;border-radius:999px;background:var(--primary);animation:splashDot 1.1s ease-in-out infinite}.startup-splash__dots span:nth-child(2){animation-delay:.15s}.startup-splash__dots span:nth-child(3){animation-delay:.3s}@keyframes spin{to{transform:rotate(360deg)}}@keyframes splashFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes splashDot{0%,80%,to{transform:scale(.7);opacity:.55}40%{transform:scale(1);opacity:1}}.error{background:#fee2e2;color:#991b1b;padding:12px;border-radius:8px;margin:10px 0}.success{background:#d1fae5;color:#065f46;padding:12px;border-radius:8px;margin:10px 0}@media (max-width: 768px){.container{padding:0 15px}.card{padding:16px}.btn{padding:8px 16px;font-size:13px}table{font-size:12px}table th,table td{padding:8px 4px}.form-row{flex-direction:column}.input{font-size:16px}}@media (max-width: 480px){.card{padding:12px}.btn{padding:12px 16px;font-size:14px;min-height:44px}h1{font-size:24px!important}h2{font-size:20px!important}.input{min-height:44px;font-size:16px}button,a,input[type=checkbox]{min-height:44px;min-width:44px}}@media screen and (max-width: 768px){input,select,textarea{font-size:16px!important}}.npd-shell{background:#f8fafc;min-height:100vh}.npd-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:14px 0 10px}@media (min-width: 768px){.npd-header{padding:16px 0 12px}}.npd-title-row{display:flex;align-items:center;gap:10px}.npd-title-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:var(--npd-accent-200, #bbf7d0);color:var(--npd-accent, #16a34a);flex-shrink:0}.npd-title{font-size:22px;font-weight:700;color:#111827}.npd-subtitle{margin-top:4px;font-size:13px;color:#6b7280}.npd-tabs{background:#fff;border-bottom:1px solid #e5e7eb;padding:0}@media (min-width: 768px){.npd-tabs{padding:0}}.npd-tab-list{display:flex;gap:8px;flex-wrap:wrap}.npd-tab{border:1px solid transparent;background:transparent;padding:8px 12px;border-radius:10px 10px 0 0;font-size:13px;font-weight:600;color:#6b7280;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:all .15s ease;position:relative;white-space:nowrap;min-height:38px}.npd-tab:hover{color:#374151;background:#f3f4f6}.npd-tab-active{color:#111827;background:#fff;border-color:#e5e7eb;box-shadow:0 -2px 8px #0000000f}.npd-tab-active:after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:3px;background:linear-gradient(90deg,#2563eb,#16a34a);border-radius:3px}.npd-tab-icon{width:16px;height:16px}.npd-page{padding:8px 0;max-width:100%;margin:0 auto}.npd-page-production{padding-left:0;padding-right:0}@media (min-width: 768px){.npd-page{padding:10px 0}.npd-page-production{padding-left:0;padding-right:0}}.npd-theme-blue{--npd-accent: #2563eb;--npd-accent-dark: #1d4ed8;--npd-accent-200: #bfdbfe;--npd-header-bg: linear-gradient(90deg, #eff6ff, #eef2ff);--npd-hover-bg: #eff6ff}.npd-theme-green{--npd-accent: #16a34a;--npd-accent-dark: #15803d;--npd-accent-200: #bbf7d0;--npd-header-bg: linear-gradient(90deg, #ecfdf5, #f0fdf4);--npd-hover-bg: #ecfdf5}.npd-action-bar{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;margin-bottom:10px;box-shadow:var(--shadow)}.npd-costing-builder-grid{display:grid;grid-template-columns:minmax(560px,1.25fr) minmax(420px,1fr);gap:12px;align-items:start}.npd-costing-matrix-pane,.npd-costing-fields-pane{min-width:0}.npd-costing-fields-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-content:start}.npd-costing-flow-pane{display:grid;gap:8px;align-content:start}.npd-costing-flow-card{border:1px solid #e2e8f0;border-radius:8px;background:#fbfdff;padding:8px}.npd-costing-flow-title{margin:0 0 6px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#334155}.npd-costing-flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.npd-costing-flow-grid-wide{grid-template-columns:repeat(3,minmax(0,1fr))}.npd-costing-dependency-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.npd-costing-dependency-item{border:1px solid #dbe4ee;border-radius:6px;padding:6px 8px;background:#f8fafc;display:flex;flex-direction:column;gap:2px}.npd-costing-dependency-item span{font-size:11px;color:#64748b}.npd-costing-dependency-item strong{font-size:14px;color:#0f172a}.npd-costing-dependency-item-highlight{background:#eff6ff;border-color:#93c5fd}.npd-costing-readonly-box{border:1px solid #dbe4ee;border-radius:6px;padding:6px 8px;background:#f8fafc;display:flex;flex-direction:column;gap:2px}.npd-costing-readonly-box span{font-size:11px;color:#64748b}.npd-costing-readonly-box strong{font-size:14px;color:#0f172a}.npd-costing-group-card{border:1px solid #e5e7eb;border-radius:8px;background:#fbfdff;padding:6px}.npd-costing-group-card-priority{grid-column:1 / -1;background:#f8fbff}.npd-costing-group-title{margin:0 0 6px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#334155}.npd-costing-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 6px}.npd-costing-group-card-priority .npd-costing-group-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.npd-costing-group-grid .npd-input{padding:5px 7px;font-size:12px}.npd-costing-notes-card{grid-column:1 / -1}.npd-costing-ops-table{font-size:12px}.npd-costing-ops-table thead th{white-space:nowrap}.npd-costing-ops-table tbody td{padding:6px 8px;vertical-align:middle}.npd-costing-ops-table .npd-input{padding:5px 7px;font-size:12px}.npd-costing-op-result{min-width:92px;padding:6px 8px;border:1px solid #dbe4ee;border-radius:6px;background:#f8fafc;text-align:right;font-weight:700;color:#1e293b}.npd-costing-ops-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.npd-costing-ops-head-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.npd-costing-ops-input-opname{min-width:180px}.npd-costing-ops-input-code{width:120px}.npd-costing-ops-input-base,.npd-costing-ops-input-factor,.npd-costing-ops-input-cost{width:96px}.npd-costing-ops-input-factor{width:84px}.npd-costing-enquiry-select-wrap{flex:1 1 360px;min-width:280px;max-width:620px}.npd-costing-enquiry-select-wrap .npd-costing-enquiry-select__control{min-height:38px}.npd-costing-enquiry-select-wrap .npd-costing-enquiry-select__value-container{padding-top:2px;padding-bottom:2px}.npd-costing-quote-actions{align-items:center}.npd-costing-quote-buttons{display:flex;flex-wrap:wrap;gap:8px}.npd-table-compact{font-size:12px}.npd-table-compact thead th,.npd-table-compact tbody td{padding:6px 8px}@media (max-width: 1100px){.npd-costing-builder-grid{grid-template-columns:1fr}.npd-costing-flow-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.npd-costing-fields-groups{grid-template-columns:1fr}.npd-costing-group-grid,.npd-costing-group-card-priority .npd-costing-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.npd-costing-ops-head{display:grid;grid-template-columns:1fr;align-items:stretch}.npd-costing-ops-add-btn{width:100%;justify-content:center}.npd-costing-ops-table{font-size:11px}.npd-costing-ops-table tbody td{padding:6px}.npd-costing-ops-input-opname{min-width:140px}.npd-costing-ops-input-code{width:96px}.npd-costing-ops-input-base,.npd-costing-ops-input-factor,.npd-costing-ops-input-cost{width:80px}.npd-costing-op-result{min-width:80px;padding:5px 6px;font-size:11px}.npd-costing-quote-actions{display:grid;grid-template-columns:1fr;align-items:stretch}.npd-costing-quote-actions .npd-sep{display:none}.npd-costing-quote-label{width:100%}.npd-costing-quote-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.npd-costing-quote-buttons .npd-btn{width:100%;justify-content:center}.npd-costing-quote-actions .npd-muted{margin-top:-2px}.npd-costing-enquiry-select-wrap{flex-basis:100%;min-width:0;max-width:none}.npd-costing-group-grid,.npd-costing-flow-grid,.npd-costing-flow-grid-wide,.npd-costing-dependency-grid{grid-template-columns:1fr}}@media (max-width: 768px){.npd-costing-builder-grid{grid-template-columns:1fr;gap:10px}.npd-costing-fields-pane{order:2}.npd-costing-matrix-pane{order:1}.npd-costing-builder-grid .npd-table-wrap{max-height:none;overflow-y:visible;overflow-x:auto;-webkit-overflow-scrolling:touch}.npd-costing-matrix-pane .costing-table{min-width:560px}.npd-costing-fields-pane .costing-table{min-width:0;width:100%;table-layout:fixed}.npd-costing-fields-pane .costing-table thead th,.npd-costing-fields-pane .costing-table tbody td{white-space:normal;overflow-wrap:anywhere;word-break:break-word}}@media (max-width: 360px){.npd-costing-quote-buttons{grid-template-columns:1fr}}@media (max-width: 480px){.npd-costing-ops-table thead{display:none}.npd-costing-ops-table tbody tr{display:block;border:1px solid #e2e8f0;border-radius:10px;margin:8px 0;background:#fff;overflow:hidden}.npd-costing-ops-table tbody td{display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px;align-items:center;border-right:none;border-bottom:1px solid #eef2f7;padding:8px 10px}.npd-costing-ops-table tbody td:last-child{border-bottom:none}.npd-costing-ops-table tbody td:before{content:attr(data-label);font-size:11px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.02em}.npd-costing-ops-table .npd-input,.npd-costing-ops-input-opname,.npd-costing-ops-input-code,.npd-costing-ops-input-base,.npd-costing-ops-input-factor,.npd-costing-ops-input-cost{width:100%;min-width:0}.npd-costing-ops-table .npd-empty{display:block;padding:14px;text-align:center}.npd-costing-op-result{min-width:0;width:100%}.npd-costing-ops-table tbody td[data-label=Actions]{grid-template-columns:1fr}.npd-costing-ops-table tbody td[data-label=Actions]:before{margin-bottom:4px}}.npd-iot-launch-wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:stretch;gap:10px;padding:14px 8px;margin-bottom:10px;border:1px solid #d1fae5;border-radius:12px;background:linear-gradient(135deg,#ecfdf5,#f0fdf4 40%,#dcfce7);box-shadow:var(--shadow)}.npd-iot-launch-btn{display:inline-flex;align-items:center;justify-content:space-between;width:100%;min-height:86px;gap:12px;border:1px solid #86efac;border-radius:14px;padding:14px 18px;background:#fff;color:#065f46;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.npd-iot-launch-btn:hover{transform:translateY(-1px);border-color:#22c55e;box-shadow:0 8px 24px #16a34a29}.npd-iot-launch-btn-warning{border-color:#fdba74;color:#9a3412}.npd-iot-launch-btn-warning:hover{border-color:#f97316;box-shadow:0 8px 24px #f973162e}.npd-iot-launch-btn-info{border-color:#93c5fd;color:#1e3a8a}.npd-iot-launch-btn-info:hover{border-color:#3b82f6;box-shadow:0 8px 24px #3b82f633}.npd-iot-launch-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#16a34a,#22c55e)}.npd-iot-launch-icon-warning{background:linear-gradient(135deg,#ea580c,#fb923c)}.npd-iot-launch-icon-info{background:linear-gradient(135deg,#1d4ed8,#60a5fa)}.npd-iot-launch-text{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.15}.npd-iot-title{font-size:18px;font-weight:700;letter-spacing:.02em}.npd-iot-subtitle{font-size:12px;color:#047857;font-weight:600}.npd-action-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}@media (max-width: 768px){.npd-iot-launch-wrap{grid-template-columns:1fr}}.npd-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0 12px;font-size:13px;color:#6b7280}.npd-breadcrumb-link{background:none;border:none;padding:0;color:#2563eb;cursor:pointer;font-weight:600}.npd-breadcrumb-link:hover{text-decoration:underline}.npd-breadcrumb-sep{color:#9ca3af}.npd-breadcrumb-current{color:#111827;font-weight:600}.npd-sep{width:1px;height:32px;background:#d1d5db;margin:0 6px}.npd-search{position:relative;flex:1;min-width:200px;max-width:320px}.npd-search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#9ca3af}.npd-input,.npd-select{padding:7px 10px;font-size:13px;border:1px solid #d1d5db;border-radius:6px;background:#fff}.npd-search-input{padding-left:30px;width:100%}.npd-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;font-size:13px;font-weight:600;border-radius:6px;border:1px solid transparent;cursor:pointer;transition:background-color .15s ease}.npd-btn-primary{background:var(--npd-accent);color:#fff}.npd-btn-primary:hover{background:var(--npd-accent-dark)}.npd-btn-success{background:#16a34a;color:#fff}.npd-btn-success:hover{background:#15803d}.npd-btn-secondary{background:#fff;border:1px solid #d1d5db;color:#374151}.npd-btn-secondary:hover{background:#f9fafb}.npd-btn:disabled{background:#9ca3af;cursor:not-allowed}.npd-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;box-shadow:var(--shadow);width:100%}.npd-table-wrap{overflow-x:auto;max-height:600px;overflow-y:auto}.npd-table-wrap-iot{scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.npd-table-wrap-iot::-webkit-scrollbar{height:10px}.npd-table-wrap-iot::-webkit-scrollbar-track{background:#f3f4f6}.npd-table-wrap-iot::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.npd-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.npd-table thead th{position:sticky;top:0;z-index:2;background:var(--npd-header-bg);text-transform:none;font-size:11px;letter-spacing:0;line-height:1.2;color:#374151;border-bottom:2px solid var(--npd-accent-200);padding:8px 10px;white-space:normal;overflow-wrap:anywhere;text-align:center;vertical-align:middle}.npd-table th,.npd-table td{border-right:1px solid #e5e7eb;padding:8px 10px}.npd-table th:last-child,.npd-table td:last-child{border-right:none}.npd-table tbody tr:nth-child(2n){background:#f9fafb}.npd-table tbody tr:hover{background:var(--npd-hover-bg)}.npd-row-loss-selected{background:#eff6ff!important}.npd-loss-reason-cell{cursor:cell;position:relative;-webkit-user-select:none;user-select:none}.npd-loss-reason-cell-selected{background:#dbeafe!important;box-shadow:inset 0 0 0 2px #2563eb}.npd-loss-reason-cell-selected>div{position:relative;z-index:1}.production-table{font-size:12px}.production-table thead th{font-size:10px;padding:6px 8px;line-height:1.15;white-space:nowrap;overflow-wrap:normal;word-break:normal}.production-table thead th:nth-child(9),.production-table thead th:nth-child(10),.production-table thead th:nth-child(11),.production-table thead th:nth-child(12),.production-table thead th:nth-child(13),.production-table thead th:nth-child(18),.production-table thead th:nth-child(19),.production-table thead th:nth-child(20),.production-table thead th:nth-child(21),.production-table thead th:nth-child(22),.production-table thead th:nth-child(24),.production-table thead th:nth-child(25){white-space:normal;overflow-wrap:anywhere;word-break:break-word}.production-table tbody td{border-bottom:1px solid #e5e7eb;padding:6px 8px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.2;vertical-align:top}.production-table tbody tr:last-child td{border-bottom:none}.costing-table{font-size:12px}.costing-table thead th{font-size:10px;padding:6px 8px;line-height:1.15;white-space:nowrap;overflow-wrap:normal;word-break:normal}.costing-table tbody td{border-bottom:1px solid #e5e7eb;padding:6px 8px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.2;vertical-align:middle}.costing-table tbody tr:last-child td{border-bottom:none}.sap-material-stock-table thead th,.sap-material-stock-table tbody td,.sap-material-doc-table thead th,.sap-material-doc-table tbody td,.sap-material-doc-upload-table thead th,.sap-material-doc-upload-table tbody td{white-space:nowrap}.sap-material-stock-table thead th:nth-child(1),.sap-material-stock-table tbody td:nth-child(1){min-width:130px}.sap-material-stock-table thead th:nth-child(2),.sap-material-stock-table tbody td:nth-child(2){min-width:240px;max-width:360px;white-space:normal}.sap-material-stock-table thead th:nth-child(8),.sap-material-stock-table tbody td:nth-child(8){min-width:120px;text-align:right}.sap-material-doc-table thead th:nth-child(1),.sap-material-doc-table tbody td:nth-child(1){min-width:120px}.sap-material-doc-table thead th:nth-child(7),.sap-material-doc-table tbody td:nth-child(7){min-width:240px;max-width:360px;white-space:normal}.sap-material-doc-table thead th:nth-child(15),.sap-material-doc-table tbody td:nth-child(15){min-width:96px;text-align:center}.sap-material-doc-upload-table thead th:nth-child(2),.sap-material-doc-upload-table tbody td:nth-child(2){min-width:160px}.sap-material-doc-upload-table thead th:nth-child(3),.sap-material-doc-upload-table tbody td:nth-child(3){min-width:240px;max-width:360px;white-space:normal}.sap-material-doc-upload-table thead th:nth-child(14),.sap-material-doc-upload-table tbody td:nth-child(14){min-width:180px;max-width:260px;white-space:normal}input[data-costing-input=true][type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}input[data-costing-input=true][type=number]::-webkit-outer-spin-button,input[data-costing-input=true][type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.machine-rate-table thead th,.machine-rate-table tbody td{white-space:nowrap}.machine-rate-table thead th:nth-child(1),.machine-rate-table tbody td:nth-child(1){min-width:54px;text-align:right}.machine-rate-table thead th:nth-child(2),.machine-rate-table tbody td:nth-child(2){min-width:120px}.machine-rate-table thead th:nth-child(3),.machine-rate-table tbody td:nth-child(3){min-width:160px}.machine-rate-table thead th:nth-child(4),.machine-rate-table tbody td:nth-child(4),.machine-rate-table thead th:nth-child(7),.machine-rate-table tbody td:nth-child(7){min-width:96px}.machine-rate-table thead th:nth-child(5),.machine-rate-table tbody td:nth-child(5),.machine-rate-table thead th:nth-child(6),.machine-rate-table tbody td:nth-child(6),.machine-rate-table thead th:nth-child(8),.machine-rate-table tbody td:nth-child(8),.machine-rate-table thead th:nth-child(9),.machine-rate-table tbody td:nth-child(9){min-width:90px}.machine-rate-table thead th:nth-child(10),.machine-rate-table tbody td:nth-child(10){min-width:160px;max-width:260px;white-space:normal}.machine-rate-table thead th:nth-child(11),.machine-rate-table tbody td:nth-child(11){min-width:84px;text-align:center}.operation-master-table thead th,.operation-master-table tbody td{white-space:nowrap}.operation-master-table thead th:nth-child(1),.operation-master-table tbody td:nth-child(1){min-width:54px;text-align:right}.operation-master-table thead th:nth-child(2),.operation-master-table tbody td:nth-child(2){min-width:220px}.operation-master-table thead th:nth-child(3),.operation-master-table tbody td:nth-child(3){min-width:170px}.operation-master-table thead th:nth-child(4),.operation-master-table tbody td:nth-child(4){min-width:130px}.operation-master-table thead th:nth-child(5),.operation-master-table tbody td:nth-child(5){min-width:90px}.operation-master-table thead th:nth-child(6),.operation-master-table tbody td:nth-child(6){min-width:180px;max-width:280px;white-space:normal}.operation-master-table thead th:nth-child(7),.operation-master-table tbody td:nth-child(7){min-width:84px;text-align:center}.raw-material-rate-master-table thead th,.raw-material-rate-master-table tbody td{white-space:nowrap}.raw-material-rate-master-table thead th:nth-child(1),.raw-material-rate-master-table tbody td:nth-child(1){min-width:54px;text-align:right}.raw-material-rate-master-table thead th:nth-child(2),.raw-material-rate-master-table tbody td:nth-child(2){min-width:170px}.raw-material-rate-master-table thead th:nth-child(3),.raw-material-rate-master-table tbody td:nth-child(3){min-width:130px}.raw-material-rate-master-table thead th:nth-child(4),.raw-material-rate-master-table tbody td:nth-child(4){min-width:170px}.raw-material-rate-master-table thead th:nth-child(5),.raw-material-rate-master-table tbody td:nth-child(5),.raw-material-rate-master-table thead th:nth-child(11),.raw-material-rate-master-table tbody td:nth-child(11){min-width:110px}.raw-material-rate-master-table thead th:nth-child(6),.raw-material-rate-master-table tbody td:nth-child(6),.raw-material-rate-master-table thead th:nth-child(7),.raw-material-rate-master-table tbody td:nth-child(7),.raw-material-rate-master-table thead th:nth-child(8),.raw-material-rate-master-table tbody td:nth-child(8),.raw-material-rate-master-table thead th:nth-child(9),.raw-material-rate-master-table tbody td:nth-child(9),.raw-material-rate-master-table thead th:nth-child(10),.raw-material-rate-master-table tbody td:nth-child(10){min-width:120px}.raw-material-rate-master-table thead th:nth-child(12),.raw-material-rate-master-table tbody td:nth-child(12){min-width:90px;text-align:center}.raw-material-rate-master-table thead th:nth-child(13),.raw-material-rate-master-table tbody td:nth-child(13){min-width:180px;max-width:260px;white-space:normal}.raw-material-rate-master-table thead th:nth-child(14),.raw-material-rate-master-table tbody td:nth-child(14){min-width:84px;text-align:center}.heat-treatment-master-table thead th,.heat-treatment-master-table tbody td{white-space:nowrap}.heat-treatment-master-table thead th:nth-child(1),.heat-treatment-master-table tbody td:nth-child(1){min-width:54px;text-align:right}.heat-treatment-master-table thead th:nth-child(2),.heat-treatment-master-table tbody td:nth-child(2){min-width:140px}.heat-treatment-master-table thead th:nth-child(3),.heat-treatment-master-table tbody td:nth-child(3){min-width:180px}.heat-treatment-master-table thead th:nth-child(4),.heat-treatment-master-table tbody td:nth-child(4){min-width:200px;max-width:300px;white-space:normal}.heat-treatment-master-table thead th:nth-child(5),.heat-treatment-master-table tbody td:nth-child(5),.heat-treatment-master-table thead th:nth-child(6),.heat-treatment-master-table tbody td:nth-child(6){min-width:110px}.heat-treatment-master-table thead th:nth-child(7),.heat-treatment-master-table tbody td:nth-child(7){min-width:120px;text-align:right}.heat-treatment-master-table thead th:nth-child(8),.heat-treatment-master-table tbody td:nth-child(8){min-width:80px;text-align:center}.heat-treatment-master-table thead th:nth-child(9),.heat-treatment-master-table tbody td:nth-child(9){min-width:140px;max-width:200px;white-space:normal}.heat-treatment-master-table thead th:nth-child(10),.heat-treatment-master-table tbody td:nth-child(10){min-width:84px;text-align:center}.machine-rate-grid-cell{position:relative}body.machine-rate-no-text-select,body.machine-rate-no-text-select *{-webkit-user-select:none!important;user-select:none!important}.machine-rate-grid-cell-selected{background:#e8f1ff;box-shadow:inset 0 0 0 1px #7ea7e6}.machine-rate-grid-cell-copied{position:relative}.machine-rate-grid-cell-copied:after{content:"";position:absolute;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;background-image:repeating-linear-gradient(90deg,#29a35a 0 6px,transparent 6px 12px),repeating-linear-gradient(180deg,#29a35a 0 6px,transparent 6px 12px),repeating-linear-gradient(270deg,#29a35a 0 6px,transparent 6px 12px),repeating-linear-gradient(0deg,#29a35a 0 6px,transparent 6px 12px);background-size:calc(100% - 2px) 2px,2px calc(100% - 2px),calc(100% - 2px) 2px,2px calc(100% - 2px);background-position:1px 1px,calc(100% - 1px) 1px,calc(100% - 1px) calc(100% - 1px),1px calc(100% - 1px);background-repeat:no-repeat;animation:machine-rate-copy-march .9s linear infinite}@keyframes machine-rate-copy-march{0%{background-position:1px 1px,calc(100% - 1px) 1px,calc(100% - 1px) calc(100% - 1px),1px calc(100% - 1px)}to{background-position:13px 1px,calc(100% - 1px) 13px,calc(100% - 13px) calc(100% - 1px),1px calc(100% - 13px)}}.machine-rate-shell{padding:24px;max-width:1400px}.machine-rate-shell-embedded{padding:0;max-width:none}.machine-rate-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:12px}.machine-rate-title{margin:0;font-size:22px;font-weight:700;color:#1e293b}.machine-rate-subtitle{margin:4px 0 0;font-size:13px;color:#64748b}.machine-rate-filters-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px 16px;margin-bottom:16px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}.machine-rate-search-wrap{display:flex;align-items:center;gap:6px;border:1px solid #e2e8f0;border-radius:6px;padding:6px 10px;flex:1 1 180px;min-width:140px}.machine-rate-search-icon{color:#94a3b8}.machine-rate-search-input{border:none;outline:none;font-size:13px;width:100%}.machine-rate-search-clear{color:#94a3b8;cursor:pointer}.machine-rate-filter-select{min-width:140px}.machine-rate-filter-select-customer{min-width:160px}.machine-rate-state{padding:40px;text-align:center;color:#64748b;font-size:14px}.machine-rate-row-actions{display:flex;gap:6px}.machine-rate-icon-btn{background:none;border:none;cursor:pointer;padding:2px 4px}.machine-rate-icon-btn-edit{color:#2563eb}.machine-rate-icon-btn-delete{color:#dc2626}.machine-rate-srno-locked{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:34px;color:#475569;font-weight:600;background:#f8fafc;border:1px solid #dbe4ee;border-radius:6px}.machine-rate-unit-select{min-width:112px;padding-right:24px}@media (max-width: 768px){.machine-rate-shell{padding:16px}.machine-rate-filter-select,.machine-rate-filter-select-customer{min-width:120px}}.production-table thead th:nth-child(1),.production-table tbody td:nth-child(1){min-width:56px}.production-table thead th:nth-child(2),.production-table tbody td:nth-child(2){min-width:72px}.production-table thead th:nth-child(3),.production-table tbody td:nth-child(3){min-width:96px}.production-table thead th:nth-child(4),.production-table tbody td:nth-child(4){min-width:60px}.production-table thead th:nth-child(5),.production-table tbody td:nth-child(5){min-width:96px}.production-table thead th:nth-child(6),.production-table tbody td:nth-child(6){min-width:82px}.production-table thead th:nth-child(7),.production-table tbody td:nth-child(7){min-width:104px}.production-table thead th:nth-child(8),.production-table tbody td:nth-child(8){min-width:84px}.production-table thead th:nth-child(9),.production-table tbody td:nth-child(9){min-width:124px;max-width:200px}.production-table thead th:nth-child(10),.production-table tbody td:nth-child(10){min-width:124px;max-width:200px}.production-table thead th:nth-child(11),.production-table tbody td:nth-child(11),.production-table thead th:nth-child(12),.production-table tbody td:nth-child(12),.production-table thead th:nth-child(13),.production-table tbody td:nth-child(13),.production-table thead th:nth-child(19),.production-table tbody td:nth-child(19),.production-table thead th:nth-child(20),.production-table tbody td:nth-child(20),.production-table thead th:nth-child(21),.production-table tbody td:nth-child(21){min-width:84px}.production-table thead th:nth-child(14),.production-table tbody td:nth-child(14),.production-table thead th:nth-child(15),.production-table tbody td:nth-child(15),.production-table thead th:nth-child(16),.production-table tbody td:nth-child(16),.production-table thead th:nth-child(17),.production-table tbody td:nth-child(17){min-width:64px}.production-table thead th:nth-child(18),.production-table tbody td:nth-child(18){min-width:124px;max-width:200px}.production-table thead th:nth-child(19),.production-table tbody td:nth-child(19),.production-table thead th:nth-child(22),.production-table tbody td:nth-child(22){min-width:136px;max-width:240px}.production-table thead th:nth-child(23),.production-table tbody td:nth-child(23),.production-table thead th:nth-child(24),.production-table tbody td:nth-child(24){min-width:98px;max-width:160px}.production-table thead th:nth-child(25),.production-table tbody td:nth-child(25){min-width:132px}.production-table thead th.npd-col-timestamp,.production-table tbody td.npd-col-timestamp{min-width:132px}.production-table-iot{--iot-col-1: 64px;--iot-col-2: 72px;--iot-col-3: 96px;--iot-col-4: 60px;--iot-col-5: 96px;--iot-col-6: 82px;--iot-col-7: 104px;width:max-content;min-width:100%}.production-table-iot thead th:nth-child(1),.production-table-iot tbody td:nth-child(1){width:var(--iot-col-1);min-width:var(--iot-col-1);max-width:var(--iot-col-1)}.production-table-iot thead th:nth-child(2),.production-table-iot tbody td:nth-child(2){width:var(--iot-col-2);min-width:var(--iot-col-2);max-width:var(--iot-col-2)}.production-table-iot thead th:nth-child(3),.production-table-iot tbody td:nth-child(3){width:var(--iot-col-3);min-width:var(--iot-col-3);max-width:var(--iot-col-3)}.production-table-iot thead th:nth-child(4),.production-table-iot tbody td:nth-child(4){width:var(--iot-col-4);min-width:var(--iot-col-4);max-width:var(--iot-col-4)}.production-table-iot thead th:nth-child(5),.production-table-iot tbody td:nth-child(5){width:var(--iot-col-5);min-width:var(--iot-col-5);max-width:var(--iot-col-5)}.production-table-iot thead th:nth-child(6),.production-table-iot tbody td:nth-child(6){width:var(--iot-col-6);min-width:var(--iot-col-6);max-width:var(--iot-col-6)}.production-table-iot thead th:nth-child(7),.production-table-iot tbody td:nth-child(7){width:var(--iot-col-7);min-width:var(--iot-col-7);max-width:var(--iot-col-7)}.production-table-iot thead th:nth-child(1),.production-table-iot thead th:nth-child(2),.production-table-iot thead th:nth-child(3),.production-table-iot thead th:nth-child(4),.production-table-iot thead th:nth-child(5),.production-table-iot thead th:nth-child(6),.production-table-iot thead th:nth-child(7){position:sticky;top:0;z-index:7}.production-table-iot tbody td:nth-child(1),.production-table-iot tbody td:nth-child(2),.production-table-iot tbody td:nth-child(3),.production-table-iot tbody td:nth-child(4),.production-table-iot tbody td:nth-child(5),.production-table-iot tbody td:nth-child(6),.production-table-iot tbody td:nth-child(7){position:sticky;z-index:4}.production-table-iot thead th:nth-child(1),.production-table-iot tbody td:nth-child(1){left:0}.production-table-iot thead th:nth-child(2),.production-table-iot tbody td:nth-child(2){left:var(--iot-col-1)}.production-table-iot thead th:nth-child(3),.production-table-iot tbody td:nth-child(3){left:calc(var(--iot-col-1) + var(--iot-col-2))}.production-table-iot thead th:nth-child(4),.production-table-iot tbody td:nth-child(4){left:calc(var(--iot-col-1) + var(--iot-col-2) + var(--iot-col-3))}.production-table-iot thead th:nth-child(5),.production-table-iot tbody td:nth-child(5){left:calc(var(--iot-col-1) + var(--iot-col-2) + var(--iot-col-3) + var(--iot-col-4))}.production-table-iot thead th:nth-child(6),.production-table-iot tbody td:nth-child(6){left:calc(var(--iot-col-1) + var(--iot-col-2) + var(--iot-col-3) + var(--iot-col-4) + var(--iot-col-5))}.production-table-iot thead th:nth-child(7),.production-table-iot tbody td:nth-child(7){left:calc(var(--iot-col-1) + var(--iot-col-2) + var(--iot-col-3) + var(--iot-col-4) + var(--iot-col-5) + var(--iot-col-6))}.production-table-iot tbody td:nth-child(-n+7){background:#fff}.production-table-iot tbody tr:nth-child(2n) td:nth-child(-n+7){background:#f9fafb}.production-table-iot tbody tr:hover td:nth-child(-n+7){background:var(--npd-hover-bg)}.production-table-iot tbody tr.npd-row-loss-selected td:nth-child(-n+7){background:#eff6ff}.production-table-iot thead th:nth-child(7),.production-table-iot tbody td:nth-child(7){box-shadow:2px 0 #d1d5db}.npd-sheet-drag-handle{cursor:grab;color:#94a3b8;text-align:center;padding:0 6px;-webkit-user-select:none;user-select:none;line-height:1;vertical-align:middle}.npd-sheet-drag-handle:active{cursor:grabbing}.production-table-sheet{width:max-content;min-width:0;table-layout:auto;font-size:12px;background:#fff}.production-table-sheet thead th{position:sticky;top:0;z-index:6;background:linear-gradient(180deg,#f8fafc,#eef2f7);border-bottom:1px solid #cfd8e3;border-right:1px solid #d9e1ea;color:#334155;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;padding:7px 8px}.production-table-sheet thead th:last-child{border-right:none}.production-table-sheet tbody td{background:#fff;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:4px 6px;vertical-align:middle;transition:background-color .12s ease}.production-table-sheet tbody tr:hover td{background:#f8fbff}.production-table-sheet tbody td:last-child{border-right:none}.npd-sheet-input{width:100%;min-height:28px;border:1px solid transparent;border-radius:4px;background:transparent;padding:4px 6px;line-height:1.2;color:#0f172a}.npd-sheet-input:hover{background:#f8fafc;border-color:#dbe5f0}.npd-sheet-input:focus{outline:none;background:#fff;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb29}.production-table-sheet tbody td:has(.npd-sheet-input:focus){background:#eff6ff}.production-table-sheet td:nth-child(1){font-weight:600;color:#475569}.production-table-sheet td:nth-child(8){text-align:center}.process-flow-detail-sheet{width:max-content;max-width:100%}.process-flow-detail-sheet thead th,.process-flow-detail-sheet tbody td{white-space:nowrap;vertical-align:middle}.process-flow-detail-sheet thead th{width:max-content;font-size:11px;padding:8px 10px}.process-flow-detail-sheet tbody td{padding:6px 8px;font-size:12px}.process-flow-detail-sheet .npd-sheet-input,.process-flow-detail-sheet .npd-select{min-width:96px}.process-flow-detail-sheet .npd-sheet-select{min-width:170px}.process-flow-detail-sheet .inline-creatable-select__control{min-height:30px}.process-flow-detail-sheet .inline-creatable-select__single-value,.process-flow-detail-sheet .inline-creatable-select__input-container,.process-flow-detail-sheet .inline-creatable-select__placeholder,.process-flow-detail-sheet .inline-creatable-select__option{font-size:12px}.process-flow-detail-sheet input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.process-flow-detail-sheet input[type=number]::-webkit-outer-spin-button,.process-flow-detail-sheet input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.process-flow-detail-sheet th:nth-child(2),.process-flow-detail-sheet td:nth-child(2),.process-flow-detail-sheet th:nth-child(3),.process-flow-detail-sheet td:nth-child(3),.process-flow-detail-sheet th:nth-child(4),.process-flow-detail-sheet td:nth-child(4),.process-flow-detail-sheet th:nth-child(10),.process-flow-detail-sheet td:nth-child(10){min-width:210px}@media (max-width: 768px){.production-table-sheet{font-size:11px}.production-table-sheet thead th{font-size:10px;padding:6px}.npd-sheet-input{min-height:34px;padding:5px 6px}}@media (max-width: 768px){.production-table-iot{--iot-col-1: 56px;--iot-col-2: 72px;--iot-col-3: 96px}.production-table-iot thead th:nth-child(n+4):nth-child(-n+7),.production-table-iot tbody td:nth-child(n+4):nth-child(-n+7){position:static;left:auto;z-index:auto;box-shadow:none}.production-table-iot tbody td:nth-child(-n+3){background:#fff}.production-table-iot tbody tr:nth-child(2n) td:nth-child(-n+3){background:#f9fafb}.production-table-iot tbody tr:hover td:nth-child(-n+3){background:var(--npd-hover-bg)}.production-table-iot tbody tr.npd-row-loss-selected td:nth-child(-n+3){background:#eff6ff}.production-table-iot thead th:nth-child(3),.production-table-iot tbody td:nth-child(3){box-shadow:2px 0 #d1d5db}}.npd-row-link{cursor:pointer}.npd-row-title{display:inline-flex;align-items:center;gap:8px;font-weight:600}.npd-row-icon{width:16px;height:16px;color:var(--npd-accent)}.npd-table td{padding:10px 12px;color:#111827}.npd-sticky-right{position:sticky;right:0;z-index:3;background:var(--npd-header-bg)}.npd-sticky-right-cell{position:sticky;right:0;background:inherit}.npd-badge{display:inline-block;padding:2px 8px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:11px;font-weight:600}.npd-status{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600}.npd-status-complete{background:#dcfce7;color:#166534}.npd-status-progress{background:#dbeafe;color:#1e40af}.npd-status-pending{background:#fef3c7;color:#92400e}.npd-delay-ok{color:#16a34a;font-weight:600}.npd-delay-bad{color:#dc2626;font-weight:600}.npd-icon-btn{border:none;background:transparent;padding:4px;border-radius:6px;cursor:pointer;transition:background-color .15s ease}.npd-icon-btn-edit{color:#2563eb}.npd-icon-btn-edit:hover{background:#dbeafe}.npd-icon-btn-delete{color:#dc2626}.npd-icon-btn-delete:hover{background:#fee2e2}.npd-pagination{margin-top:10px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;box-shadow:var(--shadow)}.npd-pagination-controls{display:flex;align-items:center;gap:10px}.npd-divider{width:1px;height:20px;background:#d1d5db}.npd-text-sm{font-size:13px}.npd-muted{color:#6b7280}.npd-nowrap{white-space:nowrap}.npd-state{padding:32px;text-align:center;color:#6b7280}.npd-empty{padding:24px;text-align:center;color:#6b7280}.npd-load-more{padding:10px 12px;font-size:13px;color:#6b7280;text-align:center}.npd-state-error{color:#dc2626}.npd-spinner{border:3px solid #e5e7eb;border-top-color:var(--npd-accent);border-radius:50%;width:32px;height:32px;animation:spin .8s linear infinite;margin:0 auto 8px}.npd-summary-grid{display:grid;grid-template-columns:minmax(360px,.95fr) minmax(500px,1.05fr);gap:6px;padding:6px;border-bottom:1px solid #e5e7eb;background:#f8fafc;align-items:start}.npd-summary-kpi-grid{display:grid;grid-template-columns:repeat(8,minmax(120px,1fr));gap:6px;padding:6px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.npd-summary-kpi-card{background:#fff;border:1px solid #dbe4ee;border-radius:8px;padding:6px 8px;box-shadow:0 1px 2px #0f172a0f;min-height:50px;display:flex;flex-direction:column;justify-content:center}.npd-summary-kpi-card-highlight{border-color:#93c5fd;background:#eff6ff}.npd-summary-kpi-label{font-size:11px;color:#64748b;line-height:1.1;margin-bottom:4px}.npd-summary-kpi-value{font-size:16px;font-weight:700;color:#0f172a;line-height:1}.npd-summary-right-col{display:grid;grid-template-rows:1fr 1fr;gap:6px;height:420px}.npd-summary-chart-card{background:#fff;border:1px solid #dbe4ee;border-radius:8px;padding:6px 6px 4px;box-shadow:0 1px 2px #0f172a0f;min-height:207px;display:flex;flex-direction:column;overflow:hidden}.npd-summary-chart-card-machine{min-height:420px}.npd-summary-chart-title{margin:0 0 4px;padding:0;font-size:12px;font-weight:700;color:#1f2937;line-height:1.2}.npd-summary-haxis-wrap{position:relative;height:340px;padding:2px 0 12px;display:flex;flex-direction:column;flex:1}.npd-summary-haxis-grid{position:absolute;top:4px;left:122px;right:2px;bottom:18px;pointer-events:none}.npd-summary-haxis-line{position:absolute;top:0;bottom:0;width:1px;background:#d1d5db}.npd-summary-haxis-rows{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;gap:2px;overflow:hidden}.npd-summary-haxis-row{display:grid;grid-template-columns:120px 1fr;gap:2px;align-items:center;height:20px}.npd-summary-haxis-label{font-size:10px;font-weight:500;color:#334155;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:6px;line-height:1.2}.npd-summary-haxis-track{position:relative;height:100%;display:flex;align-items:center;min-height:16px}.npd-summary-haxis-fill{position:relative;height:100%;background:#3b82f6;border-radius:2px;min-width:2px;flex-shrink:0}.npd-summary-haxis-value{font-size:9.5px;font-weight:700;white-space:nowrap;line-height:1}.npd-summary-haxis-value--inside{position:absolute;right:4px;top:50%;transform:translateY(-50%);color:#fff}.npd-summary-haxis-value--outside{margin-left:4px;color:#0f172a;align-self:center}.npd-summary-haxis-ticks{position:absolute;left:122px;right:2px;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));font-size:9px;color:#64748b;line-height:1}.npd-summary-haxis-ticks span{justify-self:center}.npd-summary-bar-wrap{min-height:145px;display:flex;align-items:flex-end;gap:8px;overflow-x:auto;overflow-y:hidden;padding:0 2px;flex:1;position:relative;z-index:1}.npd-summary-bar-item{min-width:48px;max-width:48px;display:grid;grid-template-rows:90px 30px;align-items:center;gap:3px;flex-shrink:0}.npd-summary-bar-value{font-size:9px;font-weight:600;color:#1f2937;line-height:1;height:12px}.npd-summary-bar-value--muted{color:#94a3b8}.npd-summary-bar-value--floating{position:absolute;left:50%;transform:translate(-50%);white-space:nowrap;pointer-events:none}.npd-summary-bar-track{width:26px;height:90px;display:flex;align-items:flex-end;background:transparent;border:0;border-radius:0;overflow:visible;flex-shrink:0;position:relative}.npd-summary-bar-fill{width:100%;border-radius:3px 3px 0 0;box-shadow:0 0 0 1px #0f172a0a}.npd-summary-bar-fill-loss{background:#ef4444}.npd-summary-bar-fill-week{background:#3b82f6}.npd-summary-bar-label{width:48px;height:30px;display:flex;align-items:flex-start;justify-content:center;padding-top:2px;text-align:center;font-size:9px;color:#64748b;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.npd-summary-bar-wrap-target{position:relative;padding-top:10px}.npd-summary-bar-wrap-loss,.npd-summary-bar-wrap-target{border-bottom:1px solid #cbd5e1}.npd-summary-bar-zero-marker{width:8px;height:8px;border-radius:999px;background:#94a3b8;margin:0 auto 1px}.npd-summary-target-line{position:absolute;left:2px;right:2px;border-top:1px solid #16a34a;pointer-events:none;z-index:2}.npd-summary-target-line span{position:absolute;right:0;transform:translateY(-120%);background:#dcfce7;color:#166534;font-size:10px;font-weight:600;padding:1px 6px;border-radius:999px}.npd-summary-target-zones{position:absolute;top:10px;left:2px;right:2px;bottom:0;pointer-events:none;z-index:0}.npd-summary-target-zone{position:absolute;left:0;right:0}.npd-summary-target-zone--low{bottom:0;height:60%;background:#ef44440d}.npd-summary-target-zone--mid{bottom:60%;height:25%;background:#f59e0b0f}.npd-summary-target-zone--high{bottom:85%;height:15%;background:#22c55e0f}.npd-summary-vaxis-wrap{--npd-v-axis-width: 56px;position:relative;display:flex;gap:2px;flex:1;min-height:145px;padding-bottom:0}.npd-summary-vaxis-labels{display:flex;flex-direction:column;justify-content:space-between;font-size:9px;color:#475569;line-height:1;padding:10px 6px 30px 0;text-align:right;min-width:var(--npd-v-axis-width);flex-shrink:0}.npd-summary-vaxis-label{height:auto;display:flex;align-items:center;justify-content:flex-end}.npd-summary-vaxis-grid{position:absolute;top:10px;left:calc(var(--npd-v-axis-width) + 2px);right:0;bottom:30px;pointer-events:none}.npd-summary-vaxis-line{position:absolute;left:0;right:0;width:100%;height:1px;background:#edf2f7}.npd-summary-vaxis-line:last-child{background:#cbd5e1}.npd-summary-vaxis-wrap-target .npd-summary-bar-wrap-target{padding-top:8px}@media (max-width: 1200px){.npd-summary-kpi-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}.npd-summary-grid{grid-template-columns:1fr}.npd-summary-right-col{grid-template-rows:unset;grid-template-columns:1fr;height:auto}.npd-summary-chart-card{min-height:200px}.npd-summary-chart-card-machine{min-height:360px}.npd-summary-haxis-wrap{height:280px}}@media (max-width: 640px){.npd-summary-kpi-grid{grid-template-columns:1fr}}
