.guide-item strong{color:#0369a1}.emergency-capacity-assessment{min-height:calc(100vh - 120px);background:#f8fafc;padding:24px}.emergency-capacity-assessment .assessment-header{display:flex;justify-content:space-between;align-items:flex-start;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;padding:24px;border-radius:12px;margin-bottom:24px}.emergency-capacity-assessment .header-content h2{font-size:28px;font-weight:700;margin-bottom:8px}.emergency-capacity-assessment .header-content p{font-size:16px;opacity:.9;margin-bottom:12px}.emergency-capacity-assessment .assessment-notice{background:#ffffff26;padding:12px 16px;border-radius:8px;font-size:14px;line-height:1.6}.emergency-capacity-assessment .header-actions .back-to-main-btn{background:#fff;color:#dc2626;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.emergency-capacity-assessment .header-actions .back-to-main-btn:hover{background:#fef2f2;transform:translateY(-2px)}.emergency-capacity-assessment .assessment-navigation{background:#fff;border-radius:12px;padding:8px;margin-bottom:24px;box-shadow:0 1px 3px #0000001a}.emergency-capacity-assessment .nav-tabs{display:flex;gap:4px;flex-wrap:wrap}.emergency-capacity-assessment .nav-tab{display:flex;align-items:center;gap:8px;padding:12px 20px;border:none;background:transparent;color:#64748b;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .2s}.emergency-capacity-assessment .nav-tab:hover{background:#f1f5f9;color:#334155}.emergency-capacity-assessment .nav-tab.active{background:#dc2626;color:#fff}.emergency-capacity-assessment .assessment-content{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a}.persons-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:16px;background:#f8fafc;border-radius:8px}.persons-controls .filter-controls{display:flex;gap:12px}.persons-controls .filter-controls select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;min-width:120px}.persons-controls .add-person-btn{display:flex;align-items:center;gap:8px;background:#dc2626;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.persons-controls .add-person-btn:hover{background:#b91c1c}.persons-stats{display:flex;gap:24px;margin-bottom:20px;padding:16px;background:linear-gradient(135deg,#fef2f2,#fee2e2);border-radius:8px}.persons-stats .stat-item{display:flex;align-items:center;gap:8px}.persons-stats .stat-label{color:#991b1b;font-size:14px}.persons-stats .stat-value{color:#dc2626;font-size:20px;font-weight:700}.persons-table{overflow-x:auto}.persons-table table{width:100%;border-collapse:collapse}.persons-table th,.persons-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e2e8f0}.persons-table th{background:#f8fafc;font-weight:600;color:#475569;font-size:14px}.persons-table td{color:#334155;font-size:14px}.persons-table tr:hover{background:#f8fafc}.emergency-setup .setup-header{margin-bottom:24px}.emergency-setup .setup-header h3{font-size:24px;color:#dc2626;margin-bottom:8px}.emergency-setup .setup-header p{color:#64748b;margin-bottom:16px}.emergency-setup .setup-info{display:flex;gap:16px}.emergency-setup .info-badge{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#f1f5f9;border-radius:8px;font-size:14px;color:#475569}.assessment-phases-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.assessment-phase-card{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e2e8f0;transition:all .3s}.assessment-phase-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #0000001a}.assessment-phase-card .phase-header{display:flex;align-items:center;gap:12px;padding:16px 20px;color:#fff}.assessment-phase-card .phase-header h4{font-size:18px;font-weight:600}.assessment-phase-card .phase-content{padding:20px}.assessment-phase-card .phase-description{color:#64748b;font-size:14px;margin-bottom:12px;line-height:1.5}.assessment-phase-card .phase-type-badge{display:inline-block;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500;margin-bottom:16px}.assessment-phase-card .phase-stats{margin-bottom:16px}.assessment-phase-card .phase-stats .stat-item{display:flex;align-items:center;gap:8px;margin-bottom:8px}.assessment-phase-card .phase-stats .stat-label{color:#64748b;font-size:13px}.assessment-phase-card .phase-stats .stat-value{color:#334155;font-size:13px;font-weight:500}.assessment-phase-card .phase-start-btn{width:100%;padding:12px;border:none;border-radius:8px;color:#fff;font-weight:600;cursor:pointer;transition:all .2s}.assessment-phase-card .phase-start-btn:hover{opacity:.9;transform:scale(1.02)}.emergency-assessment-phase .phase-header-bar{margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.emergency-assessment-phase .back-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border:1px solid #e2e8f0;background:#fff;border-radius:8px;color:#64748b;cursor:pointer;margin-bottom:12px;transition:all .2s}.emergency-assessment-phase .back-btn:hover{background:#f8fafc;color:#334155}.emergency-assessment-phase .phase-header-bar h3{font-size:24px;font-weight:600;margin-bottom:8px}.emergency-assessment-phase .phase-description{color:#64748b;font-size:14px}.assessor-selection h4{font-size:18px;margin-bottom:16px;color:#334155}.assessor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.assessor-card{display:flex;flex-direction:column;align-items:center;padding:20px;background:#fff;border:2px solid #e2e8f0;border-radius:12px;cursor:pointer;transition:all .2s}.assessor-card:hover{border-color:#dc2626;background:#fef2f2}.assessor-card.has-records{border-color:#10b981;background:#ecfdf5}.assessor-card .assessor-avatar{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:600;margin-bottom:12px}.assessor-card .assessor-info{text-align:center;margin-bottom:12px}.assessor-card .assessor-name{font-size:16px;font-weight:600;color:#334155;margin-bottom:4px}.assessor-card .assessor-role{font-size:13px;color:#64748b}.assessor-card .assessor-dept{font-size:12px;color:#94a3b8}.assessor-card .assessor-status{text-align:center}.assessor-card .status-text{font-size:12px;color:#64748b}.assessor-card .status-indicator.completed{color:#10b981;font-size:20px}.assessment-recording .assessment-header{margin-bottom:24px}.assessment-recording .back-to-selection-btn{padding:8px 16px;border:1px solid #e2e8f0;background:#fff;border-radius:8px;color:#64748b;cursor:pointer;margin-bottom:16px}.assessment-recording .assessor-info-card{display:flex;align-items:center;gap:16px;padding:16px;background:#fef2f2;border-radius:12px}.assessment-recording .assessor-avatar-large{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:600}.assessment-recording .assessor-details h4{font-size:18px;color:#334155;margin-bottom:4px}.assessment-recording .assessor-details p{font-size:14px;color:#64748b}.assessment-content .assessment-form h5{font-size:18px;color:#334155;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.assessment-field{margin-bottom:16px}.assessment-field label{display:block;font-size:14px;color:#475569;margin-bottom:6px}.assessment-field input,.assessment-field textarea{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;transition:border-color .2s}.assessment-field input:focus,.assessment-field textarea:focus{outline:none;border-color:#dc2626}.assessment-field textarea{min-height:100px;resize:vertical}.assessment-form-actions{display:flex;gap:12px;margin-top:24px}.assessment-form-actions button{padding:12px 24px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.assessment-form-actions .save-btn{background:#dc2626;color:#fff;border:none}.assessment-form-actions .save-btn:hover{background:#b91c1c}.exam-phase{max-width:800px;margin:0 auto}.exam-phase .exam-header{text-align:center;margin-bottom:32px;padding:24px;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-radius:12px}.exam-phase .exam-header h3{font-size:24px;color:#0369a1;margin-bottom:8px}.exam-phase .exam-header p{color:#64748b}.exam-phase .exam-info{display:flex;justify-content:center;gap:32px;margin-top:16px}.exam-phase .info-item{display:flex;align-items:center;gap:8px}.exam-phase .info-item .label{color:#64748b;font-size:14px}.exam-phase .info-item .value{color:#0369a1;font-size:18px;font-weight:600}.exam-question-card{background:#fff;border:2px solid #e2e8f0;border-radius:12px;padding:24px;margin-bottom:24px}.exam-question-card h4{font-size:18px;color:#334155;margin-bottom:20px}.exam-question-card .question-options{display:flex;flex-direction:column;gap:12px}.exam-question-card .question-options label{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f8fafc;border-radius:8px;cursor:pointer;transition:all .2s}.exam-question-card .question-options label:hover{background:#f1f5f9}.exam-question-card .question-options input[type=radio]{margin-top:2px}.exam-phase .exam-footer{display:flex;justify-content:center;gap:16px;padding-top:24px;border-top:1px solid #e2e8f0}.exam-phase .exam-footer button{padding:12px 32px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.exam-phase .exam-footer .btn-secondary{background:#fff;border:1px solid #e2e8f0;color:#64748b}.exam-phase .exam-footer .btn-primary{background:#0369a1;border:none;color:#fff}.exam-phase .exam-footer .btn-success{background:#10b981;border:none;color:#fff}.emergency-drill-phase .drill-header{margin-bottom:24px}.emergency-drill-phase .drill-header h3{font-size:24px;color:#dc2626;margin-bottom:8px}.emergency-drill-phase .drill-header p{color:#64748b}.emergency-drill-phase .drill-setup{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#fef2f2;border-radius:12px;margin-bottom:24px}.emergency-drill-phase .drill-info{display:flex;gap:32px}.emergency-drill-phase .drill-info .info-item{display:flex;align-items:center;gap:8px}.emergency-drill-phase .drill-info .label{color:#991b1b;font-size:14px}.emergency-drill-phase .drill-info .value{color:#dc2626;font-size:20px;font-weight:700}.emergency-drill-phase .create-drill-btn{background:#dc2626;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.emergency-drill-phase .create-drill-btn:hover{background:#b91c1c}.emergency-drill-phase .create-drill-btn:disabled{background:#94a3b8;cursor:not-allowed}.drill-sessions-list{display:flex;flex-direction:column;gap:16px}.drill-session-card{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.drill-session-card .session-info{display:flex;align-items:center;gap:20px}.drill-session-card .session-scenario{font-size:16px;font-weight:600;color:#334155}.drill-session-card .session-participants{font-size:14px;color:#64748b}.drill-session-card .session-status{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500}.drill-session-card .session-status.pending{background:#fef3c7;color:#92400e}.drill-session-card .session-status.in-progress{background:#dbeafe;color:#1e40af}.drill-session-card .session-status.completed{background:#dcfce7;color:#166534}.drill-session-card .session-actions{display:flex;gap:12px}.drill-session-card .session-actions button{padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.drill-session-card .start-drill-btn{background:#10b981;border:none;color:#fff}.drill-session-card .end-drill-btn{background:#f59e0b;border:none;color:#fff}.assessment-history{margin-top:32px;padding-top:24px;border-top:1px solid #e2e8f0}.assessment-history h6{font-size:16px;color:#334155;margin-bottom:16px}.assessment-history .history-list{display:flex;flex-direction:column;gap:12px}.assessment-history .history-item{padding:16px;background:#f8fafc;border-radius:8px}.assessment-history .history-header{display:flex;justify-content:space-between;margin-bottom:12px}.assessment-history .history-time,.assessment-history .history-assessor{font-size:13px;color:#64748b}.assessment-history .history-content p{font-size:14px;color:#475569;margin-bottom:8px}.assessment-history .history-recording{margin-top:12px}.assessment-history .history-recording audio{width:100%}.results-phase{max-width:1000px;margin:0 auto}.results-phase .results-header{text-align:center;margin-bottom:32px}.results-phase .results-header h3{font-size:28px;color:#dc2626;margin-bottom:8px}.results-phase .results-header p{color:#64748b}.results-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:32px}.results-summary-card{padding:24px;background:linear-gradient(135deg,#fef2f2,#fee2e2);border-radius:12px;text-align:center}.results-summary-card .summary-value{font-size:36px;font-weight:700;color:#dc2626;margin-bottom:8px}.results-summary-card .summary-label{font-size:14px;color:#991b1b}.results-records-list{display:flex;flex-direction:column;gap:16px}.results-record-item{padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.results-record-item .record-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.results-record-item .record-phase{display:inline-block;padding:4px 12px;background:#f1f5f9;border-radius:20px;font-size:12px;color:#475569}.results-record-item .record-time{font-size:13px;color:#64748b}.results-record-item .record-content{color:#475569;font-size:14px;line-height:1.6}.assessment-type-selection{max-width:1000px;margin:0 auto;padding:32px 0}.assessment-type-selection .selection-header{text-align:center;margin-bottom:40px}.assessment-type-selection .selection-header h2{font-size:32px;color:#dc2626;margin-bottom:12px}.assessment-type-selection .selection-header p{font-size:18px;color:#64748b}.assessment-type-selection .selection-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;margin-bottom:40px}.assessment-type-selection .selection-card{background:#fff;border-radius:16px;overflow:hidden;border:2px solid #e2e8f0;cursor:pointer;transition:all .3s}.assessment-type-selection .selection-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px #0000001a}.assessment-type-selection .selection-card.static{border-color:#dc2626}.assessment-type-selection .selection-card.static:hover{border-color:#b91c1c;box-shadow:0 20px 40px #3b82f626}.assessment-type-selection .selection-card.dynamic{border-color:#dc2626}.assessment-type-selection .selection-card.dynamic:hover{border-color:#b91c1c;box-shadow:0 20px 40px #dc262626}.assessment-type-selection .card-icon{padding:32px;text-align:center}.assessment-type-selection .selection-card.static .card-icon{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#b91c1c}.assessment-type-selection .selection-card.dynamic .card-icon{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.assessment-type-selection .card-content{padding:24px}.assessment-type-selection .card-content h3{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:8px}.assessment-type-selection .card-desc{font-size:16px;color:#64748b;margin-bottom:16px}.assessment-type-selection .card-features{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.assessment-type-selection .card-features .feature-tag{padding:4px 12px;background:#f1f5f9;border-radius:20px;font-size:12px;color:#475569}.assessment-type-selection .selection-card.dynamic .card-features .feature-tag{background:#fef2f2;color:#991b1b}.assessment-type-selection .card-details{list-style:none;padding:0;margin:0}.assessment-type-selection .card-details li{padding:8px 0 8px 24px;position:relative;font-size:14px;color:#475569;border-bottom:1px solid #f1f5f9}.assessment-type-selection .card-details li:last-child{border-bottom:none}.assessment-type-selection .card-details li:before{content:"✓";position:absolute;left:0;color:#10b981;font-weight:700}.assessment-type-selection .card-action{padding:0 24px 24px}.assessment-type-selection .enter-btn{width:100%;padding:16px;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.assessment-type-selection .enter-btn.static-btn{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff}.assessment-type-selection .enter-btn.static-btn:hover{background:linear-gradient(135deg,#b91c1c,#991b1b)}.assessment-type-selection .enter-btn.dynamic-btn{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff}.assessment-type-selection .enter-btn.dynamic-btn:hover{background:linear-gradient(135deg,#b91c1c,#991b1b)}.assessment-type-selection .selection-footer{text-align:center}.assessment-type-selection .back-btn{padding:12px 24px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;font-size:14px;cursor:pointer;transition:all .2s}.assessment-type-selection .back-btn:hover{background:#f8fafc;color:#334155}.static-assessment-notice{display:flex;align-items:flex-start;gap:16px;max-width:600px;margin:40px auto;padding:24px;background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-radius:12px;border:1px solid #93c5fd}.static-assessment-notice svg{flex-shrink:0;color:#b91c1c}.static-assessment-notice strong{display:block;font-size:16px;color:#1e40af;margin-bottom:8px}.static-assessment-notice p{font-size:14px;color:#dc2626;margin:0;line-height:1.6}@media(max-width:768px){.assessment-type-selection .selection-cards{grid-template-columns:1fr}.assessment-type-selection .selection-header h2{font-size:24px}.assessment-type-selection .selection-header p{font-size:16px}}.manager-main-layout{display:grid;grid-template-columns:320px 1fr;gap:20px;flex:1;min-height:0}.manager-sidebar{background:#fff;border-radius:12px;border:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden}.sidebar-header{padding:16px 20px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;background:#f8fafc}.sidebar-header h3{margin:0;font-size:16px;font-weight:600;color:#1e293b}.tree-container{flex:1;overflow-y:auto;padding:8px 0}.tree-node{margin-bottom:4px}.tree-node.l1{border-radius:8px;margin:4px 12px;border:1px solid transparent;overflow:hidden}.tree-node.l1.active{background:#eff6ff;border-color:#dc2626}.tree-node.l1 .node-title{padding:12px 16px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;transition:background .2s}.tree-node.l1 .node-title:hover{background:#f8fafc}.tree-node.l1 .node-label{display:flex;align-items:center;gap:8px;font-weight:500;color:#334155}.tree-node.l1 .count-badge{background:#e2e8f0;color:#64748b;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:600}.tree-children{background:#f8fafc;border-top:1px solid #e2e8f0}.tree-node.l2{padding:8px 16px 8px 32px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:background .2s}.tree-node.l2:hover{background:#f1f5f9}.tree-node.l2.active{background:#dbeafe;color:#991b1b}.tree-node.l2 .node-label{display:flex;align-items:center;gap:6px;font-size:14px;color:#475569}.tree-node.l2.active .node-label{color:#991b1b}.tree-node.l2 .count-badge-small{background:#dbeafe;color:#991b1b;padding:1px 6px;border-radius:8px;font-size:11px;font-weight:600}.manager-content{background:#fff;border-radius:12px;border:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden}.content-header{padding:20px 24px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.content-header .title-stack h2{margin:0 0 8px;font-size:18px;font-weight:600;color:#1e293b}.content-header .subtitle{color:#64748b;font-size:14px}.manager-actions-bar{padding:16px 24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;background:#fff}.action-btn-mini{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;border:1px solid transparent}.action-btn-mini.success{background:#dcfce7;color:#166534;border-color:#bbf7d0}.action-btn-mini.success:hover{background:#bbf7d0}.action-btn-mini.danger{background:#fee2e2;color:#991b1b;border-color:#fecaca}.action-btn-mini.danger:hover{background:#fecaca}.action-btn-mini.info{background:#dbeafe;color:#1e40af;border-color:#bfdbfe}.action-btn-mini.info:hover{background:#bfdbfe}.items-table-container{flex:1;overflow:hidden;display:flex;flex-direction:column}.items-table{flex:1;overflow-y:auto}.items-table table{width:100%;border-collapse:collapse}.items-table th,.items-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e2e8f0}.items-table th{background:#f8fafc;font-weight:600;color:#374151;position:sticky;top:0;z-index:10}.items-table tr:hover{background:#f8fafc}.items-table .edit-cell{min-width:120px}.items-table .score-cell{text-align:center;font-weight:600;color:#059669}.manager-logs-panel{position:fixed;top:0;right:0;width:400px;height:100vh;background:#fff;border-left:1px solid #e2e8f0;z-index:1000;transform:translate(100%);transition:transform .3s ease}.manager-logs-panel.open{transform:translate(0)}.logs-header{padding:16px 20px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.logs-header h4{margin:0;font-size:16px;font-weight:600}.logs-content{flex:1;overflow-y:auto;padding:0}.log-item{padding:12px 20px;border-bottom:1px solid #f3f4f6}.log-item:last-child{border-bottom:none}.log-time{font-size:12px;color:#6b7280;margin-bottom:4px}.log-message{font-size:14px;color:#374151;line-height:1.4}.log-user{font-size:12px;color:#059669;font-weight:500}@media(max-width:768px){.assessment-type-selection .selection-cards{grid-template-columns:1fr}.assessment-type-selection .selection-header h2{font-size:24px}.assessment-type-selection .selection-header p{font-size:16px}.manager-main-layout{grid-template-columns:1fr;gap:15px}.manager-sidebar{order:2}.manager-content{order:1}}.main-layout .header{display:flex;justify-content:space-between;align-items:center;padding:0 24px;height:64px;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 2px 4px #0000000d}.main-layout .logo{font-size:20px;font-weight:700;color:#1e293b}.main-layout .tabs{display:flex;gap:4px}.main-layout .tab-button{padding:8px 16px;border:none;background:transparent;color:#64748b;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .2s}.main-layout .tab-button:hover{background:#f1f5f9;color:#334155}.main-layout .tab-button.active{background:#667eea;color:#fff}.main-layout .header-right{display:flex;align-items:center;gap:16px}.main-layout .username{font-size:14px;color:#475569}.main-layout .logout-button{padding:8px 16px;border:1px solid #e2e8f0;background:#fff;border-radius:8px;color:#64748b;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.main-layout .logout-button:hover{background:#f8fafc;color:#334155}.content-layout{display:flex;flex:1;overflow:hidden}.content-layout .sidebar{width:320px;background:#f8fafc;border-right:1px solid #e2e8f0;display:flex;flex-direction:column}.content-layout .sidebar-header{padding:16px 20px;border-bottom:1px solid #e2e8f0;font-weight:600;color:#1e293b;background:#fff}.content-layout .sidebar-content{flex:1;overflow-y:auto;padding:16px}.content-layout .sidebar-tree{display:flex;flex-direction:column;gap:8px}.content-layout .tree-item{display:flex;flex-direction:column}.content-layout .tree-item button{width:100%;text-align:left;padding:8px 12px;border:none;background:transparent;color:#475569;font-size:14px;cursor:pointer;transition:background .2s;border-radius:6px}.content-layout .tree-item button:hover{background:#e2e8f0}.content-layout .tree-children{margin-left:16px;border-left:2px solid #e2e8f0;padding-left:12px}.content-layout .tree-children .tree-item{padding:4px 8px;color:#64748b;font-size:13px}.content-layout .main-content{flex:1;overflow-y:auto;padding:24px;background:#fff}.dashboard h2{margin-bottom:24px;color:#1e293b;font-size:24px}.dashboard .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-bottom:32px}.dashboard .stat-card{background:#fff;padding:24px;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000d}.dashboard .stat-card h3{margin:0 0 16px;color:#475569;font-size:16px}.dashboard .stat-card .number{font-size:48px;font-weight:700;color:#667eea;margin-bottom:8px}.dashboard .stat-card .percentage{color:#64748b;font-size:14px}.dashboard .stat-card .sub-stats{margin-top:16px;padding-top:16px;border-top:1px solid #f1f5f9}.dashboard .stat-card .sub-stats div{margin-bottom:4px;color:#64748b;font-size:13px}.dashboard .stat-card .risk-high{color:#ef4444;font-weight:600;margin-bottom:8px}.dashboard .stat-card .risk-medium{color:#f59e0b;font-weight:600;margin-bottom:8px}.dashboard .stat-card .risk-low{color:#10b981;font-weight:600;margin-bottom:8px}.dashboard .progress-bar{background:#e2e8f0;height:8px;border-radius:4px;overflow:hidden;margin-top:16px}.dashboard .progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width 1s ease}.dashboard .charts-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:20px}.dashboard .chart-card{background:#fff;padding:24px;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000d}.dashboard .chart-card h3{margin:0 0 16px;color:#475569;font-size:16px}.dashboard .chart-placeholder{display:flex;align-items:center;justify-content:center;min-height:200px}.dashboard .ring-chart{position:relative;width:150px;height:150px;border:12px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;display:flex;align-items:center;justify-content:center}.dashboard .ring-inner{text-align:center}.dashboard .ring-value{display:block;font-size:32px;font-weight:700;color:#1e293b}.dashboard .ring-label{display:block;font-size:14px;color:#64748b}.dashboard .bar-chart{width:100%}.dashboard .bar-item{display:flex;align-items:center;gap:12px;margin-bottom:16px}.dashboard .bar-item span{width:100px;font-size:13px;color:#64748b}.dashboard .bar-item .bar{flex:1;height:24px;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:4px;min-width:20px}.scoring h2{margin-bottom:16px;color:#1e293b;font-size:24px}.scoring .scoring-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid #e2e8f0;margin-bottom:20px}.scoring .scoring-controls{display:flex;align-items:center;gap:12px}.scoring .scoring-controls label{color:#475569;font-size:14px}.scoring .scoring-controls select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;min-width:150px}.scoring .current-score{font-weight:600;color:#667eea;font-size:16px}.scoring .scoring-table{overflow-x:auto}.scoring table{width:100%;border-collapse:collapse}.scoring th,.scoring td{padding:12px 16px;text-align:left;border-bottom:1px solid #e2e8f0}.scoring th{background:#f8fafc;font-weight:600;color:#475569}.scoring input[type=number]{width:80px;padding:8px;border:1px solid #e2e8f0;border-radius:4px}.scoring input[type=text]{width:100%;min-width:200px;padding:8px;border:1px solid #e2e8f0;border-radius:4px}.scoring .evidence-button{padding:8px 12px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;font-size:16px;transition:all .2s}.scoring .evidence-button:hover{background:#f8fafc}.configuration h2{margin-bottom:24px;color:#1e293b;font-size:24px}.configuration .config-section{background:#fff;padding:24px;border-radius:12px;border:1px solid #e2e8f0}.configuration .config-section h3{margin:0 0 16px;color:#475569;font-size:18px}.configuration .add-button{padding:10px 20px;background:#667eea;color:#fff;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;margin-bottom:16px}.configuration .add-button:hover{background:#5b5bd6}.configuration .add-form{display:flex;gap:12px;margin-bottom:16px;padding:16px;background:#f8fafc;border-radius:8px}.configuration .add-form input,.configuration .add-form select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px}.configuration .add-form button{padding:8px 16px;background:#10b981;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .2s}.configuration .add-form button:hover{background:#059669}.configuration .contractors-table{width:100%;border-collapse:collapse;margin-top:16px}.configuration .contractors-table th,.configuration .contractors-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e2e8f0}.configuration .contractors-table th{background:#f8fafc;font-weight:600;color:#475569}.configuration .contractors-table button{padding:6px 12px;background:#ef4444;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .2s}.configuration .contractors-table button:hover{background:#dc2626}.rectification h2{margin-bottom:24px;color:#1e293b;font-size:24px}.rectification .issues-table{width:100%;border-collapse:collapse}.rectification .issues-table th,.rectification .issues-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e2e8f0}.rectification .issues-table th{background:#f8fafc;font-weight:600;color:#475569}.rectification .issues-table select{padding:6px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px}.rectification .issues-table a{color:#667eea;text-decoration:none}.rectification .issues-table a:hover{text-decoration:underline}.rectification .issues-table button{padding:6px 12px;background:#667eea;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .2s}.rectification .issues-table button:hover{background:#5b5bd6}.report h2{margin-bottom:24px;color:#1e293b;font-size:24px}.report .report-config{background:#fff;padding:24px;border-radius:12px;border:1px solid #e2e8f0;margin-bottom:24px}.report .report-config h3{margin:0 0 20px;color:#475569;font-size:18px}.report .config-item{margin-bottom:20px}.report .config-item label{display:block;margin-bottom:8px;color:#475569;font-size:14px;font-weight:500}.report .config-item textarea{width:100%;min-height:120px;padding:12px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;transition:border-color .2s}.report .config-item textarea:focus{outline:none;border-color:#667eea}.report .report-actions{display:flex;gap:12px}.report .generate-button,.report .export-button{padding:12px 24px;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.report .generate-button{background:#667eea;color:#fff}.report .generate-button:hover{background:#5b5bd6}.report .export-button{background:#fff;border:1px solid #e2e8f0;color:#64748b}.report .export-button:hover{background:#f8fafc;color:#334155}@media(max-width:768px){.content-layout{flex-direction:column}.content-layout .sidebar{width:100%;max-height:300px}.dashboard .stats-grid,.dashboard .charts-section{grid-template-columns:1fr}.scoring .scoring-header{flex-direction:column;align-items:flex-start;gap:12px}}.enhanced-report{padding:20px;background:#f8fafc;min-height:calc(100vh - 120px)}.enhanced-report .report-header{margin-bottom:24px;padding:24px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d}.enhanced-report .report-header h2{margin:0 0 8px;color:#1e293b;font-size:24px}.enhanced-report .report-header p{margin:0;color:#64748b;font-size:14px}.report-layout{display:grid;grid-template-columns:300px 1fr;gap:20px}.report-sidebar{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0000000d;height:fit-content;max-height:calc(100vh - 200px);overflow-y:auto}.report-sidebar h3{margin:0 0 16px;color:#1e293b;font-size:18px}.sessions-list{display:flex;flex-direction:column;gap:8px}.session-item{padding:12px 16px;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s;display:flex;justify-content:space-between;align-items:center}.session-item:hover{background:#f8fafc;border-color:#667eea}.session-item.active{background:#667eea;border-color:#667eea;color:#fff}.session-info .session-name{font-weight:600;margin-bottom:4px;color:inherit}.session-info .session-date{font-size:12px;opacity:.8;color:inherit}.session-status{padding:4px 8px;border-radius:4px;font-size:11px;font-weight:600}.session-status.status-completed{background:#10b981;color:#fff}.session-status.status-in-progress{background:#f59e0b;color:#fff}.new-session-btn{margin-top:16px}.new-session-btn button{width:100%;padding:12px;background:#667eea;color:#fff;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:background .2s}.new-session-btn button:hover{background:#5b5bd6}.report-content{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000000d;min-height:600px}.report-content .empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:400px;color:#94a3b8;text-align:center}.report-content .empty-state .empty-icon{font-size:64px;margin-bottom:16px}.report-content .empty-state h3{margin:0 0 8px;color:#1e293b}.report-content .empty-state p{margin:0;font-size:14px}.report-summary{margin-bottom:24px;padding:20px;background:#f8fafc;border-radius:8px}.report-summary h3{margin:0 0 16px;color:#1e293b;font-size:18px}.project-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:20px}.project-info .info-group{display:flex;flex-direction:column;gap:4px}.project-info .info-group label{font-size:12px;color:#64748b;font-weight:500}.project-info .info-group span{font-size:14px;color:#1e293b;font-weight:600}.statistics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.stat-card{padding:20px;background:#fff;border-radius:8px;text-align:center;box-shadow:0 2px 4px #0000000d}.stat-card .stat-value{font-size:32px;font-weight:700;color:#667eea;margin-bottom:8px}.stat-card .stat-label{font-size:12px;color:#64748b}.report-templates{margin-bottom:24px}.report-templates h3{margin:0 0 16px;color:#1e293b;font-size:18px}.templates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.template-card{padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;transition:all .2s}.template-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.template-card .template-icon{font-size:32px;margin-bottom:12px}.template-card .template-info h4{margin:0 0 8px;color:#1e293b;font-size:16px}.template-card .template-info p{margin:0 0 16px;color:#64748b;font-size:13px;line-height:1.5}.template-card .generate-btn,.template-card .export-btn{margin-top:auto;padding:10px 16px;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:background .2s}.template-card .generate-btn{background:#667eea;color:#fff}.template-card .generate-btn:hover:not(:disabled){background:#5b5bd6}.template-card .generate-btn:disabled{background:#94a3b8;cursor:not-allowed}.template-card .export-btn{background:#10b981;color:#fff}.template-card .export-btn:hover{background:#059669}.report-preview{margin-bottom:24px}.report-preview h3{margin:0 0 16px;color:#1e293b;font-size:18px}.preview-content{padding:24px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.preview-header{text-align:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #e2e8f0}.preview-header h4{margin:0 0 8px;color:#1e293b;font-size:20px;font-weight:600}.preview-header p{margin:0;color:#64748b;font-size:14px}.preview-section{margin-bottom:20px}.preview-section h5{margin:0 0 12px;color:#334155;font-size:16px;font-weight:600}.preview-section p{margin:0;color:#475569;font-size:14px;line-height:1.8}.preview-section ul{margin:0;padding-left:24px;color:#475569;font-size:14px;line-height:1.8}@media(max-width:768px){.report-layout{grid-template-columns:1fr}.report-sidebar{max-height:none;order:2}.report-content{order:1}.statistics-grid{grid-template-columns:1fr 1fr}.templates-grid{grid-template-columns:1fr}}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.login-box{background:#fff;padding:40px;border-radius:12px;box-shadow:0 20px 40px #0003;width:100%;max-width:400px}.login-box h1{text-align:center;color:#1e293b;margin-bottom:30px;font-size:24px}.login-box .form-group{margin-bottom:20px}.login-box label{display:block;margin-bottom:8px;color:#475569;font-size:14px;font-weight:500}.login-box input{width:100%;padding:12px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;transition:border-color .2s}.login-box input:focus{outline:none;border-color:#667eea}.login-box .error-message{color:#ef4444;font-size:14px;margin-bottom:16px;text-align:center}.login-box button{width:100%;padding:12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:opacity .2s}.login-box button:hover{opacity:.9}.status-icon{font-size:12px;margin-left:auto;flex-shrink:0}.status-icon.scored{color:#22c55e}.status-icon.unscored{color:#94a3b8}.status-icon.na{color:#6b7280}.tree-node.selected{border-left:3px solid #3b82f6;background:#dbeafe;font-weight:700}.tree-node.not-applicable{opacity:.6}.node-score{font-size:9px;color:#64748b;margin-left:4px;flex-shrink:0}.node-na-tag{font-size:9px;color:#6b7280;margin-left:4px;flex-shrink:0;background:#f3f4f6;padding:1px 4px;border-radius:3px}.top-progress-bar{background:#fff;border-bottom:1px solid #e2e8f0;padding:8px 12px}.progress-segments{display:flex;gap:3px;margin-bottom:8px}.progress-segment{height:40px;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:9px;cursor:pointer;transition:all .15s;min-width:40px}.progress-segment:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.progress-segment.complete{background:linear-gradient(180deg,#22c55e,#16a34a);color:#fff}.progress-segment.in-progress{background:linear-gradient(180deg,#eab308,#ca8a04);color:#fff}.progress-segment.not-started{background:#f1f5f9;border:2px dashed #cbd5e1;color:#64748b}.segment-name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:90%}.segment-score{font-size:8px;opacity:.9}.progress-summary{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0;font-size:11px}.summary-stats{display:flex;gap:16px}.text-success{color:#22c55e}.text-warning{color:#eab308}.summary-actions{display:flex;gap:8px}.btn-nav{padding:4px 10px;background:#3b82f6;color:#fff;border:none;border-radius:4px;font-size:10px;cursor:pointer;display:flex;align-items:center;gap:4px}.btn-nav.btn-secondary{background:#64748b}.btn-nav:hover{opacity:.9}.unit-switcher{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#f5f3ff;border-bottom:1px solid #e2e8f0;font-size:12px}.switcher-label{font-weight:700;color:#6d28d9}.unit-tabs{display:flex;gap:4px;flex:1}.unit-tab{padding:4px 12px;background:#e2e8f0;border-radius:4px;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:11px;transition:all .15s}.unit-tab:hover{background:#cbd5e1}.unit-tab.active{background:#8b5cf6;color:#fff}.type-dot{width:6px;height:6px;border-radius:50%}.type-dot.owner{background:#3b82f6}.type-dot.contractor{background:#10b981}.unit-progress{font-size:9px;opacity:.7}.auto-save-hint{font-size:9px;color:#64748b;margin-left:auto}.unit-switcher.read-only-mode{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom-color:#cbd5e1}.switcher-header{display:flex;align-items:center;gap:8px}.read-only-badge{font-size:11px;font-weight:700;color:#64748b;background:#e2e8f0;padding:2px 8px;border-radius:10px;letter-spacing:.5px}.unit-tab.read-only{opacity:.85;cursor:default}.unit-tab.read-only:hover{background:#f1f5f9}.view-only-tag{font-size:10px;color:#3b82f6;font-weight:600;background:#dbeafe;padding:1px 6px;border-radius:6px}.smart-scoring-wrapper{display:flex;flex-direction:column;height:100vh;margin-top:0;background:#f1f5f9;position:fixed;top:0;left:260px;right:0;bottom:0;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1);z-index:80}.smart-scoring-wrapper.main-sidebar-collapsed{left:72px}.smart-scoring-container{display:flex;flex:1;gap:20px;padding:20px;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;height:calc(100% - 60px)}.fixed-scoring-header{height:60px;background:#0f172a;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 32px;box-shadow:0 4px 20px #00000026;z-index:100;flex-shrink:0}.header-left{display:flex;align-items:center;gap:16px}.menu-toggle-glow{display:flex;align-items:center;gap:8px;background:#2563eb;color:#fff;border:none;padding:6px 16px;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;transition:all .2s;box-shadow:0 0 15px #2563eb66}.menu-toggle-glow:hover{background:#3b82f6;box-shadow:0 0 20px #2563eb99;transform:translateY(-1px)}.menu-toggle-glow.collapsed{background:#1e293b;box-shadow:none;border:1px solid rgba(255,255,255,.1)}.v-divider{width:1px;height:24px;background:#ffffff1a}.global-stats-summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:6px 12px;border-radius:8px;transition:all .2s;background:#ffffff0d}.global-stats-summary:hover{background:#ffffff1a}.global-stats-summary.active{background:#2563eb}.stats-label{font-size:13px;opacity:.8;font-weight:500}.stats-value{font-size:20px;font-weight:800;font-family:JetBrains Mono,monospace}.stats-value small{font-size:13px;opacity:.6;font-weight:400}.stats-rate{font-size:16px;font-weight:700;color:#10b981;background:#10b9811a;padding:2px 8px;border-radius:6px}.save-status-mini{font-size:12px;color:#fff6}.saving-text{color:#60a5fa;font-weight:600;animation:pulse 1.5s infinite}@keyframes pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.manual-save-btn{display:flex;align-items:center;gap:8px;background:#10b981;color:#fff;border:none;padding:6px 16px;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;transition:all .2s;box-shadow:0 0 10px #10b9814d}.manual-save-btn:hover:not(:disabled){background:#059669;box-shadow:0 0 15px #10b98180;transform:translateY(-1px)}.manual-save-btn:disabled{background:#334155;cursor:not-allowed;box-shadow:none}.manual-save-btn.loading svg{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.current-unit-info{display:flex;align-items:center;gap:8px;background:#ffffff0d;padding:8px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.current-unit-info .label{font-size:12px;color:#94a3b8;font-weight:600}.current-unit-info .value{font-size:14px;font-weight:700;color:#e2e8f0}.global-stats-panel{position:absolute;top:60px;left:0;right:0;background:#1e293b;border-bottom:2px solid #3b82f6;box-shadow:0 10px 40px #0006;z-index:90;padding:30px;max-height:80vh;overflow-y:auto}.panel-sections-row{display:flex;gap:40px;max-width:1400px;margin:0 auto}.stats-main-col{flex:3}.stats-side-col{flex:1;border-left:1px solid rgba(255,255,255,.1);padding-left:30px}.panel-subtitle{font-size:14px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:1px;margin-bottom:20px;display:flex;align-items:center;gap:8px}.expert-stats-list{display:flex;flex-direction:column;gap:12px}.expert-progress-item{background:#ffffff08;border:1px solid rgba(255,255,255,.05);border-radius:12px;padding:14px;transition:all .2s}.expert-progress-item:hover{background:#ffffff0f;transform:translate(4px)}.expert-info-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.expert-name{font-weight:700;color:#fff;font-size:14px}.deduct-sum{color:#ef4444;font-weight:800;font-size:13px}.expert-detail-row{font-size:12px;color:#94a3b8}.empty-stats{padding:20px;text-align:center;color:#fff3;font-style:italic;font-size:13px}.panel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.module-score-card{background:#ffffff08;border:1px solid rgba(255,255,255,.05);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px;transition:transform .2s}.module-score-card:hover{transform:translateY(-2px);background:#ffffff0f}.module-score-card .top-row{display:flex;justify-content:space-between;align-items:center}.module-score-card .name{font-size:13px;font-weight:700;color:#f1f5f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.module-score-card .percent{font-size:16px;font-weight:800;color:#3b82f6}.module-score-card .progress-bar{height:6px;background:#ffffff1a;border-radius:3px;overflow:hidden}.module-score-card .fill{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);border-radius:3px}.module-score-card .bottom-row{display:flex;justify-content:space-between;align-items:center;font-size:12px}.module-score-card .deduction{color:#ef4444;font-weight:700}.module-score-card .points{color:#94a3b8}.unit-not-selected-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#ffffffe6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:50;display:flex;align-items:center;justify-content:center;text-align:center}.overlay-content{display:flex;flex-direction:column;align-items:center;gap:16px;max-width:300px}.overlay-content h3{font-size:20px;color:#1e293b;margin:0}.overlay-content p{font-size:14px;color:#64748b;margin:0;line-height:1.5}.scoring-tree-sidebar{width:320px;flex-shrink:0;background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000000d;display:flex;flex-direction:column;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}.smart-scoring-container.sidebar-hidden .scoring-tree-sidebar{width:0;margin-right:0;opacity:0;pointer-events:none;padding:0}.sidebar-placeholder{width:40px;background:#fff;border-right:1px solid #e2e8f0;display:flex;justify-content:center;padding-top:16px;cursor:pointer;transition:background .2s;flex-shrink:0;box-shadow:2px 0 8px #0000000d;z-index:10}.sidebar-placeholder:hover{background:#f1f5f9}.sidebar-header{padding:16px 20px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.header-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.header-title-row h3{margin:0;font-size:16px;color:#1e293b;font-weight:700}.sidebar-toggle-btn{background:none;border:none;color:#64748b;cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .2s}.sidebar-toggle-btn:hover{background:#e2e8f0;color:#1e293b}.search-box{display:flex;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:6px 10px;gap:8px}.search-box input{border:none;outline:none;font-size:13px;width:100%}.tree-content{flex:1;overflow-y:auto;padding:12px}.tree-node{display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;cursor:pointer;transition:background .1s;color:#475569;font-size:13px;margin-bottom:2px}.tree-node:hover{background:#f1f5f9}.l1-node{font-weight:600;color:#1e293b}.l2-node{padding-left:24px}.l3-node{padding-left:40px;color:#64748b}.l3-node.selected{background:#eff6ff;color:#2563eb;font-weight:500}.status-icons{margin-left:auto;display:flex;gap:4px}.status-icon.success{color:#10b981}.status-icon.locked{color:#f59e0b}.scoring-detail-panel{flex:1;background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000000d;display:flex;flex-direction:column;overflow:hidden}.detail-header{padding:20px 24px;border-bottom:1px solid #e2e8f0;background:#fff;display:flex;flex-direction:column;gap:16px}.unit-selector-section{display:flex;flex-direction:column;gap:12px}.selector-label{font-weight:700;color:#1e293b;font-size:14px}.unit-buttons-grid{display:flex;flex-wrap:wrap;gap:10px}.unit-select-btn{background:#fff;border:1px solid #e2e8f0;padding:6px 12px;border-radius:8px;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:8px}.unit-select-btn:hover{border-color:#3b82f6;background:#f8fafc}.unit-select-btn.active{border-color:#3b82f6;background:#eff6ff;box-shadow:0 2px 6px #3b82f61a}.unit-card-compact{display:flex;align-items:center;gap:10px}.unit-tag{font-size:10px;font-weight:800;padding:2px 6px;border-radius:4px;text-transform:uppercase;white-space:nowrap}.unit-tag.owner{background:#dbeafe;color:#1e40af}.unit-tag.contractor{background:#fef3c7;color:#92400e}.unit-tag.other{background:#f1f5f9;color:#475569}.unit-names{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.unit-name{font-size:13px;font-weight:600;color:#1e293b}.unit-section{font-size:10px;color:#64748b}.unit-role{font-size:11px;font-weight:700;color:#3b82f6;text-transform:uppercase;letter-spacing:.5px}.unit-name{font-size:14px;font-weight:600;color:#1e293b}.unit-section{font-size:11px;color:#64748b;font-style:italic}.no-units-hint{padding:20px;text-align:center;color:#94a3b8;font-size:13px;font-style:italic;background:#f8fafc;border-radius:8px;border:1px dashed #e2e8f0}.save-status-group{display:flex;align-items:center;gap:16px;align-self:flex-end}.live-stats-badge{display:flex;align-items:center;gap:8px;background:#0f172a;color:#fff;padding:6px 14px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;-webkit-user-select:none;user-select:none}.live-stats-badge:hover{background:#1e293b;transform:translateY(-1px)}.live-stats-badge .percent{color:#10b981}.live-stats-badge svg{transition:transform .3s}.live-stats-badge svg.rotated{transform:rotate(180deg)}.save-status{font-size:12px;color:#64748b}.stats-expanded-panel{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:20px 24px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.module-stat-card{background:#fff;padding:12px 16px;border-radius:10px;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:8px}.module-name{font-size:12px;font-weight:700;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-values{display:flex;justify-content:space-between;align-items:baseline}.stat-values .deduction{font-size:11px;color:#ef4444;font-weight:600}.stat-values .rate{font-size:14px;font-weight:800;color:#3b82f6}.mini-progress{height:4px;background:#f1f5f9;border-radius:2px;overflow:hidden}.mini-progress .fill{height:100%;background:#3b82f6;transition:width .6s ease}.detail-content{flex:1;overflow-y:auto;padding:24px 40px}.item-header-block{margin-bottom:32px}.item-breadcrumbs{font-size:12px;color:#94a3b8;margin-bottom:8px}.item-header-block h2{margin:0 0 12px;font-size:24px;color:#0f172a}.item-meta{display:flex;gap:12px}.badge{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600}.badge.std-score{background:#f1f5f9;color:#475569}.badge.risk.high{background:#fee2e2;color:#dc2626}.badge.risk.medium{background:#fef3c7;color:#d97706}.content-section{margin-bottom:24px;background:#fff;border-radius:12px}.content-section h4{margin:0 0 16px;font-size:16px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:8px}.content-part{display:flex;flex-direction:column;gap:8px}.part-label{font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:#64748b;margin:0}.part-body{padding:12px 16px;border-radius:8px;font-size:14px;line-height:1.6}.part-body.clause-text{background:#eff6ff;border-left:3px solid #3b82f6;color:#1e40af}.part-body.suggestion-text{background:#f0fdf4;border-left:3px solid #22c55e;color:#166534}.diagnosis-suggestion-block{padding:16px;background:#fafbfd;border:1px solid #e2e8f0;border-radius:12px}color: #334155; border: 1px solid transparent; min-height: 44px; } .part-body.construction{background:#f8fafc;border-color:#e2e8f0}.part-body.method{background:#f0f7ff;border-color:#dbeafe;color:#1e40af;font-weight:500}.part-body.standard{background:#fffbeb;border-color:#fef3c7;color:#92400e;font-weight:600}.hint-part .part-label{color:#2563eb}.full-width{grid-column:span 2}.scoring-section h4{margin:0 0 16px;font-size:16px;color:#0f172a;border-left:4px solid #10b981;padding-left:12px}.alert-box{background:#fff7ed;border:1px solid #ffedd5;color:#c2410c;padding:16px;border-radius:8px;display:flex;align-items:center;gap:12px;font-size:14px}.deduction-options{margin-bottom:24px}.section-label{font-size:13px;color:#64748b;margin-bottom:12px}.tags-cloud{display:flex;flex-wrap:wrap;gap:10px;padding:8px 0}.deduction-tag{display:inline-flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid #e2e8f0;padding:10px 14px;border-radius:8px;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);-webkit-user-select:none;user-select:none;height:auto;min-height:40px;width:fit-content;max-width:100%}.deduction-tag:hover{border-color:#ef4444;background:#fff;box-shadow:0 2px 8px #0000000d;transform:translateY(-1px)}.deduction-tag.active{border-color:#ef4444;background:#fef2f2;box-shadow:0 2px 6px #ef444426;color:inherit}.tag-label{flex-shrink:0;font-size:11px;font-weight:800;background:#fee2e2;color:#ef4444;padding:3px 8px;border-radius:6px;line-height:1.2;margin-top:0;text-transform:uppercase}.deduction-tag.active .tag-label{background:#ef4444;color:#fff}.tag-text{font-size:13px;font-weight:600;color:#334155;white-space:normal;line-height:1.6;text-align:left;margin-top:-2px}.deduction-tag.active .tag-text{color:#b91c1c}.score-result-block{background:#f8fafc;padding:24px;border-radius:12px;border:1px solid #e2e8f0}.result-row{display:flex;gap:24px;margin-bottom:16px}.score-input-group{width:160px}.comment-input-group{flex:1}.score-input-group label,.comment-input-group label{display:block;font-size:13px;font-weight:600;color:#475569;margin-bottom:8px}.score-input-group input{width:100%;padding:10px;border:2px solid #e2e8f0;border-radius:8px;font-size:20px;font-weight:700;color:#059669;text-align:center}.max-suffix{display:block;text-align:center;font-size:12px;color:#94a3b8;margin-top:4px}.comment-input-group.large textarea{width:100%;padding:16px;border:1px solid #e2e8f0;border-radius:12px;font-size:15px;height:140px;resize:vertical;background:#fff;transition:all .2s;line-height:1.6}.comment-input-group.large textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61a;outline:none}.comment-header-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.voice-action-btn{display:flex;align-items:center;gap:6px;padding:4px 12px;background:#f1f5f9;border-radius:20px;font-size:12px;font-weight:700;color:#475569;cursor:pointer;transition:all .2s;-webkit-user-select:none;user-select:none}.voice-action-btn:hover{background:#e2e8f0;color:#1e293b}.action-buttons-row{display:flex;gap:8px;align-items:center}.voice-action-btn.smart-gen{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border:1px solid #fbbf24}.voice-action-btn.smart-gen:hover{background:linear-gradient(135deg,#fde68a,#fcd34d);color:#78350f;transform:translateY(-1px);box-shadow:0 2px 8px #fbbf244d}.problem-photo-section{margin-top:16px;padding:16px;background:#f8fafc;border-radius:12px;border:1px dashed #e2e8f0}.photo-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.photo-header label{font-size:13px;font-weight:700;color:#475569;margin:0}.photo-header label small{font-weight:400;opacity:.6}.upload-input-wrapper input{display:none}.upload-btn-styled{display:flex;align-items:center;gap:8px;padding:6px 14px;background:#fff;border:1px solid #3b82f6;color:#3b82f6;border-radius:8px;font-size:12px;font-weight:700;cursor:pointer;transition:all .2s}.upload-btn-styled:hover{background:#3b82f6;color:#fff}.upload-btn-styled.loading{opacity:.6;cursor:not-allowed}.photo-preview-grid{display:flex;flex-wrap:wrap;gap:12px}.photo-preview-item{width:100px;height:100px;border-radius:8px;overflow:hidden;position:relative;border:2px solid white;box-shadow:0 2px 8px #0000001a}.photo-preview-item img{width:100%;height:100%;object-fit:cover}.remove-photo-btn{position:absolute;top:4px;right:4px;width:24px;height:24px;background:#ef4444e6;color:#fff;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .2s}.photo-preview-item:hover .remove-photo-btn{opacity:1}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.7}to{transform:scale(1);opacity:1}}.pulse-icon{animation:pulse 1.5s infinite ease-in-out}.scorer-signature{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#64748b;border-top:1px solid #e2e8f0;padding-top:12px}.sig-info{display:flex;gap:20px}.sig-time{opacity:.7}.locked-tag{color:#ef4444;font-weight:600}.empty-selection{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#94a3b8}.empty-icon{font-size:48px;margin-bottom:16px}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px);max-height:0}to{opacity:1;transform:translateY(0);max-height:500px}}.animate-fade-in{animation:fadeIn .3s ease-out}.animate-slide-down{animation:slideDown .4s cubic-bezier(0,1,0,1);overflow:hidden}.detail-header-compact{padding:12px 24px;background:#fff;border-bottom:1px solid #e2e8f0}.unit-tabs-integrated{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tabs-label{font-size:12px;color:#94a3b8;font-weight:600;margin-right:8px}.integrated-unit-tab{display:flex;align-items:center;gap:8px;padding:6px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;cursor:pointer;transition:all .2s;font-size:13px;font-weight:600;color:#64748b}.integrated-unit-tab:hover{background:#f1f5f9;border-color:#cbd5e1}.integrated-unit-tab.active{background:#3b82f6;border-color:#3b82f6;color:#fff;box-shadow:0 4px 10px #3b82f633}.type-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8}.type-dot.owner{background:#60a5fa}.type-dot.contractor{background:#fbbf24}.integrated-unit-tab.active .type-dot{background:#fff;box-shadow:0 0 6px #fffc}.no-units{font-size:12px;color:#94a3b8;font-style:italic}.scorer-signature{margin-top:24px;padding-top:16px;border-top:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.sig-info{display:flex;flex-direction:column;gap:4px}.sig-info span{font-size:13px;color:#475569;font-weight:500}.sig-time{font-size:11px;color:#94a3b8}.locked-tag{font-size:12px;color:#d97706;background:#fffbeb;padding:2px 8px;border-radius:4px;font-weight:600}.sig-action-group{margin-top:16px;display:flex;justify-content:flex-end}.individual-save-btn{display:flex;align-items:center;gap:8px;background:#2563eb;color:#fff;border:none;padding:10px 24px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s;box-shadow:0 4px 12px #2563eb33}.individual-save-btn:hover:not(:disabled){background:#1d4ed8;transform:translateY(-2px);box-shadow:0 6px 16px #2563eb4d}.individual-save-btn:active{transform:translateY(0)}.individual-save-btn:disabled{background:#94a3b8;cursor:not-allowed;box-shadow:none}.item-navigation-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:12px;margin:20px 0;border:2px solid #e2e8f0}.nav-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#fff;border:2px solid #cbd5e1;border-radius:8px;font-size:14px;font-weight:600;color:#475569;cursor:pointer;transition:all .2s ease;flex:1;max-width:180px}.nav-btn:hover:not(:disabled){background:#3b82f6;border-color:#3b82f6;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f64d}.nav-btn:disabled{opacity:.4;cursor:not-allowed;background:#f1f5f9}.nav-btn.prev{justify-content:flex-start}.nav-btn.next{justify-content:flex-end}.nav-position-info{font-size:14px;font-weight:700;color:#3b82f6;padding:8px 16px;background:#fff;border-radius:8px;border:2px solid #dbeafe;min-width:80px;text-align:center}.nav-btn:after{content:attr(title);position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#1e293b;color:#fff;padding:4px 8px;border-radius:4px;font-size:11px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s;margin-bottom:8px}.nav-btn:hover:after{opacity:.9}.quick-deduction-group{margin-bottom:20px}.quick-deduction-group label{display:block;font-size:14px;font-weight:600;color:#475569;margin-bottom:12px}.quick-deduct-buttons{display:flex;gap:10px;flex-wrap:wrap}.quick-deduct-btn{padding:8px 16px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #ef444433;width:auto;flex:none}.quick-deduct-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #ef444466}.quick-deduct-btn.na-btn{background:linear-gradient(135deg,#6b7280,#4b5563)}.quick-deduct-btn.na-btn:hover:not(:disabled){box-shadow:0 4px 12px #6b728066}.deduction-input-group{margin-bottom:20px}.deduction-input-group label{display:block;font-size:14px;font-weight:600;color:#475569;margin-bottom:12px}.deduction-input-wrapper{display:flex;align-items:center;gap:8px;margin-bottom:12px}.deduction-input-wrapper input{flex:1;padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:16px;font-weight:600;color:#ef4444;text-align:center;transition:all .2s}.deduction-input-wrapper .input-suffix{font-size:14px;font-weight:600;color:#64748b}.score-display{display:flex;align-items:center;gap:8px;padding:12px 16px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:8px;border:2px solid #e2e8f0}.score-display .label{font-size:13px;color:#64748b;font-weight:500}.score-display .std-score{font-size:16px;font-weight:700;color:#3b82f6}.score-display .separator{font-size:16px;color:#cbd5e1;margin:0 4px}.score-display .actual-score{font-size:18px;font-weight:800;color:#10b981}.quick-deduction-group{margin-bottom:16px}.quick-deduction-group label{display:block;font-size:13px;font-weight:600;color:#475569;margin-bottom:8px}.quick-deduct-buttons{display:flex;gap:6px;flex-wrap:wrap}.quick-deduct-btn{flex:0 0 auto;min-width:60px;padding:6px 12px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px #ef444433}.quick-deduct-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 2px 8px #ef44444d}.quick-deduct-btn:active:not(:disabled){transform:translateY(0)}.quick-deduct-btn:disabled{opacity:.5;cursor:not-allowed}.quick-deduct-btn.full{background:linear-gradient(135deg,#991b1b,#7f1d1d)}.quick-deduct-btn.zero{background:linear-gradient(135deg,#10b981,#059669)}.deduction-input-group{margin-bottom:16px}.deduction-input-group label{display:block;font-size:13px;font-weight:600;color:#475569;margin-bottom:8px}.deduction-input-wrapper{display:flex;align-items:center;gap:8px;margin-bottom:10px}.deduction-input-wrapper input{width:100px;padding:8px 12px;border:2px solid #e2e8f0;border-radius:6px;font-size:14px;font-weight:600;color:#ef4444;text-align:center;transition:all .2s}.deduction-input-wrapper input:focus{outline:none;border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.deduction-input-wrapper .input-suffix{font-size:13px;font-weight:600;color:#64748b}.score-display{display:flex;align-items:center;gap:6px;padding:8px 12px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:6px;border:1px solid #e2e8f0;font-size:13px}.score-display .label{color:#64748b;font-weight:500}.score-display .std-score{font-size:14px;font-weight:700;color:#3b82f6}.score-display .separator{font-size:14px;color:#cbd5e1;margin:0 2px}.score-display .actual-score{font-size:15px;font-weight:800;color:#10b981}.score-result-block .result-row{display:flex;gap:20px;align-items:flex-start}.score-result-block .result-row>.quick-deduction-group{flex:1;max-width:none}.score-result-block .result-row>.deduction-input-group{flex:0 0 160px}.score-result-block .result-row>.comment-input-group{flex:2;min-width:0}.quick-deduct-buttons{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important}.quick-deduct-btn{width:auto!important;min-width:auto!important;padding:4px 10px!important;font-size:12px!important;border-radius:4px!important;background:#f1f5f9!important;color:#475569!important;border:1px solid #e2e8f0!important;box-shadow:none!important;font-weight:600!important}.quick-deduct-btn:hover{background:#e2e8f0!important;border-color:#cbd5e1!important;transform:none!important}.quick-deduct-btn.full{background:#fee2e2!important;color:#ef4444!important;border-color:#fecaca!important}.quick-deduct-btn.full:hover{background:#fecaca!important}.quick-deduct-btn.zero{background:#dcfce7!important;color:#10b981!important;border-color:#bbf7d0!important}.quick-deduct-btn.zero:hover{background:#bbf7d0!important}.quick-deduction-group{margin-bottom:16px!important}.quick-deduction-group label{font-size:13px!important;font-weight:700!important;color:#475569!important;margin-bottom:8px!important;display:block!important}.bottom-status-bar{display:flex;justify-content:space-between;align-items:center;padding:4px 12px;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:10px;color:#64748b;flex-shrink:0}.back-to-project-btn{padding:3px 10px;background:#3b82f6;color:#fff;border:none;border-radius:4px;font-size:11px;cursor:pointer;font-weight:500}.back-to-project-btn:hover{background:#2563eb}.contractor-notice{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;background:linear-gradient(135deg,#fef9c3,#fef08a);border-bottom:2px solid #eab308;border-radius:0}.notice-icon{font-size:24px;line-height:1}.notice-text{flex:1}.notice-text strong{display:block;font-size:14px;font-weight:700;color:#92400e;margin-bottom:4px}.notice-text p{font-size:12px;color:#a16207;margin:0;line-height:1.4}.scoring-panel.contractor-readonly{border-left:3px solid #eab308}.scoring-panel.contractor-readonly .score-input,.scoring-panel.contractor-readonly .quick-deduct-btn,.scoring-panel.contractor-readonly .deduction-input{opacity:.5;pointer-events:none}.chart-container{width:100%;padding:16px}.chart-title{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:16px;text-align:center}.chart-empty-state{text-align:center;color:#64748b;padding:40px 20px;font-size:14px}.timeline-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.timeline-item{background:linear-gradient(135deg,#eff6ff,#dbeafe);padding:20px;border-radius:12px;border:1px solid #bfdbfe;transition:all .2s ease}.timeline-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #3b82f626}.timeline-label{font-size:13px;color:#64748b;margin-bottom:8px}.timeline-value{font-size:24px;font-weight:700;color:#1d4ed8}.recharts-wrapper{margin:0 auto}.recharts-tooltip-wrapper{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:8px!important;box-shadow:0 4px 12px #0000001a!important;padding:8px 12px!important}.recharts-default-tooltip{background-color:transparent!important;border:none!important;padding:0!important}.recharts-tooltip-label{font-weight:600;color:#1e293b;margin-bottom:4px}.recharts-tooltip-item{color:#64748b!important;font-size:13px!important}.recharts-legend-item-text{color:#1e293b!important}.user-management{padding:24px;background:#f8fafc;min-height:calc(100vh - 64px)}.user-management-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.user-management-header h2{font-size:24px;font-weight:700;color:#1e293b;margin:0}.add-user-btn{background:#3b82f6;color:#fff;padding:10px 20px;border-radius:10px;font-weight:600;display:flex;align-items:center;gap:8px;transition:all .2s}.add-user-btn:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f633}.users-table-container{background:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a;overflow:hidden;border:1px solid #e2e8f0}.users-table{width:100%;border-collapse:collapse}.users-table th{text-align:left;padding:16px 20px;background:#f8fafc;color:#64748b;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0}.users-table td{padding:18px 20px;border-bottom:1px solid #f1f5f9;color:#334155;font-size:14px}.users-table tr:hover{background:#fcfcfd}.role-badge{padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600}.role-admin{background:#ede9fe;color:#6d28d9}.role-expert{background:#eff6ff;color:#1d4ed8}.status-btn{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s}.status-btn.active{background:#dcfce7;color:#166534}.status-btn.inactive{background:#fee2e2;color:#991b1b}.actions-cell{display:flex;gap:12px}.edit-btn,.reset-pwd-btn,.delete-btn{font-size:13px;font-weight:600;transition:color .2s}.edit-btn{color:#3b82f6}.edit-btn:hover{color:#2563eb}.reset-pwd-btn{color:#f59e0b}.reset-pwd-btn:hover{color:#d97706}.delete-btn{color:#ef4444}.delete-btn:hover{color:#dc2626}.assign-project-btn{font-size:13px;font-weight:600;color:#8b5cf6}.assign-project-btn:hover{color:#7c3aed}.user-identity{display:flex;flex-direction:column}.user-identity .username{font-size:12px;color:#94a3b8}.form-single-col{grid-column:1 / -1;margin-bottom:24px}.signature-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:20px}.signature-section label.form-label{display:block;margin-bottom:12px;font-size:13px;font-weight:700;color:#64748b}.signature-container-refined{height:120px;display:flex;align-items:center;justify-content:center}.signature-preview-bubble{position:relative;padding:8px 32px;background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;max-width:80%}.signature-preview-bubble img{max-height:100px;max-width:100%;object-fit:contain;cursor:pointer}.remove-sig-btn-mini{position:absolute;top:-10px;right:-10px;width:24px;height:24px;background:#ef4444;color:#fff;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;box-shadow:0 2px 4px #0000001a}.sig-upload-trigger{width:100%;height:100%;border:2px dashed #cbd5e1;border-radius:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;background:#fff}.sig-upload-trigger:hover{border-color:#3b82f6;background:#eff6ff}.sig-upload-trigger input[type=file]{display:none}.trigger-inner{display:flex;flex-direction:column;align-items:center;gap:8px}.trigger-inner .icon{font-size:24px}.trigger-inner .text{font-size:13px;color:#94a3b8;font-weight:500}.signature-list-preview{max-height:30px;max-width:80px;mix-blend-mode:multiply}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;border-radius:24px;padding:32px;width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040}.modal::-webkit-scrollbar{width:6px}.modal::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:3px}.modal h3{font-size:22px;font-weight:700;color:#1e293b;margin-bottom:24px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-size:14px;font-weight:600;color:#475569}.form-group input,.form-group select{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:12px;font-size:14px;transition:all .2s}.form-group input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 4px #3b82f61a}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:24px;border-top:1px solid #f1f5f9}.modal-actions button{padding:12px 24px;border-radius:12px;font-weight:600;font-size:14px;transition:all .2s}.submit-btn{background:#3b82f6;color:#fff}.cancel-btn{background:#f1f5f9;color:#64748b}.cancel-btn:hover{background:#e2e8f0}.expert-profile-cell{display:flex;flex-direction:column;gap:4px}.title-tag{font-size:11px;background:#f1f5f9;color:#64748b;padding:2px 6px;border-radius:4px;font-weight:500;width:fit-content}.primary-org{font-weight:700;color:#1e293b;font-size:14px}.secondary-dept{font-size:12px;color:#94a3b8;margin-top:2px}.signature-cell{text-align:center}.reset-pwd-modal{max-width:450px}.reset-pwd-hint{color:#64748b;font-size:14px;margin-bottom:24px;padding:16px;background:#f8fafc;border-radius:12px;border-left:4px solid #3b82f6}.reset-pwd-hint strong{color:#1e293b}.reset-pwd-warning{color:#f59e0b;font-size:13px;margin-top:8px;padding:12px;background:#fffbeb;border-radius:8px;border-left:4px solid #f59e0b}.permission-hint-box{background:#f0f9ff;border:1.5px solid #0ea5e9;border-radius:8px;padding:12px 16px;margin-bottom:16px;font-size:13px;color:#0369a1}.role-guide-box{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;padding:14px 16px;margin-bottom:16px}.role-guide-title{font-size:13px;font-weight:700;color:#1e293b;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #e2e8f0}.role-guide-list{display:flex;flex-direction:column;gap:8px}.role-guide-item{display:flex;align-items:flex-start;gap:10px;font-size:12px}.role-name{font-weight:700;color:#1e293b;white-space:nowrap;min-width:90px;background:#f1f5f9;padding:2px 8px;border-radius:6px}.role-desc{color:#64748b;line-height:1.4;flex:1}.indicator-management{padding:0;background:#f8fafc;min-height:100vh}.page-header-simple{background:#fff;padding:32px 60px;border-bottom:1px solid #e2e8f0}.page-header-simple h2{margin:0 0 8px;font-size:28px;font-weight:800;color:#0f172a}.page-header-simple p{margin:0;color:#64748b;font-size:15px}.management-content-wrapper{padding:40px 60px;display:flex;flex-direction:column;gap:32px}.system-navigation-bar{background:#fff;padding:20px 32px;border-radius:20px;border:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 6px -1px #0000000d}.selector-container{display:flex;align-items:center;gap:16px;flex:1}.selector-container label{font-weight:700;color:#475569;font-size:14px}.premium-select{min-width:320px;height:48px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:0 16px;font-size:15px;font-weight:600;color:#1e293b;cursor:pointer;transition:all .2s}.premium-select:hover{border-color:#3b82f6}.nav-actions{display:flex;align-items:center;gap:12px}.add-system-btn{background:#3b82f6;color:#fff;border:none;height:48px;padding:0 24px;border-radius:12px;font-weight:700;display:flex;align-items:center;gap:8px;cursor:pointer;transition:all .2s}.add-system-btn:hover{background:#2563eb;transform:translateY(-2px)}.config-system-btn,.delete-system-btn{width:48px;height:48px;border-radius:12px;border:1px solid #e2e8f0;background:#fff;display:flex;align-items:center;justify-content:center;color:#64748b;cursor:pointer;transition:all .2s}.config-system-btn:hover{border-color:#3b82f6;color:#3b82f6}.delete-system-btn:hover{border-color:#fee2e2;color:#ef4444}.standard-editor-refined{display:flex;flex-direction:column}.editor-header-actions{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}.info-tag{display:flex;flex-direction:column;gap:4px}.file-id{font-family:JetBrains Mono,monospace;background:#f1f5f9;padding:4px 10px;border-radius:6px;font-size:12px;color:#475569;font-weight:700;width:fit-content}.mtime{font-size:12px;color:#94a3b8}.main-btns{display:flex;gap:12px}.btn-add{height:40px;padding:0 16px;background:#3b82f6;border:none;border-radius:10px;font-weight:600;font-size:13px;color:#fff;display:flex;align-items:center;gap:8px;cursor:pointer}.btn-add:hover{background:#2563eb}.btn-import{height:40px;padding:0 16px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;font-weight:600;font-size:13px;color:#475569;cursor:pointer}.text-btn{background:none;border:none;color:#3b82f6;font-weight:700;cursor:pointer;white-space:nowrap;padding:4px 8px;font-size:13px}.text-btn.danger{color:#ef4444}.text-btn.danger:hover{background:#fef2f2;border-radius:4px}.btn-save-all{height:40px;padding:0 20px;background:#10b981;color:#fff;border:none;border-radius:10px;font-weight:700;font-size:13px;display:flex;align-items:center;gap:8px;cursor:pointer}.standard-overview-container{margin-bottom:24px;display:flex;flex-direction:column;gap:16px}.overview-main-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;display:flex;align-items:center;gap:12px}.stat-icon{width:40px;height:40px;background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px}.stat-info .label{font-size:12px;color:#64748b;display:block}.stat-info .value{font-size:20px;font-weight:800;color:#1e293b}.distribution-section{background:#f8fafc;border-radius:12px;padding:16px;border:1px solid #e2e8f0}.distribution-section h4{margin:0 0 12px;font-size:14px;font-weight:700;color:#334155}.hierarchy-distribution{display:flex;flex-direction:column;gap:4px}.hierarchy-item{background:#fff;border-radius:8px;border:1px solid #f1f5f9;overflow:hidden}.hierarchy-item-header{display:flex;align-items:center;gap:8px;padding:10px 12px;cursor:pointer;transition:background .2s}.hierarchy-item-header:hover{background:#f8fafc}.hierarchy-toggle{color:#94a3b8;display:flex;align-items:center}.hierarchy-name{flex:1;font-weight:700;font-size:13px;color:#334155}.hierarchy-meta{display:flex;align-items:center;gap:12px}.hierarchy-count{font-size:11px;color:#64748b;background:#f1f5f9;padding:2px 8px;border-radius:4px}.hierarchy-progress-bg{width:80px;height:4px;background:#f1f5f9;border-radius:2px;overflow:hidden}.hierarchy-progress-fill{height:100%;background:#3b82f6}.hierarchy-score{width:60px;text-align:right;font-size:12px;font-weight:700;color:#1e293b}.hierarchy-percent{width:50px;text-align:right;font-size:11px;color:#64748b}.hierarchy-children{background:#f8fafc;border-top:1px dashed #e2e8f0;padding:8px}.hierarchy-child{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:6px}.hierarchy-child:hover{background:#f1f5f9}.hierarchy-child-name{flex:1;display:flex;align-items:center;gap:8px;font-size:12px;color:#475569}.child-indent{width:16px}.hierarchy-child-meta{width:50px}.hierarchy-child-meta span{font-size:11px;color:#94a3b8}.hierarchy-child-score{width:60px;text-align:right;font-size:12px;font-weight:600;color:#334155}.hierarchy-child-percent{width:50px;text-align:right;font-size:11px;color:#94a3b8}.risk-distribution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.risk-dist-card{display:flex;align-items:center;gap:10px;padding:12px;background:#fff;border-radius:8px;border:1px solid #f1f5f9}.risk-dist-card.high{border-left:3px solid #ef4444}.risk-dist-card.medium{border-left:3px solid #f59e0b}.risk-dist-card.low{border-left:3px solid #10b981}.risk-icon{font-size:16px}.risk-name{font-weight:700;font-size:12px;color:#334155}.risk-score{font-size:14px;font-weight:800;color:#1e293b}.risk-count{font-size:11px;color:#64748b;background:#f1f5f9;padding:3px 8px;border-radius:4px}.score-distribution-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.overview-main-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;display:flex;align-items:center;gap:16px}.stat-card.primary{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#bfdbfe}.stat-icon{width:48px;height:48px;background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px}.stat-info .label{font-size:13px;color:#64748b;display:block}.stat-info .value{font-size:24px;font-weight:800;color:#1e293b}.stat-info .value.danger{color:#ef4444}.distribution-section{background:#f8fafc;border-radius:20px;padding:24px;border:1px solid #e2e8f0}.distribution-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.distribution-header h4{margin:0;font-size:15px;font-weight:700;color:#334155}.distribution-select{height:36px;padding:0 12px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;font-size:13px;font-weight:600;color:#475569;cursor:pointer}.distribution-select:hover{border-color:#3b82f6}.distribution-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.distribution-grid.l2-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.dist-card.l2-card{padding:12px}.dist-card.l2-card .dist-progress-bg.small{height:4px;margin-top:8px}.dist-card.l2-card .dist-footer{margin-top:6px}.l2-parent{margin-top:8px;padding-top:8px;border-top:1px dashed #f1f5f9}.l2-parent-label{font-size:10px;color:#94a3b8}.dist-card{background:#fff;border-radius:12px;padding:16px;border:1px solid #f1f5f9}.dist-header{display:flex;justify-content:space-between;margin-bottom:12px}.dist-name{font-weight:700;font-size:14px;color:#334155}.dist-count{font-size:11px;background:#f1f5f9;padding:2px 6px;border-radius:4px;color:#64748b}.dist-progress-bg{height:6px;background:#f1f5f9;border-radius:3px;overflow:hidden}.dist-progress-fill{height:100%;background:#3b82f6}.dist-footer{display:flex;justify-content:space-between;margin-top:8px;font-size:11px;color:#64748b}.dist-score{font-weight:600}.dist-percent{color:#94a3b8}.risk-distribution-grid{display:flex;flex-direction:row;gap:12px}.risk-dist-card{flex:1;display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border-radius:12px;border:1px solid #f1f5f9;transition:all .2s}.risk-dist-card:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.risk-dist-card.high{border-left:4px solid #ef4444}.risk-dist-card.medium{border-left:4px solid #f59e0b}.risk-dist-card.low{border-left:4px solid #10b981}.risk-dist-card.已完成{border-left:4px solid #3b82f6}.risk-dist-card.未完成{border-left:4px solid #94a3b8}.risk-icon{font-size:20px}.risk-info{flex:1;display:flex;flex-direction:column}.risk-name{font-weight:700;font-size:13px;color:#334155}.risk-score{font-size:18px;font-weight:800;color:#1e293b}.risk-count{font-size:12px;color:#64748b;background:#f1f5f9;padding:4px 10px;border-radius:6px;white-space:nowrap}.indicators-table-container{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:visible;box-shadow:0 2px 4px #00000008}.table-scroll-wrapper{overflow-x:auto;overflow-y:visible;max-width:100%}.table-toolbar{display:flex;align-items:center;gap:16px;padding:12px 16px;border-bottom:1px solid #f1f5f9;background:#f8fafc}.table-hint{font-size:12px;color:#94a3b8}.table-scroll-wrapper{overflow-x:auto;overflow-y:visible;max-width:100%;position:relative}.table-scroll-wrapper::-webkit-scrollbar{height:8px}.table-scroll-wrapper::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.table-scroll-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.table-scroll-wrapper::-webkit-scrollbar-thumb:hover{background:#94a3b8}.indicators-table{width:max-content;min-width:100%;border-collapse:collapse}.indicators-table td{padding:10px 12px;border-bottom:1px solid #f8fafc;border-right:1px solid #f8fafc;font-size:13px;color:#334155;white-space:normal;word-wrap:break-word;max-width:250px;vertical-align:top}.indicators-table th{background:#f8fafc;padding:10px 12px;font-size:12px;font-weight:700;color:#64748b;border-bottom:2px solid #f1f5f9;border-right:1px solid #f1f5f9;white-space:nowrap}.indicators-table th:last-child{border-right:none}.indicators-table td{padding:10px 12px;border-bottom:1px solid #f8fafc;border-right:1px solid #f8fafc;font-size:13px;color:#334155;white-space:normal;word-break:break-word}.indicators-table td:last-child{border-right:none}.indicators-table tbody tr:hover{background:#f8fafc}.th-seq{width:60px!important}.td-seq{width:60px!important;text-align:center;font-family:JetBrains Mono,monospace;font-weight:700;color:#64748b}.th-level,.td-level{width:120px!important}.th-content,.td-content{width:auto!important;min-width:200px}.content-ellipsis{white-space:pre-wrap;word-break:break-word;line-height:1.5}.th-score{width:80px!important;text-align:center}.td-score{width:80px!important;text-align:center;font-weight:700;color:#1e293b}.th-actions{width:130px!important}.td-actions{width:130px!important;white-space:nowrap;display:flex;gap:4px}.btn-action-mini{height:26px;padding:0 10px;border:1px solid #e2e8f0;border-radius:5px;background:#fff;color:#475569;font-size:12px;font-weight:600;cursor:pointer;transition:all .15s}.btn-action-mini:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.btn-action-mini.danger:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;border-radius:16px;padding:24px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 40px #00000026}.modal.large-modal{max-width:700px}.modal.edit-indicator-modal{max-width:800px;padding:0}.modal.edit-indicator-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #f1f5f9;background:#f8fafc;border-radius:16px 16px 0 0}.modal.edit-indicator-modal .modal-header h3{margin:0;font-size:18px;font-weight:700;color:#1e293b}.modal-close{width:32px;height:32px;border:none;background:transparent;color:#94a3b8;font-size:24px;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center}.modal-close:hover{background:#f1f5f9;color:#475569}.modal.edit-indicator-modal .modal-body{padding:20px 24px;max-height:calc(90vh - 80px);overflow-y:auto}.edit-section{margin-bottom:20px}.edit-section-title{font-size:13px;font-weight:700;color:#334155;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.edit-row{display:flex;gap:12px;margin-bottom:12px}.edit-row.levels-row{flex-wrap:wrap}.edit-field{flex:1;min-width:120px}.edit-field.flex-2{flex:2}.edit-field label{display:block;font-size:12px;font-weight:600;color:#64748b;margin-bottom:6px}.edit-field input,.edit-field textarea,.edit-field select{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;color:#334155;background:#fff;transition:all .2s}.edit-field input:focus,.edit-field textarea:focus,.edit-field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.edit-field textarea{resize:vertical;min-height:60px}.edit-field select{cursor:pointer}.criteria-textarea{font-family:monospace;font-size:12px}.modal-actions{display:flex;gap:12px;justify-content:flex-end;padding:16px 24px;border-top:1px solid #f1f5f9;background:#f8fafc;border-radius:0 0 16px 16px}.cancel-btn{height:40px;padding:0 20px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#64748b;font-weight:600;cursor:pointer}.cancel-btn:hover{background:#f8fafc}.submit-btn{height:40px;padding:0 24px;border:none;border-radius:8px;background:#3b82f6;color:#fff;font-weight:600;cursor:pointer}.submit-btn:hover{background:#2563eb}.modal{background:#fff;border-radius:32px;padding:40px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040;position:relative;display:flex;flex-direction:column}.modal-body{flex:1;overflow-y:auto;padding-right:8px}.modal::-webkit-scrollbar,.modal-body::-webkit-scrollbar{width:6px}.modal::-webkit-scrollbar-thumb,.modal-body::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:3px}.large-modal{max-width:800px}.form-group textarea{width:100%;padding:16px;border-radius:12px;border:1px solid #e2e8f0;background:#f8fafc;font-family:inherit;font-size:14px;resize:vertical}.form-double-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.modal-header p{margin:4px 0 0;color:#64748b;font-weight:500}.modal-header h3{margin:0 0 24px;font-size:24px;font-weight:800}.form-group label{display:block;margin-bottom:8px;font-weight:700;color:#475569}.form-group input{width:100%;height:48px;padding:0 16px;border-radius:12px;border:1px solid #e2e8f0;background:#f8fafc}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px}.cancel-btn{background:none;border:none;font-weight:700;color:#64748b;cursor:pointer}.submit-btn{height:48px;padding:0 24px;background:#3b82f6;color:#fff;border:none;border-radius:12px;font-weight:700;cursor:pointer}.animate-fade-in{animation:fadeIn .4s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.criteria-text{font-size:13px;color:#475569;line-height:1.5;background:#f8fafc;padding:8px 12px;border-radius:8px;border:1px solid #e2e8f0;max-height:120px;overflow-y:auto;white-space:pre-wrap}.criteria-text::-webkit-scrollbar{width:4px}.criteria-text::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.criteria-textarea{font-family:monospace;font-size:13px!important;line-height:1.6}.text-muted{color:#94a3b8;font-style:italic}.item-desc-main{font-weight:700;color:#1e293b;margin-bottom:4px}.item-desc-sub{font-size:12px;color:#64748b;background:#f1f5f9;padding:4px 8px;border-radius:4px;display:block;margin-top:6px;line-height:1.4}.item-requirements{font-size:13px;color:#475569;margin:4px 0;line-height:1.5}.item-requirements strong{color:#3b82f6}.criteria-list{margin:0;padding:0;list-style:none}.criteria-list li{display:flex;gap:6px;font-size:13px;color:#475569;line-height:1.5;margin-bottom:6px}.criteria-list li .dot{color:#3b82f6;font-weight:800}.criteria-list li .text{flex:1}.action-buttons{display:flex;gap:6px;align-items:center}.action-btn{display:flex;align-items:center;gap:4px;padding:6px 10px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;cursor:pointer;font-size:12px;font-weight:600;transition:all .2s}.action-btn:hover{background:#f8fafc;border-color:#cbd5e1}.action-btn.edit{border-color:#dbeafe;color:#3b82f6}.action-btn.edit:hover{background:#eff6ff;border-color:#3b82f6}.action-btn.danger{border-color:#fee2e2;color:#ef4444}.action-btn.danger:hover{background:#fef2f2;border-color:#fecaca}.action-icon{font-size:14px;line-height:1}.action-text{display:inline}@media(max-width:1200px){.action-text{display:none}.action-btn{padding:6px 8px}}.profile{max-width:900px;margin:0 auto;padding:32px 24px}.profile-header{text-align:center;margin-bottom:40px}.profile-header h1{margin:0 0 12px;font-size:32px;font-weight:800;color:#0f172a;letter-spacing:-.025em}.profile-header p{color:#64748b;font-size:17px;max-width:600px;margin:0 auto;line-height:1.6}.profile-tabs{display:flex;background:#f1f5f9;border-radius:14px;padding:6px;margin-bottom:32px;box-shadow:inset 0 2px 4px #0000000d}.tab-btn{flex:1;padding:12px 20px;border:none;background:transparent;color:#64748b;font-size:15px;font-weight:600;border-radius:10px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1)}.tab-btn:hover{color:#334155}.tab-btn.active{background:#fff;color:#3b82f6;box-shadow:0 4px 12px #00000014}.profile-content{background:#fff;border-radius:20px;padding:40px;box-shadow:0 10px 25px -5px #0000000d,0 8px 10px -6px #0000000d}.message{padding:16px 20px;border-radius:12px;margin-bottom:32px;font-size:15px;font-weight:600;display:flex;align-items:center;gap:12px}.message.success{background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0}.message.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.profile-section{width:100%}.profile-section h2{margin:0 0 28px;font-size:22px;font-weight:700;color:#1e293b;display:flex;align-items:center;gap:10px}.profile-section h2:before{content:"";display:inline-block;width:4px;height:20px;background:#3b82f6;border-radius:4px}.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:24px}.form-group{margin-bottom:24px}.form-group label{display:block;margin-bottom:8px;color:#475569;font-size:14px;font-weight:600}.form-group input{width:100%;padding:12px 16px;border:1px solid #e2e8f0;border-radius:12px;font-size:15px;font-family:inherit;color:#1e293b;background:#f8fafc;transition:all .2s}.form-group input:focus{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 4px #3b82f61a}.signature-collection-profile{margin:32px 0;padding:24px;background:#f8fafc;border-radius:16px;border:1px dashed #cbd5e1}.signature-collection-profile label:first-child{display:block;margin-bottom:16px;font-weight:700;color:#1e293b;font-size:15px}.sig-upload-box{width:100%;min-height:180px;display:flex;align-items:center;justify-content:center}.sig-placeholder-box{width:100%;height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border-radius:12px;cursor:pointer;transition:all .2s;border:1px solid #e2e8f0}.sig-placeholder-box:hover{border-color:#3b82f6;background:#f0f7ff}.sig-placeholder-box span{font-size:15px;color:#64748b;font-weight:500}.sig-preview-centered{position:relative;background:#fff;padding:20px;border-radius:12px;box-shadow:0 4px 12px #0000000d;display:flex;flex-direction:column;align-items:center;gap:12px}.sig-preview-centered img{max-width:260px;max-height:120px;object-fit:contain}.btn-clear-sig{padding:6px 16px;background:#fee2e2;color:#ef4444;border:1px solid #fecaca;border-radius:20px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}.btn-clear-sig:hover{background:#fecaca}.form-info-footer{margin-top:40px;padding-top:32px;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.role-display{display:flex;align-items:center;gap:12px;color:#64748b;font-size:15px;font-weight:500}.role-tag{padding:4px 12px;background:#eff6ff;color:#1d4ed8;border-radius:20px;font-size:13px;font-weight:700;border:1px solid #dbeafe}.submit-btn-primary{padding:14px 32px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #2563eb33}.submit-btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #2563eb4d}.submit-btn-primary:active:not(:disabled){transform:translateY(0)}.submit-btn-primary:disabled{background:#94a3b8;cursor:not-allowed;box-shadow:none}.security-dashboard{display:grid;grid-template-columns:1.5fr 1fr;gap:40px}.meta-card{background:#f8fafc;padding:24px;border-radius:16px;border:1px solid #e2e8f0}.meta-row{display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.meta-row:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.meta-row .label{color:#64748b;font-size:14px}.meta-row .val{color:#1e293b;font-weight:600;font-size:14px}.status-ok{color:#10b981!important}@media(max-width:850px){.form-grid-2,.security-dashboard{grid-template-columns:1fr;gap:24px}.profile-content{padding:24px}.form-info-footer{flex-direction:column;gap:24px;align-items:stretch;text-align:center}.role-display{justify-content:center}}.compliance-system{padding:32px;background-color:#f8fafc;min-height:calc(100vh - 64px);color:#1e293b}.system-header{text-align:left;margin-bottom:48px;padding:48px;background:linear-gradient(135deg,#1e3a8a,#3b82f6);border-radius:24px;color:#fff;box-shadow:0 20px 25px -5px #1e3a8a33;position:relative;overflow:hidden}.system-header:after{content:"";position:absolute;top:-50%;right:-10%;width:300px;height:300px;background:#ffffff1a;border-radius:50%}.system-header h1{margin:0 0 12px;font-size:36px;font-weight:800;letter-spacing:-.5px}.system-header p{margin:0;font-size:18px;opacity:.85;max-width:800px}.system-actions{margin-bottom:48px}.system-actions h2{font-size:20px;font-weight:700;margin-bottom:24px;color:#334155}.actions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.action-card{background:#fff;padding:32px 24px;border-radius:20px;text-decoration:none;color:inherit;transition:all .3s cubic-bezier(.4,0,.2,1);border:1px solid #e2e8f0;display:flex;flex-direction:column;align-items:center;text-align:center}.action-card:hover:not(.disabled){background:#eff6ff;border-color:#3b82f6;transform:translateY(-5px)}.action-card.disabled{opacity:.6;cursor:not-allowed;background:#f8fafc;border-color:#cbd5e1}.action-card.disabled .action-icon{background:#e2e8f0}.action-card.disabled h4{color:#94a3b8}.action-card.disabled p{color:#cbd5e1}.action-icon{font-size:40px;margin-bottom:16px;background:#f1f5f9;width:80px;height:80px;display:flex;align-items:center;justify-content:center;border-radius:20px;transition:all .3s}.action-card:hover .action-icon{background:#fff;transform:scale(1.1) rotate(5deg)}.action-card h4{margin:0 0 8px;font-size:18px;font-weight:700}.action-card p{margin:0;font-size:14px;color:#64748b}.system-footer{text-align:center;padding:40px;color:#94a3b8;font-size:14px;line-height:1.6}@media(max-width:1024px){.actions-grid{grid-template-columns:repeat(2,1fr)}}.main-layout{display:flex;flex-direction:row;min-height:100vh;background-color:#f1f5f9}.role-notice{padding:8px 16px;font-size:13px;font-weight:500;display:flex;align-items:center;gap:6px;position:fixed;top:0;left:0;right:0;z-index:1000}.role-notice.admin{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff}.role-notice.expert{background:linear-gradient(135deg,#059669,#047857);color:#fff}.role-notice-icon{font-size:14px}.role-notice-text{flex:1}.sidebar{width:260px;background-color:#0f172a;color:#fff;display:flex;flex-direction:column;flex-shrink:0;position:sticky;top:0;height:100vh;transition:all .3s cubic-bezier(.4,0,.2,1)}.main-layout.sidebar-collapsed .sidebar{width:72px}.main-layout.sidebar-collapsed .brand-text,.main-layout.sidebar-collapsed .nav-label,.main-layout.sidebar-collapsed .section-label,.main-layout.sidebar-collapsed .user-info,.main-layout.sidebar-collapsed .mini-role-badge span{display:none!important}.main-layout.sidebar-collapsed .sidebar-brand{padding:20px 0;justify-content:center}.main-layout.sidebar-collapsed .brand-inner{display:none!important}.main-layout.sidebar-collapsed .sidebar-collapse-btn{margin:0}.main-layout.sidebar-collapsed .nav-item{justify-content:center;padding:10px 0;margin:2px 8px}.main-layout.sidebar-collapsed .nav-icon{margin-right:0}.main-layout.sidebar-collapsed .user-profile-card{padding:8px;justify-content:center}.main-layout.sidebar-collapsed .mini-role-badge{padding:6px}.main-layout.sidebar-collapsed .main-content-layout{padding-left:40px}.sidebar-brand{padding:20px 20px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid rgba(255,255,255,.06);margin:0 12px}.brand-inner{display:flex!important;align-items:center;gap:10px}.brand-icon{width:34px;height:34px;background:linear-gradient(135deg,#3b82f64d,#3b82f61a);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:18px}.sidebar-collapse-btn{background:transparent;border:none;color:#64748b;width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.sidebar-collapse-btn:hover{background:#ffffff14;color:#cbd5e1}.brand-text h1{font-size:16px;margin:0;font-weight:700;color:#f1f5f9}.brand-text p{font-size:9px;margin:0;color:#64748b;text-transform:uppercase;letter-spacing:.8px}.sidebar-nav{flex:1;overflow-y:auto;padding:8px 0}.sidebar-section{margin-bottom:4px}.section-label{font-size:11px;font-weight:700;color:#475569;padding:16px 24px 8px;text-transform:uppercase;letter-spacing:1px}.sub-menu{display:flex;flex-direction:column;gap:1px;padding:0 8px}.nav-item-container{display:flex;flex-direction:column}.nav-item{display:flex;align-items:center;gap:10px;padding:9px 12px;margin:0;border-radius:8px;cursor:pointer;transition:all .15s ease;color:#94a3b8;font-size:14px;font-weight:500;position:relative}.nav-item:hover{background:#ffffff0f;color:#e2e8f0}.nav-item.active{background:#3b82f61f;color:#93c5fd;font-weight:600}.nav-item.active:before{content:"";position:absolute;left:-8px;top:6px;bottom:6px;width:3px;background:#3b82f6;border-radius:0 3px 3px 0}.shield-logo{color:#60a5fa}.nav-icon{font-size:18px;width:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-footer{padding:12px;display:flex;flex-direction:column;gap:8px;border-top:1px solid rgba(255,255,255,.06);margin:0 12px}.mini-role-badge{font-size:11px;padding:5px 10px;border-radius:6px;display:flex;align-items:center;gap:6px;justify-content:center;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.mini-role-badge.admin{background:#3b82f626;color:#60a5fa}.mini-role-badge.expert{background:#10b98126;color:#34d399}.user-profile-card{background:#00000026;border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:10px}.avatar-circle{width:32px;height:32px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;color:#fff;flex-shrink:0}.user-info{flex:1;min-width:0}.user-info .name{font-size:13px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e2e8f0}.user-info .role-tag{font-size:10px;color:#64748b;display:block}.logout-btn{background:none;border:none;color:#475569;cursor:pointer;padding:4px;font-size:16px;transition:color .2s;display:flex;align-items:center;justify-content:center;border-radius:4px}.logout-btn:hover{color:#ef4444;background:#ef44441a}.level-1 .nav-item{padding-left:42px;font-size:14px}.chevron-icon{margin-left:auto;opacity:.4;transition:opacity .2s;flex-shrink:0;display:flex}.nav-item:hover .chevron-icon{opacity:.8}.main-content-layout{flex-grow:1;padding:20px 40px 32px;overflow-y:auto;position:relative}.no-session-message{display:flex;flex-direction:column;align-items:center;justify-content:center;height:60vh;text-align:center;background:#fff;border-radius:12px;padding:40px;box-shadow:0 4px 12px #0000001a}.no-session-message h3{font-size:24px;font-weight:600;color:#333;margin:0 0 16px}.no-session-message p{font-size:16px;color:#666;margin:0 0 32px;line-height:1.5}.nav-btn{background:#007aff;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.nav-btn:hover{background:#0056cc;transform:translateY(-1px)}@media(max-width:1024px){.sidebar{width:220px}.main-content-layout{padding:24px}}:root{--primary: #2563eb;--primary-hover: #1d4ed8;--bg-main: #f8fafc;--bg-card: #ffffff;--text-main: #1e293b;--text-muted: #64748b;--border: #e2e8f0;--accent: #f1f5f9;--success: #22c55e;--warning: #f59e0b;--danger: #ef4444;--radius: 8px;--shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#f1f5f9;color:var(--text-main);line-height:1.5;-webkit-font-smoothing:antialiased}#root{min-height:100vh}button{cursor:pointer;border:none;background:none;font-family:inherit}input,textarea,select{font-family:inherit;font-size:14px}.premium-card{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--border);transition:box-shadow .2s ease-in-out}.premium-card:hover{box-shadow:var(--shadow-lg)}.btn-primary{background:var(--primary);color:#fff;padding:8px 16px;border-radius:var(--radius);font-weight:500;transition:background .2s}.btn-primary:hover{background:var(--primary-hover)}.numeric-value{font-family:JetBrains Mono,Roboto Mono,Menlo,Monaco,Consolas,monospace;text-align:right;display:inline-block;min-width:40px}td.numeric-value{display:table-cell}.panel-tabs{display:flex;gap:8px;padding:12px 16px;border-bottom:1px solid #e5e7eb;flex-shrink:0}.scoring-content{flex:1;overflow:hidden;display:flex;flex-direction:column}.panel-tabs button{padding:6px 12px;border:none;background:none;cursor:pointer;font-size:14px;color:#6b7280;border-bottom:2px solid transparent}.panel-tabs button.active{color:#2563eb;border-bottom-color:#2563eb}.history-rectifications{padding:16px;overflow-y:auto}.history-rect-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px;margin-bottom:12px}.rect-header{display:flex;justify-content:space-between;margin-bottom:8px}.rect-code{font-weight:600;color:#374151}.rect-status{padding:2px 8px;border-radius:4px;font-size:12px}.status-pending{background:#fef2f2;color:#ef4444}.status-in-progress{background:#fffbeb;color:#f59e0b}.status-completed{background:#eff6ff;color:#3b82f6}.status-returned{background:#fef2f2;color:#dc2626}.rect-desc{color:#4b5563;margin:8px 0;font-size:14px}.rect-meta{display:flex;justify-content:space-between;font-size:12px;color:#6b7280;margin-bottom:12px}.rect-actions{display:flex;gap:8px}.btn-verify{flex:1;padding:8px;background:#10b981;color:#fff;border:none;border-radius:6px;cursor:pointer}.btn-return{flex:1;padding:8px;background:#ef4444;color:#fff;border:none;border-radius:6px;cursor:pointer}.empty-hint{text-align:center;color:#9ca3af;padding:32px}
