#root,body,html{height:100%}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto",sans-serif;-webkit-font-smoothing:antialiased}#root{min-height:100vh}.app-loading{align-items:center;display:flex;height:100vh;justify-content:center}.chat-app{height:100vh;height:100dvh;overflow:hidden}.chat-tabs{background:hsla(0,0%,100%,.86);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(226,232,240,.8);display:flex;flex-direction:column;height:100%;width:100%}.chat-tabs>.ant-tabs-nav{margin:0;padding:0 20px}.chat-tabs .ant-tabs-tab{font-size:15px;font-weight:500;padding:14px 18px}.chat-tabs .ant-tabs-tab-active,.chat-tabs .ant-tabs-tab-active .ant-tabs-tab-btn{color:#6366f1;font-weight:600}.chat-tabs .ant-tabs-ink-bar{background:linear-gradient(90deg,#6366f1,#22d3ee);height:3px!important}.chat-tabs>.ant-tabs-content-holder{flex:1 1;min-height:0}.chat-tabs>.ant-tabs-content-holder,.chat-tabs>.ant-tabs-content-holder>.ant-tabs-content,.chat-tabs>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{height:100%}.chat-panel{height:100%;min-height:0}.chat-desktop-sider,.chat-mobile-menu{display:none}.chat-content{background:radial-gradient(900px 500px at 85% -5%,rgba(99,102,241,.1),transparent 60%),radial-gradient(700px 420px at 0 100%,rgba(34,211,238,.1),transparent 60%),linear-gradient(180deg,#f7f9fd,#eef2f9);background-attachment:fixed;display:flex;flex-direction:column;height:100%;max-height:100%;min-height:0;min-width:0;overflow:hidden}.chat-header{background:hsla(0,0%,100%,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(226,232,240,.8);justify-content:space-between;padding:12px 20px;flex-shrink:0}.chat-header,.chat-header-left{align-items:center;display:flex}.chat-header-left{flex:1 1;min-width:0}.chat-session-title{color:#0f172a;font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header-right{align-items:center;display:flex;flex-shrink:0;margin-left:12px}.chat-menu-button{align-items:center;border-color:#e2e8f0;border-radius:10px;color:#475569;display:inline-flex;height:36px;justify-content:center;padding:0;width:36px}.chat-menu-button:hover{border-color:#22d3ee;color:#0891b2}.chat-messages{background:transparent;flex:1 1 auto;min-height:0;overflow:auto;padding:24px 28px}.chat-input{background:rgba(248,250,252,.7);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid rgba(226,232,240,.8);box-sizing:border-box;padding:14px 20px;flex:0 0 auto;z-index:5}.chat-right-drawer .ant-drawer-body{background:linear-gradient(180deg,#f7f9fd,#eef2f9);display:flex;flex-direction:column;padding:0}.drawer-tabs{background:hsla(0,0%,100%,.7);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid rgba(226,232,240,.8);flex-shrink:0;grid-gap:4px;gap:4px}.drawer-tab-item,.drawer-tabs{align-items:center;display:flex;padding:8px 12px}.drawer-tab-item{border-radius:8px;color:#475569;cursor:pointer;font-size:13px;grid-gap:6px;gap:6px;transition:all .2s ease;-webkit-user-select:none;user-select:none;white-space:nowrap}.drawer-tab-item:hover{background:rgba(34,211,238,.08);color:#0891b2}.drawer-tab-item.active{background:linear-gradient(135deg,rgba(99,102,241,.12),rgba(34,211,238,.12));color:#4f46e5;font-weight:600}.drawer-content{flex:1 1;overflow:auto;padding:16px}.drawer-tab-content{display:flex;flex-direction:column;grid-gap:16px;gap:16px}.drawer-tab-header{align-items:center;border-bottom:1px solid #f0f0f0;color:#262626;display:flex;font-size:16px;font-weight:600;grid-gap:8px;gap:8px;padding-bottom:12px}.drawer-tab-body{display:flex;flex-direction:column;grid-gap:12px;gap:12px}.drawer-placeholder{color:#8c8c8c;font-size:14px;margin:0;text-align:center}.message-composer{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 8px 24px rgba(15,23,42,.08);flex-direction:column;margin:0 auto;max-width:920px;padding:10px}.composer-row,.message-composer{display:flex;grid-gap:8px;gap:8px;width:100%}.composer-row{align-items:flex-end;min-width:0}.composer-row .ant-upload{display:block}.composer-icon-button,.composer-send-button{align-items:center;border-radius:50%;display:inline-flex;flex:0 0 40px;height:40px;justify-content:center;padding:0;width:40px}.composer-icon-button{background:#fff;border-color:#d1d5db;color:#475569}.composer-send-button{background:linear-gradient(135deg,#6366f1,#22d3ee);border:0;box-shadow:0 6px 16px rgba(99,102,241,.3);color:#fff}.composer-send-button:focus,.composer-send-button:hover{background:linear-gradient(135deg,#4f46e5,#06b6d4);color:#fff}.composer-textarea.ant-input{background:#fff;border-color:#dbe3ef;border-radius:14px;box-shadow:none;flex:1 1 auto;line-height:1.5;min-height:40px;min-width:0;padding:8px 12px;resize:none}.composer-textarea.ant-input-focused,.composer-textarea.ant-input:focus{border-color:#22d3ee;box-shadow:0 0 0 3px rgba(34,211,238,.15)}.composer-attachments{display:flex;flex-wrap:wrap;grid-gap:6px;gap:6px;min-width:0}.composer-attachment{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:999px;color:#334155;display:inline-flex;grid-gap:6px;gap:6px;max-width:100%;min-height:32px;min-width:0;padding:4px 4px 4px 10px}.composer-attachment-name{display:block;max-width:min(320px,72vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-panel{padding:16px}.new-conversation-button{background:linear-gradient(135deg,#6366f1,#22d3ee);border:0;border-radius:12px;box-shadow:0 6px 16px rgba(99,102,241,.28);color:#fff;font-weight:600;height:42px;margin-bottom:16px}.new-conversation-button:focus,.new-conversation-button:hover{background:linear-gradient(135deg,#4f46e5,#06b6d4);color:#fff}.wechat-message-list .ant-list-items{display:flex;flex-direction:column;grid-gap:18px;gap:18px}.message-row.ant-list-item{border:0;display:flex;padding:0}.message-row-user.ant-list-item{justify-content:flex-end}.message-row-assistant.ant-list-item{justify-content:flex-start}.message-stack{align-items:flex-start;display:flex;grid-gap:10px;gap:10px;max-width:min(78%,720px)}.message-row-user .message-stack{flex-direction:row-reverse}.message-avatar.ant-avatar{flex:0 0 40px;font-size:15px;font-weight:600;height:40px;line-height:40px;width:40px}.user-avatar.ant-avatar{background:linear-gradient(135deg,#6366f1,#818cf8);color:#fff}.assistant-avatar.ant-avatar{background:linear-gradient(135deg,#06b6d4,#22d3ee);color:#fff}.message-body{min-width:0}.message-row-user .message-body{align-items:flex-end;display:flex;flex-direction:column}.message-name{color:#94a3b8;font-size:12px;line-height:18px;margin-bottom:3px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-bubble-wrap{align-items:center;display:flex;grid-gap:6px;gap:6px}.message-row-user .message-bubble-wrap{flex-direction:row-reverse}.message-bubble{border-radius:14px;color:#1e293b;font-size:15px;line-height:1.65;max-width:100%;min-height:36px;padding:9px 14px;position:relative;touch-action:manipulation;-webkit-touch-callout:none;user-select:text;-webkit-user-select:text;white-space:pre-wrap;word-break:break-word}.message-bubble:before{border:6px solid transparent;content:"";position:absolute;top:14px}.assistant-bubble{background:hsla(0,0%,100%,.92);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(226,232,240,.9);box-shadow:0 4px 14px rgba(15,23,42,.06)}.assistant-bubble:before{border-right-color:hsla(0,0%,100%,.92);left:-12px}.user-bubble{background:#6366f1;border:0;box-shadow:0 6px 16px rgba(99,102,241,.22);color:#fff}.user-bubble:before{border-left-color:#6366f1;right:-12px}.message-delete.ant-btn{height:28px;min-width:28px;opacity:.5;padding:0}.message-delete.ant-btn:hover{opacity:1}.message-status{display:block;font-size:12px;margin-top:4px}.typing-indicator{align-items:center;display:inline-flex;grid-gap:5px;gap:5px;height:22px;min-width:42px}.typing-indicator span{animation:typing-bounce 1.2s ease-in-out infinite;background:#9ca3af;border-radius:50%;display:block;height:7px;width:7px}.typing-indicator span:nth-child(2){animation-delay:.15s}.typing-indicator span:nth-child(3){animation-delay:.3s}@keyframes typing-bounce{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}.conversation-item{background:hsla(0,0%,100%,.7);border:1px solid rgba(226,232,240,.8);border-radius:12px;cursor:pointer;margin-bottom:8px;padding:10px 12px;transition:all .18s ease}.conversation-item:hover{background:#fff;border-color:rgba(34,211,238,.5);box-shadow:0 6px 16px rgba(15,23,42,.06)}.conversation-item.active{border:1.5px solid transparent;box-shadow:0 8px 20px rgba(99,102,241,.15);background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#6366f1,#22d3ee) border-box}.conversation-item .ant-list-item-meta{min-width:0}.conversation-title-row{align-items:center;display:flex;grid-gap:8px;gap:8px;min-width:0}.conversation-title{color:#0f172a;flex:1 1 auto;font-size:14px;font-weight:600;line-height:22px;min-width:0}.conversation-time{color:#94a3b8;flex:0 0 auto;font-size:12px;line-height:20px}.conversation-meta{align-items:center;display:flex;grid-gap:6px;gap:6px;min-width:0}.conversation-agent{color:#64748b;display:block;font-size:13px;line-height:20px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-current{background:linear-gradient(135deg,#6366f1,#22d3ee);border:0;border-radius:999px;color:#fff;flex:0 0 auto;font-size:11px;font-weight:600;line-height:16px;padding:0 8px}.conversation-item .ant-list-item-action{margin-left:8px}.media-tab{box-sizing:border-box;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:24px;-webkit-overflow-scrolling:touch;width:100%;background:linear-gradient(rgba(99,102,241,.045) 1px,transparent 0),linear-gradient(90deg,rgba(99,102,241,.045) 1px,transparent 0),radial-gradient(1000px 480px at 85% -5%,rgba(99,102,241,.09),transparent 60%),radial-gradient(820px 480px at 6% 108%,rgba(34,211,238,.09),transparent 55%),linear-gradient(180deg,#f7f9fd,#eef2f9);background-size:44px 44px,44px 44px,auto,auto,auto}.media-tab::-webkit-scrollbar{width:8px}.media-tab::-webkit-scrollbar-thumb{background:rgba(100,116,139,.25);border-radius:4px}.media-tab::-webkit-scrollbar-track{background:transparent}.media-tab .ant-form-item-label>label{color:#475569;font-size:13px}.media-tab .ant-form-item-extra{color:#94a3b8}.media-tab .ant-select:not(.ant-select-customize-input) .ant-select-selector{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:12px;color:#0f172a;transition:border-color .2s ease,box-shadow .2s ease}.media-tab .ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:#67e8f9!important}.media-tab .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-color:#22d3ee!important;box-shadow:0 0 0 3px rgba(34,211,238,.15)!important}.media-tab .ant-select-selection-item{color:#0f172a}.media-tab .ant-select-arrow,.media-tab .ant-select-selection-placeholder{color:#94a3b8}.media-tab .ant-input{background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#0f172a}.media-tab .ant-input::placeholder{color:#94a3b8}.media-tab .ant-input:hover{border-color:#67e8f9}.media-tab .ant-input-focused,.media-tab .ant-input:focus{border-color:#22d3ee;box-shadow:0 0 0 3px rgba(34,211,238,.15)}.media-tab .ant-input-number{background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#0f172a;width:100%}.media-tab .ant-input-number:hover{border-color:#67e8f9}.media-tab .ant-input-number-focused,.media-tab .ant-input-number:focus{border-color:#22d3ee;box-shadow:0 0 0 3px rgba(34,211,238,.15)}.media-tab .ant-input-number-input{color:#0f172a}.media-tab .ant-input-number-handler-wrap{background:#f8fafc;border-left:1px solid #e2e8f0}.media-tab .ant-input-number-handler-down-inner,.media-tab .ant-input-number-handler-up-inner{color:#94a3b8}.media-tab .ant-segmented{background:rgba(15,23,42,.05);border-radius:12px;color:#64748b;padding:3px}.media-tab .ant-segmented-item{border-radius:9px}.media-tab .ant-segmented-item:hover{color:#0f172a}.media-tab .ant-segmented-item-selected{background:linear-gradient(135deg,#6366f1,#22d3ee);box-shadow:0 4px 12px rgba(56,189,248,.35);color:#fff}.media-tab .ant-segmented-item:has(.ant-segmented-item-input:checked){color:#fff}.media-tab .ant-segmented-thumb{background:linear-gradient(135deg,#6366f1,#22d3ee);border-radius:9px;box-shadow:0 4px 12px rgba(56,189,248,.35)}.media-tab .ant-radio-button-wrapper{background:#fff;border-color:#e2e8f0;color:#64748b}.media-tab .ant-radio-button-wrapper:first-child{border-radius:10px 0 0 10px}.media-tab .ant-radio-button-wrapper:last-child{border-radius:0 10px 10px 0}.media-tab .ant-radio-button-wrapper:hover{color:#0891b2}.media-tab .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){background:rgba(34,211,238,.1);border-color:#22d3ee;color:#0891b2}.media-tab .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#22d3ee}.media-tab .ant-btn{background:#fff;border-color:#e2e8f0;border-radius:10px;color:#475569}.media-tab .ant-btn:focus,.media-tab .ant-btn:hover{background:rgba(34,211,238,.06);border-color:#22d3ee;color:#0891b2}.media-tab .ant-btn-text{background:transparent;border-color:transparent}.media-tab .ant-btn-text:hover{background:rgba(255,77,79,.06)}.media-tab .ant-btn-dangerous{color:#ff4d4f}.media-tab .ant-alert{border-radius:12px}.media-tab .ant-typography{color:#334155}.media-tab .ant-typography-secondary{color:#94a3b8!important}.media-tab .ant-typography code{background:#f1f5f9;border:1px solid #e2e8f0;color:#0369a1}.media-tab .ant-typography a{color:#0891b2}.media-tab .ant-divider{border-color:#eef2f7}.media-tab .ant-progress-inner{background:#eef2f7}.media-tab .ant-progress-text{color:#64748b}.media-tab .ant-upload-list-item-name{color:#475569}.media-tab .ant-upload-list-item-info .anticon{color:#94a3b8}.media-tab .ant-upload-list-item:hover .ant-upload-list-item-info{background:#f8fafc}.media-tab .ant-upload-list-item-card-actions .anticon{color:#64748b}.media-tab .ant-upload-list-item-card-actions .anticon:hover{color:#ff4d4f}.mg-dropdown{background:#fff;border:1px solid #eef0f3;border-radius:12px;box-shadow:0 12px 32px rgba(15,23,42,.12);padding:6px}.mg-dropdown .ant-select-item{border-radius:8px;color:#334155;transition:background .15s ease}.mg-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled){background:rgba(99,102,241,.08)}.mg-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:rgba(34,211,238,.12);color:#0891b2;font-weight:500}.mg-dropdown .ant-select-item-option-disabled{color:#cbd5e1}.mg-dropdown .ant-empty-description{color:#94a3b8}.mg-studio{display:flex;flex-direction:column;grid-gap:20px;gap:20px;margin:0 auto;max-width:920px;width:100%}.mg-card{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:hsla(0,0%,100%,.86);border:1px solid rgba(226,232,240,.9);border-radius:20px;box-shadow:0 16px 40px rgba(15,23,42,.08),inset 0 1px 0 hsla(0,0%,100%,.6);padding:22px}.mg-hero{border-bottom:1px solid #eef2f7;flex-wrap:wrap;grid-gap:14px;gap:14px;justify-content:space-between;margin-bottom:18px;padding-bottom:16px}.mg-hero,.mg-hero-main{align-items:center;display:flex}.mg-hero-main{grid-gap:12px;gap:12px;min-width:0}.mg-hero-badge{align-items:center;background:linear-gradient(135deg,#6366f1,#22d3ee);border-radius:12px;box-shadow:0 6px 16px rgba(56,189,248,.35);color:#fff;display:inline-flex;flex-shrink:0;font-size:18px;height:40px;justify-content:center;width:40px}.mg-hero-title{background:linear-gradient(90deg,#6366f1,#06b6d4);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;font-size:19px;font-weight:700;letter-spacing:.5px}.mg-hero-sub{color:#94a3b8;font-size:12px;margin-top:2px}.mg-hero-side{align-items:center;display:flex;flex-wrap:wrap;grid-gap:10px;gap:10px}.mg-quota{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:999px;color:#64748b;display:inline-flex;font-size:12px;grid-gap:6px;gap:6px;padding:4px 12px;white-space:nowrap}.mg-quota-dot{background:#10b981;border-radius:50%;box-shadow:0 0 6px rgba(16,185,129,.6);display:inline-block;height:6px;width:6px}.mg-quota.danger{border-color:rgba(255,77,79,.4);color:#ef4444}.mg-quota.danger .mg-quota-dot{background:#ff4d4f;box-shadow:0 0 6px rgba(255,77,79,.6)}.mg-quota.warning{border-color:rgba(250,173,20,.45);color:#d97706}.mg-quota.warning .mg-quota-dot{background:#faad14;box-shadow:0 0 6px rgba(250,173,20,.6)}.mg-prompt-card{margin-top:4px}.mg-prompt-card .mg-prompt-label{align-items:center;color:#475569;display:flex;font-size:13px;font-weight:600;grid-gap:6px;gap:6px;letter-spacing:.3px;margin-bottom:8px}.mg-prompt-card .mg-prompt-label .anticon{color:#06b6d4}.mg-prompt-textarea.ant-input{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;box-shadow:none;color:#0f172a;font-size:15px;line-height:1.7;padding:14px 16px;resize:none;transition:border-color .2s ease,box-shadow .2s ease}.mg-prompt-textarea.ant-input::placeholder{color:#94a3b8}.mg-prompt-textarea.ant-input-focused,.mg-prompt-textarea.ant-input:focus{background:#fff;border-color:#22d3ee;box-shadow:0 0 0 3px rgba(34,211,238,.15),0 8px 24px rgba(34,211,238,.1)}.mg-params{display:flex;flex-wrap:wrap;grid-gap:12px 16px;gap:12px 16px;margin-top:14px}.mg-params>.ant-form-item{flex:1 1 180px;margin-bottom:0;min-width:0}.mg-params>.ant-form-item .ant-input-number,.mg-params>.ant-form-item .ant-select{width:100%}.mg-ratio-item{margin-bottom:0;margin-top:14px}.mg-ratio-grid{display:flex;flex-wrap:wrap;grid-gap:8px;gap:8px}.mg-ratio-chip{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#64748b;cursor:pointer;display:flex;flex-direction:column;grid-gap:6px;gap:6px;justify-content:center;min-width:58px;padding:9px 10px;transition:all .18s ease}.mg-ratio-chip:hover{border-color:#67e8f9;color:#0f172a;transform:translateY(-1px)}.mg-ratio-chip.active{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#6366f1,#22d3ee) border-box;border:1px solid transparent;box-shadow:0 6px 16px rgba(56,189,248,.22);color:#0891b2}.mg-ratio-box{border:1.5px solid;border-radius:3px;display:block}.mg-ratio-label{font-size:12px;letter-spacing:.2px}.mg-advanced{margin-top:10px}.mg-advanced .ant-collapse{background:transparent;border:0}.mg-advanced .ant-collapse>.ant-collapse-item{border:0}.mg-advanced .ant-collapse-header{align-items:center;color:#94a3b8;display:flex;font-size:13px;padding:8px 0!important}.mg-advanced .ant-collapse-header:hover{color:#475569}.mg-advanced .ant-collapse-content{background:transparent;border-top:1px dashed #e2e8f0}.mg-advanced .ant-collapse-content>.ant-collapse-content-box{padding:12px 0 4px}.mg-advanced .ant-form-item{margin-bottom:12px}.mg-upload{margin-top:12px}.mg-upload-cards{display:flex;flex-wrap:wrap;grid-gap:12px;gap:12px}.mg-upload .ant-upload{display:block}.mg-upload-add,.mg-upload-card{background:#f8fafc;border:1.5px dashed #cbd5e1;border-radius:14px;height:104px;position:relative;width:104px}.mg-upload-card{background:#fff;overflow:hidden}.mg-upload-card.error{border-color:#ff4d4f}.mg-upload-card img{cursor:zoom-in;display:block;height:100%;object-fit:cover;width:100%}.mg-upload-card-loading{color:#94a3b8;font-size:20px;height:100%;width:100%}.mg-upload-add,.mg-upload-card-loading{align-items:center;display:flex;justify-content:center}.mg-upload-add{cursor:pointer;flex-direction:column;grid-gap:6px;gap:6px;transition:all .2s ease}.mg-upload-add:hover{background:rgba(34,211,238,.06);border-color:#22d3ee}.mg-upload-add:hover .mg-upload-add-icon,.mg-upload-add:hover .mg-upload-add-text{color:#0891b2}.mg-upload-add-icon{color:#06b6d4;font-size:22px;transition:color .2s ease}.mg-upload-add-text{color:#64748b;font-size:12px;transition:color .2s ease}.mg-upload-tip{color:#94a3b8;font-size:12px;margin-top:8px}.mg-upload-remove{align-items:center;background:rgba(15,23,42,.75);border:0;border-radius:0 12px 0 10px;color:#fff;cursor:pointer;display:flex;font-size:11px;height:24px;justify-content:center;position:absolute;right:0;top:0;transition:background .15s ease;width:24px}.mg-upload-remove:hover{background:rgba(255,77,79,.95)}.mg-actions{align-items:center;display:flex;grid-gap:12px;gap:12px;margin-top:18px}.mg-primary-btn.ant-btn{background:linear-gradient(135deg,#6366f1,#22d3ee);border:0;border-radius:14px;box-shadow:0 10px 24px rgba(79,140,246,.32);flex:1 1;font-size:15px;font-weight:600;height:48px;letter-spacing:1px;transition:all .2s ease}.mg-primary-btn.ant-btn:focus,.mg-primary-btn.ant-btn:hover{background:linear-gradient(135deg,#7578f7,#38dcf5);box-shadow:0 14px 30px rgba(79,140,246,.42);transform:translateY(-1px)}.mg-primary-btn.ant-btn[disabled],.mg-primary-btn.ant-btn[disabled]:hover{background:#e2e8f0;box-shadow:none;color:#94a3b8;transform:none}.mg-result-card{background:hsla(0,0%,100%,.9);border:1px solid rgba(226,232,240,.9);border-radius:20px;box-shadow:0 12px 32px rgba(15,23,42,.07);margin-top:16px;padding:18px}.mg-result-title{color:#0f172a;font-size:14px;font-weight:600;letter-spacing:.3px}.mg-result-grid{display:grid;grid-gap:14px;gap:14px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));margin-top:12px}.mg-result-card .ant-card{background:#f8fafc;border:1px solid #eef0f3;border-radius:14px}.mg-result-card .ant-card-body{padding:10px}.mg-result-image{border-radius:10px;cursor:zoom-in;max-height:220px;object-fit:contain;width:100%}.mg-result-actions{display:flex;flex-wrap:wrap;grid-gap:6px;gap:6px;margin-top:10px}.mg-video-card video{border-radius:12px;display:block;margin:0 auto 12px;max-width:640px;width:100%}.mg-status-tag{border-radius:6px;font-weight:500}.mg-history{display:flex;flex-direction:column;grid-gap:12px;gap:12px}.mg-history-head{align-items:center;display:flex;justify-content:space-between}.mg-history-title{align-items:center;color:#0f172a;display:flex;font-size:16px;font-weight:600;grid-gap:8px;gap:8px}.mg-history-title:before{background:linear-gradient(180deg,#6366f1,#22d3ee);border-radius:2px;content:"";display:inline-block;height:14px;width:4px}.media-history{margin-top:0}.media-history-grid{display:grid;grid-gap:14px;gap:14px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.media-history-card{background:hsla(0,0%,100%,.9);border:1px solid rgba(226,232,240,.9);border-radius:16px;box-shadow:0 4px 14px rgba(15,23,42,.05);min-width:0;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.media-history-card:hover{border-color:rgba(34,211,238,.5);box-shadow:0 12px 28px rgba(15,23,42,.1),0 0 20px rgba(34,211,238,.1);transform:translateY(-2px)}.media-history-card .ant-card-body{padding:12px}.mg-hist-preview{display:flex;justify-content:center;margin-bottom:10px}.mg-hist-preview .media-history-image,.mg-hist-preview .media-history-video{border:0;border-radius:10px;height:auto;max-height:none;width:70%}.mg-hist-tags{align-items:center;display:flex;flex-wrap:wrap;grid-gap:4px;gap:4px}.mg-hist-tags .mg-hist-del{flex-shrink:0;margin-left:auto;opacity:.45;transition:opacity .15s ease}.media-history-card:hover .mg-hist-tags .mg-hist-del{opacity:1}.mg-hist-prompt{color:#334155;font-size:13px;line-height:1.5;margin:8px 0 0!important}.media-history-task{margin-top:8px}.mg-hist-taskid{background:#f8fafc;border:1px solid #eef0f3;border-radius:6px;font-size:11px;max-width:100%;overflow:hidden;padding:1px 6px;text-overflow:ellipsis;white-space:nowrap}.media-history-image,.media-history-video{background:#f8fafc;border:1px solid #eef0f3;border-radius:10px;display:block;max-height:200px;object-fit:contain;width:100%}.media-history-meta{display:flex;flex-direction:column;grid-gap:2px;gap:2px;margin-top:0}.media-history-meta .ant-typography{font-size:11px}@media (max-width:767px){.chat-tabs>.ant-tabs-nav{padding:0 12px}.chat-panel{height:100%;min-height:0}.chat-header{padding:10px 12px}.chat-messages{padding:12px 16px}.chat-input{background:#fff;padding:10px 10px calc(10px + env(safe-area-inset-bottom))}.message-composer{border-radius:16px;box-shadow:0 6px 18px rgba(15,23,42,.1);padding:8px}.composer-row{grid-gap:7px;gap:7px}.composer-icon-button,.composer-send-button{flex-basis:38px;height:38px;width:38px}.composer-textarea.ant-input{border-radius:13px;min-height:38px}.composer-attachment-name{max-width:calc(100vw - 120px)}.media-tab{padding:12px}.media-tab .ant-card,.media-tab .ant-form-item,.media-tab .ant-input,.media-tab .ant-input-number,.media-tab .ant-radio-group,.media-tab .ant-select{max-width:100%}.media-tab .ant-input-number{width:100%}.mg-studio{grid-gap:14px;gap:14px}.mg-card{border-radius:16px;padding:16px 14px}.mg-hero{grid-gap:10px;gap:10px;margin-bottom:14px;padding-bottom:12px}.mg-hero-badge{border-radius:10px;font-size:16px;height:34px;width:34px}.mg-hero-title{font-size:16px}.mg-hero-sub{font-size:11px}.mg-params{flex-direction:column;grid-gap:12px;gap:12px}.mg-params>.ant-form-item{flex:1 1 100%}.mg-ratio-chip{min-width:52px;padding:8px}.mg-prompt-textarea.ant-input{border-radius:13px;padding:12px 14px}.mg-primary-btn.ant-btn{width:100%}.mg-video-card video{max-width:100%}.media-history-grid{grid-template-columns:1fr}}.message-image{border-radius:12px;box-shadow:0 4px 14px rgba(15,23,42,.12);cursor:zoom-in;display:block;height:auto;margin:6px 0;max-height:480px;max-width:min(360px,100%);object-fit:contain;transition:transform .18s ease,box-shadow .18s ease;width:auto}.message-image:hover{box-shadow:0 8px 22px rgba(99,102,241,.2);transform:translateY(-2px)}
/*# sourceMappingURL=main.72286d62.chunk.css.map */