@charset "UTF-8";.layout{min-height:100vh;display:flex;flex-direction:column;background-color:#f5f7fa}.header{background:#fff;border-bottom:1px solid #e5e7eb;padding:1rem 2rem;box-shadow:0 1px 3px #0000001a}.header-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.logo-section{display:flex;align-items:center}.header-right{display:flex;align-items:center;gap:1.5rem}.user-info{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.user-name{font-weight:600;color:#1f2937;font-size:.9375rem}.user-role{font-size:.8125rem;color:#6b7280;text-transform:capitalize}.logout-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:transparent;color:#6b7280;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.logout-btn:hover{background:#f9fafb;color:#1f2937;border-color:#d1d5db}.navbar{background:#fff;border-bottom:1px solid #e5e7eb;padding:0 2rem;display:flex;gap:.5rem;box-shadow:0 1px 2px #0000000d}.nav-link{display:flex;align-items:center;gap:.5rem;padding:.875rem 1.25rem;text-decoration:none;color:#6b7280;font-weight:500;font-size:.9375rem;border-bottom:3px solid transparent;transition:all .2s;margin-bottom:-1px}.nav-link:hover{color:#1f2937;background:#f9fafb}.nav-link.active{color:#667eea;border-bottom-color:#667eea;background:#f9fafb}.nav-link svg{width:20px;height:20px}.main-content{flex:1;max-width:1400px;width:100%;margin:0 auto;padding:2rem;overflow-y:auto;min-height:0}.public-header{background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a;position:sticky;top:0;z-index:1000}.header-container{max-width:1400px;margin:0 auto;padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between;gap:2rem}.logo-section{display:flex;align-items:center;text-decoration:none;color:inherit}.logo-image{height:50px;width:auto;object-fit:contain}.public-nav{display:flex;gap:2rem;align-items:center;flex:1;justify-content:center}.public-nav a{text-decoration:none;color:#6b7280;font-weight:500;font-size:.9375rem;padding:.5rem 0;border-bottom:2px solid transparent;transition:all .2s}.public-nav a:hover{color:#667eea}.public-nav a.active{color:#667eea;border-bottom-color:#667eea}.header-actions{display:flex;gap:.75rem;align-items:center}.login-btn,.signup-btn,.portal-btn{padding:.625rem 1.25rem;border-radius:6px;font-weight:600;font-size:.9375rem;text-decoration:none;transition:all .2s}.login-btn{background:transparent;color:#667eea;border:1px solid #667eea}.login-btn:hover{background:#667eea;color:#fff}.signup-btn{background:#667eea;color:#fff;border:1px solid #667eea}.signup-btn:hover{background:#5568d3;border-color:#5568d3}.portal-btn{background:#10b981;color:#fff;border:1px solid #10b981}.portal-btn:hover{background:#059669;border-color:#059669}@media (max-width: 1024px){.public-nav{display:none}.header-container{padding:1rem}}@media (max-width: 768px){.header-actions{gap:.5rem}.login-btn,.signup-btn,.portal-btn{padding:.5rem 1rem;font-size:.875rem}}.public-layout{min-height:100vh;display:flex;flex-direction:column;background:#f5f7fa}.public-main{flex:1;width:100%}.public-footer{background:#1f2937;color:#fff;padding:3rem 2rem 1.5rem;margin-top:4rem}.footer-container{max-width:1400px;margin:0 auto}.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:2rem}.footer-section h3{font-size:1.5rem;font-weight:700;margin-bottom:1rem}.footer-section h4{font-size:1.125rem;font-weight:600;margin-bottom:1rem}.footer-section p{color:#d1d5db;line-height:1.6;margin-bottom:.5rem}.footer-section a{color:#60a5fa;text-decoration:none;transition:color .2s}.footer-section a:hover{color:#93c5fd;text-decoration:underline}.footer-section ul{list-style:none;padding:0;margin:0}.footer-section ul li{margin-bottom:.5rem}.footer-section ul li a{color:#d1d5db}.footer-section ul li a:hover{color:#60a5fa}.footer-bottom{border-top:1px solid #374151;padding-top:1.5rem;text-align:center;color:#9ca3af;font-size:.875rem}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:#f5f7fa;padding:2rem;position:relative}.home-link{position:absolute;top:1rem;left:1rem;display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;color:#667eea;text-decoration:none;border-radius:8px;font-weight:500;font-size:.9375rem;border:1px solid #e5e7eb;transition:all .2s;box-shadow:0 1px 3px #0000001a}.home-link:hover{background:#f9fafb;border-color:#667eea;color:#5568d3;transform:translateY(-1px);box-shadow:0 2px 6px #00000026}.home-link svg{width:18px;height:18px}.auth-card{background:#fff;padding:2.5rem;border-radius:16px;box-shadow:0 4px 6px #0000001a;width:100%;max-width:420px;position:relative}.auth-logo{text-align:center;margin-bottom:2rem}.auth-logo-image{height:80px;width:auto;object-fit:contain;margin:0 auto 1rem;display:block}.auth-logo h1{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0 0 .25rem}.auth-logo p{font-size:.875rem;color:#6b7280;margin:0}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.form-group label{font-size:.875rem;font-weight:500;color:#374151}.form-group input,.form-group select{padding:.75rem;border:1px solid #d1d5db;border-radius:8px;font-size:.9375rem;transition:all .2s;background:#fff}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input::placeholder{color:#9ca3af}.auth-submit-btn{width:100%;padding:.875rem;background:#667eea;color:#fff;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s;margin-top:.5rem}.auth-submit-btn:hover:not(:disabled){background:#5568d3;transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.auth-submit-btn:disabled{opacity:.6;cursor:not-allowed}.error-message{background:#fef2f2;color:#dc2626;padding:.75rem;border-radius:8px;text-align:center;font-size:.875rem;border:1px solid #fecaca}.home-page{width:100%}.hero-section{position:relative;height:500px;overflow:hidden;color:#fff}.hero-slider{position:relative;width:100%;height:100%}.hero-slide{position:absolute;width:100%;height:100%;opacity:0;transition:opacity 1s ease-in-out}.hero-slide.active{opacity:1}.hero-image{width:100%;height:100%;object-fit:cover}.hero-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#667eeab3,#764ba2b3);display:flex;align-items:center;justify-content:center}.hero-indicators{position:absolute;bottom:2rem;left:50%;transform:translate(-50%);display:flex;gap:.5rem;z-index:10}.hero-indicators button{width:12px;height:12px;border-radius:50%;border:2px solid white;background:transparent;cursor:pointer;transition:all .3s}.hero-indicators button.active{background:#fff}.hero-content{max-width:800px;margin:0 auto}.hero-content h1{font-size:3rem;font-weight:700;margin-bottom:1rem}.hero-subtitle{font-size:1.5rem;margin-bottom:1.5rem;opacity:.95}.hero-description{font-size:1.125rem;line-height:1.8;margin-bottom:2rem;opacity:.9}.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.btn-primary,.btn-secondary{padding:.875rem 2rem;border-radius:8px;font-weight:600;text-decoration:none;transition:all .3s;display:inline-block}.btn-primary{background:#fff;color:#667eea}.btn-secondary{background:transparent;color:#fff;border:2px solid white}.btn-secondary:hover{background:#fff;color:#667eea}.container{max-width:1200px;margin:0 auto;padding:0 2rem}.services-section{padding:4rem 2rem;background:#fff}.services-section h2{text-align:center;font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:3rem}.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.service-card{background:#f9fafb;padding:2rem;border-radius:12px;text-align:center;transition:all .3s;border:1px solid #e5e7eb;text-decoration:none;color:inherit;display:flex;flex-direction:column;align-items:center}.service-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001a;border-color:#667eea}.service-image{width:200px;height:200px;object-fit:contain;margin-bottom:1rem}.service-card h3{font-size:1.5rem;font-weight:600;color:#1f2937;margin-bottom:1rem}.service-card p{color:#6b7280;line-height:1.6}.about-preview-section{padding:4rem 2rem;background:#f9fafb}.about-preview-content{max-width:800px;margin:0 auto}.about-preview-content h2{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:1.5rem}.about-preview-content p{font-size:1.125rem;line-height:1.8;color:#4b5563;margin-bottom:1.5rem}.testimonials-section{padding:4rem 2rem;background:#fff}.testimonials-section h2{text-align:center;font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:3rem}.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.testimonial-card{background:#f9fafb;padding:2rem;border-radius:12px;border-left:4px solid #667eea}.testimonial-text{font-size:1rem;line-height:1.8;color:#4b5563;margin-bottom:1.5rem;font-style:italic}.testimonial-author{font-weight:600;color:#1f2937;text-align:right}.cta-section{padding:4rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-align:center}.cta-section h2{font-size:2.5rem;font-weight:700;margin-bottom:1rem}@media (max-width: 768px){.hero-content h1{font-size:2rem}.hero-subtitle{font-size:1.25rem}.services-grid,.testimonials-grid{grid-template-columns:1fr}}.about-page{padding:2rem;background:#fff;min-height:60vh}.about-page h1{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:2rem;text-align:center}.about-content{max-width:900px;margin:0 auto}.about-image-section{margin-bottom:3rem;text-align:center}.about-image{max-width:100%;height:auto;border-radius:12px;box-shadow:0 4px 12px #0000001a}.about-section{margin-bottom:3rem}.about-section h2{font-size:2rem;font-weight:600;color:#1f2937;margin-bottom:1.5rem}.about-section p{font-size:1.125rem;line-height:1.8;color:#4b5563;margin-bottom:1.5rem}.services-list-section{margin-bottom:3rem;background:#f9fafb;padding:2rem;border-radius:12px}.services-list-section h2{font-size:2rem;font-weight:600;color:#1f2937;margin-bottom:1.5rem}.services-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.services-list li{padding:1rem;background:#fff;border-radius:8px;border-left:4px solid #667eea;font-size:1.125rem;color:#1f2937;font-weight:500}.location-section{margin-bottom:2rem}.location-section h2{font-size:2rem;font-weight:600;color:#1f2937;margin-bottom:1.5rem}.location-section p{font-size:1.125rem;line-height:1.8;color:#4b5563}.rewiring-page{padding:2rem;background:#fff;min-height:60vh}.rewiring-page h1{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:2rem;text-align:center}.rewiring-content{max-width:900px;margin:0 auto}.rewiring-intro{margin-bottom:3rem}.rewiring-details{margin-bottom:3rem}.rewiring-details h2{font-size:2rem;font-weight:600;color:#1f2937;margin-bottom:1.5rem}.rewiring-details>p{font-size:1.125rem;line-height:1.8;color:#4b5563;margin-bottom:2rem}.rewiring-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-top:2rem}.feature-item{background:#f9fafb;padding:1.5rem;border-radius:12px;border-left:4px solid #667eea}.feature-item h3{font-size:1.25rem;font-weight:600;color:#1f2937;margin-bottom:.75rem}.feature-item p{font-size:1rem;line-height:1.6;color:#6b7280}.cta-section{text-align:center;padding:3rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;margin-top:3rem}.testing-page{padding:2rem;background:#fff;min-height:60vh}.testing-page h1{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:2rem;text-align:center}.testing-content{max-width:900px;margin:0 auto}.testing-intro{margin-bottom:3rem}.lead{font-size:1.25rem;line-height:1.8;color:#4b5563;font-weight:500}.testing-details{margin-bottom:3rem}.testing-details h2{font-size:2rem;font-weight:600;color:#1f2937;margin-bottom:2rem}.testing-services{display:grid;gap:2rem}.service-item{background:#f9fafb;padding:2rem;border-radius:12px;border-left:4px solid #667eea}.service-item h3{font-size:1.5rem;font-weight:600;color:#1f2937;margin-bottom:1rem}.service-item p{font-size:1.125rem;line-height:1.8;color:#4b5563}.compliance-section{background:#f9fafb;padding:2rem;border-radius:12px;margin-bottom:3rem}.compliance-section h2{font-size:2rem;font-weight:600;color:#1f2937;margin-bottom:1.5rem}.compliance-section>p{font-size:1.125rem;line-height:1.8;color:#4b5563;margin-bottom:1.5rem}.compliance-list{list-style:none;padding:0}.compliance-list li{padding:1rem;background:#fff;margin-bottom:.75rem;border-radius:8px;border-left:4px solid #10b981;font-size:1.125rem;color:#1f2937}.cta-section{text-align:center;padding:3rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff}.cta-section h2{font-size:2rem;font-weight:700;margin-bottom:1rem}.cta-section p{font-size:1.125rem;margin-bottom:2rem;opacity:.95}.btn-primary{padding:.875rem 2rem;background:#fff;color:#667eea;border-radius:8px;font-weight:600;text-decoration:none;transition:all .3s;display:inline-block}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0003}.gallery-page{padding:2rem;background:#fff;min-height:60vh}.gallery-page h1{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:1rem;text-align:center}.gallery-intro{text-align:center;font-size:1.125rem;color:#6b7280;margin-bottom:3rem;max-width:600px;margin-left:auto;margin-right:auto}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2rem;margin-bottom:3rem}.gallery-item{background:#f9fafb;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb;transition:all .3s}.gallery-item:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001a}.gallery-image-container{width:100%;height:250px;overflow:hidden;background:#f3f4f6}.gallery-image{width:100%;height:100%;object-fit:cover;transition:transform .3s}.gallery-item:hover .gallery-image{transform:scale(1.05)}.gallery-item-info{padding:1.5rem}.gallery-item-info h3{font-size:1.25rem;font-weight:600;color:#1f2937;margin-bottom:.5rem}.gallery-item-info p{font-size:1rem;color:#6b7280}.testimonials-page{padding:2rem;background:#fff;min-height:60vh}.testimonials-page h1{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:1rem;text-align:center}.testimonials-intro{text-align:center;font-size:1.125rem;color:#6b7280;margin-bottom:3rem;max-width:600px;margin-left:auto;margin-right:auto}.testimonials-list{max-width:900px;margin:0 auto;display:flex;flex-direction:column;gap:2rem}.testimonial-card{background:#f9fafb;padding:2.5rem;border-radius:12px;border-left:4px solid #667eea;position:relative}.testimonial-quote{margin-bottom:1.5rem}.testimonial-text{font-size:1.125rem;line-height:1.8;color:#4b5563;margin-bottom:1.5rem;font-style:italic}.testimonial-author{font-weight:600;color:#1f2937;text-align:right;font-size:1.125rem}.contact-page{padding:2rem;background:#fff;min-height:60vh}.contact-page h1{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:1rem;text-align:center}.contact-intro{text-align:center;font-size:1.125rem;color:#6b7280;margin-bottom:3rem;max-width:600px;margin-left:auto;margin-right:auto}.contact-content{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:3rem}.contact-info h2,.contact-form-section h2{font-size:2rem;font-weight:600;color:#1f2937;margin-bottom:2rem}.contact-details{display:flex;flex-direction:column;gap:2rem}.contact-item{display:flex;gap:1.5rem;align-items:flex-start}.contact-icon{font-size:2rem;width:50px;height:50px;display:flex;align-items:center;justify-content:center;background:#f3f4f6;border-radius:12px;flex-shrink:0}.contact-item h3{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:.5rem}.contact-item a{color:#667eea;text-decoration:none;font-size:1.125rem;transition:color .2s}.contact-item a:hover{color:#5568d3;text-decoration:underline}.contact-item p{color:#4b5563;font-size:1.125rem;line-height:1.6;margin:0}.contact-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:#374151;font-size:.9375rem}.form-group input,.form-group textarea{padding:.875rem;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;font-family:inherit;transition:all .2s}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.submit-btn{padding:.875rem 2rem;background:#667eea;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s}.submit-btn:hover{background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.success-message{background:#d1fae5;border:1px solid #10b981;border-radius:8px;padding:2rem;text-align:center}.success-message p{color:#065f46;font-size:1.125rem;font-weight:500;margin:0}@media (max-width: 768px){.contact-content{grid-template-columns:1fr}}.jobs-list-page{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.page-header h1{color:#1f2937;font-size:2rem;font-weight:700;margin:0 0 .25rem}.page-subtitle{color:#6b7280;font-size:.9375rem;margin:0}.create-job-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#667eea;color:#fff;text-decoration:none;border-radius:8px;font-weight:600;font-size:.9375rem;transition:all .2s;box-shadow:0 2px 4px #667eea33}.create-job-btn:hover{background:#5568d3;box-shadow:0 4px 8px #667eea4d;transform:translateY(-1px)}.status-cards{display:grid;grid-template-columns:repeat(7,1fr);gap:1.5rem;margin-bottom:2rem}.status-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:1.5rem;cursor:pointer;transition:all .2s}.status-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.status-card.active{border-color:#667eea;box-shadow:0 4px 12px #667eea33}.status-card.draft{background:#fee2e2}.status-card.pending{background:#f9fafb}.status-card.assigned{background:#f3f4f6}.status-card.in-progress{background:#eff6ff}.status-card.completed{background:#fff7ed}.status-card.approved{background:#f0fdf4}.status-card.exported{background:#faf5ff}.status-card-content h3{font-size:1rem;font-weight:600;color:#1f2937;margin:0 0 .5rem}.status-count{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0}.filter-header{margin-bottom:1.5rem}.back-to-all-btn{background:none;border:none;color:#667eea;font-size:.9375rem;font-weight:500;cursor:pointer;padding:.5rem 0;transition:color .2s}.back-to-all-btn:hover{color:#5568d3}.jobs-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1.5rem;width:100%}.job-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;text-decoration:none;color:inherit;transition:all .2s;display:flex;flex-direction:column;box-shadow:0 1px 2px #0000000d}.job-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a;border-color:#d1d5db}.job-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.job-number{font-weight:700;color:#1f2937;font-size:1.125rem}.job-status{padding:.375rem .75rem;border-radius:20px;color:#fff;font-size:.75rem;font-weight:600;text-transform:capitalize}.job-status[data-status=draft]{background:#ef4444}.job-status[data-status=pending]{background:#e5e7eb}.job-status[data-status=assigned]{background:#9ca3af}.job-status[data-status=in_progress]{background:#3b82f6}.job-status[data-status=completed]{background:#f59e0b}.job-status[data-status=approved]{background:#14b8a6}.job-status[data-status=exported]{background:#8b5cf6}.job-card-body{flex:1}.job-card-body h3{margin:0 0 .5rem;color:#1f2937;font-size:1.125rem;font-weight:600}.job-address{color:#6b7280;font-size:.875rem;margin:.5rem 0;line-height:1.5}.job-date{color:#6b7280;font-size:.875rem;margin:.5rem 0}.job-assigned{color:#667eea;font-size:.875rem;margin:.5rem 0;font-weight:500}.job-work{color:#6b7280;font-size:.875rem;margin-top:.5rem;line-height:1.5}.job-card-footer{display:flex;justify-content:space-between;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb;font-size:.875rem;color:#6b7280;font-weight:500}.job-card-footer .has-hours,.job-card-footer .has-materials{color:#6b7280;font-weight:500}.job-card-footer .no-hours,.job-card-footer .no-materials{color:#9ca3af;font-style:italic;font-weight:400}.no-jobs{text-align:center;padding:3rem;color:#6b7280;font-size:1rem;grid-column:1 / -1}.loading{text-align:center;padding:3rem;color:#6b7280;font-size:1rem}.job-card-wrapper{position:relative}.job-context-menu{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;min-width:180px;padding:.5rem 0;z-index:1000}.context-menu-divider{height:1px;background:#e5e7eb;margin:.25rem 0}.context-menu-item.delete-item{color:#dc2626}.context-menu-item.delete-item:hover{background-color:#fee2e2;color:#b91c1c}.context-menu-item svg{flex-shrink:0}.assign-submenu,.status-submenu{margin-left:0}.context-menu-item.active-status{background-color:#f3f4f6;font-weight:600}.job-sheet-form{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 8px #0000001a}.form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e0e0e0}.form-header h1{font-size:1.8rem;color:#2c3e50;text-align:center;flex:1}.back-btn{padding:.5rem 1rem;background:#95a5a6;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem}.back-btn:hover{background:#7f8c8d}.job-form{display:flex;flex-direction:column;gap:2rem}.form-section{padding:1.5rem;border:1px solid #e0e0e0;border-radius:5px;background:#fafafa}.form-section h2,.form-section h3{margin-top:0;color:#333;border-bottom:2px solid #007bff;padding-bottom:10px}.section-description{font-size:.9em;color:#666;margin-top:-10px;margin-bottom:15px;font-style:italic}.form-section h2{margin-bottom:1rem;color:#2c3e50;font-size:1.2rem}.form-row{display:flex;gap:1.5rem;margin-bottom:1rem}.form-row.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;color:#333;font-weight:500;font-size:.9rem}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem;font-family:inherit;transition:border-color .3s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.form-group textarea{resize:vertical;min-height:80px}.form-group.full-width{width:100%}.column{display:flex;flex-direction:column}.form-actions{display:flex;justify-content:flex-end;gap:1rem;padding-top:1rem;border-top:1px solid #e0e0e0}.cancel-btn{padding:.75rem 1.5rem;background:#95a5a6;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1rem}.submit-btn{padding:.75rem 1.5rem;background:#667eea;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1rem;font-weight:600}.submit-btn:hover:not(:disabled){background:#5568d3}.submit-btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.form-row.two-columns{grid-template-columns:1fr}}.work-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.work-section-header h3{margin:0;color:#2c3e50;font-size:1.2rem}.add-work-order-btn{padding:.5rem 1rem;background:#27ae60;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem;font-weight:500}.add-work-order-btn:hover{background:#229954}.job-detail{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 8px #0000001a}.job-detail-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e0e0e0}.job-detail-header h1{color:#2c3e50;font-size:2rem;margin:.5rem 0 0}.back-link{color:#667eea;text-decoration:none;font-size:.9rem;margin-bottom:.5rem;display:inline-block}.back-link:hover{text-decoration:underline}.job-actions{display:flex;gap:1rem}.edit-btn,.approve-btn{padding:.5rem 1rem;border:none;border-radius:5px;cursor:pointer;text-decoration:none;font-size:.9rem;font-weight:500}.edit-btn{background:#667eea;color:#fff}.edit-btn:hover{background:#5568d3}.approve-btn{background:#27ae60;color:#fff}.approve-btn:hover{background:#229954}.job-detail-content{display:flex;flex-direction:column;gap:2rem}.job-info-section,.info-card,.customer-section,.site-section,.work-section,.time-section,.materials-section{padding:1.5rem;border:1px solid #e0e0e0;border-radius:5px;background:#fafafa;margin-bottom:1.5rem}.job-info-section h2,.info-card h2,.customer-section h2,.site-section h2,.work-section h2,.time-section h2,.materials-section h2{margin:0 0 .5rem;color:#2c3e50;font-size:1.3rem;font-weight:600}.section-description{font-style:italic;color:#666;font-size:.9rem;margin:0 0 1rem}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-top:1rem}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-item label{font-weight:600;color:#666;font-size:.9rem;margin-bottom:0}.info-item span{color:#333;font-size:.95rem;padding:.5rem 0}.status-select,.assignment-select{padding:.5rem;border:1px solid #ddd;border-radius:5px;font-size:.9rem;background:#fff;cursor:pointer;transition:border-color .2s}.status-select:focus,.assignment-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.status-select:disabled{background:#f5f5f5;cursor:not-allowed}.assignment-select{min-width:150px}.work-item{margin-bottom:1.5rem}.work-item label{display:block;font-weight:600;color:#666;margin-bottom:.5rem}.work-content{background:#fff;padding:1rem;border-radius:5px;border:1px solid #e0e0e0;white-space:pre-wrap;min-height:60px}.work-content-container{display:flex;align-items:flex-start;gap:.5rem}.work-content-container .work-content{flex:1}.edit-work-btn{padding:.4rem .8rem;background:#667eea;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.85rem;white-space:nowrap;flex-shrink:0}.edit-work-btn:hover{background:#5568d3}.work-edit-container{display:flex;flex-direction:column;gap:.5rem}.work-edit-textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:5px;font-family:inherit;font-size:.9rem;resize:vertical;min-height:100px;box-sizing:border-box}.work-edit-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.work-edit-buttons{display:flex;gap:.5rem;justify-content:flex-end}.save-btn{padding:.5rem 1rem;background:#27ae60;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem;font-weight:500}.save-btn:hover{background:#229954}.cancel-btn{padding:.5rem 1rem;background:#95a5a6;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem;font-weight:500}.cancel-btn:hover{background:#7f8c8d}.datetime-display-container{display:flex;align-items:center;gap:.5rem}.datetime-display{flex:1;padding:.75rem;background:#f8f9fa;border-radius:5px;color:#2c3e50}.datetime-edit-container{display:flex;flex-direction:column;gap:.5rem}.datetime-input{padding:.5rem;border:1px solid #ddd;border-radius:5px;font-family:inherit;font-size:.9rem;box-sizing:border-box}.datetime-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.datetime-edit-buttons{display:flex;gap:.5rem;justify-content:flex-end}.edit-datetime-btn{padding:.4rem .8rem;background:#667eea;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.85rem;white-space:nowrap;flex-shrink:0}.edit-datetime-btn:hover{background:#5568d3}.start-time-empty{background-color:#f3f4f6;padding:.25rem .5rem;border-radius:4px;color:#9ca3af;font-style:italic;display:inline-block;min-width:60px}.add-btn{padding:.5rem 1rem;background:#27ae60;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem}.add-btn:hover{background:#229954}.time-form,.material-form{display:flex;gap:.5rem;margin-bottom:1rem;padding:1rem;background:#fff;border-radius:5px;border:1px solid #e0e0e0}.time-form,.material-form{display:flex;gap:1rem;margin-bottom:1rem;flex-wrap:wrap;align-items:flex-end}.form-field{display:flex;flex-direction:column;gap:.25rem;flex:1;min-width:150px}.form-field label{font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.25rem}.time-form input,.material-form input{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:5px;box-sizing:border-box}.time-form button,.material-form button{padding:.5rem 1rem;background:#667eea;color:#fff;border:none;border-radius:5px;cursor:pointer}.time-table,.materials-table{width:100%;border-collapse:collapse;background:#fff;border-radius:5px;overflow:hidden}.time-table th,.materials-table th{background:#2c3e50;color:#fff;padding:.75rem;text-align:left;font-weight:600}.time-table td,.materials-table td{padding:.75rem;border-bottom:1px solid #e0e0e0}.time-table tfoot,.materials-table tfoot{background:#f5f5f5}.delete-btn{padding:.25rem .75rem;background:#e74c3c;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:.85rem}.delete-btn:hover{background:#c0392b}.no-data{color:#666;font-style:italic;text-align:center;padding:1rem}.related-jobs-section{margin-bottom:2rem;padding:1.5rem;background:#f8f9fa;border-radius:8px}.related-jobs-section h2{margin-bottom:1rem;color:#2c3e50}.related-jobs-list{display:flex;flex-direction:column;gap:1rem}.related-job-item{background:#fff;padding:1rem;border-radius:6px;border:1px solid #e0e0e0;cursor:pointer;transition:all .2s}.related-job-item:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea33;transform:translateY(-2px)}.related-job-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.related-job-number{font-weight:600;color:#2c3e50}.related-job-status{padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:500;text-transform:capitalize}.related-job-status.status-pending{background:#e5e7eb;color:#6b7280}.related-job-status.status-assigned{background:#fef3c7;color:#92400e}.related-job-status.status-in_progress{background:#dbeafe;color:#1e40af}.related-job-status.status-completed{background:#d1fae5;color:#065f46}.related-job-status.status-approved{background:#ccfbf1;color:#134e4a}.related-job-work{color:#6b7280;font-size:.9rem;margin:.5rem 0}.related-job-assigned{color:#667eea;font-size:.85rem;margin:.25rem 0 0}.source-document-section{margin-bottom:1.5rem;padding:1rem;background:#f0f7ff;border:1px solid #b3d9ff;border-radius:5px}.document-preview-container{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap}.document-preview-thumbnail{max-width:200px;max-height:280px;border:1px solid #ddd;border-radius:4px;box-shadow:0 2px 4px #0000001a;cursor:pointer;transition:transform .2s,box-shadow .2s}.document-preview-thumbnail:hover{transform:scale(1.05);box-shadow:0 4px 8px #00000026}.view-document-link{display:inline-flex;align-items:center;gap:.5rem;color:#06c;text-decoration:none;font-weight:500;font-size:.95rem;padding:.5rem 1rem;background:#fff;border:1px solid #0066cc;border-radius:5px;transition:all .2s;align-self:center}.view-document-link:hover{background:#06c;color:#fff;text-decoration:none}.rbc-btn{color:inherit;font:inherit;margin:0}button.rbc-btn{overflow:visible;text-transform:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;cursor:pointer}button[disabled].rbc-btn{cursor:not-allowed}button.rbc-input::-moz-focus-inner{border:0;padding:0}.rbc-calendar{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.rbc-m-b-negative-3{margin-bottom:-3px}.rbc-h-full{height:100%}.rbc-calendar *,.rbc-calendar *:before,.rbc-calendar *:after{-webkit-box-sizing:inherit;box-sizing:inherit}.rbc-abs-full,.rbc-row-bg{overflow:hidden;position:absolute;top:0;left:0;right:0;bottom:0}.rbc-ellipsis,.rbc-show-more,.rbc-row-segment .rbc-event-content,.rbc-event-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rbc-rtl{direction:rtl}.rbc-off-range{color:#999}.rbc-off-range-bg{background:#e6e6e6}.rbc-header{overflow:hidden;-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;text-overflow:ellipsis;white-space:nowrap;padding:0 3px;text-align:center;vertical-align:middle;font-weight:700;font-size:90%;min-height:0;border-bottom:1px solid #ddd}.rbc-header+.rbc-header{border-left:1px solid #ddd}.rbc-rtl .rbc-header+.rbc-header{border-left-width:0;border-right:1px solid #ddd}.rbc-header>a,.rbc-header>a:active,.rbc-header>a:visited{color:inherit;text-decoration:none}.rbc-button-link{color:inherit;background:none;margin:0;padding:0;border:none;cursor:pointer;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.rbc-row-content{position:relative;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;z-index:4}.rbc-row-content-scrollable{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.rbc-row-content-scrollable .rbc-row-content-scroll-container{height:100%;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.rbc-row-content-scrollable .rbc-row-content-scroll-container::-webkit-scrollbar{display:none}.rbc-today{background-color:#eaf6ff}.rbc-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px;font-size:16px}.rbc-toolbar .rbc-toolbar-label{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:0 10px;text-align:center}.rbc-toolbar button{color:#373a3c;display:inline-block;margin:0;text-align:center;vertical-align:middle;background:none;background-image:none;border:1px solid #ccc;padding:.375rem 1rem;border-radius:4px;line-height:normal;white-space:nowrap}.rbc-toolbar button:active,.rbc-toolbar button.rbc-active{background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px #00000020;background-color:#e6e6e6;border-color:#adadad}.rbc-toolbar button:active:hover,.rbc-toolbar button:active:focus,.rbc-toolbar button.rbc-active:hover,.rbc-toolbar button.rbc-active:focus{color:#373a3c;background-color:#d4d4d4;border-color:#8c8c8c}.rbc-toolbar button:focus{color:#373a3c;background-color:#e6e6e6;border-color:#adadad}.rbc-toolbar button:hover{color:#373a3c;cursor:pointer;background-color:#e6e6e6;border-color:#adadad}.rbc-btn-group{display:inline-block;white-space:nowrap}.rbc-btn-group>button:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.rbc-btn-group>button:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.rbc-rtl .rbc-btn-group>button:first-child:not(:last-child){border-radius:0 4px 4px 0}.rbc-rtl .rbc-btn-group>button:last-child:not(:first-child){border-radius:4px 0 0 4px}.rbc-btn-group>button:not(:first-child):not(:last-child){border-radius:0}.rbc-btn-group button+button{margin-left:-1px}.rbc-rtl .rbc-btn-group button+button{margin-left:0;margin-right:-1px}.rbc-btn-group+.rbc-btn-group,.rbc-btn-group+button{margin-left:10px}@media (max-width: 767px){.rbc-toolbar{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.rbc-event,.rbc-day-slot .rbc-background-event{border:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:none;box-shadow:none;margin:0;padding:2px 5px;background-color:#3174ad;border-radius:5px;color:#fff;cursor:pointer;width:100%;text-align:left}.rbc-slot-selecting .rbc-event,.rbc-slot-selecting .rbc-day-slot .rbc-background-event,.rbc-day-slot .rbc-slot-selecting .rbc-background-event{cursor:inherit;pointer-events:none}.rbc-event.rbc-selected,.rbc-day-slot .rbc-selected.rbc-background-event{background-color:#265985}.rbc-event:focus,.rbc-day-slot .rbc-background-event:focus{outline:5px auto #3b99fc}.rbc-event-label{font-size:80%}.rbc-event-overlaps{-webkit-box-shadow:-1px 1px 5px 0px rgba(51,51,51,.5);box-shadow:-1px 1px 5px #33333380}.rbc-event-continues-prior{border-top-left-radius:0;border-bottom-left-radius:0}.rbc-event-continues-after{border-top-right-radius:0;border-bottom-right-radius:0}.rbc-event-continues-earlier{border-top-left-radius:0;border-top-right-radius:0}.rbc-event-continues-later{border-bottom-left-radius:0;border-bottom-right-radius:0}.rbc-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.rbc-row-segment{padding:0 1px 1px}.rbc-selected-cell{background-color:#0000001a}.rbc-show-more{background-color:#ffffff4d;z-index:4;font-weight:700;font-size:85%;height:auto;line-height:normal;color:#3174ad}.rbc-show-more:hover,.rbc-show-more:focus{color:#265985}.rbc-month-view{position:relative;border:1px solid #ddd;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;width:100%;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;height:100%}.rbc-month-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.rbc-month-row{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-preferred-size:0px;flex-basis:0px;overflow:hidden;height:100%}.rbc-month-row+.rbc-month-row{border-top:1px solid #ddd}.rbc-date-cell{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;min-width:0;padding-right:5px;text-align:right}.rbc-date-cell.rbc-now{font-weight:700}.rbc-date-cell>a,.rbc-date-cell>a:active,.rbc-date-cell>a:visited{color:inherit;text-decoration:none}.rbc-row-bg{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;overflow:hidden;right:1px}.rbc-day-bg{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}.rbc-day-bg+.rbc-day-bg{border-left:1px solid #ddd}.rbc-rtl .rbc-day-bg+.rbc-day-bg{border-left-width:0;border-right:1px solid #ddd}.rbc-overlay{position:absolute;z-index:5;border:1px solid #e5e5e5;background-color:#fff;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.25);box-shadow:0 5px 15px #00000040;padding:10px}.rbc-overlay>*+*{margin-top:1px}.rbc-overlay-header{border-bottom:1px solid #e5e5e5;margin:-10px -10px 5px;padding:2px 10px}.rbc-agenda-view{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;overflow:auto}.rbc-agenda-view table.rbc-agenda-table{width:100%;border:1px solid #ddd;border-spacing:0;border-collapse:collapse}.rbc-agenda-view table.rbc-agenda-table tbody>tr>td{padding:5px 10px;vertical-align:top}.rbc-agenda-view table.rbc-agenda-table .rbc-agenda-time-cell{padding-left:15px;padding-right:15px;text-transform:lowercase}.rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left:1px solid #ddd}.rbc-rtl .rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left-width:0;border-right:1px solid #ddd}.rbc-agenda-view table.rbc-agenda-table tbody>tr+tr{border-top:1px solid #ddd}.rbc-agenda-view table.rbc-agenda-table thead>tr>th{padding:3px 5px;text-align:left;border-bottom:1px solid #ddd}.rbc-rtl .rbc-agenda-view table.rbc-agenda-table thead>tr>th{text-align:right}.rbc-agenda-time-cell{text-transform:lowercase}.rbc-agenda-time-cell .rbc-continues-after:after{content:" »"}.rbc-agenda-time-cell .rbc-continues-prior:before{content:"« "}.rbc-agenda-date-cell,.rbc-agenda-time-cell{white-space:nowrap}.rbc-agenda-event-cell{width:100%}.rbc-time-column{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:100%}.rbc-time-column .rbc-timeslot-group{-webkit-box-flex:1;-ms-flex:1;flex:1}.rbc-timeslot-group{border-bottom:1px solid #ddd;min-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.rbc-time-gutter,.rbc-header-gutter{-webkit-box-flex:0;-ms-flex:none;flex:none}.rbc-label{padding:0 5px}.rbc-day-slot{position:relative}.rbc-day-slot .rbc-events-container{bottom:0;left:0;position:absolute;right:0;margin-right:10px;top:0}.rbc-day-slot .rbc-events-container.rbc-rtl{left:10px;right:0}.rbc-day-slot .rbc-event,.rbc-day-slot .rbc-background-event{border:1px solid #265985;display:-webkit-box;display:-ms-flexbox;display:flex;max-height:100%;min-height:20px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;overflow:hidden;position:absolute}.rbc-day-slot .rbc-background-event{opacity:.75}.rbc-day-slot .rbc-event-label{-webkit-box-flex:0;-ms-flex:none;flex:none;padding-right:5px;width:auto}.rbc-day-slot .rbc-event-content{width:100%;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;word-wrap:break-word;line-height:1;height:100%;min-height:1em}.rbc-day-slot .rbc-time-slot{border-top:1px solid #f7f7f7}.rbc-time-view-resources .rbc-time-gutter,.rbc-time-view-resources .rbc-time-header-gutter{position:sticky;left:0;background-color:#fff;border-right:1px solid #ddd;z-index:10;margin-right:-1px}.rbc-time-view-resources .rbc-time-header{overflow:hidden}.rbc-time-view-resources .rbc-time-header-content{min-width:auto;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-preferred-size:0px;flex-basis:0px}.rbc-time-view-resources .rbc-time-header-cell-single-day{display:none}.rbc-time-view-resources .rbc-day-slot{min-width:140px}.rbc-time-view-resources .rbc-header,.rbc-time-view-resources .rbc-day-bg{width:140px;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;-ms-flex-preferred-size:0 px;flex-basis:0 px}.rbc-time-header-content+.rbc-time-header-content{margin-left:-1px}.rbc-time-slot{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0}.rbc-time-slot.rbc-now{font-weight:700}.rbc-day-header{text-align:center}.rbc-slot-selection{z-index:10;position:absolute;background-color:#00000080;color:#fff;font-size:75%;width:100%;padding:3px}.rbc-slot-selecting{cursor:move}.rbc-time-view{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;border:1px solid #ddd;min-height:0}.rbc-time-view .rbc-time-gutter{white-space:nowrap;text-align:right}.rbc-time-view .rbc-allday-cell{-webkit-box-sizing:content-box;box-sizing:content-box;width:100%;height:100%;position:relative}.rbc-time-view .rbc-allday-cell+.rbc-allday-cell{border-left:1px solid #ddd}.rbc-time-view .rbc-allday-events{position:relative;z-index:4}.rbc-time-view .rbc-row{-webkit-box-sizing:border-box;box-sizing:border-box;min-height:20px}.rbc-time-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.rbc-time-header.rbc-overflowing{border-right:1px solid #ddd}.rbc-rtl .rbc-time-header.rbc-overflowing{border-right-width:0;border-left:1px solid #ddd}.rbc-time-header>.rbc-row:first-child{border-bottom:1px solid #ddd}.rbc-time-header>.rbc-row.rbc-row-resource{border-bottom:1px solid #ddd}.rbc-time-header-cell-single-day{display:none}.rbc-time-header-content{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;min-width:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-left:1px solid #ddd}.rbc-rtl .rbc-time-header-content{border-left-width:0;border-right:1px solid #ddd}.rbc-time-header-content>.rbc-row.rbc-row-resource{border-bottom:1px solid #ddd;-ms-flex-negative:0;flex-shrink:0}.rbc-time-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;width:100%;border-top:2px solid #ddd;overflow-y:auto;position:relative}.rbc-time-content>.rbc-time-gutter{-webkit-box-flex:0;-ms-flex:none;flex:none}.rbc-time-content>*+*>*{border-left:1px solid #ddd}.rbc-rtl .rbc-time-content>*+*>*{border-left-width:0;border-right:1px solid #ddd}.rbc-time-content>.rbc-day-slot{width:100%;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.rbc-current-time-indicator{position:absolute;z-index:3;left:0;right:0;height:1px;background-color:#74ad31;pointer-events:none}.rbc-resource-grouping.rbc-time-header-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.rbc-resource-grouping .rbc-row .rbc-header{width:141px}.rbc-addons-dnd .rbc-addons-dnd-row-body{position:relative}.rbc-addons-dnd .rbc-addons-dnd-drag-row{position:absolute;top:0;left:0;right:0}.rbc-addons-dnd .rbc-addons-dnd-over{background-color:#0000004d}.rbc-addons-dnd .rbc-event{transition:opacity .15s}.rbc-addons-dnd .rbc-event:hover .rbc-addons-dnd-resize-ns-icon,.rbc-addons-dnd .rbc-event:hover .rbc-addons-dnd-resize-ew-icon{display:block}.rbc-addons-dnd .rbc-addons-dnd-dragged-event{opacity:0}.rbc-addons-dnd.rbc-addons-dnd-is-dragging .rbc-event:not(.rbc-addons-dnd-dragged-event):not(.rbc-addons-dnd-drag-preview){opacity:.5}.rbc-addons-dnd .rbc-addons-dnd-resizable{position:relative;width:100%;height:100%}.rbc-addons-dnd .rbc-addons-dnd-resize-ns-anchor{width:100%;text-align:center;position:absolute}.rbc-addons-dnd .rbc-addons-dnd-resize-ns-anchor:first-child{top:0}.rbc-addons-dnd .rbc-addons-dnd-resize-ns-anchor:last-child{bottom:0}.rbc-addons-dnd .rbc-addons-dnd-resize-ns-anchor .rbc-addons-dnd-resize-ns-icon{display:none;border-top:3px double;margin:0 auto;width:10px;cursor:ns-resize}.rbc-addons-dnd .rbc-addons-dnd-resize-ew-anchor{position:absolute;top:4px;bottom:0}.rbc-addons-dnd .rbc-addons-dnd-resize-ew-anchor:first-child{left:0}.rbc-addons-dnd .rbc-addons-dnd-resize-ew-anchor:last-child{right:0}.rbc-addons-dnd .rbc-addons-dnd-resize-ew-anchor .rbc-addons-dnd-resize-ew-icon{display:none;border-left:3px double;margin-top:auto;margin-bottom:auto;height:10px;cursor:ew-resize}.schedule-page{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.schedule-layout{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;min-height:500px;max-height:calc(100vh - 180px);overflow:hidden}.calendar-panel,.jobs-panel{display:flex;flex-direction:column}.panel-header{margin-bottom:1rem}.panel-header h2{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0 0 1rem}.calendar-legend{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:2rem;margin-top:.5rem;margin-bottom:1rem;width:100%;box-sizing:border-box}.legend-section{display:flex;flex-direction:column;gap:.5rem}.legend-title{font-size:.75rem;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em}.legend-items{display:flex;flex-wrap:wrap;gap:.75rem}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#6b7280}.legend-color{width:16px;height:16px;border-radius:4px;display:inline-block;flex-shrink:0}.legend-color-with-border{border-radius:0 4px 4px 0;width:20px}.calendar-wrapper{flex:1;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:.75rem;overflow:hidden;min-height:0;max-height:700px;position:relative;width:100%;box-sizing:border-box}.calendar-wrapper .rbc-calendar{height:100%;min-height:500px;max-height:650px;overflow:hidden;width:100%}.calendar-wrapper .rbc-toolbar{position:relative!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important}.calendar-wrapper .rbc-toolbar>*:nth-child(1){order:1!important;margin-right:.75rem!important}.calendar-wrapper .rbc-toolbar>*:nth-child(2){order:2!important;margin-left:.75rem!important;margin-right:.75rem!important;flex:0 0 auto!important}.calendar-wrapper .rbc-toolbar>*:nth-child(3){order:3!important;margin-left:.75rem!important;margin-right:0!important;flex:0 0 auto!important}.calendar-wrapper .rbc-toolbar>*{flex:0 0 auto!important;margin-left:0!important}.calendar-wrapper .rbc-toolbar>*:not(:first-child){margin-left:.75rem!important}.jobs-list-panel{flex:1;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;overflow-y:auto;min-height:0;max-height:800px}.no-jobs-message{display:flex;align-items:center;justify-content:center;height:100%;min-height:400px}.no-jobs-message p{color:#6b7280;font-size:1rem}.jobs-list-items{display:flex;flex-direction:column;gap:1rem}.job-list-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1.25rem;cursor:pointer;transition:all .2s}.job-list-item:hover{background:#f3f4f6;border-color:#d1d5db;transform:translateY(-1px);box-shadow:0 2px 4px #0000000d}.job-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid #e5e7eb}.job-item-number{font-weight:700;color:#1f2937;font-size:1rem}.job-item-status{padding:.25rem .625rem;border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;text-transform:capitalize}.job-item-status[data-status=pending]{background:#e5e7eb;color:#374151}.job-item-status[data-status=assigned]{background:#fbbf24;color:#1f2937}.job-item-status[data-status=in_progress]{background:#3b82f6;color:#fff}.job-item-status[data-status=completed]{background:#10b981;color:#fff}.job-item-status[data-status=approved]{background:#14b8a6;color:#fff}.job-list-item h3{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0 0 .5rem}.job-item-address{color:#6b7280;font-size:.875rem;margin:.5rem 0;line-height:1.5}.job-item-assigned{color:#667eea;font-size:.875rem;margin:.5rem 0;font-weight:500}.job-item-work{color:#6b7280;font-size:.875rem;margin-top:.5rem;line-height:1.5}.rbc-calendar{font-family:inherit}.rbc-header{padding:.5rem .375rem;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;font-size:.875rem}.rbc-today{background-color:#eff6ff}.rbc-off-range-bg{background:#f9fafb}.rbc-selected-cell{background-color:#dbeafe}.rbc-current-time-indicator{background-color:#667eea}.rbc-event{border-radius:4px;padding:1px 3px;margin:1px 0}.rbc-event-content{font-size:.75rem;font-weight:500;line-height:1.2}.rbc-toolbar{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;margin-bottom:1rem!important;gap:.75rem!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:0!important;overflow:visible!important}.rbc-toolbar .rbc-btn-group:first-child,.rbc-toolbar-label{display:none!important}.rbc-toolbar>*{margin-left:0!important;margin-right:0!important;float:none!important;position:relative!important;left:auto!important;right:auto!important}.rbc-toolbar button{padding:.5rem .875rem!important;margin:0!important;border:1px solid #d1d5db!important;border-radius:6px!important;background:#fff!important;color:#374151!important;font-size:.8125rem!important;cursor:pointer!important;transition:all .2s!important;white-space:nowrap!important;min-width:auto!important;flex-shrink:1!important;max-width:100%!important}.rbc-toolbar button:hover{background:#f3f4f6!important;border-color:#9ca3af!important}.rbc-toolbar button.rbc-active{background:#3b82f6!important;color:#fff!important;border-color:#3b82f6!important}.rbc-toolbar-label{font-weight:600!important;font-size:.9375rem!important;color:#1f2937!important;padding:0 .5rem!important;white-space:nowrap!important;flex-shrink:0!important;min-width:auto!important}.rbc-btn-group{display:flex!important;gap:.5rem!important;flex-wrap:wrap!important;align-items:center!important;max-width:100%!important;overflow:visible!important;flex-shrink:0!important;justify-content:flex-start!important}.rbc-toolbar .rbc-btn-group{margin:0!important;float:none!important;position:relative!important;left:auto!important;right:auto!important}.rbc-toolbar .rbc-btn-group:last-child{margin:0!important;float:none!important;position:relative!important;left:auto!important;right:auto!important;order:3!important}.rbc-toolbar .rbc-btn-group:nth-child(1),.rbc-toolbar .rbc-btn-group:nth-child(2),.rbc-toolbar .rbc-btn-group:nth-child(3),.rbc-toolbar .rbc-btn-group:nth-child(4){order:0!important;margin:0!important;float:none!important;position:relative!important;left:auto!important;right:auto!important;transform:none!important}.calendar-wrapper .rbc-toolbar .rbc-btn-group{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important}.rbc-btn-group button{margin:0!important;padding:.5rem .875rem!important;font-size:.8125rem!important;flex-shrink:0!important;min-width:auto!important}@media (max-width: 1024px){.schedule-layout{grid-template-columns:1fr}}@media (max-width: 768px){.calendar-legend{flex-direction:column;gap:1rem}.legend-section{width:100%}.rbc-toolbar{flex-direction:row;align-items:center!important;gap:.5rem!important}.rbc-toolbar .rbc-btn-group{margin-left:0!important;width:auto;justify-content:flex-start}.rbc-toolbar-label{text-align:left;width:auto}.rbc-btn-group{justify-content:flex-start;width:auto}}@media (max-width: 480px){.rbc-toolbar button{padding:.5rem .625rem!important;font-size:.75rem!important}.legend-items{gap:.5rem}.legend-item{font-size:.8125rem}}.context-menu{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;min-width:200px;padding:.5rem 0;z-index:1000}.context-menu-header{padding:.5rem 1rem;font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e5e7eb;margin-bottom:.25rem}.context-menu-item{display:flex;align-items:center;gap:.75rem;padding:.625rem 1rem;cursor:pointer;font-size:.875rem;color:#374151;transition:background-color .15s}.context-menu-item:hover{background-color:#f3f4f6}.context-menu-color{width:20px;height:16px;display:inline-block;flex-shrink:0;border-radius:0 4px 4px 0}.xero-export{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 8px #0000001a}.xero-export h1{color:#2c3e50;font-size:2rem;margin-bottom:2rem}.export-section{margin-bottom:2rem;padding:1.5rem;border:1px solid #e0e0e0;border-radius:5px;background:#fafafa}.export-section h2{margin-bottom:1rem;color:#2c3e50;font-size:1.3rem}.period-selector{display:flex;gap:2rem}.period-selector .form-group{display:flex;flex-direction:column}.period-selector label{margin-bottom:.5rem;font-weight:500;color:#333}.period-selector input{padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem}.jobs-section{margin-bottom:2rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.section-header h2{color:#2c3e50;font-size:1.3rem}.select-all-btn{padding:.5rem 1rem;background:#667eea;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem}.select-all-btn:hover{background:#5568d3}.jobs-list{border:1px solid #e0e0e0;border-radius:5px;max-height:400px;overflow-y:auto}.job-item{display:flex;align-items:center;gap:1rem;padding:1rem;border-bottom:1px solid #e0e0e0}.job-item:last-child{border-bottom:none}.job-item:hover{background:#f5f5f5}.job-info{flex:1;display:flex;flex-direction:column;gap:.25rem}.job-date{font-size:.85rem;color:#666}.job-totals{display:flex;gap:1rem;font-size:.9rem;color:#666}.no-jobs{text-align:center;padding:2rem;color:#666;font-style:italic}.export-actions{margin-bottom:2rem;text-align:center}.export-btn{padding:1rem 2rem;background:#27ae60;color:#fff;border:none;border-radius:5px;font-size:1.1rem;font-weight:600;cursor:pointer}.export-btn:hover:not(:disabled){background:#229954}.export-btn:disabled{opacity:.6;cursor:not-allowed}.export-results{padding:1.5rem;border:1px solid #e0e0e0;border-radius:5px;background:#fafafa}.export-results h2{margin-bottom:1rem;color:#2c3e50;font-size:1.3rem}.export-summary{margin-bottom:1rem}.export-summary p{margin:.5rem 0;color:#333}.download-actions{display:flex;gap:1rem;margin-top:1rem}.download-btn{padding:.75rem 1.5rem;background:#667eea;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem}.download-btn:hover{background:#5568d3}.job-import-container{padding:2rem;max-width:900px;margin:0 auto}.job-import-card{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 4px #0000001a}.job-import-card h1{margin:0 0 1.5rem;color:#1f2937;font-size:1.75rem}.import-info{margin-bottom:2rem;padding:1rem;background:#f3f4f6;border-radius:6px}.import-info p{margin:0 0 1rem;color:#4b5563}.import-info .info-note{color:#666;font-size:.9rem;margin-top:.5rem;font-style:italic}.import-form{margin-bottom:2rem}.file-input-group{margin-bottom:1.5rem}.file-input-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151}.file-input-group input[type=file]{width:100%;padding:.75rem;border:2px dashed #d1d5db;border-radius:6px;background:#f9fafb;cursor:pointer;transition:border-color .2s}.file-input-group input[type=file]:hover{border-color:#667eea}.file-info{margin-top:.5rem;padding:.5rem;background:#e0e7ff;border-radius:4px;color:#4338ca;font-size:.875rem}.file-info ul{margin:.5rem 0 0;padding-left:1.5rem}.file-info li{margin:.25rem 0}.import-btn{width:100%;padding:.875rem;background:#10b981;color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s}.import-btn:hover:not(:disabled){background:#059669}.import-btn:disabled{background:#9ca3af;cursor:not-allowed}.result-message{margin-bottom:1.5rem;padding:1rem;border-radius:6px}.result-message.success{background:#d1fae5;border:1px solid #10b981;color:#065f46}.result-message.has-errors{background:#fee2e2;border:1px solid #ef4444;color:#991b1b}.result-message h3{margin:0 0 .5rem;font-size:1.125rem}.result-message p{margin:.25rem 0}.error-details{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(0,0,0,.1)}.error-details h4{margin:0 0 .5rem;font-size:1rem}.error-details ul{margin:.5rem 0 0;padding-left:1.5rem}.error-details li{margin:.25rem 0}.redirect-message{margin-top:1rem;font-style:italic;color:#059669}.csv-format-info{margin-top:2rem;padding:1.5rem;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb}.csv-format-info h3{margin:0 0 1rem;color:#1f2937;font-size:1.125rem}.csv-format-info ul{margin:0;padding-left:1.5rem;color:#4b5563}.csv-format-info li{margin:.5rem 0;line-height:1.5}.csv-format-info strong{color:#1f2937}.error-message{background:#fee2e2;color:#991b1b;padding:1rem;border-radius:6px;margin-bottom:1rem;border:1px solid #ef4444}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f7fa;overflow-y:auto;overflow-x:hidden;color:#1f2937}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{min-height:100vh}
