:root{color:#253a35;font-synthesis:none;background:#f5f6f3;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.45}input,textarea{color:#243932;background:#fff;border:1px solid #dce3dc;border-radius:10px;outline:none;width:100%;padding:14px}input:focus,textarea:focus{border-color:#658675;box-shadow:0 0 0 3px #65867510}textarea{resize:none}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}button svg{flex-shrink:0}label{margin:20px 0 9px;font-size:12px;font-weight:600;display:block}.primary,.secondary{color:#fff;background:#315f4e;border-radius:10px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:48px;margin-top:25px;font-weight:600;display:flex}.primary:hover{background:#254c3e}.secondary{color:#315f4e;background:#eef3ec}.text-button{color:#577569;background:0 0;width:100%;padding:15px;font-size:12px}.field-note{color:#819089;margin-top:9px;font-size:11px;line-height:1.6}.error{color:#a54d31;background:#fff0e9;border-radius:9px;margin-top:15px;padding:12px;font-size:12px;line-height:1.5}.eyebrow{letter-spacing:2px;color:#8c9c8f;font-size:10px;font-weight:600}.login{grid-template-columns:1.05fr 1fr;min-height:100dvh;display:grid}.brand-story{background:#e6ecdf;flex-direction:column;padding:42px 56px;display:flex;position:relative;overflow:hidden}.logo{letter-spacing:-.3px;align-items:center;gap:12px;font-size:18px;font-weight:600;display:flex}.logo span,.rail-logo{letter-spacing:-2px;color:#f1f5e7;background:#315f4e;border-radius:12px;padding:12px 10px;font-family:Georgia,serif;font-size:26px;font-weight:600;line-height:1}.story-copy{max-width:560px;margin:auto 0;padding:70px 0 60px}.story-copy h1{letter-spacing:-2.6px;margin:22px 0 25px;font-family:Georgia,serif;font-size:clamp(42px,4.3vw,68px);font-weight:400;line-height:1.1}.story-copy h1 em{color:#537661;font-weight:400}.story-copy>p{color:#758270;font-size:15px;line-height:1.8}.story-bubbles{flex-direction:column;align-items:start;gap:12px;margin-top:50px;margin-left:30px;display:flex;transform:rotate(-3deg)}.story-bubbles>div{background:#f9faf4;border-radius:15px 15px 15px 3px;padding:18px 22px;font-size:16px;box-shadow:0 5px 25px #64745c0c}.story-bubbles>div:last-child{color:#fff;background:#315f4e;border-radius:15px 15px 3px;align-items:center;gap:18px;margin-left:90px;display:flex}.story-bubbles time{color:#95a090;margin-left:35px;font-size:10px}.story-foot{color:#71816d;align-items:center;gap:9px;font-size:11px;display:flex}.login-side{background:#fafbf8;justify-content:center;align-items:center;padding:60px 30px;display:flex;position:relative}.login-card{width:355px}.welcome-icon,.modal-symbol{color:#547362;background:#edf2e8;border-radius:16px;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:28px;display:flex}.login-card h2{letter-spacing:-1px;font-size:28px;font-weight:600;line-height:1.25}.login-card>p{color:#869088;margin:14px 0 30px;font-size:13px;line-height:1.8}.login-card .code{letter-spacing:14px;text-align:center;font-size:30px}.login-security{color:#8b988a;justify-content:center;align-items:center;gap:11px;margin-top:38px;font-size:10px;line-height:1.7;display:flex}.login-footer{color:#a6afa4;letter-spacing:.6px;font-size:10px;position:absolute;bottom:30px}.messenger{background:#fbfcf8;grid-template-columns:76px 348px 1fr;width:100%;height:100dvh;display:grid;overflow:hidden}.rail{background:#e8ede3;border-right:1px solid #e0e6db;flex-direction:column;align-items:center;gap:35px;padding:28px 12px 20px;display:flex}.rail-logo{border-radius:11px;padding:11px 9px;font-size:23px}.rail-button{color:#8a9786;background:0 0;border-radius:12px;place-items:center;width:46px;height:46px;display:grid}.rail-button.current{color:#42654c;background:#d8e3d1}.rail-button svg{width:22px;height:22px}.rail-bottom{flex-direction:column;gap:18px;margin-top:auto;display:flex}.sidebar{background:#fffefb;border-right:1px solid #e8ece3;flex-direction:column;padding:34px 22px 0;display:flex}.sidebar-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:27px;display:flex}.sidebar-heading h1{letter-spacing:-.9px;margin-top:8px;font-size:25px;font-weight:600}.sidebar .eyebrow{letter-spacing:1.6px;font-size:8px}.round-button{color:#80927d;background:0 0;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.round-button:hover,.sidebar-heading .round-button{background:#edf2e7}.search{color:#99a595;background:#f3f5ee;border-radius:9px;align-items:center;gap:10px;padding:0 13px;display:flex}.search input{box-shadow:none;background:0 0;border:0;padding:12px 0;font-size:12px}.search input::placeholder{color:#99a595}.list-label{color:#82927b;justify-content:space-between;align-items:center;margin:27px 2px 15px;font-size:11px;display:flex}.list-label span{background:#eff3e9;border-radius:4px;padding:3px 6px;font-size:10px}.room-list{flex:1;margin:0 -12px;overflow-y:auto}.room-item{text-align:left;width:100%;color:inherit;background:0 0;border-radius:10px;align-items:center;gap:12px;margin-bottom:4px;padding:15px 10px;display:flex}.room-item.selected{background:#edf3e6}.room-item:hover{background:#f2f5ed}.avatar{color:#54765c;background:#dfe9d9;border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;width:45px;height:45px;font-size:15px;font-weight:600;display:flex}.room-item:nth-child(3n) .avatar{color:#8a8069;background:#e7e2d7}.room-item:nth-child(3n+1) .avatar{color:#6a8191;background:#e0e7ed}.room-preview{flex:1;min-width:0}.room-title{justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.room-title time{color:#9aa692;font-size:9px;font-weight:400}.room-preview p{text-overflow:ellipsis;white-space:nowrap;color:#8b9684;margin-top:6px;font-size:11px;overflow:hidden}.empty-list{text-align:center;color:#b0b9aa;padding:60px 0}.empty-list p{color:#889480;margin:17px 0 10px;font-size:12px}.empty-list span{font-size:11px;line-height:1.7}.sidebar-foot{color:#a1ac98;border-top:1px solid #eef1e8;align-items:center;gap:7px;padding:19px 2px;font-size:10px;display:flex}.sidebar-foot>svg{margin-left:auto}.status-dot{background:#bea993;border-radius:50%;width:5px;height:5px}.status-dot.online{background:#789b65}.conversation{background:#f7f8f2;flex-direction:column;min-width:0;display:flex;position:relative}.conversation-empty{text-align:center;margin:auto;padding:35px}.empty-art{color:#89a078;background:#e7eedf;border-radius:35px;place-items:center;width:114px;height:114px;margin:0 auto 35px;display:grid;position:relative;transform:rotate(-8deg)}.empty-art>svg{stroke-width:1.3px;transform:rotate(8deg)}.empty-art span{background:#fffefb;border-radius:13px;place-items:center;width:40px;height:40px;display:grid;position:absolute;bottom:-8px;right:-10px;transform:rotate(8deg);box-shadow:0 4px 15px #80906e16}.conversation-empty h2{letter-spacing:-1.2px;margin:19px 0;font-family:Georgia,serif;font-size:37px;font-weight:400;line-height:1.2}.conversation-empty p{color:#929c87;font-size:12px;line-height:1.8}.conversation-empty .primary{width:auto;min-height:43px;margin:27px auto 0;padding:0 22px;font-size:12px}.empty-security{color:#acb59f;justify-content:center;align-items:center;gap:7px;margin-top:60px;font-size:10px;display:flex}.chat-header{background:#fffefbcc;border-bottom:1px solid #e7ecdf;align-items:center;gap:13px;height:86px;padding:21px 32px;display:flex}.chat-header .avatar{border-radius:13px;width:39px;height:39px;font-size:13px}.chat-header h2{font-size:14px;font-weight:600}.chat-header p{color:#8f9f82;align-items:center;gap:5px;margin-top:6px;font-size:9px;display:flex}.mobile-back,.mobile-profile{display:none}.messages{scroll-behavior:smooth;flex:1;padding:25px 8%;overflow-y:auto}.encryption-note{color:#a4af97;text-align:center;justify-content:center;align-items:center;gap:7px;margin:4px 0 30px;font-size:9px;line-height:1.5;display:flex}.message-row{margin:9px 0;display:flex}.message-row.own{justify-content:flex-end}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:#fffefb;border:1px solid #e9eedf;border-radius:13px 13px 13px 3px;min-width:85px;max-width:78%;padding:12px 14px;font-size:13px;line-height:1.6;box-shadow:0 2px 3px #718d5b05}.own .bubble{background:#e5eedb;border-color:#dee8d4;border-radius:13px 13px 3px}.message-meta{color:#95a486;justify-content:flex-end;align-items:center;gap:5px;margin-top:6px;font-size:8px;line-height:1;display:flex}.sender{color:#6f8b5b;margin-bottom:4px;font-size:10px;font-weight:600}.failed{color:#9ba48e;font-size:11px;font-style:italic}.file-message{color:inherit;text-align:left;background:0 0;align-items:center;gap:12px;max-width:100%;padding:0;display:flex}.file-message span{overflow-wrap:anywhere}.file-message small{color:#8c9c7e;font-size:9px;display:block}.composer{background:#fffefb;border:1px solid #e6ebdc;border-radius:14px;align-items:center;gap:13px;margin:14px 30px 25px;padding:12px 16px;display:flex;box-shadow:0 2px 15px #879e6804}.composer textarea{box-shadow:none;background:0 0;border:0;max-height:140px;padding:9px 0;font-size:12px;line-height:1.5}.composer textarea::placeholder{color:#9fa992}.send-button{color:#fff;background:#42684f;border-radius:10px;flex-shrink:0;place-items:center;width:35px;height:35px;display:grid}.overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:10;background:#23352455;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:#fffefb;border-radius:20px;width:420px;max-height:90dvh;padding:35px;position:relative;overflow-y:auto;box-shadow:0 20px 100px #1e321e22}.modal h2{letter-spacing:-.7px;font-size:24px;font-weight:600}.modal>p{color:#8b9882;margin:14px 0 22px;font-size:12px;line-height:1.8}.modal .modal-symbol{margin-bottom:22px}.modal-close{position:absolute;top:14px;right:14px}.user-results{max-height:230px;margin-top:15px;overflow:auto}.user-result{text-align:left;width:100%;color:inherit;background:0 0;border-radius:10px;align-items:center;gap:12px;padding:10px;display:flex}.user-result:hover,.user-result.picked{background:#eef3e8}.user-result>span:not(.avatar){flex:1;font-size:12px}.user-result small{color:#8f9c82;margin-top:5px;font-size:10px;display:block}.user-result svg{color:#618151}.user-results>p{text-align:center;color:#98a48b;padding:20px;font-size:12px}.selected-users{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.selected-users span{color:#7b906c;background:#edf3e6;border-radius:6px;padding:6px 10px;font-size:10px}.profile-large .avatar{border-radius:20px;width:60px;height:60px;margin-bottom:20px;font-size:22px}.settings-links{border-top:1px solid #e6ecdc;margin-top:25px;padding-top:15px}.settings-links button{text-align:left;color:#829577;background:0 0;align-items:center;gap:10px;width:100%;padding:13px 0;font-size:11px;display:flex}.settings-links button>svg:last-child:not(:first-child){margin-left:auto}.settings-links .danger{color:#b08070}.recovery-key{white-space:pre-wrap;color:#527049;background:#f0f4e9;border:1px solid #e3ebd8;border-radius:10px;padding:18px;font-family:monospace;font-size:13px;line-height:1.9}.checkbox{align-items:center;gap:10px;font-size:11px;font-weight:400;line-height:1.5;display:flex}.checkbox input{accent-color:#42684f;width:15px;height:15px;box-shadow:none}.session-list>div{overflow-wrap:anywhere;border-bottom:1px solid #e6ecdc;padding:17px 0}.session-list strong{font-size:12px;font-weight:500}.session-list small{color:#96a48a;margin-top:7px;font-size:10px;display:block}.toast{color:#a25c40;z-index:25;background:#fff2e9;border:1px solid #edd8c6;border-radius:12px;align-items:center;gap:15px;max-width:min(600px,90vw);padding:14px 18px;font-size:12px;line-height:1.6;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 5px 20px #53412f0b}.toast button{color:inherit;background:0 0;place-items:center;display:grid}@media (min-width:1500px){.messenger{grid-template-columns:85px 380px 1fr}.messages{padding-left:14%;padding-right:14%}}@media (max-width:900px){.brand-story{padding:35px}.story-copy h1{letter-spacing:-1.7px;font-size:43px}.messenger{grid-template-columns:60px 285px 1fr}.rail{padding:22px 8px}.sidebar{padding:25px 17px 0}.messages,.chat-header{padding:20px}.composer{margin:12px 15px 20px}.conversation-empty h2{font-size:29px}.conversation-empty{padding:22px}.empty-security{margin-top:40px}}@media (max-width:650px){.login{display:block}.brand-story{display:none}.login-side{min-height:100dvh;padding:40px 25px}.login-card{width:100%;max-width:365px}.messenger{display:block}.rail{display:none}.sidebar{max-width:none;height:100dvh;padding:30px 22px 0}.sidebar-heading .eyebrow{font-size:9px}.sidebar-heading h1{font-size:28px}.sidebar-heading .round-button{margin-left:auto}.sidebar-heading .mobile-profile{margin-left:0}.conversation{height:100dvh;display:none}.messenger.has-chat .sidebar{display:none}.messenger.has-chat .conversation{display:flex}.mobile-back,.mobile-profile{display:grid}.mobile-back{margin-left:-12px}.chat-header{gap:10px;height:77px;padding:15px}.messages{padding:18px 15px}.bubble{max-width:88%;font-size:14px}.composer{border-radius:12px;gap:9px;margin:8px 10px 12px;padding:7px 10px}.composer textarea{font-size:14px}.modal{max-width:390px;padding:28px}.modal h2{font-size:23px}.modal-close{top:9px;right:9px}.toast{bottom:85px}.security-modal{max-height:92dvh}.conversation-empty{display:none}}
