:root{--qy-primary:#6053ce;--qy-ink:#252b45;--qy-muted:#858ca1;--qy-line:#e7e9f1;--qy-surface:#fff}
body{background:#f6f7fb;color:var(--qy-ink)}
.antd-slot{display:contents}.antd-native-select{display:none!important}.antd-select-slot{display:block;width:100%}.antd-select-slot .ant-select{width:100%}.antd-select-chatModelSelect{display:inline-flex;min-width:178px;width:auto}
.app{background:#f8f9fc}.sidebar{width:292px;background:#f7f8fc;border-right:1px solid #e6e8f0;padding:26px 17px 17px}.brand{padding:0 9px 27px}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#7767e7,#584ac4);box-shadow:0 8px 18px #6759d435}.brand strong{font-size:18px;letter-spacing:-.3px}.brand small{font-size:10px;letter-spacing:.2px;color:#9aa1b5}
.sidebar .ant-btn.antd-control{font-size:12px;font-weight:600}.sidebar .new-chat.ant-btn{height:44px;justify-content:flex-start;padding:0 15px;border-radius:10px;box-shadow:0 7px 18px #6053ce27;margin-bottom:12px}.sidebar .comfy-nav.ant-btn,.sidebar .canvas-nav.ant-btn{height:38px;justify-content:flex-start;padding:0 12px;border-radius:9px;color:#626c82;margin:2px 0}.sidebar .comfy-nav.ant-btn:hover,.sidebar .canvas-nav.ant-btn:hover,.sidebar .comfy-nav.ant-btn.active,.sidebar .canvas-nav.ant-btn.active{background:#eceafd;color:#5b4cc8}.sidebar .model-settings-link.ant-btn{height:34px;justify-content:flex-start;padding:0 8px;color:#6f778b}.sidebar .model-settings-link.ant-btn:hover{background:#eeeff8;color:#5d50cb}.sidebar .logout-button.ant-btn{height:28px;font-size:11px;color:#949bad}.sidebar .section-heading{margin-top:17px;color:#9da5b6}.sidebar .section-heading .ant-btn{width:26px;height:26px;padding:0}.sidebar .search-wrap{height:40px;background:#fff;border:1px solid #e5e7ef;margin:16px 0 20px;box-shadow:0 2px 8px #30364e05}.sidebar .search-wrap input.ant-input{border:0;box-shadow:none;padding:0;background:transparent;font-size:12px}.sidebar .search-icon{font-size:20px;color:#9ba3b5}.sidebar .search-shortcut{font-size:9px;color:#acb1bf}
.workflow-heading{display:flex;justify-content:space-between;align-items:center;margin:17px 9px 7px;color:#8992a8;font-size:10px;font-weight:750;letter-spacing:.8px}.workflow-heading span{font-weight:500;letter-spacing:0;color:#a6adbe}.workflow-nav{display:grid;gap:2px}.sidebar .workflow-nav-item.ant-btn{height:34px;justify-content:flex-start;text-align:left;padding:0 12px;border-radius:9px;color:#626c82;font-size:12px;font-weight:600}.sidebar .workflow-nav-item.ant-btn:hover,.sidebar .workflow-nav-item.ant-btn.active{background:#eceafd;color:#5b4cc8}.sidebar .search-wrap{margin:12px 0 12px}.sidebar .section-heading{margin-top:8px}.sidebar .project-list{min-height:72px}
.workflow-guide{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 29px;border-bottom:1px solid #e8e4fa;background:#faf9ff;color:#656184;font-size:12px;line-height:1.5}.workflow-guide[hidden]{display:none}.workflow-guide strong{color:#5749bd;white-space:nowrap}.workflow-guide span{min-width:0}@media(max-width:720px){.workflow-guide{padding:9px 16px;gap:4px 10px;font-size:11px}}
.prompt-template-trigger.ant-btn{height:28px;padding:0 8px;color:#6556cb;font-size:11px;font-weight:650}.prompt-template-trigger.ant-btn:hover{background:#f1efff;color:#5545bd}.composer-bottom .prompt-template-trigger.ant-btn{flex:none;margin-right:4px}.prompt-label-row{display:flex;align-items:center;justify-content:space-between}.prompt-label-row label{margin:0}.canvas-template-trigger.ant-btn{display:block;margin:-6px 0 2px auto}
.prompt-templates-dialog .dialog-head{margin-bottom:15px}.prompt-template-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 155px auto;align-items:center;gap:9px}.prompt-template-toolbar .ant-input{min-width:0}.prompt-template-toolbar .ant-btn{height:38px}.prompt-template-list{max-height:min(54vh,490px);overflow-y:auto;display:grid;gap:9px;margin-top:16px;padding-right:3px}.prompt-template-card{border:1px solid #e8e9f0;background:#fff;border-radius:12px;padding:13px 14px}.prompt-template-card-head{display:flex;align-items:center;gap:8px}.prompt-template-card-head strong{color:#343a54;font-size:13px}.prompt-template-card-head span{color:#7568d2;background:#f1efff;border-radius:20px;padding:3px 8px;font-size:10px}.prompt-template-card-head small{margin-left:auto;color:#a0a7b6}.prompt-template-card p{margin:8px 0 11px;color:#777f91;font-size:11px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.prompt-template-actions{display:flex;gap:7px}.prompt-template-actions button{border:0;border-radius:7px;padding:6px 10px;background:#f3f4f8;color:#636a80;font-size:11px;font-weight:600}.prompt-template-actions button:hover{background:#ebe9fa;color:#574ac2}.prompt-template-actions button:first-child{background:#edeafd;color:#574ac2}.prompt-template-actions button.danger:hover{background:#fff0f2;color:#c34d63}.prompt-template-empty{padding:28px 10px;text-align:center;color:#99a0b0;font-size:12px}.prompt-template-form{padding-top:15px}.prompt-template-form[hidden]{display:none}.prompt-template-form h3{margin:0;color:#343a54;font-size:15px}.prompt-template-form label{margin-top:11px}.prompt-template-form textarea{min-height:135px}.prompt-template-form .dialog-actions{margin-top:16px}@media(max-width:700px){.prompt-template-toolbar{grid-template-columns:1fr 140px}.prompt-template-toolbar #newPromptTemplate,.prompt-template-toolbar .ant-btn#newPromptTemplate{grid-column:1/-1}.prompt-template-list{max-height:42vh}}
.project-row{border-radius:9px;min-height:41px}.project-row.active{background:#e9e6fb;color:#5547c4}.conversation-row{min-height:34px;border-radius:8px}.sidebar-bottom{border-top:1px solid #e5e7f0}.model-indicator{background:#fff;border:1px solid #e8eaf1;border-radius:10px;padding:11px;box-shadow:0 3px 12px #2b355008}.model-indicator button.ant-btn{width:26px;height:26px;padding:0}.profile{border-top:1px solid #eaecf2;margin-top:9px;padding-top:13px}
.main{background:#fff}.topbar{height:67px;background:#fff;border-bottom:1px solid #eceef3;padding:0 32px}.breadcrumb{font-size:12px}.breadcrumb strong{color:#333a54}.top-actions .ant-btn{width:32px;height:32px;padding:0}.privacy-tag{border-radius:20px;padding:4px 10px;font-size:11px;font-weight:600;margin:0}.chat-content,.composer-region{max-width:860px}.chat-content{padding-left:32px;padding-right:32px}.welcome{transform:translateY(-8px)}.welcome-symbol{width:50px;height:50px;background:#efedfc;border-radius:15px}.welcome h1{font-size:32px;margin-top:14px}.welcome p{font-size:13px}.composer-region{padding:8px 32px 19px}.composer{border:1px solid #dfe2ec;border-radius:16px;padding:14px 16px 11px;box-shadow:0 12px 35px #343d6210}.composer:focus-within{border-color:#a79cf0;box-shadow:0 12px 35px #6053ce16}.composer textarea.ant-input{border:0!important;box-shadow:none!important;background:transparent!important;padding:2px 0;min-height:42px;font-size:13px;line-height:1.6;resize:none}.composer-model{gap:7px}.chat-model-antd{min-width:178px;font-size:11px}.chat-model-antd .ant-select-selector{border:0!important;box-shadow:none!important;background:#f5f4fd!important;border-radius:8px!important;height:31px!important}.composer .send-button.ant-btn{width:34px;height:34px;min-width:34px;padding:0;border-radius:10px;font-size:14px;box-shadow:0 4px 10px #6152ce30}.suggestion{border-radius:9px;padding:10px 13px}.message.user .bubble{background:#f0effb;border-radius:13px 13px 4px 13px;color:#454660}.message.assistant .assistant-mark{background:#eeecfb}.message.assistant .bubble{font-size:13px}
.auth-screen{background:radial-gradient(circle at 80% 12%,#ece9ff 0,transparent 34%),linear-gradient(160deg,#f7f8fc,#f2f4f9)}.auth-card{border:1px solid #e7e8f0;box-shadow:0 22px 70px #2b31501a}.auth-brand>span{background:linear-gradient(145deg,#7767e7,#584ac4)}.auth-intro h1{font-size:29px}.auth-tabs .ant-btn{flex:1;border-radius:0;box-shadow:none}.auth-tabs .ant-btn.active{border-bottom:2px solid var(--qy-primary);color:var(--qy-primary)}
input.ant-input.antd-control,textarea.ant-input.antd-control{border:1px solid #dfe2ec;border-radius:9px;box-shadow:none;min-height:38px;font-size:12px;background:#fff}input.ant-input.antd-control:focus,textarea.ant-input.antd-control:focus{border-color:#9589e7;box-shadow:0 0 0 3px #6053ce16}dialog input.ant-input.antd-control,dialog textarea.ant-input.antd-control{margin-top:8px;padding:10px 12px}.domain-input input.ant-input.antd-control{border:0!important;margin:0!important;box-shadow:none!important}.comfy-controls textarea.ant-input.antd-control{min-height:94px}.auth-card input.ant-input.antd-control{min-height:43px;padding:11px 13px}
dialog{border:1px solid #e5e7ef;box-shadow:0 24px 72px #222a4a2d}dialog::backdrop{background:#1d244b70;backdrop-filter:blur(2px)}.dialog-head h2{font-size:21px}.dialog-actions{align-items:center}.dialog-actions .ant-btn{min-width:82px}.ant-modal-confirm .ant-modal-content{border-radius:14px}.ant-modal-confirm-title{font-weight:700}.comfy-generate.ant-btn{height:43px;font-size:12px}.comfy-mode{border:1px solid #edeef5}.members-panel{border-color:#e8eaf0;box-shadow:0 6px 20px #313a5208}
@media(max-width:720px){.sidebar{width:min(292px,85vw)}.topbar{padding:0 16px;height:58px}.chat-content{padding:0 20px}.composer-region{padding:8px 13px 12px}.privacy-tag{display:none}.welcome h1{font-size:26px}.antd-select-chatModelSelect{min-width:140px}.chat-model-antd{min-width:140px}}
.qingyi-canvas-context-menu{position:fixed;z-index:1200;width:220px;padding:5px;background:#fff;border:1px solid #e8e9f1;border-radius:12px;box-shadow:0 16px 42px #30335135}.qingyi-canvas-context-menu .ant-menu{border:0!important;background:transparent}.qingyi-canvas-context-menu .ant-menu-item{height:36px;line-height:36px;margin:2px 0;width:100%;font-size:12px}.board-wash-progress{position:absolute;top:42px;left:10px;z-index:2;padding:6px 10px;border-radius:8px;background:#6053cee8;color:#fff;font-size:11px;font-weight:700;box-shadow:0 4px 12px #30268b33}
.chat-image-preview{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;margin:0 0 10px;padding:6px 8px 6px 6px;border:1px solid #e4e1f6;border-radius:10px;background:#faf9ff}.chat-image-preview[hidden]{display:none}.chat-image-preview img{width:54px;height:54px;object-fit:cover;border-radius:7px}.chat-image-preview span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#666b80;font-size:11px}.chat-image-preview button{border:0;background:transparent;color:#9a9db0;font-size:18px;line-height:1}.chat-image-preview button:hover{color:#bb5d70}.chat-user-image{display:block;max-width:min(260px,100%);max-height:260px;object-fit:contain;border-radius:9px;margin-bottom:8px}.composer-bottom #attachImageButton{width:31px;height:31px;min-width:31px;padding:0;border-radius:8px;color:#7064ca}.composer-bottom #attachImageButton:hover{background:#f1efff}
.board-edit-prompt{flex:none;max-height:220px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;white-space:pre-wrap;overflow-wrap:anywhere;padding:9px 12px;font-size:11px;line-height:1.55;color:#625889;background:#f6f3ff}

.qingyi-antd-dialog .ant-modal-content{padding:0;border:1px solid #e8e9f1;border-radius:20px;box-shadow:0 26px 80px #1e244638}
.qingyi-antd-dialog dialog{position:static;inset:auto;display:block;width:100%;max-width:none;max-height:none;margin:0;padding:28px;border:0;border-radius:20px;box-shadow:none;overflow:visible;background:transparent}
.qingyi-antd-dialog dialog:not([open]){display:none}
.qingyi-antd-dialog .ant-modal-body{max-height:min(86vh,840px);overflow:auto}
.qingyi-antd-dialog .dialog-head{margin-bottom:22px}
.qingyi-antd-dialog .dialog-head h2{font-size:22px;letter-spacing:-.35px}
.qingyi-antd-dialog .dialog-head p{line-height:1.6}
.qingyi-antd-dialog .dialog-x{width:30px;height:30px;border-radius:8px;font-size:20px;line-height:1}
.qingyi-antd-dialog .dialog-x:hover{background:#f4f3fa;color:#6053ce}
.qingyi-antd-dialog .dialog-actions{padding-top:16px;border-top:1px solid #f0f1f5}

.logo-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none;overflow:hidden}
.logo-upload-card{display:flex;align-items:stretch;gap:20px;min-height:154px;padding:15px;margin-top:12px;border:1px solid #e4e5ef;border-radius:16px;background:#fff;box-shadow:0 5px 18px #30335608}
.logo-upload-card.has-draft{border-color:#a99ee9;background:linear-gradient(110deg,#fff,#fbfaff)}
.logo-upload-visual{display:grid;place-items:center;width:128px;min-width:128px;border-radius:12px;background:linear-gradient(45deg,#f0f1f7 25%,transparent 25%),linear-gradient(-45deg,#f0f1f7 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f0f1f7 75%),linear-gradient(-45deg,transparent 75%,#f0f1f7 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;background-color:#fafafe}
.logo-upload-frame{display:grid;place-items:center;width:92px;height:92px;border:5px solid #fff;border-radius:24px;background:linear-gradient(145deg,#796ce0,#584bc3);box-shadow:0 8px 22px #28235424;overflow:hidden}
.logo-upload-frame img{display:block;width:100%;height:100%;object-fit:cover}
.logo-upload-frame img[hidden]{display:none}
.logo-upload-placeholder{color:#fff;font-size:42px;line-height:1}
.logo-upload-card.has-image .logo-upload-placeholder{display:none}
.logo-upload-content{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;padding:4px 0}
.logo-upload-eyebrow{display:inline-block;border-radius:100px;background:#f0eefc;color:#6356bf;padding:4px 9px;font-size:10px;font-weight:700;letter-spacing:.2px}
.logo-upload-card.has-draft .logo-upload-eyebrow{background:#e9f7ef;color:#28865a}
.logo-upload-content>strong{font-size:15px;line-height:1.3;color:#30364c}
.logo-upload-content p{font-size:11px;line-height:1.55;color:#8790a3;margin:0}
.logo-upload-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:5px}
.logo-upload-action{border:1px solid #dcd8f4;border-radius:8px;padding:8px 11px;background:#fff;color:#5f51c5;font-size:11px;font-weight:700;cursor:pointer}
.logo-upload-action:hover{border-color:#9788e5;background:#faf9ff}
.logo-upload-actions .primary{padding:9px 13px}
#enterpriseOnboardingForm .logo-upload-card{margin-top:10px}

.qingyi-modal-logoCropDialog .ant-modal-body{max-height:min(90vh,900px)}
.logo-crop-dialog .dialog-head{margin-bottom:18px}
.logo-crop-layout{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);align-items:start;justify-items:stretch;gap:22px}
.logo-crop-workarea{border-radius:14px;background:#f5f5f9;padding:10px;text-align:center}
.logo-crop-workarea canvas{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:10px;box-shadow:0 3px 14px #1b1f351a;cursor:grab;touch-action:none}
.logo-crop-workarea canvas:active{cursor:grabbing}
.logo-crop-workarea>span{display:block;margin:9px 0 1px;color:#9298a9;font-size:11px}
.logo-crop-side{display:flex;flex-direction:column;gap:20px;padding:8px 0}
.logo-crop-preview-group{padding:16px;border:1px solid #e7e8f0;border-radius:12px;background:#fafbff}
.logo-crop-preview-label{display:block;margin-bottom:15px;color:#424960;font-size:12px;font-weight:700}
.logo-crop-preview-row{display:flex;gap:16px;align-items:center}
.logo-crop-preview-row canvas{width:82px;height:82px;background:#fff;border:4px solid #fff;box-shadow:0 5px 16px #1e24421d}
#logoCropSquarePreview{border-radius:20px}
#logoCropRoundPreview{border-radius:50%}
.logo-crop-preview-group p{font-size:11px;line-height:1.5;color:#8e95a5;margin:12px 0 0}
.logo-crop-side label{display:grid;gap:11px;margin:0;font-size:12px}
.logo-crop-side input[type=range]{width:100%;padding:0;accent-color:#6053ce}
.logo-crop-tip{text-align:left;margin:0}
@media(max-width:700px){.qingyi-antd-dialog dialog{padding:20px}.logo-crop-layout{grid-template-columns:1fr;gap:12px}.logo-crop-workarea{max-width:390px;width:100%;margin:auto}.logo-crop-side{gap:12px}.logo-crop-preview-group{padding:12px}.logo-crop-preview-row canvas{width:64px;height:64px}.logo-upload-card{gap:12px;padding:11px}.logo-upload-visual{width:92px;min-width:92px}.logo-upload-frame{width:66px;height:66px;border-radius:18px}.logo-upload-placeholder{font-size:30px}}
