.new-chat-overlay{position:relative;z-index:10;min-height:0;display:grid;background:rgba(8,9,12,.44);backdrop-filter:blur(3px)}
.new-chat-panel{position:relative;min-height:0;overflow:auto;display:grid;grid-template-rows:minmax(0,1fr);padding:72px 20px 24px;border:0;border-radius:0;background:#202124;box-shadow:none}
.new-chat-panel:has(.project-picker){overflow:hidden}
.new-chat-panel .conversation-back{position:absolute}
.project-picker-shell{position:relative;display:grid;place-items:center;min-height:0}
.project-picker-copy{align-self:end;display:grid;place-items:center;gap:14px;max-width:min(760px,92vw);margin-bottom:144px;text-align:center}
.project-picker-prompt{display:grid;justify-items:center;gap:2px;margin:0;color:#f4f1eb;font-size:clamp(26px,4vw,42px);font-weight:400;line-height:1.35}.new-chat-prompt-question{display:block}
.project-picker-trigger{min-height:1.35em;margin:0 .08em;padding:0 .04em;border:0;border-bottom:2px dotted #8f949d;border-radius:0;background:transparent;color:inherit;font:inherit;line-height:inherit;cursor:pointer}
.project-picker-trigger:hover,.project-picker-trigger[aria-expanded="true"]{border-color:#c9ced6;color:#fff}
.project-picker{position:absolute;top:auto;bottom:82px;left:50%;z-index:20;width:min(340px,calc(100vw - 40px));max-height:min(440px,58dvh);overflow:visible;display:grid;gap:0;padding:8px;border:1px solid #454954;border-radius:16px;background:#202124;box-shadow:0 16px 40px rgba(0,0,0,.48);transform:translateX(-50%)}
.project-search{width:100%;min-height:38px;margin-top:3px;border:1px solid #3f424b;border-radius:10px;background:#282a30;color:#f4f1eb}
.project-picker-title{margin:2px 8px 4px;color:#f2f3f5;font-size:16px;font-weight:700;line-height:1.4}.project-picker-section-title{margin:12px 8px 3px;color:#9da3ad;font-size:12px;font-weight:600;line-height:1.4}
.project-picker-list{display:grid;gap:0;max-height:114px;overflow:auto}
.project-picker-list button,.project-picker-actions>button,.project-picker-without-project{min-height:38px;display:grid;grid-template-columns:20px minmax(0,1fr) 18px;align-items:center;gap:7px;padding:4px 8px;border:0;border-radius:10px;background:transparent;color:#f2f3f5;text-align:left}
.project-picker-list button:hover,.project-picker-actions>button:hover,.project-picker-without-project:hover,.project-picker-browse:hover{background:#35373d}
.project-picker-list button[aria-current="true"]{background:#343c4b}
.project-picker-list strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.project-picker-icon{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:#d8dae0}
.project-picker-icon::before{content:none}
.project-picker-actions{display:grid;margin:0;padding:0;border-top:0}
.project-picker-new-project{position:relative}.project-create-popover{position:absolute;left:4px;right:4px;z-index:6;margin:0;border:1px solid #454954;border-radius:10px;background:#282a30;box-shadow:0 8px 20px rgba(0,0,0,.3)}.project-create-popover--above{bottom:calc(100% + 4px)}.project-create-popover--below{top:calc(100% + 4px)}.project-create-menu{display:grid;gap:2px;padding:4px}.project-create-menu>button{min-height:38px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:7px;padding:4px 8px;border:0;border-radius:8px;background:transparent;color:#f2f3f5;text-align:left}.project-create-menu>button:hover{background:#35373d}
.project-picker-action-svg,.project-picker-chevron-svg,.project-picker-selected-svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.project-picker-chevron-svg{transition:transform .16s ease}.project-picker-chevron-svg.open{transform:rotate(90deg)}.project-picker-selected-svg{color:#8fa5ff}
.project-picker-without-project{grid-template-columns:20px minmax(0,1fr);margin:0}
.new-project-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:5px}.new-project-form input{min-width:0;font-size:16px}
.project-picker p{margin:6px 8px 0;color:#c4c7ce;font-size:12px}.project-picker .thread-state.error{color:#ffb5ba}
.project-picker-browse{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:7px;width:100%;min-height:38px;padding:4px 8px;border:0;border-top:1px solid #383b43;border-radius:10px;background:transparent;color:#f2f3f5;text-align:left}
.new-chat-composer{margin:0}
.folder-browser{display:grid;gap:8px}.folder-browser-header{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.folder-browser-header button{min-height:42px}.folder-browser-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-browser-list{display:grid;max-height:min(320px,42dvh);overflow:auto}.folder-browser-list button{display:grid;grid-template-columns:18px minmax(0,1fr) 18px;align-items:center;gap:8px;min-height:48px;padding:5px 4px;border:0;border-bottom:1px solid #50525c;border-radius:0;background:transparent;text-align:left}.folder-browser-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.folder-browser-actions>button{min-height:48px}.folder-browser-create{background:#30333a;color:#f2f3f5}.folder-browser-select{background:#e8e9ed;color:#111318;font-weight:800}.folder-browser-create-form{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.folder-browser-create-form input{min-width:0;min-height:48px;font-size:16px}.folder-browser-create-form button{min-height:48px}
html[data-theme="light"] .app-shell :is(.new-chat-panel,.project-picker){background:#fff!important;background-color:#fff!important;border-color:#d0d7de!important;box-shadow:0 12px 28px rgba(31,35,40,.16)!important}html[data-theme="light"] .app-shell :is(.project-picker-prompt,.project-picker-title){color:#1f2328}html[data-theme="light"] .app-shell .project-picker-trigger:hover{color:#000}html[data-theme="light"] .app-shell .project-picker-section-title{color:#57606a}html[data-theme="light"] .app-shell .project-search{border-color:#d0d7de;background:#f6f8fa;color:#1f2328}html[data-theme="light"] .app-shell :is(.project-picker-browse,.project-create-menu,.new-project-form){border-color:#d0d7de!important}html[data-theme="light"] .app-shell :is(.project-create-menu,.new-project-form){background:#fff!important;background-color:#fff!important}html[data-theme="light"] .app-shell :is(.project-picker-list button,.project-picker-actions>button,.project-picker-without-project,.project-picker-browse,.project-create-menu>button){color:#1f2328}html[data-theme="light"] .app-shell :is(.project-picker-list button:hover,.project-picker-actions>button:hover,.project-picker-without-project:hover,.project-picker-browse:hover,.project-create-menu>button:hover){background:#eaeef2!important;background-color:#eaeef2!important}
@media(max-width:640px){.new-chat-overlay{padding:0}.new-chat-panel{width:100%;padding:70px 14px 16px;border-width:0;border-radius:0}.project-picker-copy{gap:12px;margin-bottom:142px}.project-picker-prompt{font-size:26px}.project-picker{top:auto;bottom:80px;width:min(340px,calc(100vw - 28px));max-height:min(520px,68dvh)}.project-search{min-height:48px;font-size:16px}.project-picker-list{max-height:144px}.project-picker-list button,.project-picker-actions>button,.project-create-menu>button{min-height:48px}.project-picker-without-project,.project-picker-browse{min-height:48px}}
