:root{font-family:Arial,Helvetica,sans-serif;color:#141414;background:#fcfcfc;font-synthesis:none;--blue:#2e65cb;--muted:#929292;--line:#e9e9e9;--column:832px;--dock-height:124px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.4}button{border:0;background:none}button,textarea,select,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid #4b80df;outline-offset:4px}input:focus-visible,textarea:focus-visible{outline:none}[hidden]{display:none!important}svg{display:block;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:20px;background:#fff;padding:12px;z-index:20;color:var(--blue)}.skip-link:focus{top:8px}
.topbar{height:60px;position:fixed;inset:0 0 auto;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:rgba(252,252,252,.94);backdrop-filter:blur(14px)}.title-wrap{position:relative;max-width:calc(50% - 146px)}.title-button{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;max-width:100%;padding:9px 5px;border-radius:9px}.title-button:hover{background:#f1f1f1}#conversation-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.small-icon svg{height:13px;width:13px}.mode-switch{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;padding:2px;border-radius:24px;background:#f1f1f1;width:240px;height:40px}.mode-switch button{height:36px;flex:1;border-radius:22px;font-size:14px;color:#5d5d5d;transition:background .15s,box-shadow .15s}.mode-switch .active{background:#fff;color:#161616;box-shadow:0 1px 5px #0000000b,0 0 1px #00000012}.header-actions{display:flex;gap:8px;align-items:center}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0;padding:0}.icon-button:hover{background:#f1f1f1}.header-actions svg{width:19px;height:19px}
.main{min-height:100dvh;padding-top:84px;padding-bottom:calc(var(--dock-height) + 50px)}.main.empty{padding-top:35.8vh;padding-bottom:60px;display:flex;flex-direction:column;align-items:center}.welcome h1{margin:0 0 35px;font-size:25px;line-height:1.3;letter-spacing:-.65px;font-weight:400;text-align:center}.welcome-subtitle{color:var(--muted);font-size:15px;text-align:center;margin:-22px 0 30px}.composer-dock{width:min(var(--column),calc(100% - 40px));position:fixed;bottom:max(13px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:8;padding-top:12px;background:linear-gradient(to bottom,#fcfcfc00,#fcfcfc 18px)}.empty .composer-dock{position:relative;left:auto;bottom:auto;transform:none;padding-top:0;background:none}.composer{position:relative;display:flex;align-items:flex-end;min-height:58px;padding:8px;border:1px solid #e8e8e8;border-radius:29px;background:#fff;box-shadow:0 2px 7px #00000003,0 6px 35px #00000004;transition:border-color .15s,box-shadow .15s}.composer:focus-within{border-color:#dedede;box-shadow:0 3px 16px #00000005,0 5px 40px #00000003}.composer-tools{height:40px;display:flex;align-items:center;position:relative}.add-button{width:38px;height:38px;border-radius:50%}.add-button svg{width:23px;height:23px}#prompt{resize:none;display:block;flex:1;min-width:0;height:40px;max-height:220px;padding:10px 10px 8px 9px;line-height:23px;font-size:17px;outline:none;border:0;background:transparent;color:#171717;overflow-y:auto}#prompt::placeholder{color:#969696}.input-actions{height:40px;display:flex;align-items:center;gap:5px;flex-shrink:0}.length-control{display:flex;align-items:center;position:relative;margin-right:8px;color:#939393}.length-control select{appearance:none;border:0;outline:none;background:transparent;color:inherit;font-size:16px;padding:8px 22px 8px 7px;cursor:pointer;max-width:100px}.length-control>span:last-child{pointer-events:none;position:absolute;right:0}.length-control svg{width:13px;height:13px}.round-button{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;border-radius:50%;padding:0;flex-shrink:0;transition:background .15s,transform .15s}.round-button:hover{background:#2054b4}.round-button:active{transform:scale(.94)}.voice-button svg{width:24px;height:24px}.send-button svg{width:21px;height:21px;stroke-width:2}.stop-button{background:#202020}.stop-button:hover{background:#424242}.composer-footnote{display:flex;justify-content:center;gap:12px;align-items:center;font-size:11px;color:#a0a0a0;line-height:1.6;margin-top:10px;min-height:18px}.composer-footnote button{display:flex;align-items:center;gap:5px;color:#9c9c9c;padding:0;font-size:11px}.composer-footnote button:hover{color:#5e5e5e}.tiny-dot{height:5px;width:5px;background:#a4b69b;display:block;border-radius:50%}.empty .composer-footnote{opacity:0;transition:opacity .2s}.empty .composer-dock:hover .composer-footnote,.empty .composer-dock:focus-within .composer-footnote{opacity:1}
.suggestions{width:min(var(--column),calc(100% - 48px));padding:6px 12px 0;display:flex;flex-direction:column;gap:10px}.suggestions button{padding:12px 7px;display:flex;align-items:center;gap:17px;text-align:left;color:#939393;font-size:16px;line-height:1.5;border-radius:12px}.suggestions button:hover{background:#f3f4f5;color:#666}.suggestion-icon svg{width:22px;height:22px}.suggestion-icon.blue{color:#3b9efd}.suggestion-icon.sand{color:#9e9b95}
.conversation{max-width:var(--column);margin:0 auto;padding:0 0 40px}.message{position:relative;margin:0 0 34px;animation:arrive .18s ease-out}.message.user{display:flex;flex-direction:column;align-items:flex-end;margin-top:4px;margin-bottom:39px}.user .message-body{max-width:85%;padding:14px 19px;border-radius:25px;background:#eaf3ff;color:#203959;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.55;min-width:45px}.message.assistant .message-body{font-size:16px;line-height:1.8;overflow-wrap:anywhere;min-height:28px}.message-body p{margin:0 0 16px;white-space:pre-wrap}.message-body p:last-child{margin-bottom:0}.message-body h2,.message-body h3,.message-body h4{line-height:1.4;letter-spacing:-.3px;margin:24px 0 12px;font-weight:600}.message-body h2{font-size:23px}.message-body h3{font-size:20px}.message-body h4{font-size:17px}.message-body ul,.message-body ol{padding-left:26px;margin:12px 0 18px}.message-body li{padding-left:4px;white-space:pre-wrap}.message-body li+li{margin-top:7px}.message-body blockquote{border-left:3px solid #d6dde9;margin:14px 0;padding:3px 18px;color:#686868}.message-body a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.message-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em;background:#efefef;padding:2px 5px;border-radius:4px}.code-block{background:#f3f4f6;border-radius:12px;overflow:hidden;margin:18px 0;text-align:left}.code-bar{display:flex;align-items:center;justify-content:space-between;padding:8px 13px;background:#eaecef;color:#737373;font-size:12px}.code-bar button{font-size:12px;display:flex;align-items:center;gap:5px;color:#737373;padding:3px}.code-bar button svg{width:14px;height:14px}.code-block pre{overflow:auto;padding:17px;margin:0;line-height:1.6}.message-body .code-block code{padding:0;background:none;white-space:pre}.message-actions{display:flex;align-items:center;gap:3px;margin-top:13px;color:#939393}.message-actions .icon-button{width:29px;height:29px}.message-actions svg{width:18px;height:18px;stroke-width:1.45}.message-actions .active{color:var(--blue)}.user-actions{opacity:0;margin-top:3px;transition:opacity .15s}.user:hover .user-actions,.user:focus-within .user-actions{opacity:1}.message-note{font-size:12px;color:#999;margin-top:8px;display:flex;align-items:center;gap:9px}.message-note button{font-size:12px;color:var(--blue);text-decoration:underline;text-underline-offset:2px}.thinking{display:inline-flex;align-items:center;gap:7px;height:28px;color:#909090;font-size:14px}.thinking-dot{width:7px;height:7px;border-radius:50%;background:#343434;animation:breathe 1.2s ease-in-out infinite}.stream-cursor{display:inline-block;width:6px;height:15px;border-radius:2px;background:#666;margin-left:3px;vertical-align:-2px;animation:blink .8s infinite}.user-file{font-size:12px;color:#627288;margin:8px 5px -2px;display:flex;gap:5px;align-items:center}.user-file svg{width:14px;height:14px}.scroll-bottom{position:fixed;bottom:calc(var(--dock-height) + 20px);left:50%;transform:translateX(-50%);background:#fff;box-shadow:0 2px 12px #00000012;border:1px solid var(--line);z-index:7;border-radius:50%;width:33px;height:33px}
.popover{position:absolute;min-width:240px;z-index:15;background:white;border:1px solid #e7e7e7;border-radius:15px;padding:6px;box-shadow:0 7px 35px #0000000c}.popover>button{width:100%;display:flex;align-items:center;gap:11px;text-align:left;font-size:13px;padding:11px 10px;border-radius:8px;white-space:nowrap}.popover>button:hover{background:#f5f5f5}.popover>button svg{height:17px;width:17px;color:#626262}.title-menu{top:45px;left:0}.compose-menu{bottom:51px;left:-2px;width:260px}.empty .compose-menu{bottom:auto;top:51px}.shortcut{margin-left:auto;color:#aaa;font-size:11px}.file-types{margin-left:auto;color:#999;font-size:10px}.menu-divider{height:1px;background:#f0f0f0;margin:4px}.menu-label{font-size:11px;color:#999;margin:12px 10px 9px}.alignment-options{display:flex;gap:5px;padding:0 8px}.alignment-options button{display:flex;align-items:center;justify-content:center;border-radius:7px;width:48px;height:34px;color:#8c8c8c}.alignment-options button:hover{background:#f3f3f3}.alignment-options .selected{background:#edf3ff;color:var(--blue)}.alignment-options svg{width:17px;height:17px}.menu-hint{font-size:10px;color:#aaa;margin:11px 10px 5px}.attachment-list{display:flex;gap:8px;margin:0 5px 9px;flex-wrap:wrap}.attachment-chip{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#fff;border:1px solid var(--line);border-radius:10px;color:#777;font-size:12px;max-width:100%}.attachment-chip>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.attachment-chip svg{width:16px;height:16px}.attachment-chip button{padding:0;color:#999}.attachment-chip button svg{width:13px;height:13px}
.engine-status{display:flex;align-items:center;gap:12px;padding:13px 15px;margin:0 1px 10px;background:#f3f6fb;border:1px solid #e8eef7;border-radius:16px;color:#57667b;font-size:12px}.engine-status-copy{display:flex;flex-direction:column;gap:4px;flex:1}#engine-status-detail{font-size:11px;color:#8995a5;line-height:1.5}.engine-progress{font-size:11px;color:var(--blue)}.status-spinner{height:15px;width:15px;flex-shrink:0;border-radius:50%;border:1.5px solid #d7e1f1;border-top-color:#6184be;animation:spin 1s linear infinite}.voice-status{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:12px;font-size:12px;color:#737373}.voice-status button{font-size:12px;color:var(--blue);padding:2px 6px}.record-dot{width:7px;height:7px;background:#dd6a69;border-radius:50%;animation:breathe 1s infinite}.listening #dictate-button{color:#cf5757;background:#fff0ef}.voice-button[aria-pressed="true"]{background:#dd6969}.error-notice{font-size:12px;line-height:1.6;color:#a15e58;background:#fcf2ef;padding:12px 15px;border-radius:12px;margin:0 1px 10px}.error-notice a,.message-note a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}.toast{position:fixed;left:50%;bottom:150px;transform:translateX(-50%);z-index:30;background:#292929;color:white;box-shadow:0 4px 20px #00000017;font-size:12px;padding:12px 18px;max-width:calc(100vw - 30px);border-radius:10px;text-align:center}
.dialog{border:1px solid #ededed;border-radius:20px;padding:24px;width:460px;max-width:calc(100vw - 32px);max-height:80dvh;color:#242424;box-shadow:0 18px 90px #00000020;background:#fff}.dialog::backdrop{background:#00000024;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.dialog-heading h2{font-size:18px;letter-spacing:-.4px;margin:0;font-weight:500}.dialog-heading>.icon-button{margin:-8px -8px -8px 0;color:#929292}.history-search{display:flex;align-items:center;gap:10px;border:1px solid #e9e9e9;border-radius:10px;padding:10px;color:#999}.history-search input{width:100%;border:0;background:none;font-size:13px;padding:2px;min-width:0}.history-search svg{width:17px;height:17px}.history-list{display:flex;flex-direction:column;max-height:45dvh;overflow:auto;gap:4px;margin-top:15px;min-height:70px}.history-item{padding:13px 10px;text-align:left;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:10px}.history-item:hover{background:#f6f6f6}.history-item.current{background:#f3f6fb}.history-item-title{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-item-date{font-size:10px;color:#aaa;white-space:nowrap}.history-empty{font-size:13px;color:#aaa;text-align:center;margin:25px 0}.dialog-footnote{color:#aaa;font-size:10px;text-align:center;margin:22px 0 0}.text-input{width:100%;border:1px solid #ddd;padding:13px;border-radius:10px;font-size:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.secondary-button,.primary-button{font-size:13px;border-radius:9px;padding:10px 16px}.secondary-button{background:#f4f4f4}.primary-button{background:var(--blue);color:white}.about-dialog p{font-size:13px;line-height:1.8;color:#777}.about-dialog p.muted{font-size:11px;color:#999}.model-facts{display:grid;grid-template-columns:80px 1fr;gap:12px;font-size:11px;border:1px solid #eee;border-radius:12px;padding:17px;margin:22px 0}.model-facts span{color:#999}.model-facts strong{font-weight:400;color:#626262}.noscript{position:fixed;top:100px;left:20px;color:#ad5c5c}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes breathe{50%{opacity:.3;transform:scale(.8)}}@keyframes blink{50%{opacity:0}}@keyframes arrive{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.main.empty{padding-top:36.2vh}.topbar{height:55px}.conversation{padding-top:0}.message.user{margin-top:0}}@media(max-width:900px){.conversation{margin:0 26px}.main.empty{padding-top:33vh}.suggestions{padding-left:3px}}@media(max-width:600px){.topbar{padding:0 13px;height:62px}.title-wrap{max-width:calc(50% - 72px)}.title-button{font-size:13px}.mode-switch{width:146px;height:36px}.mode-switch button{height:32px;font-size:12px}.header-actions{gap:0}.header-actions .icon-button{width:29px;height:31px}.header-actions svg{width:17px;height:17px}.main{padding-top:86px}.main.empty{padding-top:31vh}.welcome h1{font-size:24px;letter-spacing:-.6px;margin-bottom:29px}.composer-dock{width:calc(100% - 24px);bottom:max(10px,env(safe-area-inset-bottom))}.composer{border-radius:26px;min-height:54px;padding:6px}.input-actions{gap:1px}.length-control{margin-right:2px}.length-control select{font-size:12px;padding-left:3px;max-width:76px}.length-control svg{width:11px;height:11px}#prompt{font-size:16px;padding-left:3px;padding-right:3px}.add-button{width:32px}.input-actions .icon-button{width:30px}.round-button{width:36px;height:36px}.composer-footnote{gap:7px;font-size:9px}.composer-footnote button{font-size:9px}.suggestions{width:calc(100% - 32px);gap:4px}.suggestions button{font-size:13px;gap:13px;padding:13px 8px}.suggestion-icon svg{width:19px;height:19px}.conversation{margin:0 20px;padding-bottom:15px}.message.user{margin-bottom:30px}.user .message-body{max-width:90%;font-size:15px;padding:12px 16px}.message.assistant .message-body{font-size:15px;line-height:1.8}.message{margin-bottom:29px}.user-actions{opacity:1}.dialog{padding:21px}.engine-status{padding:10px;font-size:11px;gap:8px}#engine-status-detail{font-size:10px}.empty .composer-footnote{opacity:1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* Desktop navigation */
:root{--sidebar-width:260px}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);z-index:12;display:flex;flex-direction:column;background:#f8f8f8;border-right:1px solid #f1f1f1;padding:18px 12px 12px;color:#303030}
.sidebar-brand{height:34px;display:flex;align-items:center;gap:7px;padding:0 8px 14px;font-size:17px;font-weight:600;letter-spacing:-.25px}
.sidebar-brand-dot{width:6px;height:6px;border-radius:50%;background:#2e65cb;box-shadow:0 0 0 3px #e5edfb}
.sidebar-primary{display:flex;flex-direction:column;gap:3px;margin-top:9px}
.sidebar-action{width:100%;height:38px;border-radius:9px;padding:0 10px;display:flex;align-items:center;gap:10px;font-size:14px;text-align:left;color:#3c3c3c}
.sidebar-action:hover,.sidebar-action.active{background:#ececec}.sidebar-action svg{width:18px;height:18px;stroke-width:1.7}
.recent-section{display:flex;min-height:0;flex:1;flex-direction:column;margin-top:27px}
.recent-section h2{margin:0;padding:0 10px 10px;font-size:12px;line-height:1.2;font-weight:500;color:#929292}
.recent-list{display:flex;min-height:0;flex:1;flex-direction:column;gap:1px;overflow-y:auto;scrollbar-width:thin;padding-right:2px}
.recent-row{position:relative;display:flex;align-items:center;flex:0 0 auto;border-radius:8px}.recent-row:hover,.recent-row.active{background:#ededed}.recent-row.active{background:#e8edf6;color:#234c96}
.recent-chat{min-width:0;flex:1;padding:9px 33px 9px 10px;border-radius:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left;font-size:13px;color:#525252}.recent-row.active .recent-chat{color:#234c96}
.recent-actions{position:absolute;right:3px;width:28px;height:28px;display:grid;place-items:center;border-radius:7px;opacity:0;color:#666}.recent-row:hover .recent-actions,.recent-actions:focus{opacity:1}.recent-actions:hover{background:#ddd}.recent-actions svg{width:17px;height:17px}.recent-pin{position:absolute;right:31px;display:grid;color:#777;pointer-events:none}.recent-pin svg{width:13px;height:13px}.recent-row:hover .recent-pin{display:none}
.recent-empty{padding:5px 10px;margin:0;color:#a2a2a2;font-size:12px;line-height:1.5}
.profile-card{width:100%;min-height:57px;margin-top:10px;border-top:1px solid #ededed;border-radius:10px;padding:10px 8px 4px;display:flex;align-items:center;gap:10px;text-align:left}
.profile-card:hover{background:#eeeeee}.profile-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:#2e79d7;color:#fff;font-size:11px;font-weight:600}
.profile-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.profile-copy strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500}.profile-copy small{font-size:11px;color:#969696}
.profile-chevron{transform:rotate(-90deg);color:#999}.profile-chevron svg{width:13px;height:13px}
.profile-area{position:relative;width:100%}.account-menu{position:absolute;left:-6px;bottom:66px;width:246px;padding:9px;background:#fff;border:1px solid #dedede;border-radius:17px;box-shadow:0 14px 45px #0000001f;z-index:20}
.account-menu>button{width:100%;height:43px;display:flex;align-items:center;gap:11px;border-radius:9px;padding:0 10px;text-align:left;font-size:14px}.account-menu>button:hover{background:#f3f3f3}.account-menu>button>svg{width:20px;height:20px;stroke-width:1.7}
.account-menu .account-menu-user{height:58px;padding:5px 8px}.account-menu-user .profile-avatar{width:34px;height:34px}.account-menu-user .profile-copy strong{font-size:14px}.account-menu-user .profile-copy small{font-size:11px}
.account-menu-divider{height:1px;background:#e9e9e9;margin:7px 4px}.account-menu-chevron{margin-left:auto;transform:rotate(-90deg);color:#8c8c8c}.account-menu-chevron svg{width:14px!important;height:14px!important}
.topbar{left:var(--sidebar-width)}
.main{margin-left:var(--sidebar-width)}
.main:not(.empty) .composer-dock{left:calc(50% + var(--sidebar-width)/2);width:min(var(--column),calc(100vw - var(--sidebar-width) - 40px))}
.main:not(.empty) .scroll-bottom{left:calc(50% + var(--sidebar-width)/2)}
.header-actions #new-chat{display:none}
.scheduled-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 18px 30px;color:#929292}
.scheduled-empty>svg{width:31px;height:31px;margin-bottom:16px;color:#6f7f95}.scheduled-empty h3{margin:0 0 8px;color:#3a3a3a;font-size:15px;font-weight:500}.scheduled-empty p{max-width:280px;margin:0;font-size:12px;line-height:1.65}

@media(max-width:900px){
  :root{--sidebar-width:0px}.sidebar{display:none}.topbar{left:0}.main{margin-left:0}.main:not(.empty) .composer-dock,.main:not(.empty) .scroll-bottom{left:50%}.main:not(.empty) .composer-dock{width:min(var(--column),calc(100% - 40px))}.header-actions #new-chat{display:inline-flex}
}
@media(max-width:600px){.main:not(.empty) .composer-dock{width:calc(100% - 24px)}}

/* Email authentication */
.auth-dialog{width:410px;max-width:calc(100vw - 28px);border:1px solid #e7e7e7;border-radius:19px;padding:34px 37px 28px;color:#222;background:#fff;box-shadow:0 24px 90px #00000038}
.auth-dialog::backdrop{background:#00000070;backdrop-filter:blur(1px)}
.auth-close{position:absolute;top:13px;right:13px;width:30px;height:30px}.auth-close svg{width:17px;height:17px}
.auth-dialog h2{margin:0 0 12px;text-align:center;font-size:22px;line-height:1.3;font-weight:500;letter-spacing:-.45px}
.auth-intro{max-width:290px;margin:0 auto 25px;text-align:center;color:#666;font-size:13px;line-height:1.55}
.auth-step{display:flex;flex-direction:column;gap:11px}.auth-input{width:100%;height:48px;border:1px solid #dedede;border-radius:13px;padding:0 15px;background:#fff;font-size:14px;color:#202020;outline:none}
.auth-input:focus{border-color:#8b8b8b;box-shadow:0 0 0 1px #8b8b8b}.auth-input::placeholder{color:#929292}
.auth-submit{width:100%;height:46px;margin-top:12px;border-radius:23px;background:#111;color:#fff;font-size:14px;font-weight:500}.auth-submit:hover{background:#292929}.auth-submit:disabled{background:#777}
.auth-email-summary{height:42px;width:100%;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border-radius:11px;background:#f5f5f5;color:#333;font-size:12px}.auth-email-summary span:last-child{color:#777;text-decoration:underline;text-underline-offset:2px}
.auth-mode-toggle{align-self:center;color:#555;font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:5px 2px}.auth-error{margin:11px 2px 0;color:#a64d47;font-size:12px;line-height:1.45;text-align:center}
.auth-privacy{margin:15px 10px 0;text-align:center;color:#a0a0a0;font-size:10px;line-height:1.5}
.auth-confirmation{text-align:center;padding:9px 0}.auth-confirmation-icon{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 18px;border-radius:50%;background:#eaf5ed;color:#448555;font-size:19px}.auth-confirmation p{margin:0 0 20px;color:#777;font-size:13px;line-height:1.6}
@media(max-width:600px){.auth-dialog{padding:32px 24px 24px}.auth-dialog h2{font-size:21px}}

/* Account panels */
.account-dialog-body{display:flex;flex-direction:column;gap:6px}.account-detail-row{display:grid;grid-template-columns:90px 1fr;gap:18px;padding:13px 5px;border-bottom:1px solid #f0f0f0;font-size:13px}.account-detail-row span{color:#969696}.account-detail-row strong{font-weight:500;overflow-wrap:anywhere}
.settings-link{width:100%;min-height:58px;display:flex;align-items:center;gap:12px;padding:8px;border-radius:11px;text-align:left}.settings-link:hover{background:#f5f5f5}.settings-link-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#f2f3f5;color:#555}.settings-link-icon svg{width:18px;height:18px}.settings-link>span:nth-child(2){min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.settings-link strong{font-size:13px;font-weight:500}.settings-link small{font-size:11px;color:#929292}.settings-link-arrow{transform:rotate(-90deg);color:#999}.settings-link-arrow svg{width:14px;height:14px}
.plan-card{padding:20px;border:1px solid #e7e7e7;border-radius:14px;background:linear-gradient(145deg,#fff,#f5f7fb)}.plan-card>span{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#8491a5}.plan-card h3{font-size:25px;font-weight:500;margin:8px 0}.plan-card p,.account-panel-copy{font-size:12px;line-height:1.7;color:#777;margin:0}.account-panel-copy{padding:3px 5px 14px}

/* Chat actions and sharing */
.chat-context-menu{position:fixed;width:210px;z-index:40;padding:7px;background:#fff;border:1px solid #ddd;border-radius:15px;box-shadow:0 12px 38px #00000020}.chat-context-menu button{width:100%;height:42px;display:flex;align-items:center;gap:11px;padding:0 11px;border-radius:9px;text-align:left;font-size:13px}.chat-context-menu button:hover{background:#f3f3f3}.chat-context-menu button svg{width:18px;height:18px}.chat-context-menu .danger{color:#e04444}
.share-dialog{width:560px;padding:27px 30px}.share-dialog .dialog-heading h2{max-width:460px;font-size:22px}.share-section{padding:6px 0 19px}.share-section+ .share-section{border-top:1px solid #eee;padding-top:20px}.share-section h3{margin:0 0 16px;font-size:15px;font-weight:600}.share-owner{display:flex;align-items:center;gap:12px}.share-owner>span:nth-child(2){display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.share-owner strong{font-size:13px;font-weight:500}.share-owner small{font-size:11px;color:#777;overflow:hidden;text-overflow:ellipsis}.owner-role{font-size:12px;color:#999}.share-access-row{display:flex;align-items:center;gap:12px}.share-access-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#f0f1f2;color:#555}.share-access-icon svg{width:19px;height:19px}.share-access-row label:nth-of-type(1){display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.share-access-row select{border:0;background:transparent;font-size:13px;font-weight:500;color:#333;padding:2px 22px 2px 0}.share-access-row small{color:#888;font-size:11px;line-height:1.4}.share-footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.copy-link-button{display:flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:1px solid #c9c9c9;border-radius:21px;color:var(--blue);font-size:13px}.copy-link-button svg{width:17px;height:17px}.share-footer .primary-button{min-width:86px;border-radius:20px}
.shared-banner{position:fixed;top:61px;left:calc(var(--sidebar-width) + 50%);transform:translateX(-50%);z-index:8;display:flex;align-items:center;gap:12px;padding:8px 13px;border:1px solid #dfe5ee;border-radius:10px;background:#f5f8fc;color:#657184;font-size:11px}.shared-banner button{color:var(--blue);font-size:11px;text-decoration:underline;text-underline-offset:2px}
@media(max-width:900px){.shared-banner{left:50%}}
@media(max-width:600px){.share-dialog{padding:22px}.share-dialog .dialog-heading h2{font-size:18px}.share-footer{gap:10px}.shared-banner{top:66px;width:calc(100% - 28px);justify-content:center}}

/* Responsive navigation and shared conversation presence */
:root{--sidebar-width:20vw}
.sidebar-brand{justify-content:space-between;height:42px;padding-bottom:4px;flex-shrink:0}.sidebar-brand svg{width:20px;height:20px}
.sidebar-chats{flex:1;min-height:0;overflow-y:auto;margin-top:24px;scrollbar-width:thin}.recent-section{margin-top:20px;flex:initial}.pinned-section h2,.recent-section h2{font-size:14px;font-weight:500;color:#858585;margin:0;padding:0 10px 10px}.recent-chat{font-size:14px;padding-top:11px;padding-bottom:11px}.recent-list{flex:initial;overflow:visible}.profile-area{margin-top:auto;flex-shrink:0}.account-menu{left:0;width:100%;max-height:calc(100dvh - 100px);overflow-y:auto}.sidebar-action>span:last-child{white-space:nowrap}.sidebar-action{height:42px}.recent-actions:focus-visible{opacity:1}
#mobile-menu-button{display:none}.title-wrap{max-width:calc(100% - 155px);min-width:0}.main:not(.empty) .conversation{width:min(var(--column),calc(100% - 48px));margin-inline:auto}.mode-switch{display:none}
.sidebar-collapsed{--sidebar-width:72px}.sidebar-collapsed .brand-label,.sidebar-collapsed .sidebar-action>span:last-child,.sidebar-collapsed .sidebar-chats,.sidebar-collapsed .profile-card .profile-copy,.sidebar-collapsed .profile-chevron{display:none}.sidebar-collapsed .sidebar-brand{padding:0;justify-content:center}.sidebar-collapsed .sidebar-action{justify-content:center;padding:0}.sidebar-collapsed .profile-card{justify-content:center;padding:10px 0}.sidebar-collapsed .account-menu{width:100%;left:0}
.collaborators{position:relative}.collaborators>button{display:flex;align-items:center;padding:5px 3px 5px 8px}.collaborator-circle{width:28px;height:28px;border:2px solid #fcfcfc;border-radius:50%;background:#dfe5ed;color:#687486;display:grid;place-items:center;margin-left:-7px;transition:transform .18s,margin .18s}.collaborator-circle:nth-child(2){background:#e9e3db}.collaborator-circle:nth-child(3){background:#dfe9e1}.collaborator-circle svg{width:15px;height:15px}.collaborators:hover .collaborator-circle,.collaborators:focus-within .collaborator-circle{transform:translateY(-4px);margin-left:-2px}#collaborator-tooltip{display:none;position:absolute;right:0;top:44px;width:240px;max-width:calc(100vw - 28px);padding:13px 15px;border-radius:12px;background:#353535e8;backdrop-filter:blur(12px);color:#fff;font-size:12px;line-height:1.6;box-shadow:0 8px 24px #0002}.collaborators:hover #collaborator-tooltip,.collaborators:focus-within #collaborator-tooltip{display:block}
@media(max-width:900px){
 :root,.sidebar-collapsed{--sidebar-width:0px}
 #mobile-menu-button{display:inline-flex;margin-right:8px}
 .topbar{justify-content:flex-start}.header-actions{margin-left:auto}.title-wrap{max-width:calc(100% - 170px)}
 .sidebar,.sidebar-collapsed .sidebar{display:flex;width:100%;height:100dvh;z-index:50;transform:translateX(-100%);visibility:hidden;transition:transform .25s ease,visibility .25s;padding: max(18px,env(safe-area-inset-top)) 18px max(12px,env(safe-area-inset-bottom))}
 .navigation-open{overflow:hidden}.navigation-open .sidebar{visibility:visible;transform:translateX(0)}
 .sidebar-collapsed .brand-label{display:block}.sidebar-collapsed .sidebar-brand{justify-content:space-between;padding:0 8px 4px}.sidebar-collapsed .sidebar-action{justify-content:flex-start;padding:0 10px}.sidebar-collapsed .sidebar-action>span:last-child{display:inline}.sidebar-collapsed .sidebar-chats{display:block}.sidebar-collapsed .profile-card .profile-copy{display:flex}.sidebar-collapsed .profile-chevron{display:block}.sidebar-collapsed .profile-card{justify-content:flex-start;padding:10px 8px 4px}
 .sidebar .account-menu{width:100%;left:0}.recent-actions{opacity:1}.recent-chat{font-size:15px}.sidebar-action{font-size:15px;height:46px}
 .main:not(.empty) .composer-dock{left:50%}.shared-banner{left:50%}
}
@media(max-width:400px){.length-control{display:none}.composer-footnote{flex-wrap:wrap}.welcome h1{font-size:22px}.title-wrap{max-width:calc(100% - 155px)}}
