html{margin:0;overflow:hidden;padding:0}#root,body,html{height:100vh;width:100vw}#root{overflow:hidden;position:relative}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}:root{--color-surface:#fff;--color-surface-muted:#f8fafc;--color-accent:#2563eb;--color-accent-hover:#1d4ed8;--color-accent-soft:#2563eb1f;--color-danger:#dc2626;--color-danger-soft:#dc26261a;--color-text-strong:#0f172a;--color-text:#1f2937;--color-text-muted:#6b7280;--color-border:#e2e8f0;--radius-lg:16px;--radius-md:12px;--radius-sm:8px;--shadow-lg:0 30px 60px #0f172a1f;--shadow-md:0 12px 32px #0f172a14;--shadow-sm:0 3px 12px #0f172a0f;--transition-base:all 0.2s ease;--font-display:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}body{color:var(--color-text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-family:var(--font-display)}.fc .fc-button-primary{background-color:#2563eb!important;border-color:#2563eb!important}.fc .fc-button-primary:hover{background-color:#1d4ed8!important;border-color:#1d4ed8!important}.fc .fc-button-primary.fc-button-active,.fc .fc-button-primary:active{background-color:#1e40af!important;border-color:#1e40af!important}.primary-button,.submit-btn{align-items:center;background:linear-gradient(135deg,#2563eb,#3b82f6);background:linear-gradient(135deg,var(--color-accent),#3b82f6);border:none;border-radius:8px;border-radius:var(--radius-sm);box-shadow:0 10px 25px #2563eb33;color:#fff;cursor:pointer;display:inline-flex;font-size:.95rem;font-weight:600;gap:.5rem;justify-content:center;letter-spacing:.01em;padding:.75rem 1.75rem;transition:all .2s ease;transition:var(--transition-base)}.primary-button:hover,.submit-btn:hover{background:linear-gradient(135deg,#1d4ed8,#2563eb);background:linear-gradient(135deg,var(--color-accent-hover),#2563eb);box-shadow:0 14px 30px #2563eb38;transform:translateY(-1px)}.primary-button:disabled,.submit-btn:disabled{background:linear-gradient(135deg,#94a3b8a6,#94a3b866);box-shadow:none;cursor:not-allowed;transform:none}.primary-button.with-icon svg{height:1rem;width:1rem}.secondary-button{align-items:center;background-color:#fff;background-color:var(--color-surface);border:1px solid #e2e8f0;border:1px solid var(--color-border);border-radius:8px;border-radius:var(--radius-sm);color:#1f2937;color:var(--color-text);display:inline-flex;font-weight:500;gap:.4rem;justify-content:center;padding:.7rem 1.5rem;transition:all .2s ease;transition:var(--transition-base)}.secondary-button:hover{border-color:#2563eb66;box-shadow:0 3px 12px #0f172a0f;box-shadow:var(--shadow-sm)}.ghost-button,.secondary-button:hover{color:#2563eb;color:var(--color-accent)}.ghost-button{align-items:center;background:#2563eb14;border:1px solid #2563eb26;border-radius:8px;border-radius:var(--radius-sm);display:inline-flex;font-weight:500;gap:.35rem;padding:.55rem 1.1rem;transition:all .2s ease;transition:var(--transition-base)}.ghost-button:hover{background:#2563eb1f;border-color:#2563eb40}.danger-button{align-items:center;background:#dc26261a;background:var(--color-danger-soft);border:1px solid #dc262640;border-radius:8px;border-radius:var(--radius-sm);color:#dc2626;color:var(--color-danger);display:inline-flex;font-weight:600;gap:.35rem;padding:.55rem 1.1rem;transition:all .2s ease;transition:var(--transition-base)}.danger-button:hover{background:#dc262626;border-color:#dc262659}.toolbar-button{background:#fff;background:var(--color-surface);border:1px solid #e2e8f0;border:1px solid var(--color-border);border-radius:8px;border-radius:var(--radius-sm);color:#1f2937;color:var(--color-text);font-weight:500;padding:.55rem 1.1rem;transition:all .2s ease;transition:var(--transition-base)}.toolbar-button:hover:enabled{border-color:#2563eb66;color:#2563eb;color:var(--color-accent)}.toolbar-button:disabled{cursor:not-allowed;opacity:.6}.auth-container{align-items:center;background:radial-gradient(circle at top left,#3b82f62e,#0000 55%),radial-gradient(circle at bottom right,#0ea5e933,#0000 60%),linear-gradient(180deg,#f1f5f9d9,#e2e8f0d9);display:flex;height:100%;justify-content:center;overflow:hidden;padding:1rem;width:100%}.auth-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#fffffff5,#f8fafcf2);border:1px solid #94a3b840;border-radius:12px;border-radius:var(--radius-md);box-shadow:0 20px 50px #0f172a29;display:flex;gap:2rem;max-width:850px;padding:1.5rem;width:100%}.auth-panel{display:flex;flex:1 1;flex-direction:column;gap:1.5rem}.auth-badge{align-self:flex-start;background:#2563eb1f;border-radius:999px;color:#2563eb;color:var(--color-accent);font-size:.9rem;font-weight:600;letter-spacing:.04em;padding:.4rem 1rem}.auth-panel h1{color:#0f172a;color:var(--color-text-strong);font-size:1.75rem;margin:0}.auth-panel p{line-height:1.7;margin:0}.auth-panel p,.auth-toggle{color:#6b7280;color:var(--color-text-muted)}.auth-toggle{align-items:center;display:flex;gap:.5rem}.link-button{background:none;border:none;color:#1d4ed8;cursor:pointer;font-weight:600;padding:0}.link-button:hover{color:#1e40af}.auth-form{background:#fff;background:var(--color-surface);border:1px solid #94a3b82e;border-radius:12px;border-radius:var(--radius-md);box-shadow:0 3px 12px #0f172a0f;box-shadow:var(--shadow-sm);display:flex;flex:1 1;flex-direction:column;gap:1.25rem;padding:1.5rem 2rem}.form-header h2{color:#0f172a;color:var(--color-text-strong);font-size:1.35rem;font-weight:700;margin:0}.input-grid{grid-gap:1.1rem;display:grid;gap:1.1rem;grid-template-columns:repeat(2,minmax(0,1fr))}.input-group{display:flex;flex-direction:column;gap:.45rem}.input-group label{color:#6b7280;color:var(--color-text-muted);font-size:.9rem;font-weight:600}.input-group input{background:#fffffff2;border:1px solid #94a3b873;border-radius:8px;border-radius:var(--radius-sm);font-size:.95rem;padding:.65rem .85rem;transition:all .2s ease;transition:var(--transition-base)}.input-group input:focus{border-color:#2563eb8c;box-shadow:0 0 0 3px #2563eb1f;outline:none}.auth-form .form-error{background:#f8717129;border:1px solid #f8717159;border-radius:8px;border-radius:var(--radius-sm);color:#b91c1c;font-size:.9rem;margin:0;padding:.85rem 1rem}.auth-form .submit-btn,.full-width{width:100%}.form-error{background:#f871711f;border:1px solid #f8717147;border-radius:8px;border-radius:var(--radius-sm);color:#b91c1c;font-size:.9rem;margin:.5rem 0 0;padding:.75rem 1rem}.dashboard-backdrop{padding:3.5rem 0 4rem;position:relative}.dashboard-backdrop:before{background:radial-gradient(circle at top left,#3b82f626,#0000 55%),radial-gradient(circle at top right,#0ea5e91f,#0000 60%),linear-gradient(180deg,#e2e8f073,#f8fafc00);content:"";inset:0;position:absolute;z-index:-1}.dashboard-container{color:#1f2937;color:var(--color-text);margin:0 auto;max-width:1000px;padding:0 1rem;width:100%}.dashboard-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.dashboard-header h1{color:#1f2937;margin-bottom:.35rem}.dashboard-subtitle{color:#6b7280;font-size:.95rem}.widget-section{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(140deg,#ffffffeb,#f3f7ffeb),#ffffffa6;border:1px solid #94a3b82e;border-radius:12px;border-radius:var(--radius-md);box-shadow:0 12px 32px #0f172a14;box-shadow:var(--shadow-md);margin:0 auto;max-width:98%;overflow-y:auto;padding:1rem 1.25rem;width:98%}.widget-section--full{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0000;border:none;border-radius:0;box-shadow:none;margin:0;max-height:calc(100vh - 100px);min-height:100%;overflow:auto;padding:0;width:100%}.widget-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(3,minmax(0,1fr))}.widget-card-header{align-items:flex-start;display:flex;gap:1.5rem;justify-content:space-between;margin-bottom:1.75rem}.widget-card-header h3,.widget-card-header h4{color:#0f172a;color:var(--color-text-strong);font-size:1.35rem;font-weight:700;letter-spacing:-.01em;margin:0}.widget-card-header h4{font-size:1.1rem}.card-subtitle{color:#6b7280;color:var(--color-text-muted);font-size:.95rem;margin:.45rem 0 0;max-width:45ch}.widget-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(145deg,#fffffffa,#f8fafcf2);border:1.5px solid #fff9;border-radius:10px;box-shadow:0 6px 24px #0f172a14,inset 0 1px 0 #fffc;color:#1f2937;color:var(--color-text);height:auto;overflow:hidden;padding:.85rem 1rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.widget-card--full{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border:none;border-radius:0;box-shadow:none;display:flex;flex-direction:column;min-height:100%;overflow:visible;padding:1.5rem 2rem;width:100%}.work-order-compact{font-size:.75rem;overflow:visible!important;padding:.5rem 1rem .25rem!important}.work-order-compact .widget-form{gap:.5rem}.work-order-compact .form-grid{gap:.5rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.work-order-compact .form-field{gap:.15rem;margin-bottom:0}.work-order-compact .field-label{font-size:.7rem;margin-bottom:.1rem}.work-order-compact input,.work-order-compact select,.work-order-compact textarea{font-size:.75rem;min-height:28px;padding:.3rem .5rem}.work-order-compact .widget-table-wrapper{margin-left:0;margin-right:0;margin-top:.5rem;overflow-x:auto;overflow-y:visible;width:100%}.work-order-compact .widget-table{font-size:.7rem;table-layout:auto;width:100%}.work-order-compact .widget-table td,.work-order-compact .widget-table th{padding:.3rem .4rem}.work-order-compact .badge{font-size:.65rem;padding:.15rem .4rem}.work-order-compact button{font-size:.7rem;padding:.3rem .6rem}.work-order-compact .primary-button,.work-order-compact .submit-btn{font-size:.75rem;padding:.4rem .8rem}.work-order-compact .widget-filters{gap:.5rem;margin-bottom:.5rem}.work-order-compact .filter-group label{font-size:.7rem}.work-order-compact .form-actions{gap:.4rem;margin-bottom:0;margin-top:.5rem}.work-order-compact textarea{max-height:80px;min-height:50px}.work-order-compact .form-field>div{gap:.4rem;overflow-x:visible!important;overflow-y:visible!important;padding:.4rem}.work-order-compact .form-field{overflow:visible!important}.work-order-compact .form-field label{font-size:.7rem}.work-order-compact .widget-card-header{margin-bottom:.5rem}.work-order-compact .card-subtitle{line-height:1.2;margin:0}.work-order-compact .widget-filters{margin-top:.5rem}.work-order-compact h3{line-height:1.2}.work-order-compact h4{line-height:1.2;margin:0}.widget-section--full>.widget-card{flex-shrink:0;max-width:100%;width:100%}.widget-section--full>.widget-card:not(:first-child){padding-top:.5rem!important}.widget-card:before{animation:pulse 4s ease-in-out infinite;background:radial-gradient(circle,#6366f126,#0000 70%);height:200px;right:-25%;top:-40%;transition:opacity .5s ease;width:200px}.widget-card:before,.widget:after{content:"";opacity:0;pointer-events:none;position:absolute}.widget:after{background:linear-gradient(135deg,#fffc,#0000);inset:0;transition:opacity .3s ease}.widget-button{background:#0000;border-radius:10px;color:inherit;display:flex;flex-direction:column;gap:.4rem;min-height:90px;padding:.65rem;position:relative;text-align:left;text-decoration:none}.widget-button:before{background:linear-gradient(135deg,#6366f105,#3b82f605);border-radius:10px;content:"";inset:0;opacity:0;position:absolute;transition:opacity .3s ease}.widget-button:after{align-items:center;background:linear-gradient(135deg,#6366f11a,#3b82f614);border:1px solid #6366f133;border-radius:8px;bottom:.75rem;color:#6366f1e6;content:"→";display:flex;font-size:1rem;height:28px;justify-content:center;position:absolute;right:.75rem;transition:all .3s cubic-bezier(.4,0,.2,1);width:28px}.widget:hover{border-color:#6366f166;box-shadow:0 20px 60px #0f172a26,0 0 0 1px #6366f14d,inset 0 1px 0 #fff;transform:translateY(-4px) scale(1.01)}.widget:hover:before{opacity:1}.widget:hover:after{opacity:.6}.widget:hover .widget-button:before{opacity:1}.widget:hover .widget-button:after{background:linear-gradient(135deg,#6366f133,#3b82f626);box-shadow:0 4px 12px #6366f14d;transform:translate(4px,-4px) rotate(-5deg)}.widget-button h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#dc2626,#ef4444);-webkit-background-clip:text;background-clip:text;font-size:.85rem;font-weight:700;letter-spacing:-.01em;margin:0;transition:all .3s ease}.widget:hover .widget-button h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#b91c1c,#dc2626);-webkit-background-clip:text;background-clip:text}.widget-button p{color:#dc2626;font-size:.7rem;line-height:1.4;margin:0;max-width:26ch;transition:color .3s ease}.widget:hover .widget-button p{color:#b91c1c}.preview-fallback{align-items:center;display:flex;flex-direction:column;gap:1rem;text-align:center}.calendar-nav{align-items:center;display:flex;gap:.5rem}.calendar-nav-label{font-size:.95rem;font-weight:600;text-transform:capitalize}.widget-table .note-cell{min-width:14rem;white-space:normal;word-break:break-word}.scheduler-container--full{display:flex;flex:1 1;flex-direction:column;min-height:0}.scheduler-container--full .scheduler-empty,.scheduler-container--full .scheduler-loading{position:absolute}.scheduler-container--full .scheduler-empty{font-size:1.1rem}.scheduler-container--full .scheduler-loading{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.scheduler-empty,.scheduler-loading{align-items:center;background:#f8fafce6;color:#1f2937;display:flex;font-weight:500;inset:0;justify-content:center;z-index:2}.pill-options,.widget-table .table-actions{display:flex;gap:.5rem}.pill-button{background:#4f46e514;border:1px solid #4f46e54d;border-radius:999px;color:#312e81;cursor:pointer;font-size:.9rem;padding:.4rem 1rem;transition:all .2s ease}.pill-button.active,.pill-button:hover{background:#6366f1;border-color:#0000;color:#fff}.widget-form{display:flex;flex-direction:column;gap:1.75rem}.form-grid{grid-gap:1.35rem;display:grid;gap:1.35rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.form-grid.form-grid-3{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.form-field{display:flex;flex-direction:column;gap:.5rem}.form-field input,.form-field select,.form-field textarea{background:#fffffff2;border:1px solid #94a3b873;border-radius:8px;border-radius:var(--radius-sm);font-size:.95rem;padding:.65rem .85rem;transition:all .2s ease;transition:var(--transition-base)}.form-field textarea{resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#2563eb8c;box-shadow:0 0 0 3px #2563eb1f;outline:none}.form-field select{-webkit-appearance:none;appearance:none;background-image:linear-gradient(45deg,#0000 50%,#94a3b8e6 0),linear-gradient(135deg,#94a3b8e6 50%,#0000 0);background-position:calc(100% - 20px) calc(50% - 4px),calc(100% - 15px) calc(50% - 4px);background-repeat:no-repeat;background-size:5px 5px}.field-label{color:#6b7280;color:var(--color-text-muted);font-size:.9rem;font-weight:600}.form-field-span{grid-column:span 2}.form-actions{display:flex;gap:.75rem;justify-content:flex-end}.modal-overlay{align-items:flex-start;background:#0006;bottom:0;display:flex;justify-content:center;left:0;padding:0 2.5rem;position:absolute;right:0;top:0;z-index:1100}.modal-overlay--full{padding:0;position:fixed}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0f172a33;display:flex;flex-direction:column;max-height:800px;max-width:850px;min-width:320px;overflow:hidden;width:95%}.modal-content--large{max-height:90vh;max-width:1200px}.modal-content--full{border-radius:8px;height:95vh;max-height:95vh;max-width:95vw;width:95vw}.modal-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1.25rem 1.5rem}.modal-content--full .modal-header{padding:.75rem 1rem}.modal-content--full .modal-header h2{font-size:1rem}.modal-header h2{color:#1f2937;margin:0}.icon-button{background:none;border:none;color:#6b7280;cursor:pointer;font-size:1.5rem}.icon-button:hover{color:#111827}.modal-close{align-items:center;background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;display:flex;font-size:1.75rem;height:32px;justify-content:center;line-height:1;padding:0;width:32px}.modal-close:hover{background:#f3f4f6;color:#111827}.modal-footer{border-top:1px solid #e5e7eb;display:flex;gap:.75rem;justify-content:flex-end;padding:1rem 1.5rem}.modal-body{overflow-y:auto;padding:1.5rem 1.75rem 2rem}.modal-body--full{display:flex;flex:1 1;flex-direction:column;min-height:0;overflow:hidden;padding:1rem}.configuration-form{gap:1.25rem}.config-group,.configuration-form{display:flex;flex-direction:column}.config-group{gap:.5rem}.config-label{color:#1f2937;font-weight:600}.config-group select{border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;padding:.55rem .75rem}.toggle-control{align-items:center;cursor:pointer;display:flex;gap:.6rem}.toggle-control input[type=checkbox]{accent-color:#6366f1;height:18px;width:18px}.form-success{color:#16a34a;font-size:.9rem;margin-top:.5rem}.modal-placeholder{color:#475569}.table-toolbar{align-items:center;background:#e2e8f073;border:1px solid #e2e8f099;border-radius:8px;border-radius:var(--radius-sm);display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.75rem;padding:.75rem 1rem}.toolbar-search{flex:1 1 260px;max-width:420px;position:relative}.toolbar-input{background:#fff;background:var(--color-surface);border:1px solid #94a3b88c;border-radius:8px;border-radius:var(--radius-sm);box-shadow:inset 0 1px 2px #0f172a0a;padding:.65rem 1rem;transition:all .2s ease;transition:var(--transition-base);width:100%}.toolbar-input:focus{border-color:#2563eb99;box-shadow:0 0 0 4px #2563eb1f;outline:none}.widget-table-wrapper{background:linear-gradient(160deg,#ffffffd1,#f8fafceb);border:1px solid #e2e8f0a6;border-radius:14px;box-shadow:inset 0 1px 0 #ffffffb3;margin:0 0 1.5rem;overflow:hidden;position:relative}.widget-table-scroller{-webkit-overflow-scrolling:touch;border-radius:inherit;overflow-x:auto;overflow-y:hidden;width:100%}.widget-table{background:#fff;border-collapse:initial;border-radius:12px;border-spacing:0;box-shadow:0 1px 3px 0 #0000000d;color:#374151;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.9375rem;line-height:1.5;margin:0;max-width:none;min-width:100%;table-layout:auto;width:-webkit-max-content;width:max-content}.widget-table thead{background:linear-gradient(135deg,#f8fafcfa,#edf2ffe6);border-bottom:1px solid #e2e8f0cc;box-shadow:inset 0 -1px 0 #fff9;color:#6b7280;color:var(--color-text-muted);font-size:.78rem;font-weight:600;letter-spacing:.08em;position:-webkit-sticky;position:sticky;text-transform:uppercase;top:0;z-index:12}.widget-table td,.widget-table th{background:#0000;border-bottom:1px solid #e2e8f099;color:#1f2937;color:var(--color-text);font-size:.8rem;min-width:0;padding:12px 14px;text-align:left;transition:all .2s ease;transition:var(--transition-base);vertical-align:middle;white-space:normal;word-break:break-word}.widget-table tr:last-child td{border-bottom:none}.widget-table tr:hover td{background-color:#f9fafb;background-color:#e2e8f059}.filter-row td{background:#f8fafce6;border-bottom:1px solid #e2e8f0a6;padding:12px 16px}.filter-input{background:#fffffff2;border:1px solid #94a3b873;border-radius:8px;border-radius:var(--radius-sm);font-size:.85rem;padding:.55rem .9rem;transition:all .2s ease;transition:var(--transition-base);width:100%}.filter-input:focus{border-color:#2563eb8c;box-shadow:0 0 0 3px #2563eb1f;outline:none}.numeric-cell{text-align:right;white-space:nowrap}.file-cell{min-width:160px}.file-link{align-items:center;color:#2563eb;color:var(--color-accent);display:inline-flex;font-weight:500;gap:.4rem;text-decoration:none;transition:all .2s ease;transition:var(--transition-base)}.file-link:hover{color:#1d4ed8;color:var(--color-accent-hover)}.table-empty{color:#6b7280;color:var(--color-text-muted);font-size:.95rem;padding:2.5rem 1rem;text-align:center}.table-actions{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:flex-end}.table-actions .danger-button,.table-actions .ghost-button{padding-inline:.85rem}.steel-certificate-section .widget-card{margin:0 auto;max-width:1240px;padding:1.9rem 2rem}.certificate-table th{white-space:nowrap}.scheduler-container{min-height:400px;position:relative;width:100%}.scheduler-empty,.scheduler-loading{background:#ffffffe6;border-radius:4px;left:50%;padding:1rem;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:10}.scheduler-container .scheduler_default_rowheader,.scheduler-container .scheduler_default_rowheader div,.scheduler-container .scheduler_default_rowheader_inner{white-space:nowrap!important}.certificate-table td{white-space:normal;word-break:break-word}.steel-certificate-section .certificate-table td,.steel-certificate-section .certificate-table th{padding:14px 16px}.badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px;text-align:center;white-space:nowrap}.badge-info{background-color:#dbeafe;color:#1e40af}.badge-warning{background-color:#fef3c7;color:#92400e}.badge-success{background-color:#d1fae5;color:#065f46}.badge-danger{background-color:#fee2e2;color:#991b1b}.badge-secondary{background-color:#e5e7eb;color:#374151}.steel-certificate-section .certificate-table{table-layout:auto}.certificate-table td:first-child,.certificate-table th:first-child{min-width:180px}.certificate-table td:nth-child(2),.certificate-table th:nth-child(2){min-width:160px}.certificate-table td:nth-child(3),.certificate-table td:nth-child(4),.certificate-table td:nth-child(5),.certificate-table th:nth-child(3),.certificate-table th:nth-child(4),.certificate-table th:nth-child(5){min-width:140px}.certificate-table td:nth-child(6),.certificate-table th:nth-child(6){min-width:180px}.certificate-table td:nth-child(7),.certificate-table th:nth-child(7){min-width:160px}.certificate-table td:nth-child(8),.certificate-table td:nth-child(9),.certificate-table th:nth-child(8),.certificate-table th:nth-child(9){min-width:150px}.certificate-table td:nth-child(10),.certificate-table th:nth-child(10){min-width:210px}.danger-button{background:#f8717124;border-color:#f8717159;color:#b91c1c}.danger-button:hover{background:#f8717138}.text-button{background:none;border:none;color:#3498db;cursor:pointer;font-size:.85rem;padding:.25rem .5rem;text-decoration:underline;white-space:nowrap}.text-button:hover{color:#1f79b4}.toggle-auth{margin-top:1.5rem;text-align:center}@media (max-width:768px){.form-container{margin:1rem;padding:1rem}.form-row{flex-direction:column;gap:1.2rem}.form-field{min-width:100%}.auth-card{flex-direction:column;gap:2rem;padding:2rem}.input-grid{grid-template-columns:1fr}}.widget-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.work-order-row{transition:background-color .15s ease}.work-order-row:hover{background-color:#f9fafb!important}.work-order-row:active{background-color:#f3f4f6!important}.badge-primary{background-color:#dbeafe;color:#1e40af}.notification-badge{align-items:center;animation:notification-pulse 2s ease-in-out infinite;background:linear-gradient(135deg,#ff3b30,#ff453a);border-radius:12px;box-shadow:0 2px 8px #ff3b3066,0 0 0 2px #ffffffe6;color:#fff;display:flex;font-size:.75rem;font-weight:700;height:22px;justify-content:center;line-height:1;min-width:22px;padding:.25rem .5rem;position:absolute;right:12px;top:12px;z-index:10}@keyframes notification-pulse{0%,to{box-shadow:0 2px 8px #ff3b3066,0 0 0 2px #ffffffe6;transform:scale(1)}50%{box-shadow:0 3px 12px #ff3b3080,0 0 0 2px #ffffffe6;transform:scale(1.05)}}.modern-dashboard{background:linear-gradient(135deg,#1e3a5ff2,#2c5282e6 50%,#1a365df2),repeating-linear-gradient(90deg,#0000,#0000 50px,#ffffff05 0,#ffffff05 51px);flex:1 1;height:100%;overflow-x:hidden;overflow-y:auto;padding:3rem 4rem;width:100%}.modern-dashboard-grid{grid-gap:1.5rem;animation:fadeIn .6s ease-out;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));margin:0 auto;max-width:100%}.modern-widget-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:linear-gradient(135deg,#fffffff2,#ffffffd9);border:1px solid #fff6;border-radius:20px;box-shadow:0 10px 40px #00000026,0 1px 3px #0000001a,inset 0 1px 0 #ffffffe6;cursor:pointer;display:flex;flex-direction:column;gap:1rem;min-height:160px;overflow:hidden;padding:1.75rem;position:relative;text-align:left;transition:all .4s cubic-bezier(.4,0,.2,1)}.modern-widget-card:before{background:linear-gradient(90deg,#f59e0b,#3b82f6 50%,#f59e0b);background-size:200% 100%;content:"";height:4px;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .4s ease}.modern-widget-card:hover{border-color:#f59e0b4d;box-shadow:0 20px 60px #3b82f666,0 10px 20px #00000026,inset 0 1px 0 #ffffffe6;transform:translateY(-8px) scale(1.02)}.modern-widget-card:hover:before{animation:gradientShift 2s ease infinite;opacity:1}@keyframes gradientShift{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.modern-widget-card:active{transform:translateY(-4px) scale(.98)}.widget-icon-wrapper{align-items:center;background:linear-gradient(135deg,#3b82f6,#1e40af);border-radius:16px;box-shadow:0 8px 16px #3b82f64d,inset 0 1px 0 #fff3;display:flex;height:64px;justify-content:center;transition:all .4s cubic-bezier(.4,0,.2,1);width:64px}.modern-widget-card:hover .widget-icon-wrapper{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 12px 24px #f59e0b66,inset 0 1px 0 #ffffff4d;transform:scale(1.1) rotate(5deg)}.widget-icon{filter:drop-shadow(0 2px 4px rgba(0,0,0,.1));font-size:2rem}.widget-content{display:flex;flex:1 1;flex-direction:column;gap:.5rem}.widget-title{color:#1e293b;font-size:1.25rem;font-weight:700;letter-spacing:-.02em;line-height:1.3;margin:0;transition:color .3s ease}.modern-widget-card:hover .widget-title{color:#3b82f6}.widget-description{color:#64748b;font-size:.9rem;line-height:1.5;margin:0;transition:color .3s ease}.modern-widget-card:hover .widget-description{color:#475569}.widget-arrow{align-items:center;background:linear-gradient(135deg,#f59e0b26,#3b82f61a);border-radius:12px;bottom:1.5rem;color:#f59e0b;display:flex;font-size:1.5rem;height:40px;justify-content:center;opacity:0;position:absolute;right:1.5rem;transform:translateX(-10px);transition:all .4s cubic-bezier(.4,0,.2,1);width:40px}.modern-widget-card:hover .widget-arrow{opacity:1;transform:translateX(0)}.modern-notification-badge{align-items:center;animation:modernPulse 2s ease-in-out infinite;background:linear-gradient(135deg,#ef4444,#dc2626);border-radius:14px;box-shadow:0 4px 12px #ef444466,0 0 0 3px #ffffffe6;color:#fff;display:flex;font-size:.75rem;font-weight:700;height:28px;justify-content:center;min-width:28px;padding:0 .5rem;position:absolute;right:1rem;top:1rem;z-index:10}@keyframes modernPulse{0%,to{box-shadow:0 4px 12px #ef444466,0 0 0 3px #ffffffe6;transform:scale(1)}50%{box-shadow:0 6px 16px #ef444480,0 0 0 3px #ffffffe6;transform:scale(1.08)}}@media (max-width:1400px){.modern-dashboard-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (max-width:768px){.modern-dashboard{padding:1.5rem}.modern-dashboard-grid{gap:1rem;grid-template-columns:1fr}.modern-widget-card{min-height:140px;padding:1.5rem}.widget-icon-wrapper{height:56px;width:56px}.widget-icon{font-size:1.75rem}.widget-title{font-size:1.1rem}.widget-description{font-size:.85rem}}.ofw-container{background:linear-gradient(145deg,#0f172a,#1e293b 50%,#0f172a);color:#e2e8f0;display:flex;flex-direction:column;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;height:100%}.ofw-toolbar{align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f172acc;border-bottom:1px solid #3b82f626;display:flex;flex-shrink:0;flex-wrap:wrap;gap:.75rem;padding:.6rem 1rem}.ofw-toolbar-group{align-items:center;display:flex;gap:.5rem}.ofw-toolbar-divider{background:#94a3b833;flex-shrink:0;height:24px;width:1px}.ofw-toolbar-label{color:#94a3b8;font-size:.7rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}.ofw-select{background:#1e293bcc;border:1px solid #3b82f640;border-radius:8px;color:#e2e8f0;cursor:pointer;font-size:.8rem;font-weight:500;outline:none;padding:.4rem .75rem;transition:all .2s}.ofw-select:focus,.ofw-select:hover{background:#1e293b;border-color:#3b82f680}.ofw-search-input{background:#1e293bcc;border:1px solid #3b82f640;border-radius:8px;color:#e2e8f0;flex:1 1;font-size:.8rem;min-width:180px;outline:none;padding:.4rem .75rem;transition:all .2s}.ofw-search-input:focus{background:#1e293b;border-color:#f59e0b;box-shadow:0 0 0 2px #f59e0b26}.ofw-search-input::placeholder{color:#64748b}.ofw-stats-bar{background:#0f172a99;border-bottom:1px solid #3b82f61a;flex-shrink:0;justify-content:space-between;padding:.4rem 1rem}.ofw-stats-bar,.ofw-stats-info{align-items:center;display:flex}.ofw-stats-info{color:#94a3b8;font-size:.75rem;gap:.75rem}.ofw-stats-value{color:#f1f5f9;font-weight:700}.ofw-stats-dot{color:#94a3b84d}.ofw-toggle-btn{align-items:center;border:none;border-radius:6px;color:#fff;cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:600;gap:.35rem;padding:.35rem .65rem;transition:all .2s;white-space:nowrap}.ofw-toggle-btn:hover{opacity:.85;transform:translateY(-1px)}.ofw-toggle-btn.active{box-shadow:0 2px 8px #0003}.ofw-toggle-btn.priority{background:#6b7280}.ofw-toggle-btn.priority.active{background:#ef4444}.ofw-toggle-btn.live{background:#6b7280}.ofw-toggle-btn.live.active{background:#10b981}.ofw-toggle-btn.minimal{background:#6b7280}.ofw-toggle-btn.minimal.active{background:#8b5cf6}.ofw-toggle-btn.compact{background:#6b7280}.ofw-toggle-btn.compact.active{background:#0ea5e9}.ofw-toggle-btn.sidebar{background:#6b7280}.ofw-toggle-btn.sidebar.active{background:#10b981}.ofw-toggle-btn.plan{background:#3b82f6}.ofw-toggle-btn.plan:hover{background:#2563eb}.ofw-toggle-btn.close{background:#ef4444}.ofw-toggle-btn.close:hover{background:#dc2626}.ofw-toggle-btn.refresh{background:#0000;border:1px solid #94a3b84d;color:#cbd5e1}.ofw-toggle-btn.refresh:hover{background:#3b82f626;border-color:#3b82f666}.ofw-sort-btn{background:#1e293b99;border:1px solid #3b82f64d;border-radius:4px;color:#94a3b8;cursor:pointer;font-size:.8rem;font-weight:700;line-height:1;padding:.25rem .45rem;transition:all .2s}.ofw-sort-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.ofw-team-filter-badge{align-items:center;background:#3b82f633;border:1px solid #3b82f666;border-radius:6px;color:#93c5fd;display:flex;font-size:.75rem;font-weight:500;gap:.5rem;padding:.3rem .65rem}.ofw-team-filter-badge button{background:#0000;border:none;color:#93c5fd;cursor:pointer;font-size:.8rem;line-height:1;opacity:.7;padding:0}.ofw-team-filter-badge button:hover{opacity:1}.ofw-main-content{display:flex;flex:1 1;gap:0;overflow:hidden}.ofw-orders-scroll{flex:1 1;overflow-x:auto;overflow-y:auto;padding:.75rem}.ofw-orders-list{display:flex;flex-direction:column;gap:.5rem;min-width:-webkit-fit-content;min-width:fit-content}.ofw-empty-state{color:#64748b;font-size:.9rem;padding:3rem;text-align:center}.ofw-order-card{align-items:stretch;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000f;display:flex;gap:0;max-height:260px;min-height:260px;overflow:visible;position:relative;transition:all .25s cubic-bezier(.4,0,.2,1)}.ofw-order-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateX(2px)}.ofw-orders-list.compact-grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}.ofw-order-card.compact{flex-shrink:0;max-height:none;min-height:0;min-height:auto;width:auto}.ofw-order-card.compact:hover{background:#f8fafc;transform:translateY(-2px)}.ofw-order-card.overdue{background:#fef2f2;border:2px solid #fca5a5;box-shadow:0 4px 12px #ef444426}.ofw-order-card.problems{background:#fef2f2;border:2px solid #ef4444;box-shadow:0 4px 12px #ef444433}.ofw-order-card.due-today{background:#fffbeb;border:2px solid #fcd34d;box-shadow:0 4px 12px #f59e0b26}.ofw-order-card.stopped{background:#dc2626;border:3px solid #991b1b;box-shadow:0 6px 16px #dc262666}.ofw-order-card.ready-invoice{background:#f5f3ff;border:2px solid #a78bfa;box-shadow:0 4px 12px #7c3aed26}.ofw-alert-badge{border-radius:20px;box-shadow:0 2px 8px #0003;color:#fff;font-size:.7rem;font-weight:700;left:16px;letter-spacing:.02em;padding:.2rem .75rem;position:absolute;top:-10px;z-index:10}.ofw-alert-badge.stopped{background:#991b1b}.ofw-alert-badge.overdue{background:#ef4444}.ofw-alert-badge.problems{background:#dc2626}.ofw-alert-badge.invoice{background:#7c3aed}.ofw-alert-badge.invoiced{background:#10b981}.ofw-alert-badge.today{background:#f59e0b}.ofw-info-panel{align-items:center;background:#f8fafc;border-radius:12px 0 0 12px;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;flex-shrink:0;gap:.3rem;max-height:240px;min-height:240px;padding:.5rem;width:120px}.ofw-info-panel .status-btn{border:none;border-radius:6px;color:#fff;font-size:.65rem;font-weight:700;letter-spacing:.03em;padding:.25rem .4rem;text-align:center;text-transform:uppercase;width:100%}.ofw-info-panel .action-grid{grid-gap:3px;display:grid;flex:1 1;gap:3px;grid-template-columns:repeat(2,1fr);width:100%}.ofw-action-btn{align-items:center;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;display:flex;font-size:.85rem;justify-content:center;padding:.2rem;transition:all .15s}.ofw-action-btn:hover{background:#e2e8f0;transform:scale(1.05)}.ofw-action-btn.pinned{background:#fef3c7;border:2px solid #f59e0b;box-shadow:0 1px 4px #f59e0b40}.ofw-action-btn.docs{background:#fef3c7;border:1px solid #f59e0b}.ofw-action-btn.parts-done{background:#dcfce7;border:2px solid #10b981}.ofw-action-btn.stop{background:#fee2e2;border:1px solid #fca5a5}.ofw-action-btn.resume{background:#dcfce7;border:1px solid #86efac}.ofw-action-btn.unimicro{background:#dbeafe;border:1px solid #93c5fd;color:#1d4ed8;font-size:.65rem;font-weight:700}.ofw-info-bottom{border-top:1px solid #e2e8f0;margin-top:auto;padding-top:.25rem;text-align:center;width:100%}.ofw-info-bottom .created-by{color:#64748b;font-size:.6rem;margin-bottom:2px}.ofw-info-bottom .order-id{color:#94a3b8;font-family:SF Mono,Fira Code,monospace;font-size:.65rem;font-weight:700}.ofw-info-bottom .created-date{color:#94a3b8;font-size:.5rem}.ofw-order-details{border-right:1px solid #e2e8f0;display:flex;flex-direction:column;flex-shrink:0;gap:.3rem;padding:.5rem .75rem;width:240px}.ofw-order-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.3rem}.ofw-order-number{color:#2563eb;cursor:pointer;font-size:1.1rem;font-weight:800;text-decoration:none;transition:color .2s}.ofw-order-number:hover{color:#1d4ed8;text-decoration:underline}.ofw-delivery-badge{align-items:center;display:flex;gap:.35rem}.ofw-delivery-date{align-items:center;color:#64748b;display:flex;font-size:.7rem;gap:.2rem}.ofw-days-badge{border-radius:6px;color:#fff;font-size:.75rem;font-weight:700;line-height:1.2;min-width:40px;padding:.2rem .5rem;text-align:center}.ofw-customer{color:#1e293b;font-size:1rem;font-weight:600;line-height:1.3}.ofw-materials{color:#64748b;font-size:.72rem;font-weight:500}.ofw-description{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;color:#94a3b8;cursor:help;display:-webkit-box;font-size:.72rem;font-style:italic;max-height:2.4rem;overflow:hidden}.ofw-memo{color:#64748b;font-size:.72rem;font-weight:500}.ofw-team-flow{align-items:stretch;display:flex;flex:1 1;gap:.5rem;padding:.25rem}.ofw-team-card{align-items:center;background:linear-gradient(145deg,#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 8px #0000000a;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;justify-content:space-between;max-height:240px;min-height:240px;padding:.6rem .75rem;position:relative;text-align:center;transition:all .25s cubic-bezier(.4,0,.2,1);width:170px;z-index:1}.ofw-team-card:hover{box-shadow:0 8px 24px #0000001a;transform:translateY(-3px)}.ofw-team-card.active{background:linear-gradient(145deg,#eff6ff,#dbeafe);border-color:#3b82f64d;box-shadow:0 4px 16px #3b82f61f}.ofw-team-card.active:hover{box-shadow:0 8px 28px #3b82f633}.ofw-team-card.completed{background:linear-gradient(145deg,#f0fdf4,#dcfce7);border-color:#10b9814d;box-shadow:0 4px 16px #10b9811a}.ofw-team-card.completed:hover{box-shadow:0 8px 28px #10b9812e}.ofw-team-card.disabled{background:#f1f5f980;border-color:#cbd5e14d;cursor:not-allowed;opacity:.5}.ofw-team-card.disabled:hover{box-shadow:0 2px 8px #0000000a;transform:none}.ofw-hours-badge{align-items:center;border:2.5px solid #fff;border-radius:50%;box-shadow:0 2px 8px #00000026;color:#fff;display:flex;font-size:.6rem;font-weight:700;height:32px;justify-content:center;left:-8px;line-height:1;min-width:32px;padding:0 5px;position:absolute;top:-8px;z-index:10}.ofw-hours-badge.wide{border-radius:12px;min-width:46px}.ofw-hours-badge.estimated{background:linear-gradient(135deg,#f59e0b,#d97706)}.ofw-hours-badge.planned{background:linear-gradient(135deg,#10b981,#059669)}.ofw-hours-badge.mismatch{background:linear-gradient(135deg,#ef4444,#dc2626)}.ofw-hours-badge.clickable{cursor:pointer;transition:transform .2s}.ofw-hours-badge.clickable:hover{transform:scale(1.1)}.ofw-cert-badge{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:2.5px solid #fff;border-radius:50%;box-shadow:0 2px 8px #10b9814d;color:#fff;cursor:pointer;display:flex;font-size:.6rem;font-weight:700;gap:2px;height:32px;justify-content:center;line-height:1;min-width:32px;padding:0 4px;position:absolute;right:-8px;top:-8px;transition:transform .2s;z-index:10}.ofw-cert-badge:hover{transform:scale(1.1)}.ofw-minimal-card{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 2px #0000000f;cursor:pointer;display:flex;gap:.75rem;min-height:44px;padding:.5rem .75rem;transition:all .2s}.ofw-minimal-card:hover{background:#f8fafc;box-shadow:0 2px 6px #00000014}.ofw-minimal-card.overdue,.ofw-minimal-card.problems{background:#fef2f2;border:2px solid #fca5a5}.ofw-minimal-card.due-today{background:#fffbeb;border:2px solid #fcd34d}.ofw-minimal-card.stopped{background:#dc2626;border:2px solid #991b1b;color:#fff}.ofw-minimal-card.ready-invoice{background:#f5f3ff;border:2px solid #a78bfa}.ofw-minimal-expand{color:#94a3b8;font-size:.7rem;transition:transform .2s}.ofw-minimal-order-num{color:#2563eb;font-size:.9rem;font-weight:700;min-width:80px}.ofw-minimal-customer{color:#374151;font-size:.8rem;font-weight:500;max-width:140px;min-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ofw-minimal-divider{background:#e2e8f0;flex-shrink:0;height:28px;width:1px}.ofw-minimal-teams{display:flex;flex:1 1;flex-wrap:wrap;gap:.3rem}.ofw-team-badge{border-radius:4px;color:#fff;font-size:.65rem;font-weight:600;padding:.2rem .5rem;white-space:nowrap}.ofw-team-badge.completed{background:#10b981}.ofw-team-badge.active{background:#3b82f6}.ofw-team-badge.inactive{background:#94a3b8}.ofw-status-dropdown{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0000001f;left:0;margin-top:4px;overflow:hidden;position:absolute;right:0;top:100%;z-index:1000}.ofw-status-option{align-items:center;background:#fff;border:none;cursor:pointer;display:flex;font-size:.7rem;font-weight:600;gap:.4rem;padding:.5rem .6rem;text-align:left;text-transform:uppercase;transition:background .15s;width:100%}.ofw-status-option:hover{background:#f8fafc}.ofw-status-option.selected{background:#f1f5f9}.ofw-status-dot{border-radius:50%;flex-shrink:0;height:8px;width:8px}.ofw-sidebar{background:#0f172a99;border-left:1px solid #3b82f626;flex-shrink:0;overflow-y:auto;padding:.75rem;width:220px}.ofw-sidebar-title{border-bottom:1px solid #94a3b833;color:#e2e8f0;font-size:.8rem;font-weight:700;margin-bottom:.75rem;padding-bottom:.5rem}.ofw-sidebar-team{border:1px solid #0000;border-radius:8px;cursor:pointer;margin-bottom:.35rem;padding:.5rem;transition:all .2s}.ofw-sidebar-team:hover{background:#3b82f61a}.ofw-sidebar-team.selected{background:#3b82f633;border-color:#3b82f64d}.ofw-sidebar-team-name{color:#e2e8f0;font-size:.8rem;font-weight:600;margin-bottom:.25rem}.ofw-sidebar-team-stats{display:flex;font-size:.65rem;gap:.5rem}.ofw-sidebar-stat{align-items:center;display:flex;gap:.2rem}.ofw-sidebar-stat.active{color:#fbbf24}.ofw-sidebar-stat.waiting{color:#94a3b8}.ofw-sidebar-stat.done{color:#34d399}.ofw-collapse-btn{align-items:center;background:#64748b;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.65rem;font-weight:600;gap:.2rem;padding:.2rem .5rem;position:absolute;right:4px;top:4px;transition:background .2s;z-index:20}.ofw-collapse-btn:hover{background:#475569}.ofw-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.ofw-modal{background:#fff;border-radius:16px;box-shadow:0 24px 48px #0003;max-height:90vh;max-width:90vw;overflow-y:auto}.ofw-modal-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:1rem 1.25rem}.ofw-modal-title{color:#0f172a;font-size:1.1rem;font-weight:700}.ofw-modal-close{background:none;border:none;border-radius:6px;color:#94a3b8;cursor:pointer;font-size:1.25rem;padding:.25rem;transition:all .15s}.ofw-modal-close:hover{background:#f1f5f9;color:#64748b}.ofw-modal-body{padding:1.25rem}@keyframes highlight-pulse{0%{box-shadow:0 0 0 0 #3b82f666}50%{box-shadow:0 0 0 8px #3b82f600}to{box-shadow:0 0 0 0 #3b82f600}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.ofw-orders-scroll::-webkit-scrollbar{height:6px;width:6px}.ofw-orders-scroll::-webkit-scrollbar-track{background:#0f172a4d;border-radius:3px}.ofw-orders-scroll::-webkit-scrollbar-thumb{background:#94a3b84d;border-radius:3px}.ofw-orders-scroll::-webkit-scrollbar-thumb:hover{background:#94a3b880}.ofw-minimal-card.stopped .ofw-minimal-customer,.ofw-minimal-card.stopped .ofw-minimal-order-num,.ofw-order-card.stopped .ofw-customer,.ofw-order-card.stopped .ofw-delivery-date,.ofw-order-card.stopped .ofw-description,.ofw-order-card.stopped .ofw-materials,.ofw-order-card.stopped .ofw-memo,.ofw-order-card.stopped .ofw-order-number{color:#fff!important}.ai-chat-widget{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;height:100%;overflow:hidden}.ai-chat-header{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #fff3;color:#fff;justify-content:space-between;padding:15px 20px}.ai-chat-header,.ai-chat-title{align-items:center;display:flex}.ai-chat-title{gap:10px}.ai-icon{font-size:24px}.ai-chat-title h3{font-size:18px;font-weight:600;margin:0}.ai-chat-controls{align-items:center;display:flex;gap:10px}.model-selector{background:#fff3;border:1px solid #ffffff4d;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;padding:5px 10px}.model-selector:disabled{cursor:not-allowed;opacity:.5}.model-selector option{background:#667eea;color:#fff}.clear-btn{background:#fff3;border:1px solid #ffffff4d;border-radius:4px;color:#fff;cursor:pointer;font-size:16px;padding:5px 10px;transition:background .2s}.clear-btn:hover{background:#ffffff4d}.close-btn{align-items:center;background:#fff3;border:1px solid #ffffff4d;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-size:24px;height:32px;justify-content:center;transition:background .2s;width:32px}.close-btn:hover{background:#ffffff4d}.ai-chat-messages{background:#f5f7fa;flex:1 1;overflow-y:auto;padding:20px}.ai-message{animation:fadeIn .3s ease-in;display:flex;margin-bottom:15px}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.ai-message.user{justify-content:flex-end}.ai-message.assistant{justify-content:flex-start}.message-content{border-radius:12px;max-width:70%;padding:12px 16px;position:relative}.ai-message.user .message-content{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom-right-radius:4px;color:#fff}.ai-message.assistant .message-content{background:#fff;border:1px solid #e1e8ed;border-bottom-left-radius:4px;color:#333}.ai-message.error .message-content{background:#fee;border-color:#fcc;color:#c33}.message-text{word-wrap:break-word;line-height:1.5;margin-bottom:5px;white-space:pre-wrap}.message-time{font-size:10px;opacity:.7;text-align:right}.typing-indicator{display:flex;gap:4px;padding:10px}.typing-indicator span{animation:bounce 1.4s ease-in-out infinite both;background:#667eea;border-radius:50%;height:8px;width:8px}.typing-indicator span:first-child{animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.ai-chat-input{background:#fff;border-top:1px solid #e1e8ed;display:flex;gap:10px;padding:15px 20px}.ai-chat-input textarea{border:1px solid #e1e8ed;border-radius:8px;flex:1 1;font-family:inherit;font-size:14px;padding:10px 15px;resize:none;transition:border-color .2s}.ai-chat-input textarea:focus{border-color:#667eea;outline:none}.ai-chat-input textarea:disabled{background:#f5f7fa;cursor:not-allowed}.send-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:18px;min-width:50px;padding:10px 20px;transition:transform .2s,opacity .2s}.send-btn:hover:not(:disabled){transform:scale(1.05)}.send-btn:disabled{cursor:not-allowed;opacity:.5}.ai-chat-footer{background:#f5f7fa;border-top:1px solid #e1e8ed;padding:8px 20px;text-align:center}.ai-chat-footer small{color:#666;font-size:11px}.ai-chat-messages::-webkit-scrollbar{width:6px}.ai-chat-messages::-webkit-scrollbar-track{background:#f5f7fa}.ai-chat-messages::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.ai-chat-messages::-webkit-scrollbar-thumb:hover{background:#999}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#1e3a5f,#2c5282 50%,#1a365d);color:#1f2937;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.6}.app,body{margin:0;overflow:hidden;padding:0}.app{box-sizing:border-box;display:flex;flex-direction:column;height:100vh;width:100vw}.app-header{align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(135deg,#1e3a5ffa,#1a365dfa);border-bottom:2px solid #f59e0b80;border-radius:0;box-shadow:0 2px 8px #0003,inset 0 1px 0 #ffffff1a;color:#e2e8f0;display:flex;flex-shrink:0;justify-content:space-between;min-height:60px;overflow:visible;padding:.75rem 2rem}.app-header>div:first-child{flex:1 1;min-width:0;overflow:hidden}.app-header h1{color:#f1f5f9;font-size:1rem;margin:0;text-shadow:0 1px 2px #0000004d}.app-header h1,.app-subtitle{line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-subtitle{color:#cbd5e1;font-size:.7rem;margin:.1rem 0 0}.config-error{color:#ef4444;font-size:.7rem}.app-content{display:flex;flex:1 1;min-height:0;overflow:hidden;padding:0;position:relative;width:100%}.app-footer{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(135deg,#1e3a5ffa,#1a365dfa);border-radius:0;border-top:2px solid #3b82f680;bottom:0;box-shadow:0 -2px 8px #0003,inset 0 -1px 0 #ffffff1a;color:#e2e8f0;flex-shrink:0;font-size:.75rem;justify-content:space-between;left:0;min-height:50px;padding:.75rem 2rem;position:fixed;right:0;z-index:1001}.app-footer,.footer-info{align-items:center;display:flex}.footer-info{gap:.5rem}.footer-label{color:#94a3b8;font-size:.65rem;letter-spacing:.08em;text-transform:uppercase}.footer-value{color:#f1f5f9;font-weight:600}.footer-sub{color:#cbd5e1;font-size:.7rem}.footer-meta{align-items:center;color:#94a3b8;display:flex;gap:1rem}.footer-status{color:#f59e0b;font-style:italic}
/*# sourceMappingURL=main.4f506803.css.map*/