/* Existing quiet, pale Mac workspace: hierarchy and chronology carry the page. */
.project-workspace{--project-ink:#334650;--project-muted:#7d8d99;--project-line:#dce4e8;--project-accent:#477665;display:grid;grid-template-columns:218px minmax(0,1fr);min-height:calc(100vh - 84px);color:var(--project-ink);font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.project-workspace *{box-sizing:border-box}
.project-workspace button,.project-workspace select{font:inherit;cursor:pointer}
.project-workspace button:disabled{cursor:wait;opacity:.55}
.project-workspace button,.project-workspace a,.project-workspace select,.project-workspace summary{outline-offset:4px}
.project-workspace :focus-visible{outline:2px solid #719ac1}
.project-workspace a{color:var(--project-accent);text-decoration:none}
.project-workspace a:hover{text-decoration:underline}
.project-workspace h1,.project-workspace h2,.project-workspace h3,.project-workspace p{margin:0}
.project-icon{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.project-navigation{background:rgba(229,236,242,.44);border-right:1px solid var(--project-line);padding:22px 11px 40px;min-width:0}
.project-navigation-title{font-size:13px;font-weight:600;letter-spacing:.025em;padding:0 10px 17px;color:var(--project-muted)}
.project-group+.project-group{margin-top:15px}
.project-group-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:transparent;color:#768a99;font-size:13px!important;font-weight:600!important;padding:7px 10px;text-align:left}
.project-group-toggle>.project-icon{height:12px;width:12px;transform:rotate(90deg);transition:transform .15s}
.project-group-toggle[aria-expanded=false]>.project-icon{transform:rotate(0)}
.project-navigation-item{display:flex;align-items:flex-start;gap:9px;border:0;background:transparent;width:100%;border-radius:9px;padding:10px;color:#566e7b;text-align:left;margin:2px 0}
.project-navigation-item>.project-icon{margin-top:4px;width:15px;height:15px;color:#8aa0ae}
.project-navigation-item>span{min-width:0;display:block}
.project-navigation-item strong{font-size:15px;font-weight:500;line-height:1.55;display:block;word-break:keep-all;overflow-wrap:anywhere}
.project-navigation-item small{display:block;font-size:12px;color:#8a99a4;margin-top:3px}
.project-navigation-item:hover{background:#ffffff65}
.project-navigation-item.is-selected{background:#e0e9ee;color:#355367;box-shadow:inset 0 0 0 1px #b8cbd42e}
.project-navigation-item.is-selected strong{font-weight:650}
.project-content{min-width:0;padding:27px clamp(20px,3.4vw,54px) 54px;max-width:1210px;width:100%;margin:0 auto}
.project-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:9px}
.project-heading>div{min-width:0}
.project-heading h1{font-size:24px;line-height:1.45;font-weight:650;letter-spacing:-.035em;word-break:keep-all}
.project-breadcrumb{font-size:12px;color:var(--project-muted);margin-bottom:6px!important}
.project-refresh-button,.project-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d4e0e3;border-radius:9px;background:rgba(255,255,255,.76);color:#546f7b;min-height:34px;padding:5px 11px;font-size:13px!important;flex:none}
.project-refresh-button:hover,.project-button:hover{background:white;border-color:#b5c8cc}
.project-text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 0;border:0;background:transparent;font-size:13px!important;color:#628374;flex:none}
.project-text-button:hover{color:#355d4c;text-decoration:underline}
.project-source-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 19px;min-height:27px}
.project-source-status{font-size:11px;color:#8a9a9e;line-height:1.5}
.project-source-status>summary{display:flex;align-items:center;gap:5px;list-style:none;cursor:pointer}
.project-source-status>summary::-webkit-details-marker{display:none}
.project-source-status>summary>.project-icon{height:10px;width:10px;transform:rotate(90deg)}
.project-source-status[open]>summary>.project-icon{transform:rotate(-90deg)}
.project-source-status>div{padding:10px 13px;background:#edf2f36e;border:1px solid #dce5e88a;border-radius:8px;margin-top:7px;color:#809198;max-width:620px}
.project-source-status>div>p+p{margin-top:5px}
.project-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--project-line);margin-bottom:22px}
.project-tabs{display:flex;gap:22px;flex-shrink:0}
.project-tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:10px 1px 12px;color:#83939b;font-size:15px!important;white-space:nowrap}
.project-tab[aria-selected=true]{border-bottom-color:#688c7d;color:#3d6053;font-weight:650}
.project-session-filter{display:flex;align-items:center;gap:8px;min-width:0;padding-bottom:5px}
.project-session-filter>label{font-size:11px;color:#8a969f;white-space:nowrap}
.project-session-filter>select{min-width:110px;max-width:220px;width:100%;border:1px solid #dbe3e6;background:rgba(255,255,255,.65);color:#637984;border-radius:7px;font-size:12px;padding:5px 22px 5px 8px;text-overflow:ellipsis}
.project-session{background:rgba(255,255,255,.56);border:1px solid #dce4e89c;border-radius:14px;box-shadow:0 2px 9px #29465d03;margin-bottom:19px;overflow:hidden}
.project-session-header{display:flex;align-items:center;gap:15px;padding:18px 21px;border-bottom:1px solid #e5eaed9c}
.project-session-date{width:54px;flex:none;text-align:center;border-right:1px solid var(--project-line);padding-right:14px;line-height:1.3}
.project-session-date strong{display:block;font-size:18px;font-weight:650;letter-spacing:-.05em;color:#597779}
.project-session-date span{display:block;font-size:11px;color:#97a3a6;margin-top:3px}
.project-session-title{flex:1;min-width:0}
.project-session-title h2{font-size:17px;font-weight:620;line-height:1.5;letter-spacing:-.025em;word-break:keep-all}
.project-status{font-size:11px;color:#87a092}
.project-session-body{padding:17px 23px 19px}
.project-event{display:flex;align-items:flex-start;gap:8px;color:#82919a;font-size:12px;line-height:1.65;margin:0 0 9px}
.project-event>.project-icon{width:14px;height:14px;margin-top:3px}
.project-event>span{flex:1}
.project-event strong{font-weight:450;margin-left:10px;color:#6d828d}
.project-event>a{white-space:nowrap;font-size:11px}
.project-session-notes{border-left:2px solid #cedad4;padding-left:12px;margin:6px 0 17px;color:#637a74}
.project-session-notes .project-copy{font-size:14px}
.project-copy{font-size:16px;line-height:1.8;color:#586c75;white-space:pre-line;word-break:keep-all}
.project-copy-clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.project-recording+.project-recording{border-top:1px solid #e3e9ec;padding-top:18px;margin-top:20px}
.project-recording-heading{display:flex;align-items:center;gap:7px;margin-bottom:4px;color:#617a71}
.project-recording-heading strong{font-size:13px;font-weight:600}
.project-recording-heading>.project-icon{width:15px;height:15px}
.project-recording-heading>span{margin-left:auto;font-size:10px;color:#91a99d}
.project-recording-title{font-size:11px;color:#94a0a6;margin-bottom:8px!important}
.project-disclosure{margin-top:8px;color:#6d858d;font-size:12px}
.project-disclosure>summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;width:fit-content;line-height:1.6}
.project-disclosure>summary::-webkit-details-marker{display:none}
.project-disclosure>summary>.project-icon{width:11px;height:11px;transform:rotate(90deg);transition:transform .15s}
.project-disclosure[open]>summary>.project-icon{transform:rotate(-90deg)}
.project-disclosure>summary>span{font-size:11px;color:#9aa7ad}
.project-full-text{font-size:15px;line-height:1.9;color:#556d76;white-space:pre-wrap;margin:12px 0 7px;padding:14px 17px;background:#eef2f461;border-radius:9px;max-height:520px;overflow:auto;overflow-wrap:anywhere}
.project-reasons{font-size:12px;padding-left:17px;color:#82978e;margin:10px 0}
.project-recording-empty,.project-history-empty,.project-empty-small{font-size:12px;color:#99a6ae;margin:8px 0}
.project-session-work{border-top:1px solid #e3e9ec;margin-top:20px;padding-top:16px}
.project-session-work h3,.project-candidates h3{font-size:12px;font-weight:600;color:#879a9f}
.project-session-work h3>span,.project-candidates h3>span{font-weight:450;color:#a0adb1;margin-left:3px}
.project-work-record{padding:13px 0}
.project-work-record+.project-work-record{border-top:1px solid #e4eaed}
.project-task-link{display:flex;align-items:center;gap:12px;width:100%;color:#526b78!important}
.project-task-link>span{flex:1;min-width:0}
.project-task-link strong{font-size:15px;font-weight:550;line-height:1.65}
.project-task-link small{font-size:11px;font-weight:400;color:#9aa7ad;margin-left:10px;white-space:nowrap}
.project-task-link>.project-icon{color:#95a9b1;width:14px;height:14px}
.project-request-result{margin:11px 0 4px;display:grid;gap:9px}
.project-request-result>div{display:grid;grid-template-columns:57px minmax(0,1fr);gap:9px}
.project-request-result>div>span{font-size:11px;color:#91a0a6;padding-top:2px}
.project-request-result p{font-size:14px;color:#667d86;line-height:1.75;word-break:keep-all}
.project-work-record>.project-copy{font-size:14px;margin:8px 0}
.project-history{list-style:none;margin:16px 0 3px 4px;padding:0 0 0 15px;border-left:1px solid #d3dedf}
.project-history{max-height:480px;overflow:auto;margin-left:0;padding:4px 12px 12px 24px;border-left:0;background:linear-gradient(#d3dedf,#d3dedf) 9px 0/1px calc(100% - 12px) no-repeat;scroll-padding-block:12px;scrollbar-width:thin}
.project-history li{position:relative;padding:0 0 19px 9px}
.project-history li:last-child{padding-bottom:2px}
.project-history li:before{content:'';position:absolute;left:-18px;top:6px;width:6px;height:6px;background:#b7c9cb;border-radius:50%;box-shadow:0 0 0 4px #f7f9fa}
.project-history-heading{display:flex;align-items:baseline;gap:10px}
.project-history-heading strong{font-size:13px;font-weight:600;color:#59727b}
.project-history-heading time{font-size:10px;color:#96a3aa}
.project-history li>p{font-size:14px;color:#788b93;line-height:1.8;white-space:pre-line;margin-top:5px}
.project-history li>a{display:inline-block;margin-top:6px;font-size:12px}
.project-shared-work{padding:4px 3px}
.project-shared-work>h2{font-size:13px;color:#879a9f;font-weight:600;margin:9px 0}
.project-task-list>.project-work-record{padding:19px 3px}
.project-task-list>.project-work-record:first-child{padding-top:4px}
.project-candidates{background:#eff3f48c;border-radius:9px;padding:12px 14px;margin:16px 0 3px}
.project-match-candidate{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 0 1px}
.project-match-candidate strong{font-size:13px;font-weight:550;color:#647d85}
.project-match-candidate p{font-size:11px;color:#9ba7ac;margin-top:3px;line-height:1.6}
.project-candidate-actions{display:flex;gap:10px;flex:none}
.project-candidate-actions .project-button{background:#e4eeea;border-color:transparent;color:#527465}
.project-add-row{display:flex;justify-content:flex-end;margin:-12px 0 10px}
.project-description{margin:0 0 21px;padding:0 2px}
.project-description .project-copy{font-size:14px;color:#83958c}
.project-add-form{padding:17px 19px;margin:0 0 20px;border:1px solid #d5e1df;border-radius:12px;background:#f1f5f3a6;max-width:720px}
.project-add-form h2{font-size:15px;font-weight:600;margin-bottom:12px}
.project-add-form label{display:block;color:#778d92;font-size:12px;margin:10px 0}
.project-add-form label span{color:#a2aeaf;font-size:10px;margin-left:3px}
.project-add-form input,.project-add-form select{display:block;width:100%;min-width:0;border:1px solid #d8e3e1;border-radius:7px;background:#ffffffae;color:#526c76;padding:8px 10px;margin-top:4px;font-size:14px;font-family:inherit}
.project-add-fields{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:13px}
.project-form-actions{display:flex;justify-content:flex-end;gap:16px;margin-top:15px}
.project-final-row{border-bottom:1px solid var(--project-line);display:flex;align-items:center;gap:20px}
.project-final-open{display:flex;align-items:center;gap:12px;width:100%;padding:19px 1px;border:0;background:transparent;color:#546d7a;text-align:left;min-width:0}
.project-final-open>span:nth-child(2){flex:1;min-width:0}
.project-final-open strong{display:block;font-size:16px;font-weight:550;word-break:keep-all}
.project-final-open small{display:block;color:#96a4ab;font-size:11px;margin-top:5px}
.project-final-badge{font-size:10px;color:#8ba291;white-space:nowrap}
.project-final-row>a{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:#92a4ac;flex:none}
.project-final-row>a .project-icon{width:13px;height:13px}
.project-empty{text-align:center;padding:70px 25px;color:#8d9da4;max-width:550px;margin:auto}
.project-empty>span>.project-icon{width:28px;height:28px;color:#a4b5ba;margin-bottom:14px}
.project-empty h2{font-size:18px;font-weight:500;color:#7a8d97;margin-bottom:8px}
.project-empty p{font-size:14px;line-height:1.85}
.project-empty .project-button{margin-top:19px}
.project-error{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 13px;background:#f3ece7;color:#94745e;border-radius:9px;font-size:13px;margin-bottom:17px}
.project-notice{font-size:12px;color:#759184;background:#edf3ef;padding:8px 12px;border-radius:7px;margin:6px 0 17px!important}
.project-loading{display:flex;align-items:center;justify-content:center;gap:11px;min-height:230px;color:#8da0a9;font-size:14px}
.project-spinner{height:16px;width:16px;border:2px solid #dce5e9;border-top-color:#879eab;border-radius:50%;animation:project-spin .8s linear infinite}
@keyframes project-spin{to{transform:rotate(360deg)}}
@media(max-width:1150px){.project-workspace{grid-template-columns:190px minmax(0,1fr)}.project-content{padding:23px 23px 40px}.project-navigation{padding-inline:8px}.project-heading h1{font-size:21px}.project-controls{align-items:stretch;gap:10px;flex-wrap:wrap}.project-tabs{gap:23px}.project-session-filter{margin-left:auto}.project-session-filter>label{display:none}.project-session-filter>select{max-width:190px}.project-final-row{gap:10px}}
@media(max-width:780px){.project-workspace{display:block;min-height:0}.project-navigation{border-right:0;border-bottom:1px solid var(--project-line);padding:12px 17px;display:flex;gap:7px;align-items:flex-start;overflow-x:auto}.project-navigation-title{display:none}.project-group{flex:0 0 170px}.project-group+.project-group{margin:0}.project-group-toggle{font-size:12px!important;padding:5px 8px}.project-navigation-item{padding:7px 8px;margin:1px 0;gap:6px}.project-navigation-item strong{font-size:13px}.project-navigation-item small{font-size:10px}.project-content{padding:21px 18px 38px}.project-heading{gap:12px}.project-heading h1{font-size:21px}.project-refresh-button{padding:8px}.project-refresh-button>span{display:none}.project-source-status{font-size:10px}.project-source-row{margin-bottom:14px}.project-source-status time{display:none}.project-session-header{padding:15px;gap:10px}.project-session-body{padding:15px 17px}.project-session-date{width:49px;padding-right:11px}.project-session-title h2{font-size:16px}.project-copy{font-size:15px}.project-event{flex-wrap:wrap}.project-event strong{display:block;margin-left:0}.project-event>a{margin-left:22px}.project-session-filter>select{max-width:160px}.project-final-row{flex-wrap:wrap;padding-bottom:12px}.project-final-open{padding:15px 0 0}.project-final-row>a{margin-left:28px}.project-match-candidate{align-items:flex-start}.project-source-row .project-text-button{font-size:11px!important}.project-empty{padding:50px 12px}}
@media(prefers-reduced-motion:reduce){.project-spinner{animation:none}.project-group-toggle>.project-icon,.project-disclosure>summary>.project-icon{transition:none}}
@media(max-width:460px){.project-add-fields{grid-template-columns:1fr;gap:0}.project-tabs{gap:18px}.project-session-filter{width:100%;justify-content:flex-end;margin-bottom:5px}.project-session-filter>select{max-width:none}.project-controls{gap:2px}.project-source-row{align-items:flex-start}.project-heading h1{font-size:20px}.project-session-body{padding:14px}.project-request-result>div{grid-template-columns:1fr;gap:2px}.project-match-candidate{flex-wrap:wrap}.project-candidate-actions{margin-left:auto}}

/* Projects own context; conversations remain small, resumable units of work. */
/* Size the project view from the space below the app bar, including its padding. */
body.mac-theme:has(#project-workspace-host){overflow:hidden}
body.mac-theme:has(#project-workspace-host) .shell{height:100dvh;min-height:0}
body.mac-theme:has(#project-workspace-host) .body{height:100dvh;min-height:0;display:flex;flex-direction:column}
body.mac-theme:has(#project-workspace-host) .topbar{flex:none}
body.mac-theme:has(#project-workspace-host) #main{flex:1;min-height:0;min-width:0;width:100%;max-width:none;margin:0;padding:0;overflow:hidden}
#project-workspace-host{height:100%;min-height:0}
#project-workspace-host .project-workspace{height:100%;min-height:0;overflow:hidden}
#project-workspace-host .project-navigation,#project-workspace-host .project-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bccbd2 transparent;scrollbar-gutter:stable;scroll-padding-block:24px}
#project-workspace-host .project-content{padding-bottom:max(48px,env(safe-area-inset-bottom))}
@media(max-width:780px){#project-workspace-host .project-workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}#project-workspace-host .project-navigation{max-height:min(180px,28dvh);overflow:auto;scrollbar-gutter:auto}}
.project-conversations{display:grid;grid-template-columns:minmax(155px,205px) minmax(0,1fr);min-height:360px;height:clamp(360px,calc(100dvh - 320px),650px);border:1px solid #dce4e8;border-radius:13px;background:#ffffff6e;overflow:hidden}
.project-conversation-list{padding:14px 10px;border-right:1px solid #e0e7e9;background:#ecf1f544;min-width:0;overflow:auto}
.project-conversation-list-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 4px 12px;flex-wrap:wrap}
.project-conversation-list-heading>strong{font-size:12px;font-weight:600;color:#738894}.project-conversation-list-heading>strong>span{color:#98a8ae;font-weight:400}
.project-conversation-list-heading>.project-text-button{font-size:12px!important}
.project-conversation-item{width:100%;display:block;text-align:left;border:0;background:transparent;color:#57717e;padding:10px 11px;border-radius:8px;margin:2px 0}
.project-conversation-item:hover{background:#ffffff94}.project-conversation-item[aria-pressed=true]{background:#dfe9ee;color:#3f6172}
.project-conversation-item strong{font-size:14px;line-height:1.6;font-weight:550;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all}
.project-conversation-item small{font-size:11px;color:#8ba097;display:flex;align-items:center;gap:5px;margin-top:4px}
.project-chat-running{height:6px;width:6px;background:#81a991;border-radius:50%;animation:project-chat-pulse 1.4s ease-in-out infinite}
.project-chat-link-existing{padding:13px 9px 0;border-top:1px solid #dfe7e9;margin-top:17px}
.project-chat-link-existing>.project-text-button{font-size:11px!important}
.project-conversation{display:flex;flex-direction:column;min-width:0;min-height:0}
.project-conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 21px;border-bottom:1px solid #e3eaec;background:#ffffff56}
.project-conversation-heading>div{min-width:0}.project-conversation-heading small{font-size:10px;color:#8b9ea6}
.project-conversation-heading h2{font-size:17px;font-weight:600;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.project-conversation-heading>a{font-size:11px;flex:none;white-space:nowrap}.project-conversation-heading>a>.project-icon{width:12px}
.project-conversation-records{padding:21px 24px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:110px}
.project-chat-request h3,.project-chat-result h3{font-size:12px;color:#8497a2;font-weight:600;margin-bottom:7px}
.project-chat-request>p{font-size:16px;font-weight:600;line-height:1.8;color:#405c6c;white-space:pre-wrap;word-break:keep-all}
.project-chat-result{border-top:1px solid #e2e9ed;margin-top:22px;padding-top:20px}
.project-chat-result>p{font-size:15px;line-height:1.8;white-space:pre-wrap;color:#597280;word-break:keep-all}
.project-chat-result>a,.project-chat-files>a{font-size:12px;display:flex;align-items:center;gap:7px;margin-top:13px}.project-chat-files>a>.project-icon{width:14px}
.project-conversation-records>.project-disclosure{margin-top:22px;padding-top:15px;border-top:1px solid #e2e9ed}
.project-chat-intro{font-size:15px;color:#8b9da5;line-height:1.9;margin-top:8px}.project-chat-intro strong{font-weight:550;color:#6c858f}.project-chat-intro p+p{margin-top:15px}
.project-chat-progress{padding:15px 0 3px;margin-top:15px;color:#78928a}.project-chat-progress>div{display:flex;gap:9px;align-items:center;font-size:13px}.project-chat-progress>div>strong{font-weight:600}.project-chat-progress>div>.project-text-button{margin-left:auto;font-size:11px!important}
.project-chat-progress ol{font-size:12px;line-height:1.85;color:#81929b;padding:0 0 0 19px;margin:12px 0 0;white-space:pre-wrap;word-break:break-word}.project-chat-progress li+li{margin-top:7px}.project-chat-progress>p{font-size:12px;margin-top:8px}
.project-chat-composer{padding:13px 16px 11px;border-top:1px solid #dfe7eb;background:#f4f7f9b8;flex:none}
.project-chat-composer>textarea{display:block;width:100%;font:inherit;font-size:15px;line-height:1.7;color:#456373;border:1px solid #d6e1e7;background:#ffffffe8;border-radius:9px;padding:11px 13px;min-height:95px;max-height:220px;resize:vertical;outline-offset:0}
.project-chat-composer>textarea::placeholder{color:#96a6b1}.project-chat-composer>textarea:focus{outline:2px solid #a4bdcc70;border-color:#adc4d2}
.project-chat-composer>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.project-chat-composer>div>span{font-size:10px;color:#8da0ae}
.project-chat-send{display:inline-flex;align-items:center;gap:7px;border:1px solid #65889966;background:#648798;color:white;border-radius:8px;padding:7px 13px;font-size:13px!important}.project-chat-send:hover{background:#577d90}.project-chat-send .project-spinner{height:13px;width:13px;border-color:#a7bbc5;border-top-color:white}
.project-chat-closed{padding:16px 20px;border-top:1px solid #e0e8eb;font-size:12px;color:#899ca7;display:flex;justify-content:space-between;align-items:center;gap:15px}
.sidebar-project-home{display:flex;gap:9px;align-items:center;color:#58738a;text-decoration:none;padding:9px 10px;border-radius:8px;margin:0 3px 11px;font-size:14px;font-weight:600;background:#ffffff40}.sidebar-project-home>.icon:last-child{margin-left:auto;width:13px}.sidebar-project-home.is-current{background:#d9e6f0;color:#3d6385}
.sidebar-chat-caption{font-size:11px;color:#9cabb9;margin:11px 12px 4px}.sidebar-chat-project{display:block;font-size:10px;font-weight:400;color:#92a6b4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:3px;line-height:1.6}
.sidebar-work button>.sidebar-chat-title{display:block;min-width:0}.sidebar-individual-work{margin:15px 5px 12px}.sidebar-individual-work>summary{font-size:12px;color:#8498aa;cursor:pointer;padding:7px 6px;display:flex;gap:7px;align-items:center;list-style:none}.sidebar-individual-work>summary::-webkit-details-marker{display:none}.sidebar-individual-work>summary:before{content:'';height:5px;width:5px;border-right:1.4px solid currentColor;border-bottom:1.4px solid currentColor;transform:rotate(-45deg);margin-right:3px;transition:transform .15s}.sidebar-individual-work[open]>summary:before{transform:rotate(45deg)}.sidebar-individual-work>summary>span{font-size:10px;color:#acb9c4;margin-left:auto}.sidebar-individual-more{font-size:11px;color:#8ba0b2;text-decoration:none;margin:7px 12px;display:block}
body.mac-theme .shell-refined .sidebar-work>button>.sidebar-chat-title{display:block;white-space:normal;overflow:hidden}
body.mac-theme .shell-refined .sidebar-work>button .sidebar-chat-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55}
body.mac-theme .shell-refined .sidebar .sidebar-continuation .sidebar-work-list{max-height:none;overflow:visible}
@keyframes project-chat-pulse{50%{opacity:.35}}
@media(max-width:1150px){.project-conversations{grid-template-columns:165px minmax(0,1fr)}.project-conversation-heading{padding:14px 16px;align-items:flex-start;flex-direction:column;gap:7px}.project-conversation-records{padding:17px}.project-conversation-heading h2{font-size:16px}}
@media(max-width:900px){.project-conversations{display:flex;flex-direction:column;height:auto;min-height:550px}.project-conversation-list{max-height:155px;display:flex;gap:4px;flex-wrap:wrap;border-right:0;border-bottom:1px solid #e0e7e9}.project-conversation-list-heading{width:100%;margin-bottom:3px}.project-conversation-item{width:calc(50% - 3px);margin:0}.project-chat-link-existing{padding:0 7px;margin:0;border:0}.project-conversation{min-height:390px;max-height:650px}.project-conversation-heading{flex-direction:row;align-items:center}.project-conversation-heading>a{font-size:10px}.project-conversation-records{min-height:160px}.project-chat-composer>textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){.project-chat-running{animation:none}.sidebar-individual-work>summary:before{transition:none}}

/* Completion keeps finished work accessible without mixing it into current work. */
.project-closed-group{border-top:1px solid var(--project-line);padding-top:14px;margin-top:22px!important}
.project-closed-group .project-group-toggle small{font-size:11px;font-weight:400;margin-left:4px}
.project-navigation-item.is-closed>.project-icon,.project-navigation-item .project-closed-label{color:#819c8d}
.project-completion-badge{display:inline-flex;align-items:center;gap:4px;border-radius:6px;background:#eaf1eb;color:#749180;font-size:11px;line-height:1.5;font-weight:500;padding:3px 7px;white-space:nowrap;flex:none}
.project-completion-badge>.project-icon{width:12px;height:12px}
.project-heading h1>.project-completion-badge{margin-left:12px;vertical-align:middle}
.project-heading-actions{display:flex;align-items:center;gap:17px;flex:none}
.project-work-record-heading{display:flex;align-items:center;gap:18px;justify-content:space-between}
.project-work-record-heading>.project-task-link{flex:1;min-width:0}
.project-work-record-heading>.project-text-button{font-size:12px!important}
.project-conversation-actions{display:flex;gap:13px;align-items:center;flex:none;flex-wrap:wrap}
.project-conversation-actions>a{font-size:11px;white-space:nowrap}.project-conversation-actions>a>.project-icon{width:12px}
.project-conversation-actions>.project-text-button{font-size:11px!important}
@media(max-width:780px){.project-closed-group{padding-top:0;margin-top:0!important;border-top:0;border-left:1px solid var(--project-line);padding-left:9px}.project-heading-actions{gap:10px}.project-heading-actions>.project-text-button{font-size:11px!important}.project-heading h1>.project-completion-badge{margin-left:7px}.project-work-record-heading{gap:10px}}
@media(max-width:460px){.project-heading{align-items:flex-start}.project-heading-actions{flex-direction:column-reverse;align-items:flex-end;gap:5px}.project-conversation-heading{align-items:flex-start;flex-direction:column}.project-conversation-actions{width:100%;justify-content:space-between}.project-chat-closed{align-items:flex-start;flex-direction:column;gap:7px}}
