*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Tahoma,"Noto Sans Arabic",sans-serif;background:#fafaf7;color:#23332e}button,input,textarea{font:inherit}button{cursor:pointer}[hidden]{display:none!important}:root{--navy:#111c2a;--green:#287b62;--mint:#d8f0df;--text:#263832;--muted:#8a9690;--line:#e7ece7}.app{min-height:100dvh;display:flex}.rail{width:66px;background:var(--navy);display:flex;align-items:center;flex-direction:column;padding:17px 0;gap:14px;flex-shrink:0}.logo{height:40px;width:40px;border-radius:14px;background:linear-gradient(145deg,#d8f4e2,#8bcbb0);color:#1c4a3e;display:grid;place-items:center;font-weight:bold;font-size:20px}.logo.small{height:34px;width:34px;border-radius:12px;font-size:17px}.rail-icon{width:38px;height:38px;border:0;background:transparent;color:#99aaa4;border-radius:12px;font-size:17px}.rail-icon.active,.rail-icon:hover{background:#ffffff15;color:#d6f3e1}.spacer{flex:1}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:66px;background:#fff;border-bottom:1px solid #edf0ed;display:flex;justify-content:space-between;align-items:center;padding:0 26px}.brand{display:flex;align-items:center;gap:10px}.brand b{font-size:14px;display:block}.brand small{font-size:10px;color:#99a29d;display:block;margin-top:3px}.top-actions{display:flex;align-items:center;gap:9px}.status{display:flex;align-items:center;gap:7px;background:#f1f6f2;border-radius:20px;padding:8px 11px;color:#65766c;font-size:10px}.status i{width:7px;height:7px;background:#56a880;border-radius:50%}.icon-button{width:35px;height:35px;border-radius:11px;border:1px solid var(--line);color:#75877d;background:#fff}.auth{flex:1;display:grid;place-items:center;padding:26px}.auth-card{width:min(100%,390px);background:#fff;border:1px solid #edf0ed;border-radius:22px;padding:29px;box-shadow:0 18px 55px #24352e0c}.auth-logo{width:54px;height:54px;margin-bottom:19px;border-radius:18px;background:linear-gradient(145deg,#e3f4e8,#c5e8d2);display:grid;place-items:center;color:#45856b;font-size:25px}.eyebrow{font-size:10px;letter-spacing:.04em;color:#4d987b;font-weight:bold}.auth h1{font-size:23px;margin:8px 0}.muted{font-size:12px;line-height:1.8;color:#89958f;margin:0 0 23px}.auth label{display:block;font-size:11px;font-weight:bold;margin:15px 0 7px;color:#586860}.auth input{height:46px;width:100%;border:1px solid #e2e9e3;border-radius:11px;padding:0 12px;outline:0;color:#263832;background:#fff;font-size:12px}.auth input:focus{border-color:#8bbda0;box-shadow:0 0 0 3px #76ab8a18}.primary,.secondary{width:100%;height:46px;border-radius:11px;font-size:12px}.primary{border:0;background:linear-gradient(110deg,#287b62,#388e70);color:#fff;margin-top:21px;font-weight:bold}.primary span,.secondary span{margin-right:8px}.secondary{margin-top:10px;background:#fff;border:1px solid #e7ece7;color:#65756c}.privacy{display:block;text-align:center;font-size:9px;color:#a1aaa4;margin-top:16px}.error{margin-top:11px;padding:9px;border-radius:9px;background:#fff0ef;color:#a24d48;font-size:10px;line-height:1.7}.chat{width:min(100%,1000px);margin:0 auto;flex:1;min-height:0;display:flex;flex-direction:column;padding:0 30px 18px}.chat-head{display:flex;align-items:center;gap:12px;padding:24px 3px 17px}.moon-avatar{height:43px;width:43px;border-radius:15px;background:linear-gradient(145deg,#e0f2e4,#bcdfc9);display:grid;place-items:center;color:#47836a;font-size:22px;flex:none}.chat-head h1{font-size:18px;margin:0 0 4px}.chat-head p{font-size:10px;color:#909b95;margin:0}.demo-tag{margin-right:auto;color:#987f43;background:#fbf5e4;border-radius:15px;padding:6px 9px;font-size:9px}.guest-notice{font-size:10px;color:#826e41;background:#fbf7eb;border:1px solid #f0e6cc;border-radius:10px;padding:9px 12px;margin-bottom:10px}.messages{flex:1;min-height:140px;overflow:auto;display:flex;flex-direction:column;gap:15px;padding:6px 2px 16px}.welcome{text-align:center;align-self:center;margin:auto auto 14px;max-width:430px;padding:15px}.welcome-icon{width:65px;height:65px;border-radius:22px;background:linear-gradient(145deg,#e2f2e5,#c4e5d0);display:grid;place-items:center;margin:0 auto 14px;color:#4b896c;font-size:27px}.welcome h2{font-size:18px;margin:0 0 8px;color:#395348}.welcome p{font-size:11px;line-height:1.9;color:#919b94;margin:0 auto 14px}.welcome-chips{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.welcome-chips span{background:#fff;border:1px solid #e9efea;padding:6px 10px;border-radius:16px;color:#78867e;font-size:9px}.row{display:flex;align-items:flex-end;gap:8px;max-width:85%;animation:up .2s}.row.user{align-self:flex-start;flex-direction:row-reverse}.row.assistant{align-self:flex-end}.avatar{width:27px;height:27px;border-radius:9px;background:#e4f1e8;color:#538b6f;display:grid;place-items:center;flex:none;font-size:11px}.row.user .avatar{background:#e8edf2;color:#718494}.bubble{border:1px solid #edf0ed;background:#fff;border-radius:14px 14px 4px 14px;padding:10px 13px;color:#3c4c44;font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.row.user .bubble{background:#eaf4ed;border-color:#e3eee5;border-radius:14px 14px 14px 4px}.typing{display:flex;gap:5px;padding:15px}.typing i{height:6px;width:6px;background:#79a98e;border-radius:50%;animation:pulse .7s alternate infinite}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}@keyframes pulse{to{opacity:.4;transform:translateY(-3px)}}@keyframes up{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.suggestions{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;padding:7px 0 12px}.suggestions button{border:1px solid #e5ebe5;background:#fff;color:#75837b;border-radius:18px;padding:7px 11px;font-size:9px}.suggestions button:hover{color:#367a5e;border-color:#b4d4c0}.composer{position:relative;min-height:58px;display:flex;align-items:center;gap:9px;border:1px solid #e4ebe5;border-radius:15px;background:#fff;padding:9px 11px 22px;box-shadow:0 7px 25px #283b3008}.composer:focus-within{border-color:#a8cfb6;box-shadow:0 0 0 3px #77ad8c15}.composer textarea{flex:1;resize:none;min-height:24px;max-height:130px;border:0;outline:0;background:transparent;color:#33463c;font-size:12px;line-height:1.8}.send{height:35px;width:35px;border:0;border-radius:11px;background:#2a7d61;color:#fff;font-size:16px;transform:rotate(180deg)}.send:disabled{opacity:.5}.composer small{position:absolute;bottom:5px;left:14px;color:#b1bab4;font-size:8px}.disclaimer{text-align:center;font-size:9px;color:#aab3ad;margin:11px 0 0}.memory{position:fixed;z-index:5;right:66px;top:66px;bottom:0;width:min(320px,calc(100vw - 66px));padding:21px;background:#fff;border-right:1px solid #edf0ed;box-shadow:-12px 0 32px #172a1715;transform:translateX(110%);transition:.2s;display:flex;flex-direction:column}.memory.open{transform:translateX(0)}.memory-head{display:flex;justify-content:space-between;align-items:flex-start}.memory-head h2{font-size:16px;margin:6px 0}.memory-head button{height:29px;width:29px;border:0;border-radius:8px;background:#f2f5f2;color:#66746c;font-size:19px}.memory>p{font-size:10px;color:#8c9891;line-height:1.9;margin:12px 0 18px}.memory-text{border:1px solid #e8eee8;background:#fbfcfa;border-radius:12px;padding:13px;min-height:140px;white-space:pre-wrap;overflow-wrap:anywhere;color:#6d7b71;font-size:10px;line-height:2}.clear{margin-top:12px;height:39px;border:1px solid #f0dfdc;border-radius:10px;background:#fffafa;color:#9d6862;font-size:10px}.veil{position:fixed;inset:66px 66px 0 0;background:#10211716;z-index:4;display:none}.veil.show{display:block}.toast{position:fixed;z-index:8;bottom:20px;left:50%;transform:translate(-50%,16px);opacity:0;pointer-events:none;transition:.2s;background:#1c3029;color:#f3faf5;border-radius:11px;padding:10px 15px;font-size:10px;max-width:calc(100vw - 24px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:700px){.rail{width:50px;padding-top:12px}.logo{width:34px;height:34px;border-radius:12px}.rail-icon{width:34px;height:34px}.topbar{height:58px;padding:0 12px}.brand small{display:none}.chat{height:calc(100dvh - 58px);padding:0 12px 12px}.chat-head{padding:16px 2px 12px}.chat-head h1{font-size:16px}.chat-head p{font-size:9px}.moon-avatar{width:38px;height:38px}.messages{gap:12px}.row{max-width:94%}.bubble{font-size:11px;padding:9px 11px}.suggestions{justify-content:flex-start;flex-wrap:nowrap;overflow:auto;scrollbar-width:none}.suggestions button{white-space:nowrap;flex:none}.composer{padding-bottom:9px;min-height:54px}.composer small{display:none}.memory{right:50px;top:58px;width:min(310px,calc(100vw - 50px))}.veil{inset:58px 50px 0 0}.status{font-size:9px;padding:7px 9px}.auth{padding:15px}.auth-card{padding:23px}.disclaimer{font-size:8px}}
