*{box-sizing:border-box}:root{--primary:#5b5fef;--primary2:#00c2ff;--success:#19d7a1;--bg:#06101f;--bg2:#081528;--panel:#101d37;--panel2:#162847;--text:#f7f9ff;--muted:#9aaed5;--border:rgba(255,255,255,.09)}html,body,#root{width:100%;min-height:100%;margin:0}body{font-family:Poppins,sans-serif;color:var(--text);background:linear-gradient(135deg,#06101f,#081528 55%,#06111d)}button,input,textarea,select{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}a{text-decoration:none}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:linear-gradient(var(--primary),var(--primary2));border-radius:99px}::-webkit-scrollbar-track{background:transparent}::selection{background:var(--primary);color:#fff}.app-shell{width:100%;height:100dvh;display:flex;overflow:hidden;background:radial-gradient(circle at 8% 0%,rgba(91,95,239,.13),transparent 28%),radial-gradient(circle at 95% 100%,rgba(0,194,255,.1),transparent 30%)}.app-sidebar{width:292px;min-width:292px;height:100%;display:flex;flex-direction:column;padding:22px 18px 16px;background:#071225f7;border-right:1px solid var(--border);z-index:100;transition:width .28s ease,min-width .28s ease,transform .28s ease}.sidebar-collapsed .app-sidebar{width:84px;min-width:84px}.sidebar-top{position:relative}.brand{width:100%;display:flex;align-items:center;gap:12px;background:none;border:0;color:#fff;text-align:left;padding:5px 7px 18px}.brand img{width:55px;height:55px;object-fit:contain;flex:0 0 55px;border-radius:13px}.brand-copy{display:flex;flex-direction:column;min-width:0}.brand-copy strong{font-size:16px;white-space:nowrap}.brand-copy small{color:var(--muted);font-size:9px;white-space:nowrap;margin-top:3px}.collapse-btn{position:absolute;right:-4px;top:10px;width:28px;height:28px;border:1px solid var(--border);border-radius:9px;background:#162847;color:#fff}.new-chat{width:100%;height:54px;border:0;border-radius:16px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;font-weight:700;box-shadow:0 14px 30px #0091ff2e}.new-chat i{margin-right:8px}.side-nav{display:flex;flex-direction:column;gap:6px;margin-top:24px}.side-link{min-height:48px;display:flex;align-items:center;gap:13px;padding:0 14px;border-radius:14px;color:#d9e4ff;transition:.2s}.side-link i{width:20px;text-align:center;color:#9eb4db}.side-link:hover{background:#ffffff0d}.side-link.active{background:linear-gradient(135deg,#5b5fef45,#00c2ff1f);box-shadow:inset 3px 0 var(--primary2)}.side-link.active i{color:#fff}.sidebar-bottom{margin-top:auto;padding-top:14px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:5px}.sidebar-collapsed .brand-copy,.sidebar-collapsed .new-chat span,.sidebar-collapsed .side-link span{display:none}.sidebar-collapsed .brand{justify-content:center}.sidebar-collapsed .collapse-btn{right:-7px}.sidebar-collapsed .side-link{justify-content:center;padding:0}.sidebar-collapsed .new-chat i{margin:0}.app-main{min-width:0;flex:1;height:100%;display:flex;flex-direction:column;overflow:hidden}.app-header{height:82px;min-height:82px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:#071122e0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:40}.header-title{display:flex;align-items:center;gap:12px}.header-title h1{font-size:24px;margin:0;font-weight:800}.mobile-menu{display:none;width:44px;height:44px;border:0;border-radius:13px;background:#162746;color:#fff}.header-actions{display:flex;align-items:center;gap:12px}.icon-btn{position:relative;width:46px;height:46px;border:1px solid var(--border);border-radius:14px;background:#162746;color:#fff;display:grid;place-items:center}.notification-dot{position:absolute;right:9px;top:9px;width:7px;height:7px;border-radius:50%;background:#ff4d6d;border:1px solid #162746}.user-profile{display:flex;align-items:center;gap:10px;padding:6px 12px 6px 7px;border-radius:50px;background:#162746}.user-profile img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid rgba(91,95,239,.7)}.user-profile div{display:flex;flex-direction:column}.user-profile strong{font-size:14px}.user-profile small{font-size:11px;color:#8fa5d1}.app-content{min-height:0;flex:1;overflow:auto;padding:30px}.sidebar-overlay{display:none}.landing-page{min-height:100vh;background:#f5f9ff;color:#172033;overflow:hidden;position:relative}.landing-shape{position:absolute;border-radius:50%;filter:blur(70px);z-index:0}.shape1{width:260px;height:260px;background:#5b5fef33;top:-80px;left:-80px}.shape2{width:350px;height:350px;background:#00b7ff22;right:-100px;top:180px}.shape3{width:280px;height:280px;background:#ffb70322;bottom:-120px;left:40%}.landing-hero{position:relative;z-index:1;width:100%;min-height:100vh;display:flex;align-items:center;justify-content:space-between;padding:60px 7%;gap:50px}.landing-left{width:64%;animation:fadeUp .8s ease}.landing-logo{display:flex;align-items:center;gap:15px;margin-bottom:30px}.logo-circle{width:68px;height:68px;border-radius:50%;overflow:hidden;background:#fff;display:grid;place-items:center;box-shadow:0 10px 25px #00000014}.logo-circle img{width:53px}.landing-logo span{font-size:21px;font-weight:700}.landing-left h1{font-size:62px;line-height:1.16;margin:0 0 22px;font-weight:800}.landing-left h1 span{display:block;background:linear-gradient(90deg,#5b5fef,#00c2ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.landing-left p{max-width:650px;font-size:18px;line-height:1.9;color:#667085;margin:0 0 28px}.landing-features{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:30px}.landing-feature{display:flex;align-items:center;gap:10px;background:#fff;padding:11px 17px;border-radius:14px;box-shadow:0 10px 30px #0000000d}.landing-feature i{width:40px;height:40px;border-radius:50%;background:#eef3ff;color:#5b5fef;display:grid;place-items:center}.landing-feature span{font-weight:600}.start-btn{display:inline-flex;align-items:center;gap:12px;padding:17px 34px;border:0;border-radius:60px;background:linear-gradient(135deg,#5b5fef,#00c2ff);color:#fff;font-size:17px;font-weight:700;box-shadow:0 18px 40px #5b5fef59}.start-btn i{width:40px;height:40px;border-radius:50%;background:#fff2;display:grid;place-items:center}.landing-right{position:relative;width:36%;max-width:610px;animation:fadeUp 1s ease}.slider{position:relative;height:620px;overflow:hidden;border-radius:32px;background:#fff;padding:12px;box-shadow:0 25px 70px #0000001f}.slide{position:absolute;inset:12px;opacity:0;visibility:hidden;border-radius:24px;overflow:hidden;transition:opacity .8s ease}.slide.active{opacity:1;visibility:visible}.slide img{width:100%;height:100%;object-fit:cover}.dots{display:flex;justify-content:center;gap:9px;margin-top:18px}.dot{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#ccd4dd}.dot.active{width:36px;border-radius:20px;background:linear-gradient(90deg,#5b5fef,#00c2ff)}@keyframes fadeUp{0%{opacity:0;transform:translateY(25px)}to{opacity:1;transform:none}}.dashboard-hero{min-height:100%;display:grid;grid-template-columns:34% 66%;gap:30px;align-items:center}.dashboard-robot{min-height:520px;display:grid;place-items:center;border:1px solid var(--border);border-radius:32px;background:#ffffff0a;box-shadow:0 25px 60px #00000040}.dashboard-robot img{width:85%;max-width:430px;animation:robotFloat 5s ease-in-out infinite}@keyframes robotFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-15px)}}.dashboard-copy{padding-right:10px}.welcome-badge{display:inline-flex;padding:9px 16px;border-radius:50px;background:#5b5fef2e;border:1px solid rgba(255,255,255,.08);font-size:13px;margin-bottom:18px}.dashboard-copy h2{font-size:44px;line-height:1.15;margin:0 0 14px;font-weight:800}.dashboard-copy h2 span{background:linear-gradient(90deg,#5b5fef,#00c2ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.dashboard-copy>p{color:var(--muted);font-size:16px;line-height:1.8;max-width:700px;margin:0 0 25px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-card{position:relative;min-height:170px;padding:22px;text-align:left;border:1px solid var(--border);border-radius:22px;color:#fff;background:linear-gradient(180deg,#ffffff0f,#ffffff08);overflow:hidden;transition:.25s}.dashboard-card:not(:disabled){cursor:pointer}.dashboard-card:not(:disabled):hover{transform:translateY(-6px);border-color:var(--primary);box-shadow:0 20px 40px #5b5fef2e}.dashboard-card:disabled{cursor:default;opacity:.92}.dashboard-card>i:first-child{width:55px;height:55px;border-radius:16px;display:grid;place-items:center;font-size:23px;margin-bottom:18px}.card1>i:first-child{background:#5b5fef}.card2>i:first-child{background:#00c2ff}.card3>i:first-child{background:#17d39b}.card4>i:first-child{background:#ff9f43}.card5>i:first-child{background:#ff4d6d}.card6>i:first-child{background:#7d5fff}.dashboard-card h3{font-size:18px;margin:0 0 7px}.dashboard-card p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.dashboard-card .arrow{position:absolute;right:18px;bottom:18px;color:#9ba7c2}.chat-page{width:100%;max-width:1500px;margin:0 auto}.chat-topbar-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.back-btn,.new-conversation-btn{border:1px solid var(--border);background:#162746;color:#fff;border-radius:12px;padding:9px 13px}.new-conversation-btn{background:linear-gradient(135deg,#5b5fef,#00c2ff);border-color:transparent}.selection-card{padding:28px;border:1px solid var(--border);border-radius:26px;background:linear-gradient(145deg,#111f3af7,#0c1a31f2);box-shadow:0 20px 50px #0003}.selection-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.selection-header h2{font-size:25px;margin:0 0 7px}.selection-header h2 i{color:#6469ff;margin-right:9px}.selection-header p{margin:0;color:var(--muted);font-size:13px}.status{padding:8px 15px;border-radius:50px;color:var(--success);background:#19d7a11a;border:1px solid rgba(25,215,161,.16);font-size:12px;font-weight:700}.selection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:9px}.field>span{color:#d9e4ff;font-size:13px;font-weight:700}.field>span i{color:#6268ff;margin-right:7px}.field select{height:58px;border:1px solid transparent;border-radius:16px;padding:0 16px;background:#162847;color:#fff;outline:none}.field select:focus{border-color:#5b5fefa6;box-shadow:0 0 0 4px #5b5fef1a}.field select:disabled{opacity:.5;cursor:not-allowed}.start-chat-area{display:flex;justify-content:center;margin-top:22px}.start-chat-btn{width:min(100%,650px);min-height:95px;border:0;border-radius:22px;color:#fff;background:linear-gradient(135deg,#5960ef,#09baf5);display:flex;align-items:center;justify-content:center;gap:18px;box-shadow:0 18px 45px #1498ff38}.start-chat-btn .icon{width:58px;height:58px;border-radius:50%;background:#fff2;display:grid;place-items:center;font-size:23px}.start-chat-btn strong{display:block;font-size:20px}.start-chat-btn small{display:block;font-size:11px;color:#eef8ff;margin-top:3px}.prompt-section{margin:30px 0 22px}.prompt-section h2{font-size:24px;margin:0 0 18px}.prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.prompt-card{min-height:135px;padding:20px;border:1px solid var(--border);border-radius:19px;text-align:left;background:#14233dc7;color:#fff}.prompt-card:hover{transform:translateY(-3px);border-color:#5b5fef8c}.prompt-card i{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#5960ef,#09baf5);display:grid;place-items:center;margin-bottom:14px}.prompt-card span{font-size:13px;line-height:1.6}.conversation-card{margin-top:22px;border:1px solid var(--border);border-radius:25px;background:#08142659;padding:18px;min-height:300px}.message-row{display:flex}.message-bubble{max-width:min(760px,80%);padding:13px 17px;border-radius:18px;background:#142544;border:1px solid var(--border);line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.typing{display:flex;gap:6px;align-items:center}.typing span{width:8px;height:8px;border-radius:50%;background:#5b5fef;animation:typing .8s infinite}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,80%,to{opacity:.4;transform:scale(.6)}40%{opacity:1;transform:scale(1)}}.empty-chat h2{font-size:25px;margin:0 0 10px}.empty-chat p{max-width:650px;color:#a1b4da;line-height:1.8;margin:0}.chat-input-wrapper{margin-top:16px}.chat-box{display:flex;align-items:flex-end;gap:10px;padding:9px;border:1px solid var(--border);border-radius:22px;background:#101f39f7}.left-icon{width:48px;height:48px;flex:0 0 48px;border:0;border-radius:14px;background:#172b4d;color:#fff}.chat-box textarea{flex:1;min-width:0;min-height:48px;max-height:180px;padding:12px 2px;border:0;outline:0;resize:none;background:transparent;color:#fff;line-height:23px;overflow-y:auto}.send-btn{width:52px;height:52px;flex:0 0 52px;border:0;border-radius:16px;background:linear-gradient(135deg,#5960ef,#09baf5);color:#fff}.chat-footer-info{display:flex;justify-content:space-between;gap:12px;color:#8ea5d1;font-size:11px;padding:9px 3px 2px}.chat-footer-info>div{display:flex;gap:12px;flex-wrap:wrap}.placeholder-page{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.placeholder-page h2{font-size:34px;margin:0 0 8px}.placeholder-page p{color:var(--muted)}.placeholder-page button{border:0;border-radius:14px;padding:12px 18px;background:linear-gradient(135deg,#5b5fef,#00c2ff);color:#fff}@media(max-width:1200px){.landing-hero{padding:50px 5%}.landing-left h1{font-size:52px}.slider{height:540px}.dashboard-hero{grid-template-columns:1fr}.dashboard-robot{min-height:300px}.dashboard-copy{padding:0}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.app-sidebar{position:fixed;left:0;top:0;transform:translate(-105%);box-shadow:25px 0 60px #00000073}.app-sidebar.show{transform:translate(0)}.sidebar-overlay{position:fixed;inset:0;z-index:90;display:block;background:#0000008c;opacity:0;pointer-events:none;transition:.2s}.sidebar-overlay.show{opacity:1;pointer-events:auto}.mobile-menu{display:grid;place-items:center}.app-header{padding:0 18px}.app-content{padding:22px 18px}.sidebar-collapsed .app-sidebar{width:292px;min-width:292px}.sidebar-collapsed .brand-copy,.sidebar-collapsed .new-chat span,.sidebar-collapsed .side-link span{display:block}.landing-hero{flex-direction:column;text-align:center;padding:45px 24px}.landing-left,.landing-right{width:100%;max-width:700px}.landing-logo,.landing-features{justify-content:center}.landing-left p{margin-left:auto;margin-right:auto}.landing-right{margin-top:20px}.slider{height:480px}.selection-grid,.prompt-grid{grid-template-columns:1fr}}@media(max-width:650px){.header-title h1{font-size:19px}.header-actions .icon-btn,.user-profile div{display:none}.user-profile{padding-right:7px}.dashboard-grid{grid-template-columns:1fr}.dashboard-copy h2{font-size:34px}.dashboard-robot{min-height:240px}.landing-left h1{font-size:38px}.landing-left p{font-size:15px}.landing-logo span{font-size:17px}.slider{height:390px}.selection-card{padding:20px}.selection-header{flex-direction:column}.chat-topbar-actions{flex-wrap:wrap}.conversation-card{padding:12px}.message-bubble{max-width:92%;font-size:14px}.chat-footer-info{flex-direction:column}}.chat-page{width:100%;max-width:1500px;margin:0 auto;display:flex;flex-direction:column;min-height:100%}.conversation-card{width:100%;flex:1 1 auto;min-height:0;margin-top:22px;border:1px solid var(--border);border-radius:25px;background:#08142659;padding:18px;overflow:hidden}.message-row{display:flex;width:100%}.message-row.user{justify-content:flex-end}.message-row.assistant{justify-content:flex-start}.message-bubble{max-width:min(760px,80%);padding:14px 18px;border-radius:18px;background:#142544;border:1px solid var(--border);line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.message-row.user .message-bubble{background:linear-gradient(135deg,#5960ef,#09baf5);border:0;border-radius:18px 18px 5px}.empty-chat{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.empty-icon{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#5960ef,#09baf5);font-size:38px;margin-bottom:20px}.chat-input-wrapper{position:sticky;bottom:0;z-index:50;width:100%;flex:0 0 auto;padding:14px 0 6px;background:linear-gradient(to bottom,#07112200,#071122e6 30%,#071122)}.chat-box{width:100%;min-height:70px;display:flex;align-items:flex-end;gap:10px;padding:9px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:#101f39fa;box-shadow:0 18px 45px #00000059}.left-icon{width:48px;height:48px;flex:0 0 48px;border:0;border-radius:14px;background:#172b4d;color:#fff;display:grid;place-items:center;cursor:pointer}.chat-box textarea{flex:1 1 auto;width:100%;min-width:0;min-height:48px;max-height:180px;padding:12px 2px;border:0;outline:0;resize:none;overflow-y:auto;background:transparent;color:#fff;font-family:inherit;font-size:15px;line-height:23px}.chat-box textarea::placeholder{color:#8195bb}.send-btn{width:52px;height:52px;flex:0 0 52px;border:0;border-radius:16px;background:linear-gradient(135deg,#5960ef,#09baf5);color:#fff;display:grid;place-items:center;cursor:pointer}.send-btn:disabled{opacity:.45;cursor:not-allowed}.chat-page-footer{width:100%;flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 3px 4px;color:#8ea5d1;font-size:11px}.chat-page-footer>div{display:flex;gap:12px;flex-wrap:wrap}.conversation-scroll{overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;min-height:0;padding-bottom:150px;scroll-padding-bottom:150px}.chat-messages{display:flex;flex-direction:column;gap:18px;width:100%}.main-content{flex:1 1 auto;min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.chat-composer{width:100%;min-height:82px;display:flex;align-items:center;gap:14px;padding:10px;background:#111f3d;border:1px solid rgba(130,160,220,.18);border-radius:24px;box-sizing:border-box;box-shadow:0 10px 35px #00000040,inset 0 1px #ffffff06;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.chat-composer:focus-within{border-color:#4696ff73;box-shadow:0 10px 35px #00000040,0 0 0 3px #4678ff14}.chat-composer.chat-composer-disabled{opacity:.9}.chat-composer-plus{width:58px;height:58px;flex:0 0 58px;display:flex;align-items:center;justify-content:center;border:0;border-radius:17px;background:#1a315a;color:#fff;font-size:23px;cursor:pointer;transition:background .2s ease,transform .2s ease}.chat-composer-plus:hover:not(:disabled){background:#244273;transform:translateY(-1px)}.chat-composer-plus:active:not(:disabled){transform:scale(.96)}.chat-composer-plus:disabled{opacity:.5;cursor:not-allowed}.chat-composer-input{flex:1;width:100%;min-width:0;min-height:58px;max-height:150px;resize:none;border:0;outline:none;background:transparent;color:#fff;font-family:inherit;font-size:18px;line-height:1.5;padding:16px 4px;box-sizing:border-box;overflow-y:auto}.chat-composer-input::placeholder{color:#8ea3ca;opacity:1}.chat-composer-input::-webkit-scrollbar{width:5px}.chat-composer-input::-webkit-scrollbar-track{background:transparent}.chat-composer-input::-webkit-scrollbar-thumb{background:#7896d259;border-radius:20px}.chat-composer-input:disabled{cursor:not-allowed;opacity:.65}.chat-composer-send{width:58px;height:58px;flex:0 0 58px;display:flex;align-items:center;justify-content:center;border:0;border-radius:17px;color:#fff;font-size:21px;background:linear-gradient(135deg,#5865f2,#18b8ed);cursor:pointer;box-shadow:0 8px 20px #22a0ff33;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.chat-composer-send:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 28px #22a0ff4d}.chat-composer-send:active:not(:disabled){transform:scale(.95)}.chat-composer-send:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.chat-composer-loader{display:flex;align-items:center;justify-content:center;gap:4px}.chat-composer-loader span{width:5px;height:5px;border-radius:50%;background:#fff;animation:composerLoader 1.2s infinite ease-in-out}.chat-composer-loader span:nth-child(1){animation-delay:0s}.chat-composer-loader span:nth-child(2){animation-delay:.15s}.chat-composer-loader span:nth-child(3){animation-delay:.3s}@keyframes composerLoader{0%,60%,to{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}@media(max-width:768px){.chat-composer{min-height:70px;padding:7px;gap:8px;border-radius:19px}.chat-composer-plus,.chat-composer-send{width:50px;height:50px;flex-basis:50px;border-radius:15px}.chat-composer-input{min-height:50px;padding:13px 2px;font-size:16px}}@media(max-width:480px){.chat-composer{min-height:64px;padding:6px;gap:6px;border-radius:17px}.chat-composer-plus,.chat-composer-send{width:46px;height:46px;flex-basis:46px;border-radius:13px;font-size:17px}.chat-composer-input{min-height:46px;padding:11px 1px;font-size:15px}}.chat-page{width:100%;height:calc(100vh + -0px);min-height:0;display:flex;flex-direction:column;overflow:hidden;position:relative}.chat-topbar-actions{flex:0 0 auto;width:100%;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;box-sizing:border-box;background:transparent;z-index:20}.back-btn,.new-conversation-btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;color:#fff;font-family:inherit;font-size:16px;font-weight:600;border-radius:14px;padding:13px 18px;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.back-btn{background:#172b4e;border:1px solid rgba(130,160,220,.16)}.new-conversation-btn{background:linear-gradient(135deg,#5865f2,#12b9ee);box-shadow:0 8px 25px #2882ff2e}.back-btn:hover,.new-conversation-btn:hover{transform:translateY(-1px)}.chat-selection-screen{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:10px 28px 30px;box-sizing:border-box}.chat-active-layout{flex:1;min-height:0;position:relative;display:flex;flex-direction:column;overflow:hidden}.conversation-card{flex:1;min-height:0;width:100%;overflow:hidden;position:relative;box-sizing:border-box;border:1px solid rgba(120,150,210,.15);border-radius:24px 24px 0 0;background:linear-gradient(135deg,#09172dfa,#051b2afa)}.conversation-scroll{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;box-sizing:border-box;padding:35px 28px 145px;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5965f2 transparent}.conversation-scroll::-webkit-scrollbar{width:8px}.conversation-scroll::-webkit-scrollbar-track{background:transparent}.conversation-scroll::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#5965f2,#10bceb);border-radius:20px}.chat-scroll-anchor{width:1px;height:1px;margin:0;padding:0}.chat-composer-fixed{position:absolute;left:0;right:0;bottom:0;z-index:50;padding:14px 28px 12px;box-sizing:border-box;background:linear-gradient(to top,#061326 45%,#061326f5 75%,#06132600);pointer-events:none}.chat-composer-fixed>*{pointer-events:auto}.chat-composer{width:100%;min-height:76px;display:flex;align-items:center;gap:12px;padding:9px;box-sizing:border-box;border-radius:24px;background:#132445fa;border:1px solid rgba(130,160,220,.2);box-shadow:0 15px 45px #00000059,0 0 0 1px #ffffff05;transition:border-color .2s ease,box-shadow .2s ease}.chat-composer:focus-within{border-color:#508cff8c;box-shadow:0 15px 45px #00000059,0 0 0 3px #5078ff14}.chat-composer-plus{width:56px;height:56px;flex:0 0 56px;border:0;border-radius:17px;background:#1a315b;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer}.chat-composer-plus:hover{background:#244476}.chat-composer-input{flex:1;min-width:0;width:100%;min-height:56px;max-height:150px;resize:none;border:0;outline:0;background:transparent;color:#fff;font-family:inherit;font-size:18px;line-height:1.5;padding:14px 4px;box-sizing:border-box;overflow-y:auto}.chat-composer-input::placeholder{color:#8da2ca;opacity:1}.chat-composer-send{width:56px;height:56px;flex:0 0 56px;border:0;border-radius:17px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#5865f2,#10b9ed);color:#fff;font-size:20px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.chat-composer-send:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px #1eaaff4d}.chat-composer-send:disabled{opacity:.4;cursor:not-allowed}.chat-page-footer{width:100%;min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 5px 0;box-sizing:border-box;color:#91a8d1;font-size:13px}.selected-material-info{display:flex;align-items:center;gap:16px;min-width:0}.ai-context-info{text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thinking{display:flex;align-items:flex-start;gap:12px;max-width:80%;margin:10px 0 20px}.thinking-avatar{width:38px;height:38px;flex:0 0 38px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#5965f2,#10b9ed)}.thinking-content{min-width:65px;min-height:48px;padding:15px 18px;display:flex;align-items:center;gap:5px;border-radius:18px;background:#162b4f;border:1px solid rgba(130,160,220,.14)}.thinking-content span{width:6px;height:6px;border-radius:50%;background:#91a8d1;animation:chatThinking 1.2s infinite ease-in-out}.thinking-content span:nth-child(2){animation-delay:.15s}.thinking-content span:nth-child(3){animation-delay:.3s}@keyframes chatThinking{0%,60%,to{transform:translateY(0);opacity:.35}30%{transform:translateY(-4px);opacity:1}}@media(max-width:768px){.chat-topbar-actions{min-height:62px;padding:12px 15px}.back-btn,.new-conversation-btn{padding:10px 13px;font-size:14px}.back-btn span{display:none}.chat-selection-screen{padding:8px 12px 20px}.conversation-card{border-radius:18px 18px 0 0}.conversation-scroll{padding:25px 15px 135px}.chat-composer-fixed{padding:10px 10px 8px}.chat-composer{min-height:66px;border-radius:19px;gap:7px;padding:7px}.chat-composer-plus,.chat-composer-send{width:48px;height:48px;flex-basis:48px;border-radius:14px}.chat-composer-input{min-height:48px;font-size:16px;padding:12px 2px}.chat-page-footer{font-size:11px;padding-top:5px}.selected-material-info{gap:8px}.ai-context-info{display:none}}@media(max-width:480px){.chat-topbar-actions{gap:8px}.new-conversation-btn span{display:none}.new-conversation-btn{width:44px;height:44px;padding:0;border-radius:13px}.chat-composer-plus,.chat-composer-send{width:44px;height:44px;flex-basis:44px}.chat-composer-input{font-size:15px}.chat-page-footer{flex-direction:column;align-items:flex-start;gap:2px}}
