:root{color-scheme:dark;--bg:#141517;--side:#0e0f11;--panel:#202124;--line:#2c2d31;--text:#ececef;--muted:#919299;--gold:#d5b778;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 var(--font)}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit;border:0;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button:disabled{opacity:.42;cursor:wait}svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;display:block}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.beta{color:var(--gold);border:1px solid #4c4230;border-radius:5px;padding:1px 6px;font-size:10px;font-weight:500;letter-spacing:.1px}.muted{color:var(--muted)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
#appShell{display:flex;height:100dvh;overflow:hidden}#sidebar{width:248px;flex-shrink:0;background:var(--side);border-right:1px solid #222326;display:flex;flex-direction:column;padding:24px 14px 14px;position:relative;z-index:20}.sidebar-brand{display:flex;align-items:center;gap:8px;padding:0 8px;margin-bottom:29px;font-size:17px;font-weight:550;letter-spacing:-.45px}.sidebar-brand img{width:36px;height:36px}.sidebar-brand .beta{margin-left:2px;letter-spacing:0}.new-chat{display:flex;align-items:center;gap:11px;width:100%;border:1px solid #414036;background:#22221e;border-radius:9px;padding:11px 12px;color:#e3d0a7;font-size:13px;text-align:left}.new-chat:hover{background:#2c2b24}.shortcut{margin-left:auto;color:#a69674;font-size:16px}.nav-link{display:flex;align-items:center;gap:11px;padding:14px 12px;color:#aaabb2;font-size:13px}.nav-link:hover{color:var(--text)}.arrow{margin-left:auto;color:#64656c}.history-heading{font-size:10px;letter-spacing:1.3px;color:#72747c;padding:27px 12px 11px}#history{flex:1;overflow:auto;min-height:0}.history-empty{font-size:12px;color:#60626a;padding:0 12px;line-height:1.6}.history-item{display:flex;align-items:center;gap:9px;width:100%;padding:10px 12px;text-align:left;border-radius:7px;margin-bottom:3px;color:#a4a5ad;font-size:12px}.history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item svg{width:15px;height:15px;color:#7e807e;flex-shrink:0}.history-item:hover,.history-item.active{background:#242528;color:#e7e6e2}.sidebar-bottom{border-top:1px solid #25262a;padding-top:10px;position:relative}.session-note{font-size:10px;color:#64666d;margin:2px 12px 13px}.account{display:flex;align-items:center;text-align:left;width:100%;gap:9px;border-radius:8px;padding:9px 8px}.account:hover{background:#202124}.avatar{width:33px;height:33px;border:1px solid #68583c;background:#322d23;color:#ddc795;border-radius:50%;display:grid;place-items:center;font-size:12px}.account-text{flex:1;display:flex;flex-direction:column}.account-text strong{font-size:12px;font-weight:500}.account-text small{font-size:10px;color:#73757d}.account>[data-icon]{color:#7e8088}.account-menu{position:absolute;left:0;right:0;bottom:71px;border:1px solid #34363a;border-radius:10px;padding:6px;background:#242528;box-shadow:0 12px 35px #0005}.account-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border-radius:6px;text-align:left;font-size:12px}.account-menu button:hover{background:#323337}
.workspace{flex:1;min-width:0;display:flex;flex-direction:column;height:100%;position:relative}.topbar{height:72px;flex-shrink:0;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.topbar-left,.topbar-right{display:flex;align-items:center;gap:15px}.topbar-title{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:500}.topbar-title .beta{display:none}.icon-button{display:grid;place-items:center;width:34px;height:34px;color:#9e9fa5;border-radius:7px}.icon-button:hover{background:#242529;color:#e5e6e9}.read-only{display:flex;align-items:center;gap:6px;color:#81848a;font-size:10px}.read-only i{width:5px;height:5px;border-radius:50%;background:#8b9b81}.thread{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;padding:0 28px}.feed{width:100%;overflow-y:auto;min-height:0;flex:1}.welcome{text-align:center;margin:clamp(38px,11vh,135px) auto 0}.hero-icon{display:inline-grid;place-items:center;width:85px;height:85px;margin-bottom:10px}.hero-icon img{width:100%;height:100%;filter:drop-shadow(0 8px 14px #0005)}.greeting{font-size:15px;color:#b8a484;margin:10px 0 5px}.welcome h1{font-size:clamp(28px,3vw,35px);letter-spacing:-1.25px;line-height:1.3;font-weight:500;margin:0 0 13px}.welcome-description{color:#85878f;font-size:13px;margin:0}.composer-zone{width:100%;max-width:750px;flex-shrink:0;padding-bottom:15px}.thread:not(.has-messages) .feed{flex:0 1 auto;overflow:visible}.thread:not(.has-messages) .composer-zone{margin-top:35px}.composer{background:#242528;border:1px solid #3b3b3f;border-radius:19px;box-shadow:0 5px 24px #0002;padding:17px 18px 12px;transition:border-color .15s}.composer:focus-within{border-color:#736349}.composer textarea{width:100%;background:none;border:0;outline:0!important;resize:none;color:#eee;font-size:14px;line-height:1.6;min-height:30px;max-height:170px;overflow-y:auto;padding:0 1px;display:block}.composer textarea::placeholder{color:#8c8e96}.composer-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.composer-label{display:flex;align-items:center;gap:7px;color:#a7a8ae;font-size:11px}.mini-spark{font-size:16px;color:var(--gold)}.send-button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--gold);color:#242116}.send-button:hover{background:#e2c78f}.send-button svg{stroke-width:2.1;width:19px;height:19px}.suggestions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:19px}.suggestions button{display:flex;align-items:center;gap:7px;border:1px solid #333438;border-radius:8px;padding:8px 11px;color:#a7a8af;font-size:11px}.suggestions button svg{width:15px;height:15px;color:#ac9670}.suggestions button:hover{background:#232427;border-color:#5d503c;color:#e7d7b9}#status{color:#aaa092;text-align:center;min-height:17px;font-size:11px;margin:10px 0 0}.disclaimer{font-size:10px;color:#62656d;text-align:center;margin:5px 0 0}.messages{max-width:750px;width:100%;margin:0 auto;padding:14px 0 30px}.thread:not(.has-messages) .messages{display:none}.thread.has-messages .welcome,.thread.has-messages .suggestions{display:none}.thread.has-messages .composer-zone{padding-top:12px}.message{font-size:14px;line-height:1.8;overflow-wrap:anywhere;margin:0 0 28px;position:relative}.message-body{white-space:pre-wrap}.message.user{background:#292a2e;max-width:83%;width:fit-content;margin-left:auto;padding:11px 17px;border-radius:18px 18px 5px 18px;color:#eeeeef}.message.perfy{padding:3px 0 0 37px}.message.perfy>.answer-avatar{position:absolute;width:25px;height:25px;left:0;top:5px}.message.note{color:#b6a382;font-size:12px;text-align:center}.answer-actions{display:flex;align-items:center;gap:12px;margin-top:10px;color:#6f737b}.copy-answer{display:flex;align-items:center;gap:5px;font-size:10px;padding:3px 0;color:#8a8c93}.copy-answer svg{width:14px;height:14px}.copy-answer:hover{color:var(--gold)}.answer-time{font-size:10px;color:#62656b}.table-wrap{overflow:auto;max-width:100%;margin:15px 0;white-space:normal;border:1px solid #323438;border-radius:9px}table{border-collapse:collapse;font-size:12px;min-width:540px;width:100%}th,td{padding:10px 12px;text-align:left;border-bottom:1px solid #303236}th{color:#c5b18b;background:#202124;font-weight:500}td:last-child{text-align:right}tr:last-child td{border-bottom:0}.thinking{display:flex;align-items:center;gap:7px;color:#8b8d94;font-size:12px;padding:2px 0 20px 37px}.thinking i{width:5px;height:5px;background:#b6a07b;border-radius:50%;animation:pulse 1.3s infinite}.thinking i:nth-child(2){animation-delay:.15s}.thinking i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,80%,100%{opacity:.2}40%{opacity:1}}.backdrop{display:none}.sidebar-collapsed #sidebar{display:none}
.login-view{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:70px 24px}.back-link{position:absolute;top:27px;left:30px;color:#92949c;font-size:12px}.login-card{width:min(100%,360px);text-align:center}.login-icon{width:80px;height:80px}.app-name{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;margin-top:9px}.login-card h1{font-size:31px;font-weight:500;letter-spacing:-1px;line-height:1.3;margin:24px 0 14px}.login-card>.muted{font-size:12px}.login-card form{text-align:left;margin-top:29px}.login-card label{display:block;color:#b2b3ba;font-size:11px;margin:16px 0 7px}.login-card input{width:100%;background:#1f2023;border:1px solid #3a3b40;border-radius:9px;padding:12px 14px;color:#eee;font-size:13px}.login-card input::placeholder{color:#666972}.primary{display:flex;justify-content:space-between;align-items:center;width:100%;border-radius:9px;background:var(--gold);color:#211e17;padding:12px 15px;margin-top:23px;font-size:13px;font-weight:600}#loginError{color:#e3ab97;font-size:12px;min-height:18px}.login-note{font-size:10px;color:#73757d}.login-brand{font-size:9px;letter-spacing:2.3px;color:#62646c;margin-top:37px}
@media(max-width:760px){#sidebar{display:none;position:absolute;inset:0 auto 0 0;width:272px;box-shadow:20px 0 50px #0006}.sidebar-open #sidebar{display:flex}.sidebar-open .backdrop{display:block;position:fixed;inset:0;background:#0007;z-index:15}.topbar{height:61px;padding:0 14px}.topbar-left{gap:6px}.topbar-title{font-size:13px}.topbar-title .beta{display:inline}.topbar-right{gap:7px}.read-only{font-size:9px}.thread{padding:0 17px}.welcome{margin-top:clamp(36px,12vh,95px)}.hero-icon{width:69px;height:69px}.welcome h1{font-size:29px;letter-spacing:-1px}.welcome-description{font-size:11px;max-width:260px;margin:auto}.greeting{font-size:13px}.thread:not(.has-messages) .composer-zone{margin-top:29px}.composer{padding:14px 14px 10px;border-radius:17px}.composer textarea{font-size:16px}.composer-zone{padding-bottom:max(12px,env(safe-area-inset-bottom))}.suggestions{gap:6px;margin-top:15px}.suggestions button{font-size:10px;padding:7px 9px}.suggestions button svg{width:13px;height:13px}.disclaimer{font-size:9px;max-width:300px;margin:5px auto 0}.message{font-size:13px;line-height:1.85}.message.user{max-width:91%}.message.perfy{padding-left:29px}.message.perfy>.answer-avatar{width:21px;height:21px}.messages{padding-top:14px}.table-wrap table{font-size:11px}.login-view{padding:60px 24px}.login-card{max-width:350px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.tool-topics{overflow-y:auto;flex:0 1 auto;min-height:100px;padding-bottom:8px}.topic-button{display:block;width:100%;text-align:left;padding:8px 12px;border-radius:7px;font-size:12px;color:#a4a5ad}.topic-button:hover,.topic-button[aria-pressed="true"]{background:#242528;color:var(--gold)}#sidebar .history-heading{padding-top:15px}#history{min-height:65px;flex:1 1 90px}.context-detail{font-size:11px;color:var(--muted);margin:0 4px 10px;line-height:1.5}.thread:not(.has-messages) .welcome{margin-top:clamp(20px,8vh,90px)}@media(max-width:760px){.context-detail{font-size:10px}.thread:not(.has-messages) .welcome{margin-top:24px}.thread:not(.has-messages) .composer-zone{margin-top:20px}.hero-icon{width:58px;height:58px}.thread:not(.has-messages) .feed{overflow-y:auto;flex-shrink:1}}

.topic-group{margin-bottom:5px}.topic-group summary{cursor:pointer;font-size:12px;font-weight:550;color:#d2c5a8;padding:10px 8px;list-style:none;display:flex;align-items:center;justify-content:space-between;border-radius:7px}.topic-group summary::after{content:'⌄';color:#929299}.topic-group[open] summary::after{content:'⌃'}.topic-group summary:hover{background:#202124}.topic-group summary:focus-visible{outline:2px solid var(--gold)}.topic-group summary::-webkit-details-marker{display:none}.topic-group .topic-button{padding-left:19px;font-size:11px}.tool-topics{flex:0 1 auto;max-height:60dvh;min-height:120px}
