*{margin:0;padding:0;box-sizing:border-box}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.5;color:#1a1a1a;background-color:#f8f9fa}.suggestion-dropdown-container{position:relative;width:100%}.form-input{border:1px solid #ced4da;border-radius:.375rem;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-input:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.suggestion-dropdown-list{position:absolute;top:100%;left:0;right:0;margin-top:.25rem;max-height:250px;overflow-y:auto;background-color:#fff;border:1px solid #ced4da;border-radius:.375rem;box-shadow:0 .5rem 1rem rgba(0,0,0,.15);list-style:none;padding:0;z-index:1000}.suggestion-dropdown-item{padding:.75rem 1rem;cursor:pointer;transition:background-color .15s ease-in-out;font-size:1rem;color:#1a1a1a}.suggestion-dropdown-item:hover{background-color:#f8f9fa}.suggestion-dropdown-item:active{background-color:#e9ecef}.suggestion-dropdown-list::-webkit-scrollbar{width:8px}.suggestion-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:0 .375rem .375rem 0}.suggestion-dropdown-list::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.suggestion-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}body{margin:0;min-height:100vh;background-color:#f8f9fa}.logo-header{position:fixed;top:0;left:0;width:100%;height:60px;background-color:#fff;border-bottom:1px solid #e9ecef;z-index:1000}.logo-container,.logo-header{display:flex;align-items:center}.logo-container{padding:0 1rem}.container{max-width:1200px;margin:0 auto;padding:80px 1rem 0}.header{padding:1rem 2rem;border-bottom:1px solid #e9ecef;background-color:#fff;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.1)}.job-info{display:flex;justify-content:space-between;align-items:center}.job-label{font-size:1.1rem;font-weight:600;color:#495057}.job-id{display:flex;align-items:center;gap:.5rem;color:#007bff;font-weight:500}.title{font-size:2rem;font-weight:700;text-align:center;margin-bottom:2rem;color:#1a1a1a}.search-container{position:relative;max-width:400px;margin:0 auto 2rem}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#6c757d;z-index:1}.search-input{width:100%;padding:12px 40px;border:1px solid #dee2e6;border-radius:8px;font-size:1rem;background-color:#fff;transition:border-color .2s ease}.search-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px rgba(0,123,255,.1)}.category-tabs{display:flex;justify-content:center;gap:0;margin-bottom:3rem;border-bottom:1px solid #dee2e6}.category-tab{padding:1rem 1.5rem;background:none;font-size:.95rem;font-weight:500;color:#6c757d;cursor:pointer;border:none;border-bottom:2px solid transparent;transition:all .2s ease;white-space:nowrap}.category-tab:hover{color:#007bff}.category-tab.active{color:#007bff;border-bottom-color:#007bff}.materials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem;margin-top:2rem}.material-card{background:#fff;border-radius:12px;padding:1.5rem;text-align:center;cursor:pointer;border:2px solid #e9ecef;transition:all .2s ease;box-shadow:0 2px 4px rgba(0,0,0,.05)}.material-card:hover{border-color:#007bff;box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-2px)}.material-image{width:120px;height:120px;margin:0 auto 1rem;border-radius:8px;overflow:hidden;background-color:#f8f9fa;display:flex;align-items:center;justify-content:center}.material-image img{width:100%;height:100%;object-fit:cover}.material-name{font-size:1.1rem;font-weight:600;color:#1a1a1a}.loading,.no-results{text-align:center;padding:3rem;color:#6c757d;font-size:1.1rem}.no-results{grid-column:1/-1}.back-button{background:none;border:none;color:#007bff;font-size:1rem;cursor:pointer;margin-bottom:1rem;padding:.5rem 0;display:flex;align-items:center;gap:.5rem}.back-button:hover{color:#0056b3;text-decoration:underline}.grade-selection{display:flex;gap:1rem;justify-content:center;margin-bottom:3rem;flex-wrap:wrap}.grade-option{position:relative;cursor:pointer}.grade-radio{position:absolute;opacity:0;cursor:pointer}.grade-label{display:block;padding:1rem 2rem;border:2px solid #dee2e6;border-radius:8px;background-color:#fff;font-weight:500;text-align:center;min-width:80px;transition:all .2s ease}.grade-radio:checked+.grade-label{border-color:#007bff;background-color:#007bff;color:#fff}.grade-label:hover{border-color:#007bff}.material-specs{max-width:600px;margin:0 auto}.specs-title{font-size:1.5rem;font-weight:600;text-align:center;margin-bottom:2rem;color:#495057}.size-inputs{display:grid;grid-template-columns:1fr 1fr;grid-gap:2rem;gap:2rem;margin-bottom:3rem}.input-group{display:flex;flex-direction:column;gap:.5rem}.input-label{font-weight:500;color:#495057;margin-bottom:.5rem}.input-with-unit{display:flex;align-items:center;gap:.5rem;background-color:#fff;border:1px solid #dee2e6;border-radius:8px;padding:.75rem}.size-input,.thickness-input{border:none;outline:none;font-size:1rem;flex:1 1;background:transparent}.unit-separator{color:#6c757d;font-weight:500;margin:0 .5rem}.unit-select{border:none;outline:none;background:transparent;cursor:pointer;min-width:60px}.unit-label,.unit-select{font-size:1rem;color:#495057}.unit-label{font-weight:500;min-width:30px}.thickness-section{margin-bottom:3rem}.thickness-title{font-size:1.25rem;font-weight:600;text-align:center;margin-bottom:1.5rem;color:#495057}.thickness-section .input-group{max-width:300px;margin:0 auto}.action-buttons{margin-top:3rem}.continue-button{background-color:#007bff;color:#fff;border:none;padding:1rem 2rem;border-radius:8px;font-size:1.1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease}.continue-button:hover{background-color:#0056b3}.job-form-container{max-width:500px;margin:0 auto;padding:3rem 2rem}.job-form{background-color:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 12px rgba(0,0,0,.1)}.form-group{margin-bottom:1.5rem}.form-label{display:block;font-size:1rem}.form-input{width:100%;padding:.75rem 1rem;border:2px solid #dee2e6;border-radius:8px;font-size:1rem;transition:border-color .2s ease;background-color:#f8f9fa}.form-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px rgba(0,123,255,.1);background-color:#fff}.form-help{display:block;margin-top:.5rem;color:#6c757d;font-size:.875rem}.form-actions{margin-top:2rem}.create-job-button{background-color:#007bff;color:#fff;border:none;padding:1rem 2rem;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:200px}.create-job-button:hover:not(:disabled){background-color:#0056b3;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,123,255,.3)}.create-job-button:disabled{background-color:#6c757d;cursor:not-allowed;transform:none;box-shadow:none}.error-message{background-color:#f8d7da;color:#721c24;padding:.75rem 1rem;border-radius:8px;border:1px solid #f5c6cb;margin-bottom:1rem;font-size:.9rem}.piercing-container{display:flex;justify-content:center;align-items:center;min-height:60vh;padding:2rem}.piercing-dialog{background:linear-gradient(135deg,#e3f2fd,#f8f9fa);border-radius:16px;padding:3rem;max-width:600px;width:100%;box-shadow:0 8px 32px rgba(0,0,0,.1);text-align:center;position:relative}.info-icon{margin-bottom:2rem}.icon-circle{width:60px;height:60px;background-color:#007bff;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto;box-shadow:0 4px 12px rgba(0,123,255,.3)}.icon-text{color:#fff;font-size:1.5rem;font-weight:700}.message-content{margin-bottom:2.5rem;line-height:1.8}.greeting{font-size:1.2rem;color:#2c3e50;margin-bottom:1.5rem;font-weight:500}.instruction{margin-bottom:1.5rem}.conclusion,.instruction{font-size:1.1rem;color:#495057}.conclusion{margin-bottom:0;font-style:italic}.operation-selection{margin-bottom:3rem;padding:2rem;background-color:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.05)}.selection-title{font-size:1.3rem;font-weight:600;color:#2c3e50;margin-bottom:1.5rem}.radio-options{gap:2rem;flex-wrap:wrap}.radio-option,.radio-options{display:flex;justify-content:center}.radio-option{align-items:center;gap:.75rem;cursor:pointer;padding:1rem 1.5rem;border:2px solid #dee2e6;border-radius:12px;background-color:#f8f9fa;transition:all .3s ease;min-width:150px}.radio-option:hover{border-color:#007bff;background-color:#e3f2fd}.radio-input{width:20px;height:20px;accent-color:#007bff;cursor:pointer}.radio-input:checked+.radio-label{color:#007bff;font-weight:600}.radio-option:has(.radio-input:checked){border-color:#007bff;background-color:#e3f2fd;box-shadow:0 4px 12px rgba(0,123,255,.2)}.radio-label{font-size:1.1rem;color:#495057;cursor:pointer;transition:color .3s ease}.action-buttons{display:flex;gap:1.5rem;justify-content:center;flex-wrap:wrap}.back-btn{background-color:#6c757d;color:#fff;border:none;padding:1rem 2rem;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:120px}.back-btn:hover{background-color:#5a6268;transform:translateY(-2px)}.confirm-btn{background-color:#007bff;color:#fff;border:none;padding:1rem 2rem;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:200px}.confirm-btn:hover{background-color:#0056b3;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,123,255,.3)}.header-center{display:flex;justify-content:center;flex:1 1}.piercing-icon{background-color:#007bff;color:#fff;padding:.5rem 1rem;border-radius:6px;font-size:.9rem;font-weight:600;display:flex;align-items:center;gap:.5rem}.operating-form{max-width:800px;margin:0 auto;padding:2rem}.form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:3rem;gap:3rem;margin-bottom:3rem}.form-group{display:flex;flex-direction:column;gap:.75rem}.form-label{font-size:1.1rem;font-weight:600;color:#495057;margin-bottom:.5rem}.form-select{border:2px solid #dee2e6;border-radius:8px;font-size:1rem;background-color:#fff;color:#495057;cursor:pointer;transition:all .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 1rem center;background-size:1rem;padding:1rem 3rem 1rem 1.25rem}.form-select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px rgba(0,123,255,.1)}.form-select:hover{border-color:#adb5bd}.form-actions{text-align:center;margin-top:3rem}.start-job-button{background-color:#28a745;color:#fff;border:none;padding:1rem 2.5rem;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:200px}.start-job-button:hover{background-color:#218838;transform:translateY(-2px);box-shadow:0 4px 12px rgba(40,167,69,.3)}.status-container{max-width:900px;margin:0 auto;padding:2rem}.status-title{font-size:1.8rem;font-weight:700;text-align:left;margin-bottom:2rem;color:#2c3e50}.device-logs-container{background-color:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.1);width:400px;flex-shrink:0;overflow:hidden;align-self:flex-start}.device-logs-header{background-color:#007bff;color:#fff;padding:.75rem 1rem;font-weight:600;font-size:1rem;border-bottom:2px solid #0056b3}.device-logs-content{max-height:250px;overflow-y:auto;padding:1rem;background-color:#f8f9fa}.device-log-item{display:flex;gap:1rem;padding:.5rem;margin-bottom:.5rem;background-color:#fff;border-radius:6px;border-left:3px solid #007bff;font-size:.9rem;box-shadow:0 1px 3px rgba(0,0,0,.05)}.device-log-item:last-child{margin-bottom:0}.log-time{color:#6c757d;font-weight:600;min-width:100px;font-size:.85rem}.log-action{color:#495057;flex:1 1}.device-logs-content::-webkit-scrollbar{width:6px}.device-logs-content::-webkit-scrollbar-track{background:#e9ecef;border-radius:10px}.device-logs-content::-webkit-scrollbar-thumb{background:#007bff;border-radius:10px}.device-logs-content::-webkit-scrollbar-thumb:hover{background:#0056b3}.loading-section{text-align:center;padding:4rem 2rem}.loading-spinner{width:60px;height:60px;border:4px solid #f3f3f3;border-top-color:#007bff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1.5rem}.loading-text{font-size:1.3rem;font-weight:600;color:#495057;margin-bottom:.5rem}.loading-subtext{font-size:1rem;color:#6c757d;margin-bottom:0}.status-legend{display:flex;flex-wrap:wrap;gap:2rem;margin-bottom:3rem;padding:1.5rem;background-color:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.05)}.legend-item{display:flex;align-items:center;gap:.75rem;font-size:.95rem;color:#495057}.legend-color{width:20px;height:20px;border-radius:4px;flex-shrink:0}.legend-color.red{background-color:#dc3545}.legend-color.orange{background-color:#fd7e14}.legend-color.green{background-color:#28a745}.status-bars{display:flex;gap:.5rem;margin-bottom:1rem;padding:2rem;background-color:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.05);flex-wrap:wrap;justify-content:center}.status-bar-container{display:flex;flex-direction:column;align-items:center;gap:.5rem}.status-bar{width:40px;height:120px;border-radius:6px;transition:all .3s ease;box-shadow:0 2px 6px rgba(0,0,0,.1)}.status-bar:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.2)}.bar-number{font-size:.9rem;font-weight:600;color:#495057}.status-actions{display:flex;justify-content:center;gap:1rem;margin-top:1rem}.confirm-status-btn{background-color:#007bff;color:#fff;border:none;padding:1rem 3rem;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:150px}.confirm-status-btn:hover{background-color:#0056b3;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,123,255,.3)}.retry-btn{background-color:#6c757d;color:#fff;border:none;padding:1rem 3rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:150px}.retry-btn:hover{background-color:#545b62;transform:translateY(-2px);box-shadow:0 4px 12px hsla(208,7%,46%,.3)}.loading-container{display:flex;justify-content:center;align-items:center;min-height:60vh;padding:2rem}.error-section,.processing-section{text-align:center;max-width:1000px;width:100%}.processing-layout{display:flex;gap:2rem;align-items:flex-start;justify-content:center;margin-top:2rem}.processing-content{flex:1 1;max-width:500px}.loading-spinner-large{width:80px;height:80px;border:6px solid #f3f3f3;border-top-color:#007bff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 2rem}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loading-title{font-size:2rem;font-weight:700;color:#1a1a1a;margin-bottom:1rem}.loading-subtitle{font-size:1.1rem;color:#6c757d;margin-bottom:3rem;line-height:1.5}.job-parameters{background-color:#f8f9fa;border-radius:8px;padding:2rem;margin-bottom:2rem;border:1px solid #e9ecef}.parameter-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #e9ecef}.parameter-item:last-child{border-bottom:none}.parameter-label{font-weight:600;color:#495057}.parameter-value{color:#007bff;font-weight:500}.error-section{padding:3rem 2rem}.error-icon{font-size:4rem;margin-bottom:1rem}.error-title{font-size:2rem;font-weight:700;color:#dc3545;margin-bottom:1rem}.error-message{font-size:1.1rem;color:#6c757d;margin-bottom:2rem}.result-tab{margin-top:2rem;background-color:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.06);padding:1.5rem}.result-tab-header{font-size:1.25rem;font-weight:700;color:#2c3e50;margin-bottom:1rem}.dropdown-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:1rem;gap:1rem;margin-bottom:1.5rem}.result-field{display:flex;flex-direction:column;gap:.5rem}.result-label{font-weight:600;color:#495057}.result-select{border:2px solid #dee2e6;border-radius:8px;font-size:1rem;background-color:#fff;color:#495057;cursor:pointer;transition:all .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 1rem center;background-size:1rem;padding:.875rem 3rem .875rem 1rem}input[type=number].result-select{background-image:none;padding-right:1rem}input[type=number].result-select::-webkit-inner-spin-button,input[type=number].result-select::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number].result-select{-moz-appearance:textfield}.result-select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px rgba(0,123,255,.1)}.controls-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:1rem 2rem;gap:1rem 2rem;margin-bottom:1.5rem}.control-item{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:10px;padding:1rem}.control-label{font-size:.95rem;color:#495057;margin-bottom:.5rem}.control-row{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;grid-gap:.75rem;gap:.75rem}.control-btn{font-size:1.25rem;cursor:pointer}.control-btn,.control-value{background-color:#fff;border:2px solid #dee2e6;border-radius:8px;font-weight:700;height:44px}.control-value{align-items:center}.control-value,.result-tab-actions{display:flex;justify-content:center}.result-tab-actions{margin-top:1rem}@media (max-width:768px){.container{padding:0 .5rem}.job-info{flex-direction:column;gap:.5rem;align-items:flex-start}.title{font-size:1.5rem}.category-tabs{flex-wrap:wrap;gap:.5rem;justify-content:flex-start}.category-tab{padding:.75rem 1rem;font-size:.9rem}.materials-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.grade-selection{gap:.5rem}.grade-label{padding:.75rem 1.5rem;min-width:60px;font-size:.9rem}.processing-layout{flex-direction:column;align-items:center}.device-logs-container{width:100%;max-width:500px}.size-inputs{grid-template-columns:1fr;gap:1.5rem}.specs-title{font-size:1.25rem}.thickness-title{font-size:1.1rem}.controls-grid,.dropdown-row{grid-template-columns:1fr}}.device-management-section{max-width:800px;margin:3rem auto 0;padding:0 1rem}.section-title{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:2rem;color:#2c3e50}.device-buttons{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1.5rem;gap:1.5rem}.device-nav-button{display:flex;align-items:center;gap:1.5rem;padding:2rem;background:#fff;border:2px solid #e9ecef;border-radius:16px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px rgba(0,0,0,.08);text-align:left}.device-nav-button:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.15)}.device-connection-btn:hover{border-color:#28a745;background:linear-gradient(135deg,rgba(40,167,69,.05),rgba(40,167,69,.02))}.device-data-btn:hover{border-color:#667eea;background:linear-gradient(135deg,rgba(102,126,234,.05),rgba(118,75,162,.02))}.button-icon{font-size:3rem;line-height:1;flex-shrink:0}.button-content{display:flex;flex-direction:column;gap:.5rem}.button-title{font-size:1.25rem;font-weight:700;color:#2c3e50}.button-description{font-size:.95rem;color:#6c757d;line-height:1.4}@media (max-width:768px){.device-buttons{grid-template-columns:1fr}.device-nav-button{padding:1.5rem}.button-icon{font-size:2.5rem}.button-title{font-size:1.1rem}.button-description{font-size:.875rem}}