
/* Personal models and the composer model/effort picker. */
.cw-model-control{position:relative;min-width:0}.cw-model-trigger{display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:8px 4px;color:#465363;font:inherit;font-size:12px;cursor:pointer}.cw-model-trigger>span{max-width:205px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cw-model-trigger small{color:#8b94a0;font-size:11px}.cw-model-trigger svg{width:13px;height:13px}.cw-model-menu{position:absolute;z-index:15;right:0;bottom:calc(100% + 17px);width:338px;max-height:min(520px,65dvh);overflow:auto;background:#fff;border:1px solid #e2e7ef;border-radius:17px;box-shadow:0 14px 60px #20335324;text-align:left}.cw-menu-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 17px 8px;font-size:13px}.cw-menu-heading button{border:0;background:transparent;font-size:22px;color:#7b8798;cursor:pointer}.cw-model-list{max-height:170px;overflow:auto;padding:4px 7px 8px}.cw-model-list>button{width:100%;border:0;background:transparent;padding:10px;display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;cursor:pointer;border-radius:9px;color:#4d5c72}.cw-model-list>button:hover{background:#f5f7fc}.cw-model-list>button[aria-checked=true]{background:#eef3ff;color:#285cff}.cw-model-list b{display:block;font-size:12px;font-weight:600}.cw-model-list small{display:block;font-size:10px;color:#8691a1;margin-top:4px;overflow-wrap:anywhere}.cw-model-list>p{font-size:12px;padding:8px 10px;color:#7b8798;line-height:1.8}.cw-effort{border-top:1px solid #edf0f5;padding:15px 17px}.cw-effort>div:first-child{display:flex;justify-content:space-between;font-size:12px;color:#465363}.cw-effort output{color:#285cff}.cw-effort input[type=range]{display:block;width:100%;accent-color:#2c5eff;cursor:pointer;margin:19px 0 8px;height:16px}.cw-effort-labels{display:flex;justify-content:space-between;font-size:11px;color:#8290a3}.cw-effort p{font-size:10px;line-height:1.7;color:#8792a2;margin:12px 0 0}.cw-cache-label{display:flex;align-items:center;justify-content:space-between;margin-top:18px;font-size:12px;color:#5c6a80}.cw-cache-label select{font:inherit;font-size:11px;border:1px solid #e4e9f1;border-radius:7px;background:#fafbfd;padding:5px 9px;color:#4b5a70}.cw-manage-models{display:block;width:100%;border:0;border-top:1px solid #edf0f5;background:#fafbfd;padding:13px 17px;text-align:left;color:#536b9b;font:inherit;font-size:12px;cursor:pointer}.cw-usage{font-size:10px;color:#8a94a2;line-height:1.7;margin-top:16px}.cw-stop{font-size:14px}.cw-stop:hover{background:#1d47b9}
.ms-page{max-width:1150px;margin:0 auto;padding:26px 10px 60px;color:#273448}.ms-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:34px}.ms-eyebrow{font-size:12px;color:#7f8ea5}.ms-heading h1{font-size:29px;font-weight:550;letter-spacing:-.5px;margin:14px 0 12px}.ms-heading p{font-size:14px;color:#7e8ba0;margin:0}.ms-heading>.btn{font-size:12px;flex-shrink:0;background:transparent}.ms-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:24px;align-items:start}.ms-sidebar{padding:12px 0}.ms-sidebar h2{font-size:11px;font-weight:500;color:#8b98aa;padding:0 15px;margin:0 0 16px}.ms-sidebar>button{border:0;background:transparent;display:flex;align-items:center;gap:12px;width:100%;padding:15px;border-radius:13px;text-align:left;cursor:pointer;color:#4a5b74}.ms-sidebar>button[aria-pressed=true]{background:white;box-shadow:0 3px 16px #526c8f09;color:#2458f2}.ms-provider-icon{flex-shrink:0;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#e2e9fa;color:#4e6caa;font-size:20px;font-weight:650}.ms-provider-icon.kimi{background:#20242b;color:white}.ms-provider-icon.deepseek,.ms-provider-icon.doubao{background:transparent}.ms-provider-icon img{display:block;width:100%;height:100%;object-fit:contain}.ms-provider-icon.deepseek img{width:94%;height:94%}.ms-sidebar b{font-size:14px;display:block}.ms-sidebar small{font-size:11px;color:#8995a5;display:block;margin-top:5px}.ms-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#c5cedc}.ms-dot.ready{background:#40a58a}.ms-sidebar>p{padding:20px 15px;font-size:11px;line-height:1.9;color:#8f9bae}.ms-panel{background:#fff;border:1px solid #e2e8f1;border-radius:21px;padding:30px 32px;box-shadow:0 5px 24px #324c7704}.ms-panel-title{display:flex;align-items:start;justify-content:space-between;gap:20px;padding-bottom:23px;border-bottom:1px solid #eef1f6;margin-bottom:25px}.ms-panel-title h2{font-size:21px;font-weight:600;margin:0 0 8px}.ms-panel-title p{font-size:12px;color:#8793a5;margin:0}.ms-panel a{color:#5072a7;font-size:12px;text-decoration:none}.ms-panel-title a{padding-top:6px;white-space:nowrap}.ms-panel fieldset{border:0;padding:0;margin:0;min-width:0}.ms-field{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#53647d;min-width:0}.ms-field input,.ms-field select,.ms-add-row select,.ms-actions select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dfe5ef;background:white;border-radius:9px;padding:11px 12px;font:inherit;font-size:13px;color:#34465f;outline-offset:3px}.ms-field input:focus,.ms-field select:focus{outline:2px solid #839df7;border-color:#839df7}.ms-field input::placeholder{color:#a4aebc;font-size:12px}.ms-saved{margin-left:10px;font-size:10px;font-weight:400;color:#4b9e83}.ms-hint{font-size:11px;color:#8e9aab;line-height:1.8;margin:10px 0 0}.ms-model-heading{display:flex;align-items:center;justify-content:space-between;margin:29px 0 17px;gap:10px}.ms-model-heading h3{font-size:13px;font-weight:600;margin:0;color:#465b79}.ms-model-heading small{font-size:10px;color:#98a3b2;font-weight:400;margin-left:8px}.ms-model-heading button{font-size:11px}.ms-model-rows{display:flex;flex-direction:column;gap:15px}.ms-model-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) 26px;align-items:end;gap:12px;padding:16px;background:#f8fafd;border:1px solid #edf0f5;border-radius:12px}.ms-model-row .ms-field>span{font-size:10px;color:#8592a6}.ms-remove{border:0;background:transparent;height:37px;color:#9ca7b6;font-size:24px;cursor:pointer}.ms-remove:hover{color:#c35454}.ms-endpoint{grid-column:1/3}.ms-add-row{display:flex;align-items:center;gap:12px;margin-top:15px}.ms-add-row select{font-size:11px;padding:10px;flex:1;background:#fcfdff}.ms-add-row button{font-size:11px;flex-shrink:0}.ms-actions{display:flex;align-items:center;gap:10px;margin-top:27px;flex-wrap:wrap}.ms-actions .btn{font-size:12px;flex-shrink:0}.ms-actions select{width:auto;max-width:220px;font-size:11px;padding:9px}.ms-feedback{min-height:20px;font-size:12px;line-height:1.8;color:#4c927b;margin:18px 0 8px}.ms-feedback.is-error{color:#ba5147}.ms-panel-footer{border-top:1px solid #edf1f5;padding-top:18px;display:flex;justify-content:space-between;align-items:center}.ms-danger{color:#a88080;font-size:11px}.ms-page button:focus-visible{outline:2px solid #6d8fee;outline-offset:3px}.ms-page button:disabled{opacity:.5;cursor:default}
@media(max-width:900px){.ms-page{padding:16px 0 35px}.ms-layout{grid-template-columns:180px minmax(0,1fr);gap:16px}.ms-panel{padding:22px}.ms-heading h1{font-size:24px}.ms-model-row{grid-template-columns:minmax(0,1fr) 24px}.ms-model-row>.ms-field:first-child{grid-column:1}.ms-model-row>.ms-field:nth-child(2){grid-column:1;grid-row:2}.ms-remove{grid-column:2;grid-row:1/3;align-self:center}.ms-endpoint{grid-column:1/3}}
@media(max-width:600px){.cw-model-trigger{gap:5px;font-size:11px}.cw-model-trigger>span{max-width:145px}.cw-model-trigger small{font-size:10px}.cw-model-menu{position:fixed;left:16px;right:16px;bottom:160px;width:auto;max-height:calc(100dvh - 190px)}.cw-model-list{max-height:145px}.ms-heading{align-items:start;gap:10px;margin:14px 0 20px}.ms-heading h1{font-size:20px;line-height:1.5;margin:9px 0}.ms-heading p{font-size:12px}.ms-heading>.btn{font-size:10px;padding:7px}.ms-layout{display:block}.ms-sidebar{display:flex;gap:5px;padding:0;margin-bottom:16px}.ms-sidebar h2,.ms-sidebar>p,.ms-dot{display:none}.ms-sidebar>button{padding:10px 7px;gap:7px;border-radius:10px;min-width:0}.ms-provider-icon{width:27px;height:27px;font-size:15px;border-radius:7px}.ms-sidebar b{font-size:11px}.ms-sidebar small{font-size:9px;margin-top:3px;white-space:nowrap}.ms-panel{padding:20px 16px;border-radius:16px}.ms-panel-title{gap:8px}.ms-panel-title h2{font-size:19px}.ms-panel-title p{font-size:11px;line-height:1.7}.ms-panel-title a{font-size:10px}.ms-add-row{gap:6px}.ms-add-row .btn{padding:8px;font-size:10px}.ms-actions{gap:7px}.ms-actions .btn{font-size:11px}.ms-actions select{max-width:100%}.ms-panel-footer a{font-size:10px}.ms-panel-footer button{font-size:10px;padding-right:0}}
#copywriter-root{height:100%}
.dash-wrap.copywriter-page{max-width:none;padding:16px 30px 22px;min-height:0}.copywriter-page .dash-footer{display:none}.copywriter-page #page-content{height:calc(100dvh - 126px);min-height:540px}.cw-workspace{height:100%;position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #e5e9ef;border-radius:22px;box-shadow:0 4px 22px #27477803;overflow:hidden;color:#25282e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}.cw-topline{display:flex;align-items:center;justify-content:space-between;padding:22px 28px;gap:12px;flex-shrink:0}.cw-eyebrow{font-size:12px;color:#727d8b;border-right:1px solid #dce1e7;padding-right:13px;margin-right:13px}.cw-title{font-size:14px;font-weight:600}.cw-top-actions{display:flex;gap:14px}.cw-text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;color:#687280;font:inherit;font-size:13px;padding:6px 8px;cursor:pointer;border-radius:7px;white-space:nowrap}.cw-text-button:hover{background:#f3f5f8;color:#1b4ed8}.cw-text-button:disabled{opacity:.4;cursor:default}.cw-top-actions svg{width:17px;height:17px}.cw-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.cw-welcome{height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px 24px 54px;text-align:center}.cw-welcome img{border-radius:19px;box-shadow:0 8px 24px #2956ff0b;margin-bottom:27px}.cw-welcome h1{font-size:clamp(23px,2.05vw,34px);letter-spacing:-.8px;font-weight:500;line-height:1.5;margin:0 0 13px;color:#292d33}.cw-welcome p{font-size:14px;line-height:1.85;color:#76808d;margin:0}.cw-mobile-break{display:none}.cw-compose-wrap{width:min(920px,calc(100% - 80px));margin:0 auto;padding:0 0 14px;flex-shrink:0}.cw-composer{border:1px solid #dfe3e9;border-radius:23px;box-shadow:0 5px 24px #1c2c4610;background:#fff;padding:18px 18px 13px;transition:border-color .15s,box-shadow .15s}.cw-composer:focus-within{border-color:#a7b8e4;box-shadow:0 5px 26px #2851b310}.cw-composer.drag-over{border:2px dashed #285cff;background:#f4f7ff}.cw-composer textarea{display:block;border:0;outline:0!important;box-shadow:none!important;background:transparent;resize:vertical;width:100%;min-height:75px;max-height:190px;padding:2px 5px 13px;font:inherit;font-size:15px;line-height:1.8;color:#293340}.cw-composer textarea::placeholder{color:#89919b}.cw-composer textarea:disabled{background:transparent;opacity:.65}.cw-compose-tools,.cw-right-tools{display:flex;align-items:center;gap:12px}.cw-compose-tools{justify-content:space-between}.cw-add{border:0;background:transparent;display:inline-flex;gap:8px;align-items:center;padding:7px 6px;color:#5f6b7b;font:inherit;font-size:13px;cursor:pointer;border-radius:8px}.cw-add:hover{background:#f3f5f8}.cw-add svg{color:#29323e;width:22px;height:22px}.cw-icon{border:0;background:transparent;color:#3c4652;width:36px;height:36px;padding:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%}.cw-icon:hover{background:#f0f3f7}.cw-icon.listening{color:#d74646;background:#fff0f0;animation:cw-pulse 1s infinite}.cw-icon.listening svg{stroke-width:2}.cw-send{display:flex;align-items:center;justify-content:center;background:#2c5eff;color:#fff;border:0;border-radius:50%;height:36px;width:36px;cursor:pointer;transition:background .15s,transform .15s}.cw-send:hover{background:#1846dd}.cw-send:active{transform:scale(.96)}.cw-send:disabled{background:#e9edf3;color:#9ba5b4;cursor:default}.cw-model-label{display:flex;align-items:center;position:relative;color:#45505f}.cw-model-label select{appearance:none;background:none;border:0;padding:8px 23px 8px 8px;max-width:190px;cursor:pointer;font:inherit;font-size:13px;color:inherit;outline-offset:2px}.cw-model-label>svg{width:14px;height:14px;position:absolute;right:4px;pointer-events:none}.cw-tool-separator{width:1px;height:18px;background:#e6e9ee;margin:0 2px}.cw-compose-meta{display:flex;justify-content:space-between;gap:10px;margin:12px 6px 0;font-size:11px;color:#7d8794}.cw-feedback{min-height:18px;margin:7px 6px 0;font-size:12px;color:#687585}.cw-feedback.is-error{color:#ba3c35}.cw-history{position:absolute;z-index:5;right:26px;top:68px;width:300px;max-height:65%;overflow:auto;border:1px solid #e3e7ed;border-radius:15px;padding:15px;background:#fff;box-shadow:0 12px 40px #2033531a}.cw-history-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:14px}.cw-history>button{width:100%;display:flex;flex-direction:column;gap:5px;text-align:left;border:0;background:transparent;padding:12px;border-radius:8px;cursor:pointer;color:#384559}.cw-history>button:hover,.cw-history>button.active{background:#f2f5fc}.cw-history>button>span{max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cw-history small,.cw-history p{font-size:12px;color:#7b8492}.cw-messages{width:min(850px,calc(100% - 80px));margin:8px auto 28px}.cw-turn{margin:0 0 36px}.cw-user{max-width:85%;width:fit-content;margin-left:auto;border-radius:19px 19px 5px 19px;padding:14px 18px;line-height:1.8;background:#f2f4f8;color:#343d49;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.cw-assistant{display:flex;gap:15px;margin-top:23px}.cw-assistant>img{flex-shrink:0;border-radius:9px;margin-top:4px}.cw-answer{flex:1;min-width:0}.cw-answer-by{font-size:12px;color:#4e5969;margin-bottom:12px;font-weight:600}.cw-answer-by span{font-weight:400;color:#8b94a0}.cw-answer-content{font-size:14px;line-height:1.95;overflow-wrap:anywhere}.cw-answer-content h3{font-size:15px;margin:16px 0 7px;font-weight:650}.cw-answer-content h3:first-child{margin-top:0}.cw-answer-actions{display:flex;gap:12px;margin-top:13px}.cw-answer-actions .cw-text-button{font-size:12px;padding-left:0}.cw-answer-actions svg{width:15px;height:15px}.cw-message-files{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px;font-size:12px;color:#68778a}.cw-message-files span{display:flex;align-items:center;gap:4px}.cw-message-files svg{width:14px;height:14px}.cw-attachments{display:flex;gap:9px;flex-wrap:wrap;margin:0 3px 14px}.cw-file-chip{display:flex;align-items:center;border:1px solid #e4e8ee;border-radius:11px;background:#f8f9fb;max-width:100%}.cw-file-chip button{border:0;background:transparent;display:flex;align-items:center;padding:9px;gap:8px;cursor:pointer;color:#56657a;min-width:0}.cw-file-chip button:first-child{max-width:245px}.cw-file-chip span{min-width:0;display:flex;flex-direction:column;text-align:left;gap:3px}.cw-file-chip b{font-size:12px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cw-file-chip small{font-size:10px;color:#7e8998}.cw-file-chip svg{flex-shrink:0}.cw-file-chip button:last-child svg{width:15px;height:15px}.cw-preview{max-width:720px;width:calc(100% - 32px);max-height:80dvh;border:1px solid #e0e5ed;border-radius:16px;padding:24px}.cw-preview::backdrop{background:#172a4933}.cw-preview-head{display:flex;justify-content:space-between;align-items:center}.cw-preview-head h2{font-size:17px;overflow-wrap:anywhere}.cw-preview-head button{border:0;background:transparent;cursor:pointer}.cw-preview>p{font-size:12px;color:#788497}.cw-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.9}.cw-thinking{display:flex;align-items:center;gap:5px;height:35px}.cw-thinking>span:not(.cw-thinking-label){width:5px;height:5px;border-radius:50%;background:#7287ba;animation:cw-pulse 1.2s infinite}.cw-thinking>span:nth-child(2){animation-delay:.2s}.cw-thinking>span:nth-child(3){animation-delay:.4s}.cw-thinking-label{margin-left:6px;font-size:13px;color:#77859b}.cw-failure{font-size:13px;color:#b64f45}.cw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.cw-workspace button:focus-visible,.cw-workspace select:focus-visible{outline:2px solid #6d8fee;outline-offset:3px}.cw-workspace button:disabled{cursor:default;opacity:.6}@keyframes cw-pulse{50%{opacity:.35}}@media(min-width:1600px){.cw-compose-wrap{width:1020px}.cw-welcome{padding-bottom:80px}}@media(max-width:900px){.dash-wrap.copywriter-page{padding:12px 16px}.copywriter-page #page-content{height:calc(100dvh - 155px);min-height:530px}.cw-welcome h1{font-size:26px}.cw-compose-wrap{width:calc(100% - 48px)}.cw-messages{width:calc(100% - 48px)}}@media(max-width:600px){.dash-wrap.copywriter-page{padding:8px}.copywriter-page #page-content{height:calc(100dvh - 154px);min-height:520px}.cw-workspace{border-radius:15px}.cw-topline{padding:16px 13px}.cw-eyebrow{display:none}.cw-top-actions{gap:2px}.cw-top-actions .cw-text-button{font-size:11px;gap:4px;padding:5px}.cw-welcome{padding:20px 12px 32px}.cw-welcome img{width:54px;height:54px;border-radius:15px;margin-bottom:22px}.cw-welcome h1{font-size:23px;letter-spacing:-.5px;line-height:1.6}.cw-welcome p{font-size:12px}.cw-mobile-break{display:block}.cw-compose-wrap{width:calc(100% - 24px);padding-bottom:7px}.cw-composer{padding:14px 11px 11px;border-radius:18px}.cw-composer textarea{font-size:14px;min-height:80px}.cw-add span{display:none}.cw-right-tools{gap:5px}.cw-model-label select{max-width:160px;font-size:12px}.cw-compose-meta{font-size:10px;justify-content:center}.cw-compose-meta span:last-child{display:none}.cw-feedback{font-size:11px}.cw-messages{width:calc(100% - 26px)}.cw-user{max-width:92%;font-size:13px}.cw-assistant{gap:9px}.cw-assistant>img{width:25px;height:25px}.cw-answer-content{font-size:13px}.cw-history{right:12px;width:min(300px,calc(100% - 24px))}}@media(prefers-reduced-motion:reduce){.cw-workspace *{animation:none!important;transition:none!important}}

.cw-model-menu{max-height:min(420px,calc(100dvh - 300px))}.cw-cache-label{white-space:nowrap;gap:20px}.cw-cache-label select{width:auto;min-width:100px}.cw-model-menu input[type=range]{min-height:16px;padding:0;border:0;box-shadow:none}.cw-model-list{flex-shrink:0}@media(max-width:600px){.cw-model-menu{max-height:calc(100dvh - 270px);bottom:155px}}
.cw-model-menu{display:flex;flex-direction:column;overflow:hidden}.cw-menu-heading{flex-shrink:0;padding-top:10px;padding-bottom:6px}.cw-menu-heading button{line-height:24px;padding:0 3px}.cw-model-list{flex:1 1 auto;min-height:75px;max-height:150px}.cw-effort{flex-shrink:0;padding:12px 17px}.cw-manage-models{flex-shrink:0;padding:11px 17px}
.cw-md-table-wrap{max-width:100%;overflow-x:auto;margin:14px 0;border:1px solid #dfe5ef;border-radius:10px}.cw-md-table{width:100%;min-width:580px;table-layout:fixed;border-collapse:collapse;font-size:inherit}.cw-md-table th,.cw-md-table td{padding:10px 12px;border-bottom:1px solid #e7ebf2;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.cw-md-table th{background:#f5f7fb;font-weight:600}.cw-md-table tr:last-child td{border-bottom:0}.cw-md-align-left{text-align:left}.cw-md-align-center{text-align:center}.cw-md-align-right{text-align:right}.cw-md-list{margin:10px 0;padding-left:24px}.cw-md-list li+li{margin-top:5px}

