:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#20342e;background:#edf2ef;font-synthesis:none;--green:#257759;--line:#e9eeeb}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:0;background:transparent;color:inherit;touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #84bca7;outline-offset:3px}input,textarea{border:1px solid var(--line);padding:13px;border-radius:12px;background:#f8faf9;min-width:0;color:inherit}button,input{min-height:44px}[hidden]{display:none!important}h1,h2,p{margin-top:0}.primary{background:var(--green);color:#fff;padding:12px 22px;border-radius:12px;font-weight:600}.text{color:#6c8178;padding:8px}.round{width:44px;height:44px;border-radius:50%;font-size:25px;color:#4c6b5e}.round:hover,.tools button:hover{background:#eaf2ed}.eyebrow{font-size:10px;letter-spacing:2px;color:#82988c;font-weight:700}.auth{max-width:370px;margin:9vh auto;padding:28px}.brandmark,.emptyIcon{display:grid;place-items:center;background:#deeee5;color:var(--green);font-weight:600;width:70px;height:70px;border-radius:24px;font-size:32px;margin-bottom:22px}.auth h1{font-size:32px;margin-bottom:10px}.auth p{color:#7b8b83;font-size:14px}.auth form{display:grid;gap:18px;margin:32px 0}.auth label{display:grid;gap:8px;font-size:13px}.auth small{color:#86958c;font-size:11px}#authError{color:#b23b3b;margin:0}main{display:flex;max-width:1240px;height:calc(100dvh - 64px);min-height:500px;margin:32px auto;background:white;border-radius:22px;overflow:hidden;box-shadow:0 20px 80px #244b3510;border:1px solid #e0e8e2}.sidebar{width:326px;flex-shrink:0;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#fff}.listHeader{display:flex;justify-content:space-between;align-items:center;padding:30px 25px 20px}.listHeader h1{font-size:27px;margin:7px 0 0;letter-spacing:1px}.listHeader .round{background:#edf5f0;color:var(--green)}.search{display:flex;align-items:center;gap:8px;background:#f5f7f6;margin:0 20px 23px;padding:0 12px;border-radius:12px;color:#8a9990}.search input{width:100%;border:0;background:transparent;padding-left:0;font-size:13px}.search span{font-size:26px}.contacts{flex:1;overflow:auto;padding:0 12px}.contact{display:flex;gap:12px;align-items:center;padding:16px 12px;width:100%;text-align:left;border-radius:13px;margin-bottom:4px}.contact.active{background:#eaf3ed}.avatar{width:46px;height:46px;border-radius:16px;background:#e3ede6;color:#4d735e;display:grid;place-items:center;font-size:20px;flex-shrink:0}.contact:nth-child(2n) .avatar{background:#ede9e0;color:#8b7751}.contactText{min-width:0;flex:1}.contactTitle{display:flex;justify-content:space-between;gap:8px;align-items:center}.contact strong{font-size:14px;font-weight:600}.contact time{font-size:10px;color:#91a095}.preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#8b9990;margin-top:7px}.unread{font-size:10px;color:white;background:var(--green);border-radius:20px;padding:3px 6px}.sidebar footer{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-top:1px solid var(--line);font-size:12px}.sidebar footer>div{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.sidebar footer small{color:#93a397;font-size:10px}.statusDot{background:#4d9c75;width:7px;height:7px;border-radius:50%}.conversation{flex:1;min-width:0;background:#f7f9f7;position:relative}.empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.emptyIcon{width:84px;height:84px;border-radius:28px}.empty h2{font-size:22px;letter-spacing:1px}.empty p{font-size:13px;color:#93a096;margin-bottom:25px}#thread{display:flex;height:100%;flex-direction:column}.threadHeader{background:#ffffffd9;display:flex;align-items:center;gap:13px;padding:19px 26px;border-bottom:1px solid var(--line)}.threadHeader .avatar{width:42px;height:42px;border-radius:14px}.peerInfo{flex:1}.peerInfo h2{font-size:16px;margin:0 0 5px}.peerInfo span{font-size:11px;color:#8d9d92}.threadNote{text-align:center;color:#a1aea4;font-size:11px;padding:17px}.messages{flex:1;overflow:auto;padding:10px 30px 26px;scroll-behavior:smooth}.message{display:flex;align-items:flex-start;gap:10px;margin:14px 0}.message.mine{flex-direction:row-reverse}.message .avatar{width:32px;height:32px;border-radius:11px;font-size:14px}.bubbleWrap{max-width:76%;min-width:0}.bubble{padding:12px 16px;border-radius:3px 16px 16px 16px;background:white;border:1px solid #e9eee9;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.mine .bubble{background:#ddefdf;border-color:#ddefdf;border-radius:16px 3px 16px 16px}.message time{display:block;font-size:9px;color:#9eaca1;margin-top:6px;padding:0 3px}.mine time{text-align:right}.bubble img,.bubble video{max-width:100%;max-height:290px;border-radius:9px;display:block}.bubble audio{max-width:100%;width:230px}.bubble a{color:#28664e;display:block;font-size:13px}.composer{background:white;border-top:1px solid var(--line);padding:12px 24px 15px;position:relative}.tools{display:flex;gap:7px;align-items:center;margin-bottom:8px}.tools button{font-size:24px;min-width:38px;min-height:38px;border-radius:9px;color:#789183}.tools span{font-size:11px;color:#8d9b91}.composer form{display:flex;gap:12px;align-items:flex-end}.composer textarea{flex:1;border:0;background:transparent;resize:none;max-height:110px;line-height:1.6;padding:10px 0}.composer small{display:block;font-size:9px;color:#a2ada6;margin-top:10px}.emojis{position:absolute;bottom:100%;left:20px;background:white;box-shadow:0 4px 30px #234d3226;padding:10px;border-radius:15px;display:flex;flex-wrap:wrap;max-width:280px}.emojis button{font-size:23px;width:42px;height:42px}.back{display:none}dialog{border:1px solid var(--line);border-radius:24px;padding:30px;width:min(400px,calc(100% - 32px));color:inherit;box-shadow:0 20px 80px #12342526}dialog::backdrop{background:#162b2359;backdrop-filter:blur(4px)}dialog h2{font-size:22px}dialog p{font-size:13px;color:#8d9c92}dialog input{width:100%}.dialogActions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#findResult{padding-top:15px;font-size:13px}.callContent{text-align:center}.callContent video{width:100%;background:#20342e;border-radius:15px;margin-top:10px}.callContent #localVideo{width:110px}.danger{background:#bd5454;color:white;border-radius:12px;padding:12px 24px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#243c31;color:white;padding:14px 20px;border-radius:13px;font-size:13px;z-index:20;max-width:90%}.blankList{color:#91a095;text-align:center;font-size:13px;padding:45px 16px;line-height:1.9} @media(max-width:720px){body{background:white}main{height:100dvh;min-height:0;margin:0;border:0;border-radius:0}.sidebar{width:100%;border:0}.conversation{display:none}.chatOpen .sidebar{display:none}.chatOpen .conversation{display:block;width:100%}.back{display:block}.listHeader{padding-top:max(25px,env(safe-area-inset-top))}.threadHeader{padding:12px 12px;padding-top:max(12px,env(safe-area-inset-top));gap:8px}.threadHeader .round{width:38px}.messages{padding:5px 14px 20px}.bubbleWrap{max-width:80%}.composer{padding:8px 16px max(12px,env(safe-area-inset-bottom))}.composer small{display:none}.threadNote{padding:13px;font-size:10px}.auth{margin:7vh auto}.sidebar footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}}@media(min-width:721px) and (max-width:1300px){main{margin:16px;height:calc(100dvh - 32px)}}
/* Labeled actions keep the first mobile trial easy to understand. */
.tools button{font-size:13px;min-height:44px;padding:0 10px}.tools{gap:2px;flex-wrap:wrap}.threadHeader #audioCall,.threadHeader #videoCall{font-size:12px;width:44px;background:#edf5f0}
.workspace{display:flex;flex:1;min-width:0;min-height:0}.appNav{width:86px;flex-shrink:0;background:#f4f8f5;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:14px;padding:28px 10px}.navBrand{display:grid;place-items:center;width:43px;height:43px;border-radius:15px;background:var(--green);color:white;font-size:22px;margin-bottom:24px}.appNav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:12px;width:64px;min-height:66px;border-radius:14px;color:#84958a}.appNav button>span{font-size:24px;line-height:1}.appNav button[aria-current=page]{color:var(--green);background:#e1eee5;font-weight:600}.appNav b{position:absolute;right:6px;top:5px;border-radius:20px;min-width:16px;background:var(--green);color:white;padding:2px 4px;font-size:9px}.fullPage{flex:1;min-width:0;overflow-y:auto;background:#f7f9f7}.pageHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:42px 48px 20px;max-width:1000px;margin:auto}.pageHeader h1{font-size:28px;margin:10px 0}.pageHeader p{font-size:13px;color:#8b9c90;margin:0}.pageContent{max-width:1000px;padding:16px 48px 40px;margin:auto}.panel{padding:24px;background:white;border:1px solid var(--line);border-radius:18px;margin-bottom:20px}.panel h2{font-size:15px;margin-bottom:18px}.sectionTitle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.sectionTitle h2{margin:0}.sectionTitle small{font-size:12px;margin-left:8px;font-weight:400;color:#92a296}.sectionTitle input{max-width:200px;width:50%;font-size:12px}.friendRow{display:flex;align-items:center;gap:14px;width:100%;padding:16px 4px;border-bottom:1px solid #f0f3f0;text-align:left}.friendRow:last-child{border-bottom:0}.friendRow:is(button):hover{background:#f7faf8;border-radius:12px}.friendInfo{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.friendInfo strong{font-size:14px;overflow-wrap:anywhere}.friendInfo small{font-size:11px;color:#93a096;overflow-wrap:anywhere}.rowHint{font-size:11px;color:#93a096;flex-shrink:0}.requestActions{display:flex;gap:6px;flex-shrink:0}.requestActions button{font-size:12px;padding:9px 14px}.largeAvatar{width:88px;height:88px;border-radius:28px;font-size:36px;margin:0 auto 12px}.avatar{overflow:hidden}.avatar img{display:block;width:100%;height:100%;object-fit:cover}.profileContent{max-width:620px}.profileCard{display:flex;flex-direction:column;align-items:stretch;padding:30px}.profileCard #changeAvatar{align-self:center;margin-bottom:18px}.profileCard label{display:flex;flex-direction:column;gap:10px;font-size:13px;margin:12px 0}.profileCard small{font-size:11px;line-height:1.8;color:#98a49b}.profileCard #saveProfile{margin-top:18px}.profileCard input[readonly]{color:#8d9d91}.profileCard #profileFeedback{font-size:12px;color:var(--green);padding-top:12px;min-height:28px}.logoutButton{background:white;border:1px solid var(--line);border-radius:14px;width:100%;min-height:50px;color:#8c675d;font-size:13px}.privacyNote{text-align:center;color:#a0aca3;font-size:11px;margin-top:20px}.personCard{text-align:center}.personCard h2{margin:20px 0 10px}.personCard p{overflow-wrap:anywhere}.personActions{display:flex;justify-content:center;padding:15px 0}.personActions button{width:100%}#peerAvatar,#peerName,.message .avatar[role=button]{cursor:pointer}#personStatus{font-size:12px}#findResult .contact{overflow-wrap:anywhere}
@media(max-width:720px){main{flex-direction:column}.appNav{order:2;flex-direction:row;justify-content:space-around;width:100%;height:auto;padding:5px 12px max(5px,env(safe-area-inset-bottom));gap:0;border-right:0;border-top:1px solid var(--line);background:white}.navBrand{display:none}.appNav button{flex-direction:column;min-height:54px;width:72px;gap:3px;border-radius:12px;font-size:11px}.appNav button>span{font-size:22px}.appNav b{right:10px;top:3px}.workspace{flex:1;min-height:0;overflow:hidden;width:100%}.chatOpen .appNav{display:none}.fullPage{min-height:0}.pageHeader{padding:28px 22px 12px;align-items:center}.pageHeader h1{font-size:26px}.pageHeader p{font-size:11px}.pageHeader .primary{font-size:12px;padding:10px 13px}.pageContent{padding:16px 16px 24px}.panel{padding:18px 14px;border-radius:16px;margin-bottom:14px}.friendRow{gap:10px;padding:15px 0;flex-wrap:wrap}.requestActions{margin-left:auto}.requestActions button{padding:8px 12px}.rowHint{font-size:10px}.sectionTitle input{max-width:150px}.profileContent{padding-left:22px;padding-right:22px}.profileCard{padding:26px 22px}.privacyNote{font-size:10px}.largeAvatar{width:80px;height:80px;border-radius:25px}.sidebar{min-height:0}.sidebar footer{padding-bottom:12px}.profileCard label{margin:10px 0}.messages{min-height:0}}
/* Chat actions: consistent vector icons with 44px touch targets. */
.tools button{width:44px;height:44px;min-width:44px;flex-shrink:0;padding:10px;display:inline-flex;align-items:center;justify-content:center}
.tools{gap:4px}.tools button svg,.threadHeader .round svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.threadHeader #audioCall,.threadHeader #videoCall{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:11px;flex-shrink:0}
.tools button.isRecording{color:#bc5252;background:#fae9e9}.tools button.isRecording svg{fill:currentColor;stroke-width:0}
#voiceInput{padding:5px 0 0}#voiceInput small{display:block;margin-top:10px;text-align:center;font-size:10px;color:#94a399}
#holdToTalk{display:block;width:100%;height:50px;border:1px solid #e4ebe6;border-radius:12px;background:#f5f8f6;font-size:15px;font-weight:600;letter-spacing:2px;color:#496557;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#holdToTalk.isHolding{background:#dcecdf;color:#257759}.voiceOverlay{position:absolute;z-index:10;bottom:calc(100% + 24px);left:50%;transform:translateX(-50%);width:220px;padding:28px 20px 20px;border-radius:23px;background:#284a3deb;color:white;text-align:center;box-shadow:0 10px 35px #23433220;pointer-events:none}
.voiceOverlay strong{display:block;font-size:15px;margin-top:16px}.voiceOverlay>span{display:block;font-size:24px;margin-top:10px;font-variant-numeric:tabular-nums}.voiceOverlay p{font-size:11px;margin:14px 0 0;color:#d7e7dd}.voiceOverlay.willCancel{background:#ac5050ed}.voiceOverlay.willCancel p{color:#ffdddd}.voiceWaves{height:36px;display:flex;justify-content:center;align-items:center;gap:5px}.voiceWaves i{width:4px;height:15px;background:#deeee4;border-radius:4px;animation:voicePulse 1s ease-in-out infinite alternate}.voiceWaves i:nth-child(2n){height:30px;animation-delay:.2s}.voiceWaves i:nth-child(3){height:36px;animation-delay:.4s}@keyframes voicePulse{to{transform:scaleY(.45)}}@media(prefers-reduced-motion:reduce){.voiceWaves i{animation:none}}
/* Input mode toggle sits beside the input, in both typing and hold-to-talk modes. */
.inputRow{display:flex;align-items:flex-start;gap:10px}.inputModeArea{flex:1;min-width:0}.inputModeToggle{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:50px;padding:10px;flex-shrink:0;color:#789183;border-radius:12px}.inputModeToggle:hover{background:#edf5f0}.inputModeToggle[aria-pressed=true]{color:#257759;background:#edf5f0}.inputModeToggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.inputModeArea #voiceInput{padding-top:0}.inputModeArea #sendForm{align-items:center;gap:10px}.inputModeArea #draft{border:1px solid #e4ebe6;background:#f7faf8;padding:11px 12px;border-radius:12px;min-height:50px}.composer>small{margin-left:54px}.inputModeArea #voiceInput small{font-size:10px}@media(max-width:720px){.inputRow{gap:8px}.inputModeArea #sendForm{gap:8px}.inputModeArea #send{padding:12px 14px;white-space:nowrap}.inputModeArea #draft{font-size:14px}}
/* Personal home: compact identity card and grouped chat preferences. */
.personalHeader{max-width:820px;padding:30px 40px 8px}.personalHeader h1{margin:8px 0;font-size:28px}.personalContent{max-width:820px;padding:18px 40px 28px}.identityCard{padding:26px 26px 0;background:linear-gradient(135deg,#eef7f0,#fff 75%);border:1px solid #e0ebe3;border-radius:22px}.identityTop{display:flex;align-items:center;gap:18px}.heroAvatar{width:78px;height:78px;border-radius:24px;border:1px solid #d6e4da;box-shadow:0 4px 14px #244b3508;font-size:31px;background:#e0eee4;flex-shrink:0}.identityInfo{flex:1;min-width:0}.identityInfo h2{font-size:22px;margin:0 0 10px;overflow-wrap:anywhere}.handleCopy{display:flex;align-items:center;gap:7px;color:#81988a;font-size:12px;padding:0;min-height:26px;text-align:left;overflow-wrap:anywhere}.inlineIcon{display:inline-flex;flex-shrink:0}.inlineIcon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.editProfileButton{border:1px solid #ccded2;border-radius:11px;color:#39765a;background:#fff9;font-size:12px;padding:0 14px;min-height:36px;white-space:nowrap}.heroBio{font-size:13px;color:#658171;line-height:1.8;margin:20px 0 19px;white-space:pre-wrap;overflow-wrap:anywhere}.heroBio.emptyBio{color:#98a69d;font-size:12px}.identityBottom{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #e5ede7;padding:8px 0}.identityBottom .text{font-size:12px;padding-left:0}.identityBottom b{font-weight:600;color:var(--green);margin-left:5px}.profileTag{font-size:10px;color:#9aaba0}.settingsHeading{font-size:11px;letter-spacing:1px;color:#8f9f94;margin:23px 0 10px 6px;font-weight:500}.settingsGroup{background:white;border:1px solid var(--line);border-radius:17px;padding:0 20px;margin-bottom:14px}.settingsRow{display:flex;align-items:center;gap:14px;text-align:left;width:100%;min-height:76px;padding:14px 0;border-bottom:1px solid #edf1ee}.settingsRow:last-child{border-bottom:0}.settingsIcon{display:grid;place-items:center;width:38px;height:38px;background:#f0f6f2;border-radius:12px;color:#6f927c;flex-shrink:0}.settingsIcon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.settingsText{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}.settingsText strong{font-size:13px;font-weight:500}.settingsText small{font-size:10px;color:#97a59b}.settingsChevron{color:#acb8af;font-size:20px}.versionBadge{font-size:11px;color:#a0aea4}.personalContent .logoutButton{min-height:46px;background:transparent;color:#a5786d;margin-top:2px}.personalContent .privacyNote{margin:15px 0 0}.profileEditor{display:flex;flex-direction:column;gap:0}.dialogTitle{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.dialogTitle h2{font-size:19px;margin:0}.dialogTitle .text{font-size:18px;width:40px;height:40px;padding:0}.profileEditor .largeAvatar{margin:3px auto 6px;border:1px solid #dbe6de}.avatarActions{display:flex;justify-content:center;gap:10px;margin-bottom:10px}.avatarActions .text{font-size:12px}.profileEditor label{display:flex;flex-direction:column;gap:8px;margin:10px 0;font-size:12px}.profileEditor input,.profileEditor textarea{width:100%;font-size:13px;line-height:1.6}.profileEditor textarea{resize:vertical;min-height:78px}.profileEditor small{font-size:10px;color:#9aa89d;line-height:1.8}.profileEditor input[readonly]{color:#99a79d}.profileEditor #profileFeedback{font-size:12px;line-height:1.6;color:var(--green);margin-top:8px}.profileEditor #saveProfile{margin-top:16px}.settingsExplanation{font-size:12px;color:#94a499;line-height:1.9}.toggleRow{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 0;border-bottom:1px solid var(--line);min-height:75px}.toggleRow>span{display:flex;flex-direction:column;gap:8px;min-width:0}.toggleRow strong{font-size:13px;font-weight:500}.toggleRow small{font-size:10px;color:#99a79d;line-height:1.6}.toggleRow input{appearance:none;-webkit-appearance:none;position:relative;width:42px;min-width:42px;height:25px;min-height:25px;border:0;border-radius:20px;background:#d9e1db;padding:0;cursor:pointer;flex-shrink:0}.toggleRow input:before{content:'';position:absolute;left:3px;top:3px;width:19px;height:19px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .15s}.toggleRow input:checked{background:var(--green)}.toggleRow input:checked:before{transform:translateX(17px)}.privacyDetails p{font-size:11px;color:#8f9f94;line-height:1.9;margin:14px 0 0}#privacyFeedback{font-size:12px;color:var(--green);margin-top:10px}.aboutBrand{display:grid;place-items:center;margin:24px auto 16px;width:66px;height:66px;border-radius:22px;background:var(--green);color:white;font-size:30px}.aboutName{text-align:center;font-size:21px;margin:14px 0 22px}.aboutName small{display:block;font-size:11px;color:#9caaa1;font-weight:400;margin-top:8px}#personStatus{white-space:pre-wrap}dialog{max-height:calc(100dvh - 32px);overflow:auto}#editProfileDialog{width:min(440px,calc(100% - 28px));padding:22px 26px}
@media(max-width:720px){.personalHeader{padding:23px 23px 4px}.personalHeader h1{font-size:26px}.personalContent{padding:15px 18px 22px}.identityCard{padding:20px 18px 0;border-radius:18px}.identityTop{gap:13px;flex-wrap:wrap}.heroAvatar{width:64px;height:64px;border-radius:21px;font-size:27px}.identityInfo h2{font-size:19px;margin-bottom:7px}.handleCopy{font-size:11px}.editProfileButton{font-size:11px;padding:0 10px;min-height:34px}.identityInfo{min-width:100px}.heroBio{font-size:12px;margin:16px 0}.settingsHeading{margin-top:20px}.settingsGroup{padding:0 15px;border-radius:15px}.settingsRow{gap:12px;min-height:72px}.settingsText strong{font-size:13px}.settingsText small{font-size:10px}.profileTag{font-size:9px}.identityBottom .text{font-size:11px}.personalContent .privacyNote{font-size:10px}.profileEditor .largeAvatar{width:68px;height:68px;border-radius:21px;font-size:27px}#editProfileDialog{padding:18px 22px}.profileEditor label{margin:8px 0}.profileEditor textarea{min-height:68px}.profileEditor input{min-height:44px;padding:10px 12px}.avatarActions{margin-bottom:0}}
/* Friends directory follows the personal home's card rhythm. */
.friendsHeader{max-width:820px;padding:30px 40px 8px}.friendsHeader h1{margin:8px 0;font-size:28px}.friendsTotal{font-size:11px;color:#86a18f;background:#edf5ef;padding:8px 12px;border-radius:20px;white-space:nowrap}.friendsContent{max-width:820px;padding:18px 40px 28px}.friendQuickActions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.friendQuickAction{display:flex;align-items:center;gap:13px;text-align:left;background:linear-gradient(135deg,#edf6ef,#fff);border:1px solid #e1ece4;border-radius:18px;padding:20px;min-height:96px}.quickIcon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#e0eee4;color:#61856d;flex-shrink:0}.quickIcon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.friendQuickAction>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:9px;min-width:0}.friendQuickAction strong{font-size:14px;font-weight:600;display:flex;align-items:center;gap:7px}.friendQuickAction small{font-size:10px;line-height:1.6;color:#91a495}.friendQuickAction b{display:inline-grid;place-items:center;min-width:17px;height:17px;border-radius:20px;color:white;background:var(--green);font-size:9px;padding:0 4px}.friendSearch{display:flex;align-items:center;gap:9px;min-height:48px;padding:0 14px;border-radius:13px;background:white;border:1px solid #e6ede8}.friendSearch>span{display:inline-flex;color:#9db0a2}.friendSearch svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.friendSearch input{width:100%;border:0;background:transparent;font-size:12px;padding:10px 0}.friendSearch button{min-width:36px;min-height:40px;font-size:12px;color:#8c9f92}.friendsSectionTitle{display:flex;justify-content:space-between;align-items:center;margin:24px 4px 12px;gap:12px}.friendsSectionTitle h2{margin:0;font-size:13px;font-weight:500}.friendsSectionTitle h2>span{color:#81998a;font-size:11px;margin-left:7px}.friendsSectionTitle>small{font-size:10px;color:#a1afa5}.friendsDirectory{background:white;border:1px solid var(--line);border-radius:18px;padding:0 20px}.friendEntry{display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf2ee;min-height:86px}.friendEntry:last-child{border:0}.friendMain{display:flex;align-items:center;gap:15px;flex:1;min-width:0;text-align:left;padding:16px 0}.friendMain .avatar{width:46px;height:46px;border-radius:16px;border:1px solid #e0eae3}.friendMain .friendInfo small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block}.friendMessage{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:13px;background:#f0f6f2;color:#6c927b}.friendMessage:hover{background:#e1eee5;color:var(--green)}.friendMessage svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.friendsFootnote{text-align:center;font-size:10px;color:#a1aea5;margin:18px 0}.directoryEmpty{padding:38px 15px;display:flex;flex-direction:column;align-items:center;color:#a2b5a8;text-align:center}.directoryEmpty>svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;margin-bottom:18px}.directoryEmpty strong{font-size:14px;font-weight:500;color:#718e7c}.directoryEmpty p{font-size:11px;color:#a0aea5;line-height:1.8;margin:10px 0}.directoryEmpty .text{font-size:12px;color:var(--green)}.requestsDialog{width:min(520px,calc(100% - 28px));padding:24px}.requestTabs{display:flex;border-bottom:1px solid var(--line);gap:12px;margin-top:5px}.requestTabs button{flex:1;color:#97a69c;font-size:12px;padding:12px 4px;border-bottom:2px solid transparent}.requestTabs button[aria-selected=true]{color:var(--green);border-bottom-color:var(--green);font-weight:600}.requestTabs span{font-size:10px;font-weight:400;background:#eef4f0;border-radius:10px;padding:2px 6px;margin-left:5px}.requestIntro{font-size:10px!important;line-height:1.8;color:#a0ada4!important;margin:17px 0 8px}.requestsDialog .friendRow{padding:16px 0;gap:12px}.requestsDialog .friendInfo{gap:6px}.requestsDialog .friendInfo small{font-size:10px;line-height:1.6}.requestsDialog .friendInfo strong{font-size:13px}.requestsDialog .requestActions button{min-height:38px;padding:8px 12px;font-size:11px}.pendingTag{font-size:10px;padding:5px 9px;border-radius:10px;color:#94a397;background:#f2f6f3;white-space:nowrap}.friendProfileDialog{padding:24px 26px;width:min(400px,calc(100% - 28px))}.friendProfileDialog .dialogTitle{margin-bottom:20px}.friendProfileDialog .largeAvatar{border:1px solid #d9e7de;background:#e4f0e8;box-shadow:0 5px 20px #214f320a}.friendProfileDialog .personCard h2{font-size:23px;margin:18px 0 8px}.friendProfileDialog #personHandle{font-size:12px;color:#96a79b;margin-bottom:14px}.relationshipTag{display:inline-block;border-radius:20px;font-size:10px;padding:6px 12px;background:#eaf4ed;color:#6c967d}.personBioSection{text-align:left;background:#f6f9f7;padding:15px 17px;border-radius:13px;margin:22px 0 15px}.personBioSection>span{font-size:10px;color:#a0b0a5}.personBioSection p{font-size:12px;color:#718d7b;line-height:1.8;white-space:pre-wrap;margin:8px 0 0;overflow-wrap:anywhere}.friendProfileDialog #personStatus{font-size:11px;line-height:1.8;margin:0;color:#9cac9f}.friendProfileDialog .personActions{padding:0;margin-top:22px}
@media(max-width:720px){.friendsHeader{padding:23px 23px 4px}.friendsHeader h1{font-size:26px}.friendsContent{padding:15px 18px 24px}.friendQuickActions{gap:10px;margin-bottom:16px}.friendQuickAction{padding:16px 12px;gap:10px;min-height:98px;border-radius:16px}.friendQuickAction strong{font-size:12px;gap:5px}.friendQuickAction small{font-size:9px}.friendQuickAction .settingsChevron{display:none}.quickIcon{width:34px;height:34px;border-radius:11px}.quickIcon svg{width:21px;height:21px}.friendsTotal{font-size:10px;padding:7px 10px}.friendsDirectory{padding:0 15px;border-radius:16px}.friendEntry{min-height:82px}.friendMain{gap:12px;padding:16px 0}.friendMain .friendInfo strong{font-size:13px}.friendMain .friendInfo small{font-size:10px}.friendMessage{width:42px;height:44px;border-radius:12px}.friendsSectionTitle{margin-top:22px}.requestsDialog{padding:20px 18px}.requestsDialog .friendRow{gap:10px}.requestsDialog .avatar{width:40px;height:40px;border-radius:14px}.requestsDialog .requestActions{gap:4px}.requestsDialog .requestActions button{padding:8px 10px}.requestIntro{font-size:10px!important}.friendProfileDialog{padding:20px 24px}.friendProfileDialog .dialogTitle{margin-bottom:16px}}
/* Chat list, conversation and composer share the soft card styling. */
#chatSidebar{width:324px;background:#f7f9f7}.listHeader{padding:30px 23px 8px}.listHeader h1{font-size:28px;margin-top:8px}.listHeader .round{width:42px;height:42px;min-height:44px;background:#e5f0e8;border:1px solid #dce9e0}.chatListSubtitle{font-size:11px;color:#95a79a;margin:6px 23px 22px;line-height:1.7}.sidebar .search{background:#fff;border:1px solid #e5ece7;border-radius:13px;gap:9px;margin:0 20px 19px;padding:0 12px}.search #chatSearchIcon{display:flex;color:#a1b1a5}.search svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.search input{font-size:11px;min-height:46px}.search #clearChatSearch{min-width:28px;padding:0;min-height:40px;font-size:11px;color:#93a89a}.chatListHeading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 23px 13px;color:#879e8d;font-size:10px}.chatListHeading small{font-size:9px;color:#a4b2a8}.contacts{padding:0 12px 16px}.contact{border:1px solid #e8eee9;background:white;padding:16px 12px;gap:12px;margin-bottom:10px;min-height:82px}.contact:hover{border-color:#d5e4d9;background:#fcfefc}.contact.active{background:linear-gradient(110deg,#e6f1e9,#f0f7f2);border-color:#d5e6da}.contact .avatar{width:46px;height:46px;border:1px solid #dbe7df;border-radius:16px}.contact strong{font-size:13px}.contact time{font-size:9px;color:#9caf9f;flex-shrink:0}.contact .contactText{overflow:hidden}.previewLine{display:flex;align-items:center;gap:8px;margin-top:8px}.previewLine .preview{flex:1;min-width:0;margin:0;line-height:1.6;font-size:11px}.previewLine .unread{flex-shrink:0;font-size:9px;min-width:17px;text-align:center;padding:2px 5px}.contact.hasUnread strong{color:#254e39}.preview.draftPreview{color:#a18760}.sidebar footer{font-size:11px;background:#f7f9f7;padding:13px 20px}.sidebar footer small{font-size:9px}#chatSidebar[data-connection=reconnecting] .statusDot,#chatSidebar[data-connection=connecting] .statusDot{background:#c6a968}#chatSidebar[data-connection=demo] .statusDot{background:#a2ada6}.sidebar footer .text{font-size:10px}.chatListEmpty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:40px 18px;color:#a6b7ab}.chatListEmpty>svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;margin-bottom:18px}.chatListEmpty strong{font-size:13px;color:#7d9787;font-weight:500}.chatListEmpty p{font-size:10px;line-height:1.9;margin:12px 0 4px;color:#a1b0a5}.chatListEmpty .text{font-size:11px;color:var(--green)}.conversation{background:#f5f8f5}.empty{padding:26px;text-align:center;background:radial-gradient(ellipse at center,#edf5ef,transparent 70%)}.emptyIcon{background:#e4f0e8;border:1px solid #dbe9df;color:#639074;width:80px;height:80px;border-radius:27px}.emptyIcon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.empty h2{font-size:21px;font-weight:600;margin-bottom:14px}.empty p{font-size:12px;line-height:1.9}.empty .primary{font-size:12px;min-height:44px}.emptyCaption{font-size:10px;color:#a3b1a7;margin-top:18px}.threadHeader{padding:18px 24px;background:#ffffffed;gap:13px}.threadHeader .avatar{border:1px solid #dce8df;border-radius:15px}.peerInfo{min-width:0}.peerInfo h2{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.peerInfo #peerHandle{font-size:10px;color:#99aa9e;display:inline-block;max-width:calc(100% - 48px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.peerInfo .privateChatTag{display:inline-block;font-size:9px;color:#86a08e;background:#edf5ef;border-radius:7px;padding:3px 6px;margin-left:7px;vertical-align:middle}.threadHeader #audioCall,.threadHeader #videoCall{background:#eef5f0;border:1px solid #e5eee8;color:#71917c}.threadHeader #audioCall:hover,.threadHeader #videoCall:hover{background:#e1eee5}.conversation .threadNote{font-size:9px;padding:12px;color:#adbbb0}.messageArea{position:relative;flex:1;min-height:0}.messageArea .messages{height:100%;padding:8px 26px 24px;scroll-behavior:auto}.messageDate{width:max-content;max-width:100%;margin:9px auto 23px;font-size:9px;color:#a0b2a5;background:#edf3ee;border-radius:20px;padding:5px 12px}.message{margin:16px 0;gap:10px}.message .avatar{width:34px;height:34px;border-radius:12px;border:1px solid #dfe9e1}.bubbleWrap{max-width:77%}.bubble{border-radius:4px 16px 16px 16px;padding:12px 16px;line-height:1.8;font-size:14px;border-color:#e3ebe5;box-shadow:0 2px 5px #284d3303}.mine .bubble{border-radius:16px 4px 16px 16px;background:#e0efdf;border-color:#d7e7d6}.message .messageMeta{font-size:9px;color:#a1b1a6;margin-top:7px}.bubble.fileBubble{padding:10px}.bubble .attachmentLink{display:flex;align-items:center;gap:10px;padding:9px 4px;text-decoration:none;max-width:100%;min-width:min(170px,100%);white-space:normal}.attachmentLink>svg{width:23px;height:23px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.attachmentLink>span{display:flex;flex-direction:column;min-width:0;gap:5px}.attachmentLink strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.attachmentLink small{font-size:9px;color:#8ba094}.bubble img,.bubble video{border-radius:10px}.bubble audio{max-width:100%;height:42px}.threadGreeting{display:flex;flex-direction:column;align-items:center;text-align:center;padding:40px 20px;color:#a1b3a6}.threadGreeting .avatar{width:64px;height:64px;border-radius:22px;font-size:27px;border:1px solid #dce8de;margin-bottom:20px}.threadGreeting strong{font-size:14px;color:#779581;font-weight:500;overflow-wrap:anywhere}.threadGreeting p{font-size:11px;margin-top:12px;line-height:1.8}.jumpToLatest{position:absolute;bottom:16px;right:22px;border:1px solid #d7e6dc;background:#fff;color:#67917a;border-radius:20px;padding:8px 15px;min-height:40px;font-size:11px;box-shadow:0 4px 15px #234c3212;z-index:3}.composer{padding:12px 22px 14px;border-color:#e6eee8;background:#fff}.tools{margin-bottom:10px}.tools button{border-radius:12px;color:#7a9b87}.tools button:hover{background:#eaf3ed}.inputModeToggle{color:#7d9a88;background:#f3f8f4;border:1px solid #e3ece5}.inputModeArea #draft{background:#f7faf8;border-color:#e1eae3;font-size:13px;line-height:1.8;max-height:124px}.inputModeArea #draft:focus-visible{outline:2px solid #c0dac9;outline-offset:1px}.inputModeArea #send{font-size:13px;min-height:48px;border-radius:12px}.composer>small{font-size:9px;color:#acb8af}.inputModeArea #holdToTalk{background:#f3f8f4;border-color:#e0ebe3;font-size:14px}.inputModeArea #holdToTalk.isHolding{background:#dcecdf}.composer #uploadStatus{font-size:10px;line-height:1.7}.emojis{border:1px solid #e5eee7;box-shadow:0 8px 30px #234c3212}
@media(max-width:720px){#chatSidebar{width:100%}.listHeader{padding:25px 23px 8px}.listHeader h1{font-size:26px}.chatListSubtitle{font-size:11px;margin-bottom:19px}.sidebar .search{margin:0 18px 18px}.chatListHeading{margin-left:22px;margin-right:22px}.contacts{padding:0 18px 16px}.contact{padding:16px 14px;min-height:84px;border-radius:16px}.contact strong{font-size:14px}.contact .avatar{width:47px;height:47px}.previewLine .preview{font-size:11px}.sidebar footer{padding:8px 20px}.threadHeader{padding:12px 10px;gap:8px}.threadHeader .back{min-width:34px;width:34px;padding:0}.threadHeader #audioCall,.threadHeader #videoCall{min-width:40px;width:40px;height:44px;padding:10px}.threadHeader .avatar{width:40px;height:40px}.peerInfo h2{font-size:14px;margin-bottom:5px}.peerInfo #peerHandle{font-size:9px}.peerInfo .privateChatTag{font-size:8px;padding:2px 5px;margin-left:5px}.conversation .threadNote{padding:10px;font-size:9px}.messageArea .messages{padding:4px 14px 22px}.bubbleWrap{max-width:78%}.message{gap:8px;margin:15px 0}.bubble{font-size:14px;padding:11px 14px}.message .avatar{width:31px;height:31px;border-radius:11px}.messageDate{font-size:9px;margin-bottom:20px}.composer{padding:9px 14px max(12px,env(safe-area-inset-bottom))}.tools{margin-bottom:7px;gap:3px}.tools button{height:42px}.inputRow{gap:8px}.inputModeToggle{width:42px;min-width:42px;height:50px}.inputModeArea #draft{font-size:14px;padding:11px 12px}.inputModeArea #send{padding:12px 13px;font-size:12px}.jumpToLatest{right:15px;bottom:14px;font-size:10px}.attachmentLink strong{font-size:11px}.threadGreeting{padding-top:30px}}
/* Message actions: one unobtrusive menu for mouse, touch and keyboard. */
.bubble{touch-action:pan-y;-webkit-touch-callout:none}.bubble:focus-visible{outline:2px solid #b7d5c1;outline-offset:3px}.bubble img{user-select:none;-webkit-user-drag:none}.messageMenu{position:fixed;z-index:100;width:158px;background:#fffffff5;border:1px solid #e1eae4;border-radius:17px;padding:7px;box-shadow:0 10px 40px #23442e26;backdrop-filter:blur(12px)}.messageMenu button{display:block;width:100%;height:44px;text-align:left;padding:0 23px;font-size:13px;border-radius:10px}.messageMenu button:hover,.messageMenu button:focus-visible{background:#eaf3ed;color:#257759}.messageMenu button:disabled{cursor:default;opacity:.35}.messageMenu button[data-message-action=delete]{color:#a36e65}.quotePreview{display:flex;align-items:center;gap:12px;background:#f1f6f2;border-left:3px solid #a9cab4;border-radius:10px;padding:10px 12px;margin-bottom:10px}.quotePreview>div{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.quotePreview strong{font-size:11px;color:#6d8c78;font-weight:500}.quotePreview span{font-size:11px;color:#9aab9e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quotePreview button{width:34px;height:34px;min-height:34px;color:#99aa9e;flex-shrink:0}.quotedMessage{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;border:0;border-left:3px solid #b7cebc;background:#edf4ef;border-radius:7px;padding:8px 10px;margin-bottom:9px;min-height:42px;white-space:normal;max-width:300px}.mine .quotedMessage{background:#d5e5d5;border-color:#a6c6ab}.quotedMessage strong{font-size:10px;font-weight:500;color:#698873}.quotedMessage span{font-size:11px;color:#8c9f91;line-height:1.7;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.forwardedTag{display:block;font-size:9px;color:#8da393;margin-bottom:6px}.recalledMessage .bubble{background:#edf2ee!important;border:0!important;color:#9cad9f;padding:7px 12px;font-size:11px;box-shadow:none}.recalledMessage .avatar{display:none}.recalledMessage{justify-content:center}.recalledMessage .bubbleWrap{text-align:center}.recalledMessage time{text-align:center}.message.isSelected .bubble{outline:2px solid #91b79b;outline-offset:2px}.message.quoteHighlight .bubble{box-shadow:0 0 0 4px #96bfa445}.selectionMode .message{position:relative;padding-left:42px}.messageSelection{position:absolute;left:0;top:0;width:34px;height:44px;display:grid;place-items:center;cursor:pointer}.messageSelection input{min-height:20px;width:20px;height:20px;padding:0;accent-color:#257759}.selectionMode .bubble{cursor:pointer;user-select:none}.selectionMode .bubble audio,.selectionMode .bubble video{pointer-events:none}.selectionBar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 20px;background:white;border-top:1px solid #e3ece6}.selectionBar>div{display:flex;align-items:center;gap:10px}.selectionBar button{font-size:12px;min-height:44px;padding:8px 10px;border-radius:10px}.selectionBar button:hover{background:#eef5f0}.selectionBar #selectedCount{font-size:11px;color:#90a095;white-space:nowrap}.selectionBar #deleteSelected{color:#a8796b}.selectionBar #cancelSelection{color:#90a095}.forwardFriends{max-height:310px;overflow:auto;margin:15px 0}.forwardPerson{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:1px solid transparent;border-radius:13px;text-align:left;margin-bottom:5px}.forwardPerson>span{flex:1;font-size:13px;min-width:0;overflow-wrap:anywhere}.forwardPerson>small{font-size:10px;color:#9dae9f;max-width:40%;overflow-wrap:anywhere}.forwardPerson.chosen{background:#eaf3ed;border-color:#c7ddce}.forwardPerson .avatar{width:38px;height:38px;border-radius:13px;font-size:17px}#forwardFilter,#favoriteFilter{width:100%;font-size:12px}#confirmForward{width:100%;margin-top:10px}#forwardFeedback{font-size:12px;color:#91a297}.favoritesDialog{width:min(550px,calc(100% - 28px));padding:23px}.favoriteCard{border:1px solid #e5ede7;border-radius:15px;padding:16px;margin-top:14px;background:#f9fbf9}.favoriteHeading{display:flex;justify-content:space-between;align-items:center;gap:12px}.favoriteHeading strong{font-size:12px;font-weight:500}.favoriteHeading time{font-size:10px;color:#a0afa5}.favoriteText{font-size:13px!important;color:#6d8877!important;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;max-height:170px;overflow:auto;margin:13px 0}.favoriteCard img,.favoriteCard video{display:block;max-width:100%;max-height:220px;border-radius:10px;margin:10px 0}.favoriteCard audio{width:100%;max-width:300px}.favoriteCard a{font-size:11px;color:#6d977c;display:block;overflow-wrap:anywhere}.favoriteCard>.text{display:block;font-size:10px;margin:10px 0 -5px auto}.bubble a{-webkit-touch-callout:none}
@media(max-width:720px){.messageMenu{width:150px}.messageMenu button{font-size:13px;height:44px}.selectionBar{padding:10px 12px;flex-wrap:wrap;gap:2px}.selectionBar>div:last-child{margin-left:auto;gap:4px}.selectionBar button{font-size:11px;padding:8px}.selectionBar #selectedCount{font-size:10px}.selectionMode .message{padding-left:30px}.messageSelection{width:26px}.messageSelection input{width:19px;height:19px;min-height:19px}.selectionMode .bubbleWrap{max-width:80%}.favoritesDialog{padding:20px}.quotedMessage{max-width:245px}.quotePreview{padding:9px 10px}.forwardPerson{padding:10px 6px;gap:10px}}
.bubble{-webkit-user-select:none;user-select:none}
.reportPerson{display:block;margin:18px auto 0;color:#a57c6c!important;font-size:12px}#reportDialog{width:min(520px,calc(100% - 28px));max-height:85dvh;overflow:auto}#reportForm label:not(.reportEvidenceRow){display:flex;flex-direction:column;gap:8px;margin-top:18px;font-size:12px}#reportForm select,#reportForm textarea{width:100%;padding:12px;border:1px solid #dfe8e1;border-radius:12px;background:#f7faf7;font:inherit;color:inherit}#reportForm textarea{resize:vertical}.reportEvidenceTitle{display:flex;justify-content:space-between;margin:22px 0 12px;font-size:12px}.reportEvidenceTitle small{color:#99a89e}#reportEvidence{max-height:230px;overflow:auto}.reportEvidenceRow{display:flex;align-items:flex-start;gap:12px;border:1px solid #e5ece6;border-radius:12px;padding:12px;margin:8px 0;background:#fafcfb}.reportEvidenceRow input,.reportConsent input{width:18px;height:18px;min-height:18px;padding:0;flex-shrink:0;accent-color:#257759}.reportEvidenceRow span{font-size:12px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.reportEvidenceRow small{display:block;color:#96a69b;font-size:10px}#reportForm .reportConsent{flex-direction:row;align-items:flex-start;line-height:1.8;color:#8c9f91}#reportFeedback{font-size:12px;color:#a57c6c}#submitReport{width:100%;margin-top:12px}

#passwordDialog{width:min(420px,calc(100% - 28px))}#passwordForm label{display:flex;flex-direction:column;gap:8px;font-size:12px;margin:17px 0}#passwordForm input{width:100%;padding:12px;border:1px solid #dfe8e1;border-radius:11px;background:#f7faf7;font:inherit;color:inherit}#passwordForm>p{font-size:11px;line-height:1.8}#passwordFeedback{color:#a87965;white-space:pre-wrap}#savePassword{width:100%;margin-top:10px}

.brandImage{object-fit:contain;background:#000!important;padding:0!important;flex-shrink:0}.aboutBrand.brandImage{display:block}

.sendIssues{padding:10px 16px;background:#faf6ec;border-bottom:1px solid #ece5d5;max-height:190px;overflow:auto}.sendIssues>small{display:block;font-size:10px;color:#a29479;line-height:1.7}.sendIssue{display:flex;align-items:center;gap:8px;margin-top:5px}.sendIssue>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#8a806a}.sendIssue button{font-size:11px;min-height:38px;padding:7px;color:#67896f}


/* Keep the mobile conversation shell still; only its message list scrolls. */
@media(max-width:720px){html:has(main.chatOpen),body:has(main.chatOpen){overflow:hidden;overscroll-behavior:none}body:has(main.chatOpen){position:fixed;inset:0;width:100%}main.chatOpen{position:fixed;inset:0;width:100%;height:var(--chat-visible-height,100dvh);min-height:0;margin:0}.chatOpen .messages{overscroll-behavior-y:contain}}
.imageViewer{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#101513;color:#fff;overflow:hidden}.imageViewer::backdrop{background:#101513}.imageViewerToolbar{position:absolute;inset:0 0 auto;z-index:1;display:flex;align-items:center;gap:4px;padding:max(8px,env(safe-area-inset-top)) 10px 8px;background:#101513}.imageViewerToolbar>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.imageViewerToolbar button{min-width:44px;padding:8px;color:#fff;border-radius:8px}.imageViewerToolbar button:hover{background:#ffffff20}.imageViewerStage{position:absolute;inset:64px 0 max(8px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none}.imageViewerImage{display:block;max-width:100%;max-height:100%;object-fit:contain;flex-shrink:0;transform-origin:center;-webkit-user-drag:none}.imageViewerStatus{position:absolute;color:#ccc;padding:20px;text-align:center}.bubble img[role=button]{cursor:zoom-in}
.bubble.fileBubble.imageOnly{width:fit-content;padding:0;border:0;background:transparent;box-shadow:none;overflow:hidden}.bubble.imageOnly img{display:block;width:auto;height:auto;max-width:min(220px,60vw);max-height:290px;margin:0;border-radius:10px}

.imageViewer{background:transparent}.imageViewer::backdrop{background:transparent}.imageViewerShade{position:absolute;inset:0;background:#101513;pointer-events:none}.imageViewerStage{inset:0}.imageViewerClose{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.imageViewerImage{will-change:transform}

@media(max-width:720px){html:has(main.chatOpen),body:has(main.chatOpen){min-height:0!important;height:100%;overflow:hidden}main.chatOpen{top:var(--chat-visible-top,0px);bottom:auto}}

#callDialog{width:min(420px,calc(100% - 32px));max-width:none;max-height:none;padding:0;border:1px solid #dce8e1;border-radius:28px;background:linear-gradient(160deg,#f4faf6,#e1eee7);color:#203b30;overflow:hidden}#callDialog::backdrop{background:#182d25aa;backdrop-filter:blur(10px)}#callDialog .callContent{min-height:520px;padding:48px 28px 36px;display:flex;flex-direction:column;align-items:center;text-align:center}#callDialog .callAvatar{width:96px;height:96px;border-radius:30px;margin:30px 0 22px;font-size:38px;box-shadow:0 10px 28px #204e3612}#callDialog h2{font-size:25px;max-width:100%;overflow-wrap:anywhere;margin-bottom:12px}#callDialog #callState{font-size:15px;color:#637d70;margin-bottom:10px}#callDialog .callDuration{font-size:29px;font-variant-numeric:tabular-nums;letter-spacing:2px;color:#257759}#callDialog .callActions{width:100%;display:flex;justify-content:center;gap:24px;margin-top:auto;padding-top:40px}#callDialog .callActions button{width:86px;height:70px;border-radius:22px;font-size:16px;padding:8px}#callDialog .callMute{background:#fff;color:#416354;border:1px solid #cddfd3}#callDialog .callMute[aria-pressed=true]{background:#416354;color:white}#callDialog .callHangup{background:#bd5555;color:#fff}#callDialog .callAnswer{background:#257759;color:white}@media(max-width:720px){#callDialog{position:fixed;inset:0;margin:0;width:100%;height:100%;height:100dvh;border:0;border-radius:0}#callDialog .callContent{height:100%;min-height:0;padding:max(34px,env(safe-area-inset-top)) 24px max(42px,env(safe-area-inset-bottom))}#callDialog .callAvatar{margin-top:clamp(28px,10vh,100px)}#callDialog .callActions{padding-bottom:16px}}

#draft{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
.tools .pasteDraft{width:auto;padding:0 8px;font-size:13px;color:#527462}

.appUpdate{text-align:center;margin-top:22px}.appUpdate button{min-width:150px}.appUpdate p{margin:12px 0 0}
