/*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:"Vazirmatn", system-ui, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.block{display:block}.table{display:table}}html{font-family:Vazirmatn,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:#0d101b;color:#f3f2ff;font-family:Vazirmatn,sans-serif;font-size:14px;line-height:1.7}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #aa91ff;outline-offset:2px}::selection{background:#7055c8;color:#fff}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.brand-mark{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(145deg,#af92ff,#7659df 70%,#5b47b6);box-shadow:0 7px 25px #7457e155,inset 0 1px #fff7}.brand-mark svg{transform:scaleX(-1)}.primary-button{min-height:46px;border:0;border-radius:13px;padding:10px 20px;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(125deg,#a78bfa,#8665ed);color:#fff;font-weight:750;box-shadow:0 8px 22px #7857d83d;transition:transform .2s,filter .2s}.primary-button:not(:disabled):hover{transform:translateY(-2px);filter:brightness(1.09)}.boot-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;font-size:23px;font-weight:800}.boot-screen p{font-size:14px;color:#a7a6ba;font-weight:400;margin:0}.auth-page{min-height:100dvh;position:relative;overflow:hidden;background:radial-gradient(ellipse at 7% 8%,#32215d 0%,transparent 37%),radial-gradient(ellipse at 92% 90%,#202447 0%,transparent 40%),#10111c;padding:24px 6vw 20px;display:flex;flex-direction:column}.auth-glow{position:absolute;border-radius:50%;filter:blur(85px);pointer-events:none}.auth-glow-one{width:260px;height:260px;background:#7654d326;left:8%;top:20%}.auth-glow-two{width:320px;height:320px;background:#665ac01c;right:0;bottom:0}.auth-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px;direction:ltr;justify-content:flex-end;font-weight:900;font-size:17px;letter-spacing:1.4px}.auth-layout{position:relative;z-index:1;width:100%;max-width:1120px;margin:auto;display:grid;grid-template-columns:1fr 420px;gap:clamp(40px,8vw,130px);align-items:center;padding:54px 0}.auth-intro{max-width:550px}.eyebrow{display:inline-flex;gap:8px;align-items:center;padding:8px 13px;border:1px solid #ab91ff35;border-radius:30px;color:#baa9ff;background:#a78bfa0d;font-size:13px}.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:#ad93ff;box-shadow:0 0 12px #ad93ff}.auth-intro h1{font-size:clamp(40px,4.4vw,65px);line-height:1.38;letter-spacing:-1px;margin:23px 0 16px;font-weight:900}.auth-intro h1 em{font-style:normal;color:#a88bff}.auth-intro>p{color:#b4b4c7;font-size:16px;max-width:390px;line-height:2}.intro-points{display:flex;gap:14px;flex-wrap:wrap;margin-top:38px}.intro-points span{display:flex;align-items:center;gap:7px;color:#cdcbdd;font-size:13px}.intro-points svg{color:#a88bff}.auth-card{border:1px solid #ffffff19;border-radius:26px;padding:34px;background:linear-gradient(148deg,#242235df,#1b1d2ce9);box-shadow:0 25px 80px #07071266,inset 0 1px #ffffff16;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.auth-card-head{text-align:center;margin-bottom:28px}.auth-icon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;margin:0 auto 15px;background:#a88bff1e;color:#bb9fff}.auth-card h2{font-size:23px;margin:0 0 4px;font-weight:850}.auth-card-head p{margin:0;color:#a7a6b9}.auth-form,.profile-form{display:grid;gap:17px}.auth-form label,.profile-form label{display:grid;gap:7px;color:#dad8e9;font-weight:650;font-size:13px}.auth-form input,.profile-form input,.profile-form textarea,.edit-modal textarea{width:100%;border-radius:12px;border:1px solid #ffffff1c;background:#11121f;color:#fff;outline:0;padding:12px 14px;min-height:47px;resize:vertical}.auth-form input:focus,.profile-form input:focus,.profile-form textarea:focus,.edit-modal textarea:focus{border-color:#a88bff;box-shadow:0 0 0 3px #a88bff1e}.auth-form input::placeholder,.profile-form textarea::placeholder{color:#78778c}.input-with-prefix{position:relative}.input-with-prefix span{position:absolute;left:14px;top:11px;color:#8e8ca4;font-size:17px}.input-with-prefix input{padding-left:34px}.auth-submit{width:100%;margin-top:7px;justify-content:center}.form-error{border:1px solid #ff8b9a52;background:#ec52671c;border-radius:10px;color:#ffacb6;padding:9px 12px;margin:0;font-size:13px}.auth-switch{text-align:center;border-top:1px solid #ffffff13;margin-top:28px;padding-top:21px;color:#a7a6b9}.auth-switch button{border:0;background:none;color:#b79cff;font-weight:750;padding:3px}.auth-switch button:hover{text-decoration:underline}.auth-footer{text-align:center;color:#696a80;font-size:12px;position:relative}.app-shell{display:flex;height:100dvh;min-height:500px;overflow:hidden;background:#11131f}.sidebar{width:365px;max-width:36%;flex:none;display:flex;flex-direction:column;background:#191b2a;border-left:1px solid #ffffff13;z-index:2}.sidebar-top{height:78px;padding:0 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff0f}.brand{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:900;letter-spacing:1.2px;direction:ltr}.brand .brand-mark{width:37px;height:37px;border-radius:12px}.icon-btn{border:0;background:transparent;color:#a7a8bc;width:42px;height:42px;border-radius:11px;display:grid;place-items:center;flex:none;transition:background .2s,color .2s}.icon-btn:hover{background:#ffffff12;color:#f4efff}.sidebar-heading{display:flex;align-items:end;justify-content:space-between;padding:26px 23px 17px}.section-kicker{font-size:11px;color:#aa91ff;font-weight:800;letter-spacing:.2px}.sidebar-heading h1{font-size:23px;line-height:1.4;margin:2px 0 0;font-weight:900}.count-pill{display:inline-grid;place-items:center;background:#a88bff24;color:#bca6ff;min-width:23px;height:23px;border-radius:7px;font-size:12px;vertical-align:middle;margin-right:5px}.new-chat-btn{border:0;background:#9e80f7;color:#fff;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;box-shadow:0 6px 18px #8166e145;transition:transform .2s}.new-chat-btn:hover{transform:translateY(-2px);background:#ad96ff}.sidebar-search,.drawer-search{height:44px;margin:0 20px 23px;background:#252737;border:1px solid #ffffff0a;border-radius:12px;display:flex;align-items:center;gap:10px;padding:0 13px;color:#898aa1}.sidebar-search:focus-within,.drawer-search:focus-within{border-color:#a88bff88}.sidebar-search input,.drawer-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#fff;font-size:13px}.sidebar-search input::placeholder,.drawer-search input::placeholder{color:#85869a}.list-label{display:flex;align-items:center;justify-content:space-between;padding:0 24px 10px;color:#8e90a6;font-size:12px;font-weight:700}.list-label button{border:0;background:transparent;color:#8e90a6;padding:4px;display:grid;place-items:center}.list-label button:hover{color:#c3aaff}.chat-list{flex:1;overflow-y:auto;padding:0 10px 10px}.chat-row{width:100%;display:flex;align-items:center;gap:12px;padding:13px 12px;border:0;border-radius:13px;color:inherit;text-align:right;background:transparent;transition:background .15s}.chat-row:hover{background:#ffffff0b}.chat-row.active{background:#a88bff1d}.avatar{flex:none;width:47px;height:47px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#50476e,#36304f);color:#e2d3ff;font-size:20px;font-weight:800;border:1px solid #ffffff16}.avatar-large{width:78px;height:78px;border-radius:25px;font-size:31px;background:linear-gradient(145deg,#986fe2,#5c4ba8)}.chat-row:nth-child(4n+2) .avatar,.result-row:nth-child(4n+2) .avatar{background:linear-gradient(145deg,#3d5c80,#324163);color:#b9d9ff}.chat-row:nth-child(4n+3) .avatar,.result-row:nth-child(4n+3) .avatar{background:linear-gradient(145deg,#72526e,#493551);color:#ffcfef}.chat-row-content{min-width:0;flex:1;display:grid;gap:3px}.chat-row-top,.chat-row-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.chat-row-top strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-row-top small{color:#777b91;font-size:11px;white-space:nowrap}.chat-row-bottom>span{color:#9496aa;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.chat-row-bottom b{background:#a78bfa;border-radius:15px;min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;color:#fff;font-size:11px}.sidebar-user{margin:0 14px max(13px,env(safe-area-inset-bottom));padding:12px 10px;border:1px solid #ffffff0d;border-radius:15px;background:#242637;color:inherit;display:flex;align-items:center;text-align:right;gap:11px;min-width:0}.sidebar-user:hover{background:#2c2d41}.sidebar-user .avatar{width:39px;height:39px;border-radius:12px;font-size:17px}.sidebar-user>span:nth-child(2){display:grid;flex:1;min-width:0}.sidebar-user strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px}.sidebar-user small{color:#8d8ea4;text-align:right;font-size:11px;overflow:hidden;text-overflow:ellipsis}.sidebar-user>svg{color:#9290a8}.main-area{flex:1;min-width:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 85% 8%,#25203d 0%,transparent 39%),radial-gradient(ellipse at 15% 90%,#172238 0%,transparent 42%),#121520}.welcome-view{margin:auto;display:flex;align-items:center;flex-direction:column;text-align:center;padding:30px 20px;max-width:420px}.welcome-art{width:230px;height:230px;position:relative;display:grid;place-items:center;margin-bottom:15px}.welcome-orbit{position:absolute;border:1px solid #a88bff25;border-radius:50%;top:10px;right:10px;bottom:10px;left:10px}.orbit-two{top:38px;right:38px;bottom:38px;left:38px;border-color:#a88bff3d}.welcome-core{height:104px;width:104px;border-radius:32px;background:linear-gradient(145deg,#bd9cff,#6f54d4);box-shadow:0 18px 65px #7556de6b,inset 0 2px 2px #ffffff70;display:grid;place-items:center;transform:rotate(-11deg)}.welcome-core svg{transform:rotate(11deg) scaleX(-1)}.spark{position:absolute;color:#c6aaff}.spark-a{top:15px;right:40px;font-size:24px}.spark-b{bottom:32px;left:31px;font-size:16px}.welcome-label{color:#aa91ff;font-size:12px;font-weight:800}.welcome-view h2{font-size:27px;margin:9px 0 4px}.welcome-view p{color:#9b9caf;line-height:2;margin:0 0 25px}.conversation-header{height:76px;flex:none;padding:0 28px;background:#1b1d2cbb;border-bottom:1px solid #ffffff12;display:flex;align-items:center;justify-content:space-between;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.header-person,.header-actions{display:flex;align-items:center;gap:12px}.header-person>div{display:grid;line-height:1.5}.header-person strong{font-size:15px}.header-person small{font-size:12px;color:#9696ab;text-align:right}.header-person .avatar{height:42px;width:42px;border-radius:13px;font-size:17px}.mobile-back{display:none}.messages-scroller{flex:1;min-height:0;overflow-y:auto;scroll-behavior:smooth}.messages-inner{max-width:850px;margin:0 auto;padding:28px 28px 15px;min-height:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:15px}.message-line{display:flex;align-items:flex-end;gap:8px}.message-line.mine{justify-content:flex-start}.message-line.theirs{justify-content:flex-end}.message-bubble{max-width:min(74%,600px);min-width:95px;border-radius:18px;padding:11px 14px 7px;background:#2b2e40;box-shadow:0 4px 15px #090a1420}.mine .message-bubble{background:linear-gradient(135deg,#765bc7,#6a52b6);border-bottom-right-radius:5px}.theirs .message-bubble{border-bottom-left-radius:5px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:14px}.message-meta{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:#c9c5e3;font-size:10px;margin-top:3px}.theirs .message-meta{color:#9b9caf}.message-tools{display:flex;align-items:center;gap:1px;opacity:0;transition:opacity .2s}.message-line:hover .message-tools,.message-tools:focus-within{opacity:1}.message-tools button{border:0;background:#ffffff0b;color:#aaa8bb;width:28px;height:28px;border-radius:8px;display:grid;place-items:center}.message-tools button:hover{color:#d1bbff;background:#ffffff1c}.conversation-empty{align-self:center;margin:auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px;color:#a7a6ba;max-width:290px}.conversation-empty div{display:grid;place-items:center;height:58px;width:58px;border-radius:20px;background:#a88bff1a;color:#b79dff;margin-bottom:6px}.conversation-empty strong{font-size:17px;color:#f0eeff}.conversation-empty span{font-size:13px}.message-loading,.soft-state{display:flex;align-items:center;justify-content:center;gap:9px;color:#9999af;padding:24px;text-align:center}.older-button{align-self:center;background:#25283a;color:#bda7ff;border:1px solid #a88bff2a;border-radius:30px;padding:7px 15px;display:flex;align-items:center;gap:6px}.composer-wrap{padding:12px 25px max(15px,env(safe-area-inset-bottom));background:#191c2a9e;border-top:1px solid #ffffff0d}.composer{max-width:850px;margin:auto;display:flex;align-items:flex-end;gap:9px;background:#292c3d;border:1px solid #ffffff11;border-radius:17px;padding:7px 8px 7px 15px}.composer:focus-within{border-color:#a88bff76}.composer textarea{flex:1;min-width:0;max-height:135px;resize:none;background:none;color:#fff;border:0;outline:0;padding:9px;line-height:1.7}.composer textarea::placeholder{color:#898ba0}.composer button{display:grid;place-items:center;width:43px;height:43px;flex:none;border:0;border-radius:12px;background:#9c7cf3;color:#fff}.composer button:hover:not(:disabled){background:#ad91ff}.composer-note{display:block;text-align:center;color:#777a8f;font-size:10px;margin-top:6px}.inline-error{max-width:850px;margin:0 auto 8px;background:#ec52671b;border-radius:9px;padding:7px 10px;color:#ffb2bb;font-size:12px}.inline-error button{background:none;border:0;color:#decaff;font-weight:700}.list-empty{padding:45px 25px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;color:#8f91a5}.list-empty strong{color:#dddbe9}.list-empty p{font-size:12px;margin:0;line-height:1.9}.list-empty button{margin-top:11px;border:0;background:#a88bff22;color:#c2adff;border-radius:10px;padding:9px 13px;display:flex;gap:6px;align-items:center}.empty-symbol{width:62px;height:62px;border-radius:21px;background:#a88bff1b;display:grid;place-items:center;color:#bda2ff;margin-bottom:8px}.skeleton-list{padding:10px}.skeleton-list div{height:70px;margin:8px 0;border-radius:13px;background:linear-gradient(90deg,#ffffff07,#fff1,#ffffff07);animation:pulse 1.5s infinite}@keyframes pulse{50%{opacity:.5}}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;background:#050610aa;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:flex-start}.drawer{width:100%;max-width:390px;min-height:100%;background:#202232;border-left:1px solid #ffffff17;box-shadow:-20px 0 60px #0005;display:flex;flex-direction:column;animation:slideIn .25s ease-out}@keyframes slideIn{0%{transform:translate(30px);opacity:.6}to{transform:translate(0);opacity:1}}.drawer-header{padding:29px 24px 19px;border-bottom:1px solid #ffffff12;display:flex;align-items:center;justify-content:space-between}.drawer-header h2{font-size:21px;margin:2px 0 0}.drawer-body{padding:24px;overflow-y:auto}.drawer-description{color:#a4a4b6;margin:0 0 19px}.drawer-search{margin:0 0 16px;background:#171925}.search-results{display:grid;gap:5px}.result-row{border:0;border-radius:13px;background:transparent;color:inherit;width:100%;padding:10px;display:flex;align-items:center;gap:11px;text-align:right}.result-row:hover{background:#ffffff0d}.result-row>span:nth-child(2){display:grid;flex:1;min-width:0}.result-row strong{font-size:14px}.result-row small{font-size:12px;color:#9192a6;text-align:right}.result-row>svg{color:#ad91ff}.profile-hero{text-align:center;display:flex;flex-direction:column;align-items:center;padding:8px 0 25px}.profile-hero h3{font-size:19px;margin:11px 0 0}.profile-hero>span:last-child{font-size:13px;color:#a89add}.drawer-section-label{border-top:1px solid #ffffff13;padding:18px 0 14px;font-weight:800;color:#c3aaff;font-size:13px}.profile-form{gap:15px}.profile-form textarea{min-height:95px}.profile-separator{height:1px;background:#ffffff13;margin:28px 0 16px}.signout-btn{width:100%;border:1px solid #fb85983d;border-radius:12px;min-height:46px;display:flex;align-items:center;gap:10px;padding:0 14px;color:#ff9dab;background:#f671;text-align:right}.signout-btn svg:last-child{margin-right:auto}.signout-btn:hover{background:#f672}.info-card{display:flex;gap:13px;background:#ffffff08;border-radius:14px;padding:16px;margin-bottom:11px}.info-card>svg{color:#ae95ff;flex:none}.info-card strong{font-size:13px}.info-card p{font-size:12px;color:#a1a0b2;line-height:1.9;margin:5px 0 0}.modal-overlay{align-items:center;justify-content:center;padding:18px;z-index:20}.edit-modal{width:100%;max-width:460px;padding:25px;background:#242638;border:1px solid #ffffff1a;border-radius:20px;display:grid;gap:18px;box-shadow:0 20px 80px #0008}.modal-title{display:flex;justify-content:space-between;align-items:center}.modal-title h2{font-size:18px;margin:0}.edit-modal textarea{min-height:120px}.toast{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:30;max-width:calc(100% - 30px);background:#34334c;color:#fff;border:1px solid #b49aff5c;border-radius:12px;box-shadow:0 12px 35px #0008;padding:10px 18px;white-space:normal;text-align:center;font-size:13px}@media(max-width:900px){.sidebar{width:320px;max-width:42%}.auth-layout{grid-template-columns:1fr 390px;gap:30px}.auth-intro h1{font-size:40px}}@media(max-width:700px){.auth-page{padding:20px 20px 16px}.auth-brand{justify-content:center}.auth-layout{display:flex;flex-direction:column;gap:25px;padding:28px 0 25px}.auth-intro{text-align:center}.auth-intro h1{font-size:31px;margin:15px 0 5px}.auth-intro>p{font-size:13px;margin:0 auto}.intro-points{display:none}.auth-card{width:100%;max-width:430px;padding:25px 22px;border-radius:22px}.auth-card h2{font-size:21px}.auth-footer{font-size:11px}.app-shell{min-height:0}.sidebar,.main-area{width:100%;max-width:none;flex:1}.mobile-hidden{display:none}.sidebar-top{height:70px}.sidebar-heading{padding-top:23px}.conversation-header{height:69px;padding:0 13px}.mobile-back{display:grid}.header-person{gap:7px}.header-actions{gap:1px}.messages-inner{padding:18px 13px 13px;gap:12px}.message-bubble{max-width:82%}.message-tools{opacity:1}.composer-wrap{padding:9px 11px max(11px,env(safe-area-inset-bottom))}.composer-note{display:none}.drawer{max-width:100%}.sidebar-user{margin-bottom:max(12px,env(safe-area-inset-bottom))}}@media(max-width:390px){.auth-intro h1{font-size:28px}.auth-card{padding:20px 18px}.message-bubble{max-width:79%}}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.message-file img{display:block;max-width:100%;max-height:340px;border-radius:12px;object-fit:contain;background:#151525}.message-file a{display:flex;align-items:center;gap:9px;color:#fff;text-decoration:none;overflow-wrap:anywhere;min-width:0}.message-file a:hover{text-decoration:underline}.message-file+.message-text{margin-top:8px}.attachment-preview{max-width:850px;margin:0 auto 9px;display:flex;align-items:center;gap:10px;padding:8px 11px;border-radius:12px;background:#292c3d;color:#e8e1ff;min-width:0}.attachment-preview img{width:44px;height:44px;object-fit:cover;border-radius:8px}.attachment-preview span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}.attachment-preview button{display:grid;place-items:center;flex:none;width:38px;height:38px;border:0;border-radius:9px;background:#ffffff13;color:#e8e1ff}.upload-status{max-width:850px;margin:0 auto 8px;color:#c6b4ff;font-size:13px}.composer button[data-testid=attach-file]{background:transparent;color:#c8b4ff;box-shadow:none}.composer button[data-testid=attach-file]:hover:not(:disabled){background:#ffffff14}@media(max-width:700px){.message-file img{max-height:260px}.attachment-preview{margin-inline:2px}}.groups-section{border-top:1px solid #ffffff14;max-height:36%;display:flex;flex-direction:column;min-height:115px;padding-top:12px}.groups-section .list-label{font-size:13px}.groups-section .list-label b{color:#bca6ff;margin-inline-start:4px}.group-new{display:flex!important;align-items:center;gap:4px;color:#bea8ff!important;font-size:12px!important;min-height:36px}.groups-list{overflow-y:auto;padding:0 10px 9px}.groups-empty{color:#898ba0;text-align:center;font-size:12px;padding:6px 12px 15px;margin:0}.group-create{flex:1;display:flex;flex-direction:column;padding:14px}.group-create-card{margin:auto;width:100%;max-width:430px;padding:30px;border:1px solid #ffffff19;border-radius:23px;background:#202233;text-align:center}.group-create-icon{margin:0 auto 15px;background:#a88bff20;color:#bea8ff;width:64px;height:64px;border-radius:19px;display:grid;place-items:center}.group-create-card h2{margin:0 0 4px}.group-create-card p{color:#a7a6ba}.group-create-card form{display:grid;gap:15px;text-align:right;margin-top:25px}.group-create-card label{display:grid;gap:7px}.group-create-card input,.group-add input{width:100%;min-width:0;background:#171925;border:1px solid #ffffff24;border-radius:11px;color:#fff;padding:11px;min-height:44px}.group-members{flex:1;min-height:0;overflow:auto;max-width:760px;width:100%;margin:auto;padding:23px 16px}.group-members-head{display:flex;align-items:center;justify-content:space-between}.group-members-head h2{font-size:19px}.group-add{display:flex;gap:9px;margin:15px 0 22px}.group-add button{min-height:44px;border:0;border-radius:10px;padding:0 13px;background:#9270ea;color:#fff;display:flex;align-items:center;gap:5px;flex:none}.group-member{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #ffffff12;min-width:0}.group-member>span:nth-child(2){flex:1;min-width:0;display:grid}.group-member strong{overflow-wrap:anywhere}.group-member small{color:#a5a2b9}.group-member>button{width:44px;height:44px;border:0;border-radius:10px;background:#ff667716;color:#ffacb3;display:grid;place-items:center}.group-danger{margin:25px 0;min-height:44px;border:1px solid #ff667744;border-radius:10px;background:#ff667710;color:#ffabb5;padding:8px 14px;display:flex;align-items:center;gap:8px}.group-sender{font-size:12px;color:#d0baff;display:block;margin-bottom:3px}.mine .group-sender{color:#f4e8ff}.group-error{position:absolute;bottom:95px;left:20px;right:20px;max-width:600px;margin:auto;background:#52303e;border:1px solid #ff9da3;border-radius:10px;padding:10px;color:#fff;z-index:3}.group-error button{border:0;background:transparent;color:#e6c5ff;text-decoration:underline}.main-area{position:relative}
