:root{--forest:#163e35;--forest-dark:#103128;--green:#30745d;--mint:#c8f2b2;--mint-soft:#edf6e7;--cream:#fbfaf6;--canvas:#f4f4ed;--white:#fff;--ink:#233c34;--muted:#748078;--line:#e4e9e0;--danger:#aa3d38;--shadow:0 16px 70px #12372b14;--radius:18px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0}body.in-chat{height:100dvh;overflow:hidden;overscroll-behavior:none}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button,a{touch-action:manipulation}button{color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #81bca2;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button span[data-icon]{display:block}.boot{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;background:var(--cream)}.boot p{color:var(--muted);font-size:14px}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:var(--forest);font-size:28px;letter-spacing:-1.3px;font-weight:750;max-width:85%;min-width:0}.brand-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-mark{display:flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:12px;background:var(--forest);color:var(--mint);flex-shrink:0}.brand-mark svg{width:26px;height:26px;stroke-width:2.1}.brand-mark.large{width:62px;height:62px;border-radius:20px}.brand-mark.large svg{width:40px;height:40px}.brand-logo{height:38px;max-width:140px;object-fit:contain;flex-shrink:0}.brand-light{color:var(--cream)}.brand-light .brand-mark{background:var(--mint);color:var(--forest)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.9px;color:var(--green);line-height:1.7}.eyebrow.light{color:#c1d5c6}.welcome{min-height:100dvh;display:grid;grid-template-columns:minmax(450px,1.05fr) minmax(420px,1fr);background:var(--cream)}.welcome-story{position:relative;min-height:800px;background:var(--forest);overflow:hidden;padding:50px 11%;color:var(--cream)}.welcome-story>.brand{position:relative;z-index:2}.story-copy{position:relative;z-index:2;margin-top:80px}.story-copy h1{font-size:clamp(42px,4.3vw,68px);line-height:1.1;font-weight:550;letter-spacing:-2.9px;margin:20px 0 25px}.story-copy h1 span{color:var(--mint)}.story-copy p{color:#c4d4c9;font-size:16px;line-height:1.7}.story-art{position:absolute;inset:auto 0 55px;height:230px;pointer-events:none}.orbit{position:absolute;border:1px solid #ffffff12;width:530px;height:530px;border-radius:50%;right:-190px;top:-180px}.orbit-two{width:400px;height:400px;right:-120px;top:-115px}.art-star{position:absolute;right:12%;top:-42px;color:var(--mint);font-size:108px;font-weight:200;transform:rotate(10deg)}.art-bubble{position:absolute;padding:17px 20px;font-size:15px;box-shadow:0 12px 35px #00000012;line-height:1.5;max-width:calc(100% - 80px)}.art-bubble span{font-size:9px;display:block;text-align:right;margin-top:4px;opacity:.65}.art-bubble b{font-weight:400}.bubble-one{left:11%;top:58px;background:#edf3e7;color:var(--forest);border-radius:20px 20px 20px 4px;transform:rotate(-4deg)}.bubble-two{right:13%;top:137px;background:var(--mint);color:var(--forest);border-radius:20px 20px 4px 20px;transform:rotate(3deg)}.art-dot{width:10px;height:10px;border-radius:50%;background:#a9cabe}.dot-one{left:17%;top:190px}.dot-two{right:14%;top:115px;width:6px;height:6px;background:var(--mint)}.story-footer{position:absolute;bottom:30px;left:11%;display:flex;gap:8px;align-items:center;font-size:10px;letter-spacing:.3px;color:#b1c9bb}.tiny-dot{width:5px;height:5px;border-radius:50%;background:var(--mint)}.welcome-form-wrap{display:flex;align-items:center;justify-content:center;position:relative;padding:70px 45px 100px}.welcome-mobile-brand{display:none}.join-card{max-width:375px;width:100%}.join-card h2{font-size:42px;letter-spacing:-1.8px;font-weight:600;margin:15px 0}.join-intro{font-size:15px;line-height:1.7;color:var(--muted);margin:0 0 32px}.field-label{display:block;font-size:12px;font-weight:650;margin-bottom:10px}.name-input-wrap{display:flex;align-items:center;gap:11px;padding:0 14px;background:#fff;border:1px solid #d9e0d5;border-radius:11px;height:54px;color:#8d9a8d;transition:border-color .2s}.name-input-wrap:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #30745d12}.name-input-wrap input{width:100%;border:none;outline:none;background:transparent;color:var(--ink);font-size:14px;min-width:0}.name-input-wrap input:focus-visible{outline:none}.name-input-wrap input::placeholder{color:#8d968d}.field-hint{font-size:10px;color:var(--muted);margin:8px 0 24px}.gender-field{padding:0;border:0;margin:0 0 25px}.gender-choice{display:flex;gap:11px}.gender-choice label{flex:1;position:relative}.gender-choice input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.gender-choice label>span{display:flex;align-items:center;gap:10px;border:1px solid #d9e0d5;border-radius:11px;padding:15px 13px;background:#fff;font-size:13px;pointer-events:none}.gender-choice input:checked+span{border-color:#49745f;background:var(--mint-soft)}.gender-choice input:focus-visible+span{outline:3px solid #81bca2;outline-offset:3px}.gender-symbol{font-size:20px;line-height:20px}.radio-dot{width:13px;height:13px;border:1px solid #ced7c9;border-radius:50%;margin-left:auto;background:#fff}.gender-choice input:checked+span .radio-dot{border:4px solid var(--forest);background:var(--mint)}.button{border:0;border-radius:10px;padding:13px 18px;background:var(--mint-soft);color:var(--forest);font-size:13px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;text-decoration:none;transition:background .15s,transform .15s}.button:hover{background:#dceccf}.button.primary{background:var(--forest);color:#fff}.button.primary:hover{background:#245747}.button.danger{color:var(--danger);background:#fbefed}.button.danger:hover{background:#f6e2de}.button.subtle{background:transparent;border:1px solid var(--line)}.button.small{font-size:12px;padding:8px 12px;min-height:36px}.button svg{width:17px;height:17px}.join-submit{width:100%;justify-content:space-between;height:54px;font-size:14px}.access-note{display:flex;align-items:flex-start;gap:9px;margin-top:19px;color:var(--muted)}.access-note svg{width:17px;height:17px;margin-top:2px;flex-shrink:0}.access-note p{font-size:10px;line-height:1.7;margin:0}.privacy-note{font-size:10px;line-height:1.6;color:var(--muted);margin:10px 0 0 26px}.legal-links{display:flex;gap:12px;align-items:center;margin-top:26px;font-size:10px;color:var(--muted)}.legal-links button,.sidebar-footer>button{border:0;padding:4px 0;background:none;color:inherit;font-size:inherit}.legal-links button:hover,.sidebar-footer>button:hover{text-decoration:underline}.join-footer{position:absolute;bottom:30px;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:6px;color:#879086;font-size:10px}.join-footer svg{width:12px;height:12px}.form-error{color:var(--danger);background:#fff0ed;border:1px solid #f1d7d0;border-radius:9px;padding:11px 12px;font-size:12px;line-height:1.5}.chat-app{height:100dvh;max-width:1600px;margin:0 auto;background:var(--cream);display:grid;grid-template-columns:355px minmax(0,1fr);overflow:hidden;box-shadow:var(--shadow)}.sidebar{display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);min-height:0;min-width:0}.sidebar-header{padding:26px 25px 22px;display:flex;align-items:center;justify-content:space-between}.sidebar-header .brand{font-size:27px}.icon-button{border:0;background:none;width:40px;height:40px;display:inline-flex;justify-content:center;align-items:center;border-radius:11px;color:#728275;flex-shrink:0;padding:8px;transition:background .15s}.icon-button:hover{background:#ecf2e8;color:var(--forest)}.icon-button svg{width:20px;height:20px}.my-profile{display:flex;align-items:center;gap:12px;margin:0 21px 23px;padding:13px;background:#f4f6ef;border:1px solid #edf0e6;border-radius:14px}.avatar{width:45px;height:45px;border-radius:15px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;font-weight:600;letter-spacing:-.4px;background:#e5efdb;color:#45633b;position:relative}.avatar.palette-1{background:#ebe5f3;color:#73628b}.avatar.palette-2{background:#f5e5d5;color:#966844}.avatar.palette-3{background:#dfeced;color:#4c777c}.avatar.palette-4{background:#eee9d5;color:#877b46}.avatar.palette-5{background:#e8e6de;color:#756e57}.avatar-self{width:39px;height:39px;background:var(--forest);color:var(--mint);border-radius:13px;font-size:14px}.profile-copy{min-width:0}.profile-copy strong{display:block;font-size:12px;margin-bottom:4px;text-overflow:ellipsis;overflow:hidden}.profile-copy>span{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--muted)}.presence-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#75a65e;flex-shrink:0}.you-label{margin-left:auto;font-size:8px;font-weight:650;color:#91a08e;letter-spacing:1px}.list-tabs{display:flex;margin:0 25px;border-bottom:1px solid var(--line);gap:20px}.list-tab{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;color:#859182;font-size:12px;padding:12px 0 14px;font-weight:600;min-height:48px}.list-tab svg{width:17px;height:17px}.list-tab.active{color:var(--forest);border-color:var(--forest)}.tab-badge{font-size:8px;background:var(--forest);color:#fff;min-width:15px;height:15px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:0 4px}.sidebar-tools{padding:21px 25px 17px}.search-wrap{height:40px;border-radius:9px;background:#f6f7f2;display:flex;gap:9px;align-items:center;padding:0 12px;color:#a1ac9b}.search-wrap svg{width:16px;height:16px}.search-wrap input{border:0;background:transparent;outline:none;font-size:11px;min-width:0;width:100%;color:var(--ink)}.search-wrap input:focus-visible{outline:none}.search-wrap:focus-within{box-shadow:0 0 0 2px #c3d7bb}.search-wrap input::placeholder{color:#95a08f}.gender-filters{display:flex;gap:7px;margin-top:13px}.gender-filters button{background:#fff;border:1px solid var(--line);border-radius:7px;padding:7px 13px;font-size:10px;color:var(--muted);min-height:31px}.gender-filters button.active{border-color:var(--forest);background:var(--forest);color:#fff}.list-caption{display:flex;justify-content:space-between;padding:0 25px 11px;font-size:8px;font-weight:700;letter-spacing:1.4px;color:#939e8c}.people-list{overflow-y:auto;min-height:0;flex:1;padding:0 12px 12px;scrollbar-width:thin;scrollbar-color:#dce5d4 transparent}.person-row{position:relative;border:0;background:#fff;width:100%;display:flex;align-items:center;gap:13px;padding:14px 13px;border-radius:12px;min-height:77px;text-align:left;margin-bottom:3px;transition:background .15s}.person-row:hover{background:#f4f7ee}.person-row.selected{background:#ecf4e5}.person-row.selected:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:3px;border-radius:3px;background:#5a8350}.person-row .avatar:after{content:"";width:7px;height:7px;background:#87b66e;border:2px solid #fff;border-radius:50%;position:absolute;right:-2px;bottom:1px}.person-row.offline .avatar:after{background:#c1cabc}.person-info{min-width:0;flex:1}.person-info strong{display:block;font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-info p{margin:6px 0 0;font-size:10px;color:#8b9784;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}.person-meta{align-self:flex-start;padding-top:4px;color:#9eaa96;display:flex;align-items:flex-end;flex-direction:column;gap:8px;font-size:8px;white-space:nowrap}.person-meta .gender-tag{font-size:13px}.unread-badge{background:var(--forest);color:#fff;border-radius:10px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;font-size:9px;padding:0 4px}.list-empty{padding:35px 20px;text-align:center;color:var(--muted)}.list-empty>span{display:inline-flex;padding:15px;border-radius:50%;background:var(--mint-soft);color:#7b966c}.list-empty h3{font-size:13px;font-weight:600;color:var(--ink);margin:17px 0 8px}.list-empty p{font-size:11px;line-height:1.7;margin:0}.list-bottom{display:flex;align-items:center;flex-direction:column;gap:10px;padding:10px 20px 15px;font-size:9px;color:#a3ad9b}.list-bottom .button{font-size:10px;padding:7px 14px;min-height:30px}.sidebar-footer{border-top:1px solid var(--line);padding:15px 25px;display:flex;align-items:center;justify-content:space-between;color:#9ba693;font-size:9px}.connection-status{display:flex;align-items:center;gap:5px}.connection-status.reconnecting{color:#b48637}.connection-status.reconnecting .presence-dot{background:#caa464;animation:blink 1.5s infinite}.connection-status.offline{color:#a66d61}.connection-status.offline .presence-dot{background:#c08a7f}.conversation{background:var(--cream);position:relative;min-width:0;min-height:0}.empty-conversation{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px}.empty-conversation h2{font-size:40px;letter-spacing:-1.5px;line-height:1.15;font-weight:550;margin:18px 0}.empty-conversation>p{font-size:13px;line-height:1.8;color:#8c9686;margin:0 0 26px}.empty-conversation .eyebrow{font-size:8px;letter-spacing:1.6px;margin-top:24px;color:#849676}.empty-art{position:relative;width:180px;height:160px}.empty-art-disc{width:144px;height:144px;position:absolute;inset:8px 18px;background:#edf1e5;border-radius:50%}.empty-chat-icon{position:absolute;left:42px;top:41px;width:90px;height:80px;display:flex;align-items:center;justify-content:center;background:var(--forest);border-radius:25px 25px 25px 5px;transform:rotate(-8deg);color:var(--mint);box-shadow:0 10px 20px #173e3517}.empty-chat-icon svg{width:44px;height:44px;stroke-width:1.3}.empty-spark{position:absolute;right:12px;top:10px;font-size:40px;color:#a7c683;transform:rotate(15deg)}.empty-mini{position:absolute;right:0;bottom:10px;background:var(--mint);border:5px solid var(--cream);border-radius:21px 21px 5px 21px;color:var(--forest);width:62px;height:48px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:650;transform:rotate(8deg)}.privacy-pill{display:inline-flex;align-items:center;gap:6px;font-size:9px;color:#a0ab96;border:1px solid #e8ecdf;border-radius:20px;padding:8px 13px}.privacy-pill svg{width:12px;height:12px}.active-conversation{height:100%;display:flex;flex-direction:column;position:relative;min-height:0}.conversation-header{display:flex;align-items:center;gap:12px;background:#fff;border-bottom:1px solid var(--line);padding:22px 31px;min-height:91px}.peer-avatar{width:43px;height:43px;border-radius:14px;font-size:15px}.peer-heading{min-width:0;flex:1}.peer-heading h1{font-size:14px;font-weight:650;margin:0 0 5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.peer-heading p{font-size:10px;color:#919e89;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.back-button{display:none}.chat-security-note{display:flex;justify-content:center;align-items:center;gap:6px;padding:14px 18px 0;font-size:9px;color:#a7b09b}.chat-security-note svg{width:11px;height:11px}.messages{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px 36px 22px;scrollbar-width:thin;scrollbar-color:#dce5d4 transparent;scroll-behavior:smooth}.message-list{display:flex;flex-direction:column;gap:9px}.day-separator{display:flex;align-items:center;justify-content:center;margin:18px 0 13px;gap:12px;color:#a3ae98;font-size:8px;letter-spacing:.3px}.day-separator:before,.day-separator:after{content:"";height:1px;max-width:50px;flex:1;background:#e8ecdf}.chat-beginning{text-align:center;padding:30px 15px;color:#94a087;font-size:11px;line-height:1.8}.chat-beginning strong{display:block;color:#718466;font-weight:500;font-size:13px;margin-bottom:4px}.message{display:flex;flex-direction:column;max-width:min(75%,540px);align-self:flex-start;position:relative;min-width:80px;gap:3px}.message.own{align-self:flex-end}.message-bubble{background:#fff;border:1px solid #e9ecdf;border-radius:15px 15px 15px 3px;padding:11px 14px 8px;box-shadow:0 1px 2px #253f2403}.message.own .message-bubble{background:#e3efda;border-color:#e3efda;border-radius:15px 15px 3px 15px}.message-body{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}.message-meta{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:8px;color:#a7b09d;margin-top:5px;line-height:1}.message.own .message-meta{color:#94a789}.message-meta svg{width:12px;height:12px;stroke-width:1.7}.message-meta [data-receipt]{color:var(--receipt-sent-color,#94a789)}.message-meta .read-receipt{color:var(--receipt-read-color,#51865e)}.message.pending{opacity:.7}.message.failed .message-bubble{border:1px solid #dcaaa1;background:#fff2ee}.retry-message{border:0;background:none;color:var(--danger);font-size:9px;text-align:right;padding:4px 1px;min-height:28px}.media-image{display:block;width:100%;max-height:380px;object-fit:contain;border-radius:8px;background:#f1f2eb;cursor:zoom-in}.media-video{display:block;width:100%;max-height:340px;border-radius:8px;background:#10251e}.media-audio{display:block;width:280px;max-width:100%;height:42px;margin:3px -4px 1px}.message.has-media{min-width:180px}.message.has-media .message-body{margin-top:8px}.message.has-media .message-bubble{padding:7px}.media-link{display:block;text-decoration:none}.load-older{display:block;margin:0 auto 15px;padding:8px 13px;border:1px solid var(--line);background:#fff;border-radius:20px;font-size:9px;color:var(--muted)}.new-message-button{position:absolute;bottom:116px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;background:var(--forest);color:#fff;border:0;box-shadow:0 3px 15px #163e3533;padding:9px 14px;border-radius:20px;font-size:10px;z-index:3;white-space:nowrap}.new-message-button svg{width:13px;height:13px}.composer{display:flex;align-items:flex-end;gap:9px;padding:12px 15px 12px 10px;border:1px solid #e1e7d8;border-radius:16px;background:#fff;margin:0 28px;box-shadow:0 3px 10px #25462b03;position:relative}.composer textarea{resize:none;border:0;outline:none!important;min-height:36px;max-height:130px;width:100%;padding:9px 2px 7px;line-height:1.5;font-size:12px;flex:1;color:var(--ink);background:none;scrollbar-width:thin}.composer textarea::placeholder{color:#a0ac97}.composer .icon-button{width:36px;height:36px;border-radius:10px;color:#95a48a}.composer .icon-button:hover{color:var(--green)}.composer .attach-button{background:#f3f6ed;color:#859875}.send-button{width:38px;height:38px;border-radius:11px;background:var(--forest);color:var(--mint);border:0;display:flex;align-items:center;justify-content:center;flex-shrink:0}.send-button svg{width:18px;height:18px;transform:translateX(-1px)}.send-button:hover{background:#2c5c47}.composer-hint{font-size:8px;text-align:center;color:#a3ae98;padding:0 12px;margin:12px 0 18px;line-height:1.5}.attach-wrap{position:relative}.attach-menu{position:absolute;bottom:48px;left:0;z-index:6;min-width:185px;padding:6px;border:1px solid var(--line);background:#fff;border-radius:13px;box-shadow:0 8px 35px #12372b1c}.attach-menu button{border:0;background:none;display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:12px;border-radius:8px;font-size:11px;color:#6a7e5f;white-space:nowrap}.attach-menu button:hover{background:var(--mint-soft)}.attach-menu svg{width:17px;height:17px}.attachment-preview{display:flex;align-items:center;gap:10px;margin:0 28px 9px;padding:10px 13px;border:1px solid #dee8d6;background:#eff5e9;border-radius:12px;min-width:0}.attachment-preview>img{width:45px;height:45px;object-fit:cover;border-radius:8px}.attachment-icon{background:#e0ebd6;padding:12px;border-radius:8px;color:#779267}.attachment-preview>div{min-width:0;flex:1}.attachment-preview strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.attachment-preview div>span{display:block;color:var(--muted);font-size:9px;margin-top:4px}.chat-error{background:#fff2ed;color:#a7644d;font-size:11px;padding:12px 16px;line-height:1.5;margin:0 28px 10px;border-radius:9px}.recording-bar{display:flex;align-items:center;gap:10px;margin:0 28px 10px;padding:10px 12px;border:1px solid #eddbd4;border-radius:12px;background:#fff4ef;font-size:11px;color:#9a5f50}.recording-bar>span:not(.recording-dot){flex:1}.recording-dot{width:7px;height:7px;background:#cf6c54;border-radius:50%;animation:blink 1s infinite}.recording-bar .button{background:#efd9ca;color:#8d5a49}.recording-bar .icon-button{width:32px;height:32px;color:#b98e81}.modal{border:1px solid #dfe6d7;border-radius:20px;padding:0;width:min(460px,calc(100% - 32px));max-height:min(80dvh,750px);color:var(--ink);background:var(--cream);box-shadow:0 25px 100px #102b2540;overflow:auto}.modal::backdrop{background:#17382e69;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 15px;border-bottom:1px solid var(--line);background:var(--cream);position:sticky;top:0;z-index:1}.modal-header h2{font-size:18px;letter-spacing:-.5px;margin:0;font-weight:600;min-width:0;overflow-wrap:anywhere}.modal-header .icon-button{width:32px;height:32px}.modal-body{padding:23px;font-size:13px;line-height:1.65}.modal-body p{color:var(--muted);font-size:12px;line-height:1.8;margin:0 0 17px}.modal-body p:last-child{margin-bottom:0}.modal-body .button{margin-top:8px}.modal-actions{display:flex;gap:10px;margin-top:18px}.modal-actions .button{flex:1}.modal-menu{display:flex;flex-direction:column;gap:8px}.modal-menu>button{border:1px solid var(--line);background:#fff;border-radius:11px;min-height:48px;display:flex;align-items:center;gap:12px;font-size:12px;text-align:left;padding:11px 13px}.modal-menu>button:hover{background:var(--mint-soft)}.modal-menu>button svg{width:18px;height:18px;color:#879978}.modal-menu>button.danger{color:var(--danger)}.modal-menu>button.danger svg{color:var(--danger)}.modal-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px!important;color:#64715f!important}.modal-body textarea,.modal-body select{display:block;width:100%;border:1px solid #d7e1cf;border-radius:9px;background:#fff;padding:11px 12px;font-size:12px;color:var(--ink);margin-bottom:15px}.modal-body textarea{resize:vertical;min-height:110px;line-height:1.6}.modal-body label{font-size:11px;display:block;margin-bottom:7px;font-weight:600}.modal-body .check-label{display:flex;gap:9px;align-items:flex-start;font-weight:400;color:var(--muted);line-height:1.5;margin-top:3px}.modal-body .check-label input{accent-color:var(--forest);margin:2px 0 0;flex-shrink:0}.blocked-person{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.blocked-person strong{flex:1;font-size:12px;overflow-wrap:anywhere}.blocked-person .avatar{width:35px;height:35px;border-radius:11px;font-size:12px}.blocked-person .button{margin:0;font-size:10px}.modal-image{max-width:100%;max-height:65dvh;object-fit:contain;display:block;margin:auto}.toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:50;background:var(--forest);color:#fff;border-radius:12px;padding:12px 18px;max-width:min(420px,calc(100% - 32px));font-size:12px;line-height:1.5;box-shadow:0 6px 30px #133b3026}.noscript{position:fixed;inset:0;background:var(--cream);display:flex;align-items:center;justify-content:center;padding:30px;text-align:center;z-index:100}.loading-list{padding:18px;display:flex;flex-direction:column;gap:24px}.skeleton-row{display:flex;gap:13px}.skeleton-avatar{width:43px;height:43px;border-radius:14px;background:#f0f3ea;flex-shrink:0}.skeleton-lines{flex:1;padding:6px 0}.skeleton-lines:before,.skeleton-lines:after{content:"";display:block;height:7px;border-radius:5px;background:#f0f3ea;width:65%;margin-bottom:10px}.skeleton-lines:after{width:45%;height:5px}.loading-list{animation:softpulse 1.3s ease-in-out infinite}.no-messages-spinner{color:var(--muted);padding:40px;text-align:center;font-size:12px}.settings-profile{display:flex;align-items:center;gap:12px;padding-bottom:20px;margin-bottom:18px;border-bottom:1px solid var(--line)}.settings-profile strong{font-size:15px}.settings-profile p{margin:2px 0 0;font-size:10px}.settings-legal{display:flex;gap:15px;margin-top:20px}.settings-legal button{border:0;background:none;color:var(--muted);font-size:10px;padding:0}.settings-caption{margin-top:22px!important;font-size:10px!important}.report-help{font-size:10px!important}.message-day-first{margin-top:4px}@keyframes blink{50%{opacity:.35}}@keyframes softpulse{50%{opacity:.5}}@media(min-width:1600px){body{background:#e7ecdf}.chat-app{height:calc(100dvh - 48px);margin:24px auto;border:1px solid #dfe6d7;border-radius:24px;max-width:1450px}}@media(max-width:1100px){.welcome-story{padding:42px 9%;min-height:760px}.story-copy{margin-top:77px}.story-copy h1{font-size:51px}.welcome{grid-template-columns:1fr 1fr}.welcome-form-wrap{padding-left:35px;padding-right:35px}.chat-app{grid-template-columns:320px minmax(0,1fr)}.sidebar-header{padding-left:22px;padding-right:22px}.messages{padding-left:24px;padding-right:24px}.message{max-width:82%}.conversation-header{padding-left:25px;padding-right:25px}}@media(max-width:800px){.welcome{grid-template-columns:1fr;min-height:100dvh}.welcome-story{display:none}.welcome-form-wrap{padding:35px 28px 80px;min-height:100dvh;display:block}.welcome-mobile-brand{display:inline-flex;font-size:25px;margin-bottom:53px}.welcome-mobile-brand .brand-mark{width:34px;height:34px;border-radius:11px}.join-card{margin:0 auto}.join-card h2{font-size:39px}.join-intro{margin-bottom:28px}.join-card .eyebrow{font-size:9px}.join-footer{position:static;margin-top:36px}.welcome-form-wrap{padding-bottom:max(25px,env(safe-area-inset-bottom))}.chat-app{grid-template-columns:300px minmax(0,1fr)}.sidebar-header{padding:22px 20px}.my-profile{margin:0 17px 19px}.list-tabs{margin:0 21px}.sidebar-tools{padding:18px 21px 16px}.list-caption{padding-left:21px;padding-right:21px}.person-row{gap:10px;padding:13px 10px}.person-row .avatar{width:40px;height:40px;border-radius:13px}.empty-conversation h2{font-size:32px}.empty-conversation{padding:24px}.empty-conversation>p{font-size:12px}.empty-conversation .eyebrow{font-size:7px}.message{max-width:90%}.composer{margin-left:15px;margin-right:15px;padding-right:10px;gap:4px}.messages{padding-left:17px;padding-right:17px}.chat-security-note{font-size:8px}.attachment-preview,.recording-bar,.chat-error{margin-left:15px;margin-right:15px}.conversation-header{padding:22px 18px}.media-audio{width:225px}.empty-art{transform:scale(.9)}}@media(max-width:620px){.chat-app{display:block;width:100%;height:var(--app-height,100dvh);box-shadow:none;overflow:hidden}.sidebar{height:100%;border-right:0}.sidebar-header{padding:20px 23px 18px;padding-top:max(20px,env(safe-area-inset-top));height:auto}.sidebar-header .brand{font-size:28px}.sidebar-header .brand-mark{width:36px;height:36px}.my-profile{margin:0 21px 20px;padding:12px 13px}.list-tabs{margin:0 25px;gap:30px}.list-tab{font-size:13px;padding-bottom:13px}.sidebar-tools{padding:18px 25px 17px}.search-wrap{height:43px}.search-wrap input{font-size:13px}.gender-filters button{font-size:11px;padding:8px 15px}.list-caption{padding-left:25px;padding-right:25px;font-size:8px}.people-list{padding:0 13px 10px}.person-row{padding:14px 13px;gap:13px;min-height:79px}.person-row .avatar{width:46px;height:46px;border-radius:15px;font-size:16px}.person-info strong{font-size:13px}.person-info p{font-size:11px}.person-meta{font-size:9px}.sidebar-footer{padding:15px 25px;padding-bottom:max(15px,env(safe-area-inset-bottom));font-size:10px}.list-bottom{font-size:9px;padding-bottom:16px}.conversation{display:none;height:100%;width:100%}.chat-app.chat-open .sidebar{display:none}.chat-app.chat-open .conversation{display:block}.back-button{display:flex;width:30px;margin-left:-6px;padding:5px}.conversation-header{padding:15px 17px 14px;gap:10px;min-height:77px;padding-top:max(15px,env(safe-area-inset-top))}.peer-avatar{width:40px;height:40px;border-radius:13px}.peer-heading h1{font-size:14px}.peer-heading p{font-size:10px}.conversation-header .icon-button:last-child{margin-right:-4px}.chat-security-note{padding-top:12px;font-size:8px}.messages{padding:12px 16px 20px;scroll-behavior:auto}.message{max-width:86%;min-width:80px}.message-body{font-size:13px;line-height:1.65}.message-meta{font-size:8px}.message-bubble{padding:10px 12px 7px}.media-audio{width:240px;max-width:100%}.message.has-media{min-width:150px}.composer{margin:0 12px;border-radius:15px;padding:9px 9px 9px 7px;gap:4px}.composer textarea{font-size:16px;line-height:1.4;padding:7px 3px 6px;min-height:36px;max-height:110px}.composer textarea::placeholder{font-size:13px}.composer .icon-button{width:34px;height:36px;padding:7px}.send-button{width:36px;height:36px}.composer-hint{font-size:8px;margin:9px 0 12px;padding-bottom:env(safe-area-inset-bottom);min-height:12px}.attachment-preview,.recording-bar,.chat-error{margin-left:12px;margin-right:12px}.recording-bar{font-size:10px;gap:8px;padding:8px 10px}.recording-bar .button{font-size:10px;padding:7px 9px;gap:5px}.recording-bar .button svg{width:14px}.new-message-button{bottom:110px}.modal{border-radius:18px;max-height:85dvh}.modal-header{padding:16px 18px 13px}.modal-body{padding:21px}.toast{bottom:max(20px,env(safe-area-inset-bottom))}.list-empty h3{font-size:14px}.list-empty p{font-size:12px}.chat-open .empty-conversation{display:none}.join-card .field-hint{font-size:11px}.access-note p,.privacy-note{font-size:11px}.legal-links{font-size:11px}}@media(max-width:360px){.welcome-form-wrap{padding-left:22px;padding-right:22px}.welcome-mobile-brand{margin-bottom:36px}.join-card h2{font-size:35px}.join-card .eyebrow{font-size:8px}.gender-choice{gap:8px}.gender-choice label>span{padding:14px 10px;font-size:12px}.conversation-header{gap:8px}.messages{padding-left:12px;padding-right:12px}.message{max-width:90%}.media-audio{width:220px}.composer{gap:2px}.composer-hint{font-size:7px}}@media(max-height:650px) and (min-width:621px){.welcome-story{min-height:650px}.story-copy{margin-top:55px}.story-copy h1{font-size:43px}.story-art{height:180px}.bubble-one{top:35px}.bubble-two{top:105px}.welcome-form-wrap{padding-top:40px;padding-bottom:65px}.join-intro{margin-bottom:20px}.join-card h2{font-size:36px}.my-profile{margin-bottom:10px}.sidebar-header{padding-top:17px;padding-bottom:16px}.sidebar-tools{padding-top:14px;padding-bottom:12px}.conversation-header{min-height:78px;padding-top:16px;padding-bottom:16px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Brand settings use validated colors; each colored surface has a matching text color. */
body{
  --primary:var(--theme-primary,#163e35);
  --on-primary:var(--theme-on-primary,#fff);
  --primary-hover:var(--theme-hover,#245747);
  --on-primary-hover:var(--theme-on-hover,#fff);
  --accent-ink:var(--theme-accent-ink,#163e35);
}
body:not(.in-chat){
  --primary:var(--landing-primary,#163e35);
  --on-primary:var(--landing-on-primary,#fff);
  --primary-hover:var(--landing-hover,#245747);
  --on-primary-hover:var(--landing-on-hover,#fff);
  --accent-ink:var(--landing-accent-ink,#163e35);
}
body.in-chat,.chat-app,.conversation{background:var(--theme-background,#fbfaf6)}
.brand{color:var(--accent-ink)}
.brand-logo{max-width:min(180px,60vw)}
.brand-mark,.avatar-self,.empty-chat-icon,.tab-badge,.unread-badge,.send-button,.new-message-button,.toast,
.button.primary,.gender-filters button.active{background:var(--primary);color:var(--on-primary)}
.button.primary:hover,.send-button:hover,.new-message-button:hover{background:var(--primary-hover);color:var(--on-primary-hover)}
.gender-filters button.active{border-color:var(--primary)}
.list-tab.active{color:var(--accent-ink);border-color:var(--primary)}
.person-row.selected:before{background:var(--primary)}
.button:not(.primary):not(.danger){color:var(--accent-ink)}
.welcome{background:var(--landing-background,#fbfaf6);color:var(--landing-on-background,#233c34)}
.welcome-story{background:var(--landing-hero,#163e35);color:var(--landing-on-hero,#fff);padding-bottom:330px;min-height:850px}
.welcome-story .brand,.welcome-story .story-copy h1{color:var(--landing-on-hero,#fff)}
.welcome-story .brand-mark{background:var(--landing-on-hero,#fff);color:var(--landing-hero,#163e35)}
.welcome-story .eyebrow,.story-copy p,.story-footer{color:var(--landing-hero-muted,#c4d4c9)}
.story-copy{margin-top:65px}
.story-copy h1{white-space:pre-line}
.story-copy [data-copy],.join-card [data-copy],.join-footer [data-copy]{overflow-wrap:anywhere}
[data-copy]{white-space:pre-line}
.art-bubble [data-copy]{max-width:260px;max-height:4.5em;overflow:hidden}
.story-footer{right:11%;line-height:1.5}
.welcome-form-wrap{background:var(--landing-background,#fbfaf6)}
.join-card .eyebrow,.join-intro,.field-hint,.access-note,.privacy-note,.legal-links,.join-footer{color:var(--landing-muted,#748078)}
.join-card h2,.join-card .field-label{color:var(--landing-on-background,#233c34)}
.welcome-mobile-brand{color:var(--landing-on-background,#233c34)}
.name-input-wrap input,.gender-choice label>span{color:#233c34}
.name-input-wrap input::placeholder{color:#6b746b}
.name-input-wrap:focus-within{border-color:var(--primary)}
.gender-choice input:checked+span{border-color:var(--primary)}
.gender-choice input:checked+span .radio-dot{border-color:var(--primary);background:var(--on-primary)}
.join-submit{height:auto;min-height:54px}
.join-submit>[data-copy]{text-align:left;flex:1;min-width:0}
.join-submit>[data-icon]{flex-shrink:0}
.join-footer{padding:0 22px;text-align:center}
.conversation{display:flex;flex-direction:column}
.conversation-brand-bar{display:flex;align-items:center;min-height:49px;flex-shrink:0;padding:9px 31px;background:#fff;border-bottom:1px solid var(--line)}
.conversation-brand-bar .brand{font-size:19px;letter-spacing:-.6px;gap:8px;max-width:100%}
.conversation-brand-bar .brand-mark{height:27px;width:27px;border-radius:8px}
.conversation-brand-bar .brand-mark svg{height:20px;width:20px}
.conversation-brand-bar .brand-logo{height:28px;max-width:min(200px,70vw)}
.empty-conversation,.active-conversation{height:auto;min-height:0;flex:1}
.empty-conversation h2{color:var(--theme-on-background,#233c34)}
.empty-conversation>p,.empty-conversation .eyebrow,.privacy-pill,.chat-security-note,.composer-hint,.day-separator,.chat-beginning,.chat-beginning strong{color:var(--theme-muted,#748078)}
.empty-mini{border-color:var(--theme-background,#fbfaf6)}
.conversation-header,.composer,.conversation-brand-bar{flex-shrink:0}
@media(max-width:1100px){.welcome-story{padding-bottom:330px;min-height:800px}.story-copy{margin-top:60px}}
@media(max-width:800px){.conversation-brand-bar{padding-left:18px;padding-right:18px}}
@media(max-width:620px){
  .conversation{display:none}
  .chat-app.chat-open .conversation{display:flex}
  .conversation-brand-bar{min-height:45px;padding:8px 17px;padding-top:max(8px,env(safe-area-inset-top))}
  .conversation-brand-bar .brand{font-size:18px}
  .conversation-brand-bar .brand-logo{height:26px}
  .conversation-header{min-height:71px;padding-top:12px;padding-bottom:12px}
}
@media(max-height:650px) and (min-width:621px){.welcome-story{min-height:740px}.story-copy{margin-top:45px}}

/* Logo placement and its own header surface. Scaling never changes mobile sizes. */
.welcome-brand-bar{display:none}
.sidebar-header,.conversation-brand-bar{background:var(--logo-header-background,#fff);color:var(--logo-header-on-background,#000)}
.sidebar-header .brand,.conversation-brand-bar .brand,.sidebar-header>.icon-button{color:inherit}
.logo-header-transparent .conversation-brand-bar{color:var(--theme-on-background,#233c34)}
.logo-header-transparent .sidebar-header{background:var(--theme-background,#fbfaf6);color:var(--theme-on-background,#233c34)}
@media(min-width:621px){
  .brand-logo{height:calc(38px * var(--logo-desktop-scale,1));max-width:min(calc(180px * var(--logo-desktop-scale,1)),100%);min-width:0;flex-shrink:1}
  .conversation-brand-bar .brand-logo{height:calc(28px * var(--logo-desktop-scale,1));max-width:min(calc(200px * var(--logo-desktop-scale,1)),100%)}
  .sidebar-header .brand{max-width:calc(100% - 48px)}
}
@media(max-width:800px){
  .welcome-brand-bar{display:flex;align-items:center;background:var(--logo-header-background,#fff);color:var(--logo-header-on-background,#000);margin:-35px -28px 53px;padding:20px 28px;min-height:78px}
  .welcome-brand-bar .welcome-mobile-brand{display:inline-flex;margin:0;color:inherit;max-width:100%}
  .logo-header-transparent .welcome-brand-bar{color:var(--landing-on-background,#233c34)}
}
@media(max-width:620px){
  .logo-mobile-centered .conversation-brand-bar,.logo-mobile-centered .welcome-brand-bar{justify-content:center;text-align:center}
  .logo-mobile-centered .sidebar-header{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;column-gap:8px}
  .logo-mobile-centered .sidebar-header>.brand{grid-column:2;justify-self:center;justify-content:center;max-width:100%;overflow:hidden}
  .logo-mobile-centered .sidebar-header>.icon-button{grid-column:3;justify-self:end}
  .logo-mobile-centered .sidebar-header .brand-logo{max-width:100%;min-width:0;flex-shrink:1}
}
@media(max-width:360px){.welcome-brand-bar{margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px;margin-bottom:36px}}

/* Compact attachment tray, one upload at a time, and an explicit recipient. */
.attachment-preview{display:block;flex-shrink:0;padding:8px 10px}
.attachment-selection-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.attachment-selection-header strong{font-size:11px;color:#233c34;white-space:normal}
.attachment-selection-header .icon-button{height:34px;width:34px}
.attachment-items{display:flex;gap:10px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:thin;overscroll-behavior-x:contain;scroll-snap-type:x proximity}
.attachment-item{flex:0 0 100px;min-width:0;position:relative;scroll-snap-align:start;background:#fff;border:1px solid #d7e1cf;border-radius:10px;overflow:hidden}
.attachment-thumbnail,.attachment-file-icon{display:block;width:100%;height:66px;object-fit:cover;background:#f4f6ef}
.attachment-file-icon{display:grid;place-items:center;color:#45633b}
.attachment-item-info{padding:6px}
.attachment-item-info strong{font-size:9px;line-height:1.4}
.attachment-item-info>span{font-size:9px;color:#52654d;display:block;margin-top:3px}
.attachment-item-remove{position:absolute;right:0;top:0;width:36px;height:36px;display:grid;place-items:center;border:0;background:#ffffffeb;color:#233c34;border-radius:0 0 0 10px}
.attachment-item-remove svg{width:18px;height:18px}
#attachment-selection-hint{font-size:10px;line-height:1.5;color:#52654d;margin:3px 0 0}
.upload-progress{flex-shrink:0;display:flex;align-items:center;gap:10px;margin:0 28px 9px;padding:10px 12px;border:1px solid #d7e1cf;border-radius:10px;background:#fff;color:#233c34;font-size:11px;line-height:1.5}
#upload-progress-text{flex:1;min-width:0;overflow-wrap:anywhere}
.upload-progress-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.upload-progress button{font-size:10px;color:#233c34;background:#edf3e7;border:1px solid #d7e1cf;border-radius:6px;min-height:36px;padding:6px 9px}
.peer-unavailable-note{flex-shrink:0;margin:0 28px 10px;padding:12px;background:#fff4e6;border:1px solid #e4ccb0;border-radius:10px;color:#69421a;font-size:12px;line-height:1.6}
.pending-error{margin:3px 0 0;font-size:10px;color:#7d241e;background:#fff2ee;padding:6px;border-radius:6px;overflow-wrap:anywhere}
.composer[aria-busy="true"] .send-button{cursor:progress}
@media(max-width:800px){.upload-progress,.peer-unavailable-note{margin-left:15px;margin-right:15px}}
@media(max-width:620px){
  .upload-progress,.peer-unavailable-note{margin-left:12px;margin-right:12px}
  .upload-progress{display:block;font-size:10px;padding:8px 10px}
  .upload-progress-actions{margin-top:6px;justify-content:flex-start}
  .attachment-item{flex-basis:88px}
  .attachment-thumbnail,.attachment-file-icon{height:54px}
  #attachment-selection-hint{font-size:9px}
}
.sidebar-header>.icon-button:hover{color:#233c34}

/* A compact list: search opens on demand, while overflow remains discoverable. */
.list-controls{display:flex;align-items:center;justify-content:space-between;gap:8px}
.list-controls .gender-filters{margin:0;gap:5px;flex-wrap:nowrap}
.list-search-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:#fff;border:1px solid var(--line);border-radius:7px;min-height:34px;padding:7px 10px;color:#52634d;font-size:11px;white-space:nowrap;margin-left:auto}
.list-search-toggle svg{width:15px;height:15px}
.list-search-toggle[aria-expanded="true"]{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}
.sidebar-tools>.search-wrap{margin-top:12px}
.people-list-wrap{position:relative;flex:1;min-height:0}
.people-list-wrap>.people-list{height:100%;scrollbar-width:auto;scrollbar-color:#839a78 #eff3eb;scrollbar-gutter:stable}
.people-list::-webkit-scrollbar{width:10px}
.people-list::-webkit-scrollbar-track{background:#eff3eb;border-radius:10px}
.people-list::-webkit-scrollbar-thumb{background:#839a78;border:2px solid #eff3eb;border-radius:10px}
.people-list::-webkit-scrollbar-thumb:hover{background:#526a48}
.list-scroll-hint{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;white-space:nowrap;border:1px solid #c8d7be;background:#fff;color:#304c28;border-radius:20px;padding:8px 13px;box-shadow:0 3px 14px #20371f26;font-size:10px;min-height:34px;z-index:2}
.list-scroll-hint svg{width:14px;height:14px}
.directory-list + .list-scroll-hint{left:auto;right:12px;transform:none;min-height:24px;padding:2px 7px;gap:3px}
.directory-list + .list-scroll-hint svg{width:12px;height:12px}
@media(min-width:621px){.conversation-brand-bar{display:none}}
@media(max-width:620px){
  .sidebar-tools{padding:15px 18px 13px}
  .list-controls .gender-filters button{font-size:11px;padding:8px 11px;min-height:36px}
  .list-search-toggle{font-size:11px;min-height:36px;padding:8px 10px}
  .sidebar-footer,#list-footnote{display:none}
  .list-bottom:not(.has-more){display:none}
  .list-bottom.has-more{padding:9px 18px max(10px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){.list-controls{gap:6px}.list-controls .gender-filters{gap:4px}.list-controls .gender-filters button{padding:8px 8px}.list-search-toggle{padding:8px}}

/* A persistent menu and compact cross-conversation unread indicator. */
.sidebar-header,.conversation-brand-bar{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:8px;align-items:center}
.sidebar-header>.header-menu,.conversation-brand-bar>.header-menu{grid-column:1;grid-row:1;justify-self:start;width:40px;height:40px;color:inherit}
.sidebar-header>.brand,.conversation-brand-bar>.brand{grid-column:2;grid-row:1;max-width:100%;min-width:0;overflow:hidden}
.sidebar-header .brand-logo,.conversation-brand-bar .brand-logo{max-width:100%;min-width:0;flex-shrink:1}
.header-unread{grid-column:3;grid-row:1;justify-self:end;max-width:104px;min-height:36px;border:0;border-radius:18px;padding:7px 9px;background:#b72c39;color:#fff;font-size:10px;line-height:1.25;font-weight:700;text-align:center;overflow-wrap:anywhere;box-shadow:0 2px 8px #b72c391a}
.header-unread:hover{background:#99222e}
.hide-presence-dots .person-row .avatar:after,.person-row.system-peer .avatar:after{display:none}
.landing-counter{display:flex;align-items:center;gap:12px;border:1px solid #d5e1d0;border-radius:12px;padding:13px 15px;margin-top:22px;background:#f0f6eb;color:#264a37}
.landing-counter>svg{width:25px;height:25px;flex-shrink:0}
.landing-counter strong,.landing-counter span{display:block}
.landing-counter strong{font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums}
.landing-counter div>span{font-size:10px;line-height:1.5;color:#4f6655}
.composer{margin-bottom:14px}
.new-message-button{bottom:88px}
.attachment-ephemeral-option{display:flex;align-items:center;gap:9px;margin:7px 0 1px;padding:8px 9px;border:1px solid #c8d7be;border-radius:8px;background:#f5f8f1;color:#304c28;font-size:11px;line-height:1.5;cursor:pointer;min-height:42px}
.attachment-ephemeral-option input{width:17px;height:17px;margin:0;accent-color:var(--primary);flex-shrink:0}
.ephemeral-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:116px;min-width:150px;max-width:260px;padding:18px 14px;border-radius:12px;background:#e9eee5;color:#334b2f;text-align:center}
.ephemeral-tile>svg{width:26px;height:26px}
.ephemeral-tile strong{font-size:12px;font-weight:600;line-height:1.5}
.ephemeral-tile .button{min-height:36px;background:#fff;margin:0}
.ephemeral-tile.expired{min-height:90px;background:#eceeea;color:#5c6757}
.ephemeral-sent-note{font-size:9px;line-height:1.4;margin:7px 0 0;color:#52654d}
.ephemeral-countdown{font-size:13px!important;font-weight:700;color:#8d3829!important;font-variant-numeric:tabular-nums;margin:0 0 12px!important}
.ephemeral-video{display:block;width:100%;max-height:62dvh;border-radius:10px;background:#141814}
.ephemeral-expired{padding:18px 0;text-align:center}
@media(min-width:621px){.conversation-brand-bar{display:none}.sidebar-header .brand{font-size:23px}.sidebar-header{padding-left:18px;padding-right:18px}}
@media(max-width:620px){
  .sidebar-header,.conversation-brand-bar{grid-template-columns:40px minmax(0,1fr) auto;padding-left:14px;padding-right:14px;gap:7px}
  .sidebar-header>.brand,.conversation-brand-bar>.brand{font-size:21px;gap:7px}
  /* Equal side tracks keep the brand on the actual header midpoint. Reserve
     the unread button's width on both sides, and release it when hidden. */
  .logo-mobile-centered .sidebar-header,.logo-mobile-centered .conversation-brand-bar{--header-side-space:40px;grid-template-columns:var(--header-side-space) minmax(0,1fr) var(--header-side-space);column-gap:7px}
  .logo-mobile-centered.has-unread-chats .sidebar-header,.logo-mobile-centered.has-unread-chats .conversation-brand-bar{--header-side-space:94px}
  .logo-mobile-centered .sidebar-header>.header-menu,.logo-mobile-centered .conversation-brand-bar>.header-menu{grid-column:1;justify-self:start}
  .logo-mobile-centered .sidebar-header>.brand,.logo-mobile-centered .conversation-brand-bar>.brand{justify-self:center;justify-content:center}
  .logo-mobile-centered .sidebar-header>.header-unread,.logo-mobile-centered .conversation-brand-bar>.header-unread{width:100%;max-width:100%;min-width:0}
  .header-unread{max-width:94px;font-size:9px;min-height:36px;padding:7px 8px}
  .composer{margin-bottom:max(8px,env(safe-area-inset-bottom))}
  .new-message-button{bottom:82px}
  .attachment-ephemeral-option{font-size:10px;padding:7px;gap:8px}
  .ephemeral-tile{min-width:130px;padding:14px 10px}
}
@media(max-width:360px){
  .logo-mobile-centered.has-unread-chats .sidebar-header,.logo-mobile-centered.has-unread-chats .conversation-brand-bar{--header-side-space:80px}
}

/* Administrator-selected menu ink and external links within the same menu. */
.sidebar-header>.header-menu,.conversation-brand-bar>.header-menu{color:var(--theme-menu-icon,#163e35)}
.modal-menu>.menu-link{border:1px solid var(--line);background:#fff;border-radius:11px;min-height:48px;display:flex;align-items:center;gap:12px;font-size:12px;text-align:left;padding:11px 13px;text-decoration:none;color:inherit;overflow-wrap:anywhere}
.modal-menu>.menu-link:hover{background:var(--mint-soft)}
.modal-menu>.menu-link:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.modal-menu>.menu-link svg{width:18px;height:18px;flex-shrink:0;color:#879978}
.modal-menu>.menu-link span{min-width:0}

/* Compact single-line layout only for online users. Chat previews retain their two lines. */
.person-row.directory-row {
  --row-size: max(var(--directory-row-height,24px),1.375rem);
  display:flex; align-items:center; box-sizing:border-box;
  height:var(--row-size); min-height:var(--row-size);
  padding:0 7px; margin:0 0 var(--directory-row-gap,0px); gap:7px; border-radius:5px;
}
.directory-row.selected:before { top:3px; bottom:3px; width:2px; }
.person-row.directory-row .avatar {
  width:clamp(17px,calc(var(--row-size) - 5px),30px); height:clamp(17px,calc(var(--row-size) - 5px),30px);
  border-radius:30%; font-size:.625rem; line-height:1; letter-spacing:0;
}
.person-row.directory-row .avatar:after { width:5px; height:5px; right:-2px; bottom:-1px; border-width:1px; }
.directory-row .person-info { display:flex; align-items:baseline; gap:7px; min-width:0; }
.directory-row .person-info strong { flex:0 1 auto; min-width:0; font-size:.8125rem; line-height:1.15; }
.directory-row .person-info p { flex:0 4 auto; min-width:0; margin:0; font-size:.6875rem; line-height:1.15; color:#62715f; }
.directory-row .person-meta { align-self:center; padding:0; line-height:1; }
.directory-row .person-meta .gender-tag { font-size:.8125rem; }

/* Keep the gender visible beside a long username, including on narrow phones. */
.chat-contact-name,.peer-heading .chat-peer-title{display:flex;align-items:baseline;gap:.35em;min-width:0}
.chat-contact-name strong,.chat-peer-title #peer-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-contact-name .gender-tag,.chat-peer-title #peer-gender{flex:none;color:#52685c}
.chat-contact-name .gender-tag{font-size:.875rem;line-height:1}
.chat-peer-title #peer-gender{font-size:.8em;font-weight:500}

/* Same menu row dimensions as the navigation links; a compact inline reason when unavailable. */
.modal-menu>button.push-row{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:12px;row-gap:1px;align-content:center;padding:5px 13px}
.modal-menu>.push-row svg{color:#976200;fill:#ffd659;stroke-width:1.7;grid-column:1;grid-row:1 / span 2}
.modal-menu>.push-row:disabled{opacity:.66;cursor:not-allowed}
.push-row .push-label,.push-row .push-status{grid-column:2}
.push-row .push-status{font-size:10px;color:var(--muted);overflow-wrap:anywhere}

.message-meta [data-receipt] svg{stroke-width:var(--receipt-stroke,1.7)}

/* Admin-authored rich text is rendered as actual DOM, never injected HTML. */
.rich-content {white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
.message-body.rich-content {--rich-link-color:var(--info-link-color,var(--primary,var(--green)))}
.rich-content a {color:var(--rich-link-color,var(--primary,var(--green)));text-decoration:underline;text-underline-offset:.15em}
.rich-content .rich-image {display:inline-block;max-width:100%;max-height:200px;height:auto;width:auto;vertical-align:middle;object-fit:contain;border-radius:.4rem}
.directory-list .directory-ad {box-sizing:border-box;display:block;flex:none;margin:0;padding:8px 9px;border:1px solid var(--line);border-radius:6px;background:var(--white);font-size:.8125rem;line-height:1.35;color:var(--ink)}

.peer-unavailable-note{white-space:pre-line;overflow-wrap:anywhere;}

/* The list palette applies below the brand header only. Row dimensions include their optional border. */
.sidebar {background-color:var(--directory-panel-bg,#fff)}
.person-row.directory-row {background-color:var(--directory-row-bg,transparent);border:var(--directory-row-border,0);border-radius:var(--directory-row-radius,5px)}
.person-row.directory-row:hover {background-color:#f4f7ee}
.person-row.directory-row.selected {background-color:#ecf4e5}
.custom-directory-panel .sidebar .list-tab,.custom-directory-panel .sidebar .list-bottom,.custom-directory-panel .sidebar .sidebar-footer,
.custom-directory-panel .sidebar .connection-status,.custom-directory-panel .sidebar .list-empty {color:var(--directory-panel-base-muted)}
.custom-directory-panel .sidebar .list-tab.active,.custom-directory-panel .sidebar .list-empty h3 {color:var(--directory-panel-base-ink)}
.custom-directory-panel .sidebar .list-tab.active {border-bottom-color:currentColor}
.custom-directory-panel .sidebar .person-row:not(.directory-row) {
  background-color:transparent;--list-ink:var(--directory-panel-base-ink);--list-muted:var(--directory-panel-base-muted)
}
.custom-directory-panel .sidebar .person-row:not(.directory-row):hover {
  background-color:var(--directory-panel-hover);--list-ink:var(--directory-panel-hover-ink);--list-muted:var(--directory-panel-hover-muted)
}
.custom-directory-panel .sidebar .person-row:not(.directory-row).selected {
  background-color:var(--directory-panel-selected);--list-ink:var(--directory-panel-selected-ink);--list-muted:var(--directory-panel-selected-muted)
}
.custom-directory-row .sidebar .directory-row {--list-ink:var(--directory-row-base-ink);--list-muted:var(--directory-row-base-muted)}
.custom-directory-row .sidebar .directory-row:hover {
  background-color:var(--directory-row-hover);--list-ink:var(--directory-row-hover-ink);--list-muted:var(--directory-row-hover-muted)
}
.custom-directory-row .sidebar .directory-row.selected {
  background-color:var(--directory-row-selected);--list-ink:var(--directory-row-selected-ink);--list-muted:var(--directory-row-selected-muted)
}
:is(.custom-directory-row .directory-row,.custom-directory-panel .person-row:not(.directory-row)) .person-info strong {color:var(--list-ink)}
:is(.custom-directory-row .directory-row,.custom-directory-panel .person-row:not(.directory-row)) :is(.person-info p,.person-meta,.gender-tag) {color:var(--list-muted)}

/* Private thread pins do not change the online directory or row stride. */
.peer-pin{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;align-self:center;width:32px;height:32px;margin:0;padding:7px;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}
.peer-pin svg,.list-pin svg{width:100%;height:100%;display:block}
.peer-pin[aria-pressed=true],.peer-pin:hover:not(:disabled){background:var(--mint-soft);color:var(--forest)}
.peer-pin[aria-pressed=true] svg,.list-pin svg{fill:currentColor}
.peer-pin:disabled{cursor:default;opacity:.5}
.peer-pin[hidden]{display:none}
.list-pin{width:13px;height:13px;display:inline-block;flex:0 0 13px;color:var(--green)}

.registration-block-notice{padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--landing-background);color:var(--landing-on-background)}
.registration-block-notice .eyebrow{color:inherit}.join-card .registration-block-notice h2{font-size:clamp(23px,4vw,31px);letter-spacing:-.7px;margin:.5em 0}
.registration-block-notice p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:0}

.cms-links{display:flex;flex-wrap:wrap;gap:.5rem 1.1rem}
.cms-links a{color:inherit;text-underline-offset:.18em;overflow-wrap:anywhere}
.cms-landing-links{margin:1.25rem 0 .5rem;font-size:.9rem;font-weight:600;color:var(--landing-on-background,#233c34)}
.cms-landing-foot{width:100%;max-width:375px;margin-top:1rem;font-size:.82rem;color:var(--landing-on-background,#233c34)}
.welcome-form-wrap:has(.cms-landing-foot:not(:empty)){flex-direction:column}
.welcome-form-wrap:has(.cms-landing-foot:not(:empty)) .join-footer{position:static;margin:1.75rem 0 0}
.cms-landing-foot .cms-footer-links{justify-content:center}
@media(max-width:620px){.cms-landing-foot{margin-inline:auto}}
#landing-page-links:empty,.cms-landing-foot:empty{display:none}
.legal-links{flex-wrap:wrap;row-gap:4px}
#landing-legal-page-links{display:contents}
.cms-legal-item{display:inline-flex;align-items:baseline;gap:12px;max-width:100%;min-width:0}
.legal-links a{padding:4px 0;text-decoration:none;color:inherit;font-size:inherit;overflow-wrap:anywhere}
.legal-links a:hover{text-decoration:underline}

/* An inline identity shares the name baseline; the composer needs no extra row. */
.chat-peer-title .peer-ai-identity{flex:none;color:#52685c;font-size:.72em;font-weight:500;text-decoration:none;white-space:nowrap}
.peer-ai-identity[hidden]{display:none}

/* The identity uses each bot's validated colour and stays on the name baseline. */
.chat-contact-name .person-ai-identity{flex:none;color:#52685c;font-size:.72em;font-weight:500;text-decoration:none;white-space:nowrap}

/* Separate administrator-controlled message text sizes; chrome and timestamps keep their scale. */
.messages .message-body{font-size:var(--message-font-size-desktop,12px)}
@media(max-width:620px){.messages .message-body{font-size:var(--message-font-size-mobile,13px)}}

.registration-captcha{margin:18px 0}.registration-captcha .button{margin-top:4px;font-size:12px;padding:8px 12px}.registration-captcha-widget{min-width:0;max-width:100%}.registration-captcha .field-hint{margin:8px 0}
