@import"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css";html,body{margin:0;padding:0;height:100%}#root{height:100%}.ant-table-tbody>tr.row-low-score{background-color:#fff1f0!important}.ant-table-tbody>tr.row-low-score:hover{background-color:#ffccc7!important}.ant-table-tbody>tr.row-high-score{background-color:#f6ffed!important}.ant-table-tbody>tr.row-high-score:hover{background-color:#d9f7be!important}*{margin:0;padding:0;box-sizing:border-box;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.sales-leads-page{background:#eef3f9;padding:1.2rem;height:100%;min-height:70vh}.sales-workspace{width:100%;max-width:1600px;height:100%;background:#fff;border-radius:36px;box-shadow:0 25px 50px -12px #001e3c40;display:flex;overflow:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border:1px solid rgba(255,255,255,.5);margin:0 auto}.left-panel{width:42%;background:#f8fcff;border-right:1px solid #d9e6f5;display:flex;flex-direction:column;overflow:hidden}.panel-header{padding:1.5rem 1.8rem .8rem}.panel-header h2{font-size:1.5rem;font-weight:600;color:#103450;display:flex;align-items:center;gap:.5rem;margin-bottom:1.2rem}.panel-header h2 i{background:#ddebff;padding:.4rem;border-radius:14px;color:#1d6fbe}.stats-row{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:1.2rem}.stat-pill{background:#fff;border:1px solid #cbdef2;padding:.3rem 1.1rem;border-radius:40px;font-size:.8rem;font-weight:600;color:#1e4d78;display:flex;align-items:center;gap:.3rem}.stat-pill i{color:#3271b0}.search-box{background:#fff;border-radius:60px;padding:.15rem .15rem .15rem 1.2rem;display:flex;align-items:center;border:1px solid #c6daf0;margin-bottom:1.2rem;gap:.3rem}.search-box i{color:#6187ab;font-size:.9rem}.search-box input{border:none;padding:.6rem .5rem;flex:1;outline:none;background:transparent;font-size:.9rem}.search-box button{background:#1b5a9c;border:none;color:#fff;padding:.4rem 1.5rem;border-radius:60px;font-weight:500;font-size:.8rem;cursor:pointer;white-space:nowrap}.search-box .btn-new-lead{background:#1a855b;color:#fff;border:none;padding:.4rem 1.2rem;border-radius:60px;font-weight:600;display:flex;align-items:center;gap:.4rem;cursor:pointer;white-space:nowrap;font-size:.85rem;transition:all .2s}.search-box .btn-new-lead:hover{background:#147a52;transform:translateY(-1px)}.search-box .btn-new-lead:disabled{background:#8fb8a6;cursor:not-allowed;transform:none}.lead-list{flex:1;overflow-y:auto;padding:0 1.5rem 1.5rem;display:flex;flex-direction:column;gap:.7rem}.lead-item{background:#fff;border-radius:22px;padding:1rem 1.2rem;border:1px solid #d3e3f5;box-shadow:0 4px 10px #001e3205;cursor:pointer;transition:all .15s;display:flex;flex-direction:column;gap:.4rem;position:relative}.lead-item:hover{border-color:#87b2da;background:#f6fdff;transform:translateY(-1px)}.lead-item.selected{border:2px solid #1b5a9c;background:#ecf5ff;box-shadow:0 6px 14px #145aa01f}.btn-convert-order-item{position:absolute;top:.5rem;left:.5rem;width:28px;height:28px;border-radius:50%;border:none;background:transparent;color:#1b5a9c;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .2s;z-index:10}.lead-item:hover .btn-convert-order-item{opacity:1}.btn-convert-order-item:hover{background:#e3f2fd;color:#0d47a1}.btn-delete-lead{position:absolute;top:.5rem;right:.5rem;width:28px;height:28px;border-radius:50%;border:none;background:transparent;color:#9ab;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .2s;z-index:10}.lead-item:hover .btn-delete-lead{opacity:1}.btn-delete-lead:hover{background:#ffebee;color:#c62828}.item-row1{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.item-row1 .company{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.item-row1 .status-badge{flex-shrink:0;white-space:nowrap}.company{font-weight:700;font-size:1.1rem;color:#113853;display:flex;align-items:center;gap:5px}.company i{color:#3573b0;font-size:.9rem}.status-badge{font-size:.65rem;padding:.2rem .9rem;border-radius:40px;font-weight:700;text-transform:uppercase}.status-new{background:#def;color:#1460a0}.status-contacted{background:#ffefcf;color:#9e6f0b}.status-qualified{background:#f7d9db;color:#b2474d}.status-overdue{background:#d9f0e5;color:#197550;animation:flash-green 1.5s ease-in-out infinite}@keyframes flash-green{0%,to{background:#d9f0e5;font-size:.65rem}50%{background:#4ade80;color:#fff;font-size:calc(.65rem + 3px);font-weight:700;box-shadow:0 0 10px #4ade8080}}.item-row2{display:flex;align-items:center;gap:1.2rem;font-size:.85rem;color:#3f6790;margin-top:.2rem}.contact-info{display:flex;align-items:center;gap:.3rem}.contact-info i{width:16px;color:#527ea8}.followup-date{font-size:.75rem;background:#e9f2fc;padding:.2rem .8rem;border-radius:30px;color:#20548a;display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap}.right-panel{width:58%;background:#fff;display:flex;flex-direction:column;overflow:hidden}.right-header{padding:1.8rem 2rem 1rem;border-bottom:1px solid #e1effa;display:flex;align-items:center;justify-content:space-between}.right-header h3{font-size:1.3rem;font-weight:600;color:#153e5c}.right-header h3 i{color:#1b5a9c;margin-right:.4rem}.lead-actions{display:flex;gap:.3rem}.icon-btn{background:transparent;border:none;width:36px;height:36px;border-radius:50%;color:#4776a8;cursor:pointer;transition:.1s}.icon-btn:hover{background:#eaf3fd;color:#0f3d64}.detail-area{flex:1;overflow-y:auto;padding:1.5rem 2rem 2rem}.detail-card{background:#f9fdff;border-radius:30px;padding:1.6rem;border:1px solid #d2e3f5;margin-bottom:2rem}.detail-row{display:flex;margin-bottom:1rem;align-items:center}.detail-label{width:80px;color:#426e98;font-weight:500;font-size:.9rem}.detail-value{color:#113853;font-weight:500;display:flex;align-items:center;gap:.5rem}.followup-title{display:flex;align-items:center;gap:.5rem;font-weight:700;color:#143e5c;margin-bottom:1.2rem}.followup-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.followup-item{display:flex;gap:1rem;cursor:pointer;transition:all .15s}.followup-item:hover{opacity:.9}.followup-item.editing{cursor:default}.followup-bullet{width:30px;display:flex;flex-direction:column;align-items:center}.dot{width:10px;height:10px;border-radius:50%;background:#1b5a9c;border:2px solid #c7defa;margin-top:5px}.followup-item:not(:last-child) .line{width:2px;background:#c7daf0;flex:1;min-height:25px;margin-top:4px}.followup-content{background:#f5faff;border-radius:18px;padding:1rem 1.4rem;flex:1;border:1px solid #d6e5f8}.followup-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.4rem}.followup-type{font-weight:700;color:#113853}.followup-actions{display:flex;align-items:center;gap:.5rem}.followup-date{font-size:.8rem;color:#6188ae}.btn-delete-followup{background:transparent;border:none;width:26px;height:26px;border-radius:50%;color:#9ab;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .2s}.followup-item:hover .btn-delete-followup{opacity:1}.btn-delete-followup:hover{background:#ffebee;color:#c62828}.followup-content.editing{background:#f1f8ff;border:2px solid #1b5a9c}.followup-edit-form{display:flex;flex-direction:column;gap:.6rem}.followup-edit-form .edit-row{display:flex;gap:.5rem}.followup-edit-form select,.followup-edit-form input[type=date]{padding:.4rem .6rem;border:1px solid #c6daef;border-radius:8px;background:#fff;font-size:.85rem;outline:none}.followup-edit-form select:focus,.followup-edit-form input[type=date]:focus{border-color:#1b5a9c;box-shadow:0 0 0 2px #1b5a9c1a}.followup-edit-form textarea{padding:.5rem .8rem;border:1px solid #c6daef;border-radius:10px;background:#fff;font-size:.9rem;outline:none;resize:vertical;font-family:inherit}.followup-edit-form textarea:focus{border-color:#1b5a9c;box-shadow:0 0 0 2px #1b5a9c1a}.followup-edit-form .edit-actions-row{display:flex;gap:.4rem}.followup-note{color:#1f4970;line-height:1.5;word-break:break-all}.followup-link{color:#1b5a9c;text-decoration:underline;word-break:break-all;transition:color .2s}.followup-link:hover{color:#0f4373;text-decoration:underline}.add-followup-panel{background:#f1f8ff;border-radius:30px;padding:1.4rem 1.6rem;border:1px solid #cde0f2}.add-followup-panel h4{font-size:1rem;color:#113853;margin-bottom:1rem;display:flex;align-items:center;gap:.4rem}.followup-form{display:flex;flex-direction:column;gap:1rem}.form-row{display:flex;gap:.8rem;flex-wrap:wrap;position:relative}.followup-form .form-row>div{min-width:180px;flex:1}.followup-form .form-row input[type=text]{width:100%}.quotation-file-upload{display:flex;align-items:center;gap:.5rem;min-width:180px;flex:1}.quotation-file-upload input[type=file]{display:none}.file-upload-label{flex:1;cursor:pointer}.file-upload-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.8rem 1.2rem;background:#fff;border:1px dashed #b9d3ef;border-radius:50px;color:#517fa5;font-size:.9rem;transition:all .2s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-upload-btn:hover{border-color:#1b5a9c;color:#1b5a9c;background:#f1f8ff}.file-upload-btn i{font-size:.9rem}.btn-clear-file{background:#ffebee;border:none;color:#c62828;width:32px;height:32px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.btn-clear-file:hover{background:#ffcdd2}.form-row input,.form-row select{flex:1 1 180px;padding:.8rem 1.2rem;border:none;border-radius:50px;background:#fff;outline:1px solid #b9d3ef;font-size:.9rem}.form-row input:focus,.form-row select:focus{outline:2px solid #1b5a9c}.btn-save-followup{background:#1b5a9c;color:#fff;border:none;padding:.8rem 2rem;border-radius:50px;font-weight:600;display:flex;align-items:center;gap:.5rem;justify-content:center;cursor:pointer;align-self:flex-start}.btn-save-followup:hover{background:#0f4373}.empty-detail{color:#6f95bc;text-align:center;padding:4rem 2rem;background:#f5fafd;border-radius:40px}.new-lead-btn{background:#1a855b;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:40px;font-weight:600;display:flex;align-items:center;gap:.5rem;cursor:pointer;white-space:nowrap;font-size:.9rem}.new-lead-btn i{font-size:.9rem}.new-lead-editor{background:linear-gradient(135deg,#f1f8ff,#e8f4fc);border:2px solid #1b5a9c;border-radius:20px;margin:0 1.5rem 1rem;padding:1.2rem 1.5rem;box-shadow:0 6px 20px #1b5a9c26}.new-lead-editor-title{font-weight:700;color:#0b2f4e;font-size:1rem;margin-bottom:1rem;display:flex;align-items:center;gap:.4rem}.new-lead-editor-title i{color:#1a855b}.new-lead-editor-form{display:flex;flex-wrap:wrap;gap:.8rem;align-items:flex-end}.form-field{display:flex;flex-direction:column;gap:.3rem}.form-field label{font-size:.8rem;color:#426e98;font-weight:500;white-space:nowrap}.form-field input,.form-field select{padding:.5rem .8rem;border:1px solid #c6daef;border-radius:10px;outline:none;background:#fff;font-size:.9rem;min-width:140px}.form-field input:focus,.form-field select:focus{border-color:#1b5a9c;box-shadow:0 0 0 3px #1b5a9c1a}.form-field.form-actions{flex-direction:row;gap:.5rem;margin-left:auto}.lead-item.editing{background:#f1f8ff;border:2px solid #1b5a9c;box-shadow:0 6px 14px #1b5a9c26}.lead-item.editing .edit-form{display:flex;flex-direction:column;gap:.6rem}.edit-field{display:flex;align-items:center;gap:.5rem}.edit-field label{font-size:.8rem;color:#426e98;font-weight:500;min-width:70px;text-align:right}.edit-field input,.edit-field select{flex:1;padding:.5rem .8rem;border:1px solid #c6daef;border-radius:10px;outline:none;background:#fff;font-size:.85rem}.edit-field input:focus,.edit-field select:focus{border-color:#1b5a9c;box-shadow:0 0 0 2px #1b5a9c1a}.edit-actions{display:flex;gap:.4rem;margin-top:.3rem;padding-left:75px}.btn-save-small{background:#1a855b;border:none;color:#fff;padding:.4rem 1rem;border-radius:20px;font-weight:600;cursor:pointer;font-size:.8rem;display:flex;align-items:center;justify-content:center;gap:.3rem}.btn-save-small:hover{background:#147a52}.btn-cancel-small{background:#e8f0f8;border:1px solid #c6daef;color:#426e98;padding:.4rem 1rem;border-radius:20px;font-weight:600;cursor:pointer;font-size:.8rem;display:flex;align-items:center;justify-content:center;gap:.3rem}.btn-cancel-small:hover{background:#dde8f2}.btn-save{background:#1a855b;border:none;color:#fff;padding:.5rem 1.2rem;border-radius:20px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.3rem;font-size:.85rem}.btn-save:hover{background:#147a52}.btn-cancel{background:#e8f0f8;border:1px solid #c6daef;color:#426e98;padding:.5rem 1.2rem;border-radius:20px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.3rem;font-size:.85rem}.btn-cancel:hover{background:#dde8f2}.autocomplete-dropdown{background:#fff;border:1px solid #c6daef;border-radius:10px;box-shadow:0 8px 24px #001e3c33;max-height:200px;overflow-y:auto}.autocomplete-dropdown-portal{animation:dropdownFadeIn .15s ease-out}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.autocomplete-item{padding:.6rem .8rem;cursor:pointer;font-size:.9rem;color:#1f4970;transition:background .15s}.autocomplete-item:hover{background:#f1f8ff}.autocomplete-item:not(:last-child){border-bottom:1px solid #e8f0f8}.followup-item.prerequisite{border-left:3px solid #1a855b}.followup-item.prerequisite .followup-content{background:#f0fdf4;border-color:#bbf7d0}.followup-item.prerequisite.completed .followup-content{background:#f3f4f6;border-color:#d1d5db;opacity:.7}.prerequisite-checkbox{width:18px;height:18px;margin-top:5px;cursor:pointer;accent-color:#1a855b}.followup-item.prerequisite.completed .followup-type{color:#6b7280}.followup-item.prerequisite .completed-badge{background:#1a855b;color:#fff;font-size:.65rem;padding:.15rem .5rem;border-radius:20px;margin-left:.5rem;font-weight:600}.followup-item.prerequisite.completed .completed-badge{background:#9ca3af}.followup-note.completed-text{text-decoration:line-through;color:#9ca3af}.followup-item .followup-type{display:flex;align-items:center;gap:.3rem}@media(max-width:900px){.sales-workspace{flex-direction:column}.left-panel,.right-panel{width:100%;height:50%}}.stat-pill-recycle{cursor:pointer;transition:all .2s}.stat-pill-recycle:hover{background:#e8f4fc;border-color:#3271b0;transform:translateY(-1px)}.recycle-bin-modal-overlay{position:fixed;inset:0;background:#001e3c80;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.recycle-bin-modal{background:#fff;border-radius:24px;width:90%;max-width:700px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 25px 50px -12px #001e3c59;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.recycle-bin-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e1effa}.recycle-bin-modal-header h3{font-size:1.3rem;font-weight:600;color:#153e5c;display:flex;align-items:center;gap:.5rem;margin:0}.recycle-bin-modal-header h3 i{color:#1b5a9c}.recycle-bin-close-btn{background:transparent;border:none;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#4776a8;transition:all .2s}.recycle-bin-close-btn:hover{background:#eaf3fd;color:#0f3d64}.recycle-bin-modal-body{flex:1;overflow-y:auto;padding:1.5rem 2rem}.recycle-bin-loading,.recycle-bin-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:#6f95bc;gap:1rem}.recycle-bin-loading i,.recycle-bin-empty i{font-size:3rem;opacity:.5}.recycle-bin-list{display:flex;flex-direction:column;gap:1rem}.recycle-bin-item{display:flex;justify-content:space-between;align-items:center;padding:1.2rem 1.5rem;background:#f8fcff;border-radius:16px;border:1px solid #d9e6f5;transition:all .2s}.recycle-bin-item:hover{border-color:#87b2da;box-shadow:0 4px 12px #145aa01a}.recycle-bin-item-info{flex:1}.recycle-bin-item-header{display:flex;align-items:center;gap:.8rem;margin-bottom:.5rem}.recycle-bin-company{font-weight:700;font-size:1.1rem;color:#113853;display:flex;align-items:center;gap:.4rem}.recycle-bin-company i{color:#3573b0;font-size:.9rem}.recycle-bin-item-meta{display:flex;align-items:center;gap:1.2rem;font-size:.85rem;color:#3f6790;margin-bottom:.3rem}.recycle-bin-item-meta span{display:flex;align-items:center;gap:.3rem}.recycle-bin-item-meta i{width:14px;color:#527ea8}.recycle-bin-item-dates{display:flex;align-items:center;gap:1rem;font-size:.75rem;color:#6188ae}.recycle-bin-item-actions{display:flex;gap:.5rem;margin-left:1rem}.btn-restore{background:#1a855b;color:#fff;border:none;padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.85rem;cursor:pointer;display:flex;align-items:center;gap:.4rem;transition:all .2s}.btn-restore:hover{background:#147a52;transform:translateY(-1px)}.btn-permanent-delete{background:transparent;border:1px solid #e0e0e0;color:#9ab;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.btn-permanent-delete:hover{background:#ffebee;border-color:#ffcdd2;color:#c62828}.recycle-bin-modal-footer{padding:1rem 2rem;border-top:1px solid #e1effa;display:flex;justify-content:flex-end}.recycle-bin-count{font-size:.85rem;color:#6188ae}*{margin:0;padding:0;box-sizing:border-box}.project-detail-wrapper{font-family:Microsoft YaHei,微软雅黑,Inter,sans-serif;color:#1e3a4d;line-height:1.5;background:#f0f5f9;min-height:calc(100vh - 64px)}.loading-container{display:flex;justify-content:center;align-items:center;min-height:400px}.detail-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;background:#fff;border-radius:12px;margin-bottom:24px;box-shadow:0 2px 8px #002d4114;border:1px solid #d6e4ec}.header-left{display:flex;align-items:center;gap:20px}.back-btn{background:linear-gradient(135deg,#0e6f94,#0a5a75);color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;font-size:15px;font-weight:500;display:flex;align-items:center;gap:8px;transition:all .2s}.back-btn:hover{background:linear-gradient(135deg,#0c5f7f,#084a61);transform:translateY(-1px);box-shadow:0 4px 12px #0e6f944d}.header-tags{display:flex;gap:12px;align-items:center}.status-badge{padding:6px 16px;border-radius:20px;font-size:14px;font-weight:600;text-transform:uppercase}.status-badge.status-won,.status-badge.status-completed{background:#e6f7ef;color:#1a7f37}.status-badge.status-in_progress{background:#e1f0ff;color:#0d47a1}.status-badge.status-lost{background:#ffebee;color:#c62828}.status-badge.status-draft{background:#f5f5f5;color:#616161}.status-badge.status-info_collected,.status-badge.status-quoted,.status-badge.status-bid_submitted{background:#fff3e0;color:#e65100}.tag-large,.tag-general{padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600}.tag-large{background:#d4edda;color:#155724}.tag-general{background:#cce5ff;color:#004085}.header-actions{display:flex;gap:12px}.btn-edit{background:#0e6f94;color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;font-size:15px;font-weight:500;display:flex;align-items:center;gap:8px;transition:all .2s}.btn-edit:hover{background:#0c5f7f;transform:translateY(-1px);box-shadow:0 4px 12px #0e6f944d}.btn-delete{background:#dc3545;color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;font-size:15px;font-weight:500;display:flex;align-items:center;gap:8px;transition:all .2s}.btn-delete:hover{background:#c82333;transform:translateY(-1px);box-shadow:0 4px 12px #dc35454d}.btn-ai-takeover{background:linear-gradient(135deg,#7c3aed,#6d28d9)!important;color:#fff!important;border:none!important;height:40px!important;padding:0 20px!important;border-radius:8px!important;cursor:pointer;font-size:15px;font-weight:500;display:inline-flex;align-items:center;gap:8px;transition:all .3s;box-shadow:0 4px 12px #7c3aed4d;margin-right:12px}.btn-ai-takeover:hover:not(:disabled){background:linear-gradient(135deg,#6d28d9,#5b21b6)!important;transform:translateY(-2px);box-shadow:0 6px 16px #7c3aed66}.btn-ai-takeover:active{transform:translateY(0)!important}.btn-ai-takeover .anticon{font-size:16px}.btn-ai-takeover[disabled]{opacity:.6;cursor:not-allowed}.detail-content{padding:0}.stat-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:28px}.stat-item{background:#fff;border-radius:12px;padding:24px;box-shadow:0 4px 12px #002d410d;border:1px solid #d6e4ec;border-left:6px solid #0e6f94;transition:all .2s}.stat-item:hover{transform:translateY(-2px);box-shadow:0 6px 16px #002d411a}.stat-label{font-size:15px;color:#2a607a;margin-bottom:12px;display:flex;align-items:center;gap:10px}.stat-label i{color:#1f7b9a;font-size:18px}.stat-number{font-size:36px;font-weight:700;color:#003952;margin-bottom:8px}.stat-unit{font-size:16px;color:#4e7b92;margin-left:6px}.stat-sub{font-size:14px;color:#256580;display:flex;align-items:center;gap:8px}.civil-master-card{background:linear-gradient(145deg,#004b6e,#003c59);border-radius:16px;padding:28px;color:#fff;margin-bottom:28px;border:1px solid #9ad4ff;box-shadow:0 8px 20px #00415a40}.civil-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.civil-title{font-size:22px;font-weight:700;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.civil-title i{font-size:28px}.badge-critical{background:#ffc107;color:#003952;padding:6px 20px;border-radius:30px;font-size:15px;font-weight:700;margin-left:12px}.civil-progress{font-size:32px;font-weight:800}.civil-dates{display:flex;justify-content:space-between;font-size:18px;font-weight:600;margin-bottom:12px;align-items:center}.civil-info{display:flex;justify-content:space-between;margin-bottom:16px;font-size:15px;color:#b3e4ff}.progress-bg{background:#fff3;height:12px;border-radius:30px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#ffc107,#ffca28);border-radius:30px;transition:width .5s ease}.fund-table{background:#fff;border-radius:12px;border:1px solid #cde0e9;margin-bottom:28px;overflow:hidden;box-shadow:0 2px 8px #002d410d}.fund-header{background:linear-gradient(135deg,#e5f0f5,#dceef7);padding:18px 24px;font-weight:700;font-size:16px;color:#046;display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #b6d3e2}.fund-header i{color:#0a6680;margin-right:10px}.fund-row{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:1px solid #e6f0f5;transition:background .2s;font-size:15px}.fund-row:last-child{border-bottom:none}.fund-row:hover{background:#f8fbfd}.fund-row i{color:#0a6680;margin-right:10px}.fund-amount{font-weight:700;color:#006680}.tender-section{background:#fff;border-radius:12px;border:1px solid #cde0e9;padding:24px;margin-bottom:28px;box-shadow:0 2px 8px #002d410d}.section-title{font-size:18px;font-weight:700;color:#0a4b66;padding-bottom:16px;border-bottom:2px solid #ffc107;margin-bottom:24px;display:flex;align-items:center;gap:12px}.section-title i{color:#0a6680}.tender-badge{margin-left:auto;font-size:14px;background:#e5f0f5;padding:6px 18px;border-radius:30px;color:#0a4b66}.tender-item{border-left:6px solid;margin-bottom:20px;background:#fafdff;border-radius:0 12px 12px 0;border:1px solid #dbeaf0;border-left-width:6px;padding:20px 24px;transition:all .2s;position:relative}.tender-item:hover{transform:translate(4px);box-shadow:0 4px 12px #002d4114}.tender-item.bidding-active{background:linear-gradient(135deg,#fff7e6,#fffcf5);border:2px solid #ffa940;box-shadow:0 4px 16px #ffa54040}.tender-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;flex-wrap:wrap;gap:12px}.tender-title-group{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.tender-name{font-size:18px;font-weight:800;color:#094c6b}.tender-id{background:#ecf3fa;padding:6px 16px;border-radius:30px;font-size:13px;font-weight:600;color:#2a607a}.tender-id i{margin-right:6px}.badge{background:#ffc107;color:#003952;padding:4px 14px;border-radius:20px;font-size:12px;font-weight:700}.badge-blue{background:#d4edda;color:#155724}.badge-orange{background:#ffe9d1;color:#a4511b}.badge-green{background:#e1f1e8;color:#0c6e4b}.badge-purple{background:#f0e4f0;color:#7a3e7a}.tender-date{color:#2a607a;font-size:14px;display:flex;align-items:center;gap:6px}.tender-row{display:grid;grid-template-columns:1.5fr 1fr 1.2fr 1fr;gap:20px;margin-top:12px}.field-label{color:#2f647a;font-size:13px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:28px}.contact-block{background:#fff;border:1px solid #d2e3ec;border-radius:12px;padding:22px;box-shadow:0 2px 8px #002d410d}.contact-title{display:flex;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:14px;border-bottom:2px solid #ffc107;font-size:18px;font-weight:700;color:#0a4b66}.contact-title i{color:#0f6b8c;font-size:20px}.contact-item{display:flex;align-items:center;gap:16px;margin-bottom:18px;padding:12px;border-radius:10px;transition:background .2s}.contact-item:hover{background:#f8fbfd}.contact-avatar{width:48px;height:48px;background:linear-gradient(135deg,#c7dfec,#a8d0e4);border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:700;color:#0e5e7a;font-size:16px;flex-shrink:0}.contact-info{flex:1}.contact-name{font-size:15px;color:#1a5b73;margin-bottom:4px}.contact-phone{font-size:14px;color:#10769e}.contact-phone i{margin-right:6px}.agent-company{margin-top:12px;padding:12px 16px;background:#f8fbfd;border-radius:10px;font-size:15px;color:#2a607a;display:flex;align-items:center;gap:10px}.agent-company i{color:#0a6680}.info-card{background:#fff;border-radius:12px;border:1px solid #cde0e9;padding:24px;margin-bottom:28px;box-shadow:0 2px 8px #002d410d}.info-title{display:flex;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:14px;border-bottom:2px solid #ffc107;font-size:18px;font-weight:700;color:#0a4b66}.info-title i{color:#0f6b8c;font-size:20px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}.info-row{display:flex;flex-direction:column;gap:6px}.info-row.full-width{grid-column:1 / -1}.info-label{font-size:13px;color:#2a607a;font-weight:600}.info-value{font-size:15px;color:#1a5b73;padding:8px 0}.footer-note{background:linear-gradient(135deg,#d4e6f0,#c5deec);padding:16px 24px;border-radius:10px;display:flex;justify-content:space-between;align-items:center;color:#1a5b73;font-size:14px;box-shadow:0 2px 8px #002d410d}.footer-note span{display:flex;align-items:center;gap:8px}.footer-note i{color:#0a6680}@media(max-width:1200px){.stat-cards{grid-template-columns:1fr 1fr}.contact-grid{grid-template-columns:1fr}.tender-row{grid-template-columns:1fr 1fr}}@media(max-width:768px){.detail-header{flex-direction:column;gap:16px;align-items:flex-start}.header-actions{width:100%;justify-content:flex-start}.stat-cards{grid-template-columns:1fr}.civil-header{flex-direction:column;align-items:flex-start;gap:12px}.tender-item-header{flex-direction:column;align-items:flex-start}.tender-row,.info-grid{grid-template-columns:1fr}.footer-note{flex-direction:column;gap:12px;text-align:center}}.quick-rule-config{background:#f5f5f5;padding:16px;border-radius:8px;margin-top:16px}.quick-rule-config h4{margin:0 0 12px;font-size:14px;font-weight:600;color:#333}.rule-config-row{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end}.rule-config-item{flex:1;min-width:100px}.rule-config-item label{display:block;font-size:12px;color:#666;margin-bottom:4px}.rule-config-item .ant-select-small,.rule-config-item .ant-input-small,.rule-config-item .ant-input-number-small{height:24px}.rule-config-item .ant-input-small,.rule-config-item .ant-input-number-small input{height:22px;line-height:22px}.rule-config-item .ant-input-number{height:24px;display:flex;align-items:center}.rule-config-item .ant-input{height:24px}.save-rule-btn{width:100%;padding:4px 12px;background:#1890ff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px;transition:all .3s}.save-rule-btn:hover{background:#40a9ff}.rule-preview{margin-top:12px;padding:8px 12px;background:#fff;border-radius:4px;font-size:12px;color:#666;border-left:3px solid #1890ff}@media(max-width:768px){.rule-config-item{min-width:80px}.quick-rule-config h4{font-size:13px}}*{margin:0;padding:0;box-sizing:border-box;font-family:Segoe UI,Microsoft YaHei,sans-serif}.cleaning-rules-container{max-width:1400px;margin:0 auto;padding:20px;background-color:#f5f7fa;color:#333;line-height:1.6}.cleaning-rules-container header{background:linear-gradient(135deg,#1a73e8,#0d47a1);color:#fff;padding:25px 30px;border-radius:10px;margin-bottom:30px;box-shadow:0 4px 12px #0000001a}.cleaning-rules-container header h1{font-size:28px;margin-bottom:10px;display:flex;align-items:center}.cleaning-rules-container header h1 i{margin-right:12px;font-size:32px}.cleaning-rules-container header p{opacity:.9;max-width:800px}.stage-navigation{display:flex;justify-content:space-between;margin-bottom:30px;background:#fff;border-radius:10px;padding:5px;box-shadow:0 3px 10px #00000014}.stage-tab{flex:1;text-align:center;padding:18px 10px;font-weight:600;cursor:pointer;border-radius:8px;transition:all .3s ease;position:relative;color:#666;display:flex;flex-direction:column;align-items:center}.stage-tab i{font-size:22px;margin-bottom:8px}.stage-tab.active{background-color:#1a73e8;color:#fff;box-shadow:0 4px 8px #1a73e84d}.stage-tab.completed{color:#1a73e8}.stage-tab.completed:after{content:"✓";position:absolute;top:5px;right:10px;background:#34a853;color:#fff;width:20px;height:20px;border-radius:50%;font-size:14px;display:flex;align-items:center;justify-content:center}.stage-content{background:#fff;border-radius:10px;padding:30px;box-shadow:0 4px 15px #00000014;margin-bottom:30px;display:none}.stage-content.active{display:block;animation:fadeIn .5s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.stage-title{font-size:22px;margin-bottom:25px;color:#1a73e8;display:flex;align-items:center;padding-bottom:15px;border-bottom:1px solid #eee}.stage-title i{margin-right:12px;background:#e8f0fe;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#1a73e8}.form-group{margin-bottom:25px}.form-row{display:flex;flex-wrap:wrap;margin:0 -8px}.form-column{flex:1;padding:0 8px;min-width:200px}.form-column-small{flex:0 0 120px;padding:0 8px}label{display:block;margin-bottom:8px;font-weight:600;color:#444}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;transition:border .3s;height:40px;box-sizing:border-box}select{padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.763L10.825 4z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px;-webkit-appearance:none;-moz-appearance:none;appearance:none}input:focus,select:focus,textarea:focus{border-color:#1a73e8;outline:none;box-shadow:0 0 0 2px #1a73e833}.input-with-button{display:flex}.input-with-button input{border-radius:6px 0 0 6px;flex:1}.input-with-button button{background:#f1f3f4;border:1px solid #ddd;border-left:none;border-radius:0 6px 6px 0;padding:0 20px;cursor:pointer;color:#666;font-weight:600;transition:all .3s;height:40px;white-space:nowrap}.input-with-button button:hover{background:#e8f0fe;color:#1a73e8}.rules-container{background:#f8f9fa;border-radius:8px;padding:20px;margin-bottom:20px}.rule-container{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;border-left:4px solid #1a73e8;transition:all .3s}.rule-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.rule-title{font-weight:600;color:#1a73e8;font-size:18px}.rule-actions{display:flex;gap:8px;align-items:center}.save-single-rule{background:#e6f4ea;color:#137333;border:none;width:30px;height:30px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s;font-size:18px;font-weight:700}.save-single-rule:hover{background:#ceead6;transform:scale(1.1)}.save-single-rule:active{transform:scale(.95)}.rule-preview{background:#fff;border-radius:6px;padding:15px;margin-top:15px;border:1px solid #eee;display:none;white-space:nowrap;overflow-x:auto;font-family:monospace;font-size:14px}.rule-preview.active{display:block}.remove-rule{background:#fce8e6;color:#d93025;border:none;width:30px;height:30px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s;font-size:18px}.remove-rule:hover{background:#fad2cf}.switch-container{display:flex;align-items:center;margin-bottom:15px}.switch{position:relative;display:inline-block;width:50px;height:26px;margin-right:15px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:.4s;border-radius:34px}.slider:before{position:absolute;content:"";height:18px;width:18px;left:4px;bottom:4px;background-color:#fff;transition:.4s;border-radius:50%}input:checked+.slider{background-color:#34a853}input:checked+.slider:before{transform:translate(24px)}.actions{display:flex;justify-content:space-between;margin-top:30px}.btn{padding:12px 28px;border:none;border-radius:6px;font-weight:600;font-size:16px;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;justify-content:center;height:44px}.btn i{margin-right:8px}.btn-primary{background:#1a73e8;color:#fff}.btn-primary:hover{background:#0d62d9;box-shadow:0 4px 8px #1a73e84d}.btn-secondary{background:#f1f3f4;color:#444}.btn-secondary:hover{background:#e8eaed}.btn-success{background:#34a853;color:#fff}.btn-success:hover{background:#2e9750;box-shadow:0 4px 8px #34a8534d}.add-rule{background:#e8f0fe;color:#1a73e8;border:2px dashed #1a73e8;width:100%;padding:15px;font-weight:600;margin-top:10px;border-radius:8px;cursor:pointer;transition:all .3s;height:auto}.add-rule:hover{background:#d2e3fc}.add-rule i{margin-right:8px}.status-indicator{display:inline-flex;align-items:center;padding:6px 12px;border-radius:20px;font-size:14px;font-weight:600;margin-left:15px}.status-enabled{background:#e6f4ea;color:#137333}.status-disabled{background:#fce8e6;color:#c5221f}.help-text{color:#666;font-size:14px;margin-top:5px}.rule-label{display:flex;align-items:center;margin-bottom:8px}.rule-label .required{color:#d93025;margin-left:4px}.rule-logic-row{display:flex;align-items:flex-end;flex-wrap:wrap;margin:15px 0 0}.rule-logic-item{flex:1;padding:0 8px;min-width:150px}.rule-logic-text{flex:0 0 auto;padding:0 8px;color:#666;font-weight:600;margin-bottom:8px;display:flex;align-items:flex-end;height:40px}.rule-field-select,.rule-logic-select,.rule-keyword-input,.rule-weight-input,.sign-select{width:100%}.rule-type-indicator{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600;margin-left:10px;vertical-align:middle}.rule-type-fatal{background-color:#fce8e6;color:#c5221f}.rule-type-plus{background-color:#e6f4ea;color:#137333}.rule-type-warning{background-color:#fef7e0;color:#b06000}footer{text-align:center;padding:20px;color:#666;font-size:14px;border-top:1px solid #eee;margin-top:20px}@media(max-width:992px){.form-column{min-width:45%}.rule-logic-item{min-width:40%}.form-column-small{flex:0 0 100px}}@media(max-width:768px){.stage-navigation{flex-direction:column}.stage-tab{margin-bottom:5px}.form-row{flex-direction:column}.form-column{width:100%;margin-bottom:15px}.rule-logic-row{flex-direction:column}.rule-logic-item{width:100%;margin-bottom:15px}.rule-logic-text{width:100%;justify-content:center;margin:10px 0}.actions{flex-direction:column}.btn{width:100%;margin-bottom:10px}}textarea{height:auto;min-height:100px;resize:vertical}.saved-rules-section{margin-top:40px;padding-top:30px;border-top:2px solid #e0e0e0}.saved-rules-title{font-size:20px;font-weight:600;color:#1a73e8;margin-bottom:20px;display:flex;align-items:center}.saved-rules-title i{margin-right:10px;font-size:22px}.rules-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;padding:15px 20px;background:#f8f9fa;border-radius:8px;flex-wrap:wrap}.search-box{position:relative;display:flex;align-items:center;flex:1;min-width:250px;max-width:500px}.search-box i{position:absolute;left:15px;color:#999;font-size:16px}.search-input{width:100%;padding:10px 40px;border:1px solid #ddd;border-radius:20px;font-size:14px;outline:none;transition:all .3s}.search-input:focus{border-color:#1a73e8;box-shadow:0 0 0 3px #1a73e81a}.clear-search-btn{position:absolute;right:15px;background:none;border:none;color:#999;cursor:pointer;padding:5px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.clear-search-btn:hover{background:#e0e0e0;color:#666}.sort-buttons{display:flex;align-items:center;gap:10px}.sort-label{font-size:14px;color:#666;font-weight:500}.sort-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border:1px solid #ddd;background:#fff;border-radius:6px;cursor:pointer;font-size:14px;color:#666;transition:all .2s;position:relative}.sort-btn:hover{background:#f0f0f0;border-color:#bbb}.sort-btn.active{background:#1a73e8;color:#fff;border-color:#1a73e8}.sort-indicator{font-size:12px;margin-left:4px}.search-results-info{padding:10px 15px;background:#e8f0fe;border-left:4px solid #1a73e8;border-radius:4px;color:#1967d2;font-size:14px;margin-bottom:15px}.no-rules-message{text-align:center;padding:60px 20px;color:#999}.no-rules-message i{font-size:48px;margin-bottom:15px;color:#ddd}.no-rules-message p{font-size:16px;margin:0}.rule-type-badge{display:inline-block;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:500;margin-left:8px}.rule-type-badge.rule-type-warning{background:#fef7e0;color:#f9ab00}.saved-rules-list{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.saved-rule-item{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:15px 20px;transition:all .3s;border-left:4px solid #1a73e8;display:flex;justify-content:space-between;align-items:center;min-height:60px}.saved-rule-item.rule-type-fatal{border-left-color:#c5221f}.saved-rule-item.rule-type-warning{border-left-color:#f9ab00}.saved-rule-item.rule-type-bonus{border-left-color:#137333}.saved-rule-item:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.saved-rule-item.disabled{opacity:.6;background:#f5f5f5}.saved-rule-content{display:flex;align-items:center;gap:12px;flex:1}.saved-rule-content .rule-name{font-size:15px;font-weight:600;color:#333}.saved-rule-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;flex-wrap:wrap;gap:10px}.saved-rule-title{display:flex;align-items:center;gap:10px;flex:1;min-width:200px}.rule-type-badge{padding:4px 12px;border-radius:4px;font-size:12px;font-weight:600;text-transform:uppercase}.rule-type-badge.rule-type-fatal{background:#fce8e6;color:#c5221f}.rule-type-badge.rule-type-warning{background:#fef7e0;color:#b06000}.rule-type-badge.rule-type-bonus{background:#e6f4ea;color:#137333}.rule-name{font-size:16px;font-weight:600;color:#333}.rule-disabled-badge{background:#f1f3f4;color:#666;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600}.saved-rule-actions{display:flex;gap:8px;flex-wrap:wrap}.action-btn{padding:6px 14px;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;gap:6px}.action-btn i{font-size:14px}.edit-btn{background:#e8f0fe;color:#1a73e8}.edit-btn:hover{background:#d2e3fc}.toggle-btn{background:#e6f4ea;color:#137333}.toggle-btn:hover{background:#ceead6}.delete-btn{background:#fce8e6;color:#d93025}.delete-btn:hover{background:#fad2cf}.saved-rule-details{padding-top:15px;border-top:1px solid #e0e0e0}.rule-description{color:#666;font-size:14px;margin-bottom:10px;line-height:1.5}.rule-meta{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:10px}.meta-item{display:flex;align-items:center;gap:6px;color:#666;font-size:13px}.meta-item i{font-size:14px;color:#999}.rule-conditions{background:#f8f9fa;padding:12px;border-radius:4px;font-size:13px;color:#444;font-family:monospace;border-left:3px solid #1a73e8}.rule-conditions strong{color:#1a73e8;margin-right:5px}@media(max-width:768px){.saved-rules-list{grid-template-columns:1fr}.saved-rule-header{flex-direction:column;align-items:flex-start}.saved-rule-actions{width:100%;justify-content:flex-start}.action-btn{flex:1;justify-content:center}.rule-meta{flex-direction:column;gap:5px}}.keyword-cloud-container{margin-top:30px;padding:20px;background:#f5f5f5;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:1px solid #e0e0e0}.keyword-cloud-container h3{color:#333;text-align:center;margin:0 0 20px;font-size:20px;font-weight:600}.cloud-wrapper{width:100%;height:450px;background:#fff;border-radius:8px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;perspective:1000px;border:1px solid #e0e0e0}.cloud-wrapper.empty{background:#fafafa}.cloud-wrapper .empty-message{color:#666;font-size:16px;margin:0}.tag-cloud-3d{position:relative;width:100%;height:100%;transform-style:preserve-3d}.tag-item-3d{position:absolute;top:50%;left:50%;transform-style:preserve-3d;color:#333;font-weight:400;cursor:pointer;transition:all .3s ease;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:auto}.tag-item-3d:hover{opacity:1!important;z-index:1000!important}@media(max-width:768px){.keyword-cloud-container{padding:15px}.cloud-wrapper{height:350px}.keyword-cloud-container h3{font-size:18px}.tag-item-3d{padding:8px 16px;font-size:12px!important}}.quotation-list-page{padding:0}.app-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.logo-area{display:flex;align-items:center;gap:.8rem}.logo-icon{font-size:2rem;color:#2b3b6e;background:#fff;padding:.8rem;border-radius:18px;box-shadow:0 6px 12px -10px #112050}.logo-area h1{font-weight:600;font-size:1.8rem;letter-spacing:-.02em;color:#16224a;margin:0}.nav-tabs{display:flex;gap:.5rem;background:#fff;padding:.4rem;border-radius:60px;box-shadow:0 4px 12px -10px #1f2f60}.nav-tab{padding:.6rem 1.8rem;border-radius:40px;font-weight:500;color:#3d4f7a;cursor:pointer;border:none;background:transparent;transition:.15s;font-size:.95rem;display:flex;align-items:center;gap:8px}.nav-tab:hover{background:#f0f5fe}.nav-tab.active{background:#1e2d5a;color:#fff;box-shadow:0 6px 14px -12px #020617}.chip{background:#fff;padding:.5rem 1.2rem;border-radius:40px;font-size:.9rem;font-weight:500;color:#2b3f70;box-shadow:0 2px 6px #00000005;display:flex;align-items:center;gap:8px}.stat-card{background:#fff;border-radius:28px;box-shadow:0 6px 18px -12px #13203f;border:1px solid #ffffff;transition:all .15s}.stat-card:hover{box-shadow:0 16px 24px -18px #091534;border-color:#d9e2f0}.stat-content{display:flex;align-items:center;gap:1rem;padding:.5rem}.stat-icon{width:3.2rem;height:3.2rem;background:#ecf2fc;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#25407c}.stat-icon-success{background:#dcf3e3;color:#146b34}.stat-info{display:flex;flex-direction:column}.stat-label{font-size:.8rem;font-weight:500;text-transform:uppercase;letter-spacing:.03em;color:#60719e;margin-bottom:.2rem}.stat-value{font-size:2rem;font-weight:600;color:#101d3d;line-height:1.2}.btn-new{background:#1e2d5a;color:#fff;border:none;padding:.8rem 2rem;border-radius:34px;font-weight:500;font-size:.95rem;display:flex;align-items:center;gap:10px;cursor:pointer;box-shadow:0 10px 18px -14px #091d42;transition:.12s;border:1px solid rgba(255,255,255,.2)}.btn-new:hover{background:#253b75;transform:scale(1.02);box-shadow:0 16px 22px -16px #102055}.quote-grid,.customer-grid{display:grid;grid-template-columns:repeat(auto-fill,300px);gap:1.6rem}.quote-card{cursor:pointer}.quote-card,.customer-card{background:#fff;border-radius:32px;padding:1.4rem 1.5rem 1.2rem;box-shadow:0 10px 24px -18px #172244;border:1px solid rgba(255,255,255,.6);transition:all .2s ease;cursor:move;position:relative}.quote-card.dragging,.customer-card.dragging{opacity:.5;transform:scale(1.05);box-shadow:0 30px 40px -20px #6366f14d;border-color:#6366f1;cursor:grabbing}.quote-card:hover,.customer-card:hover{transform:translateY(-5px);box-shadow:0 24px 32px -22px #0f1e44;border-color:#cdddfa}.quote-card:hover:after,.customer-card:hover:after{content:"⋮⋮";position:absolute;top:10px;right:10px;font-size:20px;color:#cdddfa;letter-spacing:-2px}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.quote-id{font-size:.8rem;font-weight:500;background:#eef4fe;padding:.25rem 1rem;border-radius:30px;color:#28437c;border:1px solid transparent}.status-dropdown-btn{padding:.2rem .6rem!important;height:auto!important;border-radius:20px!important;transition:all .2s}.status-dropdown-btn:hover{background:#f0f5fe!important}.status-dropdown-btn .anticon{margin-left:4px}.card-header .ant-select{font-size:.75rem;font-weight:600}.card-header .ant-select-selector{padding:.25rem .5rem!important;border-radius:30px!important;border:none!important;background:transparent!important}.card-header .ant-select-arrow{display:none}.card-header .ant-select .ant-tag{margin:0;padding:.25rem .75rem;border-radius:30px;font-size:.75rem}.card-header .ant-dropdown{font-size:.75rem}.card-header .ant-dropdown-menu{border-radius:12px;padding:.5rem 0;box-shadow:0 8px 16px #0000001a}.card-header .ant-dropdown-menu-item{padding:.5rem 1rem;border-radius:8px;margin:0 .5rem;transition:all .2s}.card-header .ant-dropdown-menu-item:hover{background:#f0f5fe}.card-header .ant-dropdown-menu-item:last-child{margin-bottom:0}.card-header .ant-dropdown-menu-item .ant-tag{margin:0;padding:.2rem .6rem}.customer-name{font-size:.8rem;font-weight:600;margin-bottom:.5rem;color:#0a183a;line-height:1.3}.amount-row{font-size:1.8rem;font-weight:600;color:#1d2d59;margin:.5rem 0 .8rem;letter-spacing:-.01em}.meta-row{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#5b6f99;margin:.3rem 0 1rem}.card-actions{display:flex;gap:.8rem;margin-top:.6rem;border-top:1px solid #e8eefa;padding-top:1rem}.card-actions button{cursor:pointer!important;pointer-events:auto!important}.customer-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.customer-avatar{width:3.2rem;height:3.2rem;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#fff;font-weight:600}.customer-info{flex:1}.customer-company{font-size:.85rem;color:#7a8ca8}.customer-details{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.detail-item{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#5b6f99}.detail-icon{font-size:.9rem}.quote-modal .ant-modal-content{border-radius:42px;box-shadow:0 40px 70px -35px #030c21;border:1px solid rgba(255,255,255,.5)}.quote-modal .ant-modal-header{border-radius:42px 42px 0 0;padding:2rem 2rem 1rem}.quote-modal .ant-modal-body{padding:0 2rem 2rem}.quote-modal .ant-modal-close{top:1.5rem;right:1.5rem}.modal-actions{display:flex;gap:.8rem;justify-content:flex-end;margin-top:2.2rem}@media(max-width:768px){.app-header{flex-direction:column;align-items:flex-start}.nav-tabs{width:100%;justify-content:center}.quote-grid,.customer-grid{grid-template-columns:1fr}}.bidwin-container{padding:0;background-color:#f1f5f9;min-height:calc(100vh - 64px)}.bidwin-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;background:#fff;border-bottom:1px solid #e2e8f0;margin-bottom:16px}.header-title h2{font-size:20px;font-weight:600;margin:0 0 4px;color:#1e293b}.header-title p{font-size:13px;color:#64748b;margin:0}.header-actions{display:flex;gap:8px}.stats-bar{padding:0 24px 16px}.stat-card{border-radius:8px;box-shadow:0 1px 3px #0000001a;transition:all .3s ease}.stat-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.stat-card .ant-card-body{padding:20px;display:flex;align-items:center;gap:16px}.stat-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff}.stat-1 .stat-icon{background:linear-gradient(135deg,#3b82f6,#2563eb)}.stat-2 .stat-icon{background:linear-gradient(135deg,#10b981,#059669)}.stat-3 .stat-icon{background:linear-gradient(135deg,#f59e0b,#d97706)}.stat-4 .stat-icon{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.stat-content h3{font-size:24px;font-weight:700;color:#1e293b;margin:0}.stat-content p{font-size:12px;color:#64748b;margin:0}.projects-container{padding:0 24px 24px;display:flex;flex-direction:column;gap:20px}.projects-list{padding:0 24px 24px;display:flex;flex-direction:column;gap:32px}.project-wrapper{width:100%}.project-card{border-radius:12px;box-shadow:0 1px 3px #0000001a}.project-card .ant-card-body{padding:20px}.project-info-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:8px;margin-bottom:20px}.project-info-content{display:flex;gap:32px;flex-wrap:wrap;flex:1}.info-item{display:flex;flex-direction:column;gap:4px;min-width:120px}.info-item-small .info-label{min-width:50px}.info-label{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;min-width:100px}.info-value{font-size:22px;font-weight:800;color:#1e293b}.phase-horizontal-container{display:flex;flex-direction:row;gap:16px;overflow-x:auto;overflow-y:visible;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f1f5f9}.phase-horizontal-container::-webkit-scrollbar{height:8px}.phase-horizontal-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.phase-horizontal-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.phase-horizontal-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.phase-card{flex:0 0 240px;max-width:240px;border-radius:10px;border:2px solid #e2e8f0;transition:all .3s ease;background:#fff}.phase-card:hover{box-shadow:0 4px 12px #0000001a}.phase-card.completed{opacity:.8;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.phase-card .ant-card-body{padding:16px}.phase-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.phase-title{display:flex;gap:12px;flex:1;padding-right:8px}.phase-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;flex-shrink:0}.phase-text h3{font-size:14px;font-weight:600;color:#1e293b;margin:0 0 4px}.phase-text p{font-size:12px;color:#64748b;margin:0}.task-list{display:flex;flex-direction:column;gap:8px}.task-item{padding:10px 12px;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0;transition:all .2s ease}.task-item:hover{background:#f1f5f9;border-color:#cbd5e1}.task-header{display:flex;justify-content:space-between;align-items:center}.task-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:#334155;flex:1}.task-edit-icon{font-size:14px;color:#94a3b8;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease}.task-edit-icon:hover{background:#f1f5f9;color:#64748b}.task-output{margin-top:8px;padding-left:24px}@media(max-width:768px){.bidwin-header{flex-direction:column;gap:12px;align-items:flex-start}.stats-bar{padding:0 16px 16px}.stats-bar .ant-col{margin-bottom:12px}.projects-container{padding:0 16px 16px}.project-dates{flex-direction:column;gap:12px}.phase-horizontal-container{flex-direction:column}.phase-card{flex:0 0 auto;max-width:100%}}.project-card.completed-project{background:linear-gradient(135deg,#1e293b,#334155);box-shadow:0 4px 12px #0000004d}.project-card.completed-project .project-info-header{background:linear-gradient(135deg,#334155,#475569)}.project-card.completed-project .ant-card-body{background:transparent}.project-card.completed-project .info-label{color:#94a3b8}.project-card.completed-project .info-value{color:#e2e8f0}.project-card.completed-project .phase-card{background:#1e293b;border-color:#475569!important}.project-card.completed-project .phase-text h3{color:#e2e8f0}.project-card.completed-project .phase-text p{color:#94a3b8}.project-card.completed-project .task-item{background:#334155;border-color:#475569}.project-card.completed-project .task-item:hover{background:#475569;border-color:#64748b}.project-card.completed-project .task-title{color:#cbd5e1}.project-card.completed-project .task-edit-icon{color:#94a3b8}.project-card.completed-project .task-edit-icon:hover{background:#334155;color:#cbd5e1}.project-card.completed-project h2{color:#e2e8f0}.project-card.completed-project p{color:#94a3b8}.project-wrapper.highlight-animation{animation:highlightPulse 2s ease-in-out}@keyframes highlightPulse{0%{transform:scale(1);box-shadow:0 1px 3px #0000001a}50%{transform:scale(1.02);box-shadow:0 8px 30px #3b82f680}to{transform:scale(1);box-shadow:0 1px 3px #0000001a}}.integrator-management{padding:0}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem}.toolbar h2{font-size:1.4rem;font-weight:500;color:#1c284e;display:flex;align-items:center;gap:.6rem;margin:0}.add-section{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.view-toggle{display:flex;gap:.5rem;margin-left:1rem}.trash-bin{background:#fee2e2;border:2px dashed #ef4444;border-radius:3rem;padding:.5rem 1.8rem;display:flex;align-items:center;gap:.5rem;color:#b91c1c;font-weight:600;font-size:1rem;transition:.15s;cursor:grab}.trash-bin:hover{background:#fecaca;border-color:#dc2626;transform:scale(1.02)}.page-tabs{display:flex;gap:.5rem;margin-bottom:2rem;flex-wrap:wrap}.page-tab{background:transparent;border:none;padding:.6rem 1.8rem;border-radius:40px;font-size:.95rem;font-weight:500;color:#3d4f7a;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:.15s}.page-tab:hover{background:#f0f5fe}.page-tab.active{background:#1e2d5a;color:#fff;box-shadow:0 6px 14px -12px #020617}.page-tab .close-page{margin-left:.3rem;color:inherit;font-size:1.2rem;padding:.2rem;border-radius:50%;opacity:.7}.page-tab .close-page:hover{background:#fff3;opacity:1}.view-board{background:transparent;border-radius:0;padding:0;border:none;min-height:auto}.vendor-view,.project-view{display:flex;flex-direction:column;gap:2rem;align-items:flex-start}.vendor-view>*,.project-view>*{width:100%}.vendor-view>.solid-card,.project-view>.solid-card{width:auto;max-width:300px;min-width:260px}.vendor-view .unassigned-grid,.project-view .unassigned-grid{display:flex;flex-wrap:wrap;gap:1.6rem}.solid-card{background:#fff;border-radius:32px;padding:1.4rem 1.5rem 1.2rem;box-shadow:0 10px 24px -18px #172244;border:1px solid rgba(255,255,255,.6);transition:all .2s ease;cursor:move;position:relative;min-width:260px;max-width:300px}.solid-card:hover{transform:translateY(-5px);box-shadow:0 24px 32px -22px #0f1e44;border-color:#cdddfa}.solid-card.dragging{opacity:.5;transform:scale(1.05);box-shadow:0 30px 40px -20px #6366f14d;border-color:#6366f1;cursor:grabbing}.solid-card.vendor-bg{background:#fff}.solid-card.vendor-bg .card-header{color:#0a183a}.solid-card.project-bg{background:#fff}.dashed-card{border:1px dashed #94a3b8;background:#f8fafc;border-radius:20px;padding:.9rem .8rem .8rem;margin-top:.7rem;margin-bottom:.7rem;transition:all .2s ease;pointer-events:auto}.dashed-card:hover{border-color:#cbd5e1;background:#f1f5f9}.dashed-card.project-dashed{border-color:#2b8f7a;background:#f0fdfa}.dashed-card.vendor-dashed{border-color:#f59e0b;background:#fefce8}.card-header{display:flex;align-items:center;gap:.4rem;font-weight:600;font-size:1.4rem;margin-bottom:.5rem;color:#0a183a;line-height:1.3;cursor:grab;-webkit-user-select:none;user-select:none;padding:.2rem 0;border-radius:.5rem;transition:background .1s;pointer-events:auto}.card-header:active{cursor:grabbing;background:#00000005}.card-header.sub-card{font-size:1.1rem}.dropzone-inner{min-height:60px;display:flex;flex-direction:column;gap:.5rem;pointer-events:auto}.person-chips-container{display:grid;grid-template-columns:repeat(2,1fr);gap:.4rem;width:100%;pointer-events:none}.person-chip{background:#ecf2fc;border-radius:18px;padding:.4rem 1rem .4rem .9rem;display:inline-flex;align-items:center;gap:.5rem;font-size:.85rem;font-weight:500;border:1px solid #dbeafe;color:#25407c;cursor:grab;transition:.1s;width:100%;max-width:100%;margin:0;justify-content:center;text-align:center;box-shadow:0 2px 4px #0000000d;pointer-events:auto}.person-chip:active{cursor:grabbing;opacity:.8}.person-chip:hover{background:#dbeafe;box-shadow:0 4px 8px #0000001a}.empty-hint{color:#5b6f99;font-style:italic;font-size:.85rem;padding:.5rem;text-align:center;border:1px dashed #e2e8f0;border-radius:12px;background:#f8fafc;pointer-events:none}.unassigned-projects{margin-top:2rem;width:100%}.unassigned-title{font-weight:500;color:#1c284e;margin-bottom:1rem;font-size:1.1rem}.unassigned-grid{display:flex;flex-wrap:wrap;gap:1.6rem}.dragging{opacity:.5;transform:scale(1.05)}.vendor-view>div[style*="background: #f0f9ff"],.project-view>div[style*="background: #f0f9ff"]{background:#f0f9ff!important;border:2px dashed #3b82f6!important;border-radius:20px!important;padding:1rem!important;margin-bottom:1rem!important}.order-management{width:100%;height:100%}.order-management .ant-card{height:100%;display:flex;flex-direction:column}.order-management .ant-card-body{flex:1;display:flex;flex-direction:column;overflow:hidden;padding:0}.canvas-tabs{display:flex;gap:4px;padding:8px 16px;background:#f5f5f5;border-bottom:1px solid #d9d9d9;overflow-x:auto;min-height:40px;align-items:center}.canvas-tab{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#fff;border:1px solid #d9d9d9;border-radius:4px;cursor:pointer;font-size:14px;color:#1890ff;transition:all .2s;white-space:nowrap;-webkit-user-select:none;user-select:none}.canvas-tab.dragging{opacity:.5;transform:scale(.95)}.canvas-tab:hover{background:#f0f0f0;border-color:#1890ff}.canvas-tab.active{background:#1890ff;color:#fff;border-color:#1890ff}.canvas-tab .close-icon{font-size:14px;opacity:.7;transition:opacity .2s}.canvas-tab .close-icon:hover{opacity:1}.canvas-area{flex:1;position:relative;overflow:auto;background:#fafafa;background-image:linear-gradient(rgba(0,0,0,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.05) 1px,transparent 1px);background-size:20px 20px;padding:20px;cursor:grab}.canvas-area:active{cursor:grabbing}.canvas-container{position:relative;width:2000px;height:1500px;min-height:100%}.flow-node{position:absolute;min-width:80px;max-width:200px;height:40px;border:1px solid #91d5ff;border-radius:6px;background:#e6f7ff;padding:4px 12px;cursor:move;box-shadow:0 1px 4px #0000001a;transition:box-shadow .2s,transform .1s;display:flex;align-items:center;justify-content:center;position:relative;overflow:visible;z-index:5;width:auto}.flow-node:hover{box-shadow:0 2px 6px #00000026}.flow-node.selected{border-color:#1890ff;box-shadow:0 0 0 2px #1890ff33}.flow-node:active{transform:scale(1.01)}.node-content{text-align:center;width:100%;position:relative;z-index:3}.node-text{white-space:nowrap;font-size:14px;position:relative;z-index:3;word-break:keep-all}.node-label-top{position:absolute;left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:2px;top:0;transform:translateY(-50%);pointer-events:none;z-index:10}.node-label-item{font-size:11px;line-height:1.4;color:#00000080;text-align:center;white-space:nowrap;padding:1px 4px;display:flex;align-items:center;justify-content:center;gap:2px;background:transparent;border:none;border-radius:0;box-shadow:none}.node-label-bottom .node-label-item{color:#1890ff80}.node-label-bottom{position:absolute;left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:2px;bottom:0;transform:translateY(50%);pointer-events:none;z-index:10}.contract-amount{color:#1890ff80;font-weight:600;font-size:12px}.actual-amount{color:#52c41a80;font-weight:600;font-size:12px}.actual-amount.warning{color:#ff4d4f80;font-weight:700;font-size:13px}.separator{color:#99999980;margin:0 2px;font-size:11px}.flow-node.status-initial{background:#e6f7ff;border-color:#91d5ff}.flow-node.status-initial .node-text{color:#1890ff}.flow-node.status-in-progress{border-color:#fa8c16;position:relative;background:#fa8c16}.flow-node.status-in-progress .node-text{color:#1890ff;font-weight:500;position:relative;z-index:2}.flow-node.status-in-progress:before{content:"";position:absolute;inset:0;background:#f5f5f5;z-index:0}.flow-node.status-in-progress:after{content:"";position:absolute;top:0;left:0;bottom:0;width:var(--progress, 0%);background:#fa8c16;z-index:1;transition:width .3s ease}.flow-node.status-completed{background:#52c41a;border-color:#52c41a}.flow-node.status-completed .node-text{color:#fff;font-weight:700}.flow-node.status-overdue{background:#ff4d4f;border-color:#ff4d4f}.flow-node.status-overdue .node-text{color:#fff;font-weight:700;font-size:16px;animation:blink 1s infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:.5}}.flow-node svg line{transition:stroke .2s,stroke-width .2s}.flow-node svg line:hover{stroke:#ff4d4f!important;stroke-width:3!important}.context-menu{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000026;padding:8px 0;min-width:150px}.context-menu-item{padding:8px 16px;cursor:pointer;transition:background .2s;display:flex;align-items:center;gap:8px}.context-menu-item:hover{background:#f5f5f5}.context-menu-item.danger{color:#ff4d4f}.context-menu-item.danger:hover{background:#fff1f0}.context-menu-divider{height:1px;background:#f0f0f0;margin:4px 0}@media(max-width:768px){.flow-node{width:120px;min-height:50px;font-size:14px}.canvas-tabs{padding:6px 12px}.canvas-tab{padding:4px 8px;font-size:12px}}.template-item{animation:fadeIn .3s ease-in-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.template-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #1890ff26}@keyframes blink{0%,to{opacity:1}50%{opacity:.3}}.template-item:empty{display:none}
