.projects-workspace{width:min(980px,100%);min-height:calc(100dvh - 104px);margin:0 auto;padding:clamp(22px,4vw,54px) clamp(16px,3vw,34px);color:var(--text)}
.project-page-head{display:flex;align-items:center;gap:16px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.project-heading-mark{display:grid;place-items:center;width:50px;height:50px;border:1px solid var(--line-strong);border-radius:14px;color:var(--accent);background:var(--panel-soft);font-size:25px}
.project-heading-copy{min-width:0;flex:1}.project-heading-copy h1{margin:0;font-size:clamp(25px,3vw,34px);letter-spacing:-.035em}.project-heading-copy p{margin:5px 0 0;color:var(--muted);font-size:14px}.project-new-chat{white-space:nowrap}
.project-manage-actions{display:flex;gap:6px}.project-manage-actions .button{padding:8px 10px;font-size:13px}.project-delete-action{color:var(--danger,#f28f96)}
.project-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.project-tab{position:relative;padding:15px 2px 13px;border:0;background:transparent;color:var(--muted);font:inherit;cursor:pointer}.project-tab span{margin-left:5px;color:var(--text-subtle,var(--muted));font-size:12px}.project-tab.active{color:var(--text)}.project-tab.active:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--accent);content:""}.project-panel[hidden]{display:none}.project-panel.active{display:block}
.project-chat-list,.project-file-list{display:grid;gap:6px}.project-chat-row,.project-file-row{display:flex;align-items:center;min-height:56px;gap:13px;padding:8px 12px;border:1px solid transparent;border-radius:10px;color:var(--text);text-decoration:none}.project-chat-row:hover,.project-file-row:hover{border-color:var(--line);background:var(--panel-soft)}.project-chat-icon{color:var(--accent);font-size:22px}.project-chat-title,.project-file-copy{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-chat-date,.project-file-copy small{color:var(--muted);font-size:12px}.project-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 15px}.project-section-head h2,.project-instructions-card h2{margin:0;font-size:19px}.project-section-head p,.project-instructions-card>p{margin:5px 0 0;color:var(--muted);font-size:14px}.project-upload-button{position:relative;overflow:hidden;white-space:nowrap}.project-upload-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.project-file-row{border-color:var(--line);background:var(--panel-soft)}.project-file-type{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:9px;color:var(--accent);font-size:10px;font-weight:700}.project-file-copy{display:grid;gap:3px}.project-file-copy a{overflow:hidden;color:var(--text);text-overflow:ellipsis;text-decoration:none}.project-file-copy a:hover{color:var(--accent)}.project-file-copy small{display:block}.project-file-remove{width:34px;height:34px;border:0;border-radius:8px;color:var(--muted);background:transparent;font-size:23px;cursor:pointer}.project-file-remove:hover,.project-file-remove:focus-visible{color:var(--danger,#f28f96);background:var(--panel)}.project-file-empty{padding:20px;color:var(--muted);text-align:center}.project-instructions-card{max-width:720px;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--panel-soft)}.project-instructions-card label{display:block;margin:22px 0 8px;font-size:14px;font-weight:600}.project-instructions-card textarea{display:block;width:100%;min-height:190px;resize:vertical;box-sizing:border-box;padding:13px 14px;border:1px solid var(--line-strong);border-radius:9px;color:var(--text);background:var(--bg-deep);font:inherit;line-height:1.55}.project-instructions-card textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.project-instructions-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.project-instructions-footer span{color:var(--muted);font-size:13px}.project-empty,.projects-first-run{display:grid;justify-items:center;align-content:center;min-height:48vh;text-align:center}.project-empty-mark{display:grid;place-items:center;width:56px;height:56px;margin-bottom:14px;border:1px solid var(--line-strong);border-radius:16px;color:var(--accent);background:var(--panel-soft);font-size:28px}.project-empty h2,.projects-first-run h1{margin:0;font-size:25px;letter-spacing:-.03em}.project-empty p,.projects-first-run p{max-width:410px;margin:8px 0 20px;color:var(--muted);line-height:1.55}.projects-first-run{min-height:65vh}.project-uploading{color:var(--muted);font-size:13px}
.sidebar-projects{display:grid;gap:4px;margin:0 0 13px}.sidebar-projects-heading{display:flex;align-items:center;justify-content:space-between;padding:0 8px;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.sidebar-projects-heading button{width:28px;height:28px;border:1px solid transparent;border-radius:7px;color:var(--muted);background:transparent;font-size:20px;line-height:1;cursor:pointer}.sidebar-projects-heading button:hover,.sidebar-projects-heading button:focus-visible{border-color:var(--line);color:var(--accent);background:var(--panel-soft)}.sidebar-project-list{display:grid;gap:3px}.sidebar-project-link{display:flex;align-items:center;min-width:0;min-height:36px;gap:9px;padding:6px 10px;border-radius:8px;color:var(--muted);text-decoration:none;white-space:nowrap}.sidebar-project-link span:last-child{overflow:hidden;text-overflow:ellipsis}.project-folder-mark{color:var(--accent);font-size:17px}.sidebar-project-link:hover,.sidebar-project-link.active{color:var(--text);background:var(--panel-soft)}
@media(max-width:620px){.projects-workspace{min-height:calc(100dvh - 70px);padding:20px 14px}.project-page-head{align-items:flex-start;flex-wrap:wrap}.project-heading-mark{width:42px;height:42px}.project-heading-copy{padding-top:2px}.project-new-chat{width:100%;text-align:center}.project-manage-actions{width:100%}.project-manage-actions .button{flex:1}.project-tabs{gap:18px;overflow-x:auto}.project-section-head{align-items:flex-start;flex-direction:column}.project-instructions-card{padding:16px}.project-instructions-footer{align-items:flex-start;flex-direction:column}.project-instructions-footer button{width:100%}}
@media(prefers-reduced-motion:reduce){.projects-workspace *{scroll-behavior:auto!important;transition:none!important}}
.project-chat-row{color:var(--text);text-decoration:none}.project-chat-open{display:flex;align-items:center;min-width:0;flex:1;gap:13px;color:inherit;text-decoration:none}.project-chat-detach{border:0;border-radius:7px;padding:7px 9px;color:var(--muted);background:transparent;font:inherit;font-size:12px;cursor:pointer}.project-chat-detach:hover,.project-chat-detach:focus-visible{color:var(--accent);background:var(--panel)}
.project-chat-breadcrumb{display:inline-block;margin-bottom:8px;color:var(--muted);font-size:13px;text-decoration:none}.project-chat-breadcrumb:hover{color:var(--accent)}
.project-create-dialog{width:min(440px,calc(100vw - 32px));padding:0;border:1px solid var(--line-strong);border-radius:16px;color:var(--text);background:var(--bg-deep);box-shadow:0 24px 80px rgba(0,0,0,.35)}.project-create-dialog::backdrop{background:rgba(3,10,14,.62);backdrop-filter:blur(3px)}.project-create-dialog form{position:relative;padding:28px}.project-dialog-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:8px;color:var(--muted);background:transparent;font-size:23px;cursor:pointer}.project-dialog-mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;color:var(--accent);background:var(--panel-soft);font-size:24px}.project-create-dialog h2{margin:16px 0 4px;font-size:23px}.project-create-dialog p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.project-create-dialog label{display:block;margin:22px 0 7px;font-size:13px;font-weight:600}.project-create-dialog input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid var(--line-strong);border-radius:8px;color:var(--text);background:var(--bg);font:inherit}.project-create-dialog input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.project-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}
