/* Projects keep the Studio palette and the existing shared details panel. */
.project-conversation:disabled{opacity:.62;cursor:default;}.project-conversation:disabled:hover{background:#ffffffaa;}
.project-manage-actions{display:flex;align-items:center;gap:14px;}.project-delete:hover{color:#a3322c;background:#f9e8e5;}.project-delete:focus-visible{outline:2px solid var(--shell-icon);outline-offset:3px;}.project-primary.project-danger{background:#a3322c;border-color:#a3322c;}.project-primary.project-danger:hover{background:#842823;}.project-dialog button:disabled{cursor:default;opacity:.55;}
.projects-mode>.channel-header,.projects-mode>.demo-strip,.projects-mode>#notice,.projects-mode>.conversation-scroll,.projects-mode>#human-chat-pane,.projects-mode>.workspace-composer{display:none!important;}
.projects-pane{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;}
.projects-pane[hidden]{display:none!important;}
.projects-heading{display:flex;align-items:center;gap:16px;min-height:78px;padding:18px 28px;border-bottom:1px solid var(--line);flex:none;}
.projects-heading-copy{min-width:0;flex:1;}.projects-heading h1{font-size:15px;font-weight:600;margin:0;color:var(--shell-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.projects-heading p{font-size:11px;line-height:1.5;color:var(--muted);margin:5px 0 0;}
.project-icon-button{display:grid;place-items:center;width:32px;height:32px;background:transparent;border:0;color:var(--shell-icon);border-radius:6px;}.project-icon-button:hover{background:var(--theme-hover);}.project-icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;}.projects-mobile-menu{display:none;}
.projects-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#9db8bd transparent;}.projects-content{max-width:1080px;margin:0 auto;padding:32px clamp(22px,4vw,52px) 60px;}
.projects-sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin:12px 8px 10px;}.projects-sidebar-heading .nav-label{margin:0;}.project-add-small{border:0;background:transparent;color:var(--shell-icon);font-size:21px;line-height:1;width:30px;height:28px;border-radius:5px;}.project-add-small:hover{background:var(--theme-hover);}
.projects-search{display:block;width:100%;min-width:0;box-sizing:border-box;padding:9px 10px;font:inherit;font-size:12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--shell-ink);outline:none;}.projects-search:focus{border-color:var(--accent);box-shadow:0 0 0 2px #315f6815;}.projects-search::placeholder{color:var(--muted);}
.projects-list{display:flex;flex-direction:column;gap:6px;margin-top:16px;}.project-nav{display:flex;align-items:flex-start;gap:10px;width:100%;min-width:0;text-align:left;padding:12px 10px;border:1px solid transparent;border-radius:7px;color:var(--shell-ink);background:transparent;}.project-nav:hover{background:#e7f0f1;}.project-nav.active{background:#e1edef;border-color:#b7cfd5;box-shadow:inset 2px 0 var(--shell-selected);}.project-nav>svg{flex:none;width:19px;height:19px;fill:none;stroke:var(--shell-icon);stroke-width:1.4;margin-top:2px;}.project-nav-copy{display:flex;flex-direction:column;gap:6px;min-width:0;}.project-nav strong{font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;}.project-nav small{font-size:10px;color:var(--muted);}
.projects-notice{padding:12px 28px;font-size:12px;line-height:1.6;color:#76531c;background:#fff5df;border-bottom:1px solid #e8d6b2;}.projects-notice[hidden]{display:none;}
.project-landing{max-width:720px;margin:15px 0 32px;}.project-landing h2,.project-hero h2{font:400 clamp(28px,3vw,38px)/1.25 Georgia,serif;letter-spacing:-.5px;color:var(--shell-ink);margin:10px 0 13px;overflow-wrap:anywhere;}.project-objective{font-size:14px;line-height:1.8;color:var(--muted);max-width:760px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 22px;}
.project-button,.project-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;font:inherit;font-size:12px;padding:8px 13px;border:1px solid #a9c4cd;border-radius:6px;color:var(--shell-icon);background:#ffffffbd;cursor:pointer;text-decoration:none;}.project-button:hover{background:#e7f0f2;}.project-primary{background:var(--accent);border-color:var(--accent);color:white;}.project-primary:hover{background:#254f59;}.project-button:disabled,.project-primary:disabled{opacity:.55;cursor:default;}.project-text-button{border:0;background:none;color:var(--shell-icon);font:inherit;font-size:11px;padding:6px 0;cursor:pointer;}.project-text-button:hover{text-decoration:underline;}.project-button:focus-visible,.project-primary:focus-visible,.project-text-button:focus-visible,.project-nav:focus-visible,.project-card:focus-visible,.project-conversation:focus-visible,.project-document:focus-visible,.project-teammate:focus-visible,.project-tab:focus-visible{outline:2px solid var(--shell-icon);outline-offset:3px;}
.project-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:14px;}.project-card{display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-height:200px;text-align:left;padding:22px;border:1px solid #bdd1d7;border-radius:12px;background:#ffffffa8;color:var(--shell-ink);transition:background 140ms,box-shadow 140ms;}.project-card:hover{background:#fff;box-shadow:0 5px 18px #315f6810;}.project-card>svg{width:23px;height:23px;fill:none;stroke:var(--shell-icon);stroke-width:1.4;}.project-card>strong{font:400 23px/1.3 Georgia,serif;overflow-wrap:anywhere;}.project-card-objective{font-size:12px;line-height:1.7;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}.project-card small{font-size:10px;color:var(--muted);margin-top:auto;}.project-card-open{font-size:11px;color:var(--shell-icon);}
.project-hero-top{display:flex;justify-content:space-between;gap:16px;margin-bottom:24px;}.project-hero .project-objective{margin-bottom:14px;}.project-meta{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:11px;color:var(--muted);margin-bottom:26px;}
.project-tabs{display:flex;gap:24px;border-bottom:1px solid #b6cdd4;margin:0 0 26px;}.project-tab{border:0;border-bottom:2px solid transparent;padding:11px 0 13px;background:transparent;font:inherit;font-size:12px;color:var(--muted);cursor:pointer;}.project-tab[aria-selected=true]{border-color:var(--shell-icon);color:var(--shell-ink);font-weight:600;}.project-tab-content{min-width:0;}
.project-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px;}.project-section-heading h3{font-size:14px;line-height:1.5;font-weight:600;color:var(--shell-ink);margin:0;}.project-roster{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:30px;}.project-teammate{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:11px 14px;background:#ffffffaa;color:var(--shell-ink);text-align:left;max-width:100%;}.project-teammate:hover{background:white;}.project-teammate>span:not(.project-person-avatar):not(.teammate-avatar){min-width:0;}.project-teammate strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere;}.project-teammate small{display:block;font-size:10px;color:var(--muted);margin-top:4px;}.project-person-avatar{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e0ecef;color:var(--shell-icon);font-size:10px;}.project-teammate .teammate-avatar,.project-candidate .teammate-avatar{flex:none;width:30px;height:30px;}
.project-teammate-card{display:flex;align-items:center;max-width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;background:#ffffffaa;}.project-teammate-card>.project-teammate{border:0;background:transparent;flex:1;min-width:0;}.project-member-details{border:0;border-left:1px solid var(--line);background:transparent;font:inherit;font-size:10px;color:var(--shell-icon);padding:9px 11px;margin-right:3px;cursor:pointer;}.project-member-details:hover{background:#e2eef1;}.work-panel-scroll .project-teammate-card{margin-bottom:8px;}.work-panel-scroll .project-teammate-card .project-teammate{margin:0;}
.project-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:32px;}.project-overview-grid>section{min-width:0;}.project-empty{border:1px dashed #adc7cf;border-radius:10px;background:#f7fbfc65;padding:22px;margin-bottom:12px;}.project-empty p{font-size:12px;line-height:1.8;color:var(--muted);margin:0;}.project-empty .project-button{margin-top:14px;}.project-boundary-note{font-size:11px;line-height:1.8;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin-top:25px;}
.project-section-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 16px;}.project-conversation-list,.project-document-list{display:flex;flex-direction:column;gap:10px;margin-top:18px;}.project-conversation{display:flex;flex-direction:column;gap:10px;border:1px solid #c2d4d9;border-radius:9px;width:100%;padding:17px;text-align:left;background:#ffffffaa;color:var(--shell-ink);margin-bottom:10px;}.project-conversation:hover{background:white;}.project-row-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}.project-row-top strong{font-size:13px;line-height:1.6;font-weight:600;overflow-wrap:anywhere;}.project-private-tag,.project-shared-tag{font-size:9px;white-space:nowrap;border-radius:4px;padding:3px 6px;flex:none;background:#edf2f3;color:#57717b;}.project-shared-tag{background:#e3efed;color:#396664;}.project-row-meta{font-size:11px;line-height:1.7;color:var(--muted);}.project-date{font-size:10px;color:var(--muted);}
.project-document{display:flex;align-items:center;gap:13px;border:1px solid #c2d4d9;border-radius:9px;padding:16px;background:#ffffffbd;color:var(--shell-ink);text-align:left;width:100%;margin-bottom:10px;min-width:0;}.project-document:hover{background:white;}.project-document-copy{min-width:0;flex:1;}.project-document strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere;}.project-document small{display:block;font-size:10px;color:var(--muted);margin-top:6px;}.project-file-kind{display:grid;place-items:center;flex:none;min-width:36px;min-height:40px;font-size:9px;padding:5px;background:#e1edf0;border-radius:5px;color:var(--shell-icon);}.project-open-arrow{font-size:15px;color:var(--shell-icon);}.project-help{font-size:12px;line-height:1.8;color:var(--muted);}
.project-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);box-sizing:border-box;overflow:auto;border:1px solid #b8ced5;border-radius:14px;padding:28px;background:#f9fcfd;color:var(--shell-ink);box-shadow:0 16px 60px #1437402b;}.project-dialog::backdrop{background:#183b475c;backdrop-filter:blur(3px);}.project-dialog h2{font:400 27px/1.3 Georgia,serif;margin:0 26px 15px 0;}.project-dialog-close{position:absolute;right:15px;top:14px;font-size:22px;width:28px;height:28px;color:var(--muted);border:0;background:transparent;cursor:pointer;}.project-field{display:block;font-size:12px;line-height:1.6;margin:18px 0;}.project-field>span{display:block;font-weight:600;margin-bottom:7px;}.project-field input,.project-field textarea,.project-invitation input{width:100%;box-sizing:border-box;border:1px solid #b8ced5;border-radius:6px;padding:10px 11px;font:inherit;font-size:13px;line-height:1.6;color:var(--shell-ink);background:white;}.project-field textarea{resize:vertical;min-height:86px;}.project-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px;}.project-form-status{font-size:12px;line-height:1.7;color:#81581e;white-space:pre-wrap;}.project-form-status:empty{display:none;}.project-kind-filters{display:flex;gap:7px;margin:12px 0;}.project-filter{font:inherit;font-size:11px;padding:5px 10px;background:transparent;border:1px solid transparent;border-radius:15px;color:var(--shell-icon);}.project-filter[aria-pressed=true]{background:#e2eef1;border-color:#bdcfd6;}.project-candidate-list{display:flex;flex-direction:column;gap:8px;max-height:390px;overflow:auto;margin:15px 0;scrollbar-width:thin;}.project-candidate{display:flex;align-items:center;gap:11px;padding:11px 9px;background:#fff;border:1px solid var(--line);border-radius:7px;cursor:pointer;}.project-candidate>input{accent-color:var(--accent);flex:none;}.project-candidate-copy{min-width:0;}.project-candidate-copy strong{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere;}.project-candidate-copy small{display:block;font-size:10px;color:var(--muted);margin:2px 0 5px;}.project-candidate-copy>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.6;color:var(--muted);}.project-link-candidate{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:7px;padding:12px;background:white;}.project-link-candidate strong{display:block;font-size:12px;line-height:1.7;overflow-wrap:anywhere;}.project-link-candidate small{display:block;font-size:10px;color:var(--muted);margin-top:5px;}.project-link-destination{width:100%;text-align:left;padding:14px;border:1px solid var(--line);border-radius:7px;color:var(--shell-ink);background:white;font:inherit;font-size:13px;}.project-link-destination:hover{background:#eaf3f4;}.project-invitation{padding:16px;border:1px solid var(--line);border-radius:8px;margin:14px 0;}.project-invitation strong{font-size:13px;}.project-invitation input{font-size:11px;margin:10px 0;}.project-invitation .project-help{margin-left:10px;}.project-details-title{font:400 25px/1.3 Georgia,serif;overflow-wrap:anywhere;}.work-panel-scroll .project-teammate{margin-bottom:8px;width:100%;}
@media(max-width:1000px){.project-overview-grid{grid-template-columns:1fr;}.projects-content{padding:26px 24px 40px;}.project-tabs{gap:20px;}.project-row-top{flex-wrap:wrap;}}
@media(max-width:650px){.projects-heading{padding:13px 14px;gap:9px;min-height:65px;}.projects-heading h1{font-size:13px;}.projects-heading p{font-size:10px;}.projects-mobile-menu{display:grid;}.projects-content{padding:22px 18px 35px;}.project-landing h2,.project-hero h2{font-size:28px;}.project-card-grid{grid-template-columns:1fr;}.project-tabs{gap:18px;}.project-tab{font-size:11px;}.project-roster{flex-direction:column;}.project-teammate{width:100%;}.project-meta{font-size:10px;}.project-dialog{padding:23px 18px;max-height:calc(100dvh - 24px);}.project-dialog h2{font-size:24px;}.project-objective{font-size:13px;}.projects-notice{padding:10px 18px;}.project-section-tools .project-button,.project-section-tools .project-primary{font-size:11px;}}
@media(prefers-reduced-motion:reduce){.project-card{transition:none;}}
.project-tabs{overflow-x:auto;scrollbar-width:thin;}.project-tab{white-space:nowrap;flex:none;}
.project-hero h2{white-space:normal;max-width:100%;overflow-wrap:anywhere;}
.project-working-summary{margin-bottom:30px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#ffffff75;}.project-working-summary>.project-help{white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}.project-task-summary{display:flex;flex-wrap:wrap;gap:8px;}.project-task-count{padding:7px 11px;border:1px solid #c5d8dc;background:#f8fcfc;color:var(--shell-icon);border-radius:16px;font:inherit;font-size:11px;}.project-task-count:hover{background:#e0edef;}
.project-brief-form{max-width:760px;}.project-brief-form .project-field{margin-top:20px;}.project-brief-form textarea{background:#ffffffc9;}.project-context-selection{border:1px solid var(--line);border-radius:8px;padding:15px;margin:20px 0;min-width:0;}.project-context-selection legend{padding:0 6px;font-size:12px;font-weight:600;}.project-document-choice{display:flex;align-items:center;gap:9px;padding:8px 0;font-size:12px;line-height:1.5;}.project-document-choice input{flex:none;accent-color:var(--accent);}.project-document-choice span{overflow-wrap:anywhere;}.project-document-choice small{margin-left:auto;color:var(--muted);font-size:10px;white-space:nowrap;}.project-context-selection .project-help{font-size:11px;margin-bottom:0;}.project-field select{width:100%;border:1px solid #b8ced5;background:white;border-radius:6px;padding:10px;color:var(--shell-ink);font:inherit;font-size:13px;}
.project-task-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px;}.project-task-column{min-width:0;}.project-task-column>h3{font-size:12px;font-weight:600;padding-bottom:12px;border-bottom:2px solid #b3cdd2;margin:0 0 14px;}.project-task-column:nth-child(2)>h3{border-color:#688d96;}.project-task-column:nth-child(3)>h3{border-color:#d7b288;}.project-task-column:nth-child(4)>h3{border-color:#9eb8a7;}.project-task-card{background:#ffffffbf;border:1px solid #c2d5da;border-radius:10px;padding:18px;margin-bottom:14px;min-width:0;}.project-task-card h4{font:400 19px/1.4 Georgia,serif;margin:0 0 9px;overflow-wrap:anywhere;}.project-task-owner,.project-task-due{font-size:11px;line-height:1.6;color:var(--muted);margin:5px 0;}.project-task-label{display:block;font-size:11px;margin-top:16px;}.project-task-copy{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;}.project-task-empty{font-size:12px;color:var(--muted);padding:10px;}.project-task-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px;}.project-task-actions button{font-size:11px;}.project-task-context,.project-task-output{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:11px;line-height:1.7;min-width:0;}.project-task-context>summary,.project-task-output>summary{cursor:pointer;color:var(--shell-icon);}.project-task-context>strong{display:block;font-size:11px;}.project-task-context .project-task-copy{max-height:230px;overflow:auto;}.project-task-output .project-help{font-size:10px;overflow-wrap:anywhere;}.project-task-error{border:1px solid #e1c6a1;background:#fff7e9;color:#805b2e;border-radius:5px;padding:10px;font-size:11px;line-height:1.7;}
@media(max-width:850px){.project-task-board{grid-template-columns:1fr;}.project-tabs{gap:20px;}.project-working-summary{padding:16px;}.project-document-choice{align-items:flex-start;flex-wrap:wrap;}.project-document-choice small{margin-left:25px;}}
