#root{min-height:100vh}:root{--bg-main:#fafaf8;--bg-panel:#fff;--bg-sidebar:#f3f3f0;--bg-hover:#0000000b;--text-main:#2c2b28;--text-muted:#6b6a63;--text-faint:#9a978c;--accent:#d97757;--accent-hover:#c56645;--border:#e8e7e3;--modal-overlay:#0000004d;color:var(--text-main);background:var(--bg-main);font-feature-settings:"ss01", "ss02";font-family:"Source Serif 4",Noto Serif SC,Georgia,serif}*{box-sizing:border-box}body{background:var(--bg-main);min-width:320px;min-height:100vh;margin:0;overflow:hidden}button,textarea,input{font:inherit}button{cursor:pointer;border:0}.app-shell{grid-template-columns:292px minmax(0,1fr);height:100dvh;display:grid}.sidebar{border-right:1px solid var(--border);background:var(--bg-sidebar);flex-direction:column;min-width:0;display:flex}.sidebar-head{align-items:center;gap:8px;min-height:48px;padding:8px 12px;display:flex}.brand{color:var(--text-main);white-space:nowrap;margin-right:auto;font-size:16px;font-weight:500}.icon-button{width:32px;height:32px;color:var(--text-main);background:0 0;border-radius:8px;flex:none;place-items:center;display:grid}.icon-button.small{width:30px;height:30px}.icon-button:hover{background:var(--bg-hover)}.new-chat{border:1px solid var(--border);min-height:38px;color:var(--text-main);background:var(--bg-panel);border-radius:10px;align-items:center;gap:8px;margin:8px 9px;padding:0 9px;font-size:13px;display:flex}.scroll-area{flex:1;min-height:0;padding:2px 8px 8px;overflow-y:auto}.scroll-area::-webkit-scrollbar{width:6px}.scroll-area::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.section-title{color:var(--text-faint);letter-spacing:.04em;padding:13px 7px 6px;font-size:10.5px}.project-item,.thread-item{width:100%;color:var(--text-muted);text-align:left;background:0 0;border-radius:8px}.project-item{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;display:grid}.project-item span,.thread-item{min-width:0}.project-item strong,.thread-title{color:var(--text-main);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:1.35;display:block;overflow:hidden}.project-item em,.thread-meta{color:var(--text-faint);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;font-style:normal;line-height:1.35;display:block;overflow:hidden}.project-item:hover,.project-item.active,.thread-item:hover,.thread-item.active{background:var(--bg-hover)}.thread-item{gap:2px;padding:7px 8px;display:grid}.archive-row{width:auto;color:var(--text-faint);background:0 0;border-radius:8px;align-items:center;gap:8px;margin:14px 0 0;padding:7px;font-size:13px;display:flex}.sidebar-footer{border-top:1px solid var(--border);justify-content:space-between;gap:8px;padding:10px 12px;display:flex}.footer-button{min-height:34px;color:var(--text-muted);background:0 0;border-radius:8px;align-items:center;gap:7px;padding:0 10px;font-size:13px;display:flex}.footer-button:hover{color:var(--text-main);background:var(--bg-hover)}.main{background:var(--bg-main);grid-template-rows:52px minmax(0,1fr) auto;min-width:0;height:100dvh;display:grid}.topbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:56px;padding:0 20px;display:flex}.topbar-left,.topbar-right{align-items:center;gap:10px;display:flex}.project-picker,.model-picker{border:1px solid var(--border);min-height:38px;color:var(--text-main);background:var(--bg-panel);border-radius:10px;align-items:center;gap:7px;padding:0 14px;font-size:15px;display:flex}.welcome{align-content:center;justify-items:center;min-height:0;padding:18px 24px 0;display:grid}.welcome-title{align-items:center;gap:12px;display:flex;transform:translateY(-72px)}.welcome-title span{color:var(--accent);font-size:30px;line-height:1}.composer-wrap{justify-content:center;padding:0 24px 24px;display:flex}.composer{border:1px solid var(--border);background:var(--bg-panel);border-radius:16px;width:min(780px,100%);overflow:hidden;box-shadow:0 14px 36px #0000000d}.composer textarea::placeholder{color:var(--text-faint)}.composer-actions{justify-content:space-between;align-items:center;gap:16px;padding:0 10px 10px;display:flex}.send-button{color:#fff;background:#ecd1c8;border-radius:11px;place-items:center;width:36px;height:36px;display:grid}.modal-layer{z-index:50;place-items:center;display:grid;position:fixed;inset:0}.modal-backdrop{background:var(--modal-overlay);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);position:absolute;inset:0}.modal-card{background:var(--bg-panel);border-radius:10px;width:min(980px,100vw - 48px);max-height:min(720px,100vh - 48px);position:relative;overflow:hidden;box-shadow:0 28px 90px #00000038}.modal-card.compact{width:min(760px,100vw - 48px)}.settings-modal{grid-template-columns:220px minmax(0,1fr);min-height:540px;display:grid}.modal-nav{background:var(--bg-sidebar);flex-direction:column;gap:6px;padding:14px 12px;display:flex}.modal-nav-item,.project-tab{min-height:36px;color:var(--text-muted);text-align:left;background:0 0;border-radius:8px;align-items:center;gap:10px;padding:0 12px;font-size:12px;display:flex}.modal-nav-item.active,.modal-nav-item:hover,.project-tab.active,.project-tab:hover{color:var(--text-main);background:var(--bg-hover)}.modal-main{padding:28px 32px}.muted-copy{color:var(--text-muted);margin:0 0 16px;font-size:13px}.primary-button{color:#fff;background:var(--accent);border-radius:8px;min-height:38px;padding:0 16px;font-size:13px}.primary-button:hover{background:var(--accent-hover)}.profile-card{border:1px solid var(--border);border-radius:8px;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin-top:18px;padding:15px;display:grid}.radio-dot{border:2px solid var(--accent);background:var(--accent);border-radius:50%;width:14px;height:14px;box-shadow:inset 0 0 0 3px #fff}.profile-card h3{margin:0 0 4px;font-size:17px;font-weight:500}.profile-card p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.5}.text-button{color:var(--text-faint);background:0 0}.plain-radio{color:var(--text-muted);align-items:center;gap:8px;margin-top:14px;font-size:13px;display:flex}.plain-radio span{border:1px solid var(--text-faint);border-radius:50%;width:14px;height:14px}.project-panel{min-height:520px}.panel-head,.calendar-head{border-bottom:1px solid var(--border);justify-content:space-between;gap:20px;padding:20px 22px;display:flex}.panel-head h2,.calendar-head h2{margin:0;font-size:26px;font-weight:500}.panel-head p,.calendar-head p{color:var(--text-muted);margin:6px 0 0;font-size:13px}.project-tabs{border-bottom:1px solid var(--border);gap:6px;padding:10px 14px;display:flex}.project-panel-body{gap:12px;padding:18px;display:grid}.project-section{border:1px solid var(--border);border-radius:8px;padding:14px}.project-section h3{margin:0 0 6px;font-size:16px;font-weight:500}.project-section p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.6}.upload-zone{color:var(--accent);border-style:dashed;align-items:center;gap:10px;display:flex}.calendar-modal{min-height:500px;padding-bottom:20px}.calendar-grid{grid-template-columns:repeat(7,1fr);gap:8px;padding:20px;display:grid}.day{aspect-ratio:1;border:1px solid var(--border);color:var(--text-main);background:var(--bg-main);border-radius:8px;font-size:13px}.day.active{border-color:var(--accent);color:#fff;background:var(--accent)}@media (width<=840px){.app-shell,.app-shell.sidebar-closed{grid-template-columns:1fr}.sidebar{display:none}.topbar{padding-inline:12px}.project-picker{display:none}.composer-wrap{padding-inline:12px}.composer-left span{display:none}.settings-modal{grid-template-columns:1fr}.modal-nav{display:none}}.project-group{gap:2px;display:grid}.chevron{transition:transform .14s}.chevron.open{transform:rotate(90deg)}.project-conversations{border-left:1px solid var(--border);gap:1px;margin:4px 0 10px 22px;padding-left:8px;display:grid}.project-conversation,.project-manage{min-height:30px;color:var(--text-muted);text-align:left;background:0 0;border-radius:7px;padding:0 7px;font-size:12px}.project-conversation:hover,.project-conversation.active,.project-manage:hover{color:var(--text-main);background:var(--bg-hover)}.project-manage{color:var(--accent)}.utility-row{min-height:31px;color:var(--text-faint);text-align:left;background:0 0;border-radius:8px;align-items:center;gap:8px;margin:0 9px 16px;padding:0 10px;font-size:12px;display:flex}.utility-row:hover{color:var(--text-main);background:var(--bg-hover)}.topbar{min-height:54px!important;padding:0 22px!important}.project-picker,.model-picker{border-radius:10px!important;min-height:36px!important;padding:0 13px!important;font-size:14px!important;line-height:1!important}.section-title{padding:14px 7px 7px!important;font-size:11px!important}.project-item,.thread-item{margin-bottom:4px!important;padding:9px 8px!important}.project-conversations{margin:5px 0 12px 21px!important;padding-left:7px!important}.project-conversation,.project-manage{min-height:30px!important;font-size:12px!important}.thread-title,.project-item strong{font-size:13px!important}.thread-meta,.project-item em{font-size:10.5px!important}.new-chat{margin:8px 9px!important}.utility-row{margin:0 9px 16px!important}.app-shell{grid-template-columns:256px minmax(0,1fr)!important}.app-shell.sidebar-closed{grid-template-columns:minmax(0,1fr)!important}.sidebar{width:256px!important}.sidebar-head{min-height:54px!important;padding:10px 14px 8px!important}.brand{letter-spacing:0!important;font-size:22px!important;font-weight:500!important}.new-chat{background:var(--bg-panel)!important;border-radius:10px!important;min-height:42px!important;margin:10px 12px 8px!important;padding:0 16px!important;font-size:15px!important}.utility-row{min-height:30px!important;margin:0 12px 4px!important;padding:0 10px!important;font-size:14px!important}.scroll-area{padding-top:0!important}.section-title{letter-spacing:0!important;padding:8px 10px 6px!important;font-size:13px!important}.project-group{margin-bottom:8px!important}.project-item{margin-bottom:3px!important;padding:9px 10px!important}.project-conversations{margin-top:6px!important;margin-bottom:12px!important}.project-conversation,.project-manage{min-height:31px!important}.topbar{border-bottom-color:#e8e7e3b8!important;height:44px!important;min-height:44px!important;padding:0 18px!important}.main{grid-template-rows:44px minmax(0,1fr) auto!important}.project-picker,.model-picker{border-radius:9px!important;gap:6px!important;min-height:32px!important;padding:0 10px!important;font-size:14px!important}.app-shell{grid-template-columns:none!important;width:100vw!important;height:100dvh!important;display:flex!important}.app-shell.sidebar-closed{grid-template-columns:none!important;display:flex!important}.sidebar{position:relative;width:var(--sidebar-width,256px)!important;min-width:var(--sidebar-width,256px)!important;max-width:var(--sidebar-width,256px)!important;flex:0 0 var(--sidebar-width,256px)!important;overflow-x:hidden!important}.main{flex:auto!important;grid-template-rows:auto minmax(0,1fr) auto!important;min-width:0!important}.sidebar-resizer{z-index:20;cursor:col-resize;background:0 0;width:8px;height:100%;position:absolute;top:0;right:-4px}.sidebar-resizer:after{content:"";background:0 0;width:1px;height:100%;position:absolute;top:0;right:3px}.sidebar-resizer:hover:after{background:#2c2b281f}.sidebar-head{border-bottom:0!important;min-height:auto!important;padding:16px!important}.brand{font-size:18px!important;font-weight:600!important;line-height:1.2!important}.new-chat{border-radius:8px!important;gap:8px!important;width:calc(100% - 32px)!important;min-height:auto!important;margin:0 auto 12px!important;padding:8px 12px!important;font-size:14px!important}.utility-row{width:auto!important;min-height:30px!important;margin:0 16px 8px!important;padding:0 8px!important;font-size:13px!important}.scroll-area{padding-top:0!important;overflow-x:hidden!important}.project-item,.thread-item{box-sizing:border-box!important;border-radius:8px!important;width:calc(100% - 32px)!important;margin:2px auto 6px!important}.thread-item{margin-bottom:8px!important;padding:8px 12px!important}.project-item{overflow:hidden;grid-template-columns:minmax(0,1fr) auto!important;padding:0!important;display:grid!important}.project-expand,.project-open{color:inherit;background:0 0}.project-expand{text-align:left;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:7px 0 7px 8px;display:grid}.project-open{color:var(--text-faint);place-items:center;display:grid;border-radius:8px!important;width:30px!important;height:30px!important;margin:4px 5px 4px 0!important}.project-open:hover{color:var(--text-main);background:var(--bg-hover)!important}.project-conversations{border-left:1px solid var(--border);gap:2px;display:grid;width:calc(100% - 48px)!important;margin:4px 16px 12px 32px!important;padding-left:8px!important;overflow-x:hidden!important}.project-conversations .thread-item{width:100%!important;margin:0!important;padding:6px 8px!important}.archive-row{width:calc(100% - 14px)!important;min-height:34px!important;color:var(--text-faint)!important;box-sizing:border-box!important;background:0 0!important;border-radius:8px!important;gap:6px!important;margin:16px 7px 0!important;padding:7px 8px!important;font-size:13px!important}.archive-row:hover{color:var(--text-main)!important;background:var(--bg-hover)!important}.archive-row svg:first-child{margin:0!important}.archive-row svg:last-child{margin-left:auto!important}.sidebar-footer{border-top:0!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:4px!important;padding:10px 12px!important;overflow-x:hidden!important}.footer-button{justify-content:flex-start!important;width:100%!important;min-width:0!important;min-height:34px!important}.topbar{-webkit-backdrop-filter:blur(22px)saturate(1.25)!important;background:linear-gradient(#fafaf8b8 0%,#fafaf870 62%,#fafaf81f 100%)!important;border-bottom:0!important;height:auto!important;min-height:0!important;padding:12px 24px!important;position:relative!important;box-shadow:0 10px 28px #2c2b2809!important}.topbar:before{content:"";pointer-events:none;background:#ffffffb8;height:1px;position:absolute;inset:0 0 auto}.topbar:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#2c2b280e,#0000);height:1px;position:absolute;bottom:-1px;left:24px;right:24px}.topbar-right{gap:8px!important}.conversation-toggle{max-width:min(360px,42vw);color:var(--text-main);min-height:28px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:7px!important;align-items:center!important;gap:13px!important;padding:0 8px!important;display:inline-flex!important}.conversation-toggle:hover{background:var(--bg-hover)!important}.conversation-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--text-muted)!important;font-size:14px!important;font-weight:400!important;line-height:1.25!important}.sidebar-toggle-icon{border:1.5px solid var(--text-main);opacity:.86;border-radius:3px;width:15px;height:13px;display:block;position:relative}.sidebar-toggle-icon span:first-child{background:var(--text-main);border-radius:999px;width:1.5px;position:absolute;top:2px;bottom:2px;left:4px}.sidebar-toggle-icon span:last-child{background:var(--text-main);width:4px;height:1.5px;box-shadow:0 3.5px 0 var(--text-main);border-radius:999px;position:absolute;top:3px;right:3px}.project-picker,.model-picker{color:var(--text-main);background:var(--bg-main)!important;border-radius:8px!important;gap:4px!important;height:auto!important;min-height:auto!important;padding:6px 12px!important;font-size:12px!important;line-height:1.2!important}.project-picker:hover,.model-picker:hover{background:var(--bg-hover)!important}.project-picker svg,.model-picker svg{width:12px!important;height:12px!important}.welcome{text-align:center!important;justify-content:center!important;align-items:start!important;min-height:0!important;padding:23vh 16px 0!important;display:flex!important}.welcome-title{flex-direction:column!important;align-items:center!important;gap:0!important;display:flex!important;transform:none!important}.welcome h1{color:var(--text-main)!important;margin:0!important;font-size:32px!important;font-weight:500!important;line-height:1.15!important}.welcome p,.welcome-title>span{display:none!important}.today-strip{justify-content:center;gap:8px;margin-top:24px;display:flex}.today-strip button{min-width:126px;color:var(--text-main);-webkit-backdrop-filter:blur(14px)saturate(1.05);background:#fafaf894;border:1px solid #e8e7e3b8;border-radius:8px;gap:3px;padding:9px 12px 10px;display:grid;text-align:center!important;justify-items:center!important}.today-strip button:hover{background:#00000009}.today-strip span{color:var(--text-faint);font-size:11px;line-height:1.2;text-align:center!important}.today-strip strong{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:1.25;overflow:hidden;text-align:center!important}.composer{overflow:visible!important}.tool-menu-wrap{align-items:center;display:flex;position:relative}.tool-menu{z-index:30;border:1px solid var(--border);-webkit-backdrop-filter:blur(18px)saturate(1.12);background:#fafaf8f0;border-radius:8px;gap:2px;min-width:178px;padding:6px;display:grid;position:absolute;box-shadow:0 12px 34px #2c2b281f;bottom:42px!important;left:-8px!important}.tool-menu button{min-height:32px;color:var(--text-muted);text-align:left;background:0 0;border-radius:7px;align-items:center;gap:8px;padding:0 9px;font-size:13px;display:flex}.tool-menu button:hover{color:var(--text-main);background:var(--bg-hover)}.section-title-row{justify-content:space-between;align-items:center;padding-right:8px;display:flex}.section-title-row .section-title{padding-right:0}.section-title-row button,.mini-new-chat{color:var(--text-faint);background:0 0}.section-title-row button{border-radius:7px;place-items:center;width:24px;height:24px;display:grid}.section-title-row button:hover,.mini-new-chat:hover{color:var(--text-main);background:var(--bg-hover)}.mini-new-chat{text-align:left;border-radius:7px;align-items:center;gap:6px;min-height:28px;padding:0 8px;font-size:12px;display:flex}@media (width<=720px){.today-strip{flex-direction:column;width:min(280px,100%)}.today-strip button{width:100%}}.thread-row{border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid;position:relative;width:calc(100% - 32px)!important;margin:2px auto 8px!important}.thread-row:hover,.thread-row.active{background:var(--bg-hover)}.thread-row .thread-item{background:0 0!important;width:100%!important;margin:0!important}.thread-menu-button{width:26px;height:26px;color:var(--text-faint);opacity:0;background:0 0;border-radius:7px;place-items:center;margin-right:5px;display:grid}.thread-row:hover .thread-menu-button,.thread-row.active .thread-menu-button{opacity:1}.thread-menu-button:hover{color:var(--text-main);background:#0000000b}.thread-menu{z-index:35;border:1px solid var(--border);-webkit-backdrop-filter:blur(16px)saturate(1.12);background:#fafaf8f5;border-radius:8px;gap:2px;min-width:142px;padding:6px;display:grid;position:absolute;top:30px;right:4px;box-shadow:0 14px 36px #2c2b2821}.thread-menu button{min-height:30px;color:var(--text-muted);text-align:left;background:0 0;border-radius:7px;padding:0 9px;font-size:12px}.thread-menu button:hover{color:var(--text-main);background:var(--bg-hover)}.thread-menu button.danger{color:#c95348}.thread-submenu{position:relative}.thread-submenu-panel{z-index:36;border:1px solid var(--border);-webkit-backdrop-filter:blur(16px)saturate(1.12);background:#fafaf8f5;border-radius:8px;min-width:128px;padding:6px;display:none;position:absolute;top:0;left:calc(100% + 6px);box-shadow:0 14px 36px #2c2b2821}.thread-submenu:hover .thread-submenu-panel{gap:2px;display:grid}.thread-submenu-panel button{white-space:nowrap}.project-conversations .thread-menu,.scroll-area .thread-menu{z-index:80!important;top:30px!important;left:auto!important;right:4px!important}.thread-menu{z-index:120!important;position:fixed!important;right:auto!important}.thread-submenu-panel{z-index:130!important;top:0!important;left:calc(100% + 6px)!important;right:auto!important}.thread-menu{width:150px!important;min-width:150px!important}.app-shell .scroll-area .thread-menu,.app-shell .project-conversations .thread-menu,.app-shell .thread-menu{top:var(--thread-menu-top)!important;left:var(--thread-menu-left)!important;z-index:160!important;width:150px!important;min-width:150px!important;position:fixed!important;right:auto!important}.app-shell .thread-submenu-panel{left:calc(100% + 6px)!important;right:auto!important}.thread-submenu-panel{min-width:150px!important}.thread-submenu-panel button{text-align:left!important;box-sizing:border-box!important;border-radius:7px!important;width:100%!important;min-height:32px!important;padding:0 12px!important;display:block!important}.thread-submenu{width:100%!important;display:block!important}.thread-submenu>button{text-align:left!important;box-sizing:border-box!important;border-radius:7px!important;width:100%!important;min-height:30px!important;padding:0 9px!important;display:block!important}.thread-submenu>button{width:100%!important}.thread-submenu-panel,.thread-submenu:hover .thread-submenu-panel{display:none!important}.thread-submenu-panel.open,.thread-submenu .thread-submenu-panel.open,.thread-submenu:hover .thread-submenu-panel.open{gap:2px!important;display:grid!important}.thread-menu{top:var(--thread-menu-top,-9999px)!important;left:var(--thread-menu-left,-9999px)!important}.thread-rename{padding:6px 8px!important}.thread-rename input{border:1px solid var(--accent);width:100%;min-height:30px;color:var(--text-main);background:#fafaf8db;border-radius:7px;outline:none;padding:0 8px;font-size:14px;box-shadow:0 0 0 3px #d977571f}.empty-archive{color:var(--text-faint);margin:18px 16px;font-size:13px}.archive-row.active{color:var(--text-main)!important;background:var(--bg-hover)!important}.archive-mode{gap:8px;display:grid}.archive-mode-head{justify-content:space-between;align-items:center;padding:10px 16px 8px;display:flex}.archive-mode-head strong,.archive-mode-head span{display:block}.archive-mode-head strong{color:var(--text-main);font-size:15px;font-weight:500;line-height:1.3}.archive-mode-head span{color:var(--text-faint);margin-top:2px;font-size:11px}.archive-mode-head button{min-height:28px;color:var(--text-muted);background:0 0;border-radius:7px;padding:0 9px;font-size:12px}.archive-mode-head button:hover{color:var(--text-main);background:var(--bg-hover)}.archive-search{width:calc(100% - 32px);min-height:32px;color:var(--text-faint);background:0 0;border-radius:8px;align-items:center;gap:8px;margin:0 auto 6px;padding:0 9px;font-size:13px;display:flex}.archive-search:hover{color:var(--text-main);background:var(--bg-hover)}.archive-mode .thread-row{opacity:.9}.main{position:relative;overflow:hidden}.main:before{content:"";pointer-events:none;opacity:.9;background:radial-gradient(circle at 50% 34%,#d977571b,#0000 28%),radial-gradient(circle at 42% 40%,#be7c8214,#0000 24%),linear-gradient(#fff7f185,#0000 46%);position:absolute;inset:52px 0 110px}.main:after{content:"";pointer-events:none;opacity:.18;background-image:linear-gradient(#2c2b2809 1px,#0000 1px),linear-gradient(90deg,#2c2b2806 1px,#0000 1px);background-size:42px 42px;position:absolute;inset:52px 0 110px;-webkit-mask-image:radial-gradient(circle at 50% 34%,#000,#0000 58%);mask-image:radial-gradient(circle at 50% 34%,#000,#0000 58%)}.welcome,.composer-wrap,.topbar{z-index:1;position:relative}.today-strip button{background:linear-gradient(#fffaf7d6,#fafaf894)!important;border-color:#0000!important;box-shadow:0 10px 28px #d9775713,inset 0 1px #ffffffd6!important}.composer{background:linear-gradient(#fffcf9eb,#fafaf8d1)!important;border-color:#0000!important;box-shadow:0 18px 48px #d9775717,0 8px 28px #2c2b280b,inset 0 0 0 1px #d9775714!important}.project-picker,.model-picker,.new-chat{border-color:#0000!important;box-shadow:0 8px 20px #d977570e,inset 0 0 0 1px #d9775714!important}:root{--accent-soft:#efd3bf;--accent-mist:#cd703f16;--accent-glow:#cd703f21;--rose-mist:#cd703f0b;--paper-warm:#fff8f194}.main:before{opacity:.82!important;background:radial-gradient(circle at 50% 34%,#cd703f16,#0000 27%),radial-gradient(circle at 47% 43%,#e8b28113,#0000 25%),linear-gradient(#fff9f375,#0000 46%)!important}.main:after{opacity:.12!important}.today-strip button{background:linear-gradient(#fffbf7d1,#faf8f49e)!important;box-shadow:0 10px 26px #cd703f0e,inset 0 1px #ffffffd6!important}.today-strip button:hover{background:linear-gradient(#fff7f0e0,#fbf2eaa8)!important;box-shadow:0 12px 30px #cd703f17,inset 0 1px #ffffffe6!important}.main:before,.main:after{display:none!important}.welcome h1{text-shadow:none!important}.today-strip button{box-shadow:none!important;background:#fafaf894!important;border:1px solid #e8e7e3b8!important}.today-strip button:hover{box-shadow:none!important;background:#00000009!important}.composer{border:1px solid var(--border)!important;background:var(--bg-panel)!important;box-shadow:0 14px 36px #0000000d!important}.project-picker,.model-picker,.new-chat{border:1px solid var(--border)!important;box-shadow:none!important}.thread-row:hover,.thread-row.active,.project-item:hover,.project-item.active{background:var(--bg-hover)!important}.send-button{box-shadow:none!important;background:#ecd1c8!important}.send-button:hover{background:var(--accent)!important}.model-picker-wrap{flex:none;position:relative}.model-menu{z-index:45;border:1px solid var(--border);-webkit-backdrop-filter:blur(18px)saturate(1.12);background:#fafaf8f5;border-radius:10px;gap:4px;width:260px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 42px #2c2b281f}.model-menu button{width:100%;color:var(--text-muted);text-align:left;background:0 0;border-radius:8px;padding:8px 9px}.model-menu button:hover,.model-menu button.active{color:var(--text-main);background:var(--bg-hover)}.model-menu span,.model-menu em{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.model-menu span{font-size:13px;line-height:1.3}.model-menu em{color:var(--text-faint);margin-top:2px;font-size:11px;font-style:normal;line-height:1.25}.model-menu-divider{background:var(--border);height:1px;margin:3px 4px}.new-chat:hover{border-color:var(--accent)!important}.settings-modal-v2{grid-template-columns:208px minmax(0,1fr)!important;min-height:620px!important;display:grid!important}.settings-nav{border-right:1px solid var(--border);background:var(--bg-sidebar);flex-direction:column;padding:16px 10px 10px;display:flex}.settings-nav-title{color:var(--text-main);padding:0 10px 12px;font-size:18px;font-weight:500}.settings-nav-list{gap:4px;display:grid}.settings-nav-item,.settings-close,.settings-back{min-height:34px;color:var(--text-muted);text-align:left;background:0 0;border-radius:8px;align-items:center;gap:9px;padding:0 10px;font-size:13px;display:flex}.settings-nav-item:hover,.settings-nav-item.active,.settings-close:hover,.settings-back:hover{color:var(--text-main);background:var(--bg-hover)}.settings-close{margin-top:auto}.settings-content{padding:24px;overflow-y:auto}.settings-page-head{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.settings-copy h2{margin:0 0 8px;font-size:22px;font-weight:500}.settings-copy p{color:var(--text-muted);margin:0 0 18px;font-size:13px;line-height:1.6}.settings-new-model{align-items:center;gap:7px;margin-bottom:18px;display:inline-flex}.settings-model-list{gap:8px;display:grid}.settings-model-card{border:1px solid var(--border);color:var(--text-main);text-align:left;background:0 0;border-radius:8px;justify-content:space-between;align-items:center;padding:13px 14px;display:flex}.settings-model-card:hover{border-color:var(--accent)}.settings-model-card strong,.settings-model-card span{display:block}.settings-model-card strong{font-size:14px;font-weight:500}.settings-model-card span{color:var(--text-muted);margin-top:3px;font-size:12px}.settings-field-grid{gap:14px;display:grid}.settings-field-grid label{gap:6px;display:grid}.settings-field-grid label span{color:var(--text-muted);font-size:12px}.settings-field-grid label em{color:var(--text-faint);font-size:11px;font-style:normal}.settings-input{border:1px solid var(--border);min-height:36px;color:var(--text-main);background:var(--bg-main);border-radius:8px;outline:none;padding:0 11px;font-size:13px}.settings-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #d977571f}.settings-input.mono{font-family:SF Mono,Menlo,monospace;font-size:12px}.settings-two-col{grid-template-columns:1fr 1fr;gap:12px;display:grid}.settings-switch-row{border:1px solid var(--border);border-radius:8px;justify-content:space-between;align-items:center;padding:13px;display:flex}.settings-switch-row strong,.settings-switch-row span{display:block}.settings-switch-row strong{font-size:14px;font-weight:500}.settings-switch-row span{color:var(--text-faint);margin-top:3px;font-size:11px}.settings-switch{background:var(--border);border-radius:999px;width:40px;height:24px;position:relative}.settings-switch.active{background:var(--accent)}.settings-switch span{background:#fff;border-radius:999px;width:20px;height:20px;position:absolute;top:2px;left:18px}.settings-danger{color:#c95348;background:0 0;border-radius:8px;min-height:32px;padding:0 11px}.settings-danger:hover{background:#c953481a}.settings-empty{border:1px dashed var(--border);color:var(--text-faint);text-align:center;border-radius:8px;padding:26px;font-size:13px}.app-shell{background:var(--bg-main)!important;gap:8px!important;padding:8px!important}.sidebar{border:1px solid var(--border)!important;border-radius:12px!important;height:calc(100dvh - 16px)!important;overflow:hidden!important}.main{background:var(--bg-main)!important;border-radius:12px!important;height:calc(100dvh - 16px)!important;overflow:hidden!important}.topbar{border-radius:12px 12px 10px 10px!important;margin:0!important}.main{display:block!important;position:relative!important}.topbar{z-index:10!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;background:0 0!important;justify-content:space-between!important;align-items:center!important;padding:0!important;display:flex!important;position:absolute!important;top:10px!important;left:12px!important;right:12px!important}.topbar:before,.topbar:after{display:none!important}.topbar-left,.topbar-right{align-items:center!important;display:flex!important}.conversation-toggle,.project-picker,.model-picker{-webkit-backdrop-filter:blur(14px)saturate(1.08)!important;background:#fafaf8c7!important}.conversation-toggle{border-radius:10px!important;min-height:34px!important;padding:0 10px!important}.project-picker,.model-picker{border-radius:10px!important}.main{grid-template-rows:minmax(0,1fr) auto!important;display:grid!important}.welcome{min-height:0!important;padding:18vh 16px 0!important}.composer-wrap{padding:0 24px 28px!important}.composer{width:min(760px,100%)!important}.today-strip{margin-top:28px!important}.welcome{padding-top:23vh!important}.conversation-toggle{border:1px solid #e8e7e3e6!important;box-shadow:0 6px 18px #2c2b2809!important}.conversation-toggle:hover{border-color:var(--border)!important;background:#00000009!important}.conversation-toggle,.project-picker,.model-picker{-webkit-backdrop-filter:blur(14px)saturate(1.08)!important;background:#fafaf8c7!important;border:1px solid #e8e7e3e6!important;border-radius:10px!important;min-height:34px!important;padding:0 11px!important;box-shadow:0 6px 18px #2c2b2809!important}.conversation-toggle:hover,.project-picker:hover,.model-picker:hover{border-color:var(--border)!important;background:#00000009!important}.settings-nav{padding-top:10px!important}.settings-nav-title{display:none!important}.settings-copy h2{display:none!important}.settings-copy p{margin-bottom:14px!important;font-size:12px!important}.modal-card:has(.settings-modal-v2){width:min(860px,100vw - 48px)!important;max-height:min(700px,100vh - 48px)!important}.settings-modal-v2{grid-template-columns:204px minmax(0,1fr)!important;min-height:620px!important}.settings-content{padding:24px 28px!important}.settings-page{max-width:560px!important}.settings-switch{border-radius:999px!important;flex:0 0 40px!important;width:40px!important;height:24px!important;padding:0!important;position:relative!important;overflow:hidden!important}.settings-switch span{background:#fff!important;border-radius:999px!important;width:20px!important;height:20px!important;position:absolute!important;top:2px!important;left:2px!important;transform:translate(16px)!important}.settings-switch:not(.active) span{transform:translate(0)!important}.settings-switch>span{background:#fff!important;border-radius:999px!important;width:20px!important;height:20px!important;margin:0!important;display:block!important;position:absolute!important;top:2px!important;left:2px!important;transform:translate(16px)!important}.settings-switch:not(.active)>span{transform:translate(0)!important}.settings-model-groups{gap:18px;display:grid}.settings-model-group{gap:8px;display:grid}.settings-model-group-head{justify-content:space-between;align-items:center;display:flex}.settings-model-group-head h3{color:var(--text-muted);margin:0;font-size:13px;font-weight:500}.settings-model-group-head button{color:#fff;background:var(--accent);border-radius:7px;place-items:center;width:24px;height:24px;display:grid}.settings-model-group-head button:hover{background:var(--accent-hover)}.settings-model-list{gap:7px!important}.settings-model-card{min-height:58px!important;padding:10px 12px!important}.settings-model-card strong{font-size:13px!important}.settings-model-card span{font-size:11px!important}.settings-model-group-head h3{color:var(--text-main)!important;font-size:15px!important;font-weight:600!important}.model-menu{overscroll-behavior:contain!important;max-height:min(420px,100vh - 96px)!important;overflow-y:auto!important}.model-menu::-webkit-scrollbar{width:6px}.model-menu::-webkit-scrollbar-track{background:0 0}.model-menu::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.model-menu::-webkit-scrollbar-thumb:hover{background:var(--text-faint)}.settings-page-head-right{justify-content:flex-end!important}.settings-action-bar{border-top:1px solid var(--border);background:var(--bg-panel);justify-content:space-between;align-items:center;margin-top:22px;padding:14px 0 0;display:flex;position:sticky;bottom:-24px}.settings-action-bar .primary-button{border-radius:8px;min-height:34px;padding:0 14px}.settings-panel-stack{gap:12px;display:grid}.settings-section-card,.settings-integration-row{border:1px solid var(--border);background:0 0;border-radius:8px}.settings-section-card{gap:14px;padding:14px;display:grid}.settings-section-head,.settings-integration-row,.settings-button-row{justify-content:space-between;align-items:center;gap:14px;display:flex}.settings-section-head strong,.settings-section-head span,.settings-integration-row strong,.settings-integration-row span{display:block}.settings-section-head strong,.settings-integration-row strong{color:var(--text-main);font-size:14px;font-weight:500}.settings-section-head span,.settings-integration-row span{color:var(--text-faint);margin-top:3px;font-size:11px;line-height:1.45}.settings-textarea{resize:vertical;min-height:78px;padding:9px 11px;line-height:1.5}.settings-switch-row.flat{border:0;padding:0}.settings-integration-row{min-height:62px;padding:12px 14px}.settings-pill-button{border:1px solid var(--border);min-height:32px;color:var(--text-muted);background:0 0;border-radius:8px;flex:none;padding:0 11px;font-size:12px}.settings-pill-button:hover{color:var(--text-main);border-color:var(--accent);background:var(--bg-hover)}.settings-metric-grid,.settings-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.settings-metric-grid div,.settings-choice{border:1px solid var(--border);background:0 0;border-radius:8px;padding:12px}.settings-metric-grid strong,.settings-metric-grid span,.settings-choice strong,.settings-choice span{display:block}.settings-metric-grid strong{color:var(--text-main);font-size:18px;font-weight:500}.settings-metric-grid span,.settings-choice span{color:var(--text-faint);margin-top:4px;font-size:11px}.settings-choice{text-align:left}.settings-choice strong{color:var(--text-muted);font-size:13px;font-weight:500}.settings-choice:hover,.settings-choice.active{border-color:var(--accent);background:var(--bg-hover)}.settings-choice.active strong{color:var(--text-main)}@media (width<=720px){.settings-metric-grid,.settings-choice-grid{grid-template-columns:1fr}.settings-section-head,.settings-integration-row,.settings-button-row{flex-direction:column;align-items:flex-start}}.settings-content{width:min(840px,100vw - 388px)!important}@media (width<=840px){:is(.modal-card:has(.settings-modal-v2),.settings-modal-v2,.settings-content){width:min(560px,100vw - 32px)!important;max-width:calc(100vw - 32px)!important}}.modal-card:has(.settings-modal-v2){width:min(1060px,100vw - 48px)!important;overflow:hidden!important}.settings-content{width:auto!important;max-width:760px!important;overflow-x:hidden!important}.settings-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.settings-metric-grid div{min-width:0!important}.settings-metric-grid span{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}@media (width<=1120px){.modal-card:has(.settings-modal-v2){width:min(920px,100vw - 32px)!important}.settings-modal-v2{grid-template-columns:240px minmax(0,1fr)!important}.settings-content{max-width:none!important}}.modal-card:has(.settings-modal-v2){width:min(764px,100vw - 48px)!important;max-height:min(700px,100vh - 48px)!important;overflow:hidden!important}.settings-modal-v2{grid-template-columns:204px minmax(0,560px)!important;width:auto!important;max-width:100%!important}.settings-content{width:auto!important;max-width:560px!important;padding:24px 28px!important;overflow-x:hidden!important}.settings-page{width:auto!important;max-width:100%!important}.settings-metric-grid,.settings-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.settings-metric-grid div,.settings-choice{min-width:0!important}.settings-metric-grid span,.settings-choice span,.settings-choice strong{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}@media (width<=840px){.modal-card:has(.settings-modal-v2){width:min(560px,100vw - 32px)!important}.settings-modal-v2{grid-template-columns:1fr!important}.settings-nav{display:none!important}.settings-content{max-width:none!important;padding:20px!important}}.modal-card:has(.settings-modal-v2){width:min(876px,100vw - 48px)!important}.settings-modal-v2{grid-template-columns:204px minmax(0,672px)!important}.settings-content{max-width:672px!important}.settings-emoji{color:inherit!important;vertical-align:-.04em!important;margin-left:6px!important;font-size:.92em!important;line-height:1!important;display:inline-block!important}.settings-integration-row strong{align-items:center!important;gap:6px!important;display:flex!important}.settings-integration-row .settings-emoji{margin-left:0!important}.settings-section-head strong,.settings-integration-row strong{align-items:center!important;gap:7px!important;display:flex!important}.settings-emoji{flex:0 0 18px!important;place-items:center!important;width:18px!important;margin-left:0!important;font-size:.9em!important;line-height:1!important;display:inline-grid!important}.settings-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}@media (width<=920px){.settings-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.settings-config-panel{background:#fafaf89e}.settings-config-panel select.settings-input{appearance:none}.settings-button-row{flex-wrap:wrap;justify-content:flex-start!important}.settings-danger-zone{border-color:#c953483d!important}.settings-choice{cursor:pointer}.settings-choice.active{box-shadow:inset 0 0 0 1px #d977572e}.settings-choice.active span{color:var(--accent)}.settings-config-panel{gap:16px!important}.settings-config-panel .settings-field-grid{margin-top:-2px}.settings-panel-stack.compact{gap:10px!important}.settings-content{overscroll-behavior:contain!important;max-height:min(620px,100vh - 72px)!important;overflow-y:auto!important}.settings-content::-webkit-scrollbar{width:6px}.settings-content::-webkit-scrollbar-track{background:0 0}.settings-content::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.settings-content::-webkit-scrollbar-thumb:hover{background:var(--text-faint)}.settings-save-bar,.settings-inline-actions{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding-top:14px;display:flex}.settings-save-bar span{color:var(--text-faint);font-size:11px}.settings-inline-actions{justify-content:flex-end}.settings-toast{width:fit-content;color:var(--accent);background:#fafaf8f0;border:1px solid #d9775738;border-radius:8px;margin:14px 0 0 auto;padding:7px 10px;font-size:12px;position:sticky;bottom:0;box-shadow:0 10px 24px #2c2b2814}.memory-settings-page{padding-bottom:8px}.settings-memory-list{gap:10px;display:grid}.settings-memory-group{border:1px solid var(--border);background:0 0;border-radius:8px;overflow:hidden}.settings-memory-group-head{width:100%;min-height:42px;color:var(--text-main);text-align:left;background:0 0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 12px;display:grid}.settings-memory-group-head:hover{background:var(--bg-hover)}.settings-memory-group-head span{color:var(--text-faint);font-size:13px}.settings-memory-group-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.settings-memory-group-head em{min-width:24px;color:var(--text-faint);background:var(--bg-hover);text-align:center;border-radius:999px;padding:2px 7px;font-size:11px;font-style:normal}.settings-memory-items{border-top:1px solid var(--border);gap:8px;padding:10px;display:grid}.settings-memory-item{border:1px solid var(--border);background:#fafaf87a;border-radius:8px;gap:10px;padding:11px 12px;display:grid}.settings-memory-item.locked{border-color:#d9775761}.settings-memory-item p{color:var(--text-main);margin:0;font-size:13px;line-height:1.55}.settings-memory-actions{flex-wrap:wrap;gap:6px;display:flex}.settings-memory-actions button{border:1px solid var(--border);min-height:28px;color:var(--text-muted);background:0 0;border-radius:7px;padding:0 9px;font-size:12px}.settings-memory-actions button:hover{color:var(--text-main);border-color:var(--accent);background:var(--bg-hover)}.settings-memory-actions button.danger{color:#c95348}.settings-memory-edit{gap:10px;display:grid}.settings-empty.compact{padding:14px}.memory-create-card{gap:0!important;padding:0!important}.memory-create-toggle{width:100%;min-height:44px;color:var(--text-main);text-align:left;background:0 0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 12px;display:grid}.memory-create-toggle:hover{background:var(--bg-hover)}.memory-create-toggle>span{color:var(--text-faint);font-size:13px}.memory-create-toggle strong{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:7px;font-size:14px;font-weight:500;display:flex;overflow:hidden}.memory-create-toggle em{color:var(--accent);font-size:12px;font-style:normal}.memory-create-body{border-top:1px solid var(--border);gap:12px;padding:12px;display:grid}.memory-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:min(420px,100%)!important}.memory-metric-grid strong{font-size:18px!important}.memory-metric-grid span{font-size:10.5px!important}.settings-memory-item{position:relative;gap:8px!important;padding:11px 11px 9px!important}.memory-text{color:var(--text-main);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.55;display:-webkit-box;overflow:hidden}.memory-text.expanded{-webkit-line-clamp:unset;display:block;overflow:visible}.settings-memory-footer{justify-content:space-between;align-items:center;gap:8px;min-height:26px;display:flex}.memory-expand-button{min-height:24px;color:var(--text-faint);background:0 0;border-radius:7px;padding:0 7px;font-size:11px}.memory-expand-button:hover{color:var(--text-main);background:var(--bg-hover)}.settings-memory-actions{justify-content:flex-end;margin-left:auto}.settings-memory-actions button{width:26px!important;height:26px!important;min-height:26px!important;color:var(--text-faint)!important;background:0 0!important;border:0!important;border-radius:7px!important;place-items:center!important;padding:0!important;display:grid!important}.settings-memory-actions button:hover{color:var(--text-main)!important;background:var(--bg-hover)!important}.settings-memory-actions button.danger:hover{color:#c95348!important;background:#c9534817!important}.memory-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}.memory-metric-grid div{min-height:64px!important;padding:9px 16px!important}.memory-metric-grid strong{font-size:18px!important;line-height:1.1!important}.memory-metric-grid span{margin-top:6px!important;font-size:11px!important}.memory-scope-link{border:1px solid var(--border);border-radius:8px}.memory-scope-link+.memory-scope-link{margin-top:8px;margin-left:auto}.settings-memory-group-head.static{cursor:default}.settings-memory-group-head.static:hover{background:0 0}.memory-scope-page .settings-memory-group{border-radius:8px}.memory-scope-page .settings-memory-items{max-height:min(430px,100vh - 260px);overflow-y:auto}.memory-scope-page .settings-memory-items::-webkit-scrollbar{width:6px}.memory-scope-page .settings-memory-items::-webkit-scrollbar-track{background:0 0}.memory-scope-page .settings-memory-items::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.memory-scope-page .settings-memory-items::-webkit-scrollbar-thumb:hover{background:var(--text-faint)}.memory-create-body .settings-button-row{justify-content:flex-end!important}.memory-settings-page{max-height:min(600px,100vh - 96px);padding-right:2px;overflow-y:auto}.memory-settings-page::-webkit-scrollbar{width:6px}.settings-memory-items::-webkit-scrollbar{width:6px}.memory-settings-page::-webkit-scrollbar-track{background:0 0}.settings-memory-items::-webkit-scrollbar-track{background:0 0}.memory-settings-page::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.settings-memory-items::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.memory-settings-page::-webkit-scrollbar-thumb:hover{background:var(--text-faint)}.settings-memory-items::-webkit-scrollbar-thumb:hover{background:var(--text-faint)}.settings-memory-scope-page{gap:10px;display:grid}.settings-memory-scope-head{min-height:38px;color:var(--text-main);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:0 2px;display:grid}.settings-memory-scope-head span{color:var(--text-faint);font-size:13px}.settings-memory-scope-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500;overflow:hidden}.settings-memory-scope-head em{min-width:24px;color:var(--text-faint);background:var(--bg-hover);text-align:center;border-radius:999px;padding:2px 7px;font-size:11px;font-style:normal}.settings-memory-scope-page .settings-memory-items{max-height:min(460px,100vh - 240px);overflow-y:auto;border-top:0!important;padding:0!important}.settings-danger-zone .settings-danger{color:#fff!important;background:#c95348!important;border-radius:8px!important;min-height:34px!important;padding:0 13px!important}.settings-danger-zone .settings-danger:hover{background:#b8463d!important}.settings-page .settings-button-row .primary-button,.settings-page .settings-button-row .settings-pill-button,.settings-page .settings-button-row .settings-danger{text-align:center!important;border-radius:8px!important;justify-content:center!important;width:128px!important;min-width:128px!important;height:34px!important;min-height:34px!important;padding:0 10px!important;font-size:13px!important;line-height:1!important}.settings-page .settings-button-row{gap:10px!important}.memory-settings-page .settings-panel-stack{position:relative}.memory-back-button{-webkit-backdrop-filter:blur(10px)!important;background:#fafaf8eb!important;justify-self:end!important;margin-top:12px!important;position:sticky!important;bottom:0!important}.settings-memory-scope-page{margin-top:0!important}.settings-memory-scope-head{min-height:34px!important;margin-top:0!important}.memory-settings-page{overflow:hidden!important}.memory-settings-page:has(.memory-back-button) .settings-panel-stack{grid-template-rows:minmax(0,1fr) auto!important;gap:12px!important;height:min(560px,100vh - 120px)!important;display:grid!important}.memory-settings-page:has(.memory-back-button) .settings-memory-scope-page{grid-template-rows:auto minmax(0,1fr)!important;min-height:0!important;display:grid!important}.memory-settings-page:has(.memory-back-button) .settings-memory-items{min-height:0!important;max-height:none!important;padding-right:2px!important;overflow-y:auto!important}.memory-back-button{-webkit-backdrop-filter:none!important;background:0 0!important;justify-self:end!important;margin:0!important;position:static!important}.settings-memory-item{align-content:start!important;height:auto!important;min-height:0!important}.settings-memory-footer{margin-top:4px!important}.memory-text{min-height:0!important}.memory-settings-page:has(.memory-back-button) .settings-panel-stack{grid-template-rows:auto minmax(0,1fr) auto!important}.memory-settings-page:has(.memory-back-button) .settings-memory-scope-page{grid-row:1!important;align-self:start!important;min-height:0!important;display:block!important}.memory-settings-page:has(.memory-back-button) .settings-memory-items{align-content:start!important;align-items:start!important;gap:12px!important;max-height:min(470px,100vh - 250px)!important;display:grid!important;overflow-y:auto!important}.memory-settings-page:has(.memory-back-button) .settings-memory-item{align-self:start!important;min-height:0!important}.memory-settings-page:has(.memory-back-button){min-height:min(560px,100vh - 120px)!important;padding-bottom:52px!important;position:relative!important}.memory-settings-page:has(.memory-back-button) .settings-panel-stack{height:auto!important;min-height:0!important;display:block!important}.memory-back-button{margin:0!important;position:absolute!important;bottom:8px!important;right:10px!important}.memory-settings-page:has(.memory-back-button){min-height:0!important;padding-bottom:0!important;position:static!important;overflow-y:auto!important}.memory-settings-page:has(.memory-back-button) .settings-panel-stack{grid-template-rows:auto auto!important;gap:14px!important;height:auto!important;min-height:0!important;display:grid!important}.memory-settings-page:has(.memory-back-button) .settings-memory-scope-page{grid-template-rows:auto auto!important;gap:10px!important;display:grid!important}.memory-settings-page:has(.memory-back-button) .settings-memory-items{max-height:none!important;overflow:visible!important}.memory-back-button{justify-self:end!important;width:fit-content!important;margin:4px 2px 0 auto!important;position:static!important}.memory-settings-page:has(.memory-subpage-footer)>.settings-panel-stack{grid-template-rows:minmax(0,1fr) auto!important;gap:0!important;height:100%!important;display:grid!important}.memory-settings-page:has(.memory-subpage-footer) .settings-memory-scope-page{grid-template-rows:auto minmax(0,1fr)!important;gap:10px!important;min-height:0!important;display:grid!important;overflow:hidden!important}.memory-settings-page:has(.memory-subpage-footer) .settings-memory-items{min-height:0!important;max-height:none!important;padding-right:2px!important;overflow-y:auto!important}.memory-subpage-footer{border-top:1px solid var(--border)!important;background:var(--bg-panel)!important;justify-content:flex-end!important;align-items:center!important;min-height:46px!important;display:flex!important}.memory-subpage-footer .memory-back-button{width:auto!important;margin:0!important;position:static!important}.memory-subpage-footer{height:34px!important;min-height:34px!important}.memory-subpage-footer .memory-back-button{height:28px!important;min-height:28px!important;padding:0 9px!important}.memory-subpage-footer{height:26px!important;min-height:26px!important;padding:0!important}.memory-subpage-footer .memory-back-button{height:24px!important;min-height:24px!important;padding:0 8px!important;line-height:1!important}.memory-settings-page:has(.memory-subpage-footer){height:auto!important;max-height:min(520px,100vh - 120px)!important}.memory-settings-page:has(.memory-subpage-footer)>.settings-panel-stack{grid-template-rows:minmax(0,auto) auto!important;height:auto!important;max-height:min(520px,100vh - 120px)!important}.memory-settings-page:has(.memory-subpage-footer) .settings-memory-scope-page{max-height:min(468px,100vh - 174px)!important}.memory-settings-page:has(.memory-subpage-footer) .settings-memory-items{max-height:min(420px,100vh - 220px)!important}.memory-settings-page:has(.memory-subpage-footer){height:min(430px,100vh - 150px)!important;max-height:min(430px,100vh - 150px)!important;overflow:hidden!important}.memory-settings-page:has(.memory-subpage-footer)>.settings-panel-stack{grid-template-rows:minmax(0,1fr) 28px!important;gap:8px!important;height:100%!important;max-height:none!important;display:grid!important}.memory-settings-page:has(.memory-subpage-footer) .settings-memory-scope-page{grid-template-rows:auto minmax(0,1fr)!important;min-height:0!important;max-height:none!important;display:grid!important;overflow:hidden!important}.memory-settings-page:has(.memory-subpage-footer) .settings-memory-items{min-height:0!important;max-height:none!important;overflow-y:auto!important}.memory-subpage-footer{border-top:1px solid var(--border)!important;height:28px!important;min-height:28px!important}.memory-subpage-footer .memory-back-button{height:24px!important;min-height:24px!important}.settings-content:has(.memory-subpage-footer){position:relative!important;overflow:hidden!important}.settings-content:has(.memory-subpage-footer) .memory-settings-page{height:auto!important;max-height:none!important;padding:0!important;position:absolute!important;inset:24px 28px 0!important;overflow:hidden!important}.settings-content:has(.memory-subpage-footer) .memory-settings-page>.settings-panel-stack{height:100%!important;max-height:none!important;display:block!important}.settings-content:has(.memory-subpage-footer) .settings-memory-scope-page{grid-template-rows:auto minmax(0,1fr)!important;height:calc(100% - 36px)!important;max-height:none!important;display:grid!important;overflow:hidden!important}.settings-content:has(.memory-subpage-footer) .settings-memory-items{min-height:0!important;max-height:none!important;padding-right:2px!important;overflow-y:auto!important}.settings-content:has(.memory-subpage-footer) .memory-subpage-footer{border-top:1px solid var(--border)!important;background:var(--bg-panel)!important;z-index:5!important;justify-content:flex-end!important;align-items:center!important;height:30px!important;min-height:30px!important;display:flex!important;position:absolute!important;bottom:0!important;left:0!important;right:0!important}.settings-content:has(.memory-subpage-footer) .memory-back-button{height:24px!important;min-height:24px!important;margin:0!important;padding:0 8px!important;position:static!important}.settings-content:has(.memory-subpage-footer) .settings-memory-scope-page{height:calc(100% - 38px)!important}.settings-content:has(.memory-subpage-footer) .memory-subpage-footer{align-items:flex-end!important;height:38px!important;min-height:38px!important;padding-bottom:7px!important}.settings-content:has(.memory-subpage-footer) .memory-back-button{height:24px!important;min-height:24px!important;font-size:13px!important}.data-summary-card{border:1px solid var(--border);background:0 0;border-radius:8px;gap:14px;padding:24px;display:grid}.data-summary-card strong,.data-summary-card span{display:block}.data-summary-card strong{color:var(--text-main);font-size:18px;font-weight:500}.data-summary-card span{color:var(--text-muted);font-size:14px;line-height:1.5}.data-wide-button{border:1px solid var(--border);width:100%;min-height:56px;color:var(--text-main);text-align:center;background:0 0;border-radius:8px;font-size:16px}.data-wide-button.filled{background:var(--bg-hover)}.data-wide-button:hover{border-color:var(--accent);background:var(--bg-hover)}.data-wide-button.danger{color:#c95348}.data-wide-button.danger:hover{background:#c9534814;border-color:#c9534859}.data-page-v2 .settings-panel-stack{gap:18px!important}.data-summary-card{gap:10px!important;padding:20px 22px!important}.data-summary-card strong{font-size:17px!important}.data-summary-card span{font-size:13px!important}.data-summary-card em{color:var(--text-faint);font-size:11px;font-style:normal;line-height:1.4;display:block}.data-wide-button{border-radius:8px!important;height:42px!important;min-height:42px!important;font-size:14px!important}.project-settings{background:var(--bg-panel);grid-template-rows:auto minmax(0,1fr) auto;min-height:720px;display:grid}.project-settings-head{justify-content:space-between;align-items:center;gap:16px;padding:22px 28px 12px;display:flex}.project-settings-title{align-items:center;gap:20px;min-width:0;display:flex}.project-back-inline,.project-delete-button,.project-subtabs button{color:var(--text-muted);background:0 0;font-size:14px}.project-back-inline:hover,.project-subtabs button:hover,.project-subtabs button.active{color:var(--text-main)}.project-subtabs{align-items:center;gap:18px;display:flex}.project-subtabs button.active{font-weight:500}.project-delete-button{color:#c95348}.project-delete-button:hover{color:#b8463d}.project-settings-body{padding:20px 28px 24px;overflow-y:auto}.project-settings-body::-webkit-scrollbar{width:6px}.project-settings-body::-webkit-scrollbar-track{background:0 0}.project-settings-body::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.project-field{gap:8px;margin-bottom:22px;display:grid}.project-field>span,.project-file-head>span{color:var(--text-muted);font-size:13px}.project-field .settings-input{min-height:52px;font-size:16px}.project-prompt-input{resize:vertical;line-height:1.55;min-height:170px!important;padding:14px 16px!important}.project-file-section{gap:10px;margin-top:8px;display:grid}.project-file-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.project-upload-button{align-items:center;gap:7px;display:inline-flex}.project-file-row{border:1px solid var(--border);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 16px;display:grid}.project-file-row strong,.project-file-row span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.project-file-row strong{color:var(--text-main);font-size:14px;font-weight:500}.project-file-row span{color:var(--text-faint);margin-top:3px;font-size:11px}.project-file-delete{color:#c95348;background:0 0;border-radius:7px;place-items:center;width:28px;height:28px;display:grid}.project-file-delete:hover{background:#c9534817}.project-file-more{border:1px dashed var(--border);min-height:42px;color:var(--text-faint);background:0 0;border-radius:8px;font-size:13px}.project-file-more:hover{color:var(--text-main);border-color:var(--accent)}.project-memory-preview{align-content:start;gap:12px;display:grid}.project-memory-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:4px;display:flex}.project-memory-head strong,.project-memory-head span{display:block}.project-memory-head strong{color:var(--text-main);font-size:15px;font-weight:500}.project-memory-head span{color:var(--text-faint);margin-top:3px;font-size:11px}.project-settings-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;min-height:66px;padding:0 28px;display:flex}.project-settings-footer .primary-button{min-width:104px}.modal-card:has(.project-settings){width:min(876px,100vw - 48px)!important;max-height:min(700px,100vh - 48px)!important}.project-settings{min-height:620px!important;max-height:min(700px,100vh - 48px)!important}.project-settings-head{padding:18px 24px 10px!important}.project-settings-body{padding:18px 24px 20px!important}.project-settings-footer{min-height:58px!important;padding:0 24px!important}.project-file-head{justify-content:flex-start!important}.project-file-row{width:100%;color:var(--text-main);text-align:left;background:0 0}.project-file-row:hover{border-color:var(--accent);background:var(--bg-hover)}.project-file-row-hint{color:var(--text-faint);font-size:12px}.project-file-more:hover{color:var(--accent)}.project-memory-preview{min-height:0!important;overflow:hidden!important}.project-memory-scroll{gap:12px;min-height:0;max-height:min(390px,100vh - 300px);padding-right:2px;display:grid;overflow-y:auto}.project-memory-scroll::-webkit-scrollbar{width:6px}.project-memory-scroll::-webkit-scrollbar-track{background:0 0}.project-memory-scroll::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.project-memory-scroll::-webkit-scrollbar-thumb:hover{background:var(--text-faint)}.project-field{gap:7px!important;margin-bottom:18px!important}.project-field>span,.project-file-head>span{font-size:12px!important}.project-field .settings-input{height:40px!important;min-height:40px!important;padding:0 13px!important;font-size:14px!important}.project-prompt-input{height:132px!important;min-height:132px!important;padding:12px 13px!important;font-size:14px!important;line-height:1.48!important}.project-file-row{min-height:58px!important;padding:9px 14px!important}.project-file-more{min-height:38px!important}.project-delete-button{color:#fff!important;background:var(--accent)!important;border-radius:8px!important;min-height:32px!important;padding:0 13px!important;font-size:13px!important}.project-delete-button:hover{color:#fff!important;background:var(--accent-hover)!important}.project-settings-footer{justify-content:flex-end!important}.project-field textarea.project-prompt-input,textarea.project-prompt-input{resize:vertical!important;height:132px!important;min-height:132px!important;padding:12px 13px!important;line-height:1.48!important}.memory-create-actions{justify-self:end;align-items:center;gap:10px;display:inline-flex}.memory-create-actions em{color:var(--accent);font-size:12px;font-style:normal}.memory-consolidate-inline{border:1px solid var(--border);min-height:28px;color:var(--text-muted);background:0 0;border-radius:8px;padding:0 10px;font-size:12px}.memory-consolidate-inline:hover{color:var(--text-main);border-color:var(--accent);background:var(--bg-hover)}.project-edit-grid{grid-template-columns:minmax(190px,.72fr) minmax(0,1.28fr);align-items:start;gap:18px;margin-bottom:20px;display:grid}.project-edit-side{gap:10px;display:grid}.project-edit-side p{color:var(--text-faint);margin:0;font-size:11px;line-height:1.55}.project-prompt-field{margin-bottom:0!important}.project-edit-grid .project-prompt-input{height:150px!important;min-height:150px!important}@media (width<=820px){.project-edit-grid{grid-template-columns:1fr}}.settings-integration-row{gap:0!important;min-height:0!important;padding:0!important;display:grid!important}.settings-integration-top{justify-content:space-between;align-items:center;gap:14px;min-height:62px;padding:12px 14px;display:flex}.settings-integration-row.open{border-color:#d9775742}.settings-config-panel.inline{border-top:1px solid var(--border);background:#fafaf885;gap:14px;padding:14px;display:grid}.settings-integration-row.open{width:100%!important}.settings-integration-row .settings-integration-top,.settings-integration-row .settings-config-panel.inline,.settings-integration-row .settings-config-panel.inline .settings-switch-row,.settings-integration-row .settings-config-panel.inline .settings-field-grid,.settings-integration-row .settings-config-panel.inline .settings-inline-actions,.settings-integration-row .settings-config-panel.inline .settings-input{box-sizing:border-box!important;width:100%!important}.settings-page .settings-panel-stack>.settings-integration-row{width:100%!important;min-width:0!important;padding:0!important;display:block!important}.settings-page .settings-panel-stack>.settings-integration-row>.settings-integration-top{width:100%!important;min-width:0!important;display:flex!important}.settings-page .settings-panel-stack>.settings-integration-row>.settings-config-panel.inline{box-sizing:border-box!important;width:100%!important;min-width:100%!important;max-width:none!important;margin:0!important;display:grid!important}.settings-page .settings-panel-stack>.settings-integration-row>.settings-config-panel.inline>*{max-width:none!important}.modal-card:has(.diary-modal-v2){width:min(876px,100vw - 48px)!important;max-height:min(700px,100vh - 48px)!important}.diary-modal-v2{background:var(--bg-panel);grid-template-rows:auto minmax(0,1fr);min-height:620px;display:grid}.diary-modal-head{justify-content:space-between;align-items:center;gap:16px;padding:18px 24px 10px;display:flex}.diary-tabs{align-items:center;gap:18px;display:flex}.diary-tabs button{color:var(--text-muted);background:0 0;font-size:14px}.diary-tabs button:hover,.diary-tabs button.active{color:var(--text-main)}.diary-tabs button.active{font-weight:500}.diary-layout{grid-template-columns:300px minmax(0,1fr);gap:28px;min-height:0;padding:26px 28px 28px;display:grid}.diary-calendar-panel,.diary-entry-panel{min-width:0}.diary-calendar-panel{align-content:start;gap:18px;display:grid}.diary-date-copy span,.diary-date-copy strong{display:block}.diary-date-copy span{color:var(--text-faint);font-size:18px}.diary-date-copy strong{color:var(--text-main);margin-top:8px;font-size:36px;font-weight:400;line-height:1}.diary-month-head{color:var(--text-muted);justify-content:space-between;align-items:center;font-size:13px;display:flex}.rotate-left{transform:rotate(180deg)}.diary-weekdays,.diary-calendar-grid{grid-template-columns:repeat(7,1fr);gap:8px;display:grid}.diary-weekdays span{color:var(--text-faint);text-align:center;font-size:11px}.diary-day{height:34px;color:var(--text-muted);background:0 0;border-radius:999px;place-items:center;font-size:13px;display:grid;position:relative}.diary-day:hover{background:var(--bg-hover)}.diary-day.active{color:var(--text-main);background:var(--bg-hover)}.diary-day.has-entry:after{content:"";background:var(--accent);border-radius:999px;width:4px;height:4px;position:absolute;bottom:4px}.diary-day.muted{pointer-events:none;color:#0000}.diary-entry-panel{grid-template-rows:auto minmax(0,1fr) auto;gap:14px;display:grid}.diary-entry-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.diary-entry-head span,.diary-entry-head strong{display:block}.diary-entry-head span{color:var(--text-faint);font-size:11px}.diary-entry-head strong{color:var(--text-main);margin-top:4px;font-size:22px;font-weight:500}.diary-entry-card{border:1px solid var(--border);background:#fafaf875;border-radius:8px;padding:18px;overflow-y:auto}.diary-entry-card p{color:var(--text-main);margin:0;font-size:14px;line-height:1.7}.diary-entry-card p+p{margin-top:14px}.diary-entry-actions{justify-content:flex-end;gap:10px;display:flex}.diary-entry-actions .primary-button,.diary-entry-actions .settings-pill-button{min-height:34px}@media (width<=840px){.diary-layout{grid-template-columns:1fr}}.diary-date-row{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.diary-date-row .settings-pill-button{flex:none;min-height:32px;margin-top:7px}.diary-entry-head-actions{align-items:center;gap:8px;display:flex}.diary-entry-head-actions .settings-pill-button{min-height:32px}.diary-entry-panel{min-height:0!important}.diary-entry-card{overscroll-behavior:contain!important;min-height:0!important;max-height:min(390px,100vh - 280px)!important;overflow-y:auto!important}.diary-entry-card::-webkit-scrollbar{width:6px}.diary-entry-card::-webkit-scrollbar-track{background:0 0}.diary-entry-card::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.diary-entry-card::-webkit-scrollbar-thumb:hover{background:var(--text-faint)}.diary-entry-head strong{margin-top:0!important;font-size:18px!important;font-weight:500!important}.diary-entry-head span{color:var(--text-faint)!important;margin-top:5px!important;font-size:12px!important}.diary-date-row{display:block!important}.diary-date-copy{justify-content:space-between!important;align-items:baseline!important;gap:18px!important;display:flex!important}.diary-date-copy span{font-size:15px!important}.diary-date-copy strong{white-space:nowrap!important;margin-top:0!important;font-size:28px!important}.diary-year-head{color:var(--text-muted);justify-content:space-between;align-items:center;font-size:16px;display:flex}.diary-year-head{color:var(--text-muted)!important;font-size:13px!important}.diary-year-head span{color:var(--text-muted)!important;font-size:13px!important;font-weight:400!important}.diary-year-head .icon-button{width:24px!important;height:24px!important}.diary-year-head svg{width:13px!important;height:13px!important}.settings-action-bar{background:linear-gradient(180deg, #fafaf8db, var(--bg-panel) 42%)!important;margin-bottom:0!important;padding:14px 0 10px!important;bottom:0!important}.settings-action-bar{background:var(--bg-panel)!important;-webkit-backdrop-filter:none!important;background:var(--bg-panel)!important;border-top:1px solid var(--border)!important;margin-left:-28px!important;margin-right:-28px!important;padding:14px 28px 24px!important;bottom:-24px!important}.settings-action-bar .primary-button,.settings-action-bar .settings-danger{margin-bottom:0!important}.settings-action-bar{box-sizing:border-box!important;-webkit-backdrop-filter:blur(14px)saturate(1.08)!important;background:#fafaf8eb!important;border-top:1px solid #e8e7e3d9!important;height:72px!important;min-height:72px!important;max-height:72px!important;margin:18px -28px -24px!important;padding:12px 28px 20px!important;position:sticky!important;bottom:-24px!important}.settings-action-bar .primary-button,.settings-action-bar .settings-danger{align-self:center!important}.settings-action-bar{height:58px!important;min-height:58px!important;max-height:58px!important;padding:9px 28px 14px!important}.settings-action-bar .primary-button{height:34px!important;min-height:34px!important;padding:0 14px!important;font-size:13px!important}.settings-action-bar .settings-danger{height:30px!important;min-height:30px!important;font-size:13px!important}.settings-action-bar{box-sizing:border-box!important;-webkit-backdrop-filter:blur(14px)saturate(1.08)!important;background:#fafaf8f0!important;border-top:1px solid #e8e7e3d9!important;justify-content:space-between!important;align-items:center!important;height:58px!important;min-height:58px!important;max-height:58px!important;margin:18px -28px -24px!important;padding:0 28px!important;display:flex!important;position:sticky!important;bottom:-24px!important}.settings-action-bar .primary-button,.settings-action-bar .settings-danger{align-self:center!important;margin:0!important}.settings-action-bar .primary-button{height:34px!important;min-height:34px!important;padding:0 15px!important}.settings-action-bar .settings-danger{height:30px!important;min-height:30px!important;padding:0 10px!important}.settings-content:has(.settings-action-bar){padding-bottom:82px!important;position:relative!important}.settings-action-bar{box-sizing:border-box!important;-webkit-backdrop-filter:blur(14px)saturate(1.08)!important;background:#fafaf8f5!important;border-top:1px solid #e8e7e3d9!important;justify-content:space-between!important;align-items:center!important;height:58px!important;min-height:58px!important;max-height:58px!important;margin:0!important;padding:0 28px!important;display:flex!important;position:absolute!important;bottom:0!important;left:0!important;right:0!important}.project-settings-footer{justify-content:flex-end!important;align-items:center!important;height:58px!important;min-height:58px!important;max-height:58px!important;padding:0 28px!important;display:flex!important}.project-settings-footer .primary-button,.project-delete-button{border-radius:10px!important;width:98px!important;height:46px!important;min-height:46px!important;padding:0!important;font-size:20px!important;line-height:1!important}.project-settings-footer .primary-button,.project-delete-button{border-radius:9px!important;width:auto!important;min-width:72px!important;height:34px!important;min-height:34px!important;padding:0 16px!important;font-size:15px!important;line-height:1!important}.project-settings-footer{height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 28px!important}.project-settings-footer .primary-button,.project-delete-button{border-radius:8px!important;min-width:62px!important;height:28px!important;min-height:28px!important;padding:0 12px!important;font-size:13px!important}.memory-expand-button{color:var(--text-faint);background:0 0;margin-top:8px;font-size:12px}.memory-expand-button:hover{color:var(--text-main)}.settings-memory-footer .memory-expand-button{width:26px!important;height:22px!important;min-height:22px!important;color:var(--text-faint)!important;background:0 0!important;border-radius:7px!important;place-items:center!important;padding:0!important;font-size:13px!important;line-height:1!important;display:grid!important}.settings-memory-footer .memory-expand-button:hover{color:var(--text-main)!important;background:var(--bg-hover)!important}.settings-memory-footer{justify-content:space-between!important;align-items:center!important;width:100%!important;display:flex!important}.settings-memory-footer .memory-expand-button{opacity:1!important;flex:0 0 26px!important}.settings-memory-actions{margin-left:auto!important}.main{background:var(--bg-main)!important;flex-direction:column!important;min-width:0!important;min-height:0!important;display:flex!important;position:relative!important;overflow:hidden!important}.topbar{flex:none!important}.chat-scroll{scrollbar-width:thin!important;scrollbar-color:var(--border) transparent!important;flex:auto!important;min-height:0!important;overflow:hidden auto!important}.chat-thread{box-sizing:border-box!important;width:min(720px,100% - 72px)!important;max-width:720px!important;min-height:100%!important;margin:0 auto!important;padding:34px 0 36px!important}.chat-message{box-sizing:border-box!important;width:100%!important;margin:0 0 24px!important}.chat-user-bubble{max-width:85%!important;color:var(--text-main)!important;background:var(--user-bubble)!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;border-radius:18px 18px 6px!important;padding:9px 16px!important;font-size:15px!important;line-height:1.72!important}.chat-message-assistant .prose-sora{color:var(--text-main)!important;overflow-wrap:anywhere!important;font-size:15px!important;line-height:1.85!important}.chat-loading{width:100%!important;color:var(--text-faint)!important;font-size:14px!important}.composer-wrap{box-sizing:border-box!important;background:var(--bg-main)!important;flex:none!important;width:100%!important;padding:0 24px 18px!important}.composer{border:1px solid var(--border)!important;box-sizing:border-box!important;background:var(--bg-panel)!important;border-radius:18px!important;width:min(748px,100%)!important;max-width:748px!important;min-height:84px!important;margin:0 auto!important;overflow:hidden!important;box-shadow:0 18px 42px #2c2b2814!important}.composer textarea{resize:none!important;width:100%!important;min-height:34px!important;max-height:88px!important;color:var(--text-main)!important;background:0 0!important;border:0!important;outline:0!important;padding:14px 26px 0!important;font-size:16px!important;line-height:1.4!important;display:block!important}.composer-actions{background:0 0!important;border-top:0!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;min-height:34px!important;padding:0 14px 10px 22px!important;display:flex!important}.composer-left,.composer-right{align-items:center!important;gap:10px!important;display:flex!important}.composer-left span{color:var(--text-faint)!important;font-size:12px!important}@media (width<=920px){.chat-thread{width:calc(100% - 32px)!important}.composer-wrap{padding-inline:16px!important}.composer{width:100%!important}}.chat-message-user{justify-content:flex-end!important;display:flex!important}.chat-message-user .chat-user-bubble{width:fit-content!important;max-width:85%!important;color:var(--text-main)!important;background:var(--user-bubble)!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;border-radius:18px 18px 6px!important;padding:9px 16px!important;font-size:15px!important;line-height:1.72!important;display:inline-block!important}.composer-wrap{position:relative!important}.composer-wrap:before{content:""!important;z-index:0!important;pointer-events:none!important;background:linear-gradient(#fafaf800,#fafaf8b8 58%,#fafaf8 100%)!important;height:92px!important;position:absolute!important;top:-72px!important;left:0!important;right:0!important}.chat-message.chat-message-user{justify-content:flex-end!important;width:100%!important;display:flex!important}.chat-message.chat-message-user>.chat-user-bubble{color:#2c2b28!important;white-space:pre-wrap!important;background-color:#efefec!important;border-radius:18px 6px 18px 18px!important;width:fit-content!important;max-width:85%!important;padding:9px 16px!important;line-height:1.72!important;display:inline-block!important;box-shadow:inset 0 1px #ffffffbf!important}.composer{min-height:74px!important}.composer textarea{min-height:28px!important;padding-top:10px!important}.composer-actions{min-height:30px!important;padding-bottom:8px!important}.send-button{border-radius:11px!important;width:34px!important;height:34px!important}.chat-scroll{scrollbar-width:thin!important;scrollbar-color:var(--border) transparent!important}.chat-scroll::-webkit-scrollbar{width:6px!important;height:6px!important}.chat-scroll::-webkit-scrollbar-track{background:0 0!important}.chat-scroll::-webkit-scrollbar-thumb{background:var(--border)!important;border-radius:3px!important}.chat-scroll::-webkit-scrollbar-thumb:hover{background:var(--text-faint)!important}.sidebar{background:linear-gradient(180deg, #ffffff6b, #f3f3f0db), var(--bg-sidebar)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:var(--bg-sidebar)!important;box-shadow:12px 0 32px #2c2b280a,inset -1px 0 #e8e7e3b8!important}.conversation-toggle,.project-picker,.model-picker{-webkit-backdrop-filter:blur(10px)saturate(1.03)!important;backdrop-filter:blur(10px)saturate(1.03)!important;background:linear-gradient(#f3f3f0fa,#ebeae5f5)!important;border-color:#dad8d1f2!important;box-shadow:0 8px 20px #2c2b280b,inset 0 1px #ffffffb8!important}.conversation-toggle:hover,.project-picker:hover,.model-picker:hover{background:linear-gradient(#eeede8,#e5e4dffa)!important;border-color:#ceccc5fa!important}.sidebar{background:var(--bg-sidebar)!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.conversation-toggle,.project-picker,.model-picker{border-color:var(--border)!important;background:var(--bg-panel)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}.conversation-toggle:hover,.project-picker:hover,.model-picker:hover{background:var(--bg-hover)!important;border-color:var(--border)!important;box-shadow:none!important}.composer-wrap{background:var(--bg-main)!important}.composer-wrap:before,.composer-wrap:after{content:none!important;display:none!important}.composer-left,.composer-actions,.tool-menu-wrap{background:0 0!important}.topbar .conversation-toggle,.topbar .project-picker,.topbar .model-picker{background:var(--bg-sidebar)!important;background-color:var(--bg-sidebar)!important;border-color:var(--border)!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;background-image:none!important}.topbar .conversation-toggle:hover,.topbar .project-picker:hover,.topbar .model-picker:hover{background:#ecebe6!important}.topbar .conversation-toggle,.topbar .project-picker,.topbar .model-picker{box-shadow:0 5px 14px #2c2b2809,inset 0 1px #ffffff9e!important}.topbar .conversation-toggle:hover,.topbar .project-picker:hover,.topbar .model-picker:hover{box-shadow:0 6px 16px #2c2b280b,inset 0 1px #ffffffad!important}.topbar .conversation-toggle,.topbar .project-picker,.topbar .model-picker{background:var(--bg-panel)!important;background-color:var(--bg-panel)!important;border-color:var(--border)!important;-webkit-backdrop-filter:none!important;background-image:none!important;box-shadow:0 5px 14px #2c2b2808,inset 0 1px #ffffffb3!important}.topbar .conversation-toggle:hover,.topbar .project-picker:hover,.topbar .model-picker:hover{background:#f7f7f4!important;box-shadow:0 6px 16px #2c2b280a,inset 0 1px #ffffffc2!important}.composer-wrap{background:var(--bg-main)!important;position:relative!important;overflow:visible!important}.composer-wrap:before{content:""!important;z-index:0!important;pointer-events:none!important;background:linear-gradient(#fafaf800,#fafaf86b 54%,#fafaf8db 100%)!important;height:54px!important;display:block!important;position:absolute!important;top:-38px!important;left:0!important;right:0!important}.composer{z-index:1!important;position:relative!important}.settings-memory-scope-head{grid-template-columns:auto auto auto minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;min-height:38px!important;padding:0 2px!important;display:grid!important}.settings-memory-scope-head strong{white-space:nowrap!important;min-width:0!important;font-size:18px!important;font-weight:500!important}.settings-memory-scope-head em{min-width:24px!important;color:var(--text-faint)!important;background:var(--bg-hover)!important;text-align:center!important;border-radius:999px!important;justify-self:start!important;padding:2px 7px!important;font-size:11px!important;font-style:normal!important}.settings-memory-scope-head .memory-back-button{-webkit-backdrop-filter:none!important;background:0 0!important;grid-column:5!important;justify-self:end!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0 10px!important;position:static!important}.memory-settings-page:has(.settings-memory-scope-head .memory-back-button){padding-bottom:0!important;overflow-y:auto!important}.memory-settings-page:has(.settings-memory-scope-head .memory-back-button) .settings-panel-stack{height:auto!important;max-height:none!important;display:block!important}.memory-settings-page:has(.settings-memory-scope-head .memory-back-button) .settings-memory-scope-page{grid-template-rows:auto auto!important;gap:10px!important;height:auto!important;max-height:none!important;display:grid!important;overflow:visible!important}.memory-settings-page:has(.settings-memory-scope-head .memory-back-button) .settings-memory-items{max-height:none!important;overflow:visible!important}.project-settings-head{justify-content:space-between!important}.project-settings-title{gap:0!important}.project-subtabs{gap:38px!important}.project-back-inline{height:28px!important;min-height:28px!important;color:var(--text-muted)!important;box-shadow:none!important;background:0 0!important;border:0!important;padding:0 8px!important}.project-back-inline:hover{color:var(--text-main)!important;background:0 0!important}.project-settings-footer{border-top:0!important;justify-content:flex-end!important}.project-settings-footer>span{display:none!important}.project-footer-actions{align-items:center!important;gap:12px!important;display:flex!important}.project-footer-actions .project-delete-button{min-width:62px!important;height:28px!important;min-height:28px!important;color:var(--accent)!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:8px!important;padding:0 12px!important;font-size:13px!important}.project-footer-actions .project-delete-button:hover{color:var(--accent-hover)!important;background:#d9775714!important}.project-footer-actions .primary-button{border-radius:8px!important;min-width:62px!important;height:28px!important;min-height:28px!important;padding:0 12px!important;font-size:13px!important}.settings-memory-scope-page .memory-create-card{margin:4px 0 12px!important}.settings-memory-scope-page .settings-memory-items{margin-top:0!important}.composer{box-shadow:0 5px 14px #2c2b2808,inset 0 1px #ffffffb3!important}.composer:hover,.composer:focus-within{box-shadow:0 6px 16px #2c2b280a,inset 0 1px #ffffffc2!important}.composer textarea{padding-top:18px!important}.send-button{color:#fff!important;opacity:1!important;cursor:default!important;background:#ead8d1!important}.send-button:disabled{color:#ffffffd1!important;opacity:1!important;cursor:default!important;background:#ead8d1!important}.send-button:not(:disabled){color:#fff!important;background:var(--accent)!important;cursor:pointer!important;box-shadow:0 6px 16px #d977573d,inset 0 1px #ffffff52!important}.send-button:not(:disabled):hover{background:var(--accent-hover)!important}.top-new-chat-button{border:1px solid var(--border)!important;width:34px!important;height:34px!important;color:var(--text-muted)!important;background:var(--bg-panel)!important;border-radius:10px!important;place-items:center!important;display:grid!important;box-shadow:0 5px 14px #2c2b2808,inset 0 1px #ffffffb3!important}.top-new-chat-button:hover{color:var(--text-main)!important;background:#f7f7f4!important}.message-reasoning{border:1px solid var(--border);color:var(--text-muted);background:#fafaf8a3;border-radius:10px;margin:0 0 10px;font-size:13px}.message-reasoning summary{cursor:pointer;color:var(--text-muted);padding:8px 11px}.message-reasoning div{border-top:1px solid var(--border);white-space:pre-wrap;padding:9px 11px 11px;line-height:1.6}.message-reasoning{color:var(--text-faint)!important;background:0 0!important;border:0!important;border-radius:0!important;margin:0 0 12px!important;font-size:12px!important}.message-reasoning summary{cursor:pointer!important;width:fit-content!important;min-height:24px!important;color:var(--text-faint)!important;background:var(--bg-hover)!important;-webkit-user-select:none!important;user-select:none!important;border-radius:8px!important;align-items:center!important;gap:6px!important;padding:4px 8px!important;font-size:12px!important;line-height:1!important;list-style:none!important;display:inline-flex!important}.message-reasoning summary::-webkit-details-marker{display:none!important}.message-reasoning summary:before{content:"›";font-size:14px;line-height:1;transition:transform .18s;display:inline-block;transform:rotate(0)}.message-reasoning[open] summary:before{transform:rotate(90deg)}.message-reasoning div{border:0!important;border-left:2px solid var(--border)!important;color:var(--text-faint)!important;background:var(--bg-hover)!important;white-space:pre-wrap!important;border-radius:8px!important;margin-top:8px!important;padding:9px 12px!important;font-size:13px!important;line-height:1.65!important}.composer textarea{font-size:15px!important}.message-status{color:var(--text-faint)!important;margin-top:10px!important;font-size:12px!important}.message-status summary{cursor:pointer!important;width:fit-content!important;min-height:24px!important;color:var(--text-faint)!important;background:0 0!important;border-radius:8px!important;align-items:center!important;gap:6px!important;padding:4px 8px!important;font-size:12px!important;line-height:1!important;list-style:none!important;display:inline-flex!important}.message-status summary::-webkit-details-marker{display:none!important}.message-status summary:before{content:"›";font-size:14px;line-height:1;transition:transform .18s;display:inline-block;transform:rotate(0)}.message-status[open] summary:before{transform:rotate(90deg)}.message-status-body{border-left:2px solid var(--border)!important;color:var(--text-muted)!important;gap:10px!important;margin-top:8px!important;padding:2px 0 2px 12px!important;display:grid!important}.message-status-body section{gap:6px!important;display:grid!important}.message-status-body strong{color:var(--text-muted)!important;font-size:12px!important;font-weight:500!important}.message-status-body p{color:var(--text-faint)!important;margin:0!important;font-size:12px!important;line-height:1.55!important}.message-status-body span{color:var(--text-muted)!important;background:var(--bg-hover)!important;border-radius:999px!important;margin-right:7px!important;padding:1px 6px!important;font-size:11px!important}.message-disclosure-row{flex-wrap:wrap!important;align-items:flex-start!important;gap:8px!important;margin:0 0 12px!important;display:flex!important}.message-disclosure-row .message-status,.message-disclosure-row .message-reasoning{margin:0!important}.message-disclosure-row .message-status[open],.message-disclosure-row .message-reasoning[open]{flex-basis:100%!important}.message-disclosure-row .message-status{order:1!important}.message-disclosure-row .message-reasoning{order:2!important}.message-disclosure-row .message-status[open]{order:3!important}.message-disclosure-row .message-reasoning[open]{order:4!important}.message-disclosure-row .message-status:not([open]),.message-disclosure-row .message-reasoning:not([open]){flex-basis:auto!important}.message-source-counts{flex-wrap:wrap!important;gap:6px!important;margin-bottom:2px!important;display:flex!important}.message-source-counts span{margin-right:0!important}.typing-indicator{align-items:center!important;gap:5px!important;padding:8px 0!important;display:flex!important}.typing-indicator span{animation:1.15s ease-in-out infinite sora-typing-dot;background:var(--text-faint)!important;opacity:.38!important;border-radius:999px!important;width:6px!important;height:6px!important}.typing-indicator span:nth-child(2){animation-delay:.16s}.typing-indicator span:nth-child(3){animation-delay:.32s}@keyframes sora-typing-dot{0%,80%,to{opacity:.28;transform:translateY(0)}40%{opacity:.72;transform:translateY(-3px)}}.typing-indicator span{background:var(--accent)!important}.tool-menu button{justify-content:flex-start!important}.tool-menu button span{color:var(--text-faint)!important;margin-left:auto!important;font-size:11px!important}.tool-menu button.active{color:var(--text-main)!important;background:var(--bg-hover)!important}.tool-menu button.active svg,.tool-menu button.active span{color:var(--accent)!important}.tool-menu{z-index:80!important;min-width:218px!important;max-width:240px!important;bottom:52px!important;left:-10px!important}.tool-menu button{grid-template-columns:18px minmax(0,1fr) auto!important;align-items:center!important;column-gap:8px!important;width:100%!important;min-height:34px!important;display:grid!important}.tool-menu button span{justify-self:end!important;margin-left:10px!important}.composer-wrap,.composer,.composer-actions,.composer-left,.tool-menu-wrap{overflow:visible!important}.tool-menu{z-index:999!important;position:absolute!important;bottom:46px!important;left:-12px!important;transform:translateY(-6px)!important}.tool-menu-wrap{position:relative!important;overflow:visible!important}.tool-menu{z-index:1200!important;width:228px!important;min-width:228px!important;max-width:228px!important;position:absolute!important;bottom:calc(100% + 10px)!important;left:0!important;overflow:visible!important;transform:none!important}.composer-wrap,.composer,.composer-actions,.composer-left{overflow:visible!important}.composer-attachments{flex-wrap:wrap!important;gap:6px!important;max-height:58px!important;padding:0 18px 8px 22px!important;display:flex!important;overflow-y:auto!important}.composer-attachment-chip{border:1px solid var(--border)!important;background:var(--bg-sidebar)!important;max-width:220px!important;min-height:24px!important;color:var(--text-muted)!important;border-radius:999px!important;align-items:center!important;gap:6px!important;padding:3px 6px 3px 8px!important;font-size:12px!important;display:inline-flex!important}.composer-attachment-chip>span{text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;overflow:hidden!important}.composer-attachment-chip button{width:18px!important;height:18px!important;color:var(--text-faint)!important;cursor:pointer!important;background:0 0!important;border:0!important;border-radius:999px!important;justify-content:center!important;align-items:center!important;padding:0!important;display:inline-flex!important}.composer-attachment-chip button:hover{color:var(--text-main)!important;background:var(--bg-hover)!important}.chat-message-user{flex-direction:column!important;align-items:flex-end!important}.message-attachment-row{flex-wrap:wrap!important;justify-content:flex-end!important;gap:6px!important;max-width:85%!important;margin:0 0 6px auto!important;display:flex!important}.message-attachment-chip{border:1px solid var(--border)!important;background:var(--bg-sidebar)!important;max-width:260px!important;min-height:24px!important;color:var(--text-muted)!important;border-radius:999px!important;align-items:center!important;gap:6px!important;padding:3px 8px!important;font-size:12px!important;display:inline-flex!important}.message-attachment-chip>span{text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;overflow:hidden!important}.message-attachment-chip em{color:var(--text-faint)!important;white-space:nowrap!important;font-style:normal!important}.model-picker>svg:first-child,.model-picker>svg:last-child{flex:none!important}.model-picker{overflow:hidden!important}.model-picker>svg:first-child+*{text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;overflow:hidden!important}.model-picker{white-space:nowrap!important;align-items:center!important;gap:8px!important;width:188px!important;min-width:188px!important;max-width:188px!important;display:inline-flex!important}.model-picker-label{text-overflow:ellipsis!important;white-space:nowrap!important;flex:auto!important;min-width:0!important;display:block!important;overflow:hidden!important}.message-attachment-chip button{width:18px!important;height:18px!important;color:var(--text-faint)!important;cursor:pointer!important;background:0 0!important;border:0!important;border-radius:999px!important;justify-content:center!important;align-items:center!important;padding:0!important;display:inline-flex!important}.message-attachment-chip button:hover{color:var(--text-main)!important;background:var(--bg-hover)!important}.composer-attachments{display:none!important}.composer-pending-attachments{flex-wrap:wrap!important;gap:6px!important;max-height:44px!important;padding:0 18px 8px 22px!important;display:flex!important;overflow-y:auto!important}.composer-pending-attachments .composer-attachment-chip{display:inline-flex!important}.message-actions{align-items:center!important;gap:8px!important;margin-top:8px!important;display:flex!important}.message-actions button{border:1px solid var(--border)!important;background:var(--bg-panel)!important;height:26px!important;color:var(--text-muted)!important;cursor:pointer!important;border-radius:8px!important;padding:0 9px!important;font-size:12px!important}.message-actions button:hover:not(:disabled){color:var(--text-main)!important;background:var(--bg-hover)!important}.message-actions button:disabled{opacity:.45!important;cursor:default!important}.message-actions{gap:4px!important;margin-top:6px!important}.message-actions button{width:28px!important;height:28px!important;color:var(--text-faint)!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;padding:0!important;display:inline-flex!important}.message-actions button:hover:not(:disabled){background:var(--bg-hover)!important;color:var(--text-main)!important}.message-actions button:disabled{opacity:.42!important}.message-actions button.copied{color:var(--accent)!important;background:var(--bg-hover)!important}.message-actions button svg{transition:transform .14s,opacity .14s!important}.message-actions button.copied svg{transform:scale(1.08)!important}.message-actions{gap:12px!important}.send-button.stop{background:var(--bg-hover)!important;color:#fff!important;background:var(--accent)!important}.send-button.stop:hover{color:#fff!important;background:#b85f38!important}.user-message-actions{justify-content:flex-end!important;max-width:85%!important;margin:5px 0 0 auto!important;display:flex!important}.user-message-actions button{width:26px!important;height:26px!important;color:var(--text-faint)!important;cursor:pointer!important;background:0 0!important;border:0!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;padding:0!important;display:inline-flex!important}.user-message-actions button:hover:not(:disabled){color:var(--text-main)!important;background:var(--bg-hover)!important}.user-edit-box{width:min(680px,85%)!important;margin-left:auto!important}.user-edit-box textarea{resize:vertical!important;border:1px solid var(--border)!important;width:100%!important;min-height:96px!important;color:var(--text-main)!important;background:var(--bg-panel)!important;font:inherit!important;border-radius:12px!important;outline:none!important;padding:10px 12px!important;line-height:1.6!important}.user-edit-actions{justify-content:flex-end!important;gap:8px!important;margin-top:8px!important;display:flex!important}.user-edit-actions button{border:1px solid var(--border)!important;background:var(--bg-panel)!important;min-height:30px!important;color:var(--text-muted)!important;cursor:pointer!important;border-radius:8px!important;padding:0 12px!important}.user-edit-actions button:hover:not(:disabled){background:var(--bg-hover)!important;color:var(--text-main)!important}.user-message-line .chat-user-bubble{max-width:85%!important}.user-message-line .user-message-actions{opacity:0!important;justify-content:center!important;align-items:center!important;max-width:none!important;margin:2px 0 0!important;transition:opacity .12s!important;display:inline-flex!important}.chat-message.chat-message-user .user-message-line>.chat-user-bubble{color:#2c2b28!important;white-space:pre-wrap!important;background-color:#efefec!important;border-radius:18px 18px 6px!important;width:fit-content!important;max-width:85%!important;padding:9px 16px!important;font-size:15px!important;line-height:1.72!important;display:inline-block!important;box-shadow:inset 0 1px #ffffffbf!important}.user-message-line{justify-content:flex-end!important;align-items:center!important;gap:8px!important;width:100%!important;display:flex!important}.user-message-line .user-message-actions{opacity:0!important;flex:0 0 28px!important;order:0!important;width:28px!important;height:28px!important;margin:0!important}.user-message-line .chat-user-bubble{order:1!important}.chat-message-user:hover .user-message-line .user-message-actions,.user-message-line .user-message-actions:focus-within{opacity:1!important}.user-message-line .user-message-actions button{width:28px!important;height:28px!important;color:var(--text-muted)!important;background:0 0!important;border-radius:8px!important}.user-message-line .user-message-actions button:hover:not(:disabled){background:var(--bg-hover)!important;color:var(--text-main)!important}.chat-message.chat-message-user .user-message-line>.chat-user-bubble{border-radius:18px 6px 18px 18px!important}.user-message-line .user-message-actions button{color:#77736b!important}.user-message-line .user-message-actions button:hover:not(:disabled){color:#2c2b28!important;background:#e9e8e3!important}.chat-message-user .user-message-line{justify-content:flex-end!important;align-items:flex-start!important;gap:6px!important;max-width:85%!important;margin-left:auto!important;display:flex!important}.chat-message-user .user-message-line>.chat-user-bubble{background:var(--user-bubble)!important;max-width:100%!important;color:var(--text-main)!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;border-radius:18px 6px 18px 18px!important;padding:10px 16px!important;font-size:15px!important;line-height:1.72!important}.chat-message-user .user-message-actions{opacity:0!important;order:0!important;align-items:flex-start!important;padding-top:4px!important;transition:opacity .15s!important;display:flex!important}.chat-message-user:hover .user-message-actions,.chat-message-user .user-message-actions:focus-within{opacity:.72!important}.chat-message-user .user-message-actions:hover{opacity:1!important}.chat-message-user .user-message-actions button{width:28px!important;height:28px!important;color:var(--text-muted)!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;padding:0!important;display:inline-flex!important}.chat-message-user .user-message-actions button:hover:not(:disabled){color:var(--text-main)!important;background:var(--bg-hover)!important}.chat-message-user .user-edit-box{border:1px solid var(--accent)!important;background:var(--bg-panel)!important;border-radius:14px!important;flex-direction:column!important;width:min(90%,760px)!important;margin-left:auto!important;padding:8px 10px!important;display:flex!important;box-shadow:0 0 0 3px #d9775714!important}.chat-message-user .user-edit-scroll{scrollbar-gutter:stable!important;max-height:122px!important;padding-right:8px!important;overflow-y:auto!important}.chat-message-user .user-edit-scroll textarea,.chat-message-user .user-edit-box textarea{resize:none!important;width:100%!important;height:auto!important;min-height:calc(2.9em + 14px)!important;max-height:none!important;color:var(--text-main)!important;box-shadow:none!important;scrollbar-gutter:auto!important;background:0 0!important;border:0!important;outline:0!important;padding:7px 10px!important;font-size:15px!important;line-height:1.45!important;display:block!important;overflow:visible!important}.chat-message-user .user-edit-scroll::-webkit-scrollbar{width:8px!important}.chat-message-user .user-edit-scroll::-webkit-scrollbar-track{background:0 0!important;margin:2px 0!important}.chat-message-user .user-edit-scroll::-webkit-scrollbar-thumb{background:#9a978c59 padding-box padding-box!important;border:2px solid #0000!important;border-radius:999px!important;min-height:40px!important}.chat-message-user .user-edit-scroll::-webkit-scrollbar-thumb:hover{background:#9a978c8c padding-box padding-box!important;border:2px solid #0000!important}.chat-message-user .user-edit-box textarea::-webkit-scrollbar{width:0!important;height:0!important}.chat-message-user .user-edit-actions{border-top:1px solid var(--border)!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;min-height:32px!important;margin-top:7px!important;padding-top:7px!important;display:flex!important}.chat-message-user .user-edit-actions:before{content:"Save to regenerate response"!important;color:var(--text-faint)!important;margin-right:auto!important;font-size:11px!important;line-height:1!important;display:block!important}.chat-message-user .user-edit-actions:has(.user-edit-attachments):before{content:none!important;display:none!important}.chat-message-user .user-edit-actions button{cursor:pointer!important;min-height:28px!important;color:var(--text-main)!important;background:0 0!important;border:0!important;border-radius:6px!important;padding:4px 12px!important;font-size:12px!important;line-height:1.2!important}.chat-message-user .user-edit-actions button:hover:not(:disabled){background:var(--bg-hover)!important}.chat-message-user .user-edit-actions>button:last-child{color:#fff!important;background:var(--accent)!important}.chat-message-user .user-edit-actions>button:last-child:hover:not(:disabled){background:var(--accent-hover)!important}.chat-message-user .user-edit-attachments{flex-wrap:wrap!important;gap:6px!important;max-width:min(52%,360px)!important;margin:0 auto 0 0!important;display:flex!important;overflow:hidden!important}.chat-message-user .user-edit-actions .message-attachment-chip{max-width:100%!important}.chat-message-user .user-edit-actions .message-attachment-chip button,.chat-message-user .user-edit-actions .message-attachment-chip button:last-child{width:20px!important;height:20px!important;min-height:20px!important;color:var(--text-faint)!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:999px!important;padding:0!important}.chat-message-user .user-edit-actions .message-attachment-chip button:hover,.chat-message-user .user-edit-actions .message-attachment-chip button:last-child:hover{color:var(--text-main)!important;background:var(--bg-hover)!important}.chat-message-assistant .message-actions{opacity:0!important;pointer-events:none!important;align-items:center!important;gap:12px!important;margin-top:6px!important;transition:opacity .14s,transform .14s!important;display:flex!important;transform:translateY(-2px)!important}.chat-message-assistant:hover .message-actions,.chat-message-assistant .message-actions:focus-within{opacity:1!important;pointer-events:auto!important;transform:translateY(0)!important}.chat-message-assistant .message-actions button{width:auto!important;min-width:0!important;height:28px!important;color:var(--text-faint)!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;gap:5px!important;padding:0 8px!important;font-size:12px!important;line-height:1!important;display:inline-flex!important}.chat-message-assistant .message-actions button span{font-size:12px!important;line-height:1!important;display:inline-block!important;position:relative!important;top:-1px!important}.chat-message-assistant .message-actions button:hover:not(:disabled){background:var(--bg-hover)!important;color:var(--text-main)!important}.chat-message-assistant .message-actions button.copied{color:var(--accent)!important;background:var(--bg-hover)!important}.composer{transition:border-color .15s,box-shadow .15s,background-color .15s!important}.composer:focus-within{border-color:var(--accent)!important;box-shadow:0 0 0 3px #d977571f!important}.settings-page{padding-bottom:96px}.settings-action-bar{z-index:5}.settings-content:has(.settings-action-bar){padding:24px 28px 0!important;overflow:hidden!important}.settings-content:has(.settings-action-bar)>.settings-page{grid-template-rows:auto minmax(0,1fr) 58px!important;gap:0!important;height:min(620px,100vh - 72px)!important;max-height:min(620px,100vh - 72px)!important;padding-bottom:0!important;display:grid!important;overflow:hidden!important}.settings-content:has(.settings-action-bar) .settings-page-head{grid-row:1!important;padding-bottom:12px!important}.settings-content:has(.settings-action-bar) .settings-field-grid{grid-row:2!important;min-height:0!important;padding-bottom:18px!important;padding-right:4px!important;overflow-y:auto!important}.settings-content:has(.settings-action-bar) .settings-action-bar{background:var(--bg-panel)!important;box-sizing:border-box!important;z-index:6!important;border-top:1px solid #e8e7e3d9!important;grid-row:3!important;justify-content:space-between!important;align-items:center!important;height:58px!important;min-height:58px!important;max-height:58px!important;margin:0 -28px!important;padding:0 28px!important;display:flex!important;position:static!important}.settings-content:has(.settings-action-bar) .settings-field-grid::-webkit-scrollbar{width:6px}.settings-content:has(.settings-action-bar) .settings-field-grid::-webkit-scrollbar-track{background:0 0}.settings-content:has(.settings-action-bar) .settings-field-grid::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.settings-content:has(.settings-action-bar)>.settings-page{grid-template-rows:auto minmax(0,1fr) 48px!important;height:min(560px,100vh - 128px)!important;max-height:min(560px,100vh - 128px)!important}.settings-content:has(.settings-action-bar) .settings-action-bar{align-items:center!important;height:48px!important;min-height:48px!important;max-height:48px!important;padding:0 28px 6px!important}.settings-content:has(.settings-action-bar){box-sizing:border-box!important;height:min(620px,100vh - 72px)!important;max-height:min(620px,100vh - 72px)!important;padding:24px 28px 0!important;overflow:hidden!important}.settings-content:has(.settings-action-bar)>.settings-page{box-sizing:border-box!important;grid-template-rows:auto minmax(0,1fr) 50px!important;gap:0!important;height:100%!important;max-height:100%!important;padding-bottom:0!important;display:grid!important;overflow:hidden!important}.settings-content:has(.settings-action-bar) .settings-field-grid{min-height:0!important;padding-bottom:16px!important;padding-right:4px!important;overflow-y:auto!important}.settings-content:has(.settings-action-bar) .settings-action-bar{background:var(--bg-panel)!important;box-sizing:border-box!important;border-top:1px solid #e8e7e3d9!important;justify-content:space-between!important;align-items:center!important;height:50px!important;min-height:50px!important;max-height:50px!important;margin:0 -28px!important;padding:0 28px!important;display:flex!important;position:static!important;bottom:auto!important;transform:none!important}.settings-content:has(.settings-action-bar) .settings-action-bar .primary-button{height:34px!important;min-height:34px!important}.settings-content:has(.settings-action-bar) .settings-action-bar .settings-danger{height:30px!important;min-height:30px!important}.model-picker-wrap{position:relative!important}.model-menu{width:220px!important;min-width:220px!important;max-width:220px!important;overflow-x:hidden!important}.model-menu button{width:100%!important;min-width:0!important;overflow:hidden!important}.model-menu button span,.model-menu button em{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;display:block!important;overflow:hidden!important}.model-menu button em{color:var(--text-faint)!important}.model-menu .new-model-button em{white-space:normal!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;display:-webkit-box!important}.model-picker{width:220px!important;max-width:220px!important}.model-picker-label{text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;overflow:hidden!important}.model-picker{width:fit-content!important;min-width:132px!important;max-width:220px!important}.model-picker-label{text-overflow:ellipsis!important;white-space:nowrap!important;flex:0 auto!important;min-width:0!important;max-width:150px!important;overflow:hidden!important}.settings-action-bar>span{display:block!important}.model-picker{gap:8px!important;width:auto!important;min-width:0!important;max-width:220px!important;padding-left:12px!important;padding-right:10px!important}.model-picker-label{flex:0 auto!important;width:auto!important;min-width:0!important;max-width:150px!important}.model-picker svg{flex:none!important}.diary-toast{color:#a85232;white-space:normal;background:#d66c4017;border:1px solid #d66c4047;border-radius:8px;width:fit-content;max-width:min(420px,100%);margin-top:8px;padding:7px 10px;font-size:13px;line-height:1.3}.diary-toast-row{justify-content:flex-end;width:100%;display:flex}.diary-delete-text-button{color:#d46d4c;cursor:pointer;background:0 0;border:0;padding:6px 8px;font-size:13px;line-height:1.2}.diary-delete-text-button:hover:not(:disabled){color:#b9563b}.diary-delete-text-button:disabled{cursor:not-allowed;opacity:.45}.chat-loading-center{text-align:center!important;justify-content:center!important;align-items:center!important;height:100%!important;min-height:200px!important;display:flex!important}.scroll-to-bottom-btn{background:var(--bg-main)!important;border:1px solid var(--border)!important;width:36px!important;height:36px!important;color:var(--text-faint)!important;cursor:pointer!important;z-index:10!important;border-radius:50%!important;justify-content:center!important;align-items:center!important;transition:box-shadow .15s,color .15s!important;display:flex!important;position:absolute!important;bottom:145px!important;left:50%!important;transform:translate(-50%)!important;box-shadow:0 2px 8px #0000001f!important}.scroll-to-bottom-btn:hover{color:var(--text-main)!important;box-shadow:0 4px 16px #0000002e!important}
