.main-content{flex:1;padding:0;overflow:hidden;min-height:0;position:relative}.turntable-container{position:relative;width:100%;height:100%;overflow:hidden}.turntable-container-item{position:absolute;width:100%;height:100%;padding:0;overflow:hidden;box-sizing:border-box;display:flex;transition:none}.turntable-container-item.project-container,.turntable-container-item.drawing-container{flex-direction:column}.file-column{width:80px;background:#fff3;border-right:1px solid rgba(0,0,0,.1);padding:5px;flex-shrink:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.project-container-header,.drawing-container-header{display:flex;align-items:center;gap:15px;padding:20px;border-bottom:1px solid rgba(0,0,0,.1);background:transparent;flex-shrink:0}.function-btn-wrapper{position:relative;display:inline-block}.function-btn{width:40px;height:40px;border-radius:50%;background:#4caf50;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:all .05s ease;box-shadow:0 2px 4px #0000001a;z-index:10}.function-btn:hover{background:#45a049;box-shadow:0 4px 8px #00000026;transform:scale(1.05)}.function-btn:active{transform:scale(.95)}.function-dropdown{position:absolute;top:50px;left:0;background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:200px;opacity:0;visibility:hidden;transform:translateY(-10px);transition:all .05s ease;z-index:1000;padding:4px 0}.function-btn-wrapper.active .function-dropdown{opacity:1;visibility:visible;transform:translateY(0)}.function-dropdown-item{width:100%;padding:12px 16px;border:none;background:transparent;color:#333;text-align:left;cursor:pointer;display:flex;align-items:center;gap:10px;font-size:.9rem;transition:background .2s ease}.function-dropdown-item:hover{background:#f5f5f5}.function-dropdown-item i{width:18px;text-align:center}.project-container-header .home-new-project-btn,.drawing-container-header .drawing-new-container-btn{margin-left:auto}.defect-column,.workOrder-column{width:500px;background:transparent;border-right:1px solid rgba(0,0,0,.1);padding:10px;flex-shrink:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.home-new-project-btn{border:none;background:#4caf50;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.9rem;transition:all .05s;flex-shrink:0;padding:0 20px;text-align:center;height:40px;border-radius:20px;font-weight:500}.home-new-project-btn:hover{background:#45a049;transform:scale(1.05)}.drawing-new-container-btn{border:none;background:#4caf50;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.9rem;transition:all .05s;flex-shrink:0;padding:0 20px;text-align:center;height:40px;border-radius:20px;font-weight:500}.drawing-new-container-btn:hover{background:#45a049;transform:scale(1.05)}.container-card{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 2px 8px #0000001a}.container-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px;padding-bottom:15px;border-bottom:2px solid var(--primary)}.container-card-header-info{flex:1}.container-card-header-title-wrapper{display:flex;align-items:center;gap:10px;position:relative}.drawing-pdf-viewer-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000c;z-index:12600;display:flex;align-items:center;justify-content:center}.drawing-pdf-viewer-container{width:100%;height:100%;background:#fff;border-radius:0;display:flex;flex-direction:column;overflow:hidden}.drawing-pdf-viewer-function-wrapper{position:relative}.drawing-pdf-viewer-function-btn{width:32px;height:32px;border-radius:999px;border:none;background:#e5e7eb;color:#374151;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,transform .1s ease}.drawing-pdf-viewer-function-btn:hover{background:#d1d5db;transform:translateY(-1px)}.drawing-pdf-viewer-function-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:260px;max-width:320px;background:#fff;border-radius:10px;box-shadow:0 10px 35px #0f172a38;padding:12px 12px 10px;z-index:10002;display:none}.drawing-pdf-viewer-function-wrapper.open .drawing-pdf-viewer-function-menu{display:block}.drawing-pdf-viewer-function-separator{height:1px;background:#e5e7eb;margin:10px 0}@media(max-width:1024px){.drawing-pdf-viewer-header{padding:8px 10px;flex-wrap:wrap;gap:6px;min-height:auto}.drawing-pdf-viewer-header>div:first-child{flex-basis:100%}.drawing-pdf-viewer-header .drawing-pdf-zoom-btn,.drawing-pdf-viewer-header #drawingPdfZoomValue{display:none}.drawing-pdf-viewer-sorting-bar{padding:6px 10px;gap:8px}.sorting-bar-item select{min-width:120px}}.drawing-pdf-viewer-header{padding:15px 20px;background:#f5f5f5;border-bottom:1px solid #ddd;display:flex;align-items:center;justify-content:space-between}.drawing-pdf-viewer-sorting-bar{min-height:50px;padding:8px 20px;background:#fafafa;border-bottom:1px solid #ddd;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.drawing-pdf-viewer-sorting-bar-left{display:flex;align-items:center;gap:20px;flex-wrap:wrap;flex:1;min-width:0;min-height:34px}.drawing-pdf-viewer-selection-wrapper{position:relative}.drawing-pdf-viewer-selection-btn{display:inline-flex;align-items:center;justify-content:space-between;min-width:180px;max-width:280px;padding:6px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;font-weight:500;color:#333;background:#fff;cursor:pointer;height:32px;text-align:left}.drawing-pdf-viewer-selection-btn:hover{border-color:#999;background:#f9f9f9}.drawing-pdf-viewer-selection-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawing-pdf-viewer-selection-menu{position:absolute;left:0;top:calc(100% + 6px);min-width:320px;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 10px 30px #00000026;padding:12px;z-index:10002;display:none}.drawing-pdf-viewer-selection-wrapper.open .drawing-pdf-viewer-selection-menu{display:block}.drawing-pdf-viewer-selection-menu .sorting-bar-item{margin-bottom:10px}.drawing-pdf-viewer-selection-menu .sorting-bar-item:last-child{margin-bottom:0}.drawing-pdf-bsi-btn{background:#f0f4ff;min-width:100px}.drawing-pdf-bsi-btn:hover{background:#e4eaff;border-color:#7b9cff}.drawing-pdf-viewer-sorting-bar-right{min-width:120px;max-width:400px;height:34px;flex-shrink:0;display:flex;align-items:center;gap:8px}.drawing-pdf-download-btn{width:32px;height:32px;border:1px solid rgba(0,0,0,.15);border-radius:6px;background:#0000000f;color:#444;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;transition:background .15s;flex-shrink:0}.drawing-pdf-download-btn:hover{background:#0000001f}.drawing-pdf-viewer-overlay.drawing-pdf-viewer-tag-mode{z-index:13000}.drawing-pdf-viewer-overlay.drawing-pdf-viewer-tag-mode .drawing-pdf-viewer-sorting-bar{display:none}.drawing-pdf-viewer-overlay.drawing-pdf-viewer-tag-mode .drawing-pdf-viewer-photos-marks-tag-switches,.drawing-pdf-viewer-overlay.drawing-pdf-viewer-tag-mode .drawing-pdf-viewer-label-controls,.drawing-pdf-viewer-overlay.drawing-pdf-viewer-tag-mode .drawing-pdf-viewer-defect-controls{display:none!important}.sorting-bar-item{display:flex;align-items:center;gap:8px}.sorting-bar-item label{font-size:14px;font-weight:500;color:#333;white-space:nowrap}.sorting-bar-item select{min-width:200px;padding:6px 30px 6px 10px;border:1px solid #ddd;border-radius:4px;font-size:14px;background:#fff;cursor:pointer;height:32px;appearance:none;-webkit-appearance:none;-moz-appearance:none}.sorting-bar-item select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.custom-multi-select{position:relative}.custom-select-arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none;color:#666;font-size:10px}.drawing-pdf-viewer-content{flex:1;overflow:auto;position:relative;display:flex;align-items:center;justify-content:center}.drawing-pdf-upload-placeholder{text-align:center;padding:40px}.drawing-pdf-viewer{width:100%;height:100%;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:move}.drawing-pdf-viewer canvas{display:block;transition:none}.drawing-pdf-viewer canvas.dragging{transition:none}#drawingPdfLabelLayer .drawing-pdf-tag-marker .tag-circle,#drawingPdfLabelLayer .drawing-pdf-tag-marker .tag-textbox{cursor:pointer!important}.drawing-pdf-zoom-btn:hover{background:#bbb!important}#defectPdfPreviewContent .pdf-section{margin-bottom:20px}#defectPdfPreviewContent .pdf-field{margin-bottom:8px}#defectPdfPreviewContent .pdf-field-label{font-weight:600;color:#555;display:inline-block;min-width:150px}#defectPdfPreviewContent .pdf-photos-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}#defectPdfPreviewContent .pdf-basic-info-container{display:grid;grid-template-columns:1fr auto;gap:20px;margin-top:10px}#defectPdfPreviewContent .pdf-left-content{flex:1}#defectPdfPreviewContent .pdf-right-content{width:auto;flex-shrink:0}#defectPdfPreviewContent .pdf-defect-mark-view{width:100%;height:auto;border:1px solid #ddd;border-radius:4px;background:#f5f5f5}#defectPdfPreviewContent .pdf-photo{width:100%;height:100%;border:1px solid #ddd;border-radius:4px;object-fit:cover;aspect-ratio:1}#defectPdfPreviewContent .pdf-photos-grid>div{position:relative;padding-bottom:100%;overflow:hidden}#defectPdfPreviewContent .pdf-photos-grid>div>img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}@media print{#defectPdfPreviewContent{width:210mm;min-height:297mm;padding:20mm;margin:0;box-shadow:none}}#defectsTable tbody tr.defect-row-highlighted{background-color:#007bff26!important;border-left:4px solid #007bff!important}#defectsTable tbody tr.defect-row-highlighted td,#defectsTable tbody tr.defect-row-highlighted td.sticky-column-1,#defectsTable tbody tr.defect-row-highlighted td.sticky-column-2{background-color:#007bff26!important}#defectsTable tbody tr.defect-row-highlighted:hover,#defectsTable tbody tr.defect-row-highlighted:hover td,#defectsTable tbody tr.defect-row-highlighted:hover td.sticky-column-1,#defectsTable tbody tr.defect-row-highlighted:hover td.sticky-column-2{background-color:#007bff40!important}
