body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.organization-selector-overlay{align-items:center;animation:fadeIn .3s ease-in-out;background-color:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.organization-selector-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:1200px;width:90%}.modal-header{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e0e0e0;border-radius:12px 12px 0 0;color:#fff;padding:24px}.modal-header h2{font-size:24px;font-weight:600;margin:0 0 8px}.modal-header p{font-size:14px;margin:0;opacity:.9}.organizations-grid{grid-gap:20px;display:grid;flex:1 1;gap:20px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));overflow-y:auto;padding:24px}.organization-card{background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;padding:20px;position:relative;transition:all .2s ease}.organization-card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26;transform:translateY(-2px)}.organization-card.selected{background:linear-gradient(135deg,#f5f7ff,#f0f2ff);border-color:#667eea;box-shadow:0 4px 12px #667eea40}.organization-card.inactive{cursor:not-allowed;opacity:.6}.organization-card.inactive:hover{box-shadow:none;transform:none}.org-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.org-header h3{color:#333;font-size:18px;font-weight:600;margin:0}.status-badge{font-weight:500}.status-active{background:#e8f5e9;color:#2e7d32}.status-suspended{background:#fff3e0;color:#f57c00}.status-archived{background:#f5f5f5;color:#757575}.org-id{color:#757575;font-size:12px;margin-bottom:12px}.org-description{color:#666;font-size:14px;line-height:1.4;margin-bottom:16px}.org-description p{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin:0;overflow:hidden}.org-stats{display:flex;flex-direction:column;gap:12px}.stat-item{flex-direction:column;gap:4px}.progress-fill{border-radius:4px;transition:width .3s ease,background-color .3s ease}.stat-value{font-weight:500}.selection-indicator{background:#667eea;border-radius:12px;color:#fff;font-size:12px;font-weight:600;padding:4px 12px;position:absolute;right:10px;top:10px}.modal-footer{border-top:1px solid #e0e0e0;display:flex;gap:12px;justify-content:flex-end;padding:20px 24px}.btn-confirm{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 32px;transition:all .2s ease}.btn-confirm:hover:not(:disabled){box-shadow:0 4px 12px #667eea66;transform:translateY(-1px)}.btn-confirm:disabled{cursor:not-allowed;opacity:.5}.btn-cancel{background:#fff;border:1px solid #e0e0e0;border-radius:6px;color:#666;cursor:pointer;font-size:14px;font-weight:600;padding:12px 32px;transition:all .2s ease}.btn-cancel:hover{background:#f5f5f5;border-color:#d0d0d0}.loading-container{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:300px;padding:60px}.loading-container p{color:#666;font-size:14px}.error-container{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:300px;padding:60px;text-align:center}.error-container h2{color:#d32f2f;font-size:24px;margin:0 0 16px}.error-container p{color:#666;font-size:14px;margin:0 0 24px}.empty-container{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:300px;padding:60px;text-align:center}.empty-container h2{color:#333;font-size:24px;margin:0 0 16px}.empty-container p{color:#666;font-size:14px;margin:0 0 12px}@media (max-width:768px){.organizations-grid{grid-template-columns:1fr;padding:16px}.organization-selector-modal{max-height:95vh;width:95%}.modal-header{padding:16px}.modal-header h2{font-size:20px}.modal-footer{flex-direction:column;padding:16px}.btn-cancel,.btn-confirm,.btn-retry{width:100%}}.usage-dashboard-container{margin:0 auto;max-width:1400px;padding:24px}.dashboard-header{align-items:center;border-bottom:2px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:32px;padding-bottom:20px}.header-info h2{color:#333;font-size:28px;font-weight:600;margin:0 0 8px}.org-name{color:#666;font-size:16px;margin:0}.header-actions{align-items:center;display:flex;gap:16px}.btn-refresh{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:all .2s ease}.btn-refresh:hover:not(:disabled){box-shadow:0 4px 12px #667eea66}.btn-refresh:disabled{cursor:not-allowed;opacity:.6}.last-updated{color:#999}.alerts-section{margin-bottom:32px}.alerts-section h3{color:#333;font-size:20px;font-weight:600;margin:0 0 16px}.alerts-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.alert{align-items:center;border-left:4px solid;border-radius:8px;display:flex;gap:16px;padding:16px}.alert-warning{background:#fff3e0;border-left-color:#ff9800}.alert-critical{background:#ffebee;border-left-color:#f44336}.alert-icon{font-size:32px}.alert-content strong{color:#333;display:block;margin-bottom:4px}.alert-content p{color:#666;font-size:14px;margin:0}.quota-summary{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:32px}.quota-card{background:#fff;border:2px solid #e0e0e0;border-radius:12px;padding:24px;transition:all .2s ease}.quota-card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26}.quota-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.quota-header h3{color:#333;font-size:18px;font-weight:600;margin:0}.status-badge{border-radius:12px;color:#fff;font-size:12px;font-weight:600;padding:4px 12px}.quota-content{display:flex;flex-direction:column;gap:12px}.quota-value{color:#666;font-size:14px}.quota-value strong{color:#333;font-size:24px}.progress-bar{background:#f0f0f0}.progress-fill{border-radius:6px;transition:width .5s ease,background-color .3s ease}.quota-percentage{color:#666;font-size:14px;font-weight:600;text-align:right}.stats-section{margin-bottom:32px}.stats-section h3{color:#333;font-size:20px;font-weight:600;margin:0 0 16px}.stats-grid{grid-gap:16px;gap:16px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.stat-card{align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:8px;display:flex;gap:16px;padding:20px;transition:all .2s ease}.stat-card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea1a}.stat-label{color:#999;letter-spacing:.5px;margin-bottom:4px;text-transform:uppercase}.stat-value-small{color:#666;font-size:14px;font-weight:500}.activity-section{margin-bottom:32px}.activity-section h3{color:#333;font-size:20px;font-weight:600;margin:0 0 16px}.activity-list{background:#fff;border:2px solid #e0e0e0;border-radius:8px;overflow:hidden}.activity-item{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;gap:16px;padding:16px 20px;transition:background .2s ease}.activity-item:last-child{border-bottom:none}.activity-item:hover{background:#f9f9f9}.activity-icon{font-size:24px;text-align:center;width:40px}.activity-content{flex:1 1}.activity-description{color:#333;font-size:14px;margin-bottom:4px}.activity-time{color:#999;font-size:12px}.empty-state,.error-state,.loading-state{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:400px;padding:60px;text-align:center}.empty-state h3,.error-state h3{color:#333;font-size:24px;margin:0 0 16px}.empty-state p,.error-state p,.loading-state p{color:#666;font-size:16px;margin:0}.loading-spinner{border:4px solid #f0f0f0;border-radius:50%;border-top-color:#667eea;height:50px;margin-bottom:20px;width:50px}.btn-retry{background:#667eea;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;margin-top:20px;padding:12px 32px;transition:all .2s ease}.btn-retry:hover{background:#5568d3;box-shadow:0 4px 12px #667eea66;transform:translateY(-1px)}@media (max-width:1024px){.dashboard-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{justify-content:space-between;width:100%}}@media (max-width:768px){.usage-dashboard-container{padding:16px}.dashboard-header{margin-bottom:24px}.header-info h2{font-size:24px}.alerts-grid,.quota-summary,.stats-grid{grid-template-columns:1fr}.stat-card{padding:16px}.quota-card{padding:20px}}@media (max-width:480px){.header-actions{flex-direction:column;width:100%}.btn-refresh{width:100%}.last-updated{text-align:center;width:100%}}.xml-metadata-viewer{height:100%;overflow-y:auto;padding:10px}.metadata-table{border-collapse:collapse;font-size:.9rem;width:100%}.metadata-table td,.metadata-table th{border-bottom:1px solid #eee;padding:6px 8px;text-align:left}.metadata-table th{color:#333;font-weight:600;width:30%}.metadata-table td{word-break:break-word}.no-metadata{color:#999;font-style:italic;padding:10px}.maiml-file-selector-overlay{align-items:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#000000bf;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.maiml-file-selector-container{background:linear-gradient(135deg,#fff,#f8f9fa);border:2px solid #007bff;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;height:75vh;max-width:1200px;overflow:hidden;width:90%}.maiml-file-selector-header{align-items:center;background:linear-gradient(135deg,#007bff,#0056b3);border-bottom:1px solid #dee2e6;color:#fff;display:flex;justify-content:space-between;min-height:50px;padding:12px 20px}.maiml-file-selector-header h3{align-items:center;color:#fff;display:flex;font-size:16px;font-weight:600;gap:8px;margin:0}.close-button{background:none;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:18px;padding:4px 8px;transition:background .2s ease}.close-button:hover:not(:disabled){background:#fff3}.file-tree-panel,.maiml-file-selector-body{display:flex;flex:1 1;min-height:0}.file-tree-panel{border-right:1px solid #dee2e6;flex-direction:column}.file-tree-header{background:#f8f9fa;border-bottom:1px solid #dee2e6;min-height:50px;padding:8px 12px}.file-tree-title{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.file-tree-title h4{color:#333;font-size:14px;margin:0}.file-count{background:#e9ecef;border-radius:12px;color:#6c757d;font-size:12px;padding:2px 6px}.search-bar{position:relative}.search-input{border:1px solid #ced4da;border-radius:4px;font-size:13px;padding:6px 30px 6px 10px;width:100%}.clear-search{background:none;border:none;color:#6c757d;cursor:pointer;font-size:12px;padding:2px;position:absolute;right:8px;top:50%;transform:translateY(-50%)}.file-tree-container{flex:1 1;overflow-y:auto;padding:8px}.maiml-file-tree{list-style:none;margin:0;padding:0}.maiml-file-tree-folder{align-items:center;border-radius:4px;cursor:pointer;display:flex;margin-bottom:2px;padding:6px 8px;transition:background-color .2s ease}.maiml-file-tree-folder:hover{background-color:#f8f9fa}.maiml-file-tree-toggle{color:#6c757d;font-size:12px;margin-right:6px}.folder-icon{font-size:14px;margin-right:8px}.maiml-file-tree-name{color:#333;flex:1 1;font-size:13px}.maiml-file-tree-item{align-items:center;border-radius:4px;cursor:pointer;display:flex;margin-bottom:2px;padding:6px 8px;transition:background-color .2s ease}.maiml-file-tree-item:hover{background-color:#f8f9fa}.maiml-file-tree-item.selected{background-color:#e3f2fd;border-left:3px solid #2196f3}.file-icon{font-size:14px;margin-right:8px}.depth-0{padding-left:8px}.depth-1{padding-left:24px}.depth-2{padding-left:40px}.depth-3{padding-left:56px}.depth-4{padding-left:72px}.file-details-panel{display:flex;flex:1 1;flex-direction:column;min-height:0;position:relative}.file-details-panel:before{background:linear-gradient(135deg,#28a745,#20c997);border-radius:12px;color:#fff;content:"S3 INTEGRATED";font-size:10px;font-weight:700;opacity:.8;padding:4px 8px;position:absolute;right:10px;top:10px;z-index:10}.file-details-header{background:#f8f9fa;border-bottom:1px solid #dee2e6;min-height:50px;padding:8px 12px}.file-details-header h4{color:#333;font-size:14px;margin:0}.file-details-content{flex:1 1;overflow-y:auto;padding:12px}.selected-file-details{display:flex;flex-direction:column;gap:10px}.file-icon-large{font-size:32px;margin-bottom:10px;text-align:center}.file-meta-info{background:#f8f9fa;border-left:4px solid #007bff;border-radius:6px;padding:12px}.info-row{align-items:center;border-bottom:1px solid #f8f9fa;justify-content:space-between;padding:6px 0}.info-row:last-child{border-bottom:none}.info-row label{color:#495057;font-size:13px;font-weight:600;min-width:60px}.info-row span{color:#6c757d;flex:1 1;font-size:13px;margin-left:10px;text-align:right;word-break:break-all}.file-path-info{background:#f8f9fa;border-radius:4px;margin-top:10px;padding:8px}.file-path-info label{color:#495057;display:block;font-size:12px;font-weight:600;margin-bottom:4px}.file-path{background:#fff;border:1px solid #dee2e6;border-radius:3px;font-size:11px;padding:4px 6px;word-break:break-all}.file-size-info{align-items:center;display:flex;font-size:12px;justify-content:space-between;margin-top:8px}.no-selection{color:#6c757d;padding:40px 20px}.no-selection-icon{font-size:48px;margin-bottom:15px}.no-selection p{font-size:14px;margin-bottom:8px}.s3-integration-status{background:linear-gradient(135deg,#d4edda,#c3e6cb);border-left:4px solid #28a745;border-radius:6px;margin-top:15px;padding:12px}.s3-integration-status .info-row{margin-bottom:0}.s3-integration-status .info-row span{color:#155724!important;font-size:14px;font-weight:700}.s3-help-text{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-left:3px solid #2196f3;border-radius:4px;color:#007bff;font-size:13px;font-weight:600;line-height:1.4;margin-top:15px;padding:10px}.maiml-file-selector-footer{background:#f8f9fa;border-top:1px solid #dee2e6;display:flex;justify-content:flex-end;min-height:60px;padding:12px 20px}.button-group{align-items:center;gap:10px}.cancel-button,.confirm-button{border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;min-width:100px;padding:8px 16px;transition:all .2s ease}.cancel-button{background:#6c757d;color:#fff}.cancel-button:hover:not(:disabled){background:#5a6268;transform:translateY(-1px)}.confirm-button{background:linear-gradient(135deg,#28a745,#20c997);color:#fff}.confirm-button:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1e7e34);box-shadow:0 4px 12px #28a7454d;transform:translateY(-1px)}.confirm-button:disabled{background:#6c757d!important;cursor:not-allowed!important;opacity:.7}.cancel-button:disabled,.close-button:disabled{cursor:not-allowed;opacity:.7}.loading-file-list{color:#666;padding:60px 20px;text-align:center}.loading-file-list .loading-spinner{animation:spin 1s linear infinite;color:#007bff;font-size:24px;margin-bottom:15px}.loading-file-list p{font-size:16px;font-weight:600;margin-bottom:10px}.error-file-list{color:#dc3545;padding:60px 20px;text-align:center}.error-file-list p{font-size:16px;font-weight:600;margin-bottom:15px}.error-message{background:linear-gradient(135deg,#f8d7da,#f1aeb5);border-left:4px solid #dc3545;color:#721c24;font-size:14px;line-height:1.4;margin:15px 0;padding:15px;text-align:left}.retry-button{background:linear-gradient(135deg,#007bff,#0056b3);border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;margin-top:15px;padding:12px 24px;transition:all .2s ease}.retry-button:hover{box-shadow:0 4px 12px #007bff4d;transform:translateY(-1px)}.loading-indicator{animation:spin 1s linear infinite;color:#007bff;margin-left:8px}.s3-indicator{color:#28a745;font-size:14px;margin-left:8px}.error-indicator{color:#dc3545;font-size:14px;margin-left:8px}.no-files{color:#666;line-height:1.6;padding:40px 20px;text-align:center}.no-files p{margin-bottom:15px}.help-text{color:#6c757d;font-size:14px;margin-bottom:10px}.debug-text{background:#f8f9fa;border-radius:4px;color:#adb5bd;font-family:monospace;font-size:12px;margin:10px 0;padding:8px;word-break:break-all}.action-text{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-left:3px solid #2196f3;border-radius:6px;color:#007bff;font-size:14px;font-weight:600;margin-top:20px;padding:10px}.search-results{padding:10px}.search-results h4{color:#333;font-size:14px;margin:0 0 15px}.search-results-list{list-style:none;margin:0;padding:0}.search-result-item{align-items:center;border:1px solid #0000;border-radius:4px;cursor:pointer;display:flex;margin-bottom:4px;padding:8px 12px;transition:background-color .2s ease}.search-result-item:hover{background-color:#f8f9fa;border-color:#dee2e6}.search-result-item.selected{background-color:#e3f2fd;border-color:#2196f3}.search-result-item .file-icon{font-size:16px;margin-right:10px}.file-info{display:flex;flex:1 1;flex-direction:column}.file-name{color:#333;margin-bottom:2px}.file-path{color:#6c757d;font-family:monospace;font-size:12px}.loading-overlay{align-items:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#fffffff2;border-radius:8px;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:1000}.loading-content{background:#fff;border:2px solid #007bff;border-radius:12px;box-shadow:0 8px 32px #0000001a;min-width:250px;padding:30px;text-align:center}.loading-spinner{animation:spin 1s linear infinite;color:#007bff;font-size:32px;margin-bottom:15px}.loading-message{color:#333;font-size:16px;font-weight:600;line-height:1.4;margin:0}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-5px)}60%{transform:translateY(-3px)}}@keyframes successPulse{0%{box-shadow:0 0 0 0 #28a745b3}50%{box-shadow:0 0 0 10px #28a74533}to{box-shadow:0 0 0 0 #28a74500}}.s3-success-highlight{animation:successPulse 2s ease-in-out}.maiml-file-selector-header h3:after{animation:bounce 2s infinite;content:"🚀";font-size:18px}@media (max-width:768px){.maiml-file-selector-container{height:70vh;width:95%}.file-details-header,.file-tree-header{min-height:40px;padding:6px 10px}.maiml-file-selector-footer{min-height:50px;padding:8px 15px}.loading-content{min-width:200px;padding:20px}.loading-spinner{font-size:24px}.loading-message{font-size:14px}.s3-help-text{font-size:12px}}@media (prefers-color-scheme:dark){.maiml-file-selector-overlay{background:#000000d9}.maiml-file-selector-container{background:linear-gradient(135deg,#343a40,#495057);border-color:#6c757d;color:#fff}.loading-overlay{background:#212529f2}.loading-content{background:#343a40;border-color:#6c757d;color:#fff}.s3-integration-status{background:linear-gradient(135deg,#1e7e34,#28a745);color:#fff}.s3-help-text{background:linear-gradient(135deg,#1e3a5f,#2196f3);color:#fff}}.react-flow{direction:ltr}.react-flow__container{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__pane{cursor:grab;z-index:1}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:grabbing}.react-flow__viewport{pointer-events:none;transform-origin:0 0;z-index:2}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{overflow:visible;pointer-events:none}.react-flow__connection-path,.react-flow__edge-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{cursor:pointer;pointer-events:visibleStroke}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{box-sizing:border-box;cursor:grab;pointer-events:all;position:absolute;transform-origin:0 0;-webkit-user-select:none;user-select:none}.react-flow__node.dragging{cursor:grabbing}.react-flow__nodesselection{pointer-events:none;transform-origin:left top;z-index:3}.react-flow__nodesselection-rect{cursor:grab;pointer-events:all;position:absolute}.react-flow__handle{background:#1a192b;border:1px solid #fff;border-radius:100%;height:6px;min-height:5px;min-width:5px;pointer-events:none;position:absolute;width:6px}.react-flow__handle.connectionindicator{cursor:crosshair;pointer-events:all}.react-flow__handle-bottom{bottom:-4px;left:50%;top:auto;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{left:-4px;top:50%;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{margin:15px;position:absolute;z-index:5}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translateX(-50%)}.react-flow__attribution{background:#ffffff80;margin:0;padding:2px 3px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{height:100%;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;width:100%}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-group,.react-flow__node-input,.react-flow__node-output{background-color:#fff;border:1px solid #1a192b;border-radius:3px;color:#222;font-size:12px;padding:10px;text-align:center;width:150px}.react-flow__node-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted #0059dccc}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{align-items:center;background:#fefefe;border:none;border-bottom:1px solid #eee;box-sizing:initial;cursor:pointer;display:flex;height:16px;justify-content:center;padding:5px;-webkit-user-select:none;user-select:none;width:16px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{max-height:12px;max-width:12px;width:100%}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.bottom,.react-flow__resize-control.top{cursor:ns-resize}.react-flow__resize-control.bottom.right,.react-flow__resize-control.top.left{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:#3367d9;border:1px solid #fff;border-radius:1px;height:4px;transform:translate(-50%,-50%);width:4px}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.bottom.left,.react-flow__resize-control.handle.top.left{left:0}.react-flow__resize-control.handle.bottom.right,.react-flow__resize-control.handle.top.right{left:100%}.react-flow__resize-control.line{border:0 solid #3367d9}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{height:100%;top:0;transform:translate(-50%);width:1px}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.bottom,.react-flow__resize-control.line.top{height:1px;left:0;transform:translateY(-50%);width:100%}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.property-viewer{background-color:#fff;display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%}.property-header{align-items:center;border-bottom:1px solid #0000001a;display:flex;justify-content:space-between;padding:10px 15px}.property-header h3{align-items:center;color:#fff;display:flex;font-size:1.1rem;font-weight:500;margin:0}.property-type{font-size:.85rem;font-weight:400;margin-left:8px;opacity:.8}.property-tabs{background-color:#f5f5f5;border-bottom:1px solid #ddd;display:flex}.tab-button{background:none;border:none;border-bottom:2px solid #0000;cursor:pointer;flex:1 1;font-size:.9rem;padding:8px 0;transition:all .2s}.tab-button:hover{background-color:#e8e8e8}.tab-button.active{border-bottom-color:#4a6da7;color:#4a6da7;font-weight:500}.property-content{flex:1 1;overflow-y:auto;padding:12px}.property-table{border-collapse:collapse;text-align:left;width:100%}.property-row{border-bottom:1px solid #eee;text-align:left}.property-row:last-child{border-bottom:none}.property-key{color:#555;font-weight:500;padding:8px 5px;text-align:left;vertical-align:top;width:35%}.property-value-cell{padding:8px 5px;text-align:left;word-break:break-word}.property-null{color:#999;font-style:italic;text-align:left}.property-description{line-height:1.4;text-align:left;white-space:pre-line}.property-array{margin:0;padding-left:20px;text-align:left}.property-object{background-color:#f8f8f8;border-radius:4px;margin:5px 0;padding:8px;text-align:left}.property-nested-group{border-left:2px solid #e0e0e0;margin-top:5px;padding-left:10px;text-align:left}.property-row.nested{align-items:flex-start;border-bottom:none;display:flex;padding:3px 0;text-align:left}.property-key.nested{color:#666;font-size:.9em;font-weight:400;min-width:120px;padding:2px 5px 2px 0;text-align:left;width:auto}.property-value.nested{flex:1 1;font-size:.9em;padding:2px 0;text-align:left}.property-content-group{border-top:1px dashed #e0e0e0;margin-top:5px;padding-top:5px}.property-content-header{color:#4a6da7;font-weight:500;margin-bottom:3px}.property-content-items{border-left:1px dotted #e0e0e0;padding-left:10px}.property-boolean-true{background-color:#e3f5e5;color:#2e7d32}.property-boolean-false,.property-boolean-true{border-radius:3px;display:inline-block;font-size:.85em;padding:2px 6px;text-align:left}.property-boolean-false{background-color:#ffebee;color:#c62828}.close-btn{background:none;border:none;color:#fff;cursor:pointer;font-size:1.2rem;line-height:1;opacity:.7;padding:0 5px}.close-btn:hover{opacity:1}.no-properties{color:#888;font-style:italic;padding:20px;text-align:center}.data-property-row{border-bottom:1px solid #eee;text-align:left}.data-property-key{color:#555;font-weight:500;padding:6px 5px;text-align:left;vertical-align:top;width:35%}.data-property-value-cell{padding:6px 5px;text-align:left;word-break:break-word}@media (max-width:767px){.property-key{width:40%}.property-content{padding:8px}.property-key.nested{font-size:.85em;min-width:100px}.property-value.nested{font-size:.85em}}.react-flow__node.selected{box-shadow:0 0 0 3px #ff9800}.react-flow__edge.selected{z-index:1000}.react-flow__edge-path{stroke-width:2;transition:stroke-width .2s ease}.react-flow__edge.selected .react-flow__edge-path{stroke-width:3}.react-flow__node:hover{cursor:pointer;filter:brightness(1.05)}.react-flow__arrowhead{fill:#2196f3}.react-flow__edge.selected .react-flow__arrowhead{fill:#ff9800}.react-flow__panel{margin:10px}.react-flow__minimap{border:1px solid #e0e0e0;border-radius:4px;overflow:hidden}.react-flow__controls{border-radius:4px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.react-flow__controls-button{border-bottom:1px solid #e0e0e0}.react-flow__controls-button:hover{background-color:#f5f5f5}.react-flow__background{background-color:#fafafa}.react-flow__attribution{font-size:10px;opacity:.5}.react-flow__edge:hover .react-flow__edge-text{transform:scale(1.1)}.react-flow__selection{background:#2196f31a;border:1px solid #2196f3}.react-flow__handle{transition:all .2s ease}.react-flow__handle:hover{transform:scale(1.3)}.react-flow__handle-connecting{background:#ff9800!important}.react-flow__edge.animated{animation:pulse 2s ease-in-out infinite}.react-flow__renderer::-webkit-scrollbar{height:8px;width:8px}.react-flow__renderer::-webkit-scrollbar-track{background:#f1f1f1}.react-flow__renderer::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.react-flow__renderer::-webkit-scrollbar-thumb:hover{background:#555}.circular-reference-warning{animation:blink 1s ease-in-out infinite;color:#f44336;font-weight:600}@keyframes blink{0%,to{opacity:1}50%{opacity:.3}}@media (max-width:768px){.react-flow__panel{margin:5px}.react-flow__minimap{height:75px;width:100px}.react-flow__controls{bottom:10px;left:10px}}@media print{.react-flow__attribution,.react-flow__controls,.react-flow__minimap{display:none}.react-flow__background{background-color:#fff}}.mobile-transition-tabs{background:#f8fafc;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;height:100%;overflow:hidden}.mobile-transition-tabs .transition-header{background:#fff;border-bottom:2px solid #e5e7eb;box-sizing:border-box;flex-shrink:0;padding:12px 20px;width:100%}.mobile-transition-tabs .header-info{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.mobile-transition-tabs .header-info h2{flex-shrink:0;font-size:16px;font-weight:700;margin:0}.mobile-transition-tabs .progress-summary{align-items:center;display:flex;flex-shrink:0;font-size:13px;gap:8px;opacity:.9}.mobile-transition-tabs .progress-text{white-space:nowrap}.mobile-transition-tabs .progress-percentage{font-weight:700;white-space:nowrap}.mobile-transition-tabs .details-toggle-btn{background:#fff3;border:1px solid #ffffff4d;border-radius:8px;color:#fff;cursor:pointer;font-size:12px;padding:8px 12px;transition:all .2s ease}.mobile-transition-tabs .details-toggle-btn:hover{background:#ffffff4d}.mobile-transition-tabs .transition-details-panel{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-bottom:1px solid #cbd5e1;flex-shrink:0}.mobile-transition-tabs .details-content{padding:16px 20px}.mobile-transition-tabs .overall-stats{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin-bottom:16px}.mobile-transition-tabs .stat-card{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;gap:8px;padding:12px}.mobile-transition-tabs .stat-card.completed{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#16a34a}.mobile-transition-tabs .stat-card.pending{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#f59e0b}.mobile-transition-tabs .stat-card.data{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#3b82f6}.mobile-transition-tabs .stat-icon{font-size:20px}.mobile-transition-tabs .stat-info{display:flex;flex-direction:column}.mobile-transition-tabs .stat-label{color:#6b7280;font-size:11px;font-weight:600}.mobile-transition-tabs .stat-value{color:#1f2937;font-size:16px;font-weight:700}.mobile-transition-tabs .existing-data-info{background:#0ea5e91a;border:1px solid #0ea5e9;border-radius:8px;padding:12px}.mobile-transition-tabs .existing-data-info h4{color:#0c4a6e;font-size:14px;margin:0 0 8px}.mobile-transition-tabs .existing-stats{color:#0369a1;display:flex;font-size:12px;gap:16px}.mobile-transition-tabs .progress-bar-container{background:#fff;border-bottom:1px solid #e5e7eb;box-sizing:border-box;flex-shrink:0;padding:12px 20px;width:100%}.mobile-transition-tabs .progress-bar{background:#e5e7eb;border-radius:4px;height:8px;margin-bottom:8px;overflow:hidden;width:100%}.mobile-transition-tabs .progress-fill{background:linear-gradient(90deg,#10b981,#059669);border-radius:4px;height:100%;transition:width .3s ease}.mobile-transition-tabs .progress-label{color:#6b7280;font-size:12px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}.mobile-transition-tabs .transitions-container{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;position:relative}.mobile-transition-tabs .transition-item{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:12px;cursor:pointer;display:flex;gap:16px;margin-bottom:12px;padding:16px;transition:all .2s ease}.mobile-transition-tabs .transition-item:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f626}.mobile-transition-tabs .transition-item.selected{background:linear-gradient(135deg,#eff6ff,#f0f9ff);border-color:#3b82f6}.mobile-transition-tabs .transition-item.completed{background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border-color:#10b981}.mobile-transition-tabs .transition-item.completed:hover{border-color:#059669}.mobile-transition-tabs .transition-status{flex-shrink:0}.mobile-transition-tabs .status-completed,.mobile-transition-tabs .status-pending{align-items:center;display:flex;flex-direction:column;gap:4px}.mobile-transition-tabs .status-completed .status-icon{color:#16a34a;font-size:24px}.mobile-transition-tabs .status-completed .status-text{background:#16a34a;border-radius:12px;color:#fff;font-size:10px;font-weight:700;padding:2px 8px}.mobile-transition-tabs .status-pending .status-icon{color:#f59e0b;font-size:24px}.mobile-transition-tabs .status-pending .status-text{background:#f59e0b;border-radius:12px;color:#fff;font-size:10px;font-weight:700;padding:2px 8px}.mobile-transition-tabs .transition-info{flex:1 1}.mobile-transition-tabs .transition-header-info{margin-bottom:8px}.mobile-transition-tabs .transition-name{color:#1f2937;font-size:16px;margin:0 0 4px}.mobile-transition-tabs .transition-id{color:#6b7280;font-size:12px}.mobile-transition-tabs .transition-stats{display:flex;flex-direction:column;gap:8px}.mobile-transition-tabs .data-count.completed-data{color:#16a34a;font-weight:600}.mobile-transition-tabs .data-count.no-data{color:#6b7280}.mobile-transition-tabs .template-info{display:flex;flex-wrap:wrap;gap:8px}.mobile-transition-tabs .template-badge{border-radius:8px;font-size:10px;font-weight:700;padding:2px 6px}.mobile-transition-tabs .template-badge.materials{background:#fef3c7;color:#92400e}.mobile-transition-tabs .template-badge.conditions{background:#e0f2fe;color:#0c4a6e}.mobile-transition-tabs .template-badge.results{background:#f3e8ff;color:#6b21a8}.mobile-transition-tabs .transition-action{flex-shrink:0}.mobile-transition-tabs .select-button{background:#3b82f6;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .2s ease}.mobile-transition-tabs .select-button:hover{background:#2563eb}.mobile-transition-tabs .transition-item.completed .select-button{background:#16a34a}.mobile-transition-tabs .transition-item.completed .select-button:hover{background:#15803d}.mobile-transition-tabs .save-section{background:#fff;border-top:1px solid #e5e7eb;margin:0 0 20px;padding:20px}.mobile-transition-tabs .save-info{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.mobile-transition-tabs .save-status .save-ready{color:#16a34a;font-weight:600}.mobile-transition-tabs .save-status .save-not-ready{color:#dc2626;font-weight:600}.mobile-transition-tabs .save-details{color:#6b7280;font-size:12px}.mobile-transition-tabs .save-button{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:16px;font-weight:700;gap:12px;justify-content:center;padding:16px;transition:all .3s ease;width:100%}.mobile-transition-tabs .save-button.enabled{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.mobile-transition-tabs .save-button.enabled:hover{box-shadow:0 8px 25px #10b98166;transform:translateY(-2px)}.mobile-transition-tabs .save-button.disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed}.mobile-transition-tabs .save-icon{font-size:18px}.mobile-transition-tabs .no-transitions{color:#6b7280;padding:40px 20px;text-align:center}.mobile-transition-tabs .no-transitions-icon{font-size:48px;margin-bottom:16px}@media (max-width:480px){.mobile-transition-tabs .transition-header{padding:12px 16px}.mobile-transition-tabs .header-info h2{font-size:16px}.mobile-transition-tabs .progress-summary{flex-direction:column;gap:4px}.mobile-transition-tabs .details-toggle-btn{font-size:11px;padding:6px 8px}.mobile-transition-tabs .overall-stats{grid-template-columns:repeat(2,1fr)}.mobile-transition-tabs .transitions-list{padding:12px 16px}.mobile-transition-tabs .transition-item{padding:12px}.mobile-transition-tabs .transition-name{font-size:14px}.mobile-transition-tabs .save-section{padding:16px}.mobile-transition-tabs .existing-stats{flex-direction:column;gap:8px}}@media (min-width:1024px){.mobile-transition-tabs .overall-stats{grid-template-columns:repeat(4,1fr)}.mobile-transition-tabs .existing-stats{gap:24px}}.insertion-file-upload{background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;margin:8px 0;padding:8px}.insertion-file-upload-label{align-items:center;display:flex;gap:12px;margin-bottom:12px}.insertion-file-upload-label .label-text{color:#212529;font-size:14px;font-weight:600}.insertion-file-upload-label .label-hint{color:#6c757d;font-size:12px;font-style:italic}.insertion-file-upload-label .label-restriction{color:#dc3545;font-size:11px;font-weight:500}.file-drop-zone{align-items:center;background:#fff;border:2px dashed #adb5bd;border-radius:6px;cursor:pointer;display:flex;justify-content:center;min-height:100px;transition:all .3s ease}.file-drop-zone:hover:not(.disabled){background:#f0f7ff;border-color:#0d6efd}.file-drop-zone.drag-over{background:#e7f3ff;border-color:#0d6efd;border-width:3px}.file-drop-zone.disabled{background:#e9ecef;cursor:not-allowed;opacity:.6}.drop-zone-content{padding:16px 12px;text-align:center}.upload-icon{fill:#6c757d;height:32px;margin:0 auto 8px;width:32px}.drop-zone-text{color:#495057;font-size:13px;line-height:1.4;margin:0 0 4px}.drop-zone-text .click-text{color:#0d6efd;font-weight:600}.drop-zone-hint{color:#868e96;font-size:13px;margin:0}.processing-indicator{padding:32px;text-align:center}.spinner{border-top-color:#0d6efd;height:48px;width:48px}.processing-indicator p{color:#495057;font-size:14px;margin:8px 0}.progress-bar{background:#e9ecef;border-radius:4px;height:8px;margin:16px auto;max-width:300px;width:100%}.progress-fill{background:linear-gradient(90deg,#0d6efd,#0b5ed7);transition:width .3s ease}.progress-text{color:#0d6efd;font-size:13px;font-weight:600}.file-info-display{background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:8px}.file-info-header{align-items:center;border-bottom:1px solid #e9ecef;display:flex;gap:8px;margin-bottom:8px;padding-bottom:8px}.file-icon{fill:#0d6efd;flex-shrink:0;height:40px;width:40px}.file-info-main{flex:1 1;min-width:0}.file-name{color:#212529;font-size:14px;font-weight:600;margin:0 0 4px;word-break:break-all}.file-size{color:#6c757d;font-size:12px;margin:0}.file-clear-button{align-items:center;background:#f8f9fa;border:none;border-radius:4px;cursor:pointer;display:flex;flex-shrink:0;height:32px;justify-content:center;padding:0;transition:all .2s ease;width:32px}.file-clear-button:hover:not(:disabled){background:#e9ecef}.file-clear-button:disabled{cursor:not-allowed;opacity:.5}.file-clear-button svg{fill:#6c757d;height:20px;width:20px}.file-info-details{display:flex;flex-direction:column;gap:8px}.info-row{align-items:flex-start;display:flex;font-size:13px;gap:8px}.info-label{color:#495057;flex-shrink:0;font-weight:600;min-width:70px}.info-value{color:#212529;flex:1 1;word-break:break-all}.hash-value,.uri-value{background:#f8f9fa;border-radius:3px;font-family:Courier New,Courier,monospace;padding:2px 6px}.hash-value{font-size:11px}.file-preview{border-top:1px solid #e9ecef;margin-top:16px;padding-top:16px}.preview-label{color:#495057;font-size:13px;font-weight:600;margin:0 0 8px}.preview-image{border:1px solid #dee2e6;border-radius:4px;display:block;margin:0 auto;max-height:300px;max-width:100%}.error-message{align-items:center;background:#f8d7da;border:1px solid #f5c2c7;border-radius:4px;color:#842029;display:flex;font-size:13px;gap:8px;margin-top:12px;padding:12px}.error-icon{fill:#dc3545;flex-shrink:0;height:20px;width:20px}@media (max-width:768px){.insertion-file-upload{padding:12px}.file-drop-zone{min-height:160px}.drop-zone-content{padding:24px 16px}.upload-icon{height:48px;width:48px}.drop-zone-text{font-size:14px}.file-info-display{padding:12px}.info-row{flex-direction:column;gap:4px}.info-label{min-width:0;min-width:auto}.preview-image{max-height:200px}}.mobile-data-input{background:#f8fafc;contain:layout style paint;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;height:100vh}.mobile-data-input:focus-within{outline:none}.mobile-header{display:none}.header-left{flex-shrink:0}.mobile-back-button{background:#fff3;border:1px solid #ffffff4d;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:8px 12px;transition:all .2s ease}.mobile-back-button:hover{background:#ffffff4d}.mobile-back-button:focus{outline:2px solid #3b82f6;outline-offset:2px}.header-center h2{font-size:18px;font-weight:700;margin:0 0 4px}.user-info{font-size:12px;opacity:.9}.header-right{flex-shrink:0}.existing-data-summary-btn{background:#fff3;border:1px solid #ffffff4d;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;padding:8px 12px;transition:all .2s ease}.existing-data-summary-btn:hover{background:#ffffff4d}.existing-data-summary-btn:focus{outline:2px solid #3b82f6;outline-offset:2px}.property-dialog-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:2000}.property-dialog{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0000004d;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.dialog-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:20px 24px 16px}.dialog-header h3{color:#374151;font-size:18px;margin:0}.dialog-close-btn{background:none;border:none;border-radius:4px;color:#9ca3af;cursor:pointer;font-size:20px;padding:4px}.dialog-close-btn:hover{background:#f3f4f6;color:#374151}.dialog-content{padding:20px 24px}.dialog-field{margin-bottom:20px}.dialog-field label{color:#374151;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.dialog-input,.dialog-select,.dialog-textarea{border:1px solid #d1d5db;border-radius:8px;box-sizing:border-box;font-family:inherit;font-size:14px;padding:12px;width:100%}.dialog-input:focus,.dialog-select:focus,.dialog-textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.dialog-textarea{min-height:80px;resize:vertical}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;padding:16px 24px 24px}.dialog-btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .2s ease}.dialog-btn.cancel{background:#f3f4f6;color:#374151}.dialog-btn.cancel:hover{background:#e5e7eb}.dialog-btn.confirm{background:#3b82f6;color:#fff}.dialog-btn.confirm:hover:not(:disabled){background:#2563eb}.dialog-btn.confirm:disabled{background:#9ca3af;cursor:not-allowed}.existing-data-summary{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-bottom:1px solid #0ea5e9;flex-shrink:0}.summary-header{align-items:center;border-bottom:1px solid #0ea5e933;display:flex;justify-content:space-between;padding:12px 20px}.summary-header h3{color:#0c4a6e;font-size:16px;margin:0}.close-summary-btn{background:#0ea5e933;border:none;border-radius:6px;color:#0c4a6e;cursor:pointer;font-size:14px;padding:4px 8px}.close-summary-btn:focus{outline:2px solid #3b82f6;outline-offset:2px}.summary-content{padding:16px 20px}.summary-stats{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:16px}.stat-item{align-items:center;background:#ffffffb3;border:1px solid #0ea5e933;gap:8px;padding:8px 12px}.stat-item.total{background:#0ea5e91a;border-color:#0ea5e9;font-weight:600}.stat-item.content{background:#3b82f61a;border-color:#3b82f6;color:#1e40af}.stat-icon{font-size:16px}.stat-label{color:#0c4a6e;font-size:13px}.stat-value{color:#0369a1;font-size:14px}.summary-note{background:#fffc;border:1px solid #0ea5e94d;border-radius:8px;padding:12px}.summary-note p{color:#0c4a6e;font-size:12px;line-height:1.4;margin:0}.mobile-tab-container{background:#fff;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;overflow-x:auto}.mobile-tab{align-items:center;background:none;border:none;border-bottom:3px solid #0000;cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:4px;min-width:120px;padding:16px 12px;position:relative;transition:all .2s ease}.mobile-tab:hover{background:#f9fafb}.mobile-tab.active{background:#f0f9ff;border-bottom-color:#3b82f6}.mobile-tab:focus{outline:2px solid #3b82f6;outline-offset:2px}.tab-icon{font-size:20px}.tab-text{color:#374151;font-size:12px;font-weight:600}.mobile-tab.active .tab-text{color:#3b82f6}.tab-count{align-items:center;background:#10b981;border-radius:50%;color:#fff;display:flex;font-size:10px;font-weight:700;height:20px;justify-content:center;position:absolute;right:8px;top:8px;width:20px}.existing-indicator{color:#0ea5e9;font-size:12px;left:6px;position:absolute;top:6px}.save-ready-indicator{animation:pulse 2s infinite;bottom:6px;color:#10b981;font-size:12px;position:absolute;right:6px}.mobile-form-content:after{content:"";display:block;flex-shrink:0;height:120px;width:100%}.mobile-form-content::-webkit-scrollbar{width:8px}.mobile-form-content::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px;margin:8px 0}.mobile-form-content::-webkit-scrollbar-thumb{background:#cbd5e1;border:1px solid #e2e8f0;border-radius:4px}.mobile-form-content::-webkit-scrollbar-thumb:hover{background:#94a3b8;border-color:#cbd5e1}.mobile-form-section{background:#0000;border:none;border-radius:0;padding:8px}.template-section{margin-bottom:16px}.template-section.has-existing-data{background:#fafafa;border:1px solid #e0f2fe;border-radius:6px}.template-header{background:#0000;border:none;border-radius:0;margin-bottom:8px;padding:6px}.template-section.has-existing-data .template-header{background:#f0f9ff;border-color:#0000}.template-header h3{align-items:center;color:#1e293b;display:flex;flex-wrap:wrap;font-size:14px;gap:6px;margin:0 0 2px}.template-counter{background:#3b82f6;font-size:12px}.existing-data-badge-header,.template-counter{border-radius:12px;color:#fff;font-weight:400;padding:2px 8px}.existing-data-badge-header{background:#0ea5e9;font-size:11px}.template-id{color:#64748b;font-size:12px;margin:0}.template-separator{margin:20px 0}.separator-line{border:none;border-top:2px dashed #e2e8f0;margin:0}.properties-container{margin-bottom:20px}.mobile-property-input-container{margin-bottom:12px}.mobile-property-input-container.custom-property{background:#fef9f0;border:1px solid #f59e0b;border-radius:6px;padding:10px}.mobile-property-input-container.nested-property-list{background:linear-gradient(135deg,#f3e8ff,#fff);border:2px solid #8b5cf6;border-radius:8px;padding:16px}.mobile-property-input-container.content-property{background:#f0f9ff;border:1px solid #3b82f6;border-radius:6px;padding:10px}.mobile-property-label{align-items:center;color:#374151;display:block;display:flex;flex-wrap:wrap;font-size:14px;font-weight:600;gap:8px;margin-bottom:8px}.existing-data-badge{background:#0ea5e9}.custom-property-badge,.existing-data-badge{border-radius:8px;color:#fff;font-size:10px;font-weight:400;padding:2px 6px}.custom-property-badge{background:#f59e0b}.property-type-indicator{background:#8b5cf6}.content-type-indicator,.property-type-indicator{border-radius:8px;color:#fff;font-size:10px;font-weight:400;padding:2px 6px}.content-type-indicator{background:#3b82f6}.property-type-small{color:#6b7280;font-size:10px;margin-left:4px}.nested-properties-container{background:#fafafa;border:1px solid #e5e7eb;border-radius:4px;margin-top:8px;padding:8px}.nested-properties-container.custom{background:#fefce8;border-color:#fbbf24}.nested-properties-container.existing{background:#f0f9ff;border-color:#7dd3fc}.nested-properties-container.template{background:#faf5ff;border-color:#c4b5fd}.nested-properties-container.custom-empty{background:#fef3c71a;border-color:#f59e0b;border-style:dashed}.nested-properties-header{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;margin-bottom:12px;padding:8px 12px}.nested-properties-header.custom{background:#fef3c7;border-color:#f59e0b}.nested-properties-header.existing{background:#e0f2fe;border-color:#0ea5e9}.nested-properties-header.template{background:#ede9fe;border-color:#8b5cf6}.nested-properties-header.custom-empty{background:#fefce8;border-color:#eab308}.nested-count{color:#475569;font-size:12px;font-weight:600}.nested-count.custom{color:#92400e}.nested-count.existing{color:#0c4a6e}.nested-count.template{color:#6b21a8}.nested-count.custom-empty{color:#a16207}.custom-property-note{background:#fefce8;border:1px solid #eab308;border-radius:6px;padding:12px;text-align:center}.custom-property-note p{color:#a16207;font-size:12px;line-height:1.4;margin:0}.nested-property-item{background:#f8fafc;border-radius:6px;margin-bottom:12px;padding:8px}.nested-property-item.content-data,.nested-property-item.content-property{background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #3b82f6}.nested-property-item.regular-property{background:#fff;border:1px solid #d1d5db}.nested-property-item.custom{background:linear-gradient(135deg,#fef3c7,#fff);border:1px solid #f59e0b}.nested-property-label.custom{color:#92400e}.nested-property-input.custom{border-color:#f59e0b}.nested-property-input.nested{border-color:#3b82f6}.data-info{color:#6b7280;font-size:11px;margin-left:8px}.data-info.custom{color:#92400e}.data-available-indicator{background:#10b981;border-radius:6px;color:#fff;font-size:10px;font-weight:400;padding:2px 6px}.view-data-grid-button{background:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:12px;margin-bottom:8px;padding:8px 12px;transition:all .2s ease}.view-data-grid-button:hover{background:#2563eb;transform:translateY(-1px)}.view-data-grid-button.custom{background:#f59e0b}.view-data-grid-button.custom:hover{background:#d97706}.view-existing-data-button{background:#0ea5e9;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:12px;margin-bottom:8px;padding:8px 12px;transition:all .2s ease}.view-existing-data-button:hover{background:#0284c7}.view-existing-data-button.nested{font-size:11px;padding:6px 10px}.data-preview{color:#6b7280;font-size:11px;margin-top:4px}.data-preview.nested{font-size:10px}.data-preview.custom{color:#92400e}.statistics-info{color:#6b7280;font-size:10px;margin-top:2px}.existing-content-data{background:linear-gradient(135deg,#f0f9ff,#fff);border:1px solid #0ea5e9;border-radius:8px;margin-bottom:12px;padding:12px}.existing-content-data.nested{margin-bottom:8px;padding:8px}.content-hint{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;margin-bottom:12px;padding:12px;text-align:center}.content-hint.nested{margin-bottom:8px;padding:8px}.content-hint p{color:#64748b;font-size:13px;line-height:1.4;margin:0}.content-upload-area.nested{margin-top:8px}.mobile-file-upload-container{position:relative}.mobile-file-upload-container.nested{margin-top:8px}.mobile-file-input{height:0;opacity:0;position:absolute;width:0}.mobile-file-upload-btn{align-items:center;background:linear-gradient(135deg,#6366f1,#4f46e5);border:2px dashed #ffffff4d;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:12px;justify-content:center;padding:16px;transition:all .3s ease;width:100%}.mobile-file-upload-btn.nested{border-radius:8px;font-size:12px;gap:8px;padding:10px 12px}.mobile-file-upload-btn.has-data{background:linear-gradient(135deg,#0ea5e9,#0284c7);border-color:#fff6}.mobile-file-upload-btn:hover{background:linear-gradient(135deg,#5b5ff9,#4338ca);box-shadow:0 8px 25px #6366f14d;transform:translateY(-2px)}.mobile-file-upload-btn.nested:hover{box-shadow:0 4px 12px #6366f14d;transform:translateY(-1px)}.mobile-file-upload-btn.has-data:hover{background:linear-gradient(135deg,#0284c7,#0369a1);box-shadow:0 8px 25px #0ea5e94d}.mobile-file-upload-btn.processing{background:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none}.upload-icon{font-size:20px}.mobile-file-upload-btn.nested .upload-icon{font-size:14px}.mobile-file-loaded{background:#f0fdf4;border-radius:6px;color:#166534;display:flex;flex-direction:column;font-size:14px;font-weight:600;gap:4px;margin-top:8px;padding:12px}.mobile-file-loaded.existing{background:#f0f9ff;border:1px solid #0ea5e9;color:#0c4a6e}.mobile-file-loaded .loaded-icon{color:#16a34a;margin-right:8px}.mobile-file-loaded.existing .loaded-icon{color:#0ea5e9}.file-details{color:#059669;font-size:12px;font-weight:400;margin-top:4px}.mobile-file-loaded.existing .file-details{color:#0284c7}.mobile-property-wrapper{margin-bottom:16px}.property-input-enhanced{position:relative}.value-badge-simple{border-radius:6px;font-size:10px;font-weight:600;letter-spacing:.5px;margin-left:4px;padding:2px 6px;text-transform:uppercase;white-space:nowrap}.value-badge-simple.class{background:linear-gradient(135deg,#3b82f6,#2563eb);border:1px solid #1e40af;color:#fff}.value-badge-simple.recorded{background:linear-gradient(135deg,#10b981,#059669);border:1px solid #065f46;color:#fff}.value-badge-simple.temp-saved{background:linear-gradient(135deg,#f59e0b,#d97706);border:1px solid #b45309;color:#fff}.mobile-property-wrapper.has-class-value input[type=date],.mobile-property-wrapper.has-class-value input[type=datetime-local],.mobile-property-wrapper.has-class-value input[type=number],.mobile-property-wrapper.has-class-value input[type=text],.mobile-property-wrapper.has-class-value input[type=time],.mobile-property-wrapper.has-class-value select,.mobile-property-wrapper.has-class-value textarea{background:#fff;border:1px solid #3b82f6}.mobile-property-wrapper.has-recorded-value input[type=date],.mobile-property-wrapper.has-recorded-value input[type=datetime-local],.mobile-property-wrapper.has-recorded-value input[type=number],.mobile-property-wrapper.has-recorded-value input[type=text],.mobile-property-wrapper.has-recorded-value input[type=time],.mobile-property-wrapper.has-recorded-value select,.mobile-property-wrapper.has-recorded-value textarea{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border:1px solid #10b981;color:#065f46;font-weight:500}@media (max-width:768px){.value-badge-simple{font-size:9px;margin-left:2px;padding:1px 4px}}.property-input-enhanced.has-existing-data{background:linear-gradient(135deg,#f0f9ff,#fff);border:1px solid #0ea5e9;border-radius:8px;padding:12px}.property-input-enhanced.is-custom-property{background:linear-gradient(135deg,#fef3c7,#fff);border:1px solid #f59e0b;border-radius:8px;padding:12px}.custom-property-indicator{align-items:center;background:#f59e0b;border-radius:12px;color:#fff;display:flex;font-size:11px;gap:4px;left:8px;padding:2px 8px;position:absolute;top:-8px}.custom-icon,.existing-icon{font-size:10px}.custom-text,.existing-text{font-weight:600}.dynamic-properties{border-top:1px solid #e5e7eb;padding-top:16px}.add-custom-property-button{align-items:center;background:linear-gradient(135deg,#f59e0b,#d97706);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;margin-top:16px;padding:12px 16px;transition:all .2s ease}.add-custom-property-button:hover{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 4px 12px #f59e0b4d;transform:translateY(-1px)}.no-template{color:#6b7280;padding:40px 20px;text-align:center}.no-template-icon{font-size:48px;margin-bottom:16px;opacity:.7}.no-template h3{color:#374151;font-size:16px;margin:0 0 8px}.no-template p{color:#6b7280;font-size:14px;line-height:1.5;margin:0}@supports (height:100vh){.mobile-form-actions-fixed{bottom:0!important;bottom:max(0px,env(safe-area-inset-bottom))!important}}@supports (padding:max(0px)){.mobile-form-actions-fixed{padding-bottom:max(16px,env(safe-area-inset-bottom))!important}}.mobile-form-actions-fixed:before{background:linear-gradient(180deg,#0000,#fffc);bottom:100%;content:"";height:15px;left:0;pointer-events:none;position:absolute;right:0}.save-button-info{margin-bottom:8px}.mobile-grid-editor{background:#fff;display:flex;flex:1 1;flex-direction:column;min-height:0}.grid-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;flex-wrap:wrap;gap:12px;padding:16px 20px}.grid-header h3{color:#374151;flex:1 1;font-size:16px;margin:0}.grid-info{color:#6b7280;display:flex;font-size:12px;gap:12px}.grid-actions{align-items:center;display:flex;gap:12px}.mobile-cancel-grid-button{background:#ef4444;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .2s ease}.mobile-cancel-grid-button:hover{background:#dc2626;box-shadow:0 4px 12px #ef44444d;transform:translateY(-1px)}.mobile-save-grid-button{background:#10b981;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .2s ease}.mobile-save-grid-button:hover{background:#059669;box-shadow:0 4px 12px #10b9814d;transform:translateY(-1px)}.mobile-grid-container-fixed{display:flex;flex:1 1;min-height:0;overflow:hidden;padding:20px}.mobile-grid-container-fixed>div{flex:1 1;min-height:0}.grid-error{color:#6b7280;padding:40px 20px;text-align:center}.mobile-grid-help{background:#f8fafc;border-top:1px solid #e5e7eb;flex-shrink:0;padding:16px 20px}.mobile-grid-help h4{color:#374151;font-size:14px;margin:0 0 8px}.mobile-grid-help ul{color:#6b7280;font-size:12px;line-height:1.5;margin:0;padding-left:20px}.mobile-grid-help li{margin-bottom:4px}@media (max-width:480px){.mobile-form-content{padding:12px 16px 16px}.mobile-form-actions-inline{margin-top:20px;padding:12px 16px}}@media (min-width:1024px){.mobile-form-content{padding:20px 24px 24px}.mobile-form-actions-inline{margin-top:32px;padding:20px 24px}}.mobile-form-actions-inline{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffffa;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 24px #00000014;display:flex;flex-direction:column;gap:12px;margin-top:24px;padding:16px 20px;position:relative;z-index:10}.button-group{align-items:stretch;display:flex;gap:12px}.mobile-cancel-button{align-items:center;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;flex:1 1;font-size:15px;font-weight:700;gap:8px;justify-content:center;min-height:48px;min-width:120px;padding:14px 16px;transition:all .3s ease}.mobile-cancel-button:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 8px 25px #ef444466;transform:translateY(-2px)}.mobile-cancel-button:disabled{background:#e5e7eb;box-shadow:none;color:#9ca3af;cursor:not-allowed;transform:none}.mobile-cancel-button:focus{outline:2px solid #ef4444;outline-offset:2px}.cancel-icon{font-size:14px}.button-group .mobile-save-button{flex:2 1;min-width:160px}.save-button-info{word-wrap:break-word;font-size:12px;overflow-wrap:break-word;text-align:center}.save-info-ready{color:#16a34a;font-weight:600}.save-info-pending{color:#6b7280;font-weight:600}.debug-info{color:#9ca3af;font-size:10px;line-height:1.3;margin-top:4px;max-height:26px;overflow:hidden;word-break:break-all}.mobile-save-button{align-items:center;border:none;border-radius:10px;cursor:pointer;display:flex;font-size:15px;font-weight:700;gap:10px;justify-content:center;min-height:48px;padding:14px 16px;transition:all .3s ease;width:100%}.mobile-save-button.has-data{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.mobile-save-button.has-data:hover{box-shadow:0 8px 25px #10b98166;transform:translateY(-2px)}.mobile-save-button.no-data{background:#e5e7eb;color:#9ca3af;cursor:not-allowed}.mobile-save-button.saving{background:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none}.mobile-save-button:focus{outline:2px solid #3b82f6;outline-offset:2px}.save-icon{font-size:16px}.save-icon.saving{animation:spin 1s linear infinite}.developer-debug-panel{color:#6b7280;font-size:10px;margin-top:8px}.developer-debug-panel details{background:#0000000d;border-radius:4px;padding:4px 8px}.developer-debug-panel summary{cursor:pointer;font-weight:600;margin-bottom:4px}.debug-details{font-family:monospace;font-size:9px;line-height:1.3}.debug-details div{margin-bottom:2px;word-break:break-all}.property-tags{align-items:center;display:flex;flex-wrap:wrap;gap:6px;margin-left:8px}.property-tags.nested{gap:4px;margin-left:6px}.property-source-tag{border-radius:6px;font-size:10px;font-weight:700;letter-spacing:.5px;padding:2px 6px;text-transform:uppercase}.property-source-tag.class-tag{background:#3b82f6;color:#fff}.property-source-tag.result-tag{background:#0ea5e9;color:#fff}.property-source-tag.nested{border-radius:4px;font-size:9px;padding:1px 4px}.property-type-tag{background:#6b7280;border-radius:6px;color:#fff;font-size:10px;font-weight:400;padding:2px 6px}.property-type-tag.nested{border-radius:4px;font-size:9px;padding:1px 4px}.property-list-header{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:12px;padding:12px}.property-list-header .mobile-property-label{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:0}.nested-properties-container.class-nested{background:#3b82f60d;border-color:#3b82f6}.nested-properties-container.result-only-nested{background:#0ea5e90d;border-color:#0ea5e9}.nested-properties-header.class-nested{background:#eff6ff;border-color:#3b82f6}.nested-properties-header.result-only-nested{background:#e0f2fe;border-color:#0ea5e9}.nested-count.class-nested{color:#1e40af}.nested-count.result-only-nested{color:#0c4a6e}.nested-property-item.nested-property-list-item{background:linear-gradient(135deg,#f3e8ff,#fff);border:2px solid #8b5cf6;border-radius:8px;margin-bottom:16px;padding:12px}.nested-property-item.content-data-nested{background:linear-gradient(135deg,#eff6ff,#fff);border:2px solid #3b82f6;border-radius:8px;margin-bottom:12px;padding:12px}.nested-property-item.regular-nested{background:#fff;border:1px solid #d1d5db;border-radius:6px;margin-bottom:8px;padding:8px}.nested-property-header{margin-bottom:8px}.nested-property-label{align-items:center;color:#374151;display:flex;flex-wrap:wrap;font-size:13px;font-weight:600;gap:8px;margin-bottom:4px}.sub-nested-properties-container{background:#8b5cf60d;border:1px solid #c4b5fd;border-left:4px solid #8b5cf6;border-radius:8px;margin-top:12px;padding:12px}.sub-nested-properties-header{background:#f3e8ff;border:1px solid #c4b5fd;border-radius:4px;margin-bottom:8px;padding:6px 8px}.sub-nested-count{color:#6b21a8;font-size:11px;font-weight:600}.nested-property-input{border:1px solid #d1d5db;border-radius:4px;font-size:13px;margin-top:4px;padding:6px 8px;width:100%}.nested-property-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.nested-value-indicator{align-items:center;color:#10b981;display:flex;font-size:11px;gap:4px;margin-top:4px}.value-icon{font-size:10px}.value-text{font-weight:600}.existing-data-indicator{align-items:center;background:#0ea5e9;border-radius:12px;color:#fff;display:flex;font-size:11px;gap:4px;padding:2px 8px;position:absolute;right:8px;top:-8px}.existing-data-indicator .existing-text{font-weight:600}.nested-properties-empty{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-top:8px;padding:20px;text-align:center}.empty-message{color:#dc2626;font-size:13px;line-height:1.4;margin:0 0 8px}.property-debug-info{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;color:#6b7280;font-family:monospace;font-size:10px;margin-top:4px;padding:4px 8px}.property-debug-info.nested{font-size:9px;padding:2px 6px}@media (max-width:480px){.mobile-header{padding:12px 16px}.header-center h2{font-size:16px}.mobile-tab{min-width:100px;padding:12px 8px}.tab-icon{font-size:18px}.tab-text{font-size:11px}.mobile-form-content{padding:12px 16px 16px}.mobile-form-actions-inline{margin-top:20px;padding:12px 16px}.property-tags{gap:4px;margin-left:4px}.property-source-tag,.property-type-tag{font-size:9px;padding:1px 4px}.property-list-header{padding:8px}.property-list-header .mobile-property-label{font-size:13px}.nested-property-item.content-data-nested,.nested-property-item.nested-property-list-item{margin-bottom:12px;padding:8px}.sub-nested-properties-container{margin-top:8px;padding:8px}.grid-header{align-items:stretch;flex-direction:column;padding:12px 16px}.grid-actions,.grid-info{justify-content:center}.grid-actions{flex-direction:row;width:100%}.mobile-cancel-grid-button,.mobile-save-grid-button{flex:1 1;max-width:150px}.summary-stats{grid-template-columns:1fr}.mobile-grid-container-fixed{padding:12px 16px}.existing-data-badge-header{font-size:9px;padding:1px 6px}.existing-data-stats{font-size:11px;margin-left:8px}.property-dialog-overlay{padding:12px}.property-dialog{max-height:95vh}.dialog-header{padding:16px 20px 12px}.dialog-content{padding:16px 20px}.dialog-actions{flex-direction:column;padding:12px 20px 20px}.dialog-btn{width:100%}}@media (min-width:1024px){.mobile-form-content{padding:20px 24px 24px}.mobile-form-actions-inline{margin-top:32px;padding:20px 24px}.property-tags{gap:8px;margin-left:12px}.property-source-tag,.property-type-tag{font-size:11px;padding:3px 8px}.property-list-header{padding:16px}.nested-property-item.content-data-nested,.nested-property-item.nested-property-list-item{margin-bottom:20px;padding:16px}.summary-stats{grid-template-columns:repeat(4,1fr)}.mobile-grid-container-fixed{padding:20px 24px}.grid-actions{flex-direction:row;justify-content:flex-end}}@media (min-width:768px) and (max-width:1023px){.mobile-form-content{padding:18px 20px 20px}.mobile-form-actions-inline{margin-top:28px;padding:16px 20px}.mobile-grid-container-fixed{padding:18px 20px}.grid-actions{flex-direction:row;justify-content:flex-end}}@media (pointer:coarse){.mobile-tab{padding:18px 12px}.mobile-file-upload-btn{padding:20px}.mobile-save-button{min-height:52px;padding:16px 20px}.mobile-form-content::-webkit-scrollbar{width:10px}.mobile-form-content::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:5px}.mobile-form-actions-inline{min-height:95px;z-index:2000}}.mobile-form-content-wrapper{display:flex;flex:1 1;flex-direction:column;min-height:0;overflow:hidden;position:relative}.mobile-form-content{-webkit-overflow-scrolling:touch;border-bottom:1px solid #0000;border-top:1px solid #0000;box-sizing:border-box;flex:1 1;margin-bottom:0;min-height:0;overflow-y:auto;padding:16px 20px 20px;position:relative;scrollbar-gutter:stable;transform:translateZ(0)}.data-display-controls{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.data-display-controls.nested{gap:6px}.toggle-statistics-button{background:linear-gradient(135deg,#f59e0b,#d97706);border:none;border-radius:6px;box-shadow:0 2px 4px #f59e0b4d;color:#fff;cursor:pointer;font-size:12px;min-width:40px;padding:6px 10px;transition:all .2s ease}.toggle-statistics-button:hover{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 4px 8px #f59e0b66;transform:translateY(-1px)}.toggle-statistics-button.nested{font-size:11px;min-width:35px;padding:4px 8px}.statistics-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;margin-bottom:8px;padding-bottom:6px}.statistics-header.nested{margin-bottom:6px;padding-bottom:4px}.statistics-title{color:#374151;font-size:14px;font-weight:600}.statistics-title.nested{font-size:12px}.close-statistics-button{background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;font-size:12px;padding:2px 6px;transition:all .2s ease}.close-statistics-button:hover{background:#f3f4f6;color:#374151}.close-statistics-button.nested{font-size:10px;padding:1px 4px}.data-statistics-display{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 1px 3px #0000001a;font-size:13px;margin-top:8px;padding:12px}.data-statistics-display.nested{background:linear-gradient(135deg,#fefce8,#fef3c7);border-color:#f59e0b;font-size:12px;margin-top:6px;padding:8px}.data-statistics-compact-display{background:#f8fafccc;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;margin-top:6px;padding:6px 8px}.data-statistics-compact-display.nested{background:#fefce8cc;border-color:#fbbf24;font-size:11px;margin-top:4px;padding:4px 6px}.data-statistics-compact{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.stat-item-compact{align-items:center;background:#ffffffe6;border:1px solid #e2e8f0;border-radius:4px;color:#374151;display:inline-flex;font-size:11px;font-weight:500;padding:2px 6px;white-space:nowrap}.stat-item-compact:first-child{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-color:#3b82f6;color:#1e40af}.stat-item-compact.excluded-axis{background:linear-gradient(135deg,#fef2f2,#fecaca);border-color:#f87171;color:#dc2626;font-size:10px}.data-statistics-full{display:flex;flex-direction:column;gap:6px}.stat-row{align-items:center;display:flex;justify-content:space-between;padding:4px 0}.stat-row.excluded-info{background:#fef2f280;border:1px solid #fecaca;border-radius:4px;margin-bottom:4px;padding:6px 8px}.stat-label{color:#6b7280;font-size:12px}.stat-value{background:#ffffffe6;border:1px solid #e5e7eb;border-radius:4px;color:#111827;font-size:12px;font-weight:600;padding:2px 6px}.stat-value.excluded{background:#fef2f2e6;border-color:#f87171;color:#dc2626;font-style:italic}.data-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;color:#475569;font-size:13px;margin-top:8px;padding:8px 12px}.data-type-info{border-top:1px solid #e2e8f0;color:#64748b;font-size:12px;margin-top:4px;padding-top:4px}@media (max-width:768px){.data-display-controls,.data-statistics-compact{gap:4px}.stat-item-compact{font-size:10px;padding:1px 4px}.stat-item-compact.excluded-axis{font-size:9px}.data-statistics-display{font-size:12px;padding:8px}.data-statistics-display.nested{font-size:11px;padding:6px}.toggle-statistics-button{font-size:11px;min-width:32px;padding:4px 6px}.toggle-statistics-button.nested{font-size:10px;min-width:28px;padding:3px 5px}}.view-existing-data-button:hover{background:linear-gradient(135deg,#3b82f6,#1d4ed8);box-shadow:0 4px 8px #00000026;transform:translateY(-1px)}.view-existing-data-button:hover+.toggle-statistics-button{transform:translateY(-1px)}.data-statistics-compact-display,.data-statistics-display{animation:fadeInScale .3s ease-out}@keyframes fadeInScale{0%{opacity:0;transform:scale(.95) translateY(-5px)}to{opacity:1;transform:scale(1) translateY(0)}}.data-statistics-display:before{background:linear-gradient(90deg,#3b82f6,#8b5cf6,#ec4899);border-radius:8px 8px 0 0;content:"";height:2px;left:0;position:absolute;right:0;top:-2px}.data-statistics-display{overflow:hidden;position:relative}.data-statistics-display.nested:before{background:linear-gradient(90deg,#f59e0b,#ec4899,#8b5cf6)}.nested-property-item.mixed-content{background:linear-gradient(135deg,#f3e8ff,#faf5ff);border:2px solid #8b5cf6;border-radius:8px;margin-bottom:16px;padding:12px}.mixed-content-value{background:#fffc;border:1px solid #c4b5fd;border-radius:6px;margin-top:8px;padding:8px}.nested-children-container{border-left:3px solid #e2e8f0;margin-top:12px;padding-left:16px}.nested-children-container.level-2{background:linear-gradient(90deg,#3b82f608,#0000);border-left-color:#3b82f6}.nested-children-container.level-3{background:linear-gradient(90deg,#8b5cf608,#0000);border-left-color:#8b5cf6}.nested-children-container.level-4{background:linear-gradient(90deg,#ec489908,#0000);border-left-color:#ec4899}.nested-children-container.level-5{background:linear-gradient(90deg,#f59e0b08,#0000);border-left-color:#f59e0b}.nested-property-item.nested-level-2{background:#eff6ff;border:1px solid #3b82f6}.nested-property-item.nested-level-3{background:#f3e8ff;border:1px solid #8b5cf6}.nested-property-item.nested-level-4{background:#fdf2f8;border:1px solid #ec4899}.nested-property-item.nested-level-5{background:#fef3c7;border:1px solid #f59e0b}@media (max-width:768px){.nested-children-container{border-left-width:2px;padding-left:12px}.nested-property-item.mixed-content{padding:8px}.mixed-content-value{padding:6px}}.unified-experiment-recorder{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8fafc;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;height:auto;min-height:0;min-height:100vh;min-height:-webkit-fill-available;overflow:visible;position:relative;transition:all .3s ease}.unified-experiment-recorder.mobile{font-size:14px}.unified-experiment-recorder.tablet{background:#fff;border-left:none;border-right:none;box-shadow:none;font-size:15px;margin:0;width:100%}.unified-experiment-recorder.desktop{background:#fff;border:none;border-radius:0;box-shadow:none;font-size:16px;height:100%;margin:0;width:100%}.unified-header,.unified-header.desktop,.unified-header.mobile,.unified-header.tablet{display:none}.header-left{min-width:60px}.header-center{flex:1 1;padding:0 16px;text-align:center}.header-center h1{font-weight:700;line-height:1.2;margin:0 0 4px}.unified-header.mobile .header-center h1{font-size:16px}.unified-header.tablet .header-center h1{font-size:18px}.unified-header.desktop .header-center h1{font-size:20px}.system-badge{background:#fff3;border-radius:12px;color:#fff;display:inline-block;font-size:10px;font-weight:600;margin:0 8px;padding:2px 8px}.header-right{align-items:center;display:flex;justify-content:flex-end;min-width:60px}.back-button,.exit-button{align-items:center;background:#ffffff26;border:1px solid #ffffff4d;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-weight:600;gap:4px;transition:all .2s ease}.back-button.mobile,.exit-button.mobile{font-size:12px;padding:6px 10px}.back-button.tablet,.exit-button.tablet{font-size:13px;padding:8px 12px}.back-button.desktop,.exit-button.desktop{font-size:14px;padding:10px 16px}.back-button:hover,.exit-button:hover{background:#ffffff40;transform:translateY(-1px)}.back-button:active,.exit-button:active{background:#fff3;transform:translateY(0)}.user-badge{background:#fff3;border-radius:12px;color:#fff;display:inline-block;font-size:12px;font-weight:600;margin-top:4px;padding:4px 8px}.progress-bar{background:#fff;border-bottom:1px solid #e5e7eb;padding:8px 12px;transition:all .3s ease}.progress-bar.mobile{padding:6px 10px}.progress-bar.tablet{padding:8px 12px}.progress-bar.desktop{padding:10px 16px}.progress-info{align-items:center;color:#374151;display:flex;font-size:13px;font-weight:600;justify-content:space-between;margin-bottom:8px}.unified-experiment-recorder.tablet .progress-info{font-size:14px}.unified-experiment-recorder.desktop .progress-info{font-size:15px}.progress-track{background:#e5e7eb;border-radius:3px;height:6px;overflow:hidden}.unified-experiment-recorder.desktop .progress-track{height:8px}.progress-fill{background:linear-gradient(135deg,#10b981,#059669);border-radius:3px;height:100%;position:relative;transition:width .5s ease}.progress-bar *,.progress-fill,.progress-fill *,.progress-fill:after,.progress-fill:before,.progress-track *{animation:none!important;transition:width .3s ease!important}.progress-fill.loading:after,.progress-fill:after{display:none!important}.template-stats{color:#059669;font-size:12px;font-weight:600;margin-top:8px;text-align:center}.unified-experiment-recorder.desktop .template-stats{font-size:14px}.unified-main{display:flex;flex:1 1;flex-direction:column;min-height:0;overflow:visible;position:relative;transition:all .3s ease}.unified-main.mobile,.unified-main.tablet{background:#f8fafc}.unified-main.desktop{background:#fafbfc;border-left:1px solid #f1f5f9;border-right:1px solid #f1f5f9}.unified-main .mobile-data-input,.unified-main .mobile-form-content-wrapper{display:flex;flex:1 1;flex-direction:column;height:100%;min-height:0;overflow:visible}.unified-main .mobile-form-content{flex:1 1;min-height:0;overflow-y:auto;padding-bottom:20px}.unified-error-screen,.unified-loading-screen{align-items:center;display:flex;flex:1 1;justify-content:center;text-align:center;transition:all .3s ease}.unified-error-screen.mobile,.unified-loading-screen.mobile{padding:40px 20px}.unified-error-screen.tablet,.unified-loading-screen.tablet{padding:60px 40px}.unified-error-screen.desktop,.unified-loading-screen.desktop{padding:80px 60px}.error-content,.loading-content{max-width:400px;width:100%}.unified-experiment-recorder.desktop .error-content,.unified-experiment-recorder.desktop .loading-content{max-width:500px}.error-icon,.loading-spinner{margin-bottom:24px}.unified-experiment-recorder.mobile .error-icon,.unified-experiment-recorder.mobile .loading-spinner{font-size:48px}.unified-experiment-recorder.tablet .error-icon,.unified-experiment-recorder.tablet .loading-spinner{font-size:56px}.unified-experiment-recorder.desktop .error-icon,.unified-experiment-recorder.desktop .loading-spinner{font-size:64px}.loading-spinner{animation:spin 1.5s linear infinite}.error-content h2,.loading-content h2{color:#374151;font-weight:700;margin:0 0 12px}.unified-experiment-recorder.mobile .error-content h2,.unified-experiment-recorder.mobile .loading-content h2{font-size:18px}.unified-experiment-recorder.tablet .error-content h2,.unified-experiment-recorder.tablet .loading-content h2{font-size:20px}.unified-experiment-recorder.desktop .error-content h2,.unified-experiment-recorder.desktop .loading-content h2{font-size:22px}.error-message{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#ef4444;line-height:1.5;margin-bottom:24px;padding:16px}.unified-experiment-recorder.mobile .error-message{font-size:13px}.unified-experiment-recorder.tablet .error-message{font-size:14px}.unified-experiment-recorder.desktop .error-message{font-size:15px}.error-actions{display:flex;gap:12px;justify-content:center}.unified-experiment-recorder.desktop .error-actions{gap:16px}.error-device-info,.loading-device-info{color:#6b7280;font-size:11px;margin-top:16px;opacity:.8}.unified-experiment-recorder.desktop .error-device-info,.unified-experiment-recorder.desktop .loading-device-info{font-size:12px}.exit-button,.retry-button{border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s ease}.unified-experiment-recorder.mobile .exit-button,.unified-experiment-recorder.mobile .retry-button{font-size:13px;padding:10px 20px}.unified-experiment-recorder.tablet .exit-button,.unified-experiment-recorder.tablet .retry-button{font-size:14px;padding:12px 24px}.unified-experiment-recorder.desktop .exit-button,.unified-experiment-recorder.desktop .retry-button{font-size:15px;padding:14px 28px}.retry-button{background:#3b82f6;color:#fff}.retry-button:hover{background:#2563eb;box-shadow:0 4px 12px #3b82f64d;transform:translateY(-2px)}.exit-button{background:#f3f4f6;border:1px solid #d1d5db;color:#374151}.exit-button:hover{background:#e5e7eb}.floating-action{animation:slideUp .3s ease-out;position:fixed;z-index:1000}.floating-action.mobile{bottom:20px;left:50%;transform:translateX(-50%)}.floating-action.tablet{bottom:24px;left:50%;transform:translateX(-50%)}.floating-action.desktop{bottom:32px;right:32px;transform:none}@keyframes slideUp{0%{opacity:0;transform:translateX(-50%) translateY(20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.floating-action.desktop{animation:slideUpDesktop .3s ease-out}@keyframes slideUpDesktop{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.save-maiml-button{align-items:center;background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:16px;box-shadow:0 8px 25px #05966966;color:#fff;cursor:pointer;display:flex;font-weight:700;gap:12px;justify-content:center;transition:all .3s ease}.save-maiml-button.mobile{font-size:14px;min-width:200px;padding:14px 20px}.save-maiml-button.tablet{font-size:15px;min-width:220px;padding:16px 24px}.save-maiml-button.desktop{border-radius:12px;font-size:16px;min-width:250px;padding:18px 28px}.save-maiml-button:hover{box-shadow:0 12px 35px #05966980;transform:translateY(-3px)}.save-maiml-button:active{transform:translateY(-1px)}.unified-button{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-weight:600;gap:10px;justify-content:center;overflow:hidden;position:relative;transition:all .3s ease}.unified-experiment-recorder.mobile .unified-button{font-size:14px;min-height:44px;padding:12px 16px}.unified-experiment-recorder.tablet .unified-button{font-size:15px;min-height:48px;padding:14px 20px}.unified-experiment-recorder.desktop .unified-button{font-size:16px;min-height:52px;padding:16px 24px}.unified-button:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.unified-button:hover:before{left:100%}.unified-button.primary{background:linear-gradient(135deg,#3b82f6,#1d4ed8);box-shadow:0 4px 12px #3b82f64d;color:#fff}.unified-button.success{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 12px #10b9814d;color:#fff}.unified-button.warning{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px #f59e0b4d;color:#fff}.unified-button.danger{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 4px 12px #ef44444d;color:#fff}.unified-button.secondary{background:#f3f4f6;border:1px solid #d1d5db;box-shadow:0 2px 4px #0000001a;color:#374151}.unified-button:hover{transform:translateY(-2px)}.unified-button:active{transform:translateY(0)}.unified-button:disabled{background:#e5e7eb!important;box-shadow:none!important;color:#9ca3af!important;cursor:not-allowed!important;transform:none!important}.unified-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:16px;transition:all .2s ease}.unified-experiment-recorder.mobile .unified-card{padding:16px}.unified-experiment-recorder.tablet .unified-card{padding:20px}.unified-experiment-recorder.desktop .unified-card{margin-bottom:20px;padding:24px}.unified-card:hover{box-shadow:0 4px 16px #0000001f;transform:translateY(-2px)}.unified-card.interactive{cursor:pointer}.unified-card.selected{background:#f0f9ff;border-color:#3b82f6;box-shadow:0 4px 16px #3b82f633}.unified-input{background:#fafafa;border:2px solid #d1d5db;border-radius:12px;box-sizing:border-box;transition:all .3s ease;width:100%}.unified-experiment-recorder.mobile .unified-input{font-size:16px;padding:12px 14px}.unified-experiment-recorder.tablet .unified-input{font-size:16px;padding:14px 16px}.unified-experiment-recorder.desktop .unified-input{font-size:16px;padding:16px 18px}.unified-input:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.unified-input.error{background:#fef2f2;border-color:#ef4444}.unified-input.success{background:#f0fdf4;border-color:#10b981}.unified-label{color:#374151;display:block;font-weight:600;margin-bottom:8px}.unified-experiment-recorder.mobile .unified-label{font-size:13px}.unified-experiment-recorder.tablet .unified-label{font-size:14px}.unified-experiment-recorder.desktop .unified-label{font-size:15px}.unified-help-text{color:#6b7280;line-height:1.4;margin-top:4px}.unified-experiment-recorder.mobile .unified-help-text{font-size:11px}.unified-experiment-recorder.tablet .unified-help-text{font-size:12px}.unified-experiment-recorder.desktop .unified-help-text{font-size:13px}.unified-help-text.error{color:#ef4444}.unified-help-text.success{color:#10b981}.fade-in{animation:fadeIn .3s ease-out}.slide-in-right{animation:slideInRight .3s ease-out}@keyframes slideInRight{0%{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}.slide-in-up{animation:slideInUp .3s ease-out}.pulse{animation:pulse 2s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@media (max-width:479px){.unified-experiment-recorder{font-size:13px}.unified-header.mobile{min-height:52px;padding:8px 12px}.unified-header.mobile .header-center h1{font-size:14px}.save-maiml-button.mobile{font-size:13px;min-width:180px;padding:12px 16px}.mobile-form-content,.selector-content{padding-bottom:100px}}@media (min-width:480px) and (max-width:639px){.unified-experiment-recorder.mobile{font-size:14px}}@media (min-width:640px) and (max-width:767px){.unified-experiment-recorder.mobile{font-size:15px}.unified-header.mobile{min-height:60px;padding:14px 18px}.unified-header.mobile .header-center h1{font-size:17px}}@media (min-width:768px) and (max-width:1023px){.unified-experiment-recorder.tablet{height:calc(100vh - 20px);margin-bottom:10px;margin-top:10px}}@media (min-width:1024px) and (max-width:1199px){.unified-experiment-recorder.desktop{max-width:1000px}}@media (min-width:1200px){.unified-experiment-recorder.desktop{max-width:1200px}.unified-header.desktop{min-height:80px;padding:24px 40px}.unified-header.desktop .header-center h1{font-size:22px}.save-maiml-button.desktop{font-size:17px;min-width:280px;padding:20px 32px}.mobile-form-content,.selector-content{padding-bottom:140px}}@media (pointer:coarse){.back-button,.exit-button,.unified-button{min-height:44px;min-width:44px}.back-button,.exit-button,.unified-button,.unified-card.interactive{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.unified-main{-webkit-overflow-scrolling:touch}}@media (prefers-color-scheme:dark){.unified-experiment-recorder{background:#111827;color:#f9fafb}.unified-experiment-recorder.desktop,.unified-experiment-recorder.tablet{background:#1f2937;border-color:#374151}.unified-card,.unified-input{background:#1f2937;border-color:#374151;color:#f9fafb}.unified-input:focus{background:#111827;border-color:#3b82f6}.progress-bar{background:#1f2937;border-color:#374151}.progress-track{background:#374151}}@media (prefers-contrast:high){.unified-button,.unified-card{border:2px solid}.unified-input{border-width:2px}.save-maiml-button{border:2px solid #fff}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.loading-spinner,.progress-fill:after{animation:none}}@media print{.unified-experiment-recorder{background:#fff!important;border:1px solid #000!important;box-shadow:none!important;color:#000!important}.floating-action,.unified-button,.unified-header{display:none!important}.unified-card{border:1px solid #000!important;box-shadow:none!important}.unified-main{overflow:visible!important}}.back-button:focus,.exit-button:focus,.unified-button:focus,.unified-input:focus{outline:2px solid #3b82f6;outline-offset:2px}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.focus-trap{position:relative}.focus-trap:after,.focus-trap:before{content:"";height:1px;opacity:0;pointer-events:none;position:absolute;width:1px}.floating-action,.save-maiml-button,.unified-experiment-recorder,.unified-header{transform:translateZ(0);will-change:transform,opacity}.unified-main{scroll-behavior:smooth}.unified-experiment-recorder *{box-sizing:border-box}img{height:auto;max-width:100%}.tiff-viewer-container{background-color:#fafafa;display:flex;flex-direction:column;height:100%}.tiff-viewer-toolbar{align-items:center;background-color:#f5f5f5;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;padding:10px 15px}.tiff-viewer-toolbar h3{color:#333;font-size:1.1rem;margin:0}.tiff-controls{align-items:center;display:flex}.tiff-controls button{background-color:#fff;border:1px solid #ccc;border-radius:4px;cursor:pointer;font-size:.9rem;margin-left:8px;padding:5px 10px}.tiff-controls button:hover{background-color:#f0f0f0}.tiff-viewer-content{align-items:center;display:flex;flex:1 1;justify-content:center;padding:20px}.tiff-message{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;max-width:600px;padding:20px;text-align:center}.tiff-message p{color:#333;margin:10px 0}.download-button{background-color:#4caf50;border-radius:4px;display:inline-block;font-weight:700;margin-top:15px;padding:10px 20px;text-decoration:none}.download-button:hover{background-color:#45a049}.image-viewer-container{background-color:#fafafa;display:flex;flex-direction:column;height:100%}.image-viewer-toolbar{align-items:center;background-color:#f5f5f5;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;padding:10px 15px}.image-viewer-toolbar h3{color:#333;font-size:1.1rem;margin:0}.image-controls{display:flex}.image-controls button{background-color:#fff;border:1px solid #ccc;border-radius:4px;cursor:pointer;font-size:.9rem;margin-left:8px;padding:5px 10px}.image-controls button:hover{background-color:#f0f0f0}.image-viewer-content{flex:1 1;position:relative}.image-container,.image-viewer-content{align-items:center;display:flex;justify-content:center;overflow:auto}.image-container{height:100%;width:100%}.image-container img{max-height:100%;max-width:100%;object-fit:contain;transition:transform .2s ease}.image-loading{background-color:#ffffffe6;border-radius:4px;padding:10px 20px}.image-error,.image-loading{box-shadow:0 2px 8px #0000001a;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.image-error{background-color:#fff3f3;border:1px solid #fdd;border-radius:4px;color:#d32f2f;padding:15px 20px}.image-info{background-color:#00000080;border-radius:4px;bottom:10px;color:#fff;font-size:.8rem;padding:4px 8px;position:absolute;right:10px}@media (max-width:768px){.image-viewer-toolbar{align-items:flex-start;flex-direction:column}.image-controls{margin-top:10px}}.worker-dashboard{background-color:#f0f8ff;box-sizing:border-box;color:#333;overflow:hidden}.worker-header{background:linear-gradient(135deg,#4caf50,#45a049);border-radius:12px;box-shadow:0 4px 12px #4caf504d;color:#000!important;flex-shrink:0}.worker-header h1{color:#000!important;font-weight:700;margin:0 0 8px}.worker-header h6{margin:0;opacity:.9}.worker-header *,.worker-header h6{color:#000!important}.dashboard-content{border-radius:12px;box-shadow:0 4px 20px #0000001a;color:#333;display:flex;flex-direction:column;height:calc(100vh - 200px);margin-bottom:100px;overflow:hidden}.tab-content{color:#333;flex:1 1;min-height:0;overflow-y:auto}.dashboard-content .MuiTabs-root{background:#fff;border-bottom:1px solid #e0e0e0;flex-shrink:0}.dashboard-content .MuiTab-root{color:#333!important}.dashboard-content .MuiTab-root.Mui-selected{color:#4caf50!important}.tab-content .MuiTypography-root,.tab-content h1,.tab-content h2,.tab-content h3,.tab-content h4,.tab-content h5,.tab-content h6{color:#333!important}.file-list-item{border:1px solid #e0e0e0;border-radius:8px;margin-bottom:8px;transition:all .3s ease}.file-list-item:hover{box-shadow:0 2px 8px #0000001a;transform:translateY(-1px)}.file-list-item.selected{background-color:#f8fff8;border-color:#4caf50}.file-status-chip{font-size:11px;font-weight:700;text-transform:uppercase}.file-progress-bar{border-radius:3px;height:6px;margin:8px 0}.instruction-item{border-left:4px solid;border-radius:0 8px 8px 0;margin-bottom:16px;transition:all .3s ease}.instruction-item.high-priority{background-color:#ffebee;border-left-color:#f44336}.instruction-item.medium-priority{background-color:#fff3e0;border-left-color:#ff9800}.instruction-item.acknowledged,.instruction-item.low-priority{background-color:#e8f5e8;border-left-color:#4caf50}.instruction-item.acknowledged{opacity:.7}.instruction-content{font-size:16px;line-height:1.6;margin:12px 0}.instruction-actions{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.progress-card{background:linear-gradient(135deg,#e3f2fd,#f8f9fa);border:1px solid #e1f5fe;border-radius:12px;margin-bottom:20px;padding:20px}.progress-bar-container{margin:16px 0}.progress-bar{background-color:#e0e0e0;border-radius:6px;height:12px;overflow:hidden}.progress-bar-fill{background:linear-gradient(90deg,#4caf50,#45a049);border-radius:6px;height:100%;transition:width .5s ease}.progress-percentage{color:#4caf50;font-size:18px;font-weight:700}.issue-item{border-left:4px solid;border-radius:8px;margin:8px 0;padding:12px}.issue-item.error{background-color:#ffebee;border-left-color:#f44336}.issue-item.warning{background-color:#fff3e0;border-left-color:#ff9800}.issue-item.info{background-color:#e3f2fd;border-left-color:#2196f3}.issue-description{font-size:14px;margin:4px 0}.issue-timestamp{color:#666;font-size:12px}.report-history-item{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;margin-bottom:12px;padding:16px}.report-history-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.report-timestamp{color:#666;font-size:12px;font-style:italic}.tab-content::-webkit-scrollbar{width:8px}.tab-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.tab-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.tab-content::-webkit-scrollbar-thumb:hover{background:#a8a8a8}@media (max-width:768px){.worker-dashboard{overflow:visible;padding:10px}.dashboard-content{height:auto;margin-bottom:120px}.tab-content{overflow-y:visible;padding:16px}.worker-header{margin-bottom:16px;padding:16px}.worker-header h1{font-size:1.8rem}.file-list-item{margin-bottom:12px}.instruction-content{font-size:14px}.progress-card{padding:16px}}@media (max-width:480px){.worker-header{text-align:center}.worker-header h6{font-size:14px;margin-bottom:8px}.logout-button{margin-top:8px;width:100%}.tab-content{padding:12px}.dashboard-content{margin-bottom:140px}}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.dashboard-content{animation:slideInUp .4s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.tab-content>*{animation:fadeIn .3s ease-out}.logout-button:focus,button:focus{outline:2px solid #4caf50;outline-offset:2px}@media (prefers-contrast:high){.worker-header{border:2px solid #2e7d32}.file-list-item{border-width:2px}.instruction-item{border-left-width:6px}}.organization-stats-panel{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin:20px 0;padding:24px}.panel-header{align-items:center;border-bottom:2px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:24px;padding-bottom:16px}.panel-header h2{color:#333;font-size:24px;font-weight:600;margin:0}.panel-actions{gap:12px}.export-group,.panel-actions{align-items:center;display:flex}.export-group{gap:8px}.export-format-select{background:#fff;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-size:14px;padding:8px 12px;transition:border-color .2s}.export-format-select:hover:not(:disabled){border-color:#2196f3}.export-format-select:disabled{cursor:not-allowed;opacity:.5}.btn-export,.btn-refresh{border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 16px;transition:all .2s;white-space:nowrap}.btn-export{background:#4caf50;color:#fff}.btn-export:hover:not(:disabled){background:#45a049;box-shadow:0 2px 4px #0003;transform:translateY(-1px)}.btn-refresh{background:#2196f3;color:#fff}.btn-refresh:hover:not(:disabled){background:#1976d2;box-shadow:0 2px 4px #0003;transform:translateY(-1px)}.btn-export:disabled,.btn-refresh:disabled{cursor:not-allowed;opacity:.5}.error-message{background:#ffebee;border-left:4px solid #c62828;border-radius:6px;color:#c62828;margin-bottom:16px;padding:12px 16px}.loading-message{color:#666;padding:40px 20px;text-align:center}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#2196f3;height:40px;margin:0 auto 16px;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.stats-card{background:#f8f9fa;border-radius:8px;padding:20px}.stats-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.stats-header h3{color:#333;font-size:20px;margin:0}.last-updated{background:#fff;border-radius:4px;color:#666;font-size:12px;padding:4px 8px}.stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.stat-item{align-items:flex-start;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;gap:16px;padding:20px;transition:transform .2s,box-shadow .2s}.stat-item:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-2px)}.stat-icon{font-size:36px;line-height:1}.stat-content{flex:1 1}.stat-label{color:#666;font-size:14px;font-weight:500;margin-bottom:8px}.stat-value{color:#333;font-size:32px;font-weight:700;line-height:1.2;margin-bottom:4px}.stat-value .unit{color:#666;font-size:18px;font-weight:500;margin-left:4px}.stat-detail{color:#888;font-size:13px;margin-top:4px}.stat-item.storage .stat-icon{color:#2196f3}.stat-item.projects .stat-icon{color:#ff9800}.stat-item.users .stat-icon{color:#4caf50}.stats-all-container{display:flex;flex-direction:column;gap:24px}.stats-summary-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;padding:24px}.stats-summary-card h3{font-size:20px;margin:0 0 20px}.summary-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.summary-item{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border-radius:8px;padding:16px;text-align:center}.summary-label{font-size:13px;margin-bottom:8px;opacity:.9}.summary-value{font-size:28px;font-weight:700}.org-list h3{color:#333;font-size:18px;margin:0 0 16px}.org-table-container{border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow-x:auto}.org-table{background:#fff;border-collapse:collapse;width:100%}.org-table thead{background:#f5f5f5}.org-table th{border-bottom:2px solid #e0e0e0;color:#555;font-size:14px;font-weight:600;padding:12px 16px;text-align:left}.org-table th:first-child{width:25%}.org-table th:nth-child(2){width:22%}.org-table th:nth-child(3),.org-table th:nth-child(4){width:18%}.org-table th:nth-child(5){width:17%}.org-table tbody tr{border-bottom:1px solid #f0f0f0;transition:background .2s}.org-table tbody tr:hover{background:#f8f9fa}.org-table td{color:#333;font-size:14px;padding:12px 16px}.org-table td.org-name{color:#2196f3;font-weight:500}.org-name-main{font-size:14px;font-weight:600;margin-bottom:2px}.org-id-sub{color:#666;font-size:11px;font-weight:400}.org-table td.numeric{font-family:Courier New,monospace;font-weight:500;padding:12px 16px;text-align:right}.rate-badge{color:#666;font-size:11px;font-weight:600;margin-top:4px}.org-table td.numeric div:first-child{font-size:13px;margin-bottom:2px}.empty-state{color:#999;padding:60px 20px;text-align:center}.empty-state p{font-size:16px;margin-bottom:20px}.btn-primary{background:#2196f3;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:12px 24px;transition:all .2s}.btn-primary:hover{background:#1976d2;box-shadow:0 2px 4px #0003;transform:translateY(-1px)}@media (max-width:768px){.panel-header{align-items:flex-start;flex-direction:column;gap:16px}.panel-actions{flex-direction:column;width:100%}.btn-export,.btn-refresh,.export-format-select,.export-group{width:100%}.stats-grid{grid-template-columns:1fr}.summary-grid{grid-template-columns:repeat(2,1fr)}.org-table-container{overflow-x:scroll}.org-table{min-width:600px}}@media (max-width:480px){.organization-stats-panel{padding:16px}.panel-header h2{font-size:20px}.stat-value{font-size:24px}.summary-grid{grid-template-columns:1fr}}*{box-sizing:border-box;margin:0;padding:0}body,html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;height:100%}#root,.app-container{display:flex;flex-direction:column;height:100vh}.app-container{background-color:#fff;overflow:hidden}.app-header{align-items:center;background-color:#282c34;box-shadow:0 2px 4px #0000001a;color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 2rem;z-index:1000}.app-header.enhanced{background:linear-gradient(135deg,#667eea,#764ba2)}.header-left{align-items:center;display:flex;gap:1rem}.header-left h1{font-size:1.5rem;font-weight:600;margin:0}.version-badge{animation:pulse-version 3s ease-in-out infinite alternate;background-color:#fff3;border-radius:12px;font-size:.8rem;font-weight:500;padding:.25rem .75rem}@keyframes pulse-version{0%{opacity:.8}to{opacity:1}}.header-controls{align-items:center;display:flex;gap:1rem}.enhanced-toggle{border:none;border-radius:6px;cursor:pointer;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.enhanced-toggle.enabled{animation:glow-enhanced 2s ease-in-out infinite alternate;background:linear-gradient(135deg,#28a745,#20c997);color:#fff}.enhanced-toggle.disabled{background-color:#6c757d;color:#fff}.enhanced-toggle:hover{box-shadow:0 2px 8px #0003;transform:translateY(-1px)}@keyframes glow-enhanced{0%{box-shadow:0 0 5px #28a74580}to{box-shadow:0 0 15px #28a745cc}}.api-status-group{gap:.5rem}.api-health,.api-status-group{align-items:center;display:flex}.api-health{border:1px solid #0000;border-radius:4px;font-size:.8rem;font-weight:500;padding:.25rem .5rem;transition:all .2s ease}.api-health.ok{background-color:#28a74533;border-color:#28a7454d;color:#28a745}.api-health.error{animation:pulse-error 2s ease-in-out infinite;background-color:#dc354533;border-color:#dc35454d;color:#dc3545}@keyframes pulse-error{0%,to{opacity:1}50%{opacity:.7}}.app-content{background-color:#f8f9fa;display:flex;flex:1 1;height:100%;max-height:100%;overflow:hidden}.left-pane{border-right:1px solid #dee2e6;flex-direction:column;flex-shrink:0;height:100%;max-width:500px;min-width:350px;width:400px}.left-pane,.viewer-pane{background-color:#fff;display:flex;overflow:hidden}.viewer-pane{flex:1 1;flex-direction:column;min-height:0;min-width:0;position:relative}.no-selection{align-items:center;background-color:#f8f9fa;display:flex;flex:1 1;justify-content:center;text-align:center}.no-selection-content h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#495057;font-size:2rem;margin-bottom:1rem}.no-selection-content p{color:#6c757d;font-size:1.1rem;margin-bottom:.5rem}.enhanced-info{animation:float 3s ease-in-out infinite;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;display:inline-block;margin-top:2rem;padding:1rem}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.enhanced-info p{color:#fff;margin:.25rem 0}.projects-summary{background-color:#e3f2fd;border-left:4px solid #1976d2;border-radius:8px;display:inline-block;margin-top:1rem;padding:1rem}.projects-summary p{color:#1976d2;margin:.25rem 0}.debug-panel{background:#fff;border:2px solid #667eea;border-radius:12px;box-shadow:0 10px 40px #667eea4d;display:flex;flex-direction:column;max-height:80vh;max-width:90vw;overflow:hidden;position:fixed;right:20px;top:80px;width:600px;z-index:2000}.debug-panel.enhanced{background:linear-gradient(135deg,#fff,#f8f9ff);border-color:#667eea}.debug-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px 10px 0 0;color:#fff;display:flex;justify-content:space-between;padding:1rem 1.5rem}.debug-header h3{font-size:1.1rem;margin:0}.debug-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:16px;height:30px;justify-content:center;transition:background .2s ease;width:30px}.debug-close:hover{background:#ffffff4d}.debug-tabs{background:#f8f9fa;border-bottom:1px solid #dee2e6;display:flex}.debug-tab{background:#0000;border:none;border-bottom:2px solid #0000;color:#6c757d;cursor:pointer;flex:1 1;font-size:.85rem;font-weight:500;padding:.75rem 1rem;transition:all .2s ease}.debug-tab.active,.debug-tab:hover{background:#667eea1a;color:#667eea}.debug-tab.active{border-bottom-color:#667eea}.debug-content{flex:1 1;overflow-y:auto;padding:1.5rem}.debug-section{margin-bottom:2rem}.debug-section h4{border-bottom:1px solid #dee2e6;color:#495057;font-size:1rem;margin:0 0 1rem;padding-bottom:.5rem}.debug-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:1fr 1fr}.debug-item{align-items:center;background:#f8f9fa;border-left:3px solid #dee2e6;border-radius:4px;display:flex;justify-content:space-between;padding:.5rem}.debug-label{color:#6c757d;font-size:.85rem;font-weight:500}.debug-value{color:#495057;font-size:.85rem;font-weight:600}.debug-value.enabled{color:#28a745}.debug-value.disabled{color:#6c757d}.debug-value.healthy{color:#28a745}.debug-value.error{color:#dc3545}.debug-test-controls{margin-bottom:1rem}.debug-test-btn{background:linear-gradient(135deg,#17a2b8,#138496);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.debug-test-btn:hover:not(:disabled){box-shadow:0 4px 12px #17a2b866;transform:translateY(-1px)}.debug-test-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.debug-test-results{background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;margin-top:1rem;padding:1rem}.debug-test-result{border-radius:4px;font-size:.85rem;margin-bottom:.5rem;padding:.5rem}.debug-test-result.success{background:#28a7451a;border-left:3px solid #28a745;color:#155724}.debug-test-result.error{background:#dc35451a;border-left:3px solid #dc3545;color:#721c24}.debug-comparison{background:linear-gradient(90deg,#28a7451a,#17a2b81a);border-left:4px solid #28a745;border-radius:6px;margin-top:1rem;padding:1rem}.comparison-stats{margin-top:.5rem}.improvement-stat{animation:glow-success 2s ease-in-out infinite alternate;background:linear-gradient(135deg,#28a745,#20c997);border-radius:12px;color:#fff;display:inline-block;font-size:.8rem;font-weight:600;padding:.25rem .75rem}@keyframes glow-success{0%{box-shadow:0 0 5px #28a74580}to{box-shadow:0 0 15px #28a745cc}}.debug-error{background:#dc35451a;border-left:4px solid #dc3545;border-radius:4px;color:#721c24;font-size:.85rem;padding:.75rem}.debug-actions{background:#f8f9fa;border-top:1px solid #dee2e6;display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem 1.5rem}.debug-actions button{background:#6c757d;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.8rem;padding:.5rem 1rem;transition:all .2s ease}.debug-actions button:hover:not(:disabled){background:#5a6268;transform:translateY(-1px)}.debug-actions button:disabled{cursor:not-allowed;opacity:.6;transform:none}.error{background-color:#f8d7da;border:1px solid #f5c6cb;border-left:4px solid #dc3545;border-radius:6px;color:#721c24;margin:1rem;padding:1rem}.error.enhanced{background:linear-gradient(90deg,#667eea1a,#f8d7da);border-left-color:#667eea}.loading{font-style:italic}.loading,.unsupported-file{align-items:center;color:#6c757d;display:flex;justify-content:center;padding:2rem}.unsupported-file{flex:1 1;flex-direction:column;text-align:center}.download-button{background-color:#007bff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:1rem;margin-top:1rem;padding:.75rem 1.5rem;transition:background-color .2s ease}.download-button:hover:not(:disabled){background-color:#0056b3}.download-button:disabled{background-color:#6c757d;cursor:not-allowed}@media (max-width:1200px){.debug-panel{width:500px}.debug-grid{grid-template-columns:1fr}}@media (max-width:1024px){.left-pane{min-width:300px;width:350px}.debug-panel{right:5vw;width:90vw}.header-controls{gap:.5rem}.api-status-group{flex-direction:column;gap:.25rem}}@media (max-width:768px){.app-header{flex-direction:column;gap:1rem;padding:1rem}.header-left{align-items:center;flex-direction:column;gap:.5rem}.header-controls{flex-wrap:wrap;justify-content:center;width:100%}.left-pane{max-width:none;width:100%}.app-content{flex-direction:column}.debug-panel{border-radius:0;margin:1rem;max-height:none;max-width:none;position:relative;right:0;top:0;width:100%}}@media (prefers-color-scheme:dark){.debug-panel{border-color:#667eea;color:#f0f0f0}.debug-content,.debug-panel{background:#2d2d2d}.debug-item{background:#3d3d3d;border-left-color:#667eea}.debug-test-results{background:#3d3d3d;border-color:#667eea}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (prefers-contrast:high){.debug-panel{border:3px solid #000}.debug-test-result.success{background:#000;color:#0f0}.debug-test-result.error{background:#000;color:red}}.mode-switch-button{border:none;border-radius:8px;bottom:20px;box-shadow:0 4px 12px #00000026;cursor:pointer;font-size:14px;font-weight:600;padding:12px 16px;position:fixed;right:20px;transform:translateY(0);transition:all .3s ease;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;z-index:1000}.mode-switch-button:hover{box-shadow:0 6px 16px #0003;transform:translateY(-2px)}.mode-switch-button:active{box-shadow:0 2px 8px #00000026;transform:translateY(0)}.worker-mode-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.worker-mode-button:hover{background:linear-gradient(135deg,#5a67d8,#6b46c1)}.manager-mode-button{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff}.manager-mode-button:hover{background:linear-gradient(135deg,#ed64a6,#e53e3e)}@media (max-width:768px){.mode-switch-button{bottom:16px;font-size:13px;padding:10px 14px;right:16px}}@media (max-width:480px){.mode-switch-button{bottom:12px;font-size:12px;padding:8px 12px;right:12px}}.debug-info{background:#000c;border-radius:4px;bottom:80px;color:#fff;font-family:monospace;font-size:12px;padding:8px 12px;position:fixed;right:20px;z-index:999}.app-container.worker-mode{background:#f8fafc}.worker-dashboard{min-height:100vh;padding:20px 0}.worker-header{box-shadow:0 2px 8px #0000001a;margin-bottom:20px;padding:20px;position:relative}.dashboard-content,.worker-header{background:#fff;border-radius:8px}.tab-content{min-height:400px;padding:24px}.mode-switch-button{animation:fadeInUp .5s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.mode-switch-button{display:block!important;opacity:1!important;pointer-events:auto!important;visibility:visible!important}