:root{--nexus-purple:#7c3aed;--nexus-purple-dark:#6d28d9;--nexus-purple-light:#ede9fe;--ink:#111827;--ink-soft:#374151;--muted:#6b7280;--border:#e5e7eb;--bg:#fafafa;--surface:#fff;--success:#16a34a;--success-bg:#dcfce7;--warning:#d97706;--warning-bg:#fef3c7;--danger:#dc2626;--danger-bg:#fee2e2;--info:#2563eb;--info-bg:#dbeafe;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--shadow-sm:0 1px 2px #0000000d;--shadow-md:0 4px 12px #00000014;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--ink:#f3f4f6;--ink-soft:#d1d5db;--muted:#9ca3af;--border:#2d2d3a;--bg:#14141c;--surface:#1c1c28;--nexus-purple-light:#2d1f52;--success-bg:#0f2e1c;--warning-bg:#3a2a0a;--danger-bg:#3a1418;--info-bg:#122a4a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,Segoe UI,sans-serif;font-size:14px;line-height:1.5}button{cursor:pointer;font-family:inherit}input,select,textarea{font-family:inherit;font-size:inherit}a{color:var(--nexus-purple);text-decoration:none}:focus-visible{outline:2px solid var(--nexus-purple);outline-offset:2px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.content-inner{max-width:1180px}.page-header{justify-content:space-between;align-items:flex-start;margin-bottom:22px;display:flex}.page-header h1{letter-spacing:-.01em;margin:0;font-size:20px;font-weight:650}.page-header p{color:var(--muted);margin:3px 0 0;font-size:13px}.primary-button{background:var(--nexus-purple);color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-family:inherit;font-size:13px;font-weight:600;display:flex}.secondary-btn{border:1px solid var(--nexus-purple);color:var(--nexus-purple);cursor:pointer;background:0 0;border-radius:6px;padding:6px 12px;font-family:inherit;font-size:12px;font-weight:600}.ghost-btn{border:1px solid var(--border);color:var(--ink-soft);cursor:pointer;background:0 0;border-radius:6px;padding:6px 12px;font-family:inherit;font-size:12px;font-weight:600}.search-wrap{width:360px;max-width:40vw;position:relative}.search-wrap svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.search-wrap input{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--ink);border-radius:7px;outline:none;padding:7px 12px 7px 33px;font-size:13px}.table-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden}.table-card table{border-collapse:collapse;width:100%}.table-card th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid var(--border);padding:10px 18px;font-size:11.5px;font-weight:600}.table-card th.right,.table-card td.right{text-align:right}.table-card td{border-bottom:1px solid var(--border);padding:13px 18px}.table-card tr:last-child td{border-bottom:none}.empty-box{text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:12px;padding:32px}.status-badge{border-radius:20px;align-items:center;gap:6px;padding:3px 10px 3px 8px;font-size:12px;font-weight:600;display:inline-flex}.status-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.badge-danger{background:var(--danger-bg);color:#b91c1c}.badge-success{background:var(--success-bg);color:#15803d}.badge-warning{background:var(--warning-bg);color:#b45309}.badge-info{background:var(--info-bg);color:#1d4ed8}[data-theme=dark] .badge-danger{color:#fca5a5}[data-theme=dark] .badge-success{color:#86efac}[data-theme=dark] .badge-warning{color:#fbbf24}[data-theme=dark] .badge-info{color:#93c5fd}.metric-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:18px 20px}.metric-label{color:var(--ink);margin-bottom:4px;font-size:12.5px;font-weight:700}.metric-value{color:var(--nexus-purple);margin-top:6px;font-size:24px;font-weight:700}.bar-row{color:var(--ink);justify-content:space-between;margin-bottom:4px;font-size:12px;display:flex}.bar-track{background:var(--bg);border-radius:3px;height:6px;overflow:hidden}.bar-fill{background:var(--nexus-purple);border-radius:3px;height:100%}.progress-track{align-items:center;width:220px;display:flex}.progress-step{flex-direction:column;flex:1;align-items:center;display:flex;position:relative}.progress-dot{background:var(--border);z-index:1;border-radius:50%;flex-shrink:0;width:9px;height:9px}.progress-line{background:var(--border);z-index:0;width:100%;height:2px;position:absolute;top:4px;left:50%}.progress-step:last-child .progress-line{display:none}.progress-label{color:var(--muted);white-space:nowrap;margin-top:5px;font-size:9.5px}.progress-step.reached.step-wartend .progress-dot{background:#dc2626}.progress-step.reached.step-wartend .progress-label{color:#dc2626;font-weight:700}.progress-step.reached.step-wartend .progress-line{background:#dc2626}.progress-step.reached.step-montage .progress-dot,.progress-step.reached.step-qc .progress-dot{background:#d97706}.progress-step.reached.step-montage .progress-label,.progress-step.reached.step-qc .progress-label{color:#d97706;font-weight:700}.progress-step.reached.step-montage .progress-line,.progress-step.reached.step-qc .progress-line{background:#d97706}.progress-step.reached.step-fertig .progress-dot{background:#16a34a}.progress-step.reached.step-fertig .progress-label{color:#16a34a;font-weight:700}.progress-step.reached.step-fertig .progress-line{background:#16a34a}.progress-step.current.step-wartend .progress-dot{box-shadow:0 0 0 3px #fee2e2}.progress-step.current.step-montage .progress-dot,.progress-step.current.step-qc .progress-dot{box-shadow:0 0 0 3px #fef3c7}.progress-step.current.step-fertig .progress-dot{box-shadow:0 0 0 3px #dcfce7}[data-theme=dark] .progress-step.current.step-wartend .progress-dot{box-shadow:0 0 0 3px #3a1418}[data-theme=dark] .progress-step.current.step-montage .progress-dot,[data-theme=dark] .progress-step.current.step-qc .progress-dot{box-shadow:0 0 0 3px #3a2a0a}[data-theme=dark] .progress-step.current.step-fertig .progress-dot{box-shadow:0 0 0 3px #0f2e1c}.modal-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:200;background:#0f0f1480;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;width:460px;max-width:100%;max-height:88vh;overflow-y:auto;box-shadow:0 24px 60px #00000040}.modal-card.wide{width:620px}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;padding:20px 22px 16px;display:flex}.modal-title{letter-spacing:-.01em;font-size:16px;font-weight:650}.modal-subtitle{color:var(--muted);margin-top:3px;font-size:12.5px}.modal-close{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.modal-close:hover{background:var(--bg)}.modal-body{flex-direction:column;gap:16px;padding:20px 22px;display:flex}.field-group{flex-direction:column;gap:6px;display:flex}.field-label{color:var(--ink-soft);font-size:12px;font-weight:600}.field-row{gap:12px;display:flex}.field-row .field-group{flex:1}.field-input,.field-select,.field-textarea{border:1px solid var(--border);background:var(--bg);color:var(--ink);border-radius:8px;outline:none;width:100%;padding:9px 12px;font-family:inherit;font-size:13.5px}.field-input:focus,.field-select:focus,.field-textarea:focus{border-color:var(--nexus-purple);box-shadow:0 0 0 3px var(--nexus-purple-light)}.field-textarea{resize:vertical;min-height:70px}.field-hint{color:var(--muted);font-size:11px}.info-callout{background:var(--nexus-purple-light);color:var(--nexus-purple);border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.5}.modal-footer{gap:10px;padding:16px 22px 20px;display:flex}.modal-footer .btn-cancel{border:1px solid var(--border);color:var(--ink-soft);cursor:pointer;background:0 0;border-radius:8px;flex:1;padding:10px 16px;font-family:inherit;font-size:13px;font-weight:600}.modal-footer .btn-confirm{background:var(--nexus-purple);color:#fff;cursor:pointer;border:none;border-radius:8px;flex:1;padding:10px 16px;font-family:inherit;font-size:13px;font-weight:600}.modal-footer .btn-confirm:disabled{opacity:.6;cursor:not-allowed}.line-item-row{background:var(--bg);border:1px solid var(--border);border-radius:9px;flex-direction:column;gap:8px;padding:12px;display:flex}.line-item-top,.line-item-bottom{gap:8px;display:flex}.line-item-remove{border:1px solid var(--border);color:#dc2626;cursor:pointer;background:0 0;border-radius:8px;flex-shrink:0;width:34px}.add-line-btn{border:1px dashed var(--border);color:var(--nexus-purple);cursor:pointer;text-align:center;background:0 0;border-radius:8px;padding:8px 12px;font-family:inherit;font-size:12.5px;font-weight:600}.found-order-chip{background:var(--nexus-purple-light);border-radius:8px;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.found-order-chip .remove-link{color:var(--nexus-purple);cursor:pointer;background:0 0;border:none;font-family:inherit;font-size:11px;font-weight:600}.radio-card-group{flex-direction:column;gap:8px;display:flex}.radio-card{border:1px solid var(--border);cursor:pointer;border-radius:9px;align-items:flex-start;gap:10px;padding:11px 12px;display:flex}.radio-card.selected{border-color:var(--nexus-purple);background:var(--nexus-purple-light)}.radio-card input{accent-color:var(--nexus-purple);margin-top:2px}.radio-card-title{font-size:13px;font-weight:600}.radio-card-desc{color:var(--muted);margin-top:1px;font-size:11.5px}@media (width<=900px){.app-sidebar{z-index:300;transition:transform .2s;position:fixed;top:0;left:0;transform:translate(-100%);box-shadow:0 0 0 9999px #0000}.app-sidebar.sidebar-open{transform:translate(0);box-shadow:0 0 0 9999px #00000059}.sidebar-backdrop{display:none}.sidebar-open~.sidebar-backdrop,.sidebar-backdrop.open{z-index:290;background:#00000059;display:block;position:fixed;inset:0}.mobile-menu-button{display:flex!important}.app-header-search{max-width:45vw}}.mobile-menu-button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;margin-right:12px;display:none}@media (width<=780px){.table-card{overflow-x:auto}.table-card table{min-width:640px}.page-header{flex-direction:column;gap:12px;align-items:stretch!important}.page-header>div:last-child{align-self:flex-start}}@media (width<=420px){.line-item-bottom{flex-wrap:wrap}.line-item-bottom input{min-width:90px}}@media (width<=640px){.modal-card,.modal-card.wide{width:100%;max-width:100%}.field-row{flex-direction:column}}@media (width<=720px){.dashboard-grid{grid-template-columns:1fr!important}}
