/* V4 conversation workspace. Sidebar only contains projects and running work. */
:root{--project-sidebar:248px;--conversation-width:760px}
body{background:var(--surface-solid)}
#navigationDialog,.reference-back{display:none!important}
.project-sidebar{position:fixed;inset:0 auto 0 0;width:var(--project-sidebar);padding:23px 14px 14px;background:#f3f4f0;display:flex;flex-direction:column;z-index:31;border-right:1px solid var(--line);transition:transform .2s ease}
.project-brand{display:flex;align-items:center;gap:10px;padding:0 8px 24px}.project-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#303d32;color:#fff;font:22px Georgia,serif}.project-brand strong{font-size:15px;font-weight:600;letter-spacing:.1px}.project-brand .icon-button{margin-left:auto;width:28px;height:28px;color:var(--muted)}.project-sidebar svg{width:18px;height:18px}
.new-project,.running-work{display:flex;align-items:center;gap:11px;width:100%;border:0;text-align:left;font-size:13px;border-radius:10px;padding:13px 14px;background:transparent;color:var(--ink)}.new-project{background:#e4e9de;color:#354c30;margin:0 0 9px}.new-project>span{margin-left:auto;font-size:16px;opacity:.55}.new-project:hover{background:#dce4d3}.running-work:hover{background:#e9ece5}.running-work b{font-size:11px;font-weight:400;min-width:20px;margin-left:auto;text-align:center;color:var(--muted)}.running-work.has-running b{background:#dce7d4;color:#506c3b;border-radius:5px;padding:2px 4px}.running-work.has-running svg{color:#6a884f}
.project-list-heading{display:flex;justify-content:space-between;align-items:center;padding:27px 12px 7px;font-size:11px;color:#8a9085}.project-list-heading .icon-button{width:23px;height:23px}.project-list-heading svg{width:15px;height:15px}#projectSearch{margin:0 8px 9px;width:calc(100% - 16px);padding:9px 10px;border:1px solid var(--line);border-radius:8px;font-size:12px;background:var(--surface-solid);color:var(--ink)}
.project-list{overflow-y:auto;min-height:0;flex:1}.project-row{display:flex;align-items:center;gap:8px;padding:12px;width:100%;border:0;border-radius:9px;background:transparent;font-size:12px;text-align:left;color:var(--ink);margin:2px 0}.project-row:hover{background:#e9ece5}.project-row[aria-current=true]{background:#e6eadf}.project-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.project-row small{font-size:9px;color:#88927f}.project-row i{width:5px;height:5px;background:#729253;border-radius:50%}.project-empty{font-size:11px;line-height:1.9;color:#999f92;padding:8px 12px}.project-account{display:flex;align-items:center;justify-content:space-between;padding:13px 7px 0;border-top:1px solid var(--line);gap:8px;margin-top:16px}.project-account .avatar{width:30px;height:30px;font-size:12px}.project-account .nav-account{font-size:11px}.project-account .nav-account small{font-size:9px}.project-account>.icon-button{width:30px;height:30px}
.conversation-topbar{position:fixed;z-index:18;top:0;left:var(--project-sidebar);right:0;height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:var(--surface-solid);gap:12px}.conversation-topbar>div{display:flex;align-items:center;gap:13px;min-width:0}.conversation-topbar>div>span{white-space:nowrap;font-size:14px;font-weight:550}.conversation-topbar i{font-style:normal;color:#c8cec2;font-size:13px}.conversation-topbar button{border:0;background:none;color:var(--muted);font-size:11px;white-space:nowrap;padding:8px 4px}.conversation-topbar #projectTitle{max-width:230px;text-overflow:ellipsis;overflow:hidden;text-align:left}.conversation-topbar nav{display:flex;gap:18px}.conversation-topbar button:hover{color:var(--ink)}
.reference-menu{left:12px;top:17px;border-radius:8px;width:34px;height:34px;background:var(--surface-solid);color:var(--ink);z-index:30;display:none}.reference-menu svg{width:19px;height:19px}
.page{margin-left:var(--project-sidebar);width:calc(100% - var(--project-sidebar));padding:150px max(24px,calc((100% - var(--project-sidebar) - var(--conversation-width))/2)) 38px;min-height:100dvh;max-width:none;display:flex;flex-direction:column;align-items:stretch}
.studio{width:100%;position:relative;max-width:var(--conversation-width);margin:0 auto}.conversation-welcome{text-align:center;margin:44px 0 35px}.conversation-welcome>span{font-size:9px;letter-spacing:2.2px;color:#8b987e}.conversation-welcome h1{font-size:30px;font-weight:500;letter-spacing:1px;color:var(--ink);margin:17px 0 14px}.conversation-welcome p{font-size:12px;color:#91958b;line-height:1.9}.brand-stage{position:absolute;right:0;top:-100px;width:105px;height:105px;border:0;box-shadow:none;display:none}.brand-line{display:none}.reference-robot{width:105px;height:105px;bottom:0;right:0}
.composer{margin-top:0;border-radius:24px;padding:20px 16px 13px;min-height:151px;background:var(--surface-solid);border:1px solid #dde3d6;box-shadow:0 5px 22px #293c2610;max-height:50dvh;overflow:visible}.prompt-wrap textarea{font-size:14px;min-height:49px;line-height:1.8}.composer__toolbar{margin-top:9px}.round-button{width:34px;height:34px;border:0;background:transparent;box-shadow:none}.parameter-button{height:32px;font-size:11px;padding:0 10px;border-radius:8px;border:0;background:transparent;box-shadow:none;gap:7px}.parameter-button .chevron{width:12px;height:12px}.parameter-button.is-enabled{border:0}.submit-button{width:35px;min-width:35px;height:35px;border-radius:12px;background:#344831;border:0;box-shadow:none}.submit-button svg{width:21px;height:21px}.toolbar-left{gap:4px;flex-wrap:wrap}#conversationMode{border:0;background:transparent;color:var(--ink);font-size:11px;max-width:90px;padding:7px 3px;margin-right:6px}.quick-start{margin:25px auto 0;width:100%;max-width:var(--conversation-width)}.feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.reference-card{height:52px;border-radius:12px;background:var(--surface-solid);border:1px solid var(--line);box-shadow:none;display:flex;align-items:center}.reference-card .feature-card__copy{position:static;height:auto;padding:0 15px;display:block}.reference-card .feature-card__copy strong{font-size:12px;font-weight:400;color:var(--muted)}.reference-card .feature-card__copy strong:after{content:'↗';padding-left:12px;opacity:.55}.reference-card .editorial-note,.reference-card .mini-calendar,.reference-card .reference-photo{display:none}.reference-card:hover{transform:translateY(-2px);box-shadow:none;border-color:#c4d0bb}.try-conversation{display:block;align-self:center;margin:26px 0 0;border:0;background:none;font-size:11px;color:#8b9583}.try-conversation span{padding-left:9px}.conversation-disclaimer{text-align:center;font-size:9px;color:#a3aa9b;margin:22px 0 0;line-height:1.7}
body.in-conversation .page{padding-top:100px;padding-bottom:280px}body.in-conversation .conversation-welcome,body.in-conversation .quick-start,body.in-conversation #tryConversation{display:none}body.in-conversation .studio{position:fixed;z-index:17;bottom:0;left:calc(var(--project-sidebar) + (100% - var(--project-sidebar))/2);transform:translateX(-50%);width:min(var(--conversation-width),calc(100% - var(--project-sidebar) - 48px));padding:18px 0 32px;background:linear-gradient(transparent,var(--surface-solid) 13%);max-width:none}body.in-conversation .composer{box-shadow:0 3px 18px #293c2609}body.in-conversation .conversation-disclaimer{position:fixed;bottom:9px;left:var(--project-sidebar);right:0;z-index:18;margin:0;pointer-events:none}
.conversation-feed{max-width:var(--conversation-width);width:100%;margin:0 auto}.conversation-turn{margin-bottom:32px;scroll-margin-top:95px}.conversation-turn.user{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}.user-message{background:#f0f2ec;border-radius:18px 18px 4px 18px;padding:15px 19px;max-width:84%;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.turn-images{display:flex;gap:8px;width:100%;justify-content:flex-end}.turn-images img{width:65px;height:65px;border:1px solid var(--line);object-fit:contain;border-radius:9px;background:#fff}.turn-byline{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:550;margin-bottom:15px}.turn-byline .project-mark{width:23px;height:23px;font-size:16px;border-radius:7px}.turn-byline small{font-size:9px;font-weight:400;color:#9ba191}.assistant-copy{font-size:13px;line-height:2;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 13px 32px}.streaming-copy:after{content:'';display:inline-block;width:5px;height:13px;margin-left:4px;background:#7f946d;vertical-align:middle}.stream-stop{margin-left:32px;border:1px solid var(--line);background:none;border-radius:7px;padding:7px 10px;color:var(--muted);font-size:10px}.inline-job{border:1px solid var(--line);border-radius:15px;padding:18px 20px;margin-left:32px;max-width:590px;background:var(--surface-solid)}.inline-job-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.inline-job-head strong{font-size:12px;font-weight:550}.inline-job-head>span{font-size:10px;color:#829375;white-space:nowrap}.inline-job p{font-size:10px;color:var(--muted);margin:10px 0;line-height:1.8}.inline-job .task-progress{height:3px;background:#edf0e8;margin:16px 0;border-radius:4px;overflow:hidden}.inline-job .task-progress i{display:block;height:100%;background:#819968}.inline-job-actions{display:flex;gap:14px;align-items:center;margin-top:13px}.inline-job-actions button{border:0;background:none;font-size:10px;color:var(--muted);padding:0}.inline-job-actions button:first-child{color:#4f6840}.inline-result{display:flex;align-items:center;gap:15px;margin-top:14px;border-top:1px solid var(--line);padding-top:14px}.inline-result img{width:90px;height:102px;object-fit:contain;background:#f6f7f3;border-radius:8px}.inline-result strong{font-size:11px}.inline-result small{font-size:10px;color:var(--muted);display:block;margin-top:8px;line-height:1.6}.running-dialog{width:550px}.running-dialog .dialog-head h2{font-size:21px}#runningList{padding:0 26px 25px}.running-item{border:1px solid var(--line);border-radius:12px;padding:15px;margin-bottom:10px}.running-item>div{display:flex;gap:12px;align-items:center;justify-content:space-between}.running-item strong{font-size:12px}.running-item p{font-size:10px;color:var(--muted);line-height:1.7}.running-item button{font-size:11px;background:none;border:0;color:#6a8256;padding:4px 0}.running-item small{font-size:10px;color:var(--muted)}
body.sidebar-collapsed{--project-sidebar:0px}body.sidebar-collapsed .project-sidebar{transform:translateX(-100%);width:248px}body.sidebar-collapsed .reference-menu{display:grid}body.sidebar-collapsed .conversation-topbar{padding-left:62px}.sidebar-shade{position:fixed;inset:0;border:0;background:#151c1b55;z-index:30}
html[data-theme=dark] .project-sidebar{background:#1e241f}html[data-theme=dark] .new-project,html[data-theme=dark] .project-row[aria-current=true]{background:#303d2b;color:#d7e2cb}html[data-theme=dark] .project-row:hover,html[data-theme=dark] .running-work:hover{background:#293427}html[data-theme=dark] .user-message{background:#303a2d}html[data-theme=dark] .reference-card{background:var(--surface-solid)}html[data-theme=dark] .reference-card .feature-card__copy strong{color:var(--muted)}html[data-theme=dark] .inline-job-actions button:first-child{color:#afc197}html[data-theme=dark] .composer{border-color:#45533b}html[data-theme=dark] .running-work.has-running b{background:#3d4f31;color:#cbddbb}
@media(max-width:1050px){:root{--project-sidebar:225px}.page{padding-left:28px;padding-right:28px}.conversation-topbar{padding:0 25px}.conversation-topbar #projectTitle{max-width:170px}.conversation-welcome h1{font-size:27px}.reference-card .feature-card__copy{padding:0 9px}.reference-card .feature-card__copy strong:after{padding-left:5px}}
@media(max-width:760px){:root{--project-sidebar:0px}.project-sidebar{width:260px;transform:translateX(-100%)}body.mobile-sidebar-open .project-sidebar{transform:none}body.sidebar-collapsed .project-sidebar{width:260px}body.mobile-sidebar-open{overflow:hidden}.reference-menu{display:grid}.conversation-topbar{height:60px;padding:0 16px 0 57px}.conversation-topbar>div>span{font-size:12px}.conversation-topbar>div{gap:7px}.conversation-topbar i,.conversation-topbar #projectTitle{display:none}.conversation-topbar nav{gap:12px}.conversation-topbar button{font-size:10px}.page{margin:0;width:100%;padding:125px 21px 35px}.conversation-welcome{margin:35px 0 28px}.conversation-welcome h1{font-size:25px;letter-spacing:0}.conversation-welcome p{font-size:11px;max-width:270px;margin:0 auto}.conversation-welcome>span{font-size:8px;letter-spacing:1.8px}.composer{min-height:156px;padding:17px 12px 12px;border-radius:21px}.prompt-wrap textarea{font-size:13px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reference-card{height:46px}.reference-card .feature-card__copy{padding:0 14px}.reference-card .feature-card__copy strong{font-size:11px}.parameter-button{font-size:10px;gap:5px;padding:0 4px}.parameter-button .chevron{display:none}.toolbar-left{gap:2px}#conversationMode{font-size:10px;max-width:82px;margin-right:0}.round-button{width:30px;height:30px}.submit-button{width:32px;min-width:32px;height:32px}.composer__toolbar{gap:4px}.reference-menu{top:13px}body.in-conversation .page{padding-top:85px;padding-bottom:260px}body.in-conversation .studio{width:calc(100% - 30px);left:50%;padding-bottom:32px}.user-message{font-size:12px;max-width:92%;padding:12px 15px}.assistant-copy{font-size:12px;margin-left:0}.inline-job{margin-left:0;padding:14px}.turn-byline{font-size:11px}.inline-job-head{gap:7px}.inline-job-head strong{font-size:11px}.conversation-turn{margin-bottom:25px}.inline-job-actions{gap:12px}.running-dialog .dialog-head{padding:20px}.running-dialog .dialog-head h2{font-size:18px}#runningList{padding:0 20px 20px}}
@media(prefers-reduced-motion:reduce){.project-sidebar{transition:none}}
