/* Conversation-first workspace, based on the supplied references. */
.reference-workspace{--ink:#242427;--muted:#797981;--wash:#fafaf8;--line:#e4e4e2;--purple:#222225;--purple-soft:#eeeeea;background:#fafaf8;grid-template-columns:270px minmax(0,1fr)}
.reference-workspace .portal-rail{background:#f3f3ef;border-right:1px solid #d9d9d6;padding:23px 16px 15px;overflow-y:auto;gap:0}.rail-brand{display:flex;align-items:center;gap:3px;margin:0 0 25px}.rail-brand .brand{font-size:23px;letter-spacing:-1px;margin-right:auto}.rail-brand .brand svg{width:23px;color:#6b50de}.rail-brand .icon-btn{padding:5px}.jump-button{display:flex;align-items:center;gap:10px;width:100%;border:1px solid #dddde1;border-radius:8px;background:white;padding:11px 12px;color:#696972;font-size:13px}.jump-button kbd{margin-left:auto;font:inherit;font-size:11px;color:#929299}.new-bot{width:100%;margin:10px 0 19px;background:#19191c!important;border-color:#19191c!important;font-size:13px!important;padding:11px!important;color:white!important}.reference-workspace .rail-nav{gap:3px}.reference-workspace .rail-nav a,.reference-workspace .rail-nav>button,.rail-item{display:flex;align-items:center;gap:11px;border:0;background:transparent;padding:9px 11px;font-size:13px;color:#62626b;border-radius:5px;width:100%;text-align:left;line-height:1.5}.reference-workspace .rail-nav a:hover,.reference-workspace .rail-nav>button:hover,.rail-item:hover{background:#eaeae6}.reference-workspace .rail-nav a.active{background:#e9e9e3;color:#252529;border-left:3px solid #28a7cf;padding-left:8px}.rail-section{border-top:1px solid #deded9;margin-top:18px;padding-top:15px}.rail-section summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:13px;color:#62626b;padding:0 10px 10px;list-style:none}.rail-section summary::-webkit-details-marker{display:none}.reference-workspace .project-link{font-size:12px;padding:8px 11px;gap:11px}.reference-workspace .project-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nova-square{display:inline-flex;justify-content:center;align-items:center;background:#d96b31;color:white;width:23px;height:23px;border-radius:5px;font-size:12px;font-weight:650;flex:none}.at-symbol,.hash{font-size:19px;width:18px;text-align:center}.room-heading{display:flex;justify-content:space-between;align-items:center;margin:20px 10px 6px;color:#62626b;font-size:13px}.reference-workspace .rail-bottom{padding-top:30px;margin-top:auto}.reference-workspace .rail-profile{border:0;padding:10px 0;margin:0}.reference-workspace .rail-profile .avatar{background:#7350db;color:white;border-radius:9px;width:34px;height:34px;font-size:14px}.reference-workspace .rail-profile small{font-size:10px;max-width:155px;overflow:hidden;text-overflow:ellipsis}.reference-workspace #workspace-select{width:100%;border:1px solid #dfdfdc;border-radius:6px;background:transparent;padding:7px;color:#68686e;font-size:11px;margin:5px 0 10px}.rail-status{display:flex;gap:6px;font-size:9px;color:#75757c}.rail-status>span{display:flex;align-items:center;gap:4px;background:#e7e7e9;border-radius:5px;padding:5px 7px}.rail-status svg{width:12px;height:12px}.team-access-link{display:flex;justify-content:space-between;font-size:10px;color:#818188;margin-top:12px}.team-access-link svg{width:13px;height:13px}
.reference-workspace .portal-topbar{height:68px;border:0;background:#fafaf8;padding:0 30px}.reference-workspace .crumbs{font-size:13px;gap:12px}.reference-workspace .crumbs strong{font-weight:500}.reference-workspace .topbar-actions .btn{background:transparent}.reference-workspace .portal-grid{display:block;height:calc(100dvh - 68px);min-height:0}.reference-workspace .conversation{height:100%;max-width:1050px;margin:auto;background:transparent}.reference-workspace .conversation-head{display:none}.reference-workspace .messages{padding:35px 38px 20px;min-height:80px}.reference-workspace .message{grid-template-columns:32px minmax(0,1fr);gap:12px;margin-bottom:27px}.reference-workspace .message-top{font-size:12px}.reference-workspace .message-text{font-size:14px;line-height:1.85}.reference-workspace .message.assistant .message-text{background:white;border:1px solid #e8e8e6;border-radius:14px;padding:17px 20px;color:#45454e;box-shadow:none}.reference-workspace .message .avatar{background:#ecebe6;border-radius:8px}.reference-workspace .message .pill{background:transparent;color:#929298;font-size:10px}.reference-workspace .composer-wrap{padding:14px 35px 19px;margin-top:auto;background:transparent;flex:none}.reference-workspace .composer{border:1px solid #a4d9b8;border-radius:15px;padding:17px 16px 13px;background:white;box-shadow:none}.reference-workspace .composer:focus-within{border-color:#71b78c;box-shadow:0 0 0 3px #a4d9b812}.composer-address{display:flex;align-items:flex-start;gap:10px}.mention-chip{background:#dcf1c4;padding:4px 8px;white-space:nowrap;border-radius:5px;font-size:12px;margin-top:4px;color:#303b28}.reference-workspace .composer textarea{font-size:14px;padding:6px 0;min-height:74px;line-height:1.6}.reference-workspace .composer-bottom{padding:7px 0 0;gap:7px}.composer-tools{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0}.reference-workspace .model-picker select{max-width:230px;font-size:11px;padding:9px;border-color:#e2e2e4;color:#666670}.reference-workspace .model-picker .icon-btn{display:none}.reference-workspace .send-btn{background:#222225;border-radius:8px;width:35px;height:35px}.reference-workspace .send-btn:disabled{background:#d4d4d8}.reference-workspace .composer-invite{font-size:11px;padding:8px 11px;background:white}.reference-workspace .consent{font-size:10px;color:#8a8a91;line-height:1.5;margin-top:9px}.reference-workspace .composer-caption{font-size:9px;color:#99999f}.reference-workspace .welcome{padding:24px 36px 5px;flex:none;text-align:left;overflow:visible;margin:0}.reference-workspace .welcome h2{font-size:28px;letter-spacing:-.7px;font-weight:450;line-height:1.3;text-align:center;margin:0 0 24px;color:#54545c}.nova-intro{display:flex;align-items:flex-start;gap:12px;max-width:660px;margin:0 auto 15px}.nova-intro p{font-size:12px;line-height:1.7;color:#84848a;margin:0}.nova-intro strong{font-weight:550;color:#55555e;display:block}.empty-chat{overflow-y:auto;display:flex;flex-direction:column;justify-content:center}.reference-workspace .empty-chat .composer-wrap{margin-top:0;padding-top:12px;padding-bottom:5px}.ideas-panel{flex:none;padding:0 38px 24px;margin:0}.ideas-panel summary{display:flex;align-items:center;gap:7px;font-size:11px;color:#73737b;cursor:pointer;padding:9px 10px;list-style:none}.ideas-panel summary::-webkit-details-marker{display:none}.ideas-panel summary svg{width:14px;height:14px}.ideas-panel>button{display:flex;align-items:center;gap:13px;text-align:left;border:0;background:transparent;border-radius:8px;padding:10px;width:100%;font-size:12px;color:#494950}.ideas-panel>button:hover{background:#f0f0f2}.ideas-panel>button>span{width:29px;height:29px;display:grid;place-items:center;background:#e5f6fb;color:#239cce;border-radius:5px;flex:none}.ideas-panel>button>span svg{width:16px;height:16px}.ideas-panel>button>svg{margin-left:auto;width:14px;opacity:0}.ideas-panel>button:hover>svg{opacity:1}.reference-workspace .artifact{display:none}.reference-workspace .artifact.open{display:block;position:fixed;right:0;top:68px;width:350px;height:calc(100dvh - 68px);z-index:20;background:white;box-shadow:-10px 0 50px #22222214;overflow:auto;border-left:1px solid #ddd}.reference-workspace .project-view .welcome h2{font-size:24px}.reference-workspace .project-view .welcome{overflow:auto;flex:1}.thinking-status{display:flex;gap:10px;align-items:center;padding:15px;color:#898990;font-size:12px}.pinned{color:#aa7928;background:#fff4d7}.directory-list{display:grid;gap:6px;max-height:55vh;overflow:auto}.directory-list>a,.directory-list>button{display:flex;align-items:center;gap:10px;background:#fafaf8;border:1px solid #e8e8e5;padding:12px;border-radius:7px;font-size:12px;text-align:left}.directory-list>a>svg:last-child{margin-left:auto}.jump-input{margin:20px 0;width:100%;border:1px solid #ddd;border-radius:7px;padding:12px}.sent-list{max-height:55vh;overflow:auto}.sent-list article{border-bottom:1px solid #eee;padding:10px}.sent-list p{white-space:pre-wrap}.rail-collapsed{grid-template-columns:64px minmax(0,1fr)}.rail-collapsed .portal-rail{padding:15px 9px}.rail-collapsed .portal-rail>*{display:none}.rail-collapsed .rail-brand{display:flex}.rail-collapsed .rail-brand>*{display:none}.rail-collapsed .rail-brand [data-collapse]{display:block}
@media(min-width:1600px){.reference-workspace{grid-template-columns:290px minmax(0,1fr)}.reference-workspace .conversation{max-width:1160px}.reference-workspace .welcome h2{font-size:32px}}
@media(max-width:1000px){.reference-workspace{grid-template-columns:230px minmax(0,1fr)}.reference-workspace .portal-topbar{padding:0 18px}.reference-workspace .composer-wrap{padding-left:22px;padding-right:22px}.reference-workspace .messages{padding-left:22px;padding-right:22px}.ideas-panel{padding-left:22px;padding-right:22px}.reference-workspace .model-picker select{max-width:155px}.reference-workspace .welcome h2{font-size:25px}}
@media(max-width:680px){.reference-workspace{display:block}.reference-workspace .portal-rail{width:260px}.reference-workspace .portal-topbar{height:58px;padding:0 9px}.reference-workspace .portal-grid{height:calc(100dvh - 58px)}.reference-workspace .crumbs{font-size:11px;gap:5px}.reference-workspace .crumbs [data-back-home]{display:none}.reference-workspace .topbar-actions{gap:4px}.reference-workspace .welcome{padding:22px 20px 0}.reference-workspace .welcome h2{font-size:24px;margin-bottom:18px}.reference-workspace .composer-wrap{padding:10px 15px}.composer-address{display:block}.mention-chip{display:inline-block;margin-bottom:4px}.reference-workspace .composer textarea{min-height:65px}.reference-workspace .composer-bottom{flex-wrap:wrap}.composer-tools{gap:4px}.reference-workspace .model-picker select{max-width:142px;font-size:10px}.reference-workspace .composer-invite{padding:7px}.reference-workspace .messages{padding:20px 16px}.reference-workspace .message-text{font-size:13px}.reference-workspace .artifact.open{top:58px;height:calc(100dvh - 58px);width:min(350px,100%)}.ideas-panel{padding:0 15px 20px}.ideas-panel>button{font-size:11px}.reference-workspace .empty-chat{justify-content:flex-start}.nova-intro p{font-size:11px}.reference-workspace .consent{font-size:9px}}

/* Keep the account controls reachable on laptop-height screens. */
@media(min-width:681px) and (max-height:820px){.reference-workspace .portal-rail{padding-top:17px}.rail-brand{margin-bottom:16px}.new-bot{margin-bottom:10px}.rail-section{margin-top:10px;padding-top:10px}.rail-section summary{padding-bottom:6px}.reference-workspace .rail-nav a,.reference-workspace .rail-nav>button,.rail-item{padding-top:6px;padding-bottom:6px}.room-heading{margin-top:12px}.reference-workspace .rail-bottom{padding-top:12px}.reference-workspace .rail-profile{padding:6px 0}.team-access-link{margin-top:7px}}
.reference-workspace .welcome{width:100%}

.reference-workspace .portal-rail{height:100dvh;overflow:hidden}.reference-workspace .rail-brand,.reference-workspace .rail-bottom{flex:none}.rail-content{overflow-y:auto;min-height:0;flex:1}.reference-workspace .rail-bottom{margin-top:0}.reference-workspace .project-link:before{display:none}.rail-collapsed .rail-content{display:none}

/* Message identity follows the supplied close-up: initials, Bot, model and time. */
.reference-workspace .bot-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:7px;background:#e45b20;color:white;font-size:12px;font-weight:650}.reference-workspace .message.assistant{align-items:flex-start}.reference-workspace .bot-header{min-height:26px;gap:10px;margin-bottom:7px;flex-wrap:wrap}.reference-workspace .bot-header strong{font-size:13px;color:#26262b}.reference-workspace .bot-label{font-weight:600}.reference-workspace .bot-header .model-label{font-size:11px;color:#82828b;display:flex;gap:5px;align-items:center}.reference-workspace .model-label svg{height:13px;width:13px}.reference-workspace .bot-header time{margin-left:auto;white-space:nowrap}.reference-workspace .message.assistant .message-text{border-radius:13px;padding:15px 18px}.reference-workspace .welcome-message{text-align:left;max-width:850px;width:100%;margin:0 auto 20px}.reference-workspace .welcome{max-width:100%}.reference-workspace .thinking-status{padding:0;min-height:28px}.reference-workspace .message-text .typing{flex:none}

.reference-workspace .welcome-only{justify-content:center;overflow-y:auto}.reference-workspace .welcome-only .messages{flex:none;overflow:visible;padding-top:22px;padding-bottom:0}.reference-workspace .welcome-only .composer-wrap{margin-top:0}.reference-workspace .welcome-only .message{margin-top:0;margin-bottom:14px}
/* Project switcher and shared alignment with the reply field. */
.with-project-dock{grid-template-columns:62px 250px minmax(0,1fr)}.project-dock{height:100dvh;position:sticky;top:0;display:flex;align-items:center;flex-direction:column;gap:14px;padding:20px 9px;background:#f3f3ef;border-right:1px solid #d9d9d6;overflow:auto}.dock-list{display:flex;flex-direction:column;gap:12px}.dock-project,.dock-add{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;text-decoration:none;flex:none}.dock-project{background:#16845e;border:2px solid transparent;color:white;font-weight:650;font-size:15px}.dock-project.active{border-color:#8ac2a9;box-shadow:0 0 0 2px #16845e22}.dock-project:hover{background:#0b6f4b}.dock-add{border:1px solid #b8bbc1;background:transparent;color:#252529}.dock-add svg{width:22px;height:22px}.project-title{background:none;border:0;text-align:left;font-size:22px;letter-spacing:-.5px;font-weight:650;color:#252529;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:auto;padding:0}.with-project-dock.rail-collapsed{grid-template-columns:62px 52px minmax(0,1fr)}
.reference-workspace .messages,.reference-workspace .welcome-only .messages{padding-left:35px;padding-right:35px}.reference-workspace .message{max-width:none;margin-left:0;margin-right:0;gap:12px}.reference-workspace .message>div{flex:1}.reference-workspace .composer-address{gap:12px}.reference-workspace .mention-chip{width:46px;box-sizing:border-box;padding-left:0;padding-right:0;text-align:center;overflow:hidden;text-overflow:ellipsis}.reference-workspace .composer textarea{min-width:0;flex:1}.reference-workspace .message.assistant .message-text{padding-left:30px}.reference-workspace .welcome-message{max-width:none}.reference-workspace .welcome{padding-left:35px;padding-right:35px}
.projects-page{padding:40px 42px;max-width:1100px;margin:auto}.projects-page>header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.projects-page h1{font-size:30px;margin:0 0 10px}.projects-page p{font-size:13px;color:#777780;line-height:1.7}.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:15px}.project-card{padding:22px;border:1px solid #e0e0df;border-radius:12px;background:white;display:block;color:#29292e}.project-card:hover{border-color:#8cbaa4}.project-monogram{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:#16845e;color:white;font-weight:600}.project-card h2{font-size:16px;margin:18px 0}.project-card>span:last-child{display:flex;align-items:center;gap:10px;font-size:12px;color:#777}.project-create{margin-top:35px;border-top:1px solid #e2e2df;padding-top:28px;max-width:650px}.project-create h2{font-size:25px;margin:0}.project-create form{margin-top:25px}.projects-empty{padding:20px 0}.project-create .field{margin-bottom:22px}
@media(min-width:1600px){.with-project-dock{grid-template-columns:66px 270px minmax(0,1fr)}}
@media(max-width:1000px) and (min-width:681px){.with-project-dock{grid-template-columns:56px 215px minmax(0,1fr)}.project-dock{padding-left:6px;padding-right:6px}.reference-workspace .composer-wrap{padding-left:35px;padding-right:35px}}
@media(max-width:680px){.with-project-dock{display:grid;grid-template-columns:48px minmax(0,1fr)}.project-dock{grid-column:1;padding:12px 5px;gap:12px}.dock-project,.dock-add{width:35px;height:35px;font-size:12px}.with-project-dock .portal-body{grid-column:2}.with-project-dock .portal-rail{left:48px;width:min(260px,calc(100vw - 48px))}.projects-page{padding:24px 16px}.projects-page>header{align-items:flex-start;flex-direction:column}.reference-workspace .messages,.reference-workspace .welcome-only .messages{padding-left:15px;padding-right:15px}.reference-workspace .composer-address{display:block}.reference-workspace .message.assistant .message-text{padding-left:16px}.reference-workspace .message{gap:8px}.reference-workspace .message .bot-avatar{width:24px;height:24px;flex-basis:24px;font-size:10px}.reference-workspace .composer textarea{width:100%;padding-left:0}.reference-workspace .welcome{padding-left:15px;padding-right:15px}.reference-workspace .message{position:relative;padding-top:32px}.reference-workspace .message>.bot-avatar,.reference-workspace .message>.avatar{position:absolute;top:0;left:0}.reference-workspace .bot-header{padding-left:32px;min-height:26px;margin-top:-32px}.reference-workspace .message.assistant .message-text{padding-left:16px}.reference-workspace .model-picker select{max-width:120px}.reference-workspace .composer-bottom{gap:5px}.reference-workspace .composer-invite{padding:6px}.composer-tools{flex-wrap:wrap}.with-project-dock.rail-collapsed{grid-template-columns:48px minmax(0,1fr)}}

.mention-chip{cursor:pointer;border:1px solid transparent;font:inherit}.mention-chip.bot-off{background:#eee;color:#8b8b91;text-decoration:line-through;border-color:#ddd}.mention-chip:focus-visible{outline:2px solid #568c75;outline-offset:3px}.message-text a{color:#28765c;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.message-text a:hover{color:#174b3a}

.web-sources{display:grid;gap:7px;margin:8px 0 12px}.web-source{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:12px;line-height:1.5;min-width:0}.web-source a,.web-source>span:not(.source-status){overflow-wrap:anywhere;color:#326650}.web-source a{text-decoration:underline;text-underline-offset:3px}.source-status{flex:none;border-radius:4px;background:#e9f3ed;color:#326650;padding:2px 7px;font-size:10px}.web-source.unavailable .source-status{background:#f5eee5;color:#886337}.web-source small{flex-basis:100%;color:#777;font-size:11px}
