.vehicle-detail-container{max-width:1400px;padding:var(--spacing-xl);margin:0 auto}.detail-header{margin-bottom:var(--spacing-xl)}.back-btn{background:var(--background-color);color:var(--text-primary);border:2px solid var(--border-color);padding:var(--spacing-sm)var(--spacing-lg);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-normal);margin-bottom:var(--spacing-xl);font-size:1rem;font-weight:600;text-decoration:none;display:inline-block}.back-btn:hover{background:var(--card-bg);border-color:var(--primary-color);transform:translate(-3px)}.vehicle-hero{background:var(--card-bg);border-radius:var(--radius-lg);margin-bottom:var(--spacing-xl);overflow:hidden}.vehicle-hero-image{background:var(--card-bg);width:100%;height:400px;overflow:hidden}.vehicle-hero-image img{object-fit:cover;width:100%;height:100%}.vehicle-hero-info{padding:var(--spacing-xl)}.vehicle-hero-title{color:var(--text-primary);margin-bottom:var(--spacing-md);font-size:2.5rem}.vehicle-meta{gap:var(--spacing-md);display:flex}.meta-badge{background:var(--background-color);color:var(--text-primary);padding:var(--spacing-sm)var(--spacing-md);border-radius:var(--radius-sm);border:2px solid var(--border-color);font-size:.9rem;font-weight:600}.vehicle-content-grid{gap:var(--spacing-xl);margin-bottom:var(--spacing-xl);grid-template-columns:2fr 1fr;display:grid}@media (max-width:968px){.vehicle-content-grid{grid-template-columns:1fr}}.vehicle-specs-card,.vehicle-actions-card,.section-card{background:var(--card-bg);border-radius:var(--radius-md);padding:var(--spacing-xl)}.vehicle-specs-card h2,.vehicle-actions-card h2,.section-card h2{color:var(--text-primary);margin-bottom:var(--spacing-lg);font-size:1.5rem}.specs-grid{gap:var(--spacing-lg);grid-template-columns:repeat(2,1fr);display:grid}@media (max-width:768px){.specs-grid{grid-template-columns:1fr}}.spec-item{flex-direction:column;display:flex}.spec-label{color:var(--text-secondary);margin-bottom:var(--spacing-xs);font-size:.9rem;font-weight:500}.spec-value{color:var(--text-primary);font-size:1.1rem;font-weight:600}.action-buttons{gap:var(--spacing-md);flex-direction:column;display:flex}.action-btn{border:2px solid var(--border-color);border-radius:var(--radius-lg);cursor:pointer;text-align:center;background:var(--card-bg);color:var(--text-primary);justify-content:center;align-items:center;gap:.5rem;padding:1rem 1.25rem;font-size:1rem;font-weight:600;text-decoration:none;transition:all .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 1px 3px #0000001a}.action-btn:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(90deg,#0000,#ffffff1a,#0000);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}.action-btn>*{z-index:1;color:inherit;position:relative}.action-btn span{color:inherit;font-weight:inherit;line-height:1.4}.action-btn:hover:before{left:100%}.action-btn:hover{background:var(--background-color);border-color:var(--primary-color);transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.action-btn:active{transform:translateY(0);box-shadow:0 1px 3px #0000001a}.action-btn:focus{outline:2px solid var(--primary-color);outline-offset:2px}.action-btn.primary{background:var(--primary-color);color:#fff;border-color:var(--primary-color);font-weight:700}.action-btn.primary:hover{background:#e64500;border-color:#e64500;transform:translateY(-2px)}.action-btn.primary:active{background:#d43f00;transform:translateY(0)}.action-btn.danger{background:var(--color-error);color:#fff;border-color:var(--color-error)}.action-btn.danger:hover{background:#dc2626;border-color:#dc2626;transform:translateY(-2px)}.action-btn.danger:active{background:#b91c1c;transform:translateY(0)}.vehicle-features{margin-bottom:var(--spacing-2xl)}.feature-tabs{gap:var(--spacing-sm);margin-bottom:var(--spacing-xl);border-bottom:2px solid var(--border-color);flex-wrap:wrap;padding-bottom:0;display:flex;position:relative;overflow-x:auto}.tab{padding:var(--spacing-md)var(--spacing-lg);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);white-space:nowrap;background:0 0;border:none;border-bottom:3px solid #0000;margin-bottom:-2px;font-size:1rem;font-weight:600}.tab:hover{color:var(--text-primary);background:var(--background-color)}.tab.active{color:var(--primary-color);border-bottom-color:var(--primary-color)}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#000000bf;justify-content:center;align-items:center;animation:.2s fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:var(--card-bg);border-radius:var(--radius-lg);border:1px solid var(--border-color);max-height:90vh;padding:0;animation:.3s slideUp;overflow-y:auto;box-shadow:0 20px 60px #0006}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{border-bottom:2px solid var(--border-color);background:var(--background-color);border-radius:var(--radius-lg)var(--radius-lg)0 0;justify-content:space-between;align-items:center;padding:1.5rem;display:flex}.modal-header h2{color:var(--text-primary);letter-spacing:-.02em;margin:0;font-size:1.5rem;font-weight:700}.close-btn{background:var(--background-color);border:2px solid var(--border-color);color:var(--text-secondary);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;padding:0;font-size:1.5rem;line-height:1;transition:all .2s;display:flex}.close-btn:hover{color:var(--text-primary);background:var(--card-bg);border-color:var(--primary-color);transform:rotate(90deg)}.close-btn:active{transform:rotate(90deg)scale(.95)}.quick-actions-modal{width:90%;max-width:480px;max-height:85vh}.quick-actions-modal .action-buttons{grid-template-columns:1fr;gap:.75rem;padding:1.5rem;display:grid}@media (max-width:768px){.quick-actions-modal{width:95%;max-height:90vh}.modal-header{padding:1rem}.modal-header h2{font-size:1.25rem}.quick-actions-modal .action-buttons{gap:.65rem;padding:1rem}}.feature-content{background:var(--card-bg);border-radius:var(--radius-lg);padding:var(--spacing-xl);box-shadow:var(--shadow-sm)}.vehicle-sections{gap:var(--spacing-xl);grid-template-columns:repeat(auto-fit,minmax(350px,1fr));display:grid}.empty-state{color:var(--text-secondary);text-align:center;padding:var(--spacing-xl);font-style:italic}.loading,.error,.vehicle-detail-loading{text-align:center;padding:var(--spacing-2xl);background:var(--background-color);min-height:400px;color:var(--text-primary);border-radius:var(--radius-md);flex-direction:column;justify-content:center;align-items:center;display:flex}.vehicle-detail-loading{min-height:60vh}.loading p,.vehicle-detail-loading p{color:var(--text-secondary);margin-top:var(--spacing-lg);font-size:1.1rem}.loading-spinner{border:4px solid var(--border-color);border-top:4px solid var(--primary-color);border-radius:50%;width:50px;height:50px;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error{color:var(--color-error)}.error h2{margin-bottom:var(--spacing-md);color:var(--color-error)}.upload-section{margin-bottom:var(--spacing-xl);padding-bottom:var(--spacing-xl);border-bottom:1px solid var(--border-color)}.upload-section h3{color:var(--text-primary);margin-bottom:var(--spacing-md)}.upload-options{margin-bottom:var(--spacing-md)}.upload-options label{align-items:center;gap:var(--spacing-sm);color:var(--text-primary);cursor:pointer;display:flex}.upload-options input[type=checkbox]{cursor:pointer;width:18px;height:18px}.image-gallery h3{color:var(--text-primary);margin-bottom:var(--spacing-lg)}.gallery-grid{gap:var(--spacing-lg);grid-template-columns:repeat(auto-fill,minmax(200px,1fr));display:grid}.image-card{background:var(--card-bg);border-radius:var(--radius-md);transition:transform var(--transition-normal);overflow:hidden}.image-card:hover{transform:translateY(-2px)}.image-card-preview{background:var(--background-color);justify-content:center;align-items:center;width:100%;height:200px;display:flex;position:relative}.image-card-preview img{object-fit:cover;width:100%;height:100%}.cover-badge{top:var(--spacing-sm);right:var(--spacing-sm);background:var(--primary-color);color:#fff;padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);font-size:.85rem;font-weight:600;position:absolute}.image-card-info{padding:var(--spacing-md)}.image-filename{color:var(--text-primary);margin-bottom:var(--spacing-xs);white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:600;overflow:hidden}.image-size{color:var(--text-secondary);font-size:.8rem}.image-card-actions{gap:var(--spacing-sm);padding:var(--spacing-md);padding-top:0;display:flex}.btn-small{padding:var(--spacing-sm)var(--spacing-md);border-radius:var(--radius-sm);cursor:pointer;transition:opacity var(--transition-normal);border:none;flex:1;font-size:.9rem;font-weight:600}.btn-small.primary{background:var(--primary-color);color:#fff}.btn-small.danger{background:var(--color-error);color:#fff}.btn-small:hover{opacity:.9}.btn-small:disabled{opacity:.5;cursor:not-allowed}.no-image-placeholder{background:var(--background-color);width:100%;height:100%;color:var(--text-secondary);justify-content:center;align-items:center;font-size:1.2rem;display:flex}.vehicle-detail-image{object-fit:cover;width:100%;height:100%}.issue-board{background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:var(--spacing-lg);margin-top:var(--spacing-lg)}.issue-board-header{margin-bottom:var(--spacing-md);justify-content:space-between;align-items:center;display:flex}.issue-board-header h3{color:var(--text-primary);margin:0;font-size:1.2rem}.add-issue-form{background:var(--background-secondary);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:var(--spacing-md);margin-bottom:var(--spacing-md)}.form-row{gap:var(--spacing-sm);margin-top:var(--spacing-sm);display:flex}.severity-select{padding:var(--spacing-sm);border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--card-bg);color:var(--text-primary);flex:0 0 120px;font-size:.9rem}.issues-list{gap:var(--spacing-sm);flex-direction:column;display:flex}.issue-card{background:var(--background-secondary);border-left:4px solid var(--border-color);border-radius:var(--radius-sm);padding:var(--spacing-md);transition:all var(--transition-normal)}.issue-card:hover{background:var(--card-bg);transform:translate(2px)}.issue-card.severity-high{border-left-color:#e74c3c}.issue-card.severity-medium{border-left-color:#f39c12}.issue-card.severity-low{border-left-color:#3498db}.issue-content{justify-content:space-between;align-items:flex-start;gap:var(--spacing-md);display:flex}.issue-text{flex:1}.issue-description{margin:0 0 var(--spacing-xs)0;color:var(--text-primary);font-size:.95rem}.issue-link-badge{background:var(--primary-color);color:#fff;padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);font-size:.75rem;font-weight:600;display:inline-block}.issue-actions{gap:var(--spacing-xs);display:flex}.btn-resolve{color:#fff;padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-normal);background:#27ae60;border:none;font-size:.9rem}.btn-resolve:hover{background:#229954;transform:scale(1.05)}.btn-delete{color:#fff;padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-normal);background:#e74c3c;border:none;font-size:.9rem}.btn-delete:hover{background:#c0392b;transform:scale(1.05)}.empty-state-small{text-align:center;padding:var(--spacing-xl);color:var(--text-secondary);font-size:.9rem}.loading-small{text-align:center;padding:var(--spacing-lg);color:var(--text-secondary)}.vehicle-right-column{gap:var(--spacing-lg);flex-direction:column;display:flex}.slider-group{margin-bottom:var(--spacing-lg)}.slider-container{gap:var(--spacing-sm);flex-direction:column;max-width:400px;display:flex}.slider-labels{margin-bottom:var(--spacing-xs);justify-content:space-between;display:flex}.slider-labels span{color:var(--text-secondary);transition:all var(--transition-normal);cursor:default;font-size:.95rem;font-weight:500}.slider-labels span.active{color:var(--primary-color);font-weight:700}.slider-container input[type=range]{background:var(--border-color);-webkit-appearance:none;cursor:pointer;border-radius:5px;outline:none;width:100%;height:8px}.slider-container input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--primary-color);cursor:pointer;width:24px;height:24px;transition:all var(--transition-normal);border-radius:50%}.slider-container input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.15);box-shadow:0 0 10px #3b82f680}.slider-container input[type=range]::-moz-range-thumb{background:var(--primary-color);cursor:pointer;width:24px;height:24px;transition:all var(--transition-normal);border:none;border-radius:50%}.slider-container input[type=range]::-moz-range-thumb:hover{transform:scale(1.15);box-shadow:0 0 10px #3b82f680}.status-slider{margin-top:var(--spacing-sm);max-width:600px}.status-labels{justify-content:space-between;gap:var(--spacing-xs);display:flex}.status-labels span{text-align:center;padding:var(--spacing-sm)var(--spacing-xs);background:var(--card-bg);border:2px solid var(--border-color);border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-normal);flex:1;font-size:.9rem;font-weight:500}.status-labels span:hover{border-color:var(--primary-color);background:var(--background-color)}.status-labels span.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color);font-weight:700}.toggle-group{margin-bottom:var(--spacing-md)}.toggle-group label{align-items:center;gap:var(--spacing-sm);cursor:pointer;color:var(--text-primary);font-weight:500;display:flex}.toggle-group input[type=checkbox]{cursor:pointer;width:20px;height:20px;accent-color:var(--primary-color)}.date-help-text{margin-top:var(--spacing-xs);color:var(--text-secondary);font-size:.85rem;font-style:italic;line-height:1.4}.date-subtext{margin-top:var(--spacing-xs);color:#10b981;font-size:.85rem;font-weight:500}.form-group input[type=date]{width:100%;padding:var(--spacing-sm);border:2px solid var(--border-color);border-radius:var(--radius-sm);background:var(--card-bg);color:var(--text-primary);transition:all var(--transition-normal);font-size:1rem}.form-group input[type=date]:focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 3px #3b82f61a}.repair-type-badge{padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);margin-left:var(--spacing-xs);font-size:.75rem;font-weight:600;display:inline-block}.repair-type-badge.self{color:#fff;background:#10b981}.repair-type-badge.garage{color:#fff;background:#8b5cf6}.performed-badge{padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);margin-left:var(--spacing-xs);font-size:.75rem;font-weight:600;display:inline-block}.performed-badge.self-badge{color:#fff;background:#10b981}.performed-badge.garage-badge{color:#fff;background:#8b5cf6}.service-header-row{align-items:center;gap:var(--spacing-sm);display:flex}.receipt-upload-group{background:var(--background-color);border:2px dashed var(--border-color);border-radius:var(--radius-md);padding:var(--spacing-md)}.receipt-upload-group label{color:var(--text-primary);font-weight:600}.receipt-upload-group input[type=file]{margin-top:var(--spacing-sm);padding:var(--spacing-sm);border:1px solid var(--border-color);border-radius:var(--radius-sm);cursor:pointer;width:100%}.file-selected{color:#10b981;margin-top:var(--spacing-sm);padding:var(--spacing-xs);border-radius:var(--radius-sm);background:#10b9811a;font-weight:600}.field-help{color:var(--text-secondary);margin-top:var(--spacing-xs);font-size:.85rem;font-style:italic}.receipt-section{margin-top:var(--spacing-md);padding:var(--spacing-md);background:var(--background-color);border-left:3px solid var(--primary-color);border-radius:var(--radius-sm)}.receipt-section h5{margin:0 0 var(--spacing-sm)0;color:var(--text-primary);font-size:.9rem}.receipt-image{border-radius:var(--radius-sm);border:1px solid var(--border-color);cursor:pointer;max-width:100%;height:auto;transition:transform var(--transition-fast)}.receipt-image:hover{transform:scale(1.02)}.receipt-thumbnail{object-fit:cover;border-radius:var(--radius-sm);border:2px solid var(--border-color);width:100px;height:100px}.entry-date-info{margin-top:var(--spacing-sm);padding:var(--spacing-sm);background:var(--background-color);border-left:3px solid var(--primary-color);border-radius:var(--radius-sm);font-size:.9rem}.entry-date-note{color:var(--text-secondary);font-size:.85rem;font-style:italic}.time-diff-warning{color:#f59e0b;font-size:.85rem;font-weight:600}.issue-link-group{margin-bottom:var(--spacing-lg);padding:var(--spacing-md);background:var(--background-color);border:2px solid var(--primary-color);border-radius:var(--radius-md)}.issue-link-group label{color:var(--primary-color);margin-bottom:var(--spacing-sm);font-weight:700}.issue-link-group select{width:100%;padding:var(--spacing-sm);border:2px solid var(--border-color);border-radius:var(--radius-sm);background:var(--card-bg);color:var(--text-primary);transition:all var(--transition-normal);font-size:.95rem}.issue-link-group select:focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 3px #3b82f61a}.issue-help-text{margin-top:var(--spacing-xs);color:var(--text-secondary);font-size:.85rem;font-style:italic}.linked-issue-info{margin-top:var(--spacing-sm);padding:var(--spacing-sm);border-left:3px solid var(--primary-color);border-radius:var(--radius-sm);background:linear-gradient(135deg,#3b82f61a 0%,#8b5cf61a 100%);font-size:.9rem}.linked-issue-text{color:var(--text-primary);font-weight:500}@media (max-width:768px){.vehicle-detail-container{padding:var(--spacing-md)}.vehicle-hero-image{height:250px}.vehicle-tabs{white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:thin;overflow:auto hidden}.vehicle-tabs::-webkit-scrollbar{height:4px}.vehicle-tabs::-webkit-scrollbar-thumb{background:var(--primary-color);border-radius:2px}.tab{white-space:nowrap;min-width:auto;padding:var(--spacing-sm)var(--spacing-md);font-size:.9rem;display:inline-block}.repair-form,.service-form,.modification-form{padding:var(--spacing-md)}.form-group{margin-bottom:var(--spacing-md)}.form-group input,.form-group select,.form-group textarea{font-size:16px}.slider-container{max-width:100%;margin:0 auto}.status-slider{max-width:100%}.status-labels{gap:var(--spacing-xs);flex-wrap:wrap}.status-labels span{flex:1 1 calc(50% - var(--spacing-xs));min-width:120px;padding:var(--spacing-xs);font-size:.85rem}.repair-grid,.service-grid,.modification-grid,.fuel-grid{gap:var(--spacing-md);grid-template-columns:1fr!important}.repair-card,.service-card,.modification-card{padding:var(--spacing-md)}.repair-card-header h4{font-size:1.1rem}.header-badges{gap:var(--spacing-xs);flex-wrap:wrap}.status-badge,.repair-type-badge,.backdated-badge{padding:calc(var(--spacing-xs)*.7)var(--spacing-xs);font-size:.7rem}.repair-card-actions,.service-card-actions{gap:var(--spacing-sm);flex-direction:column}.repair-card-actions button,.service-card-actions button,.repair-form button[type=button],.repair-form button[type=submit]{width:100%;padding:var(--spacing-md);font-size:1rem}.repair-header button,.service-header button{width:100%;margin-top:var(--spacing-sm)}.vehicle-info-grid{gap:var(--spacing-sm);grid-template-columns:1fr}.info-item{padding:var(--spacing-sm);font-size:.9rem}.repair-stats,.service-stats{gap:var(--spacing-sm);flex-direction:column}.stat-box{width:100%;padding:var(--spacing-md)}.issue-link-group{padding:var(--spacing-sm)}.issue-link-group select{font-size:16px}.entry-date-info,.linked-issue-info{padding:var(--spacing-xs);font-size:.85rem}.modal-content{width:95%;max-width:95%;margin:var(--spacing-md);padding:var(--spacing-md)}.time-diff-warning{margin-top:var(--spacing-xs);display:block}.repair-card-body p span{display:block;margin-left:0!important}}@media (min-width:769px) and (max-width:1024px){.repair-grid,.service-grid,.modification-grid{grid-template-columns:repeat(2,1fr)}.vehicle-tabs{justify-content:flex-start;gap:var(--spacing-sm)}.tab{flex:0 auto}}@media (min-width:1400px){.vehicle-detail-container{max-width:1600px}.repair-grid,.service-grid,.modification-grid{grid-template-columns:repeat(3,1fr)}}.edit-repair-modal{max-width:800px;max-height:90vh;overflow-y:auto}.existing-receipts{margin-bottom:var(--spacing-md);padding:var(--spacing-md);border:1px solid var(--border-color);border-radius:var(--radius-sm);background:#3b82f60d}.existing-receipts-label{color:var(--text-primary);margin-bottom:var(--spacing-sm);font-size:.9rem;font-weight:600}.edit-receipt-item{margin-bottom:var(--spacing-sm)}.receipt-preview{align-items:center;gap:var(--spacing-sm);padding:var(--spacing-sm);background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius-sm);display:flex;position:relative}.receipt-thumbnail-small{object-fit:cover;border-radius:var(--radius-sm);border:1px solid var(--border-color);cursor:pointer;width:60px;height:60px;transition:transform var(--transition-fast)}.receipt-thumbnail-small:hover{transform:scale(1.05)}.receipt-filename{color:var(--text-secondary);flex:1;margin:0;font-size:.85rem}.delete-receipt-btn{color:#fff;padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);cursor:pointer;transition:background var(--transition-fast);background:#ef4444;border:none;font-size:.8rem;font-weight:600}.delete-receipt-btn:hover{background:#dc2626}.delete-confirm-overlay{z-index:1001;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.delete-confirm-box{background:var(--card-bg);padding:var(--spacing-lg);border-radius:var(--radius-md);text-align:center;max-width:400px;box-shadow:0 10px 40px #0000004d}.delete-confirm-box p{margin-bottom:var(--spacing-md);color:var(--text-primary);font-size:1.1rem;font-weight:600}.confirm-actions{gap:var(--spacing-sm);justify-content:center;display:flex}.confirm-delete-btn{color:#fff;padding:var(--spacing-sm)var(--spacing-lg);border-radius:var(--radius-sm);cursor:pointer;transition:background var(--transition-fast);background:#ef4444;border:none;font-weight:600}.confirm-delete-btn:hover{background:#dc2626}.cancel-delete-btn{background:var(--background-color);color:var(--text-primary);border:2px solid var(--border-color);padding:var(--spacing-sm)var(--spacing-lg);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-fast);font-weight:600}.cancel-delete-btn:hover{border-color:var(--primary-color);background:var(--card-bg)}.loading-receipt{color:var(--text-secondary);margin:0;font-size:.85rem;font-style:italic}.create-mod-btn-inline{color:#fff;padding:var(--spacing-sm)var(--spacing-lg);border-radius:var(--radius-sm);cursor:pointer;transition:background var(--transition-fast);background:#8b5cf6;border:none;font-size:1rem;font-weight:600}.create-mod-btn-inline:hover{background:#7c3aed}.vehicle-dashboard{gap:var(--spacing-xl);flex-direction:column;display:flex}.dashboard-section{background:var(--card-bg);border-radius:var(--radius-lg);padding:var(--spacing-xl);box-shadow:var(--shadow-sm)}.dashboard-section h3{margin-bottom:var(--spacing-lg);color:var(--text-primary);align-items:center;gap:var(--spacing-sm);font-size:1.5rem;display:flex}.urgent-section{background:linear-gradient(135deg,#ef44440d 0%,var(--card-bg)50%);border-left:4px solid #ef4444}.urgent-section h3{color:#ef4444}.in-progress-section{background:linear-gradient(135deg,#3b82f60d 0%,var(--card-bg)50%);border-left:4px solid #3b82f6}.in-progress-section h3{color:#3b82f6}.planned-section{background:linear-gradient(135deg,#10b9810d 0%,var(--card-bg)50%);border-left:4px solid #10b981}.planned-section h3{color:#10b981}.dashboard-cards{gap:var(--spacing-md);grid-template-columns:repeat(auto-fill,minmax(350px,1fr));display:grid}.dashboard-card{background:var(--background-color);border:2px solid var(--border-color);border-radius:var(--radius-md);padding:var(--spacing-md);cursor:pointer;transition:all var(--transition-normal);position:relative}.dashboard-card:hover{box-shadow:var(--shadow-md);border-color:var(--primary-color);transform:translateY(-2px)}html[data-theme=project] .dashboard-card:hover{border-color:var(--rust-orange);box-shadow:0 4px 12px #f74c0033}.dashboard-card-header{margin-bottom:var(--spacing-sm);justify-content:space-between;align-items:flex-start;display:flex}.dashboard-card-header h4{color:var(--text-primary);margin:0;font-size:1.1rem;font-weight:600}.dashboard-card.issue-card{border-left-width:4px}.dashboard-card.issue-card.priority-high{border-left-color:#ef4444}.dashboard-card.issue-card.priority-medium{border-left-color:#f59e0b}.dashboard-card.issue-card.priority-low{border-left-color:#3b82f6}.priority-badge{padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);text-transform:uppercase;font-size:.75rem;font-weight:600;display:inline-block}.priority-badge.high{color:#fff;background:#ef4444}.priority-badge.medium{color:#fff;background:#f59e0b}.priority-badge.low{color:#fff;background:#3b82f6}.status-badge{padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);text-transform:uppercase;font-size:.75rem;font-weight:600;display:inline-block}.status-badge.in-progress{color:#fff;background:#3b82f6}.status-badge.scheduled{color:#fff;background:#8b5cf6}.status-badge.planned{color:#fff;background:#10b981}.status-badge.upcoming{color:#fff;background:#f59e0b}.dashboard-card-body{color:var(--text-secondary);font-size:.9rem;line-height:1.6}.dashboard-card-body p{margin:var(--spacing-xs)0}.dashboard-card-body strong{color:var(--text-primary);font-weight:600}.dashboard-subsection{margin-bottom:var(--spacing-lg)}.dashboard-subsection:last-child{margin-bottom:0}.dashboard-subsection h4{color:var(--text-primary);margin-bottom:var(--spacing-md);padding-bottom:var(--spacing-xs);border-bottom:2px solid var(--border-color);font-size:1.1rem;font-weight:600}.dashboard-empty{text-align:center;padding:var(--spacing-2xl);color:var(--text-secondary)}.dashboard-empty-icon{margin-bottom:var(--spacing-md);opacity:.5;font-size:3rem}.dashboard-empty h4{color:var(--text-primary);margin-bottom:var(--spacing-sm);font-size:1.25rem}.dashboard-empty p{font-size:1rem;line-height:1.6}.dashboard-cost{color:#10b981;font-size:.95rem;font-weight:600}.dashboard-date{color:var(--text-secondary);font-size:.85rem;font-style:italic}.dashboard-type-badge{padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);margin-left:var(--spacing-xs);font-size:.7rem;font-weight:600;display:inline-block}.dashboard-type-badge.repair{color:#fff;background:#8b5cf6}.dashboard-type-badge.project{color:#fff;background:#f59e0b}.dashboard-type-badge.service{color:#fff;background:#10b981}.section-count{background:var(--primary-color);color:#fff;min-width:28px;height:28px;padding:0 var(--spacing-xs);margin-left:var(--spacing-sm);border-radius:50%;justify-content:center;align-items:center;font-size:.85rem;font-weight:700;display:inline-flex}@media (max-width:768px){.dashboard-cards{gap:var(--spacing-sm);grid-template-columns:1fr}.dashboard-section{padding:var(--spacing-md)}.dashboard-section h3{font-size:1.25rem}.dashboard-card{padding:var(--spacing-sm)}.dashboard-card-header h4{font-size:1rem}.section-count{min-width:24px;height:24px;font-size:.75rem}.dashboard-empty{padding:var(--spacing-xl)}.dashboard-empty-icon{font-size:2rem}}@media (min-width:769px) and (max-width:1024px){.dashboard-cards{grid-template-columns:repeat(2,1fr)}}@media (min-width:1400px){.dashboard-cards{grid-template-columns:repeat(3,1fr)}}.issue-detail-modal{max-width:600px;max-height:80vh;overflow-y:auto}.modal-body{padding:var(--spacing-lg)}.detail-group{margin-bottom:var(--spacing-lg)}.detail-group label{color:var(--text-secondary);margin-bottom:var(--spacing-xs);text-transform:uppercase;letter-spacing:.5px;font-size:.9rem;font-weight:600;display:block}.detail-group p{color:var(--text-primary);margin:0;font-size:1rem;line-height:1.6}.notes-text{white-space:pre-wrap;background:var(--background-color);padding:var(--spacing-md);border-radius:var(--radius-sm);border-left:3px solid var(--primary-color)}.status-resolved{color:#fff;padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);background:#10b981;font-size:.85rem;font-weight:600;display:inline-block}.modal-actions{justify-content:flex-end;gap:var(--spacing-sm);padding:var(--spacing-lg);border-top:1px solid var(--border-color);display:flex}.modal-actions button{padding:var(--spacing-sm)var(--spacing-lg);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-fast);border:none;font-size:1rem;font-weight:600}.parts-list-container{margin:calc(var(--spacing-xl)*-1);padding:var(--spacing-xl)}.parts-list-container .parts-header{margin-bottom:var(--spacing-md);justify-content:space-between;align-items:center;display:flex}.parts-list-container .parts-header h3{color:var(--text-primary);margin:0;font-size:1.5rem}.parts-list-container .section-description{color:var(--text-secondary);margin-bottom:var(--spacing-lg)}.vehicle-parts-table-container{background:var(--card-bg);border-radius:var(--radius-lg);overflow-x:auto;box-shadow:0 2px 8px #0000000d}.vehicle-parts-table{border-collapse:collapse;width:100%}.vehicle-parts-table thead{background:var(--background-color);border-bottom:2px solid var(--border-color)}.vehicle-parts-table th{padding:var(--spacing-md);text-align:left;color:var(--text-primary);text-transform:uppercase;letter-spacing:.5px;font-size:.9rem;font-weight:600}.vehicle-parts-table td{padding:var(--spacing-md);border-bottom:1px solid var(--border-color);color:var(--text-secondary);vertical-align:middle}.vehicle-parts-table tbody tr{transition:background-color var(--transition-fast)}.vehicle-parts-table tbody tr:hover{background:var(--background-color)}.vehicle-parts-table tbody tr.low-stock-row{background:#ef44440d}.vehicle-parts-table tbody tr.low-stock-row:hover{background:#ef44441a}.part-number-cell{align-items:center;gap:var(--spacing-sm);display:flex}.name-description .part-name{color:var(--text-primary);margin-bottom:2px;font-weight:600}.name-description .part-desc{color:var(--text-secondary);font-size:.85rem}.type-badge{border-radius:var(--radius-sm);text-transform:uppercase;letter-spacing:.5px;padding:4px 12px;font-size:.75rem;font-weight:600}.type-badge.fluid{color:#1e40af;background:#dbeafe}.type-badge.consumable{color:#92400e;background:#fef3c7}.type-badge.discrete{color:#374151;background:#e5e7eb}.stock-low{color:var(--color-error);font-weight:600}.stock-ok{color:var(--color-success)}.universal-badge{color:#fff;border-radius:var(--radius-sm);text-transform:uppercase;background:#6b7280;padding:2px 8px;font-size:.7rem;font-weight:600}.action-buttons{gap:var(--spacing-sm);display:flex}.vehicle-parts-mobile-cards{display:none}@media (max-width:768px){.vehicle-parts-mobile-cards{display:block}.mobile-vehicle-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-vehicle-part-card.low-stock{border-color:var(--color-error);background:#ef44440d}.mobile-vehicle-part-card:active{transform:scale(.98)}.mobile-vehicle-part-card .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-vehicle-part-card .mobile-card-title{flex:1}.mobile-vehicle-part-card .mobile-card-title h4{color:var(--primary-color);margin:0 0 var(--spacing-xs)0;font-size:1.1rem;font-weight:700}.mobile-vehicle-part-card .mobile-card-title p{color:var(--text-primary);margin:0;font-size:.95rem;line-height:1.4}.mobile-vehicle-part-card .mobile-card-stock{align-items:center;gap:var(--spacing-xs);flex-shrink:0;display:flex}.mobile-vehicle-part-card .mobile-stock-value{text-align:right;font-size:1.3rem;font-weight:700;line-height:1}.mobile-vehicle-part-card .mobile-stock-value.low{color:var(--color-error)}.mobile-vehicle-part-card .mobile-stock-value.ok{color:var(--color-success)}.mobile-vehicle-part-card .mobile-card-badges{gap:var(--spacing-xs);margin-bottom:var(--spacing-md);flex-wrap:wrap;display:flex}.category-badge{background:var(--background-color);border:1px solid var(--border-color);border-radius:var(--radius-sm);padding:4px 12px;font-size:.75rem;font-weight:600}.mobile-vehicle-part-card .mobile-card-details{gap:var(--spacing-md);margin-bottom:var(--spacing-md);grid-template-columns:1fr 1fr;display:grid}.mobile-vehicle-part-card .detail-row{gap:var(--spacing-xs);flex-direction:column;display:flex}.mobile-vehicle-part-card .detail-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;font-size:.75rem;font-weight:600}.mobile-vehicle-part-card .detail-value{color:var(--text-primary);font-size:.95rem;font-weight:500}.mobile-vehicle-part-card .mobile-card-actions{gap:var(--spacing-sm);margin-top:var(--spacing-md);padding-top:var(--spacing-md);border-top:1px solid var(--border-color);display:flex}.mobile-vehicle-part-card .mobile-card-actions button{padding:var(--spacing-sm)var(--spacing-md);border-radius:var(--radius-md);flex:1;min-height:44px;font-size:.9rem;font-weight:600}.vehicle-parts-table-container{display:none}.parts-list-container{padding:1rem}.universal-note-mobile{color:var(--text-secondary);text-align:center;padding:var(--spacing-sm);font-size:.9rem;font-style:italic}}.universal-note{color:var(--text-secondary);font-size:.85rem;font-style:italic}