@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap";:root{color:#edf3ff;font-synthesis:none;text-rendering:optimizelegibility;background:#070b16;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 75% -10%,#30458b 0,#0000 31%),radial-gradient(circle at 15% 100%,#32145a 0,#0000 30%),#070b16;min-width:320px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;transition:transform .16s,filter .16s,box-shadow .16s}button:hover{filter:brightness(1.12);transform:translateY(-2px)}button:active{transform:translateY(1px)}.app-shell{min-height:100vh}.sidebar{z-index:5;background:linear-gradient(#111a32f2,#0b1122f2);border-right:1px solid #34466d;flex-direction:column;width:258px;padding:25px 16px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:12px 0 45px #0004}.brand{align-items:center;gap:12px;padding:0 10px 38px;display:flex}.brand b{letter-spacing:.5px;font:700 18px Space Grotesk}.brand small,.user-chip small{color:#91a0c0;margin-top:3px;font-size:11px;display:block}.brand-mark,.hero-icon{color:#fff;background:linear-gradient(145deg,#72a1ff,#8d43f4);border-radius:14px;place-items:center;width:42px;height:42px;display:grid;box-shadow:inset 0 2px 2px #fff8,0 8px #372a86,0 14px 28px #536dfe66}.nav-label{letter-spacing:1.5px;color:#7382a5;padding:0 12px 12px;font-size:10px}.nav-item{color:#aebbd7;text-align:left;background:0 0;border:1px solid #0000;border-radius:12px;align-items:center;gap:13px;margin:3px 0;padding:12px;display:flex}.nav-item:hover,.nav-item.active{color:#fff;background:linear-gradient(100deg,#263f76,#412b72);border-color:#6076bb;box-shadow:inset 0 1px #ffffff30,0 5px 12px #0003}.nav-item.active{box-shadow:inset 4px 0 #8ab5ff,0 5px 12px #0003}.side-bottom{margin-top:auto}.user-chip{border-top:1px solid #2a3b62;align-items:center;gap:10px;margin-bottom:8px;padding:15px 7px;display:flex;overflow:hidden}.user-chip b{font-size:12px}.user-chip small{text-overflow:ellipsis;max-width:155px;overflow:hidden}.avatar{background:linear-gradient(145deg,#ff7fc7,#6d7cff);border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid;box-shadow:inset 0 2px #fff8,0 4px #3c347b}.main{max-width:1600px;min-height:100vh;margin-left:258px;padding:0 42px 30px}.topbar{border-bottom:1px solid #263759;justify-content:space-between;align-items:center;height:94px;display:flex}.topbar small{color:#91a1c3;letter-spacing:1.5px;font-size:9px}.topbar h2{margin:3px 0;font:600 21px Space Grotesk}.top-right{color:#b8c5e0;font-size:12px}.online-dot{background:#57e0ae;border-radius:50%;width:8px;height:8px;margin-right:7px;display:inline-block;box-shadow:0 0 14px #57e0ae}.chat-layout{flex-direction:column;max-width:900px;min-height:calc(100vh - 145px);margin:0 auto;display:flex}.chat-intro{text-align:center;padding:48px 10px 24px}.hero-icon{border-radius:19px;width:58px;height:58px;margin:auto}.chat-intro h1{margin:19px 0 8px;font:700 clamp(26px,4vw,38px) Space Grotesk}.chat-intro h1 span{color:#0000;background:linear-gradient(90deg,#78a7ff,#e18aff);-webkit-background-clip:text;background-clip:text}.chat-intro p,.section-head p{color:#9aa9c7;font-size:13px;line-height:1.7}.suggestions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:20px;display:flex}.suggestions button{color:#d9e5ff;background:linear-gradient(145deg,#233b70,#382563);border:1px solid #6077b1;border-radius:13px;padding:10px 14px;font-size:11px;box-shadow:inset 0 1px #fff3,0 4px #191b49,0 8px 15px #0003}.chat-messages{flex:1;padding:10px 0 20px}.bubble{white-space:pre-wrap;border-radius:16px;max-width:78%;margin:12px 0;padding:14px 17px;font-size:13px;line-height:1.6;box-shadow:0 10px 25px #0002}.bubble b{color:#aebde0;font-size:10px}.bubble.user{background:linear-gradient(145deg,#405da3,#613b98);border:1px solid #7897e0;margin-left:auto;box-shadow:inset 0 1px #fff3,0 5px #292c64}.bubble.assistant{background:linear-gradient(145deg,#182842,#121a30);border:1px solid #344c78}.composer{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#121e36ef;border:1px solid #45618d;border-radius:17px;gap:10px;padding:10px;display:flex;position:sticky;bottom:10px;box-shadow:0 15px 40px #0007,inset 0 1px #fff2}.composer textarea{resize:vertical;color:#eef2fa;background:0 0;border:0;outline:0;flex:1;min-height:45px;max-height:150px;padding:8px}.send-btn{color:#fff;background:linear-gradient(145deg,#79a5ff,#7443e8);border:1px solid #aac7ff;border-radius:12px;align-self:flex-end;place-items:center;width:44px;height:44px;display:grid;box-shadow:inset 0 2px #fff6,0 5px #392389,0 9px 18px #4f47d866}.content{padding:34px 0}.section-head{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.section-head h1{margin:0;font:600 25px Space Grotesk}.count,.card-meta span{color:#c8d6f5;background:linear-gradient(145deg,#263d70,#33245e);border:1px solid #526ba6;border-radius:20px;padding:7px 10px;font-size:10px}.item-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;margin-top:20px;display:grid}.item-card,.settings-card,.create-form{background:linear-gradient(145deg,#162540,#10182b);border:1px solid #344d7b;border-radius:17px;padding:18px;box-shadow:inset 0 1px #fff2,0 8px #0b1022,0 15px 28px #0003}.item-card:hover{border-color:#6f91d2;transform:translateY(-4px)}.item-card h3{margin:14px 0 8px;font:600 15px Space Grotesk}.item-card p{color:#acb9d2;white-space:pre-wrap;font-size:12px;line-height:1.7}.item-card small{color:#8293b6;font-size:10px}.card-meta{justify-content:space-between;gap:8px;display:flex}.card-meta span{background:#1e3159}.danger-link,.text-btn{color:#ff9bb4;background:0 0;border:0;align-items:center;gap:6px;margin-top:8px;padding:8px 0;font-size:11px;display:inline-flex}.text-btn{color:#a9c2ff}.create-form{flex-direction:column;gap:11px;max-width:650px;display:flex}.create-form.inline{grid-template-columns:1fr 1fr auto;max-width:none;display:grid}.create-form input,.create-form textarea,.settings-card input,.settings-card select,.auth-card input{color:#eaf0fc;background:#0a1223;border:1px solid #3b537d;border-radius:11px;outline:none;width:100%;padding:12px}.create-form input:focus,.create-form textarea:focus,.settings-card input:focus,.settings-card select:focus,.auth-card input:focus{border-color:#86aaff;box-shadow:0 0 0 3px #6e8fff22}.create-form textarea{resize:vertical;min-height:90px}.primary{color:#fff;background:linear-gradient(145deg,#7d9fff,#7041df);border:1px solid #a8c3ff;border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:12px 16px;font-weight:600;display:inline-flex;box-shadow:inset 0 2px #fff7,0 5px #392187,0 10px 18px #4d42a855}.primary:disabled{opacity:.6}.settings-card{gap:16px;max-width:550px;display:grid}.settings-card label{color:#c2d0e9;gap:8px;font-size:12px;display:grid}.hint,.empty{color:#91a1bf;font-size:12px;line-height:1.7}.empty{text-align:center;background:#101b31;border:1px dashed #49628f;border-radius:14px;padding:35px}.auth-wrap{place-items:center;min-height:100vh;padding:20px;display:grid}.auth-card{background:linear-gradient(145deg,#182844,#10182d);border:1px solid #4b6595;border-radius:21px;gap:13px;width:min(100%,390px);padding:32px;display:grid;box-shadow:inset 0 1px #fff3,0 8px #090e20,0 25px 80px #0008}.auth-card h1{margin:0;font:700 29px Space Grotesk}.auth-card h1 span{color:#9caeff}.auth-card p{color:#9eacce;margin:0 0 8px;font-size:12px}.auth-card .brand-mark{margin-bottom:8px}.auth-card .text-btn{justify-content:center}.error{color:#ff9aaa;font-size:12px}.main footer{text-align:center;color:#7183a8;padding:25px;font-size:10px}.mobile-only{display:none}.icon-btn{color:#dce5f7;background:#182846;border:1px solid #405a8d;border-radius:10px;padding:8px;box-shadow:0 3px #111a36}@media (width<=760px){.sidebar{transition:transform .2s;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.main{margin:0;padding:0 17px 25px}.topbar{justify-content:flex-start;gap:12px;height:76px}.mobile-only{display:block}.top-right{margin-left:auto;font-size:10px}.chat-intro{padding-top:42px}.bubble{max-width:92%}.create-form.inline{display:flex}.section-head h1{font-size:22px}.section-head{flex-direction:column;align-items:flex-start;gap:12px}}.theme-toggle{color:#3e2810;background:linear-gradient(145deg,#ffe5a3,#d9942e);border:1px solid #8b6b36;border-radius:12px;padding:10px 16px;font-weight:700;box-shadow:inset 0 2px #fff9,0 4px #87531b}.theme-row{color:#c2d0e9;justify-content:space-between;align-items:center;font-size:12px;display:flex}.theme-cream{--page:#fff9ed}.theme-cream body{background:#f7efe1}.theme-cream .main{color:#302b38}.theme-cream .topbar{border-color:#e5d8c7}.theme-cream .topbar small,.theme-cream .top-right,.theme-cream .section-head p,.theme-cream .hint{color:#756c62}.theme-cream .item-card,.theme-cream .settings-card,.theme-cream .create-form{background:linear-gradient(145deg,#fffdf8,#f4eadb);border-color:#e3cdb0;box-shadow:inset 0 1px #fff,0 7px #d6c1a5,0 15px 28px #8b6b3622}.theme-cream .item-card p{color:#645c54}.theme-cream .create-form input,.theme-cream .create-form textarea,.theme-cream .settings-card input,.theme-cream .settings-card select{color:#332b25;background:#fffaf1;border-color:#d9c2a3}.theme-cream .composer{background:#fffaf1;border-color:#dcc5a6}.theme-cream .bubble.assistant{color:#443a30;background:#fff8ec;border-color:#e2cda9}.theme-cream .suggestions button{color:#493852;background:linear-gradient(145deg,#fff0c9,#e8b8f0);border-color:#c99ada}.theme-cream .empty{background:#fffaf1;border-color:#d9bd91}.theme-dark{background:#070b16}.theme-cream{color:#151515;background:linear-gradient(120deg,#fff176,#c7f3e6 48%,#ffc06b);min-height:100vh}.theme-cream .sidebar{background:#242424;border-right:3px solid #111;box-shadow:8px 0 #111}.theme-cream .brand b,.theme-cream .brand small,.theme-cream .nav-label{color:#fff}.theme-cream .nav-item{color:#eee}.theme-cream .nav-item:hover,.theme-cream .nav-item.active{color:#111;background:#ffe66d;border:2px solid #111;box-shadow:4px 4px #111}.theme-cream .topbar{border-bottom:3px solid #171717}.theme-cream .topbar h2,.theme-cream .topbar small,.theme-cream .top-right,.theme-cream .chat-intro h1,.theme-cream .section-head h1{color:#151515}.theme-cream .chat-intro p,.theme-cream .section-head p,.theme-cream .hint{color:#52605e}.theme-cream .hero-icon{background:#8058e8;border:3px solid #111;box-shadow:5px 5px #111}.theme-cream .suggestions button,.theme-cream .primary,.theme-cream .send-btn,.theme-cream .theme-toggle{color:#111;background:#ffe66d;border:3px solid #111;border-radius:999px;box-shadow:4px 4px #111}.theme-cream .bubble,.theme-cream .item-card,.theme-cream .settings-card,.theme-cream .create-form{color:#151515;background:#fff;border:3px solid #111;border-radius:26px;box-shadow:6px 6px #111}.theme-cream .bubble.user{color:#111;background:#e7dcff}.theme-cream .bubble.assistant{color:#164b35;background:#dff7e9}.theme-cream .composer{background:#fff;border:3px solid #111;border-radius:999px;box-shadow:5px 5px #111}.theme-cream .composer textarea{color:#111}.theme-cream .item-card:hover{transform:translate(-2px,-2px);box-shadow:9px 9px #111}.theme-cream .create-form input,.theme-cream .create-form textarea,.theme-cream .settings-card input,.theme-cream .settings-card select,.theme-cream .auth-card input{color:#111;background:#fff;border:2px solid #111;border-radius:14px}.theme-cream .count,.theme-cream .card-meta span{color:#111;background:#bcefe1;border:2px solid #111}.theme-cream .empty{color:#333;background:#fff;border:3px dashed #111}.theme-cream .auth-wrap{background:linear-gradient(120deg,#fff176,#c7f3e6,#ffbd68)}.theme-cream .auth-card{background:#fff;border:3px solid #111;border-radius:30px;box-shadow:8px 8px #111}.theme-cream .auth-card h1,.theme-cream .auth-card p{color:#111}.google-btn{color:#111;background:#fff;border:3px solid #111;border-radius:999px;padding:12px;font-weight:700;box-shadow:4px 4px #111}.auth-divider{text-align:center;color:#777;margin:2px 0;font-size:11px}.model-list{gap:6px;margin:12px 0;display:grid}.model-ok,.model-off{color:#164b35;background:#dff7e9;border-radius:8px;padding:6px 8px;font-size:11px}.model-off{color:#8c2435;background:#ffe1e1}.model-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-top:14px}.model-ok,.model-off{border:2px solid #111;display:block;box-shadow:3px 3px #111}.model-ok small,.model-off small{color:inherit;opacity:.75;margin-top:4px;display:block}.check-status{color:#3d3215;background:#fff4b8;border:2px dashed #111;border-radius:10px;padding:10px;font-size:12px;font-weight:600;display:block}.status-dot{vertical-align:middle;border:1px solid #111;border-radius:50%;width:10px;height:10px;margin-right:8px;animation:1.4s ease-in-out infinite status-pulse;display:inline-block}.dot-online{background:#20d879;box-shadow:0 0 0 3px #20d87933,0 0 12px #20d879}.dot-offline{background:#ef4056;box-shadow:0 0 0 3px #ef405633,0 0 12px #ef4056}@keyframes status-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.72)}}.provider-actions{align-items:center;gap:8px;display:inline-flex!important}.provider-actions b{font-size:10px}.provider-delete{color:#351018;background:#ff6475;border:2px solid #111;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:700;box-shadow:2px 2px #111}.provider-delete:hover{transform:translate(1px,1px);box-shadow:1px 1px #111}.settings-models{gap:8px;display:grid}.settings-models>strong{color:inherit;font-size:12px}.model-choice{color:#111;background:#fff;border:2px solid #111;border-radius:12px;align-items:center;gap:8px;padding:10px;font-size:11px;display:flex;box-shadow:3px 3px #111}.model-choice input{width:auto}.model-choice small{color:#9a293b;margin-left:auto}.settings-models{background:#fff;border:2px solid #111;border-radius:12px;display:block;overflow-x:auto;box-shadow:3px 3px #111}.settings-models>strong{text-transform:uppercase;letter-spacing:.05em;border-bottom:2px solid #111;padding:8px 10px;font-size:11px;display:block}.model-choice{min-width:420px;box-shadow:none;color:#111;background:#fff;border:0;border-bottom:1px solid #d7cdbd;border-radius:0;grid-template-columns:28px 1fr 145px;align-items:center;gap:7px;padding:7px 10px;font-size:11px;line-height:1.2;display:grid}.model-choice:last-child{border-bottom:0}.model-choice input{accent-color:#18b968;width:15px;height:15px}.model-choice .status-dot{width:8px;height:8px;margin:0}.model-choice span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.model-choice small{text-align:right;color:#9a293b;margin:0;font-size:10px}.model-choice-off{opacity:.7;background:#fff1f1}.model-choice:hover{background:#fff8d8;transform:none}.theme-dark .settings-models{background:#111a2a;border-color:#8095bd}.theme-dark .model-choice{color:#edf3ff;background:#111a2a;border-color:#2d3d5d}.theme-dark .model-choice:hover{background:#1d2d4d}.model-choice span{color:#111;font-weight:600}.model-toast{z-index:30;color:#123b2a;background:#dff7e9;border:3px solid #111;border-radius:16px;padding:12px 18px;font-size:13px;font-weight:700;animation:.2s ease-out toast-in;position:fixed;top:22px;left:50%;transform:translate(-50%);box-shadow:5px 5px #111}.theme-dark .model-choice span{color:#111}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%)}}.history-panel{border-top:1px solid #526080;flex-direction:column;min-height:0;max-height:32vh;margin:18px 0 8px;padding-top:12px;display:flex}.new-chat-btn{color:#111;background:#ffe66d;border:2px solid #111;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:8px;font-size:11px;font-weight:700;display:flex;box-shadow:3px 3px #111}.history-title{color:#9caed0;letter-spacing:1px;margin:13px 8px 6px;font-size:9px}.history-item{text-overflow:ellipsis;white-space:nowrap;color:#b9c7e0;text-align:left;background:0 0;border:0;border-radius:8px;padding:7px 9px;font-size:11px;overflow:hidden}.history-item:hover,.history-item.selected{color:#fff;background:#35466e;transform:none}.history-empty{color:#8190af;padding:6px 9px}.chat-messages{scrollbar-width:thin;min-height:0;padding:10px 10px 130px;overflow-y:auto}.composer{z-index:4;width:min(900px,100vw - 340px);margin:0;position:fixed;bottom:20px;left:calc(50vw + 87px)}@media (width<=760px){.history-panel{max-height:25vh}.composer{width:calc(100vw - 34px);bottom:12px;left:17px}}.history-panel{background:#171717;border:2px solid #000;border-radius:16px;margin:16px 2px 10px;padding:10px;position:relative;overflow:hidden;box-shadow:4px 4px #000}.history-panel:before{content:"CHAT HISTORY";color:#ffe66d;letter-spacing:1.4px;border-bottom:1px solid #555;padding:2px 3px 9px;font-size:9px;font-weight:800;display:block}.history-title{display:none}.new-chat-btn{color:#111;background:linear-gradient(145deg,#fff28c,#f3bd35);border:2px solid #111;border-radius:11px;width:100%;margin:0 0 8px;padding:9px 10px;font-weight:800;box-shadow:3px 3px #000}.history-item{color:#e9e9e9;background:#292929;border:1px solid #434343;border-radius:10px;width:100%;margin:3px 0;padding:9px 10px;font-size:11px;box-shadow:2px 2px #050505}.history-item:hover,.history-item.selected{color:#fff;background:linear-gradient(145deg,#7358db,#4b369c);border-color:#c8baff;transform:translate(-1px,-1px);box-shadow:3px 3px #050505}.history-empty{color:#a7a7a7;padding:8px 3px;display:block}.theme-cream .history-panel{background:#252525;border-color:#111;box-shadow:4px 4px #111}.theme-cream .history-item{background:#333;border-color:#111}.theme-cream .history-item.selected{background:linear-gradient(145deg,#8058e8,#5133a9)}.thinking-shine{color:#0000;background:linear-gradient(110deg,currentColor 25%,#fff 45%,#9d8cff 55%,currentColor 75%) 0 0/240% 100%;-webkit-background-clip:text;background-clip:text;font-weight:700;animation:1.35s linear infinite thinking-shimmer,1.8s ease-in-out infinite thinking-pulse;display:inline-block}.thinking{min-width:185px}@keyframes thinking-shimmer{0%{background-position:240% 0}to{background-position:-40% 0}}@keyframes thinking-pulse{0%,to{opacity:.65}50%{opacity:1}}.theme-cream .thinking-shine,.theme-dark .thinking-shine{color:#111;-webkit-text-fill-color:transparent;background:linear-gradient(110deg,#111 30%,#fff 44%,#8b63ff 51%,#111 68%) 0 0/240% 100%;-webkit-background-clip:text;background-clip:text}.topbar{z-index:6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffe6;padding:0 4px;position:sticky;top:0}.theme-dark .topbar{background:#070b16e6}.mobile-only{z-index:8;touch-action:none;position:relative}.sidebar{overscroll-behavior:contain;overflow-y:auto}.chat-messages{overscroll-behavior:contain}@media (width<=760px){.topbar{height:76px;padding:0 17px;position:fixed;top:0;left:0;right:0}.main{padding-top:76px}.sidebar{z-index:20;touch-action:pan-y;width:min(290px,86vw);position:fixed;top:0;bottom:0;left:0}.sidebar.open{box-shadow:12px 0 40px #0008}.mobile-only{flex:none;place-items:center;display:grid}.topbar h2{font-size:18px}}.bubble{border-radius:13px;max-width:min(68%,680px);margin:8px 0;padding:9px 12px;font-size:12px;line-height:1.45;box-shadow:3px 3px #111}.bubble b{font-size:9px}.bubble p{margin:3px 0 0}.bubble.user{box-shadow:3px 3px #292c64}.bubble.assistant{box-shadow:3px 3px #111}.thinking{min-width:160px;padding:9px 12px}@media (width<=760px){.bubble{border-radius:12px;max-width:82%;margin:7px 0;padding:8px 11px;font-size:12px}}.topbar{z-index:15;height:94px;padding:0 42px;top:0;left:258px;right:0;position:fixed!important}.main{padding-top:94px}.chat-layout{min-height:calc(100vh - 145px)}@media (width<=760px){.topbar{height:76px;padding:0 17px;left:0;right:0}.main{padding-top:76px}.chat-layout{min-height:calc(100vh - 110px)}}.settings-models .model-choice{grid-template-columns:18px minmax(0,1fr) auto;gap:4px;min-height:30px;padding:5px 8px;line-height:1.1}.settings-models .model-choice .status-dot{grid-column:1;width:9px;height:9px;margin:0}.settings-models .model-choice span{letter-spacing:0;color:#111;grid-column:2;line-height:1.1}.settings-models .model-choice small{color:#9a293b;white-space:nowrap;grid-column:3;margin:0 0 0 4px;line-height:1}.settings-models .model-choice input{opacity:0;grid-area:1/1;width:15px;height:15px;margin:0;position:absolute}.settings-models .model-choice:has(input:checked) .status-dot{background:#20d879;animation:1.1s ease-in-out infinite status-pulse;box-shadow:0 0 0 3px #20d87933,0 0 12px #20d879}.settings-models .dot-online{background:#20d879;animation:1.1s ease-in-out infinite status-pulse;box-shadow:0 0 0 3px #20d87933,0 0 12px #20d879}.settings-models .dot-offline{background:#ef4056;animation:1.1s ease-in-out infinite status-pulse;box-shadow:0 0 0 3px #ef405633,0 0 12px #ef4056}.history-page{padding:34px 0}.history-page-list{gap:12px;max-width:760px;display:grid}.history-page-card{text-align:left;color:#111;background:#fff;border:3px solid #111;border-radius:17px;align-items:center;gap:13px;padding:15px;display:flex;box-shadow:5px 5px #111}.history-page-card:hover{transform:translate(-2px,-2px);box-shadow:8px 8px #111}.history-page-card span{gap:5px;display:grid}.history-page-card small{color:#6d665d;font-size:10px}.theme-dark .history-page-card{color:#fff;background:#162540;border-color:#8095bd;box-shadow:5px 5px #000}.chat-layout{height:calc(100vh - 94px);min-height:0;overflow:hidden}.chat-messages{scroll-behavior:smooth;overscroll-behavior:contain;flex:1;min-height:0;padding:16px 10px 145px;overflow:hidden auto}.history-page{scroll-behavior:smooth;height:100%;padding-bottom:40px;overflow-y:auto}.sidebar{overflow-y:auto}.history-panel{display:none!important}@media (width<=760px){.chat-layout{height:calc(100vh - 76px)}.chat-messages{padding-bottom:135px}}.topbar{isolation:isolate;transform:translateZ(0);visibility:visible!important;opacity:1!important;z-index:100!important;display:flex!important;position:fixed!important;top:0!important}.topbar>*{visibility:visible!important}.main,.chat-layout{position:relative}@media (width<=760px){.topbar{visibility:visible!important;opacity:1!important;z-index:100!important;display:flex!important;position:fixed!important;top:0!important;left:0!important;right:0!important}.main{padding-top:76px!important}}@media (width>=761px){.sidebar{width:258px;overflow:hidden auto}.main{width:calc(100% - 258px);max-width:none;margin-left:258px;padding-left:42px;padding-right:42px;overflow-x:hidden}.topbar{width:auto;padding:0 42px;left:258px;right:0}.content{width:min(1120px,100%);margin:0 auto;padding:32px 0 48px}.chat-layout{width:min(920px,100%);margin:0 auto}.chat-intro{padding-top:34px}.chat-messages{width:100%;padding-left:0;padding-right:0}.composer{width:auto;max-width:920px;margin:0 auto;left:300px;right:42px}.item-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));align-items:start}.create-form{width:100%;max-width:700px;margin-bottom:24px}.create-form.inline{grid-template-columns:minmax(220px,1fr) minmax(190px,240px) auto;align-items:center}.settings-card{width:min(680px,100%);max-width:none}.history-page{width:min(920px,100%);margin:0 auto}}@media (width>=761px) and (width<=1100px){.main{padding-left:28px;padding-right:28px}.topbar{padding:0 28px}.composer{left:286px;right:28px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.chat-layout{flex-direction:column!important;height:calc(100dvh - 94px)!important;min-height:0!important;display:flex!important;overflow:hidden!important}.chat-messages{scroll-behavior:smooth;touch-action:pan-y;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;flex-direction:column;padding-top:18px;padding-bottom:160px;display:flex;flex:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden auto!important}.chat-messages .bubble,.chat-intro{flex:none}.composer{pointer-events:auto;touch-action:pan-y}@media (width<=760px){.chat-layout{height:calc(100dvh - 76px)!important}.chat-messages{padding-bottom:145px}}.dark-background,.dark-background .main{background:#202124!important}.dark-background .topbar{background:#202124f0!important}.dark-background .chat-layout,.dark-background .content{background:0 0}.dark-background .chat-intro h1,.dark-background .section-head h1,.dark-background .topbar h2,.dark-background .topbar small,.dark-background .top-right{color:#fff}.dark-background .chat-intro p,.dark-background .section-head p,.dark-background .hint{color:#d1d1d1}.dark-background .bubble.assistant{color:#151515;background:#fff}.dark-background .composer{background:#fff}.dark-background .composer textarea{color:#111}.dark-background .item-card,.dark-background .settings-card,.dark-background .create-form{color:#151515;background:#fff}.dark-background .item-card p,.dark-background .settings-card label{color:#333}.dark-background .empty{color:#333;background:#fff}.dark-background .history-page-card{color:#111;background:#fff}.user-name{align-items:center;display:inline-flex}.owner-verified{color:#248cff;fill:#d9edff;vertical-align:middle;filter:drop-shadow(0 0 4px #248cff);margin-left:5px;display:inline-block}.user-bronze{color:#a85f32;fill:#e6a06d;vertical-align:middle;filter:drop-shadow(0 0 3px #a85f32);margin-left:5px;display:inline-block}.profile-trigger{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0}.avatar img{object-fit:cover;border-radius:50%;width:100%;height:100%}.profile-modal{z-index:200;background:#0008;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.profile-card{color:#111;background:#fff;border:3px solid #111;border-radius:22px;gap:16px;width:min(100%,430px);padding:24px;display:grid;position:relative;box-shadow:8px 8px #111}.profile-card form{gap:10px;display:grid}.profile-card h2,.profile-card h3{margin:0}.profile-card label{gap:6px;font-size:12px;display:grid}.profile-card input{border:2px solid #111;border-radius:10px;padding:11px}.profile-close{color:#111;background:0 0;border:0;font-size:25px;position:absolute;top:8px;right:12px}.profile-page .profile-card{max-width:520px;margin:0;position:relative}.profile-preview{color:#fff;background:#8058e8;border:3px solid #111;border-radius:50%;place-items:center;width:78px;height:78px;font-size:30px;font-weight:800;display:grid;overflow:hidden;box-shadow:4px 4px #111}.profile-preview img{object-fit:cover;width:100%;height:100%}.profile-heading{align-items:center;gap:14px;display:flex}.profile-heading-name h2{color:#111;margin:0 0 5px;font-size:19px}.profile-heading-name small{color:#665f56}.profile-heading-name .owner-verified,.profile-heading-name .user-bronze{vertical-align:middle}.primary{color:#17120a!important;background:linear-gradient(145deg,#ffe66d,#f0b62e)!important;border-color:#111!important}.send-btn{color:#fff!important;background:linear-gradient(145deg,#68c9ff,#2879e8)!important}.new-chat-btn{color:#082417!important;background:linear-gradient(145deg,#72e6a6,#20ad68)!important}.google-btn{color:#222!important;background:linear-gradient(145deg,#fff,#e8e8e8)!important}.provider-delete,.danger-link{color:#fff!important;background:linear-gradient(145deg,#ff7a87,#d92f49)!important}.provider-delete{border-color:#111!important}.text-btn{color:#fff!important;background:linear-gradient(145deg,#c6b4ff,#8062dd)!important;border:2px solid #111!important;border-radius:999px!important;padding:7px 11px!important;box-shadow:3px 3px #111!important}.theme-toggle{color:#fff!important;background:linear-gradient(145deg,#ff9d62,#e45832)!important}.icon-btn{color:#fff!important;background:linear-gradient(145deg,#8ad8ff,#3a83db)!important}.suggestions button{color:#fff!important;background:linear-gradient(145deg,#ff9bd2,#d9569c)!important;border-color:#111!important}.history-page-card{background:linear-gradient(145deg,#bcefe1,#51c7a1)!important}.model-toast{background:linear-gradient(145deg,#a7f3c5,#35bd76)!important}button,.primary,.nav-item,.send-btn,.new-chat-btn,.google-btn,.provider-delete,.text-btn,.danger-link,.theme-toggle,.icon-btn,.suggestions button,.history-item,.history-page-card{border-radius:999px!important}.nav-item{padding-left:14px;padding-right:14px}.send-btn,.icon-btn{border-radius:50%!important}.history-page-card{border-radius:18px!important}.danger-link{padding:7px 12px!important}.provider-delete{padding:4px 10px!important}.history-item{text-align:left}@media (width>=761px){.main{width:calc(100% - 190px);margin-left:190px;padding-left:24px;padding-right:24px}.sidebar{width:190px}.topbar{padding:0 24px;left:190px}.composer{width:auto;left:214px;right:24px}.content,.chat-layout,.history-page{max-width:760px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-layout .main{width:calc(100% - 258px);margin-left:258px;padding-left:42px;padding-right:42px}.desktop-layout .sidebar{width:258px}.desktop-layout .topbar{padding:0 42px;left:258px}.desktop-layout .composer{left:300px;right:42px}.desktop-layout .content,.desktop-layout .chat-layout,.desktop-layout .history-page{max-width:1120px}.desktop-layout .item-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}}.chat-layout{flex-direction:column!important;height:calc(100dvh - 94px)!important;display:flex!important;overflow:hidden!important}.chat-messages{scroll-behavior:auto!important;overscroll-behavior:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;flex:1 1 0!important;height:0!important;min-height:0!important;max-height:none!important;padding:18px 10px 170px!important;display:block!important;overflow:hidden scroll!important}.chat-messages .bubble{contain:layout;will-change:auto;display:block}.chat-intro{flex:none}.composer{pointer-events:auto!important;z-index:20!important}@media (width<=760px){.chat-layout{height:calc(100dvh - 76px)!important}.chat-messages{padding-bottom:150px!important}}.model-toast{text-align:center;max-width:min(90vw,520px);line-height:1.35;animation:.22s ease-out toast-drop;z-index:120!important;top:112px!important}@keyframes toast-drop{0%{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%)}}@media (width<=760px){.model-toast{max-width:calc(100vw - 32px);top:90px!important}}.history-page-card{align-items:center;gap:10px;padding:8px 10px;display:flex}.history-open{text-align:left;color:#111;background:0 0;border:0;flex:1;align-items:center;gap:13px;padding:7px;display:flex}.history-open span{gap:4px;display:grid}.history-open small{color:#665f56;font-size:10px}.history-delete{color:#351018;background:#ff6475;border:2px solid #111;padding:6px 10px;font-size:10px;font-weight:800;box-shadow:2px 2px #111}@media (width<=760px){.sidebar.open~.main .composer{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s,visibility .18s,transform .18s;transform:translateY(20px)}.sidebar:not(.open)~.main .composer{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}}.reminder-accepted,.reminder-notified{border:2px solid #111;border-radius:999px;margin:8px 0 2px;padding:6px 10px;font-size:11px;font-weight:800;display:inline-block;box-shadow:2px 2px #111}.reminder-accepted{color:#123b2a;background:#a7f3c5}.reminder-notified{color:#3d3215;background:#ffe66d}.splash-screen{background:linear-gradient(120deg,#fff176,#c7f3e6 48%,#ffc06b);place-items:center;min-height:100vh;display:grid;position:relative;overflow:hidden}.splash-screen img{z-index:2;mix-blend-mode:multiply;filter:drop-shadow(8px 8px #111)drop-shadow(0 0 18px #fff);width:min(58vw,280px);height:auto;animation:1.8s ease-in-out infinite splash-logo;position:relative}.splash-shine{z-index:3;background:linear-gradient(100deg,#0000,#fff9,#0000);width:150%;height:18%;animation:1.5s linear infinite splash-sweep;position:absolute;transform:rotate(-35deg)}@keyframes splash-logo{0%,to{filter:drop-shadow(8px 8px #111)drop-shadow(0 0 10px #fff);transform:scale(.96)}50%{filter:drop-shadow(8px 8px #111)drop-shadow(0 0 30px #fff);transform:scale(1.02)}}@keyframes splash-sweep{0%{left:-120%}to{left:120%}}.google-btn{justify-content:center;align-items:center;gap:9px;display:flex!important}.google-icon{color:#4285f4;background:#fff;border:1px solid #ddd;border-radius:50%;place-items:center;width:22px;height:22px;font:700 16px Arial;display:grid}
