.parts-inventory-container{background-color:var(--background-color);max-width:1600px;margin:0 auto;padding:2rem}.parts-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:2rem;display:flex}.parts-header h1{color:var(--text-primary);margin:0;font-size:2rem}.parts-actions{flex-wrap:wrap;gap:.75rem;display:flex}.parts-filters{margin-bottom:1.5rem}.parts-filters input{border:1px solid var(--border-color);background:var(--input-bg);width:100%;color:var(--text-primary);border-radius:8px;padding:.75rem 1rem;font-size:1rem;transition:border-color .2s}.parts-filters input:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px var(--accent-light);outline:none}.parts-filters input::placeholder{color:var(--text-tertiary)}.parts-table-container{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;margin-bottom:1.5rem;overflow:hidden}.parts-table{border-collapse:collapse;width:100%}.parts-table thead{background:var(--background-secondary);border-bottom:2px solid var(--border-color)}.parts-table th{text-align:left;color:var(--text-primary);text-transform:uppercase;letter-spacing:.5px;padding:1rem;font-size:.9rem;font-weight:600}.parts-table tbody tr{border-bottom:1px solid var(--border-color);transition:background-color .2s}.parts-table tbody tr:hover{background:var(--background-secondary)}.parts-table tbody tr.low-stock{background:#ef44440d}.parts-table tbody tr.low-stock:hover{background:#ef44441a}.parts-table td{color:var(--text-primary);padding:1rem}.quantity-cell{align-items:center;gap:.5rem;display:flex}.quantity-low{color:var(--color-error);font-weight:600}.quantity-ok{color:var(--color-success);font-weight:600}.low-stock-indicator{font-size:1.2rem}.universal-badge{color:#fff;text-transform:uppercase;letter-spacing:.5px;background:#6b7280;border-radius:12px;margin-left:.5rem;padding:.25rem .75rem;font-size:.75rem;font-weight:600;display:inline-block}.universal-badge-small{color:#fff;text-transform:uppercase;letter-spacing:.3px;background:#6b7280;border-radius:8px;padding:.2rem .5rem;font-size:.7rem;font-weight:600;display:inline-block}.badge{background:var(--primary-color);color:#fff;border-radius:12px;padding:.35rem .75rem;font-size:.85rem;font-weight:500;display:inline-block}.badge-small{background:var(--primary-color);color:#fff;border-radius:8px;padding:.25rem .6rem;font-size:.75rem;font-weight:500;display:inline-block}.part-actions{flex-wrap:wrap;gap:.5rem;display:flex}.btn-adjust{background:var(--background-secondary);border:1px solid var(--border-color);cursor:pointer;color:var(--text-primary);border-radius:6px;min-width:32px;padding:.35rem .65rem;font-size:1rem;font-weight:600;transition:all .2s}.btn-adjust:hover{background:var(--primary-color);color:#fff;border-color:var(--primary-color);transform:translateY(-1px)}.btn-edit{background:var(--primary-color);cursor:pointer;color:#fff;border:none;border-radius:6px;padding:.35rem .75rem;font-size:.85rem;font-weight:500;transition:all .2s}.btn-edit:hover{background:var(--primary-hover);transform:translateY(-1px)}.btn-secondary-small{background:var(--background-secondary);border:1px solid var(--border-color);cursor:pointer;color:var(--text-primary);border-radius:6px;padding:.35rem .75rem;font-size:.85rem;font-weight:500;transition:all .2s}.btn-secondary-small:hover{background:var(--primary-color);color:#fff;border-color:var(--primary-color);transform:translateY(-1px)}.btn-delete-small{background:var(--background-secondary);border:1px solid var(--border-color);cursor:pointer;color:var(--color-error);border-radius:6px;padding:.35rem .75rem;font-size:.85rem;font-weight:500;transition:all .2s}.btn-delete-small:hover{background:var(--color-error);color:#fff;border-color:var(--color-error);transform:translateY(-1px)}.parts-summary{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;flex-wrap:wrap;gap:2rem;padding:1.5rem;display:flex}.parts-summary p{color:var(--text-primary);margin:0;font-size:1rem}.parts-summary p strong{color:var(--primary-color);font-weight:700}.empty{text-align:center;color:var(--text-secondary);padding:3rem 2rem;font-size:1rem}.part-form-modal{z-index:1000;background:#000000b3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.part-form{background:var(--card-bg);border-radius:var(--radius-lg);width:90%;max-width:600px;max-height:90vh;padding:2rem;overflow-y:auto;box-shadow:0 10px 40px #0000004d}.part-form h3{color:var(--text-primary);margin:0 0 1.5rem;font-size:1.75rem}.form-row{grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.25rem;display:grid}.form-group{margin-bottom:1.25rem}.form-group label{color:var(--text-primary);margin-bottom:.5rem;font-size:.95rem;font-weight:500;display:block}.form-group input,.form-group select{background:var(--input-bg);border:1px solid var(--border-color);border-radius:var(--radius-sm);width:100%;color:var(--text-primary);transition:border-color var(--transition-fast);padding:.75rem;font-size:1rem}.form-group input:focus,.form-group select:focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 3px #5a67d81a}.form-group input::placeholder{color:var(--text-tertiary)}.form-help{color:var(--text-secondary);margin-top:.35rem;font-size:.85rem;display:block}.form-error{border:1px solid var(--color-error);color:var(--color-error);background:#ef44441a;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.9rem}.form-actions{border-top:1px solid var(--border-color);gap:1rem;margin-top:2rem;padding-top:1.5rem;display:flex}.form-actions button{cursor:pointer;border-radius:8px;flex:1;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;transition:all .2s}.modal-header{margin-bottom:1.5rem}.modal-header h3{margin:0 0 .5rem}.part-info{color:var(--text-secondary);margin:0;font-size:.95rem}.compatibility-content{margin:1.5rem 0}.vehicle-checklist{max-height:400px;padding:.5rem 0;overflow-y:auto}.vehicle-checkbox-item{background:var(--background-secondary);border:1px solid var(--border-color);border-radius:8px;margin-bottom:.75rem;padding:.75rem 1rem;transition:all .2s}.vehicle-checkbox-item:hover{background:var(--card-bg);border-color:var(--primary-color)}.vehicle-checkbox-item label{cursor:pointer;align-items:center;gap:.75rem;margin:0;font-weight:400;display:flex}.vehicle-checkbox-item input[type=checkbox]{cursor:pointer;width:20px;height:20px;accent-color:var(--primary-color)}.vehicle-name{color:var(--text-primary);flex:1;font-size:1rem}.parts-list-container{padding:1.5rem}.parts-list-container h3{color:var(--text-primary);margin:0 0 .5rem;font-size:1.5rem}.section-description{color:var(--text-secondary);margin:0 0 1.5rem;font-size:.95rem}.parts-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;display:grid}.part-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:1.25rem;transition:all .2s}.part-card:hover{border-color:var(--primary-color);transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.part-header{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.part-header strong{color:var(--primary-color);font-size:1.1rem}.part-description{color:var(--text-primary);margin:0 0 1rem;font-size:.95rem}.part-details{flex-direction:column;gap:.5rem;display:flex}.detail-item{justify-content:space-between;align-items:center;font-size:.9rem;display:flex}.detail-label{color:var(--text-secondary);font-weight:500}.detail-item span:not(.detail-label){color:var(--text-primary)}.text-muted{color:var(--text-tertiary)}.maintenance-plans{margin-top:var(--spacing-xl)}.plans-header{margin-bottom:var(--spacing-lg);justify-content:space-between;align-items:center;gap:var(--spacing-md);display:flex}.plans-header h3{color:var(--text-primary);margin:0;font-size:1.75rem}.plans-header button{padding:var(--spacing-sm)var(--spacing-lg);background:var(--primary-color);color:#fff;border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast);border:none;font-weight:600}.plans-header button:hover{background:var(--primary-hover);transform:translateY(-2px);box-shadow:0 4px 12px #5a67d84d}.plans-grid{gap:var(--spacing-lg);grid-template-columns:repeat(auto-fill,minmax(350px,1fr));display:grid}.plan-card{background:var(--card-bg);border:2px solid var(--border-color);border-radius:var(--radius-lg);padding:var(--spacing-lg);transition:all var(--transition-normal)}.plan-card:hover{border-color:var(--primary-color);transform:translateY(-3px);box-shadow:0 8px 20px #0000001a}.plan-card.inactive{opacity:.6;border-color:var(--text-tertiary)}.plan-card.inactive:hover{opacity:.8}.plan-header{margin-bottom:var(--spacing-md);padding-bottom:var(--spacing-md);border-bottom:2px solid var(--border-color)}.plan-header h4{color:var(--text-primary);margin:0 0 var(--spacing-sm)0;font-size:1.3rem}.plan-interval{background:var(--background-secondary);color:var(--primary-color);padding:var(--spacing-xs)var(--spacing-md);border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;display:inline-block}.plan-cost{margin:var(--spacing-md)0;padding:var(--spacing-sm)var(--spacing-md);border-radius:var(--radius-sm);color:#059669;background:linear-gradient(135deg,#10b9811a 0%,#0596691a 100%);border-left:4px solid #10b981;font-weight:600}.plan-cost-empty{margin:var(--spacing-md)0;padding:var(--spacing-sm)var(--spacing-md);background:var(--background-secondary);border-left:4px solid var(--border-color);border-radius:var(--radius-sm);color:var(--text-secondary);font-size:.9rem;font-style:italic}.last-performed{margin:var(--spacing-md)0;padding:var(--spacing-sm)0}.last-performed strong{color:var(--text-secondary);margin-bottom:var(--spacing-xs);text-transform:uppercase;letter-spacing:.5px;font-size:.85rem;display:block}.last-performed div{color:var(--text-primary);font-size:.95rem}.plan-notes{margin:var(--spacing-md)0;padding:var(--spacing-md);background:var(--background-secondary);border-radius:var(--radius-sm);color:var(--text-primary);font-size:.9rem;line-height:1.5}.plan-actions{gap:var(--spacing-sm);margin-top:var(--spacing-md);padding-top:var(--spacing-md);border-top:1px solid var(--border-color);flex-wrap:wrap;display:flex}.plan-actions button{flex:1;min-width:100px}.maintenance-plan-form{background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:var(--spacing-xl);margin-top:var(--spacing-lg)}.maintenance-plan-form h4{color:var(--text-primary);margin:0 0 var(--spacing-lg)0;font-size:1.5rem}.plan-parts-list{margin-bottom:var(--spacing-xl)}.plan-parts-list h4{color:var(--text-primary);margin:0 0 var(--spacing-md)0;font-size:1.2rem}.plan-part-item{background:var(--background-secondary);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:var(--spacing-md);margin-bottom:var(--spacing-sm)}.part-info-row{justify-content:space-between;align-items:center;gap:var(--spacing-md);margin-bottom:var(--spacing-xs);display:flex}.part-info-row strong{color:var(--text-primary);font-size:1rem}.part-quantity-info{color:var(--text-secondary);margin-top:var(--spacing-xs);font-size:.9rem}.add-part-form{background:var(--background-secondary);border:2px solid var(--primary-color);border-radius:var(--radius-md);padding:var(--spacing-lg);margin:var(--spacing-md)0}.add-part-form h5{color:var(--primary-color);margin:0 0 var(--spacing-md)0;font-size:1.1rem}.available-parts-list{max-height:400px;overflow-y:auto}.available-part-item{padding:var(--spacing-md);background:var(--background-secondary);border:1px solid var(--border-color);border-radius:var(--radius-sm);margin-bottom:var(--spacing-sm);transition:all var(--transition-fast);justify-content:space-between;align-items:center;display:flex}.available-part-item:hover{background:var(--card-bg);border-color:var(--primary-color)}.available-part-item span{color:var(--text-primary);flex:1;font-size:.95rem}.btn-primary{background:var(--primary-color);color:#fff;padding:var(--spacing-sm)var(--spacing-lg);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast);border:none;font-weight:600}.btn-primary:hover{background:var(--primary-hover);transform:translateY(-2px);box-shadow:0 4px 12px #5a67d84d}.btn-primary:disabled{background:var(--background-secondary);color:var(--text-tertiary);cursor:not-allowed;box-shadow:none;transform:none}.btn-secondary{background:var(--background-secondary);color:var(--text-primary);border:1px solid var(--border-color);padding:var(--spacing-sm)var(--spacing-lg);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast);font-weight:600}.btn-secondary:hover{background:var(--card-bg);border-color:var(--primary-color);color:var(--primary-color);transform:translateY(-2px)}.parts-mobile-cards{display:none}@media (max-width:768px){.parts-inventory-container{padding:1rem}.parts-header{flex-direction:column;align-items:flex-start;gap:1rem}.parts-header h1{font-size:1.5rem}.parts-actions{flex-direction:column;width:100%}.parts-actions button{width:100%;padding:1rem;font-size:1rem}.parts-table-container{display:none}.parts-mobile-cards{display:block}.mobile-part-card{background:var(--card-bg);border:2px solid var(--border-color);border-radius:var(--radius-lg);padding:var(--spacing-lg);margin-bottom:var(--spacing-md);transition:all var(--transition-fast)}.mobile-part-card.low-stock{border-color:var(--color-error);background:#ef44440d}.mobile-part-card:active{transform:scale(.98)}.mobile-card-header{margin-bottom:var(--spacing-md);padding-bottom:var(--spacing-md);border-bottom:2px solid var(--border-color);justify-content:space-between;align-items:flex-start;gap:var(--spacing-sm);display:flex}.mobile-card-title{flex:1}.mobile-card-title h3{color:var(--primary-color);margin:0 0 var(--spacing-xs)0;font-size:1.1rem;font-weight:700}.mobile-card-title p{color:var(--text-primary);margin:0;font-size:.95rem;line-height:1.4}.mobile-card-stock{align-items:center;gap:var(--spacing-xs);flex-shrink:0;display:flex}.mobile-stock-value{text-align:right;font-size:1.3rem;font-weight:700;line-height:1}.mobile-stock-value.low{color:var(--color-error)}.mobile-stock-value.ok{color:var(--color-success)}.mobile-stock-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;font-size:.75rem;display:block}.mobile-card-details{gap:var(--spacing-md);margin-bottom:var(--spacing-md);grid-template-columns:1fr 1fr;display:grid}.mobile-detail-item{gap:var(--spacing-xs);flex-direction:column;display:flex}.mobile-detail-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;font-size:.75rem;font-weight:600}.mobile-detail-value{color:var(--text-primary);font-size:.95rem;font-weight:500}.mobile-card-badges{gap:var(--spacing-xs);margin-bottom:var(--spacing-md);flex-wrap:wrap;display:flex}.mobile-card-actions{gap:var(--spacing-sm);margin-top:var(--spacing-md);padding-top:var(--spacing-md);border-top:1px solid var(--border-color);grid-template-columns:1fr 1fr;display:grid}.mobile-card-actions button{padding:var(--spacing-sm)var(--spacing-md);border-radius:var(--radius-md);white-space:nowrap;font-size:.9rem;font-weight:600}.mobile-adjust-buttons{gap:var(--spacing-xs);display:flex}.mobile-adjust-buttons button{flex:1;justify-content:center;align-items:center;min-width:44px;height:44px;font-size:1.2rem;display:flex}.form-row,.parts-grid{grid-template-columns:1fr}.parts-summary{flex-direction:column;gap:1rem;padding:1rem}.plans-grid{grid-template-columns:1fr}.plans-header{flex-direction:column;align-items:flex-start}.plans-header button{width:100%;padding:1rem;font-size:1rem}.plan-actions{flex-direction:column}.plan-actions button{width:100%;padding:.75rem;font-size:.95rem}.part-form{width:95%;max-height:95vh;padding:1.5rem}.part-form h3{font-size:1.3rem}.form-actions{flex-direction:column}.form-actions button{width:100%;padding:1rem;font-size:1rem}button{min-height:44px}input,select,textarea{min-height:44px;font-size:16px!important}}