/* Project identity stays pinned above the independent chat scroller. */
.scope-project-header{position:sticky;top:0;z-index:7;display:flex;align-items:center;gap:11px;flex:none;min-width:0;padding:13px 16px;border:1px solid #3c6473;border-radius:12px;margin:0 0 10px;background:linear-gradient(120deg,#16343e88,#0c202c);backdrop-filter:blur(12px)}.scope-project-icon{display:flex;align-items:center;justify-content:center;width:34px;height:35px;color:#7ae9d0;flex:none}.scope-project-icon svg{width:27px;height:27px;stroke-width:1.8}.scope-project-header>div{min-width:0;flex:1}.scope-project-title{display:flex;align-items:center;gap:9px;min-width:0}.scope-project-title strong{font-size:14px;color:#e7f4f6;line-height:1.6;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.scope-lock{display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:8px;line-height:1.5;border:1px solid #4eb9a6;color:#85ead5;border-radius:7px;padding:2px 6px;background:#12413733;white-space:nowrap;flex:none}.scope-lock svg{width:11px;height:11px}.scope-project-header p{font-size:10px;color:#9bb7c4;line-height:1.8;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:2px 0 0}.scope-change{font-size:10px;min-height:30px;padding:4px 8px;line-height:1.5;border-color:#5b7580;color:#d2e4ed;background:#20354166;border-radius:8px;white-space:nowrap;flex:none}.scope-composer-chip{display:flex;align-items:center;gap:5px;border:0;background:transparent;padding:0 3px;font-size:9px;color:#95dfcc;min-height:17px;height:17px;line-height:15px;min-width:0;max-width:100%;overflow:hidden;justify-content:flex-start}.scope-composer-chip svg{width:12px;height:12px;flex:none}.scope-composer-chip span{min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.scope-composer-chip:hover{background:#153a35;color:#bbf5e5}.scope-project-list{min-width:0}.scope-list-tabs{display:flex;gap:4px;width:360px;max-width:100%;border:1px solid #325362;border-radius:12px;background:#10232e;padding:4px;margin-bottom:23px}.scope-list-tabs>button{flex:1;min-width:0;border:0;border-radius:8px;background:transparent;color:#9db4c8;font-size:12px;line-height:1.6;min-height:36px;padding:7px 10px;display:flex;align-items:center;justify-content:center;gap:8px}.scope-list-tabs>button.active{background:linear-gradient(115deg,#76f0d5,#3ed8b9);color:#073e31;font-weight:750}.scope-list-tabs>button>span{font-size:9px;opacity:.6}.scope-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.scope-project-card{min-width:0;padding:21px;border:1px solid #3f5c70;border-radius:15px;background:linear-gradient(130deg,#1a384844,transparent 85%),#0b202d}.scope-project-card.selected{border-color:#4a9a86;background:linear-gradient(130deg,#21463844,transparent 85%),#0b202d}.scope-project-card>header{display:flex;align-items:flex-start;gap:12px;min-width:0;flex-wrap:wrap}.scope-card-icon{width:37px;height:39px;display:flex;align-items:center;justify-content:center;flex:none;color:#6fe5ca}.scope-card-icon svg{width:29px;height:29px}.scope-project-card>header>div{min-width:0;flex:1}.scope-project-card h2{font-size:17px;line-height:1.6;margin:0;color:#e5f2f5;overflow-wrap:anywhere}.scope-project-card header p{font-size:11px;line-height:1.8;color:#9bb8c7;margin:4px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}.scope-current-badge{display:inline-flex;border:1px solid #5dc9ad;color:#88ebd1;border-radius:10px;padding:3px 7px;font-size:9px;line-height:1.5;margin-left:49px;background:#15453744;white-space:nowrap}.scope-open{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;border:1px solid #73dac5;border-radius:10px;background:#09262a;color:#c9f1e7;font-size:12px;font-weight:650;line-height:1.7;margin-top:19px;padding:8px 10px}.scope-open:hover{background:#16473d;border-color:#9bf2d9}.scope-app-link{display:block;font-size:10px;color:#92bcb8;margin-top:11px;text-align:center;line-height:1.8}.scope-app-link:hover{color:#8bf1d5}.scope-card-actions{display:flex;justify-content:flex-end;border-top:1px solid #2c4856;margin-top:18px;padding-top:10px}.scope-card-actions>button{display:flex;align-items:center;gap:7px;min-height:29px;border:0;background:transparent;padding:3px 0;color:#a8bdcd;font-size:10px;line-height:1.6}.scope-card-actions svg{width:15px;height:15px}.scope-card-actions>button:hover{color:#f1c0ba}.scope-restore{border:1px solid #9b7bc9;background:#30274544;color:#cbb0ed;font-size:11px;border-radius:9px;min-height:34px;padding:5px 12px;line-height:1.6;margin:14px 0 0 auto;display:flex}.scope-project-card.archived .scope-card-icon{color:#7995a4}.scope-project-card.archived h2{color:#c0d2df}.scope-new-card{min-height:175px;border:1px solid #456377;border-radius:15px;background:#0e253166;color:#e3f1f1;display:flex;align-items:center;justify-content:center;gap:15px;padding:22px;line-height:1.6}.scope-new-card>span{font-size:36px;color:#61e3c4;font-weight:300}.scope-new-card>strong{font-size:17px;font-weight:650}.scope-new-card:hover{background:#14392f66;border-color:#67b9a3}.scope-project-note{display:flex;align-items:center;gap:9px;font-size:11px;color:#8ba7ba;line-height:1.9;margin:25px 0 0}.scope-project-note svg{width:17px;height:17px;color:#a0b6c4}.scope-trash-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:44px 20px;border:1px dashed #335264;border-radius:13px;color:#9cb7c9;font-size:13px;line-height:1.8;text-align:center}.scope-trash-empty small{color:#648c9e;font-size:10px}.scope-project-info{margin-top:13px;border-top:1px solid #274552;padding-top:8px}.scope-project-info summary{font-size:9px;color:#6997a9;cursor:pointer;line-height:1.8}.scope-project-info p{font-size:9px;color:#87adbc;overflow-wrap:anywhere;line-height:1.9;margin:6px 0}.scope-project-info code{font-size:9px;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:0}.scope-owner-link{display:inline-flex;border:1px solid #345e62;border-radius:8px;padding:6px 9px;font-size:10px;color:#8ecfbf;line-height:1.6;white-space:nowrap}.scope-choice-list{display:flex;flex-direction:column;gap:10px;max-height:45dvh;overflow:auto;padding:2px 3px}.scope-choice{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #355566;border-radius:10px;background:#0c2430;margin:0;min-width:0}.scope-choice>input{width:16px;min-width:16px;height:16px;margin:0;accent-color:#4de1bf;flex:none}.scope-choice>span{min-width:0;flex:1}.scope-choice strong{font-size:13px;color:#d8ebe9;font-weight:600;line-height:1.8;display:block;overflow-wrap:anywhere}.scope-choice small{font-size:9px;color:#7d9faf;line-height:1.8;overflow-wrap:anywhere;display:block}.scope-selector-hint{font-size:11px;color:#c1b1df;line-height:1.8;margin:0 0 13px}.scope-create-open{display:flex;align-items:center;gap:8px;color:#a0cfbf;font-size:11px;margin-top:13px;line-height:1.8}.scope-create-open input{width:17px;height:17px;min-width:17px;margin:0;accent-color:#4de1bf}.scope-project-list button:focus-visible,.scope-project-header button:focus-visible,.scope-choice:focus-within{outline:2px solid #62dfbd;outline-offset:3px}.ai-page .scope-project-header+.ai-voice-hero{margin-top:0}.member-mode.ai-page .member-ai-heading{display:none}
@media(max-width:1200px) and (min-width:1025px){.scope-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scope-project-card{padding:18px}.scope-project-card h2{font-size:15px}.scope-project-card header p{font-size:10px}}
@media(max-width:1024px){.ai-page .scope-project-header{padding:10px 11px;gap:9px;margin:0 0 9px;border-radius:11px;min-height:62px;max-height:70px;background:#0f2834f5}.scope-project-title strong{font-size:14px}.scope-project-header p{font-size:9px}.scope-project-icon{width:31px;height:32px}.scope-project-icon svg{width:26px;height:26px}.scope-lock{font-size:8px;padding:2px 5px;gap:3px}.scope-lock svg{width:10px;height:10px}.scope-change{min-height:29px;font-size:9px;padding:4px 7px}.scope-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.scope-list-tabs{width:100%;margin-bottom:22px}.scope-list-tabs>button{font-size:13px;min-height:40px}.scope-project-card{padding:21px}.scope-new-card{min-height:158px}.scope-composer-chip{font-size:8px;height:17px;min-height:17px}.scope-composer-chip svg{width:11px;height:11px}.scope-composer-chip span{max-width:100%}.scope-owner-link{font-size:9px;padding:5px 8px}.scope-project-info p,.scope-project-info code{font-size:9px}.ai-page .composer-options{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,1fr)}.member-mode.ai-page .member-composer-options{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}}
@media(max-width:650px){.scope-project-grid{grid-template-columns:1fr;gap:15px}.scope-project-card{padding:20px;border-radius:15px}.scope-project-card h2{font-size:18px}.scope-project-card header p{font-size:11px}.scope-card-icon{width:32px;height:36px}.scope-card-icon svg{width:29px;height:29px}.scope-current-badge{font-size:9px;margin-left:44px}.scope-open{font-size:13px;min-height:42px;border-radius:11px;margin-top:20px}.scope-app-link{font-size:10px}.scope-card-actions{margin-top:18px;padding-top:11px}.scope-card-actions>button{font-size:11px;min-height:30px}.scope-card-actions svg{width:16px;height:16px}.scope-new-card{min-height:130px;gap:14px}.scope-new-card>span{font-size:38px}.scope-new-card>strong{font-size:18px}.scope-project-note{font-size:10px;line-height:1.9;margin-top:22px;align-items:flex-start}.scope-project-note svg{width:16px;height:16px;margin-top:2px}.scope-restore{font-size:11px}.scope-project-header p{font-size:8px}.scope-project-title strong{font-size:12px}.scope-project-title{gap:7px}.scope-lock{font-size:7px;border-radius:6px}.scope-project-icon{width:27px;height:30px}.scope-project-icon svg{width:24px;height:24px}.ai-page .scope-project-header{padding:9px;gap:8px;min-height:60px;max-height:65px}.scope-change{font-size:8px;min-height:27px;padding:3px 6px}.scope-owner-link{font-size:8px;padding:4px 6px}.scope-choice strong{font-size:12px}.scope-choice small{font-size:8px}.scope-create-open{font-size:10px}.scope-selector-hint{font-size:10px}.scope-composer-chip{font-size:7px}.scope-composer-chip svg{width:10px;height:10px}}
@media(max-width:350px){.ai-page .scope-project-header{padding:8px 7px;gap:6px;min-height:58px}.scope-project-title strong{font-size:11px}.scope-project-header p{font-size:7px}.scope-project-icon{width:24px}.scope-project-icon svg{width:22px;height:22px}.scope-lock{font-size:6px;padding:2px 4px;gap:2px}.scope-lock svg{width:8px;height:8px}.scope-project-title{gap:5px}.scope-change{font-size:7px;padding:3px 5px}.scope-project-card{padding:17px}.scope-project-card h2{font-size:16px}.scope-project-card header p{font-size:10px}.scope-current-badge{font-size:8px}.scope-open{font-size:12px}.scope-list-tabs>button{font-size:12px}.scope-project-note{font-size:9px}.scope-new-card>strong{font-size:17px}.scope-composer-chip{font-size:6px}}
@media(prefers-reduced-motion:reduce){.scope-project-list *,.scope-project-header *{transition:none!important;animation:none!important}}
