@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}.__className_f367f3{font-family:Inter,Inter Fallback;font-style:normal}.__variable_f367f3{--font-inter:"Inter","Inter Fallback"}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/f639721981034f88-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/9766a7e9e2e0ad5a-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/b66cf8e69499582a-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/aa016aab0e6d1295-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/22a5144ee8d83bca-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Geist Fallback;src:local("Arial");ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.00%;size-adjust:104.76%}.__className_246ccd{font-family:Geist,Geist Fallback;font-style:normal}.__variable_246ccd{--font-geist:"Geist","Geist Fallback"}.table-section{background:transparent;padding:0;border-radius:0;margin:20px 0;box-shadow:none;position:relative;overflow:visible;border:none}.table-container{background:white;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);border:1px solid #e5e7eb}.inspections-table{width:100%;border-collapse:collapse;font-size:14px}.inspections-table thead{background:#f8fafc}.inspections-table th{padding:16px 20px;text-align:left;font-weight:700;color:#374151;font-size:14px;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e5e7eb}.inspections-table td{padding:16px 20px;border-bottom:1px solid #f3f4f6;vertical-align:middle;color:#374151}.table-row{transition:all .2s ease;cursor:pointer;background:white}.table-row:nth-child(2n){background:#f9fafb}.table-row:hover{background:#f3f4f6;transform:none;box-shadow:none}.id-cell{width:80px}.id-badge{display:inline-flex;align-items:center;justify-content:center;width:50px;height:24px;background:#f3f4f6;color:#374151;border-radius:4px;font-weight:600;font-size:12px;font-family:Courier New,monospace;letter-spacing:.5px}.name-cell{min-width:200px}.inspection-info{display:flex;align-items:center;gap:12px}.inspection-icon{width:32px;height:32px;background:linear-gradient(135deg,#10b981,#059669);color:white;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:14px}.inspection-name{font-weight:500;color:#374151;font-size:14px}.date-cell{min-width:120px}.date-text{color:#64748b;font-size:14px;font-weight:500}.status-cell{min-width:120px}.status-badge{display:inline-flex;align-items:center;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-completed,.status-sent{background:#dcfce7;color:#166534;border:1px solid #86efac}.status-in-progress{background:#dbeafe;color:#1e40af;border:1px solid #93c5fd}.status-pending{background:#fed7aa;color:#ea580c;border:1px solid #fdba74}.status-cancelled{background:#fee2e2;color:#991b1b;border:1px solid #f87171}.actions-cell{width:120px;text-align:center}.action-buttons{gap:8px}.action-btn-small,.action-buttons{display:flex;justify-content:center}.action-btn-small{width:32px;height:32px;border:none;border-radius:8px;align-items:center;cursor:pointer;transition:all .2s ease;font-size:12px}.edit-btn{background:#3b82f6;color:white;border:none}.edit-btn:hover{background:#2563eb;transform:none;box-shadow:none}.document-btn{background:#10b981;color:white;border:none}.document-btn:hover{background:#059669;transform:none;box-shadow:none}.delete-btn{background:#ef4444;color:white;border:none}.delete-btn:hover{background:#dc2626;transform:none;box-shadow:none}.add-btn{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:white;border:none;padding:14px 28px;border-radius:12px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 16px rgba(59,130,246,.3);white-space:nowrap;flex-shrink:0;min-width:-moz-fit-content;min-width:fit-content;text-align:center}.add-btn:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af);transform:translateY(-2px);box-shadow:0 8px 24px rgba(59,130,246,.4)}.action-bar{background:transparent;padding:2px 0;margin:2px 0;border-radius:0;box-shadow:none;border:none}.action-bar-content{display:flex;justify-content:space-between;align-items:center;width:100%}.action-bar-left{flex:1}.action-bar-right{display:flex;align-items:center;gap:12px}@media (max-width:1024px){.table-section{padding:24px 16px;margin:16px 0}.inspections-table td,.inspections-table th{padding:12px 16px}.inspection-info{gap:8px}.inspection-icon{width:28px;height:28px;font-size:12px}.id-badge{width:36px;height:28px;font-size:11px}}@media (max-width:768px){.app-container{padding:0 10px}.heading-section{padding:24px 16px;margin:16px 0}.heading-content h1{font-size:1.8rem}.heading-content p{font-size:.9rem}.table-section{padding:20px 12px;margin:12px 0}.table-container{border-radius:8px}.inspections-table{font-size:13px}.inspections-table td,.inspections-table th{padding:10px 12px}.inspections-table th{font-size:14px;font-weight:800}.inspection-info{gap:6px}.inspection-icon{width:24px;height:24px;font-size:11px}.inspection-name{font-size:13px}.id-badge{width:32px;height:24px;font-size:10px}.status-badge{padding:4px 8px;font-size:10px}.action-btn-small{width:28px;height:28px;font-size:11px}.add-btn{padding:12px 24px;font-size:13px;white-space:nowrap;flex-shrink:0;min-width:-moz-fit-content;min-width:fit-content}}@media (max-width:640px){.app-container{padding:0 5px}.heading-section{padding:20px 12px;margin:12px 0}.heading-content h1{font-size:1.5rem}.heading-content p{font-size:.8rem}.action-bar{padding:2px 0;margin:2px 0}.action-bar-content{flex-direction:row;justify-content:space-between;align-items:center}.action-bar-left{flex:1}.action-bar-right{justify-content:flex-end;flex:none}.table-section{padding:16px 8px;margin:8px 0}.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}.inspections-table{min-width:600px;font-size:12px}.inspections-table td,.inspections-table th{padding:8px 10px}.inspections-table th{font-size:12px;font-weight:800}.inspection-info{gap:4px}.inspection-icon{width:20px;height:20px;font-size:10px}.inspection-name{font-size:12px}.id-badge{width:28px;height:20px;font-size:9px}.date-text{font-size:11px}.status-badge{padding:3px 6px;font-size:9px}.action-btn-small{width:24px;height:24px;font-size:10px}.action-buttons{gap:4px}.add-btn{padding:12px 20px;font-size:12px;width:auto;justify-content:center;white-space:nowrap;flex-shrink:0;min-width:-moz-fit-content;min-width:fit-content}.btn-text{display:inline}.add-btn i{margin-right:6px}}@media (max-width:480px){.heading-section{padding:16px 10px;margin:10px 0}.heading-content h1{font-size:1.3rem}.heading-content p{font-size:.75rem}.action-bar{padding:2px 0;margin:2px 0}.action-bar-content{flex-direction:row;justify-content:space-between;align-items:center}.action-bar-left{flex:1}.action-bar-right{justify-content:flex-end;flex:none}.table-section{padding:12px 6px;margin:6px 0}.inspections-table{min-width:500px;font-size:11px}.inspections-table td,.inspections-table th{padding:6px 8px}.inspections-table th{font-size:11px;font-weight:800}.inspection-icon{width:18px;height:18px;font-size:9px}.inspection-name{font-size:11px}.id-badge{width:24px;height:18px;font-size:8px}.date-text{font-size:10px}.status-badge{padding:2px 4px;font-size:8px}.action-btn-small{width:20px;height:20px;font-size:9px}.add-btn{padding:10px 16px;font-size:11px;width:auto;justify-content:center;white-space:nowrap;flex-shrink:0;min-width:-moz-fit-content;min-width:fit-content}.btn-text{display:inline}.add-btn i{margin-right:4px}}@media (max-width:360px){.heading-section{padding:12px 8px;margin:8px 0}.heading-content h1{font-size:1.1rem}.heading-content p{font-size:.7rem}.action-bar{padding:2px 0;margin:2px 0}.action-bar-content{flex-direction:row;justify-content:space-between;align-items:center}.action-bar-left{flex:1}.action-bar-right{justify-content:flex-end;flex:none}.table-section{padding:10px 4px;margin:4px 0}.inspections-table{min-width:450px;font-size:10px}.inspections-table td,.inspections-table th{padding:4px 6px}.inspections-table th{font-size:8px}.inspection-icon{width:16px;height:16px;font-size:8px}.inspection-name{font-size:10px}.id-badge{width:20px;height:16px;font-size:7px}.date-text{font-size:9px}.status-badge{padding:1px 3px;font-size:7px}.action-btn-small{width:18px;height:18px;font-size:8px}.add-btn{padding:8px 14px;font-size:10px;width:auto;justify-content:center;white-space:nowrap;flex-shrink:0;min-width:-moz-fit-content;min-width:fit-content}.btn-text{display:inline}.add-btn i{margin-right:4px}}.popup-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:1000;backdrop-filter:blur(4px)}.popup-content{background:white;border-radius:16px;box-shadow:0 20px 40px rgba(0,0,0,.2);width:90%;max-width:500px;max-height:90vh;overflow:hidden;animation:popupSlideIn .3s ease-out}@keyframes popupSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.popup-header{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:white;padding:20px 24px;display:flex;justify-content:space-between;align-items:center}.popup-header h3{margin:0;font-size:1.25rem;font-weight:600}.popup-close-btn{background:none;border:none;color:white;font-size:1.2rem;cursor:pointer;padding:4px;border-radius:4px;transition:background-color .2s ease}.popup-close-btn:hover{background:rgba(255,255,255,.2)}.popup-body{padding:24px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151;font-size:.9rem}.form-input{width:100%;padding:12px 16px;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease;box-sizing:border-box}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.popup-footer{padding:20px 24px;background:#f8fafc;display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #e5e7eb;flex-direction:row}.popup-btn{padding:10px 20px;border:none;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s ease;min-width:80px;width:100px;text-align:center;display:flex;align-items:center;justify-content:center}.cancel-btn{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.cancel-btn:hover{background:#e5e7eb;border-color:#9ca3af}.save-btn{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:white;box-shadow:0 2px 4px rgba(59,130,246,.3)}.save-btn:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#1e40af);transform:translateY(-1px);box-shadow:0 4px 8px rgba(59,130,246,.4)}.save-btn:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}@media (max-width:640px){.popup-content{width:95%;margin:20px}.popup-header{padding:16px 20px}.popup-header h3{font-size:1.1rem}.popup-body{padding:20px}.popup-footer{padding:16px 20px;flex-direction:row;justify-content:space-between;gap:8px}.popup-btn{flex:1;padding:12px 16px;font-size:.9rem;width:auto;min-width:0;text-align:center;display:flex;align-items:center;justify-content:center}}@media (max-width:480px){.popup-footer{padding:12px 16px;gap:6px}.popup-btn{padding:10px 12px;font-size:.9rem;text-align:center;display:flex;align-items:center;justify-content:center}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px}.defect-edit-modal{background:white;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.3);max-width:900px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.modal-header{padding:20px 24px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;background:#f8fafc}.modal-header h2{margin:0;font-size:1.5rem;font-weight:700;color:#1f2937}.modal-close-btn{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:8px;border-radius:6px;transition:all .2s ease}.modal-close-btn:hover{background:#e5e7eb;color:#374151}.modal-body{flex:1;overflow-y:auto;padding:24px}.modal-footer{padding:20px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;background:#f8fafc}.modal-btn{padding:10px 20px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;border:none;font-size:14px}.secondary-btn{background:#6b7280;color:white}.secondary-btn:hover{background:#4b5563}.defects-list{display:flex;flex-direction:column;gap:20px}.defect-card{border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:white;box-shadow:0 4px 20px rgba(0,0,0,.08);transition:all .3s ease;position:relative}.defect-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#3b82f6,#8b5cf6,#06b6d4,#10b981);border-radius:16px 16px 0 0}.defect-card:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(0,0,0,.12);border-color:#cbd5e1}.defect-header{padding:20px 24px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;position:relative}.defect-header:after{content:"";position:absolute;bottom:0;left:24px;right:24px;height:1px;background:linear-gradient(90deg,transparent,#e2e8f0,transparent)}.defect-actions{display:flex;align-items:center;gap:12px}.defect-header h3{margin:0;font-size:1.25rem;font-weight:700;color:#1e293b;background:linear-gradient(135deg,#1e293b,#475569);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.delete-defect-btn{background:linear-gradient(135deg,#ef4444,#dc2626);color:white;border:none;border-radius:8px;padding:10px 12px;cursor:pointer;transition:all .3s ease;font-size:14px;box-shadow:0 2px 8px rgba(239,68,68,.3);display:flex;align-items:center;justify-content:center;min-width:40px;height:40px}.delete-defect-btn:hover:not(:disabled){background:linear-gradient(135deg,#dc2626,#b91c1c);transform:translateY(-2px);box-shadow:0 4px 12px rgba(239,68,68,.4)}.delete-defect-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(239,68,68,.3)}.delete-defect-btn i{font-size:16px;color:white}.delete-defect-btn:disabled{opacity:.6;cursor:not-allowed}.professional-edit-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);color:white;border:none;border-radius:8px;padding:10px 12px;cursor:pointer;transition:all .3s ease;font-size:14px;box-shadow:0 2px 8px rgba(59,130,246,.3);display:flex;align-items:center;justify-content:center;min-width:40px;height:40px}.professional-edit-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 4px 12px rgba(59,130,246,.4)}.professional-edit-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(59,130,246,.3)}.professional-edit-btn i{font-size:16px;color:white}.save-defect-btn{background:linear-gradient(135deg,#10b981,#059669);color:white;border:none;border-radius:8px;padding:10px 12px;cursor:pointer;transition:all .3s ease;font-size:14px;box-shadow:0 2px 8px rgba(16,185,129,.3);display:flex;align-items:center;justify-content:center;min-width:40px;height:40px;margin-right:8px}.save-defect-btn:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-2px);box-shadow:0 4px 12px rgba(16,185,129,.4)}.cancel-defect-btn{background:linear-gradient(135deg,#ef4444,#dc2626);color:white;border:none;border-radius:8px;padding:10px 12px;cursor:pointer;transition:all .3s ease;font-size:14px;box-shadow:0 2px 8px rgba(239,68,68,.3);display:flex;align-items:center;justify-content:center;min-width:40px;height:40px;margin-right:8px}.cancel-defect-btn:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);transform:translateY(-2px);box-shadow:0 4px 12px rgba(239,68,68,.4)}.defect-content{padding:24px;display:grid;grid-template-columns:240px 1fr;gap:32px;align-items:start}.defect-image{border-radius:12px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.12);border:2px solid #f1f5f9;position:relative;background:linear-gradient(135deg,#f8fafc,#e2e8f0)}.defect-image img{width:100%;height:180px;-o-object-fit:cover;object-fit:cover;display:block;transition:transform .3s ease}.defect-image:hover img{transform:scale(1.02)}.defect-details{display:flex;flex-direction:column;gap:16px}.detail-row{font-size:15px;line-height:1.6;color:#374151;padding:12px 16px;background:#fdfdfe;border-radius:10px;border-left:4px solid #edf0f3;transition:all .2s ease;position:relative}.detail-row:hover{background:#f8fafc;border-left-color:#3b82f6;transform:translateX(2px)}.detail-row strong{color:#1e293b;font-weight:600;display:inline-block;min-width:120px;font-size:14px;text-transform:uppercase;letter-spacing:.5px}.detail-row.total-cost{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);padding:16px 20px;border-radius:12px;border-left:4px solid #0ea5e9;font-size:18px;font-weight:700;color:#0c4a6e;margin-top:12px;box-shadow:0 4px 12px rgba(14,165,233,.15);position:relative;overflow:hidden}.detail-row.total-cost:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,#0ea5e9,#3b82f6,#8b5cf6)}.detail-row.total-cost strong{color:#0c4a6e;font-size:16px}.defect-input{width:100%;padding:8px 12px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;color:#374151;background:white;transition:all .2s ease;margin-left:8px}.defect-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1);background:#f8fafc}.defect-input:hover{border-color:#cbd5e1}.defect-input[type=textarea]{min-height:80px;resize:vertical;font-family:inherit;line-height:1.5}.defect-input[type=number]{width:100px;text-align:right}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;color:#6b7280}.loading-spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;color:#6b7280}.empty-icon{font-size:3rem;margin-bottom:16px;opacity:.6}.empty-state h3{margin:0 0 8px;font-size:1.25rem;font-weight:600;color:#374151}.empty-state p{margin:0;font-size:14px}@media (max-width:768px){.defect-edit-modal{margin:8px;max-height:96vh;border-radius:16px}.modal-header{padding:16px 20px;flex-wrap:wrap;gap:10px}.modal-header h2{font-size:1.3rem;line-height:1.3;word-break:break-word}.modal-body{padding:16px 20px}.header-image-section{margin-bottom:20px}.header-image-section h3{font-size:1.1rem;margin-bottom:8px}.section-description{font-size:13px;margin-bottom:12px}.defect-content{grid-template-columns:1fr;gap:20px;padding:16px}.defect-image{order:1;max-width:100%}.defect-details{order:2;gap:12px}.defect-image img{height:200px;border-radius:12px}.defect-header{padding:16px 18px;flex-wrap:wrap;gap:12px}.defect-header h3{font-size:1.15rem;flex:1;min-width:0}.defect-actions{flex-wrap:wrap;gap:8px}.detail-row{padding:12px 16px;font-size:14px;flex-direction:column;align-items:flex-start;gap:8px}.detail-row strong{min-width:auto;font-size:13px;width:100%;margin-bottom:4px}.defect-input{margin-left:0;width:100%;padding:12px 14px;font-size:16px;border-radius:10px;touch-action:manipulation}.defect-input[type=number]{width:100%;text-align:left}.defect-input[type=textarea]{min-height:100px}}@media (max-width:480px){.modal-overlay{padding:0;align-items:flex-start}.defect-edit-modal{margin:0;max-height:100vh;height:100vh;border-radius:0;width:100vw}.modal-header{padding:12px 16px;position:static;background:#f8fafc;border-bottom:2px solid #e5e7eb}.modal-tabs-container{position:static!important;background:#ffffff}.modal-header h2{font-size:1.2rem;line-height:1.2;margin-right:8px}.modal-close-btn{padding:12px;font-size:1.3rem;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}.modal-body{padding:12px 16px;flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.modal-footer{padding:12px 16px;position:sticky;bottom:0;background:#f8fafc;border-top:2px solid #e5e7eb}.header-image-section{margin-bottom:16px}.header-image-section h3{font-size:1.05rem;margin-bottom:6px}.section-description{font-size:12px;line-height:1.4;margin-bottom:10px}.defects-list{gap:16px}.defect-card{border-radius:12px;margin-bottom:8px}.defect-header{padding:12px 16px;flex-direction:column;align-items:flex-start;gap:12px}.defect-header h3{font-size:1.1rem;width:100%}.defect-actions{width:100%;justify-content:flex-start;gap:12px}.cancel-defect-btn,.delete-defect-btn,.professional-edit-btn,.save-defect-btn{min-width:44px;min-height:44px;padding:12px;border-radius:10px;font-size:16px;touch-action:manipulation}.defect-content{padding:12px 16px;gap:16px}.defect-image{width:100%}.defect-image img{height:160px;border-radius:10px}.detail-row{padding:12px 14px;font-size:14px;border-radius:8px;flex-direction:column;align-items:stretch;gap:8px}.detail-row strong{font-size:13px;min-width:auto;width:100%;margin-bottom:6px;color:#475569}.defect-input{font-size:16px;padding:14px 16px;border-radius:8px;border-width:2px;min-height:44px;touch-action:manipulation;-webkit-appearance:none;-moz-appearance:none;appearance:none}.defect-input[type=textarea]{min-height:120px;resize:vertical;font-family:inherit}.defect-input[type=number]{text-align:left}.detail-row.total-cost{padding:16px 18px;font-size:15px;border-radius:10px;margin-top:8px}.detail-row.total-cost strong{font-size:14px}.modal-btn{padding:14px 24px;font-size:16px;min-height:44px;border-radius:10px;touch-action:manipulation}}.header-image-section{margin-bottom:20px;padding-bottom:20px}.header-image-section h3{font-size:18px;font-weight:600;margin-bottom:10px;color:#111827}.section-description{color:#6b7280;font-size:14px;margin-bottom:15px}.header-image-container{display:flex;flex-direction:column;gap:20px}.current-header-image{background:#f3f4f6;padding:15px;border-radius:8px;display:flex;flex-direction:column;align-items:center}.current-header-image h4{font-size:16px;margin-bottom:10px;font-weight:500}.header-image-preview{width:100%;max-height:200px;-o-object-fit:cover;object-fit:cover;border-radius:6px;margin-bottom:10px}.clear-header-btn{background-color:#ef4444;color:white;border:none;padding:8px 16px;border-radius:6px;font-size:14px;cursor:pointer;transition:background-color .2s}.clear-header-btn:hover{background-color:#dc2626}.clear-header-btn:disabled{background-color:#f87171;cursor:not-allowed}.header-image-options h4{font-size:16px;margin-bottom:10px;font-weight:500}.image-options-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}.header-image-option{position:relative;height:90px;border-radius:6px;overflow:hidden;cursor:pointer;border:2px solid transparent;transition:all .2s ease}.header-image-option.selected{border-color:#2563eb}.header-image-option:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px rgb(0 0 0/.1),0 2px 4px -2px rgb(0 0 0/.1)}.header-image-option img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.option-overlay{position:absolute;bottom:0;left:0;right:0;background:rgba(0,0,0,.5);color:white;padding:4px;font-size:12px;text-align:center;transform:translateY(100%);transition:transform .2s ease}.header-image-option.selected .option-overlay,.header-image-option:hover .option-overlay{transform:translateY(0)}.header-image-option.selected .option-overlay{background:rgba(37,99,235,.7)}.section-divider{height:1px;background-color:#e5e7eb;margin:20px 0}.header-image-uploader{width:100%;margin-bottom:20px}.upload-container{background:#f9fafb;padding:20px;border-radius:8px;border:2px dashed #e5e7eb}.upload-container h4{font-size:16px;margin-bottom:15px;font-weight:500;color:#374151}.upload-options{display:flex;flex-direction:column;gap:15px}.upload-buttons{display:flex;gap:10px;flex-wrap:wrap}.btn{border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none}.btn,.upload-btn{padding:8px 16px;display:inline-flex;align-items:center;justify-content:center}.upload-btn{background-color:#3b82f6;color:white;width:auto}.upload-btn:hover{background-color:#2563eb}.upload-btn.disabled{background-color:#93c5fd;cursor:not-allowed}.upload-hint{font-size:13px;color:#6b7280;font-style:italic}.header-text-input{margin-bottom:20px;padding:15px;background-color:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.text-input-label{display:block;font-weight:500;margin-bottom:5px;color:#374151}.header-text-input .text-input{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:16px;margin-bottom:8px;color:#111827;background-color:#ffffff}.header-text-input .text-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.2)}.text-input-hint{font-size:13px;color:#6b7280;margin-top:5px}.image-with-text-preview{position:relative;width:100%;max-width:600px;margin:0 auto 15px}.header-text-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:15px;background-color:rgba(0,0,0,.3)}.header-text-overlay span{color:white;font-size:22px;font-weight:700;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.8);max-width:80%;overflow-wrap:break-word}
/*!
 * Photo Sphere Viewer 5.14.1
 * @copyright 2014-2015 Jérémy Heleine
 * @copyright 2015-2026 Damien "Mistic" Sorel
 * @licence MIT (https://opensource.org/licenses/MIT)
 */.psv-container{--psv-core-loaded:true;container-name:psv-container;container-type:size;width:100%;height:100%;margin:0;padding:0;position:relative;background:radial-gradient(#fff 0,#fdfdfd 16%,#fbfbfb 33%,#f8f8f8 49%,#efefef 66%,#dfdfdf 82%,#bfbfbf 100%);overflow:hidden}.psv-container *{box-sizing:content-box}.psv-canvas-container{position:absolute;top:0;left:0;z-index:0;transition:opacity .1s linear}.psv-fullscreen-emulation{position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;z-index:9999}.psv-loader-container{position:absolute;top:0;left:0;width:100%;height:100%;z-index:80}.psv-loader,.psv-loader-container{display:flex;align-items:center;justify-content:center}.psv-loader{--psv-loader-border:3px;--psv-loader-tickness:10px;position:relative;color:rgba(255,255,255,.7);width:150px;height:150px}.psv-loader-canvas{position:absolute;top:0;left:0;width:100%;height:100%;color:rgba(61,61,61,.5);z-index:-1}.psv-loader-text{font:600 16px sans-serif;text-align:center}.psv-loader--undefined .psv-loader-canvas{animation:psv-loader 2s cubic-bezier(.75,.25,.25,.75) infinite}@keyframes psv-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.psv-navbar{display:flex;position:absolute;z-index:90;bottom:-40px;left:0;width:100%;height:40px;background:rgba(61,61,61,.5);transition:bottom .1s ease-in-out;font:16px sans-serif;cursor:default}.psv-navbar--open{bottom:0}.psv-navbar,.psv-navbar *{box-sizing:content-box}.psv-button{flex:0 0 auto;padding:10px;position:relative;cursor:pointer;height:20px;width:20px;background:transparent;color:rgba(255,255,255,.7)}.psv-button--active{background:rgba(255,255,255,.2)}.psv-button--disabled{pointer-events:none;opacity:.5}.psv-button-svg{width:100%;transform:scale(1);transition:transform .2s ease;vertical-align:initial}.psv-button:not(.psv-button--disabled):focus-visible{outline:2px solid #007cff;outline-offset:-2px}.psv-container:not(.psv--is-touch) .psv-button--hover-scale:not(.psv-button--disabled):hover .psv-button-svg{transform:scale(1.2)}.psv-move-button+.psv-move-button{margin-left:-10px}.psv-download-button{color:rgba(255,255,255,.7)!important;text-decoration:none!important}.psv-download-button:after,.psv-download-button:before{display:none!important}.psv-custom-button{width:auto;min-width:20px}.psv-custom-button--no-padding{padding:0;height:100%}.psv-caption{flex:1 1 100%;color:rgba(255,255,255,.7);overflow:hidden;text-align:center;cursor:unset;padding:unset;height:unset;width:unset}.psv-caption-content{display:inline-block;padding:10px;white-space:nowrap}.psv-zoom-range.psv-button{width:80px;height:1px;margin:10px 0;padding:9.5px 0;max-width:600px}.psv-zoom-range-line{position:relative;width:80px;height:1px;background:rgba(255,255,255,.7);transition:all .3s ease}.psv-zoom-range-handle{position:absolute;border-radius:50%;top:-3px;width:7px;height:7px;background:rgba(255,255,255,.7);transform:scale(1);transition:transform .3s ease}.psv-zoom-range:not(.psv-button--disabled):hover .psv-zoom-range-line{box-shadow:0 0 2px rgba(255,255,255,.7)}.psv-zoom-range:not(.psv-button--disabled):hover .psv-zoom-range-handle{transform:scale(1.3)}.psv-notification{position:absolute;z-index:100;bottom:-40px;display:flex;justify-content:center;box-sizing:border-box;width:100%;padding:0 2em;opacity:0;transition-property:opacity,bottom;transition-timing-function:ease-in-out;transition-duration:.2s}.psv-notification-content{max-width:50em;background:rgba(61,61,61,.8);border-radius:4px;padding:.5em 1em;font:14px sans-serif;color:rgb(255,255,255)}.psv-notification--visible{opacity:1;bottom:80px}.psv-overlay{display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;z-index:110;inset:0;background:radial-gradient(#fff 0,#fdfdfd 16%,#fbfbfb 33%,#f8f8f8 49%,#efefef 66%,#dfdfdf 82%,#bfbfbf 100%);opacity:.8;cursor:default}.psv-overlay-image{width:100%;text-align:center;color:rgb(48,48,48)}.psv-overlay-image svg{width:50%}@container psv-container (orientation: landscape){.psv-overlay-image svg{width:33%}}.psv-overlay-title{color:black;margin-top:1em;font:30px sans-serif;text-align:center}.psv-overlay-text{color:rgba(0,0,0,.8);font:20px sans-serif;opacity:.8;text-align:center}.psv-panel{position:absolute;z-index:90;right:0;height:100%;width:400px;max-width:calc(100% - 9px);background:rgba(10,10,10,.7);transform:translate3d(100%,0,0);opacity:0;transition-property:opacity,transform;transition-timing-function:ease-in-out;transition-duration:.1s;cursor:default;margin-left:9px}.psv--has-navbar .psv-panel{height:calc(100% - 40px)}.psv-panel-close-button{display:none;position:absolute;top:-1px;right:0;width:19.2px;height:19.2px;padding:6.4px;background:transparent;color:#fff;transition:background .3s ease-in-out;cursor:pointer}.psv-panel-close-button svg{transition:transform .3s ease-in-out}.psv-panel-close-button:hover{background:rgba(0,0,0,.9)}.psv-panel-close-button:hover svg{transform:scale(-1)}.psv-panel-resizer{display:none;position:absolute;top:0;left:-9px;width:9px;height:100%;background-color:rgba(0,0,0,.9);cursor:col-resize}.psv-panel-resizer:before{content:"";position:absolute;top:50%;left:5.5px;margin-top:-14.5px;width:1px;height:1px;box-shadow:1px 0 #fff,3px 0 #fff,5px 0 #fff,1px 2px #fff,3px 2px #fff,5px 2px #fff,1px 4px #fff,3px 4px #fff,5px 4px #fff,1px 6px #fff,3px 6px #fff,5px 6px #fff,1px 8px #fff,3px 8px #fff,5px 8px #fff,1px 10px #fff,3px 10px #fff,5px 10px #fff,1px 12px #fff,3px 12px #fff,5px 12px #fff,1px 14px #fff,3px 14px #fff,5px 14px #fff,1px 16px #fff,3px 16px #fff,5px 16px #fff,1px 18px #fff,3px 18px #fff,5px 18px #fff,1px 20px #fff,3px 20px #fff,5px 20px #fff,1px 22px #fff,3px 22px #fff,5px 22px #fff,1px 24px #fff,3px 24px #fff,5px 24px #fff,1px 26px #fff,3px 26px #fff,5px 26px #fff,1px 28px #fff,3px 28px #fff,5px 28px #fff;background:transparent}.psv-panel-content{width:100%;height:100%;box-sizing:border-box;color:rgb(220,220,220);font:16px sans-serif;overflow:auto}.psv-panel-content:not(.psv-panel-content--no-margin){padding:1em}.psv-panel-content--no-interaction{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.psv-panel--open{transform:translateZ(0);opacity:1;transition-duration:.2s}.psv-panel--open .psv-panel-close-button,.psv-panel--open .psv-panel-resizer{display:block}@container psv-container (max-width: 400px){.psv-panel{width:100%!important;max-width:none}.psv-panel-resizer{display:none!important}}.psv-panel-menu{height:100%;display:flex;flex-direction:column}.psv-panel-menu-title{flex:none;display:flex;align-items:center;font:24px sans-serif;margin:24px 12px}.psv-panel-menu-title svg{width:24px;height:24px;margin-right:12px}.psv-panel-menu-list{flex:1;list-style:none;margin:0;padding:0;overflow-x:hidden}.psv-panel-menu-item{min-height:1.5em;padding:.5em 1em;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;transition:background .1s ease-in-out}.psv-panel-menu-item--active{outline:1px solid currentcolor;outline-offset:-1px}.psv-panel-menu-item-icon{flex:none;height:1.5em;width:1.5em;margin-right:.5em}.psv-panel-menu-item-icon img{max-width:100%;max-height:100%}.psv-panel-menu-item-icon svg{width:100%;height:100%}.psv-panel-menu-item:focus-visible{outline:2px solid #007cff;outline-offset:-2px}.psv-panel-menu--stripped .psv-panel-menu-item:hover{background:rgba(255,255,255,.2)}.psv-panel-menu--stripped .psv-panel-menu-item:nth-child(odd),.psv-panel-menu--stripped .psv-panel-menu-item:nth-child(odd):before{background:rgba(255,255,255,.1)}.psv-panel-menu--stripped .psv-panel-menu-item:nth-child(2n),.psv-panel-menu--stripped .psv-panel-menu-item:nth-child(2n):before{background:transparent}.psv-container:not(.psv--is-touch) .psv-panel-menu-item:hover{background:rgba(255,255,255,.2)}.psv-tooltip{position:absolute;z-index:50;box-sizing:border-box;max-width:200px;background:rgba(61,61,61,.8);border-radius:4px;opacity:0;transition-property:opacity,transform;transition-timing-function:ease-in-out;transition-duration:.1s;cursor:default}.psv-tooltip-content{color:rgb(255,255,255);font:14px sans-serif;text-shadow:0 1px #000;padding:.5em 1em}.psv-tooltip-arrow{position:absolute;height:0;width:0;border:7px solid transparent}.psv-tooltip--top-center,.psv-tooltip--top-left,.psv-tooltip--top-right{transform:translate3d(0,5px,0)}.psv-tooltip--top-center .psv-tooltip-arrow,.psv-tooltip--top-left .psv-tooltip-arrow,.psv-tooltip--top-right .psv-tooltip-arrow{border-top-color:rgba(61,61,61,.8)}.psv-tooltip--bottom-center,.psv-tooltip--bottom-left,.psv-tooltip--bottom-right{transform:translate3d(0,-5px,0)}.psv-tooltip--bottom-center .psv-tooltip-arrow,.psv-tooltip--bottom-left .psv-tooltip-arrow,.psv-tooltip--bottom-right .psv-tooltip-arrow{border-bottom-color:rgba(61,61,61,.8)}.psv-tooltip--center-left,.psv-tooltip--left-bottom,.psv-tooltip--left-top{transform:translate3d(5px,0,0)}.psv-tooltip--center-left .psv-tooltip-arrow,.psv-tooltip--left-bottom .psv-tooltip-arrow,.psv-tooltip--left-top .psv-tooltip-arrow{border-left-color:rgba(61,61,61,.8)}.psv-tooltip--center-right,.psv-tooltip--right-bottom,.psv-tooltip--right-top{transform:translate3d(-5px,0,0)}.psv-tooltip--center-right .psv-tooltip-arrow,.psv-tooltip--right-bottom .psv-tooltip-arrow,.psv-tooltip--right-top .psv-tooltip-arrow{border-right-color:rgba(61,61,61,.8)}.psv-tooltip--left-top,.psv-tooltip--top-left{box-shadow:-3px -3px 0 rgba(90,90,90,.7)}.psv-tooltip--top-center{box-shadow:0 -3px 0 rgba(90,90,90,.7)}.psv-tooltip--right-top,.psv-tooltip--top-right{box-shadow:3px -3px 0 rgba(90,90,90,.7)}.psv-tooltip--bottom-left,.psv-tooltip--left-bottom{box-shadow:-3px 3px 0 rgba(90,90,90,.7)}.psv-tooltip--bottom-center{box-shadow:0 3px 0 rgba(90,90,90,.7)}.psv-tooltip--bottom-right,.psv-tooltip--right-bottom{box-shadow:3px 3px 0 rgba(90,90,90,.7)}.psv-tooltip--center-left{box-shadow:-3px 0 0 rgba(90,90,90,.7)}.psv-tooltip--center-right{box-shadow:3px 0 0 rgba(90,90,90,.7)}.psv-tooltip--visible{transform:translateZ(0);opacity:1}