.task-create-topbar{justify-content:flex-start!important;padding:0 32px!important}
.task-create-topbar a{font-size:14px;font-weight:600;color:#656778}
.workspace-body.no-sidebar:has(.ai-create-page) .shell{max-width:none;padding:0;background:#f7f8fb}
.ai-create-page{width:min(100%,920px);min-height:calc(100dvh - 58px);margin:0 auto;padding:32px 24px 24px;display:flex;flex-direction:column}
.ai-create-intro{text-align:center;margin:auto auto 0;max-width:680px}
.ai-create-intro h1{margin:0 0 12px;color:#25262e;font-size:36px;line-height:40px;letter-spacing:-.04em;font-weight:700;text-wrap:balance}
.ai-create-intro p{margin:0;color:#777a87;font-size:16px;line-height:24px;text-wrap:pretty}
.ai-create-voice{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;margin:32px auto auto}
.ai-voice-button{display:grid;place-items:center;width:96px;height:96px;border:0;border-radius:50%;background:#252633;color:#fff;box-shadow:0 16px 40px #25263326;cursor:pointer;transition:transform .5s cubic-bezier(.22,1,.36,1),background-color .3s cubic-bezier(.22,1,.36,1),box-shadow .3s cubic-bezier(.22,1,.36,1)}
.ai-voice-button:hover{transform:scale(1.05);background:#4366a8}
.ai-voice-button:active{transform:scale(.98)}
.ai-voice-button:focus-visible{outline:3px solid #3d68b7;outline-offset:4px}
.ai-voice-button[aria-pressed=true]{background:#d55260;box-shadow:0 0 0 10px #d5526027,0 16px 40px #d5526038;animation:ai-pulse 1.7s infinite}
.ai-voice-button svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ai-create-voice>span{color:#535665;font-size:14px;line-height:20px;font-weight:600}
.ai-compose,.ai-preview{background:#fff;border:1px solid #e4e5ed;border-radius:24px;box-shadow:0 16px 48px #22243512}
.ai-compose{padding:16px 16px 12px;margin-top:32px}
.ai-compose-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ai-compose-routing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:4px 4px 16px;margin-bottom:12px;border-bottom:1px solid #e9edf5}
.ai-compose-routing label{display:grid;gap:8px;color:#555e70;font-size:14px;line-height:20px;font-weight:600}
.ai-compose-routing select{width:100%;min-width:0;padding:8px 12px;border:1px solid #dce4f1;border-radius:12px;background:#f7f9fd;color:#26334a;font:inherit;cursor:pointer;transition:border-color .3s cubic-bezier(.22,1,.36,1),background-color .3s cubic-bezier(.22,1,.36,1)}
.ai-compose-routing select:hover:not(:disabled){background:#eef4ff;border-color:#a8bee6}
.ai-compose-routing select:focus-visible{outline:3px solid #3d68b7;outline-offset:2px}
.ai-compose-routing select:disabled{cursor:not-allowed;color:#9295a2;background:#f5f6f8}
.ai-compose textarea{display:block;width:100%;min-height:96px;max-height:240px;resize:none;padding:8px 8px 12px;border:0!important;outline:0!important;box-shadow:none!important;background:#fff;color:#30323b;font-size:16px;line-height:24px}
.ai-compose textarea::placeholder{color:#9295a2}
.ai-compose:focus-within{border-color:#a8c0ec;box-shadow:0 0 0 4px #3d68b712,0 16px 48px #22243512}
.ai-compose-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:8px}
.ai-file-area{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ai-attach-button{display:inline-flex;flex-direction:row;align-items:center;gap:8px;padding:8px 12px;border:0;border-radius:12px;background:#f3f5f8;color:#535665;font-size:14px;line-height:20px;font-weight:600;cursor:pointer;transition:background-color .3s cubic-bezier(.22,1,.36,1),transform .3s cubic-bezier(.22,1,.36,1)}
.ai-attach-button:hover{background:#e6ecf8}
.ai-attach-button:active{transform:scale(.98)}
.ai-attach-button:focus-within{outline:2px solid #3d68b7;outline-offset:2px}
.ai-attach-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ai-submit,.ai-create-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:8px 12px;border:0;border-radius:12px;background:#292a35;color:#fff;font-size:16px;line-height:24px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background-color .3s cubic-bezier(.22,1,.36,1),transform .3s cubic-bezier(.22,1,.36,1)}
.ai-submit:hover,.ai-create-button:hover{background:#43639e}
.ai-submit:active,.ai-create-button:active{transform:scale(.98)}
.ai-submit:focus-visible,.ai-create-button:focus-visible{outline:3px solid #3d68b7;outline-offset:3px}
.ai-submit:disabled,.ai-create-button:disabled{opacity:.55;cursor:wait}
.ai-submit span,.ai-create-button span{font-size:20px;line-height:24px}
.ai-selected-files{display:flex;gap:7px;flex-wrap:wrap;padding-top:14px}.ai-selected-files[hidden]{display:none}.ai-selected-files span{padding:6px 9px;border-radius:7px;background:#f2f3f8;color:#5c5e6c;font-size:11px}
.ai-preview[hidden],.ai-questions[hidden],.task-manual-modal[hidden]{display:none}
.ai-preview{margin-top:24px;padding:28px}
.ai-create-page.is-reviewing{padding-top:38px}
.ai-create-page.is-reviewing .ai-create-intro,.ai-create-page.is-reviewing .ai-create-voice,.ai-create-page.is-reviewing .ai-compose{display:none}
.ai-create-page.is-reviewing .ai-preview{margin-top:0}
.ai-preview-heading h2{margin:0 0 20px;color:#252630;font-size:24px}.ai-preview-heading p{margin:0 0 20px;color:#868895;font-size:12px}.ai-preview-heading p[hidden]{display:none}
.ai-preview-files{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.ai-preview-files[hidden]{display:none}.ai-preview-files span{padding:7px 10px;border-radius:8px;background:#f2f3f8;color:#5c5e6c;font-size:11px}
.ai-questions{padding:18px 19px;margin-bottom:21px;border:1px solid #dae4f7;border-radius:12px;background:#f8faff}.ai-questions>strong{font-size:13px;color:#4b69a2}.ai-questions ul{margin:9px 0 14px;padding-left:18px;color:#626474;font-size:12px;line-height:1.7}.ai-questions label{display:block;color:#606173;font-size:12px;font-weight:650}.ai-questions textarea{display:block;width:100%;margin:7px 0 12px;min-height:65px;resize:vertical}
.ai-review-form{display:grid;gap:18px}.ai-review-form label{display:grid;gap:8px;color:#555765;font-size:12px;font-weight:700}.ai-review-form input,.ai-review-form textarea,.ai-review-form select{width:100%;font-size:13px}.ai-review-title input{font-size:18px;font-weight:700;padding:13px}.ai-review-description textarea{line-height:1.6;resize:vertical}
.ai-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.ai-extra{border-top:1px solid #e9eaf0;padding-top:15px}.ai-extra summary{width:max-content;color:#656778;font-size:12px;font-weight:700;cursor:pointer}.ai-extra .ai-review-grid{padding-top:17px}.ai-review-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding-top:19px;border-top:1px solid #e9eaf0}
.task-manual-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:22px}.task-manual-backdrop{position:absolute;inset:0;background:#171924a8;backdrop-filter:blur(5px)}.task-manual-dialog{position:relative;width:min(880px,100%);max-height:calc(100vh - 44px);overflow:auto;padding:25px;background:#fff;border-radius:17px;box-shadow:0 30px 80px #1114234d}.task-manual-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.task-manual-heading span{color:#476bae;font-size:10px;font-weight:800;letter-spacing:.12em}.task-manual-heading h2{margin:6px 0 0;color:#282a33}.task-manual-heading button{width:32px;height:32px;border:0;border-radius:8px;background:#f1f2f6;font-size:23px;cursor:pointer}
.task-attachments{display:grid;gap:8px}.task-attachments a{display:flex;justify-content:space-between;padding:10px;border:1px solid #e8e8ef;border-radius:8px;font-size:12px}.task-attachments small{color:#9597a2}.task-complexity{margin:4px 0;color:#777989;font-size:12px}
@keyframes ai-pulse{50%{box-shadow:0 0 0 17px #d5526014,0 15px 35px #d5526038}}
@media(max-width:700px){.task-create-topbar{padding:0 16px!important}.ai-create-page{min-height:calc(100dvh - 48px);padding:24px 16px 16px}.ai-create-intro h1{font-size:30px;line-height:36px}.ai-create-intro p{font-size:14px;line-height:20px}.ai-create-voice{margin:24px auto auto}.ai-voice-button{width:80px;height:80px}.ai-compose{padding:12px;margin-top:24px;border-radius:16px}.ai-compose-routing{grid-template-columns:1fr}.ai-compose textarea{min-height:88px}.ai-compose-bottom{align-items:center;flex-direction:row;gap:8px}.ai-attach-button{padding:8px;font-size:12px}.ai-attach-button svg{width:16px;height:16px}.ai-submit{width:auto;font-size:14px;line-height:20px}.ai-create-button{width:100%}.ai-preview{padding:20px 16px}.ai-review-grid{grid-template-columns:1fr}.ai-review-actions{flex-direction:column}.ai-review-actions>.button{width:100%}.task-manual-dialog{padding:18px}}
@media(max-width:380px){.ai-attach-button{font-size:0;gap:0}.ai-attach-button svg{width:20px;height:20px}.ai-submit{font-size:12px}}
@media(max-height:650px){.ai-create-page:not(.is-reviewing){min-height:600px}}
@media(prefers-reduced-motion:reduce){.ai-voice-button,.ai-attach-button,.ai-submit,.ai-create-button{transition:opacity .3s cubic-bezier(.22,1,.36,1)}.ai-voice-button[aria-pressed=true]{animation:none}}
