.equipment-page{max-width:1400px;margin:0 auto;padding:2rem}.equipment-header{text-align:center;margin-bottom:3rem}.equipment-header h1{color:var(--text-primary);margin-bottom:.5rem;font-size:2.5rem}.equipment-subtitle{color:var(--text-secondary);font-size:1.1rem}.empty-state{text-align:center;padding:4rem 2rem}.empty-icon{margin-bottom:1rem;font-size:6rem}.empty-state h2{color:var(--text-primary);margin-bottom:.5rem}.empty-state p{color:var(--text-secondary);margin-bottom:2rem}.equipment-list-container{margin-bottom:4rem}.equipment-list-header{margin-bottom:2rem}.equipment-list-header h2{color:var(--text-primary);margin-bottom:.5rem}.equipment-count{color:var(--text-secondary);font-size:.95rem}.equipment-grid{grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;display:grid}.equipment-card-link{display:block;color:inherit!important;text-decoration:none!important}.equipment-card-link:hover,.equipment-card-link:visited,.equipment-card-link:active,.equipment-card-link:focus{outline:none;color:inherit!important;text-decoration:none!important}.equipment-card-link *{text-decoration:none!important}.equipment-card{background:var(--card-background);cursor:pointer;border-radius:12px;padding:1.5rem;transition:transform .2s,box-shadow .2s;box-shadow:0 2px 8px #0000001a}.equipment-card-link:hover .equipment-card{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.equipment-header{align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.equipment-icon{font-size:2rem}.equipment-type-badge{background:var(--primary-color);color:#fff;border-radius:20px;padding:.25rem .75rem;font-size:.85rem;font-weight:500}.equipment-info{flex:1}.equipment-title{color:var(--text-primary);margin-bottom:1rem;font-size:1.25rem}.equipment-details{flex-direction:column;gap:.5rem;margin-bottom:1rem;display:flex}.detail-row{justify-content:space-between;font-size:.9rem;display:flex}.detail-label{color:var(--text-secondary);font-weight:500}.detail-value{color:var(--text-primary)}.detail-value.condition-excellent{color:#10b981}.detail-value.condition-good{color:#3b82f6}.detail-value.condition-fair{color:#f59e0b}.detail-value.condition-poor{color:#f97316}.detail-value.condition-needs_repair{color:#ef4444}.warranty-active{color:#10b981}.warranty-expired{color:#ef4444}html[data-theme=project] .equipment-card-link:hover .equipment-card{border:1px solid var(--rust-orange);box-shadow:0 4px 16px #f74c004d}.add-equipment-btn-floating{background:var(--primary-color);color:#fff;cursor:pointer;z-index:100;border:none;border-radius:50px;padding:1rem 2rem;font-size:1rem;font-weight:600;transition:all .3s;position:fixed;bottom:2rem;right:2rem;box-shadow:0 4px 12px #0003}.add-equipment-btn-floating:hover{background:var(--primary-dark);transform:scale(1.05);box-shadow:0 6px 16px #0000004d}.add-equipment-modal{max-width:700px;max-height:90vh;overflow-y:auto}.modal-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.close-btn{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:2rem;height:2rem;padding:0;font-size:2rem;display:flex}.close-btn:hover{color:var(--text-primary)}.form-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.form-group label.required:after{content:" *";color:#ef4444}.field-hint{color:var(--text-secondary);margin-top:.25rem;font-size:.85rem;display:block}.equipment-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)}.equipment-detail-content{gap:var(--spacing-xl);flex-direction:column;display:flex}.equipment-header-section{background:var(--card-bg);border-radius:var(--radius-lg);margin-bottom:var(--spacing-xl);overflow:hidden}.equipment-hero-image{background:var(--card-bg);width:100%;height:400px;position:relative;overflow:hidden}.equipment-hero-image img{object-fit:cover;width:100%;height:100%}.equipment-hero-info{padding:var(--spacing-xl)}.equipment-hero-title{color:var(--text-primary);margin-bottom:var(--spacing-md);font-size:2.5rem}.equipment-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}.equipment-specs-section,.equipment-purchase-section,.equipment-notes-section,.equipment-history-section,.section-card{background:var(--card-bg);border-radius:var(--radius-md);padding:var(--spacing-xl)}.equipment-specs-section h2,.equipment-purchase-section h2,.equipment-notes-section h2,.equipment-history-section 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}.spec-value.serial-number{background:var(--background-color);padding:var(--spacing-xs)var(--spacing-sm);border-radius:var(--radius-sm);border:1px solid var(--border-color);font-family:monospace}.notes-content{color:var(--text-primary);white-space:pre-wrap;line-height:1.6}.history-placeholder{text-align:center;padding:var(--spacing-2xl);color:var(--text-secondary)}.placeholder-hint{margin-top:var(--spacing-sm);font-size:.9rem}.equipment-actions-section{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;box-shadow:0 1px 3px #0000001a}.action-btn:hover{background:var(--background-color);border-color:var(--primary-color);transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.btn-secondary,.btn-success,.btn-warning{padding:var(--spacing-md)var(--spacing-xl);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-normal);border:none;font-size:1rem;font-weight:600}.btn-success{color:#fff;background:#10b981}.btn-success:hover{background:#059669}.btn-warning{color:#fff;background:#f59e0b}.btn-warning:hover{background:#d97706}.equipment-detail-loading{text-align:center;padding:var(--spacing-2xl);background:var(--background-color);min-height:60vh;color:var(--text-primary);border-radius:var(--radius-md);flex-direction:column;justify-content:center;align-items:center;display:flex}.equipment-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-container{text-align:center;padding:var(--spacing-2xl);background:var(--background-color);border-radius:var(--radius-md);flex-direction:column;justify-content:center;align-items:center;min-height:400px;display:flex}.error-container h2{color:var(--color-error);margin-bottom:var(--spacing-md)}.error-container p{color:var(--text-secondary);margin-bottom:var(--spacing-xl)}@media (max-width:768px){.equipment-detail-container{padding:var(--spacing-md)}.equipment-grid{grid-template-columns:1fr}.equipment-header-section{text-align:center;flex-direction:column}.specs-grid,.form-row{grid-template-columns:1fr}.equipment-actions-section{flex-direction:column}.equipment-actions-section button{width:100%}}.projects-dashboard{max-width:1600px;min-height:100vh;margin:0 auto;padding:2rem}.dashboard-header .back-btn{background:var(--card-background);color:var(--text-primary);border:1px solid var(--border-color,#ddd);border-radius:6px;margin-bottom:1.5rem;padding:.5rem 1rem;text-decoration:none;transition:all .2s;display:inline-block}.dashboard-header .back-btn:hover{border-color:var(--primary-color);background:#0000000d}.dashboard-header-content{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:2rem;display:flex}.dashboard-header h1{color:var(--text-primary);margin:0;font-size:2rem}.projects-board{grid-template-columns:repeat(3,1fr);gap:2rem;display:grid}.project-column{background:var(--card-background);border:1px solid var(--border-color,#ddd);border-radius:12px;min-height:400px;padding:1.5rem}.column-header{border-bottom:2px solid var(--border-color,#ddd);margin-bottom:1.5rem;padding-bottom:1rem;font-size:1.25rem;font-weight:700}.column-header.planned{color:#3b82f6;border-bottom-color:#3b82f6}.column-header.in-progress{color:#f59e0b;border-bottom-color:#f59e0b}.column-header.completed{color:#10b981;border-bottom-color:#10b981}.project-cards{flex-direction:column;gap:1rem;display:flex}.project-card{background:var(--background-color,white);border:1px solid var(--border-color,#ddd);cursor:pointer;border-radius:8px;padding:1.25rem;transition:all .2s;position:relative}.project-card:hover{border-color:var(--primary-color);transform:translateY(-3px);box-shadow:0 6px 16px #0000001a}.project-card-header{justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;display:flex}.project-card h3{color:var(--text-primary);margin:0;font-size:1.1rem}.project-card-menu{position:relative}.menu-btn{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;padding:.25rem .5rem;font-size:1.5rem;line-height:1}.menu-btn:hover{background:#0000000d;border-radius:4px}.dropdown-menu{border:1px solid var(--border-color,#ddd);z-index:10;background:#fff;border-radius:6px;min-width:180px;position:absolute;top:100%;right:0;box-shadow:0 4px 12px #00000026}.dropdown-menu button{text-align:left;cursor:pointer;background:0 0;border:none;width:100%;padding:.75rem 1rem;transition:background .2s;display:block}.dropdown-menu button:hover{color:#ef4444;background:#ef44441a}.project-card-description{color:var(--text-secondary);margin-bottom:.75rem;font-size:.9rem;line-height:1.5}.project-card-details{flex-direction:column;gap:.5rem;display:flex}.detail-item{justify-content:space-between;font-size:.85rem;display:flex}.detail-item.cost{color:var(--primary-color);font-weight:600}.services-container,.repairs-container{max-width:1200px;margin:0 auto;padding:2rem}.services-header,.repairs-header{margin-bottom:2rem}.services-header-content,.repairs-header-content{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;display:flex}.services-header h1,.repairs-header h1{color:var(--text-primary);margin:0;font-size:2rem}.services-list,.repairs-list{flex-direction:column;gap:1.5rem;display:flex}.services-count,.repairs-count{color:var(--text-secondary);margin-bottom:1.5rem;font-size:1rem}.service-card,.repair-card{background:var(--card-background);border:1px solid var(--border-color,#ddd);cursor:pointer;border-radius:12px;padding:1.5rem;transition:all .2s}.service-card:hover,.repair-card:hover{border-color:var(--primary-color);transform:translateY(-2px);box-shadow:0 6px 16px #0000001a}.service-card-header,.repair-card-header{justify-content:space-between;align-items:flex-start;margin-bottom:1rem;display:flex}.service-card-title,.repair-card-title{flex:1}.service-card h3,.repair-card h3{color:var(--text-primary);margin:0 0 .5rem;font-size:1.25rem}.service-date,.repair-date{color:var(--text-secondary);font-size:.9rem}.service-card-body,.repair-card-body{flex-direction:column;gap:1rem;display:flex}.service-description,.repair-description{color:var(--text-primary);line-height:1.5}.service-card-details,.repair-card-details{flex-wrap:wrap;gap:1rem;display:flex}.next-due{color:#f59e0b;font-weight:600}.status-badge{border-radius:20px;margin-bottom:.75rem;padding:.35rem .85rem;font-size:.85rem;font-weight:600;display:inline-block}.status-badge.completed{color:#065f46;background:#d1fae5}.status-badge.pending{color:#92400e;background:#fef3c7}.status-badge.in-progress{color:#1e40af;background:#dbeafe}.modal-overlay{z-index:1000;background:#000000b3;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.modal-content{background:var(--card-background);border-radius:12px;width:100%;max-width:700px;max-height:90vh;padding:2rem;overflow-y:auto}.modal-content.modal-large{max-width:900px}.modal-content h2{color:var(--text-primary);margin:0 0 1.5rem;font-size:1.75rem}.form-row{grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem;display:grid}.form-group{flex-direction:column;gap:.5rem;margin-bottom:1rem;display:flex}.form-group label{color:var(--text-primary);font-size:.95rem;font-weight:600}.form-group input,.form-group select,.form-group textarea{border:1px solid var(--border-color,#ddd);background:var(--background-color,white);color:var(--text-primary);border-radius:6px;padding:.75rem;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--primary-color);outline:none}.form-error{color:#991b1b;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;margin-bottom:1rem;padding:.75rem 1rem}.form-actions{justify-content:flex-end;gap:1rem;margin-top:1.5rem;display:flex}.btn-primary,.btn-secondary,.btn-danger{cursor:pointer;border:none;border-radius:6px;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;transition:all .2s}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-2px)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{color:#fff;background:#6b7280}.btn-secondary:hover{background:#4b5563}.btn-danger{color:#fff;background:#ef4444}.btn-danger:hover{background:#dc2626}.modal-actions{justify-content:flex-end;gap:1rem;margin-top:1.5rem;display:flex}.edit-equipment-container{max-width:900px;margin:0 auto;padding:2rem}.edit-equipment-header{margin-bottom:2rem}.edit-equipment-header h1{color:var(--text-primary);margin:1rem 0 0;font-size:2rem}.form-section{background:var(--card-background);border:1px solid var(--border-color,#ddd);border-radius:12px;margin-bottom:2rem;padding:2rem}.form-category{margin-bottom:2rem}.form-category h2{color:var(--text-primary);border-bottom:2px solid var(--border-color,#ddd);margin:0 0 1.5rem;padding-bottom:.75rem;font-size:1.5rem}.form-grid{grid-template-columns:repeat(2,1fr);gap:1rem;display:grid}.notes-field{resize:vertical;width:100%;min-height:120px}.save-btn{background:var(--primary-color);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:.85rem 2rem;font-size:1.05rem;font-weight:600;transition:all .2s}.save-btn:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.save-btn:disabled{opacity:.6;cursor:not-allowed}.save-success{color:#065f46;text-align:center;background:#d1fae5;border:1px solid #a7f3d0;border-radius:8px;margin-top:1.5rem;padding:1rem 1.5rem;font-weight:600}.error-message{color:#991b1b;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;margin-bottom:1.5rem;padding:1rem 1.5rem}.equipment-tabs-section{background:var(--card-background);border-radius:12px;margin-bottom:2rem;padding:2rem}.equipment-tabs-section h2{color:var(--text-primary);margin-bottom:1.5rem;font-size:1.5rem}.tab-buttons{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;display:grid}.tab-btn{background:var(--background-color,white);color:var(--text-primary);border:1px solid var(--border-color,#ddd);border-radius:8px;justify-content:center;align-items:center;padding:1rem 1.5rem;font-weight:600;text-decoration:none;transition:all .2s;display:flex}.tab-btn:hover{background:var(--primary-color);color:#fff;border-color:var(--primary-color);transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}@media (max-width:1200px){.projects-board{grid-template-columns:1fr}}@media (max-width:768px){.form-row,.form-grid{grid-template-columns:1fr}.dashboard-header-content,.services-header-content,.repairs-header-content{flex-direction:column;align-items:stretch}.tab-buttons{grid-template-columns:1fr}.form-actions,.modal-actions{flex-direction:column}.btn-primary,.btn-secondary,.btn-danger{width:100%}}