.composer-refined .chat-composer-wrap{background:#222325;border-color:#393b40;padding:18px 20px 14px;border-radius:20px;box-shadow:none}.composer-refined .studio-mode-tabs,.composer-refined .live-chat-picker,.composer-refined .current-mode{display:none!important}.composer-refined .chat-input-row{min-height:94px;gap:17px;align-items:flex-start;flex-wrap:wrap}.composer-refined #chat-input{display:none!important}.rich-prompt{flex:1;min-width:0;min-height:80px;max-height:190px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.85 "Microsoft YaHei",sans-serif;color:#edf0f4;border:0;outline:none!important;padding:2px 0;cursor:text}.rich-prompt[data-empty=true]:before{content:attr(data-placeholder);color:#8c8e94;pointer-events:none}.rich-prompt[contenteditable=false]{opacity:.6}.composer-refined .chat-composer-wrap:focus-within{border-color:#586860}.composer-refined .chat-composer-footer{border:0;margin:8px 0 0;padding:7px 0 0;align-items:center;flex-wrap:wrap;gap:10px}.composer-refined .chat-tools{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.composer-refined .composer-actions{margin-left:auto;gap:13px}.composer-refined .send-button{min-width:35px!important;width:35px!important;height:35px;border-radius:50%!important;padding:0;flex:0 0 35px;background:#ddf0e7}.composer-refined .studio-submit-label{display:none}.composer-refined .generation-cost{font-size:11px}.composer-refined #parameters-toggle,.composer-mode-button{background:transparent!important;border:0!important;color:#c9ccce!important;border-radius:7px;height:31px;padding:0 8px;font:12px "Microsoft YaHei",sans-serif;cursor:pointer;white-space:nowrap}.composer-mode-button{color:#a7e8d0!important;font-size:13px}.composer-refined #parameters-toggle:hover,.composer-mode-button:hover{background:#ffffff0b!important}.composer-refined #mention-toggle{padding:0 7px;color:#c1c5c8;height:30px}.composer-refined #mention-toggle span{display:none}.composer-refined #mention-toggle b{font-size:17px}.composer-refined .chat-context-tools{display:flex;margin:5px 0 0 0;font-size:10px;gap:5px;color:#9ba79f}.composer-refined .chat-compatibility{font-size:10px;margin:4px 0 0;line-height:1.6;color:#8e9791}.composer-refined .agent-status-error{font-size:11px;margin:7px 0;padding:8px 10px}.draft-retry{font-size:11px;color:#dbeae1;background:#35463c;border:1px solid #52675a;border-radius:6px;padding:5px 10px;cursor:pointer}
.composer-media-tray{display:flex;align-items:flex-start;gap:7px;max-width:42%;min-width:0;flex:0 0 auto;position:relative}.composer-media-tray #attached-references{display:flex!important;align-items:flex-start;gap:8px;padding:0;margin:0;flex-wrap:wrap;max-width:100%;overflow:visible;min-width:0}.composer-refined .composer-media-tile.reference-chip{position:relative;display:block;background:none;border:0;border-radius:0;padding:7px 2px 5px;margin:0;flex:none;width:56px;height:76px;overflow:visible}.composer-refined .media-view{display:block;padding:0;border:1px solid #929895;border-radius:4px;width:50px;height:62px;transform:rotate(-5deg);background:#343638;cursor:pointer;position:relative;overflow:hidden}.media-view:hover{transform:none;border-color:#d1f5e4}.media-thumb{display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}.media-thumb img,.media-thumb video{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:cover}.media-fallback{color:#b5c3bd;font-size:23px}.media-index{position:absolute;bottom:1px;left:3px;background:#17241abf;color:white;font-size:9px;border-radius:2px;padding:0 3px}.composer-refined .media-remove{position:absolute;right:-2px;top:0;width:22px;height:22px;line-height:18px;z-index:4;border-radius:50%;border:1px solid #9aa49d;background:#353b37;color:#fff;font-size:17px;padding:0;cursor:pointer;opacity:1;box-shadow:0 1px 4px #0008}.composer-refined .media-remove:hover{background:#644848;border-color:#e9b1ad}.composer-refined .media-remove:focus-visible{outline:2px solid #b5ecd2;outline-offset:2px}.composer-refined .media-add-badge{position:absolute;bottom:3px;right:-3px;background:#4b504d;border:1px solid #717972;border-radius:50%;width:20px;height:20px;text-align:center;color:#e6ede8;line-height:17px;font-size:17px;cursor:pointer;padding:0;z-index:3}.composer-refined .chat-upload{width:43px;min-width:43px;height:59px;flex-basis:43px;background:#373a3c;border:1px solid #565b57;border-radius:4px;transform:rotate(5deg)!important;font-size:23px;color:#afb6b1;margin-top:7px}.composer-media-tray:not(.has-media) .chat-upload{transform:rotate(-6deg)!important}.composer-media-tray.has-media .chat-upload{margin-left:3px}
.inline-media-token{display:inline-flex;align-items:center;vertical-align:middle;gap:3px;height:25px;padding:2px 5px 2px 2px;border:1px solid #46574e;border-radius:5px;background:#303e36;user-select:all;margin:0 3px;max-width:50px;white-space:nowrap}.inline-media-thumb{width:21px;height:21px;display:grid;place-items:center;border-radius:3px;overflow:hidden}.inline-media-thumb img,.inline-media-thumb video{width:100%;height:100%;object-fit:cover}.inline-media-thumb .media-fallback{font-size:16px}.inline-media-token small{font-size:10px;color:#bcdbca;pointer-events:none}.composer-media-preview{position:fixed;z-index:160;width:250px;max-width:calc(100vw - 16px);background:#181c19;border:1px solid #555f58;border-radius:10px;padding:8px;box-shadow:0 12px 40px #0007;color:#dbe5de}.media-preview-title{display:block;font:10px "Microsoft YaHei",sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 7px}.media-preview-content{display:grid;place-items:center;min-height:100px;max-height:210px;font:12px "Microsoft YaHei",sans-serif}.media-preview-content :is(img,video){display:block;max-width:100%;max-height:200px;object-fit:contain}.media-preview-content audio{width:100%;height:38px}.composer-refined .reference-menu{position:fixed;z-index:130;background:#27282a;border:1px solid #4d5250;border-radius:12px;padding:13px;overflow:auto;box-shadow:0 15px 40px #0005}.reference-heading{font-size:12px;display:block;margin-bottom:9px}.reference-picker-list{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:4px}.composer-refined .reference-option{display:flex;gap:10px;align-items:center;width:100%;border:0;background:transparent;color:#ccd3ce;padding:7px;border-radius:7px;text-align:left;cursor:pointer}.reference-option:hover{background:#3a453f}.reference-picker-thumb{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border-radius:5px;overflow:hidden;background:#414743}.reference-picker-thumb img,.reference-picker-thumb video{width:100%;height:100%;object-fit:cover}.reference-name{flex:1;min-width:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.composer-mode-menu{position:fixed;z-index:135;background:#292a2c;border:1px solid #414443;border-radius:12px;padding:9px;box-shadow:0 15px 40px #0005;color:#dddfe0;font-family:"Microsoft YaHei",sans-serif;overflow:auto}.composer-mode-menu>small{display:block;padding:5px 8px 8px;font-size:10px;color:#939a96}.composer-mode-choice{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;border:0;border-radius:7px;background:transparent;color:inherit;font:13px "Microsoft YaHei",sans-serif;cursor:pointer}.composer-mode-choice b{margin-left:auto;font-weight:400}.composer-mode-choice[aria-checked=true]{background:#424846}.composer-mode-choice:hover{background:#39453e}.composer-mode-choice:disabled{opacity:.4}.composer-mode-menu button:focus-visible{outline:2px solid #a4dfc4;outline-offset:-2px}
.composer-refined .custom-preferences{z-index:135;background:#292a2c;border:1px solid #444a46;border-radius:16px;padding:16px;color:#d5dad6;overflow:auto;box-shadow:0 16px 50px #0006;font-family:"Microsoft YaHei",sans-serif}.custom-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.custom-heading strong{font-weight:500;font-size:13px}.custom-heading .studio-close{font-size:19px;width:23px;height:23px}.custom-media-tabs{display:flex;background:#3b3d3e;border-radius:8px;padding:3px;margin-bottom:16px}.custom-media-tabs button{width:50%;height:31px;border:0;background:none;color:#bbc2bd;border-radius:6px;font:12px "Microsoft YaHei",sans-serif;cursor:pointer}.custom-media-tabs button[aria-selected=true]{background:#505553;color:#fafdfa}.custom-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 11px;align-items:start}.custom-model-field,.custom-way-field,.custom-agent-model{display:grid;gap:8px;font-size:10px;color:#929b95;min-width:0}.custom-model-field{order:1}.custom-way-field{order:0;grid-column:1/-1}.custom-model-field select,.custom-way-field select,.custom-agent-model select,.custom-preferences .studio-param-group>select:not([data-param=ratio]):not([data-param=videoRatio]){display:block!important;width:100%;min-width:0;height:35px;border:1px solid #4b514d;border-radius:7px;padding:0 9px;background:#3a3d3b;color:#e0e7e2;font:11px "Microsoft YaHei",sans-serif}.custom-model-search{width:100%;min-width:0;border:0;border-bottom:1px solid #484e49;padding:5px 2px;background:transparent;color:#c9d8ce;font-size:10px;border-radius:0}.custom-preferences .studio-param-group{margin:0;min-width:0;padding:0;border:0;order:2}.custom-preferences .studio-param-group legend{font-size:10px;color:#929b95;margin-bottom:8px}.custom-preferences .studio-param-group:has([data-param=ratio]),.custom-preferences .studio-param-group:has([data-param=videoRatio]){grid-column:1/-1;order:0}.custom-preferences .studio-param-group:not(:has([data-param=ratio])):not(:has([data-param=videoRatio]))>.studio-param-choices{display:none}.custom-preferences .studio-param-choices.studio-ratios{display:flex;flex-wrap:wrap;gap:2px;background:#3a3d3b;padding:3px;border-radius:9px}.custom-preferences .studio-param-choice{border:0;border-radius:7px;background:transparent;flex:1 0 45px;height:52px;font-size:10px;padding:7px 5px;color:#cbd2cd;gap:5px}.custom-preferences .studio-param-choice[aria-pressed=true]{background:#545b57;color:#fff}.custom-preferences .studio-ratio-shape{border-color:#d4dfd6!important;transform:scale(.65)}.custom-preferences .studio-custom-size,.custom-preferences .live-more,.custom-preferences .live-param-note{grid-column:1/-1;order:5;margin:0;font-size:10px}.custom-preferences .live-more summary,.custom-preferences .studio-custom-size summary{font-size:11px}.custom-preferences .live-dimensions{margin-top:10px}.custom-agent-model{border-top:1px solid #424a44;margin-top:15px;padding-top:12px;grid-template-columns:65px 1fr;align-items:center}.custom-note,.custom-empty{font-size:10px;color:#9daa9f;line-height:1.7;margin:11px 0 0}.custom-empty{grid-column:1/-1}
@media(max-width:760px){.composer-refined .chat-composer-wrap{padding:14px 12px 12px;border-radius:16px}.composer-refined .chat-input-row{min-height:103px;gap:11px;flex-wrap:wrap}.composer-media-tray{max-width:100%;max-height:none;flex:0 0 auto}.composer-media-tray #attached-references{max-width:100%}.rich-prompt{min-width:160px;min-height:75px;font-size:13px;max-height:120px}.composer-media-tray.has-media{flex-basis:100%}.composer-refined .chat-composer-footer{margin-top:7px;gap:7px}.composer-refined .chat-tools{gap:1px}.composer-mode-button{font-size:11px;padding:0 5px}.composer-refined #parameters-toggle{font-size:11px;padding:0 6px}.composer-refined #mention-toggle{padding:0 5px}.composer-refined .composer-actions{gap:8px}.composer-refined .generation-cost{font-size:10px}.composer-refined .send-button{width:31px!important;height:31px;min-width:31px!important;flex-basis:31px}.composer-refined .chat-context-tools{font-size:9px}.composer-refined .chat-compatibility{font-size:9px}.composer-refined .media-remove{opacity:1}.composer-refined .custom-preferences{padding:13px;border-radius:13px}.custom-settings-grid{gap:10px}.custom-preferences .studio-param-choice{flex-basis:38px;height:46px;font-size:9px}.custom-model-field select,.custom-way-field select,.custom-agent-model select{font-size:10px}.composer-media-preview{width:215px}.media-preview-content :is(img,video){max-height:150px}}
@media(prefers-reduced-motion:reduce){.composer-refined *{scroll-behavior:auto!important;transition:none!important}}

.composer-media-tray #attached-references:empty{display:none!important}.custom-preferences select:disabled{opacity:.5;cursor:not-allowed}
.composer-refined .reference-chip button{margin-left:0}.composer-refined .media-add-badge{border-radius:50%;padding:0}.composer-refined .media-remove{border-radius:50%;padding:0}
.composer-media-tray.has-many{max-width:100%;flex-basis:100%}.composer-media-tray.has-many .composer-media-tile{width:48px;height:64px}.composer-media-tray.has-many .media-view{width:42px;height:50px}.composer-media-tray.has-many .chat-upload{height:49px}.composer-media-tray.has-lots .composer-media-tile{width:40px;height:54px}.composer-media-tray.has-lots .media-view{width:34px;height:42px}.composer-media-tray.has-lots .chat-upload{height:41px}.composer-media-tray.has-lots #attached-references{gap:6px}.composer-media-tray.has-lots .media-remove{width:20px;height:20px;font-size:15px}
.composer-refined .reference-menu{overflow-x:hidden;overflow-y:auto}.composer-refined .reference-option{min-width:0;max-width:100%}.reference-option[aria-selected=true]{background:#3a453f}.reference-empty{font-size:12px;line-height:1.7;color:#aebcb3;margin:3px 0 7px;overflow-wrap:anywhere}
.custom-preferences .custom-inline-dimensions{grid-column:1/-1;order:4;display:grid;gap:8px;margin:0;padding:2px 0 0;font-size:11px;color:#aeb8b1}.custom-inline-dimensions>div{display:flex;max-width:100%;width:100%;min-width:0;gap:9px}.custom-inline-dimensions .dimension-input{display:flex;flex:1;align-items:center;gap:6px;min-width:0;border:1px solid #4b514d;border-radius:7px;background:#363b38;padding:0 9px;height:35px}.custom-inline-dimensions .dimension-input input{flex:1;min-width:0;width:100%;border:0;background:transparent;padding:4px 0;color:#edf3ef;font-size:12px}.dimension-input small{color:#8f9d93;font-size:10px}.dimension-input:focus-within{border-color:#9dd9ba}.dimension-input:has(input:disabled){opacity:.5}
.composer-refined .conversation-mode-icon{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;flex:0 0 17px}.composer-refined .conversation-mode-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.composer-refined .composer-mode-button{display:inline-flex;align-items:center;gap:6px}.composer-refined .conversation-tool{display:inline-flex;align-items:center;gap:6px;max-width:100%;height:32px;padding:0 9px;background:#303234;border:1px solid transparent;border-radius:8px;color:#e3e6e4;font:12px "Microsoft YaHei",sans-serif;white-space:nowrap;cursor:pointer}.composer-refined .conversation-tool:hover,.composer-refined .conversation-tool[aria-expanded=true]{background:#404341;border-color:#626a65}.composer-refined .conversation-tool:disabled{opacity:.45;cursor:not-allowed}.composer-refined .conversation-tool[hidden],.composer-refined #parameters-toggle[hidden]{display:none!important}.composer-refined .conversation-model-name{max-width:210px;overflow:hidden;text-overflow:ellipsis}.composer-refined .conversation-chevron{font-size:12px;color:#9da6a0}.composer-refined .conversation-popover{position:fixed;z-index:136;box-sizing:border-box;background:#292a2c;border:1px solid #454b47;border-radius:16px;padding:14px;color:#e1e5e2;box-shadow:0 16px 50px #0006;overflow-x:hidden;overflow-y:auto;font:12px "Microsoft YaHei",sans-serif;overscroll-behavior:contain}.composer-refined .conversation-popover-title{display:block;color:#9ba49f;font-size:11px;margin:0 0 10px}.composer-refined .conversation-model-search{width:100%;box-sizing:border-box;background:#353836;border:1px solid #4a504c;border-radius:8px;padding:9px 10px;color:#edf1ee;font:12px "Microsoft YaHei",sans-serif;margin-bottom:8px}.composer-refined .conversation-model-list{display:grid;gap:4px}.composer-refined .conversation-model-option{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:12px 10px;text-align:left;background:transparent;border:0;border-radius:10px;color:#e9eeeb;cursor:pointer}.composer-refined .conversation-model-option>.conversation-mode-icon{width:36px;height:36px;flex-basis:36px;background:#414542;border-radius:8px;padding:8px;box-sizing:border-box}.composer-refined .conversation-model-copy{display:grid;gap:5px;min-width:0}.composer-refined .conversation-model-copy strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.composer-refined .conversation-model-copy small{font-size:10px;color:#a3aea7;line-height:1.5;overflow-wrap:anywhere}.composer-refined .conversation-check{margin-left:auto;flex:none;font-size:15px}.composer-refined :is(.conversation-model-option,.conversation-way-option)[aria-checked=true]{background:#414642}.composer-refined :is(.conversation-model-option,.conversation-way-option):hover:not(:disabled){background:#3a413c}.composer-refined :is(.conversation-model-option,.conversation-way-option):disabled{opacity:.42;cursor:not-allowed}.composer-refined .conversation-way-option{display:flex;align-items:center;gap:8px;width:100%;padding:11px 10px;background:none;border:0;border-radius:8px;color:inherit;font:12px "Microsoft YaHei",sans-serif;text-align:left;cursor:pointer}.composer-refined .conversation-way-option small{font-size:10px;white-space:normal;color:#b0bab3}.composer-refined .conversation-basic-title{margin-top:12px;padding-top:12px;border-top:1px solid #414742}.composer-refined .conversation-popover .studio-param-group{margin:0 0 17px;padding:0;border:0;min-width:0}.composer-refined .conversation-popover .studio-param-group legend{font-size:11px;color:#9ba49f;margin-bottom:9px}.composer-refined .conversation-popover .studio-param-choices{display:flex;flex-wrap:wrap;gap:4px;background:#373b38;border-radius:9px;padding:4px}.composer-refined .conversation-popover .studio-param-choice{flex:1 0 45px;min-width:0;padding:9px 6px;height:35px;border:1px solid transparent;border-radius:7px;background:transparent;color:#ccd4ce;font:11px "Microsoft YaHei",sans-serif;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}.composer-refined .conversation-popover .studio-ratios .studio-param-choice{height:57px;flex-direction:column;gap:8px}.composer-refined .conversation-popover .studio-param-choice[aria-pressed=true]{background:#565f58;border-color:#777f79;color:#fff}.composer-refined .conversation-popover .studio-param-choice:disabled{opacity:.4;cursor:not-allowed}.composer-refined .conversation-popover .studio-ratio-shape{border-color:#c9d4cc!important;transform:scale(.75)}.composer-refined .conversation-popover .live-param-note,.composer-refined .conversation-empty{color:#a0aea4;font-size:10px;line-height:1.7;margin:4px 0}.composer-refined .conversation-duration{border:0;padding:0;margin:0;min-width:0;grid-column:1/-1;order:3}.composer-refined .conversation-duration legend{font-size:11px;color:#a2ada6;margin-bottom:15px}.composer-refined .conversation-duration-row{display:flex;align-items:center;gap:14px}.composer-refined .conversation-duration input[type=range]{appearance:none;-webkit-appearance:none;flex:1;min-width:0;height:5px;padding:0;border:0;border-radius:4px;background:linear-gradient(to right,#b1dfc6 var(--duration-fill),#515753 var(--duration-fill));cursor:pointer}.composer-refined .conversation-duration input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:15px;height:15px;border-radius:50%;background:#e6f2eb;box-shadow:0 1px 4px #0006}.composer-refined .conversation-duration output{min-width:55px;padding:5px 8px;border-radius:7px;background:#3b413d;color:#eff4f0;text-align:center;font-size:12px}.composer-refined .conversation-duration-limits{display:flex;justify-content:space-between;margin:12px 70px 0 0;color:#98a49c;font-size:10px}.composer-refined .conversation-duration small{display:block;margin-top:10px;color:#98a49c;font-size:10px}.composer-refined :is(.conversation-tool,.conversation-popover button,.conversation-popover input):focus-visible{outline:2px solid #a4dfc4;outline-offset:2px}
@media(max-width:760px){.composer-refined .conversation-tool{font-size:11px;padding:0 7px;height:30px}.composer-refined .conversation-model-name{max-width:175px}.composer-refined .chat-tools{row-gap:6px}.composer-refined .conversation-popover{padding:12px}.composer-refined .conversation-popover .studio-param-choice{flex-basis:38px}}

/* Scoped to the conversation page. Canvas and home do not use this template. */
.composer-refined .chat-composer-wrap{background:linear-gradient(135deg,#1c1d1e,#242526);border:1px solid #36383a;border-radius:23px;padding:16px 18px 13px;box-shadow:none}
.composer-refined .chat-input-row{min-height:78px;gap:17px;align-items:flex-start}
.composer-refined .rich-prompt{min-height:70px;font-size:14px;line-height:1.8;padding-top:2px;color:#ededee}
.composer-refined .rich-prompt[data-empty=true]:before{color:#777a7d}
.composer-refined .chat-upload{width:48px;min-width:48px;flex-basis:48px;height:63px;margin-top:3px;background:#2c2d2e;border:1px solid #373a3c;color:#85898b;border-radius:3px}
.composer-refined .chat-composer-footer{margin-top:9px;padding-top:2px;gap:10px;align-items:center}
.composer-refined .chat-tools{gap:3px;row-gap:6px;align-items:center;flex:0 1 auto}
.composer-refined :is(.conversation-tool,#composer-mode-button){height:32px;padding:0 8px;border:0!important;border-radius:7px;background:transparent!important;color:#e7e9ea!important;font-size:12px;font-weight:500;gap:5px}
.composer-refined #composer-mode-button{padding-left:4px;color:#35bcff!important}
.composer-refined #composer-mode-button .conversation-mode-icon{width:16px;height:16px;flex-basis:16px}
.composer-refined #composer-mode-button .conversation-chevron{color:#35bcff}
.composer-refined :is(.conversation-tool,#composer-mode-button):hover,.composer-refined :is(.conversation-tool,#composer-mode-button)[aria-expanded=true]{background:#ffffff0b!important}
.composer-refined .conversation-cube-icon{width:15px;height:15px;flex-basis:15px}
.composer-refined .conversation-model-name{max-width:245px;font-weight:600}
.composer-refined .conversation-chevron{font-size:11px;color:#8d9397;margin-left:1px}
.composer-refined .conversation-ratio-icon{display:block;box-sizing:border-box;width:12px;height:12px;flex:none;border:1.3px solid #dfe3e5;border-radius:2px}
.composer-refined .conversation-parameter-summary{white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis}
.composer-refined #mention-toggle{height:32px;width:30px;padding:0;display:inline-flex;justify-content:center;align-items:center;color:#e5e7e9}
.composer-refined #mention-toggle b{font-size:16px;font-weight:500}
.composer-refined .composer-actions{margin-left:auto;gap:9px}
.composer-refined .generation-cost{font-size:11px;color:#999da0;white-space:nowrap}
.composer-refined .send-button{width:33px!important;min-width:33px!important;height:33px;flex-basis:33px;background:#e9e9e9!important;color:#292b2c!important;border-radius:50%!important;display:flex;align-items:center;justify-content:center}
.composer-refined .send-button svg{width:19px;height:19px;display:block;stroke:currentColor}
.composer-refined .send-button:disabled{opacity:1;background:#414345!important;color:#8b8e90!important}
.composer-refined .conversation-control-parking[hidden]{display:none!important}
.composer-refined .conversation-popover{background:#27282a;border:1px solid #3b3e40;border-radius:18px;padding:15px 12px;box-shadow:0 16px 45px #0005;color:#e7e8e9}
.composer-refined .conversation-popover-title{font-size:12px;color:#929598;margin:0 5px 10px;font-weight:400}
.composer-refined .conversation-model-search{font-size:11px;background:transparent;border:0;border-bottom:1px solid #3b3e40;border-radius:0;margin:0 5px 7px;width:calc(100% - 10px);height:29px;padding:4px 0;color:#ddd}
.composer-refined .conversation-model-search::placeholder{color:#797d80}
.composer-refined .conversation-model-option{padding:10px 7px;gap:12px;min-height:66px;border-radius:11px}
.composer-refined .conversation-model-option>.conversation-mode-icon{width:43px;height:43px;flex-basis:43px;padding:11px;border:1px solid #414446;border-radius:10px;background:transparent;color:#e2e4e5}
.composer-refined .conversation-model-option[aria-checked=true]{background:#3a3c3e}
.composer-refined .conversation-model-option[aria-checked=true]>.conversation-mode-icon{background:#494c4e;border-color:#494c4e}
.composer-refined .conversation-model-copy{gap:5px}
.composer-refined .conversation-model-copy strong{font-size:14px;font-weight:600;line-height:1.3}
.composer-refined .conversation-model-copy small{font-size:12px;line-height:1.4;color:#93979a}
.composer-refined .conversation-check{padding:0 5px;color:#eef1f2;font-size:17px}
.composer-refined .conversation-image-parameters{padding:15px 12px 18px}
.composer-refined .conversation-image-parameters .studio-param-group{margin:0 0 19px}
.composer-refined .conversation-image-parameters .studio-param-group:last-of-type{margin-bottom:0}
.composer-refined .conversation-image-parameters .studio-param-group legend{font-size:12px;color:#93979a;margin:0 0 10px;padding:0}
.composer-refined .conversation-image-parameters .studio-param-choices{gap:3px;padding:3px;border-radius:12px;background:#37393b}
.composer-refined .conversation-image-parameters .studio-param-choice{font-size:12px;height:36px;background:transparent;border:0;border-radius:9px;color:#e3e5e6;font-weight:500}
.composer-refined .conversation-image-parameters .studio-ratios .studio-param-choice{height:58px;gap:8px;flex-basis:40px;padding:8px 2px;min-width:0}
.composer-refined .conversation-image-parameters .studio-param-choice[aria-pressed=true]{background:#505356;color:#fff;border:0;box-shadow:none}
.composer-refined .conversation-image-parameters .studio-param-choice[aria-pressed=true]:disabled{opacity:1;cursor:default}
.composer-refined .conversation-image-parameters .studio-ratio-shape{border-color:#e6e8e9!important;transform:scale(.65)}
.composer-refined .conversation-popover .chat-context-tools{border-top:1px solid #3c4042;margin:16px 2px 0;padding-top:12px;font-size:11px;color:#9da3a6;gap:7px}
.composer-refined .conversation-popover .chat-context-tools input{accent-color:#7fa8bc}
.composer-refined .conversation-popover .chat-context-tools[hidden]{display:none!important}
@media(max-width:760px){
 .composer-refined .chat-composer-wrap{padding:14px 12px 12px;border-radius:20px}
 .composer-refined .chat-input-row{min-height:79px;gap:13px}
 .composer-refined .rich-prompt{font-size:13px;min-height:68px}
 .composer-refined :is(.conversation-tool,#composer-mode-button){font-size:11px;padding:0 5px;height:30px}
 .composer-refined .conversation-model-name{max-width:190px}
 .composer-refined .conversation-model-copy strong{font-size:13px}
 .composer-refined .conversation-model-copy small{font-size:11px}
 .composer-refined .conversation-image-parameters .studio-ratios{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
 .composer-refined .conversation-image-parameters .studio-ratios .studio-param-choice{width:100%}
 .composer-refined .conversation-parameter-summary{max-width:190px}
}

.composer-refined .conversation-model-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 4px 6px}.composer-refined .conversation-model-heading .conversation-popover-title{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-refined .conversation-search-toggle{width:26px;height:26px;display:grid;place-items:center;padding:5px;border:0;border-radius:6px;background:transparent;color:#92989c;cursor:pointer;flex:none}.composer-refined .conversation-search-toggle:hover{background:#3a3e40;color:#eee}.composer-refined .conversation-search-toggle svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round}.composer-refined .conversation-model-search[hidden]{display:none!important}

/* Shared generation confirmation: explicit cancellation only. */
.task-cancel-dialog{width:min(390px,calc(100vw - 40px));box-sizing:border-box;border:1px solid #444;border-radius:16px;padding:24px;background:#252525;color:#f2f2f2;box-shadow:0 24px 70px #0006;font:14px/1.65 Inter,"Microsoft YaHei",sans-serif}
.task-cancel-dialog::backdrop{background:#0006}.task-cancel-dialog h3{font-size:17px;margin:0 0 12px}.task-cancel-dialog p{color:#bfbfbf;margin:8px 0}.task-cancel-dialog .task-cancel-warning{color:#f2dbac}.task-cancel-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.task-cancel-actions button,.turn-cancel{border:1px solid #555;border-radius:8px;padding:7px 14px;background:#363636;color:#eee;cursor:pointer;font:inherit}.task-cancel-actions .task-cancel-confirm{background:#eee;color:#222;border-color:#eee}.task-cancel-actions button:focus-visible,.turn-cancel:focus-visible{outline:2px solid #bbb;outline-offset:3px}.turn-cancel{font-size:12px;margin:4px 0 12px}.turn-cancel[hidden]{display:none}
body[data-account-theme=light] .task-cancel-dialog{background:#fff;color:#202020;border-color:#d3d3d3}body[data-account-theme=light] .task-cancel-dialog p{color:#555}body[data-account-theme=light] .task-cancel-dialog .task-cancel-warning{color:#755515}

.composer-drop-active{outline:2px solid #69a8b5!important;outline-offset:-2px;background:color-mix(in srgb,#69a8b5 10%,transparent)}.document-reference-preview{max-width:360px;max-height:300px;white-space:pre-wrap;overflow:auto;font-size:13px;line-height:1.7;margin:0;padding:12px;color:inherit}
