:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1c2640;background:#f8f9fc;font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #8aa1ff;outline-offset:2px}.hidden{display:none!important}.auth-page{min-height:100vh;display:grid;grid-template-columns:54% 46%;background:#fff}.auth-showcase{background:radial-gradient(circle at 79% 22%,#34357d 0,transparent 35%),radial-gradient(circle at 7% 79%,#15375c 0,transparent 45%),#101526;color:#fff;display:flex;flex-direction:column;padding:34px 8%;position:relative;overflow:hidden}.auth-showcase:after{content:'';position:absolute;pointer-events:none;inset:-50%;background:radial-gradient(circle at 50% 58%,transparent 0,transparent 29%,#ffffff04 29.3%,transparent 30.1%,transparent 36%,#ffffff05 36.2%,transparent 37%);transform:rotate(10deg)}.auth-logo{display:flex;align-items:center;gap:12px;letter-spacing:2px;font-size:15px;font-weight:800;position:relative;z-index:1}.auth-logo b{font-weight:500;color:#96adff}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;background:linear-gradient(135deg,#5965f7,#8256fa);border-radius:14px;color:#fff;font-weight:900;font-size:25px;letter-spacing:-3px;box-shadow:0 6px 22px #555efc4a;position:relative}.brand-mark .dot{position:absolute;top:-14px;right:4px;color:#76f5e2;font-size:32px;letter-spacing:0}.auth-message{width:min(550px,100%);margin:auto;position:relative;z-index:1;padding:46px 0 35px}.mini-kicker{display:flex;align-items:center;gap:9px;letter-spacing:3px;font-size:10px;font-weight:700;color:#95bcf7}.shimmer-dot{height:7px;width:7px;border-radius:50%;background:#78ecdb;box-shadow:0 0 0 5px #78ecdb16}.auth-message h1{font-weight:780;font-size:clamp(45px,5vw,74px);line-height:1.07;letter-spacing:-3.7px;margin:20px 0}.auth-message h1 em{font-style:normal;color:#9997ff;background:linear-gradient(90deg,#9cb5ff,#cd9dff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.auth-message p{font-size:16px;line-height:1.8;color:#a5aec8;max-width:440px}.preview{margin-top:40px;width:min(470px,100%);background:#1b2540a8;border:1px solid #3f4d7166;box-shadow:0 20px 70px #05081b44;border-radius:17px;overflow:hidden;backdrop-filter:blur(15px);transform:rotate(-1deg)}.preview-head{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 19px;border-bottom:1px solid #ffffff15;color:#b3b9d6;font-size:11px}.dots{display:flex;gap:5px}.dots i{height:8px;width:8px;background:#ff887e;border-radius:100%}.dots i:nth-child(2){background:#ffcb7e}.dots i:nth-child(3){background:#70d7b2}.preview-spark{color:#aaacff}.preview-bubble{font-size:12px;line-height:1.65;margin:20px 20px 0;padding:13px 16px;border-radius:11px}.preview-user{background:#434d79;color:#e9eafa;width:max-content;max-width:85%;margin-left:auto}.preview-user span{color:#bdbaff}.preview-ai{margin:12px 28px 23px 20px;color:#d1d7e7;background:#273252}.preview-ai-head{display:flex;gap:7px;align-items:center;font-size:11px;color:#b9bcff;font-weight:700;margin-bottom:12px}.mini-brand{display:flex;justify-content:center;align-items:center;border-radius:7px;width:21px;height:21px;background:#635dff;color:#fff}.fake-line{height:6px;border-radius:10px;margin-top:10px;background:#8290b53b;width:95%}.fake-line.short{width:48%}.fake-line.medium{width:78%}.auth-bottom{position:relative;z-index:1;display:flex;justify-content:space-between;color:#8993b0;font-size:11px}.auth-panel{display:grid;place-items:center;padding:32px}.auth-form-wrap{width:min(390px,100%)}.auth-mobile-brand{display:none}.auth-welcome-icon{background:#edf0ff;color:#605df7;width:48px;height:48px;border-radius:14px;font-size:25px;display:grid;place-items:center;margin-bottom:23px}.auth-form-wrap h2{font-size:31px;letter-spacing:-1.25px;margin:0 0 7px;font-weight:750}.auth-form-wrap p{font-size:14px;color:#838ca1;line-height:1.6;margin:0}.auth-tabs{display:flex;background:#f2f4f9;border-radius:11px;margin:33px 0 26px;padding:4px}.auth-tabs button{flex:1;border:0;border-radius:8px;height:39px;background:transparent;color:#77819b;font-weight:650;font-size:13px}.auth-tabs button.active{background:#fff;color:#293450;box-shadow:0 2px 9px #28335513}.field{margin:15px 0}.field label{display:block;color:#404e66;font-size:12px;font-weight:650;margin-bottom:8px}.field input{border:1px solid #dfe4ed;border-radius:10px;width:100%;height:48px;padding:0 14px;color:#1f2944;outline:none;transition:.2s;background:#fff}.field input:focus{border-color:#717afa;box-shadow:0 0 0 3px #717afa22}.field input::placeholder{color:#a4acbf}.label-row{display:flex;justify-content:space-between;align-items:center}.hint,.optional{color:#a0a7b8;font-size:11px}.password-box{position:relative}.password-box input{padding-right:45px}.password-box button{border:0;background:transparent;color:#8c96aa;position:absolute;right:6px;top:6px;width:36px;height:36px}.primary-button{border:0;border-radius:10px;background:linear-gradient(105deg,#5d64f4,#765cf3);color:#fff;font-weight:700;box-shadow:0 9px 22px #665bf039}.auth-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:49px;margin-top:20px}.auth-submit span{font-size:21px}.form-error{color:#ba283f!important;background:#fff0f2;padding:11px 13px;border-radius:8px;font-size:12px!important}.auth-divider{position:relative;text-align:center;margin-top:28px;color:#8993a9;font-size:12px}.auth-divider:before{content:'';height:1px;background:#e6eaf2;position:absolute;left:0;right:0;top:50%}.auth-divider span{position:relative;background:white;padding:0 12px}.auth-terms{font-size:11px;line-height:1.7;color:#a0aabd;text-align:center;margin-top:21px}.app-shell{height:100vh;min-height:450px;display:flex;background:#f8f9fc}.sidebar{width:273px;flex-shrink:0;background:#141a2c;color:#eaf0ff;display:flex;flex-direction:column;padding:25px 14px 15px;position:relative;z-index:10}.side-top{padding:0 11px 29px;display:flex;align-items:center;justify-content:space-between}.main-logo{display:flex;align-items:center;gap:11px}.main-logo .brand-mark{width:42px;height:42px}.logo-word{display:flex;flex-direction:column;line-height:1.3;letter-spacing:1.7px}.logo-word strong{font-size:13px}.logo-word small{font-size:10px;color:#8995bc;letter-spacing:3px;margin-top:2px}.new-chat{margin:0 4px 23px;background:linear-gradient(110deg,#6365f6,#7355ed);border:0;border-radius:10px;color:#fff;height:44px;padding:0 12px;display:flex;align-items:center;gap:10px;font-weight:670;font-size:12px;box-shadow:0 9px 20px #5445cc40}.new-plus{font-size:24px;font-weight:300;line-height:1}.new-shortcut{margin-left:auto;color:#c4beff;font-size:10px}.side-nav{display:grid;gap:4px;margin-bottom:24px}.nav-btn{height:41px;border:0;border-radius:9px;display:flex;gap:12px;align-items:center;padding:0 13px;text-align:left;background:transparent;color:#9da9c7;font-size:13px;font-weight:550}.nav-btn.active,.nav-btn:hover{background:#262e48;color:#e9ebff}.nav-icon{font-size:18px;width:20px;text-align:center}.nav-badge{margin-left:auto;color:#a9a7ff;background:#635df527;padding:3px 6px;border-radius:4px;font-size:8px;letter-spacing:.8px;font-weight:700}.history-top{display:flex;justify-content:space-between;padding:0 13px;margin-bottom:12px;color:#697795;font-size:10px;font-weight:730;letter-spacing:1.3px}.history-list{overflow-y:auto;flex:1;min-height:0;padding:0 3px 10px}.history-item{width:100%;height:39px;display:flex;gap:9px;align-items:center;border:0;background:transparent;color:#9ba7c1;font-size:12px;text-align:left;padding:0 10px;border-radius:8px}.history-item:hover,.history-item.active{background:#272f48;color:#fff}.history-item .history-icon{font-size:13px;color:#8490b0}.history-item .history-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.delete-chat{background:transparent;border:0;color:#8691ac;font-size:17px;line-height:1;padding:2px 6px;opacity:0}.history-item:hover .delete-chat,.history-item.active .delete-chat{opacity:1}.history-empty{font-size:12px;color:#7684a4;padding:12px 10px;line-height:1.5}.side-bottom{margin-top:auto;padding:12px 1px 0;border-top:1px solid #2d374f}.plan-card{padding:12px;background:linear-gradient(115deg,#343361,#282c4d);border:1px solid #494368;border-radius:10px;display:flex;gap:10px;align-items:center;margin-bottom:14px}.plan-star{color:#b4afff;font-size:26px}.plan-card strong,.profile-meta strong{font-size:11px;display:block}.plan-card small,.profile-meta small{font-size:10px;color:#9ba6bf;display:block;margin-top:5px}.profile-btn{display:flex;width:100%;align-items:center;gap:10px;border:0;background:transparent;color:#f7f8ff;text-align:left;padding:6px 7px;border-radius:8px}.profile-btn:hover{background:#222b43}.avatar,.header-avatar{border-radius:11px;background:linear-gradient(135deg,#4cd2c6,#4e79de);width:36px;height:36px;display:grid;place-items:center;font-weight:750;color:#fff}.profile-meta{flex:1;min-width:0}.profile-meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-more{font-size:21px;color:#8a96b1}.profile-menu{position:absolute;bottom:74px;left:13px;right:13px;background:#2a3451;border:1px solid #485271;box-shadow:0 9px 30px #0004;border-radius:10px;padding:12px}.profile-menu-email{font-size:11px;color:#bbc7e3;margin-bottom:9px;overflow:hidden;text-overflow:ellipsis}.profile-menu button{border:0;background:#38435e;border-radius:7px;width:100%;text-align:left;padding:10px;color:#fff}.main-area{min-width:0;flex:1;display:flex;flex-direction:column}.app-header{height:70px;background:#fff;border-bottom:1px solid #ebedf4;display:flex;align-items:center;justify-content:space-between;padding:0 34px;flex-shrink:0}.header-left,.header-right{display:flex;align-items:center;gap:15px}.breadcrumb{color:#8b94a5;font-size:12px}.crumb-sep{color:#c0c6d3}.crumb-active{font-size:12px;font-weight:720;color:#283653}.mode-pill{border-radius:100px;padding:8px 11px;background:#fff6e9;color:#aa7125;font-size:10px;font-weight:800;letter-spacing:.3px;display:flex;align-items:center;gap:7px}.mode-pill.live{background:#edfbf6;color:#237956}.mode-dot{width:7px;height:7px;background:#f6b95a;border-radius:50%}.mode-pill.live .mode-dot{background:#3bc993}.header-divider{height:23px;width:1px;background:#edf0f5}.header-avatar{width:35px;height:35px;font-size:13px}.workspace-body{display:flex;flex-direction:column;flex:1;min-height:0}.chat-scroll{overflow-y:auto;flex:1;display:flex;flex-direction:column;align-items:center;padding:22px 32px}.welcome-screen{max-width:780px;width:100%;margin:auto;text-align:center;padding:22px 0 10px}.hero-orb{margin:0 auto 19px;width:66px;height:66px;background:radial-gradient(circle at 40% 40%,#b4adff,#6963f4 64%,#4548aa);box-shadow:0 13px 45px #6d60f23d;display:grid;place-items:center;border-radius:21px;transform:rotate(-12deg);position:relative}.hero-orb-core{font-size:32px;color:white;transform:rotate(12deg)}.orb-ring{position:absolute;inset:-9px;border:1px solid #dddfff;border-radius:27px}.welcome-kicker{font-size:10px;color:#7d81af;letter-spacing:2.5px;font-weight:800;margin-bottom:10px}.welcome-screen h1{font-weight:760;font-size:clamp(25px,3.1vw,40px);letter-spacing:-1.5px;margin:0;color:#273550}.welcome-screen h1 span:first-child{background:linear-gradient(95deg,#5a5fea,#9164e4);color:transparent;-webkit-background-clip:text;background-clip:text}.wave{font-size:23px;color:#f7a64c;margin-left:12px}.welcome-screen p{font-size:14px;line-height:1.7;max-width:530px;margin:13px auto 32px;color:#8c97aa}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left}.suggestion{height:83px;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e9edf4;border-radius:13px;padding:14px;text-align:left;transition:transform .2s,border-color .2s,box-shadow .2s}.suggestion:hover{transform:translateY(-2px);box-shadow:0 10px 24px #25396c0c;border-color:#d5d8fc}.suggestion-icon{width:43px;height:43px;flex-shrink:0;border-radius:12px;display:grid;place-items:center;font-size:24px}.suggestion-icon.blue{background:#eaf0ff;color:#6375e9}.suggestion-icon.purple{background:#f2eaff;color:#9264dd}.suggestion-icon.orange{background:#fff1e3;color:#ee9b4b}.suggestion-icon.teal{background:#e4f8f5;color:#44b9ad}.suggestion strong{font-size:12px;color:#2b3752;display:block;margin-bottom:6px}.suggestion small{font-size:11px;color:#8e97aa}.suggest-arrow{color:#b1bad0;margin-left:auto;font-size:17px}.composer-outer{padding:12px max(25px,calc((100% - 800px) / 2)) 13px;flex-shrink:0}.composer{background:white;border:1px solid #e1e5f0;border-radius:15px;padding:13px 15px 10px;box-shadow:0 6px 36px #2a33500a}.composer:focus-within{border-color:#c4c8ff;box-shadow:0 0 0 3px #6d69f60b}.composer textarea{display:block;resize:none;max-height:160px;min-height:48px;border:0;outline:none!important;background:transparent;font-size:13px;line-height:1.65;width:100%;color:#263451}.composer textarea::placeholder{color:#a7afc0}.composer-bottom{display:flex;justify-content:space-between;align-items:center}.composer-left{display:flex;align-items:center;gap:14px}.composer-chip{border:1px solid #e8eafb;background:#f6f6ff;color:#6861d4;border-radius:7px;font-size:10px;font-weight:700;padding:6px 9px}.composer-chip span:first-child{margin-right:3px}.composer-tip{font-size:10px;color:#abb3c0}.send-button{width:36px;height:36px;border:0;border-radius:10px;background:#665bf5;color:#fff;font-size:22px;font-weight:700}.send-button:hover{background:#544ae6}.composer-foot{margin:9px 0 0;text-align:center;font-size:10px;color:#a5adbc}.messages{width:min(780px,100%);padding-top:28px;padding-bottom:20px}.message{display:flex;gap:14px;margin-bottom:26px}.message.user{justify-content:flex-end}.message.user .msg-content{background:#ebeefe;border:1px solid #dfe2fd;border-radius:17px 4px 17px 17px;padding:14px 17px;max-width:78%;font-size:13px}.message.assistant{justify-content:flex-start}.message.assistant .msg-content{max-width:calc(100% - 52px);padding:0 2px;color:#303c57;font-size:13px;line-height:1.85}.assistant-icon{height:35px;width:35px;flex-shrink:0;background:linear-gradient(135deg,#5f64f9,#9264e8);color:#fff;display:grid;place-items:center;font-weight:850;font-size:18px;border-radius:11px}.msg-content strong{font-weight:730}.msg-content pre{padding:14px;overflow-x:auto;background:#161d31;color:#d8e8ff;border-radius:10px;font-size:12px;white-space:pre-wrap}.msg-content code{padding:2px 4px;background:#edf1f8;border-radius:5px}.msg-content pre code{background:transparent;padding:0}.msg-label{display:block;color:#747f9c;font-size:10px;font-weight:700;letter-spacing:.5px;margin-bottom:6px}.thinking{animation:breathe 1.5s ease-in-out infinite;color:#8593ab}.typingdots{letter-spacing:4px;font-size:22px}.chat-error{background:#fff0f1;border:1px solid #fbd0d7;border-radius:10px;color:#b04453;padding:13px;font-size:12px;margin:0 0 20px 49px}@keyframes breathe{50%{opacity:.43}}.admin-view{padding:44px;overflow-y:auto}.admin-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.admin-title h1{letter-spacing:-1px;margin:9px 0 8px}.admin-title p,.admin-info p{color:#8894a8;line-height:1.7;font-size:13px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#6c68d2}.secondary-button{background:white;border:1px solid #e0e5f2;padding:11px 16px;border-radius:10px;color:#374563}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.stat-card{background:#fff;border:1px solid #e5e9f3;padding:24px;border-radius:13px}.stat-card .metric{font-size:31px;font-weight:800;letter-spacing:-1px;color:#303b54;margin-top:10px}.stat-card .stat-label{font-size:11px;color:#8a98b0}.admin-info{background:#fff;padding:22px 26px;border:1px solid #e5e9f3;border-radius:13px;margin-top:16px;max-width:940px}.admin-info h3{font-size:15px;margin:0 0 8px}.admin-info p{margin:7px 0}.admin-info code{font-size:11px;background:#f1f1fb;padding:2px 5px}.icon-btn{height:35px;width:35px;border:0;border-radius:9px;background:transparent;color:#697695;font-size:18px}.open-side,.close-side{display:none}.mobile-overlay{position:fixed;inset:0;background:#0f153f99;z-index:9}.toast{position:fixed;right:20px;bottom:22px;background:#1d2640;color:#fff;padding:13px 18px;border-radius:11px;box-shadow:0 10px 30px #0003;z-index:30;font-size:12px;max-width:min(450px,calc(100vw - 40px))}.toast.error{background:#a8384c}@media(max-width:1050px){.auth-showcase{padding:30px 6%}.auth-message h1{font-size:55px}.sidebar{width:255px}.app-header{padding:0 24px}.composer-outer{padding-left:28px;padding-right:28px}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:750px){.auth-page{display:flex;flex-direction:column}.auth-showcase{min-height:205px;padding:20px 25px}.auth-message{padding:20px 0 15px;margin:auto 0}.auth-message h1{font-size:34px;letter-spacing:-1.8px;margin:10px 0}.auth-message p{display:none}.preview,.auth-bottom{display:none}.auth-logo{font-size:12px}.auth-panel{padding:28px 20px 50px}.auth-welcome-icon{display:none}.auth-mobile-brand{display:none}.auth-form-wrap h2{font-size:27px}.auth-tabs{margin:22px 0}.app-header{height:59px;padding:0 17px}.sidebar{position:fixed;top:0;bottom:0;left:0;width:min(285px,86vw);transform:translateX(-101%);transition:transform .22s}.sidebar.open{transform:translateX(0)}.open-side,.close-side{display:block}.chat-scroll{padding:13px 19px}.welcome-screen{padding-top:28px}.welcome-screen h1{font-size:29px}.welcome-screen p{font-size:12px;margin-bottom:23px}.suggestions{grid-template-columns:1fr;gap:9px}.suggestion{height:68px}.composer-outer{padding:9px 12px 14px}.composer-tip,.breadcrumb,.crumb-sep,.header-divider{display:none}.header-left{gap:8px}.composer-outer .composer{border-radius:13px}.messages{padding-top:19px}.admin-view{padding:21px 15px}.admin-title{align-items:flex-start}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:16px}.stat-card .metric{font-size:26px}.admin-title h1{font-size:24px}.mode-pill{font-size:9px}.message.user .msg-content{max-width:88%}}@media(max-height:650px) and (min-width:751px){.hero-orb{height:50px;width:50px;margin-bottom:12px}.welcome-screen p{margin:10px auto 17px}.suggestion{height:67px}.welcome-screen{padding:5px 0}}
