*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;background:#f5f6fa;color:#1f2430}.workspace{display:grid;grid-template-columns:220px 300px minmax(0,1fr);height:100vh;overflow:hidden}.brand-sidebar{display:flex;flex-direction:column;padding:22px 18px;background:#171a2b;color:#ffffffe6}.brand{display:flex;align-items:center;gap:12px;margin-bottom:34px}.brand-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#5b5ff5,#8b5cf6);color:#fff;font-weight:700}.brand-name{font-size:16px;font-weight:700}.brand-subtitle{font-size:12px;color:#ffffff7a}.side-nav{display:flex;flex-direction:column;gap:8px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:#ffffffa3;font-size:14px;cursor:pointer}.nav-item.active{background:#5b5ff52e;color:#fff}.new-task-button{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:22px;padding:10px 12px;border:1px dashed rgba(255,255,255,.22);border-radius:10px;background:transparent;color:#ffffffb8;cursor:pointer}.runtime-note{margin-top:auto;font-size:12px;color:#ffffff5c}.session-panel{display:flex;flex-direction:column;border-right:1px solid #eceef5;background:#fff}.session-header{display:flex;align-items:center;justify-content:space-between;padding:20px 20px 14px}.session-header h2{margin:0;font-size:18px;font-weight:700}.session-header p{margin:4px 0 0;color:#7c8397;font-size:12px}.session-list{flex:1;overflow-y:auto;padding:0 14px 18px}.session-card{position:relative;width:100%;padding:14px;margin-bottom:12px;border:1px solid #edeff7;border-radius:12px;background:#fff;text-align:left;cursor:pointer;transition:all .2s ease}.session-card:hover{border-color:#d6d9f7;box-shadow:0 6px 18px #4146a014}.session-card.active{border-color:#5b5ff5;background:#f5f5ff}.session-card-title{font-size:14px;font-weight:650;margin-bottom:8px;padding-right:30px}.session-footer-right{display:inline-flex;align-items:center;gap:4px}.session-delete{color:#9ba1b5}.session-delete:hover{color:#ff6b7a;background:#fff1f2}.session-card-footer{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.session-time{font-size:12px;color:#8a90a4}.session-progress{margin-top:8px}.empty-list{padding:20px;text-align:center;color:#8a90a4}.chat-panel{display:flex;flex-direction:column;min-width:0;background:#f5f6fa}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;border-bottom:1px solid #eceef5;background:#fff}.chat-header h1{margin:0;font-size:20px;font-weight:700}.chat-header p{margin:6px 0 0;font-size:13px;color:#7c8397}.chat-scroll{flex:1;overflow-y:auto;padding:24px 28px}.message{display:flex;margin-bottom:18px}.user-message{justify-content:flex-end}.bubble{max-width:min(720px,82%);padding:16px 18px;border-radius:16px;font-size:14px;line-height:1.6}.user-bubble{background:#5b5ff5;color:#fff;border-bottom-right-radius:6px}.file-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.file-chips span{display:inline-flex;align-items:center;gap:6px;max-width:220px;min-width:0;padding:4px 8px;border-radius:8px;background:#ffffff2e;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assistant-bubble{background:#fff;border:1px solid #eceef5;box-shadow:0 8px 24px #1c21420d}.progress-title{font-weight:600;margin-bottom:10px}.progress-note{margin-top:8px;color:#8a90a4;font-size:12px}.result-actions{margin-top:16px}.success-line{font-weight:600}.preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.preview-image{border-radius:8px;overflow:hidden}.empty-chat{display:flex;align-items:center;justify-content:center;min-height:280px;text-align:center}.empty-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 16px;border-radius:16px;background:#eceafe;color:#5b5ff5;font-size:22px}.empty-chat p{margin:0;color:#7c8397}.composer{position:relative;padding:14px 28px 18px;background:#fff;border-top:1px solid #eceef5}.composer.dragging{background:#f7f7ff}.drag-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-items:center;background:#5b5ff514;color:#5b5ff5;font-size:14px;font-weight:650;pointer-events:none}.composer-card{width:100%;max-width:none;padding:10px 10px 8px;border:1px solid #e7e9f5;border-radius:18px;background:#fcfcff;box-shadow:0 10px 30px #1f264e0d;transition:border-color .2s ease,box-shadow .2s ease}.composer-card:focus-within{border-color:#8488f8;box-shadow:0 0 0 3px #5b5ff514,0 10px 30px #1f264e0f}.selected-files{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:4px 4px 10px}.selected-file{display:inline-flex;align-items:center;gap:8px;max-width:260px;padding:5px 6px 5px 10px;border:1px solid #e4e6f4;border-radius:999px;background:#f8f8ff;color:#5b5ff5;font-size:12px}.selected-file>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remove-file{display:grid;place-items:center;width:20px;height:20px;border:0;border-radius:50%;background:#e5e6f6;color:#5b5ff5;cursor:pointer}.remove-file:hover{background:#d9dafa}.composer-card textarea{display:block;width:100%;min-height:48px;padding:8px 8px 6px;border:0;background:transparent;color:#1f2430;font-size:14px;line-height:1.55;resize:none;outline:none}.composer-actions{display:flex;align-items:center;gap:10px;padding:0 2px}.plus-button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#eef0fa;color:#5b5ff5;cursor:pointer;transition:all .2s ease}.plus-button:hover{background:#e3e5fb}.composer-hint{margin-right:auto;color:#9ba1b5;font-size:12px}.composer-body textarea{width:100%;min-height:78px;padding:12px 14px;border:1px solid #e2e4f0;border-radius:12px;background:#f8f8fc;color:#1f2430;font-size:14px;line-height:1.5;resize:none;outline:none}.composer-body textarea:focus{border-color:#5b5ff5;background:#fff}.send-button{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border:0;border-radius:999px;background:#5b5ff5;color:#fff;font-weight:600;cursor:pointer}.send-button:disabled{background:#b6b8f7;cursor:not-allowed}
