@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;500;600;700&family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");:root{--cream:#f7fbfe;--paper:#ffffff;--ink:#253e52;--muted:#627d90;--line:#e5edf5;--sage:#dff7fe;--font:"DM Sans",sans-serif}*{box-sizing:border-box}body{margin:0;background:#f2f7fc;color:var(--ink);font-family:var(--font);font-size:14px}button,input,textarea{font:inherit}a,button,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:2px solid var(--terracotta);outline-offset:4px}input:focus,textarea:focus{outline:none}button{transition:background .18s,transform .18s}button:active:not(:disabled){transform:translateY(1px)}.app{display:grid;grid-template-columns:84px 350px minmax(0,1fr);height:100dvh;max-width:1800px;margin:auto;overflow:hidden}.rail{background:#eef4fd;border-inline-end:1px solid #e0eaf6;display:flex;flex-direction:column;align-items:center;padding:30px 0 22px}.brand-symbol{font-family:Manrope,sans-serif;font-size:42px;font-weight:800;letter-spacing:-6px;line-height:1;position:relative;padding-inline-end:9px}.brand-symbol span{font-size:24px;color:var(--terracotta);position:absolute;top:-5px;right:-6px}.rail-links{display:flex;flex-direction:column;gap:14px;margin-top:58px}.rail-button{width:46px;height:46px;border-radius:14px;color:#6e86a0;display:grid;place-items:center;position:relative}.rail-button:hover{background:#e0eafb}.rail-button.active{background:#bfeafa;color:#275c78}.rail-dot{position:absolute;right:11px;top:10px;width:5px;height:5px;background:#cfbaf0;border:1px solid #bfeafa;border-radius:50%}.rail-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:24px}.profile{display:grid;place-items:center;background:#f1c0e8;color:#704f7c;font-family:Georgia,serif;font-size:23px;width:40px;height:40px;border-radius:50%;position:relative}.profile span{position:absolute;width:9px;height:9px;border:2px solid #eef4fd;border-radius:50%;background:#3f947d;bottom:0;right:0}.sidebar{background:var(--cream);border-inline-end:1px solid var(--line);display:flex;flex-direction:column;min-height:0;padding:0 19px}.sidebar-header{justify-content:space-between;padding:29px 8px 34px}.sidebar-header,.wordmark{display:flex;align-items:center}.wordmark{font-family:Manrope,sans-serif;font-size:30px;letter-spacing:-1.6px;font-weight:800;gap:3px}.wordmark span{color:var(--terracotta);font-size:27px;transform:translateY(-4px)}.family-label{font-size:11px;color:#6e87a0}.inbox-title{display:flex;align-items:center;justify-content:space-between;padding:0 8px}.inbox-title h1{font-family:Manrope,sans-serif;font-weight:750;font-size:23px;letter-spacing:-.8px;margin:0 0 9px}.inbox-title h1 span{font-size:20px}.inbox-title p{margin:0;color:#6c8396;font-size:12px}.new-chat{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d8e7f2;border-radius:10px;background:#ffffff}.new-chat:hover{background:#e5f5fc}.search{display:flex;align-items:center;gap:9px;background:#edf4fa;border:1px solid transparent;border-radius:10px;padding:12px;margin:26px 6px 20px;color:#738aa0}.search:focus-within{border-color:#64bad9}.search input{min-width:0;width:100%;border:0;background:none;color:var(--ink);font-size:12px}.search input::placeholder{color:#73899b}.search kbd{white-space:nowrap;font-family:inherit;font-size:10px;background:#ffffff;padding:3px 4px;border-radius:3px}.filters{display:flex;gap:4px;padding:0 6px 24px}.filters button{font-size:11px;border-radius:7px;padding:8px 11px;color:#637e94;white-space:nowrap}.filters button.selected{background:#d3f1fc;color:#266581;font-weight:600}.filters button span{font-size:9px;background:#e3e9fa;border-radius:4px;padding:1px 4px;margin-inline-start:5px}.list-label{font-size:9px;letter-spacing:1.6px;color:#71899f;padding:0 12px 12px;display:flex;align-items:center;justify-content:space-between}.list-label span{letter-spacing:0}.chat-list{overflow-y:auto}.chat-item{width:100%;display:flex;align-items:center;gap:12px;padding:17px 12px;text-align:start;border-radius:12px;margin:2px 0 5px}.chat-item:hover{background:#eef8fe}.chat-item.selected{background:#e2f4fc}.avatar{width:45px;height:45px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:15px;font-family:Manrope,sans-serif;font-size:14px;font-weight:650;position:relative;letter-spacing:-.4px}.sage{background:#b9fbc0;color:#37764b;font-size:24px}.rose{background:#ffcfD2;color:#8b5266}.sand{background:#fbf8cc;color:#83733c}.peach{background:#fde4cf;font-size:23px}.lavender{background:#cfbaf0;color:#705b95}.blue{background:#a3c4f3;color:#426a9b}.avatar i{position:absolute;bottom:-1px;right:-1px;background:#54a88d;border:2px solid var(--cream);width:10px;height:10px;border-radius:50%}.avatar.small{width:30px;height:30px;border-radius:11px;font-size:11px}.chat-item-content{flex:1 1;min-width:0}.chat-item-top{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:8px}.chat-item-top strong{font-size:12px;font-weight:650;white-space:nowrap}.chat-item-top time{font-size:9px;color:#71879b;white-space:nowrap}.chat-item.selected .chat-item-top time{color:#377b99}.chat-item-bottom{display:flex;align-items:center;gap:6px}.chat-item-bottom>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10.5px;color:#70889c;flex:1 1}.chat-item-bottom b{background:#a3c4f3;color:#264b70;font-size:9px;font-weight:500;width:17px;height:17px;display:grid;place-items:center;border-radius:6px}.sidebar-note{margin:auto 7px 22px;padding:19px 13px 17px;background:#f3edfc;border:1px solid #e6dcf5;border-radius:12px;display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden}.note-art{color:#a089c2;display:flex;align-items:center;gap:11px;transform:rotate(-10deg);width:fit-content}.note-art span{font-size:28px;font-weight:400;color:#b6a1d2}.sidebar-note strong{font-size:11px;font-weight:500;color:#715c8d}.sidebar-note p{font-size:10px;color:#84749a;line-height:1.5;margin:6px 0 0}.sidebar-footer{display:flex;gap:6px;align-items:center;justify-content:center;color:#71889b;font-size:9px;padding:0 0 24px}.status-dot{width:5px;height:5px;border-radius:50%;display:inline-block;background:#4f9d82;flex-shrink:0}.conversation{display:flex;flex-direction:column;min-height:0;background:var(--paper);position:relative}.chat-header{gap:13px;padding:23px 34px 21px;border-bottom:1px solid var(--line);min-height:95px;background:#ffffff}.chat-header,.chat-heading h2{display:flex;align-items:center}.chat-heading h2{gap:12px;font-family:Manrope,sans-serif;font-size:16px;font-weight:750;letter-spacing:-.4px;margin:0 0 7px}.chat-heading h2 svg{color:#758b9d}.chat-heading p{font-size:10px;color:#6b8397;display:flex;align-items:center;gap:5px;margin:0}.header-actions{display:flex;align-items:center;gap:12px;margin-inline-start:auto}.assistant-toggle{display:flex;align-items:center;gap:7px;color:#5e689d;background:#eee9fc;border:1px solid #dfd8f1;padding:9px 12px;border-radius:8px;font-size:10px}.assistant-toggle.enabled,.assistant-toggle:hover{background:#e0d7f4}.header-divider{height:22px;width:1px;background:var(--line);margin:0 3px}.icon-button{color:#758b9d;width:30px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;flex-shrink:0}.icon-button:hover{background:#edf5fc;color:#407393}.back{display:none}.conversation-subtitle{display:flex;justify-content:center;align-items:center;gap:7px;padding:13px;color:#62859d;background:#f1faff;font-size:10px;border-bottom:1px solid #e6f3fb}.conversation-subtitle svg{color:#8ba9c3}.messages{overflow-y:auto;flex:1 1;padding:24px 44px 12px;scrollbar-width:thin;scrollbar-color:#d4e7f2 transparent;background-image:radial-gradient(#b2aa9410 .7px,transparent 0);background-size:9px 9px}.date-divider{display:flex;align-items:center;justify-content:center;gap:17px;color:#728c9f;font-size:9px;margin:0 auto 28px;max-width:310px}.date-divider span{height:1px;background:#e3edf5;flex:1 1}.message-row{display:flex;gap:10px;align-items:flex-start;margin-bottom:19px;max-width:84%}.message-avatar{padding-top:1px}.message-avatar.hidden{visibility:hidden}.message-content{min-width:0}.sender-name{font-size:10px;font-weight:600;margin:1px 0 7px}.sender-name span{font-weight:400;font-size:9px;color:#8596a7;margin-inline-start:8px}.bubble{font-size:12px;line-height:1.7;padding:11px 15px;border:1px solid #e7edf7;background:#f2f5fc;border-radius:0 12px 12px 12px;white-space:pre-wrap;width:fit-content;overflow-wrap:anywhere}.message-time{font-size:8px;color:#7c93a6;margin-top:5px;display:flex;align-items:center;gap:5px}.message-row.continued{margin-top:-12px}.photo-bubble{max-width:350px;padding:11px 11px 8px}.cabin-photo{height:160px;background:linear-gradient(0deg,#192a2a66,transparent 55%),url(https://images.unsplash.com/photo-1449158743715-0a90ebb6d2d8?auto=format&fit=crop&w=900&q=85) center 55%/cover;border-radius:7px;margin-top:10px;display:flex;align-items:flex-end;overflow:hidden}.photo-caption{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px;color:white;font-size:9px}.photo-caption>span:first-child{display:flex;gap:5px;align-items:center}.own{margin-inline-start:auto;justify-content:flex-end}.own .bubble{background:#d8f3fc;border:1px solid #c4eaf8;border-radius:12px 0 12px 12px;color:#2d6079}.own .message-time{justify-content:flex-end}.own .message-time svg{color:#4a99b6}.composer-wrap{padding:0 34px 16px;background:#ffffff}.ai-hint{display:flex;gap:8px;align-items:center;font-size:10px;color:#75869e;padding:11px 0 15px}.ai-hint>svg{color:#9e85bf}.hint-action{gap:4px;color:#667ba0;margin-inline-start:3px}.composer,.hint-action{display:flex;align-items:center}.composer{gap:10px;border:1px solid #dbe9f3;border-radius:13px;padding:10px 12px;background:#ffffff;box-shadow:0 3px 10px #52432c03}.composer:focus-within{border-color:#90dbf4}.composer textarea{resize:none;flex:1 1;min-width:0;border:0;line-height:24px;font-size:12px;background:transparent;color:var(--ink);max-height:120px;padding:3px}.composer textarea::placeholder{color:#7c91a5}.send-button{width:35px;height:35px;background:#90dbf4;border-radius:9px;color:#234e68;display:grid;place-items:center;flex-shrink:0}.send-button:hover{background:#79cce8}.send-button:disabled{opacity:.6}.composer-footer{display:flex;align-items:center;justify-content:space-between;color:#7b91a6;font-size:8px;padding:11px 4px 0}.key-icon{display:inline-block;margin-inline-start:5px}.emoji-container{position:relative}.emoji-picker{position:absolute;right:0;bottom:48px;display:grid;grid-template-columns:repeat(4,1fr);background:#ffffff;border:1px solid var(--line);box-shadow:0 10px 30px #253e5212;border-radius:12px;padding:8px;width:180px}.emoji-picker button{font-size:22px;padding:6px}.emoji-picker button:hover{background:#edf4fc;border-radius:8px}.ai-panel{background:#f5f0fc;border:1px solid #e4daf3;border-radius:13px;margin:8px 34px 13px;padding:17px}.ai-panel-heading{display:flex;gap:10px;align-items:center}.ai-panel-heading strong{font-size:12px;font-weight:600}.ai-panel-heading p{font-size:9px;color:#807098;margin:4px 0 0}.ai-panel-heading>.icon-button{margin-inline-start:auto}.ai-icon{width:32px;height:32px;border-radius:10px;background:#e6daf6;display:grid;place-items:center;color:#8464a6}.tone-row{display:flex;align-items:center;gap:7px;margin-top:15px;flex-wrap:wrap}.tone-row>span{font-size:10px;color:#807393;margin-inline-end:3px}.tone-row button{font-size:10px;padding:7px 10px;border:1px solid #e1d6ee;border-radius:7px}.tone-row button.active{background:#e2d4f4;border-color:#cfbaf0}.tone-row button.generate{margin-inline-start:auto;display:flex;align-items:center;gap:5px;background:#90dbf4;border-color:#90dbf4;color:white}.suggestion{margin-top:12px;border-top:1px solid #e5dcef;padding-top:8px}.suggestion p{font-size:12px;line-height:1.7;margin:4px 0 10px}.suggestion button{display:flex;align-items:center;gap:5px;color:#4f6c99;font-size:11px;font-weight:600}.empty-list{text-align:center;color:#627d90;font-size:12px;line-height:1.8;padding:25px 10px}.empty-chat{text-align:center;margin:90px auto;color:#6f879e}.empty-chat>span{font-size:40px}.empty-chat h2{font-family:Manrope,sans-serif;font-size:18px;font-weight:600}.empty-chat p{font-size:12px}.modal-backdrop{position:fixed;inset:0;z-index:20;background:#253e5259;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:420px;max-height:90dvh;overflow:auto;background:var(--paper);padding:32px;border:1px solid #e0e9f4;border-radius:23px;box-shadow:0 30px 100px #38382c20;position:relative}.modal-close{position:absolute;right:15px;top:15px}.modal-illustration{display:block;font-size:32px;margin-bottom:18px}.modal h2{font-family:Manrope,sans-serif;font-size:22px;letter-spacing:-.7px;margin:12px 0}.modal>p{color:#70859d;font-size:12px;line-height:1.6;margin-bottom:25px}.modal-tabs{display:flex;background:#eef4fc;border-radius:10px;padding:4px;margin:18px 0;gap:5px}.modal-tabs button{flex:1 1;padding:9px;border-radius:7px;font-size:12px}.modal-tabs .active{background:#ffffff;box-shadow:0 1px 5px #00000008}.field-label{font-size:11px;color:#647c95;display:block;margin:17px 0 10px}.field-label input{display:block;width:100%;margin-top:8px;border:1px solid #dce7f3;border-radius:9px;padding:12px;background:#ffffff;font-size:12px;color:var(--ink)}.field-label input:focus{border-color:#90dbf4}.contact-list button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 2px;text-align:start}.contact-list strong{font-size:12px;font-weight:500}.checkbox{margin-inline-start:auto;border:1px solid #cbdbea;border-radius:5px;width:18px;height:18px;display:grid;place-items:center}.checkbox.checked{background:#507d9f;border-color:#507d9f;color:white}.primary-button{width:100%;margin-top:23px;display:flex;gap:10px;align-items:center;justify-content:center;background:var(--terracotta);color:#254c68;border-radius:9px;padding:13px;font-size:12px}.info-members>div{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--line)}.info-members strong{font-size:12px;font-weight:500}.info-members>div>span:last-child{margin-inline-start:auto;font-size:10px;color:#768da1}.setting-profile{display:flex;gap:14px;align-items:center;padding:15px;background:#f5edfc;border-radius:12px}.setting-profile strong{font-size:13px}.setting-profile p{font-size:11px;color:#807390;margin:5px 0 0}.setting-row{display:flex;align-items:center;gap:12px;width:100%;margin:23px 0;font-size:12px}.switch{width:32px;height:19px;border-radius:20px;background:#d6e1ee;margin-inline-start:auto;padding:3px}.switch:before{content:"";display:block;width:13px;height:13px;border-radius:50%;background:#ffffff;transition:transform .2s}.switch.on{background:#6cb8d2}.switch.on:before{transform:translateX(13px)}.demo-note{background:#f1ecfb;border-radius:12px;padding:14px;display:flex;gap:10px;color:#77638f}.demo-note svg{flex-shrink:0;margin-top:3px}.demo-note p{font-size:11px;line-height:1.7;margin:0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:40;max-width:calc(100% - 30px);width:fit-content;background:#3e493b;color:#fffdf4;box-shadow:0 4px 20px #0002;border-radius:12px;display:flex;align-items:center;gap:12px;padding:15px 18px;font-size:12px}.toast>svg{flex-shrink:0}.toast button{color:inherit;display:grid;place-items:center}@media(min-width:1500px){.app{grid-template-columns:90px 390px minmax(0,1fr)}.messages{padding-inline-start:65px;padding-inline-end:65px}.chat-item{padding-top:21px;padding-bottom:21px}.chat-item-top strong{font-size:13px}.chat-item-bottom>span{font-size:12px}.bubble{font-size:13px}.cabin-photo{height:190px}.photo-bubble{max-width:390px}}@media(max-height:830px) and (min-width:761px){.sidebar-header{padding-top:22px;padding-bottom:26px}.sidebar-note{padding:14px;margin-bottom:16px;gap:8px}.note-art{display:none}.chat-item{padding-top:14px;padding-bottom:14px}.messages{padding-top:18px}.message-row{margin-bottom:14px}.cabin-photo{height:140px}.date-divider{margin-bottom:20px}}@media(max-width:1100px){.app{grid-template-columns:70px 310px minmax(0,1fr)}.sidebar{padding:0 12px}.chat-header{padding:21px}.messages{padding:22px}.composer-wrap{padding:0 22px 15px}.ai-panel{margin-inline-start:22px;margin-inline-end:22px}.header-actions{gap:6px}.header-divider,.more{display:none}.assistant-toggle{padding:9px}.chat-heading h2{font-size:14px}.chat-header .avatar{width:39px;height:39px}.message-row{max-width:94%}.family-label{font-size:10px}.chat-item-top strong{font-size:11px}}@media(max-width:760px){.app{display:block;height:100dvh}.rail{display:none}.sidebar{height:100dvh;border:0;padding:0 17px}.sidebar-header{padding:25px 8px 30px}.wordmark{font-size:33px}.family-label{font-size:12px}.inbox-title h1{font-size:26px}.inbox-title p{font-size:13px}.new-chat{width:39px;height:39px}.search{padding:14px;margin-top:25px}.search input{font-size:13px}.filters button{font-size:12px;padding:9px 14px}.list-label{font-size:10px}.chat-item{padding:17px 12px;margin-bottom:7px;gap:13px}.chat-item .avatar{width:49px;height:49px;font-size:15px}.chat-item .peach,.chat-item .sage{font-size:25px}.chat-item-top strong{font-size:14px}.chat-item-top time{font-size:10px}.chat-item-bottom>span{font-size:12px}.sidebar-note{margin-top:auto;margin-bottom:20px;padding:17px;flex-direction:row;gap:16px;align-items:center}.note-art{display:flex}.sidebar-note strong{font-size:11px}.sidebar-note p{font-size:10px}.sidebar-footer{font-size:9px;padding-bottom:20px}.conversation{display:none;height:100dvh}.chat-open .sidebar{display:none}.chat-open .conversation{display:flex}.chat-header{padding:17px 14px;gap:10px;min-height:82px}.back{display:inline-flex;width:23px}.chat-heading h2{font-size:14px;gap:5px}.chat-heading p{font-size:9px;gap:4px}.chat-header .avatar{width:39px;height:39px;border-radius:13px}.header-actions{gap:5px}.assistant-toggle{padding:9px;border-radius:10px}.assistant-toggle span{display:none}.header-actions>.icon-button{width:25px}.conversation-subtitle{font-size:9px;padding:12px}.messages{padding:22px 16px 10px}.date-divider{font-size:9px;margin-bottom:25px}.message-row{max-width:94%;gap:8px;margin-bottom:18px}.bubble{font-size:12px;padding:10px 12px}.sender-name{font-size:10px}.sender-name span{font-size:8px}.message-avatar .avatar{width:27px;height:27px;border-radius:9px;font-size:10px}.photo-bubble{max-width:285px;padding:10px 9px 7px}.cabin-photo{height:145px}.message-time{font-size:8px}.own{max-width:86%}.composer-wrap{padding:0 13px max(13px,env(safe-area-inset-bottom))}.composer{padding:9px;gap:6px}.composer textarea{font-size:13px}.ai-hint{font-size:9px;gap:5px;padding:12px 4px}.hint-action{font-size:9px;margin-inline-start:auto}.composer-footer{font-size:8px;padding-top:10px}.ai-panel{margin:6px 13px 12px;padding:13px}.tone-row{gap:6px}.tone-row>span{display:none}.tone-row button{font-size:9px;padding:7px 8px}.ai-panel-heading strong{font-size:11px}.modal{padding:27px;max-width:420px;border-radius:20px}.modal h2{font-size:21px}.toast{bottom:20px;width:calc(100% - 30px);font-size:11px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}:root{--sky:#90dbf4;--lavender:#cfbaf0;--pink:#f1c0e8;--mint:#98f5e1;--lemon:#fbf8cc;--terracotta:#90dbf4}.sidebar-header{border-top:4px solid transparent;border-image:linear-gradient(90deg,#fbf8cc,#fde4cf,#ffcfD2,#f1c0e8,#cfbaf0,#a3c4f3,#90dbf4,#8eecf5,#98f5e1,#b9fbc0) 1}.brand-symbol span,.wordmark span{color:#65b7d9}.sidebar-language{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.language-switch{font-size:11px;font-weight:600;border:1px solid #cce6f3;background:#edf9ff;color:#376c8c;border-radius:8px;padding:7px 10px;white-space:nowrap}.language-switch:hover{background:#d8f2fc}.family-label{font-size:10px}.chat-item.selected{box-shadow:inset 3px 0 0 #90dbf4}.sidebar-note{background:linear-gradient(115deg,#f5edfc,#fcebf7 65%,#fff6e7)}.rail-button.active{color:#356685;background:#cceffa}.bubble{color:#334f65}.primary-button,.tone-row button.generate{color:#254c68}.header-actions{gap:8px}[lang=ar]{--font:"Noto Sans Arabic","DM Sans",sans-serif;font-family:var(--font)}[lang=ar] .avatar,[lang=ar] h1,[lang=ar] h2{font-family:var(--font);letter-spacing:0}[lang=ar] .brand-symbol,[lang=ar] .wordmark{font-family:Manrope,sans-serif}[lang=ar] .list-label{letter-spacing:0;font-size:11px}[lang=ar] .chat-item-top strong{font-size:12px}[lang=ar] .chat-item-bottom>span{font-size:11px}[lang=ar] .bubble{line-height:1.9;font-size:13px}[dir=rtl] .chat-item.selected{box-shadow:inset -3px 0 0 #90dbf4}[dir=rtl] .bubble{border-radius:12px 0 12px 12px}[dir=rtl] .own .bubble{border-radius:0 12px 12px 12px}[dir=rtl] .back svg,[dir=rtl] .send-button svg{transform:scaleX(-1)}[dir=rtl] .modal-close{right:auto;left:15px}[dir=rtl] .emoji-picker{right:auto;left:0}[dir=rtl] .switch.on:before{transform:translateX(-13px)}.chat-item-top time,.message-time{direction:ltr;unicode-bidi:isolate}.bubble,.chat-item-bottom>span{unicode-bidi:plaintext}[lang=ar] .search kbd{direction:ltr}@media(max-width:1100px) and (min-width:761px){.assistant-toggle span{display:none}.chat-header{gap:8px}.header-actions{gap:4px}.language-switch{padding:7px;font-size:10px}}@media(max-width:760px){.sidebar-language{flex-direction:row;align-items:center;gap:12px}.sidebar-header{padding-top:21px}.chat-header .language-switch{font-size:10px;padding:7px}.header-actions{gap:3px}.chat-heading{min-width:0}.chat-heading h2{overflow-wrap:anywhere}.chat-heading p{flex-wrap:wrap;line-height:1.5}.chat-header{gap:7px}.header-actions>.icon-button{display:none}[lang=ar] .chat-item-top strong{font-size:14px}[lang=ar] .chat-item-bottom>span{font-size:12px}[lang=ar] .ai-hint,[lang=ar] .hint-action{font-size:9px}.tone-row button.generate{margin-inline-start:auto}.ai-panel-heading strong{line-height:1.7}.sidebar-note{flex-shrink:0}.header-actions>.icon-button:not(.more){display:inline-flex;width:22px}.chat-heading h2{font-size:13px}.chat-header{padding-inline:10px}}.auth-page{min-height:100dvh;display:grid;place-items:center;padding:28px 18px;background:radial-gradient(ellipse at 15% 20%,#cfbaf05c,transparent 45%),radial-gradient(ellipse at 85% 80%,#90dbf473,transparent 50%),#f7fbff}.auth-card{width:100%;max-width:430px;background:#ffffffed;border:1px solid #dfeaf5;border-radius:26px;box-shadow:0 20px 80px #668db51a;padding:30px}.auth-card header{justify-content:space-between;gap:12px}.auth-art,.auth-card header{display:flex;align-items:center}.auth-art{margin:34px 0 18px;font-size:37px;gap:18px;justify-content:center}.auth-art span{font-size:22px;color:#b9a0dd}.auth-card h1{font-size:23px;line-height:1.65;letter-spacing:-.6px;margin:0;text-align:center}.auth-card>p{color:#74889e;text-align:center;line-height:1.8;margin:8px 0 25px}.auth-card .field-label,.auth-card>p{font-size:12px}.field-label small{display:block;font-size:10px;line-height:1.8;color:#7f91a4;margin-top:6px}.auth-card input{font-size:16px}.auth-card footer{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#879bb0;margin-top:24px}.form-error{color:#a33f60;background:#ffedf1;border:1px solid #f4d2dd;padding:11px;border-radius:9px;font-size:12px;line-height:1.8}.form-help{font-size:11px;line-height:1.8;color:#6f839a}.mobile-settings{display:none}.heading-button{text-align:start;padding:0;min-width:0}.heading-button h2{overflow-wrap:anywhere}.welcome-chat{margin:auto;text-align:center;padding:30px;max-width:450px}.welcome-cloud{font-size:85px;filter:drop-shadow(0 12px 14px #a3c4f34a)}.welcome-chat h2{font-size:23px;line-height:1.7;letter-spacing:-.6px}.welcome-chat p{font-size:13px;color:#7f92a5;line-height:1.8}.username-chip{display:inline-block;padding:9px 14px;background:#eee7fc;border:1px solid #dfd3f3;border-radius:10px;font-size:14px;color:#796299}.welcome-chat .primary-button{max-width:250px;margin:26px auto}.connection-banner{font-size:10px;line-height:1.7;background:#fff1dd;border:1px solid #f1dfc5;padding:10px;border-radius:9px;margin:0 6px 15px;color:#8b6d3e}.connection-banner button{color:inherit;font-weight:600;text-decoration:underline;margin-inline-start:8px}.message-photo{display:block;max-width:100%;max-height:330px;object-fit:contain;border-radius:8px;margin-top:8px}.attachment-preview{display:flex;align-items:flex-start;gap:7px;margin:4px 0 10px;padding:10px;background:#f2f7fc;border-radius:10px;width:fit-content}.attachment-preview img{width:76px;height:76px;object-fit:cover;border-radius:7px}.ai-privacy{font-size:10px;line-height:1.8;color:#7e7194;margin:10px 0}.load-older{display:block;margin:0 auto 22px;font-size:11px;color:#597a9e;padding:8px 16px;border:1px solid #dce9f3;border-radius:18px;background:#f4f9fd}.contact-search{display:flex;align-items:center;gap:9px}.contact-search label{flex:1 1;min-width:0}.contact-search>button{margin-top:24px}.contact-list small{display:block;font-size:10px;color:#8393a8;margin-top:4px}.contact-list{max-height:240px;overflow-y:auto}.logout-button{margin-top:24px;border:1px solid #efdce5;background:#fff3f7;padding:11px;border-radius:9px;width:100%;display:flex;align-items:center;justify-content:center;gap:9px;color:#9f5574;font-size:12px}.spinner{width:15px;height:15px;border:2px solid #37728e40;border-top-color:#37728e;border-radius:50%;animation:spin .8s linear infinite}.message-time>span{display:flex}.chat-item-top strong{overflow:hidden;text-overflow:ellipsis}.info-members strong{overflow-wrap:anywhere}.info-members>div>span:last-child{max-width:45%;overflow-wrap:anywhere}.toast{line-height:1.8}.modal{overscroll-behavior:contain}.chat-list{flex:1 1;min-height:80px}.sidebar-note{flex-shrink:0;margin-top:16px}.messages .date-divider{white-space:nowrap}.chat-heading h2{max-width:320px}.primary-button:hover:not(:disabled){background:#7fcfe9}@keyframes spin{to{transform:rotate(1turn)}}@media(max-width:760px){.mobile-settings{display:inline-flex}.auth-card{padding:25px 22px}.auth-card h1{font-size:21px}.auth-art{margin-top:25px}.field-label input{font-size:16px}.welcome-chat{padding:20px}.chat-heading h2{max-width:145px}.message-photo{max-height:250px}.ai-privacy{font-size:9px}.sidebar-note{margin-top:12px;margin-bottom:16px}.auth-page{padding-bottom:max(20px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}