.FactoryV2SettingsModal .modal-dialog{max-width:1100px;width:94vw}.fv2-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.fv2-header-left{display:flex;align-items:center;gap:12px}.fv2-header-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}.fv2-header-info h3{margin:0;font-size:16px;font-weight:600;color:#fff}.fv2-header-info p{margin:0;font-size:13px;color:#828284}.fv2-header-actions{display:flex;gap:8px}.fv2-btn{padding:6px 16px;border-radius:8px;font-size:14px;font-weight:500;border:none;cursor:pointer;display:flex;align-items:center;gap:6px;transition:opacity .2s}.fv2-btn:hover{opacity:.85}.fv2-btn--edit{background:#ffffff14;color:#fff;border:1px solid rgba(255,255,255,.12)}.fv2-btn--save{background:#08a88a;color:#fff}.fv2-btn--save:disabled{opacity:.5;cursor:not-allowed}.fv2-btn--cancel{background:transparent;color:#828284;border:1px solid rgba(255,255,255,.08)}.fv2-bento-card{border-radius:16px;background:#1e1e1e99;border:1px solid rgba(255,255,255,.08);padding:20px;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.fv2-card-header{display:flex;align-items:center;gap:8px;margin-bottom:16px}.fv2-card-header-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#ffffff0f;color:#fff;font-size:16px;flex-shrink:0}.fv2-card-header h4{margin:0;font-size:15px;font-weight:600;color:#fff}.fv2-bento-card--profile{margin-bottom:16px}.fv2-profile-top{display:flex;gap:20px}.fv2-profile-info-col{flex:1;min-width:0}.fv2-profile-info-row{display:flex;align-items:flex-start;gap:16px}.fv2-profile-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.1);flex-shrink:0}.fv2-profile-text{flex:1;min-width:0}.fv2-profile-name{font-size:16px;font-weight:600;color:#fff;margin:4px 0}.fv2-profile-desc{font-size:13px;color:#a0a0a0;line-height:1.5}.fv2-profile-input{width:100%;background:#ffffff0a;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#fff;padding:8px 12px;font-size:14px;margin-bottom:10px;outline:none;transition:border-color .2s;box-sizing:border-box}.fv2-profile-input:focus{border-color:#ffffff3d}.fv2-profile-textarea{resize:vertical;min-height:50px}.fv2-divider{height:1px;background:#ffffff0f;margin:16px 0}.fv2-skills-label{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:#fff;margin-bottom:10px}.fv2-skills-label svg{width:16px;height:16px}.fv2-skills-sublabel{font-size:12px;color:#828284;margin-bottom:8px}.fv2-skills-search{max-width:360px;background:#ffffff0a;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;padding:7px 10px;font-size:13px;margin-bottom:10px;outline:none;box-sizing:border-box}.fv2-skills-search::placeholder{color:#666}.fv2-skills-grid{display:flex;flex-wrap:wrap;gap:8px;max-height:240px;overflow-y:auto;margin-bottom:4px}.fv2-skills-grid::-webkit-scrollbar{width:4px}.fv2-skills-grid::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:4px}.fv2-skill-box{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:8px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);cursor:pointer;transition:border-color .2s,background .2s;flex-shrink:0}.fv2-skill-box:hover{background:#ffffff12;border-color:#ffffff29}.fv2-skill-box--selected{border-color:#2a9e3c;background:#2a9e3c14}.fv2-skill-box--selected:hover{border-color:#2a9e3c;background:#2a9e3c1f}.fv2-skill-box-icon{color:#828284;font-size:14px;line-height:1;flex-shrink:0}.fv2-skill-box--selected .fv2-skill-box-icon{color:#fff}.fv2-skill-box-name{font-size:13px;color:#a0a0a0;white-space:nowrap}.fv2-skill-box--selected .fv2-skill-box-name{color:#fff}.fv2-no-skills{font-size:13px;color:#666;padding:12px 0;width:100%}.fv2-bottom-row{display:grid;grid-template-columns:1.6fr 1fr;gap:16px;align-items:stretch}.fv2-prompt-helper{font-size:13px;color:#828284;margin-bottom:12px;line-height:1.5}.fv2-prompt-display{white-space:pre-wrap;word-break:break-word;font-size:14px;color:silver;line-height:1.6;background:#ffffff08;border:1px solid rgba(255,255,255,.06);border-radius:10px;padding:12px;max-height:400px;overflow-y:auto;flex:1}.fv2-prompt-textarea{width:100%;min-height:240px;background:#ffffff08;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#fff;padding:12px;font-size:14px;line-height:1.6;resize:vertical;outline:none;flex:1;font-family:inherit;box-sizing:border-box}.fv2-prompt-textarea:focus{border-color:#ffffff3d}.fv2-prompt-footer{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;color:#666}.fv2-knowledge-section h5{font-size:13px;font-weight:500;color:#a0a0a0;margin-bottom:8px;display:flex;align-items:center;gap:6px}.fv2-file-list{list-style:none;padding:0;margin:0}.fv2-file-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;background:#ffffff08;border:1px solid rgba(255,255,255,.06);margin-bottom:6px;font-size:13px;color:silver}.fv2-file-item-icon{color:#828284;font-size:16px;flex-shrink:0}.fv2-file-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.fv2-empty-state{font-size:13px;color:#666;text-align:center;padding:24px 12px}.fv2-skeleton{background-color:#e2e5e717;background-image:linear-gradient(90deg,#fff0,#ffffff24,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;animation:shine 1s ease infinite;border-radius:8px}.fv2-skill-tooltip{position:fixed;transform:translate(-50%,calc(-100% - 10px));background:#0f1118;border-radius:14px;border:1px solid rgba(148,163,184,.2);padding:12px 14px;width:270px;z-index:10000;box-shadow:0 14px 40px #00000073;color:#e2e8f0;pointer-events:none}.fv2-skill-tooltip:after{content:"";position:absolute;left:50%;bottom:-6px;width:12px;height:12px;background:#0f1118;border-right:1px solid rgba(148,163,184,.2);border-bottom:1px solid rgba(148,163,184,.2);transform:translate(-50%) rotate(45deg)}.fv2-skill-tooltip__header{display:flex;align-items:center;gap:8px;margin-bottom:6px}.fv2-skill-tooltip__icon{width:26px;height:26px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#0f172a99;color:#e2e8f0bf;font-size:14px}.fv2-skill-tooltip__title{font-size:14px;font-weight:600;flex:1}.fv2-skill-tooltip__badge{font-size:11px;padding:2px 8px;border-radius:999px;background:#22c55e1f;color:#22c55e;font-weight:600}.fv2-skill-tooltip__desc{font-size:12px;color:#e2e8f0b3;line-height:1.4;margin-bottom:8px}.fv2-skill-tooltip__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#e2e8f099}.fv2-skill-tooltip__meta-item{display:inline-flex;align-items:center;gap:6px}.fv2-skill-tooltip__meta-item svg{width:13px;height:13px}@media (max-width: 767px){.fv2-bottom-row{grid-template-columns:1fr}.fv2-profile-info-row{flex-direction:column;align-items:center}.FactoryV2SettingsModal .modal-dialog{max-width:100%;margin:8px}}
