/* User-info reference layout. All rules are scoped to the member-info page. */
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222:not(.hidden){background:#fff!important;padding:0!important;color:#111!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-dialog{background:#fff!important;color:#111!important;width:100%!important;max-width:720px!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0 0 env(safe-area-inset-bottom)!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:auto!important;display:flex!important;flex-direction:column!important;font-family:inherit!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-top{position:sticky!important;top:0!important;z-index:3!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;flex:0 0 auto!important;min-height:64px!important;padding:max(8px,env(safe-area-inset-top)) 16px 8px!important;border:0!important;box-shadow:none!important;direction:rtl!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-top>strong{font-size:22px!important;font-weight:700!important;color:#111!important;-webkit-text-fill-color:#111!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileClose{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#777!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:5px!important;font-size:0!important}
html body #peerProfileModal.ept-member-profile222 #peerProfileClose::before{content:'→';font:32px/1 system-ui;color:#777}
html body #peerProfileModal.ept-member-profile222 #peerProfileCopy{display:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-hero{padding:14px 16px 18px!important;background:#fff!important;border:0!important;box-shadow:none!important;text-align:center!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileAvatar{width:120px!important;height:120px!important;min-width:120px!important;min-height:120px!important;border:0!important;border-radius:50%!important;padding:0!important;margin:0 auto 12px!important;background:linear-gradient(#a0dc7b,#4fc862)!important;box-shadow:none!important;overflow:hidden!important;font-size:38px!important;color:white!important;display:grid!important;place-items:center!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileAvatar img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;padding:0!important;border:0!important;box-shadow:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileName{font-size:24px!important;font-weight:700!important;line-height:1.5!important;color:#111!important;margin:0 0 4px!important;-webkit-text-fill-color:#111!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileLastSeen{font-size:17px!important;color:#81868a!important;margin:0!important;font-weight:400!important;-webkit-text-fill-color:#81868a!important}
html body #peerProfileModal.ept-member-profile222 #peerProfileBio:empty{display:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-info{display:block!important;padding:0!important;margin:0!important;background:#fff!important;border:0!important;box-shadow:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-info-row{display:flex!important;align-items:center!important;gap:18px!important;width:100%!important;min-height:66px!important;padding:12px 18px!important;margin:0!important;background:#fff!important;color:#111!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:right!important;direction:rtl!important;box-sizing:border-box!important;font:inherit!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-info-row[hidden]{display:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-info-row .profile-info-icon{display:grid!important;place-items:center!important;flex:0 0 28px!important;width:28px!important;height:30px!important;min-width:28px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#797f82!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .profile-info-icon svg{width:26px!important;height:26px!important;color:#797f82!important;stroke:currentColor!important;fill:none!important;filter:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-info-row>span:nth-child(2){flex:1!important;min-width:0!important;background:transparent!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-info-row strong{font-size:20px!important;font-weight:400!important;line-height:1.5!important;color:#111!important;-webkit-text-fill-color:#111!important;background:none!important;text-shadow:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-info-row small{font-size:15px!important;color:#81868a!important;-webkit-text-fill-color:#81868a!important;background:none!important;text-shadow:none!important}
html body #peerProfileModal.ept-member-profile222 label.peer-profile-info-row small,html body #peerProfileModal.ept-member-profile222 #peerProfileSend small{display:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileMuted{appearance:none!important;-webkit-appearance:none!important;display:block!important;position:relative!important;flex:0 0 36px!important;width:36px!important;height:20px!important;min-width:36px!important;min-height:20px!important;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;background:#c9cdd1!important;cursor:pointer!important;box-shadow:none!important}
html body #peerProfileModal.ept-member-profile222 #peerProfileMuted::before{content:'';position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .12s}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileMuted:checked{background:#3294ef!important}
html body #peerProfileModal.ept-member-profile222 #peerProfileMuted:checked::before{transform:translateX(16px)}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-tabs{display:flex!important;flex:0 0 auto!important;direction:rtl!important;gap:24px!important;align-items:center!important;justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;border:0!important;border-top:6px solid #f6f6f6!important;border-bottom:1px solid #dedfe2!important;border-radius:0!important;background:#fff!important;margin:12px 0 0!important;padding:10px 16px!important;box-shadow:none!important;scrollbar-width:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-tabs button{flex:0 0 auto!important;background:transparent!important;color:#111!important;font-size:17px!important;line-height:1.6!important;font-weight:600!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:5px 0!important;margin:0!important;min-width:0!important;min-height:32px!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-tabs button.active{color:#3294ef!important;-webkit-text-fill-color:#3294ef!important;background:transparent!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-items{background:#fff!important;border:0!important;border-radius:0!important;padding:18px 14px!important;min-height:180px!important}
html body #peerProfileModal.ept-member-profile222 .peer-profile-items>.muted.center{width:100%;grid-column:1/-1;text-align:center;color:#888!important;font-size:17px;margin:28px 0}
.member223-identity{display:contents}.member223-qr{display:none}
html body #peerProfileModal.ept-member-profile222 .member223-identity{display:flex;align-items:center;direction:rtl}
html body #peerProfileModal.ept-member-profile222 .member223-identity #peerProfileQr{flex:1!important;width:auto!important}
html body #peerProfileModal.ept-member-profile222 .member223-qr{display:grid;place-items:center;width:48px;height:48px;margin-inline-end:12px;flex:0 0 48px;border:0;background:none;color:#797f82;padding:12px;cursor:pointer}
html body #peerProfileModal.ept-member-profile222 .member223-qr svg{width:24px;height:24px}
html body #memberQr223[hidden]{display:none!important}html body #memberQr223{position:fixed;inset:0;z-index:17000;display:grid;place-items:center;background:#0006;padding:20px;box-sizing:border-box}
html body #memberQr223 .qr223-card{max-width:340px;width:100%;border-radius:18px;background:#fff;color:#111;padding:20px;box-sizing:border-box;text-align:center;direction:rtl}
html body #memberQr223 img,html body #memberQr223 canvas{display:block;margin:16px auto;max-width:100%;image-rendering:pixelated}html body #memberQr223 button{padding:9px 14px;border-radius:10px;border:1px solid #ddd;background:#fff;color:#222;font:inherit}

/* EPT224 member page must be above the existing group layer (2147483625). */
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222:not(.hidden){z-index:2147483630!important;font-family:Tahoma,'Segoe UI',Arial,sans-serif!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-dialog{font-family:Tahoma,'Segoe UI',Arial,sans-serif!important;color:#173c61!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-top{background:#edf6ff!important;border-bottom:1px solid #d8eafa!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-top>strong{font:700 20px/1.6 Tahoma,'Segoe UI',sans-serif!important;color:#173c61!important;-webkit-text-fill-color:#173c61!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileClose{display:grid!important;place-items:center!important;color:#227bc8!important;-webkit-text-fill-color:#227bc8!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileClose>*{display:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileClose::before{display:block!important;content:'→'!important;color:#227bc8!important;-webkit-text-fill-color:#227bc8!important;font:28px/1 Arial,sans-serif!important}
html body #peerProfileModal.ept-member-profile222 #peerProfileClose::after{content:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileAvatar{background:linear-gradient(145deg,#1489e4,#23b6c8)!important;width:104px!important;height:104px!important;min-width:104px!important;min-height:104px!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileName{font:700 22px/1.6 Tahoma,'Segoe UI',sans-serif!important;color:#173c61!important;-webkit-text-fill-color:#173c61!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-info-row strong{font-family:Tahoma,'Segoe UI',sans-serif!important;font-size:17px!important;color:#173c61!important;-webkit-text-fill-color:#173c61!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 .peer-profile-tabs button{font-family:Tahoma,'Segoe UI',sans-serif!important;font-size:15px!important}
html body #memberQr223{z-index:2147483640!important}
html:root body #drop212{inset:auto!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;width:min(480px,calc(100% - 32px))!important;max-height:min(580px,calc(100% - 32px))!important;height:auto!important;box-sizing:border-box!important;padding:18px!important;border:1px solid #9dcae9!important;box-shadow:0 12px 48px #102b5c33!important;background:var(--panel,#f6fbff)!important;color:var(--text,#173c61)!important}
html body #drop212 .drop212-card{width:100%!important;max-height:inherit!important;overflow:auto!important;box-sizing:border-box!important}
html body #drop212.drop212-dragging{border:2px dashed #249cb9!important;min-height:180px!important}
html body #dropCaption224{display:block;width:100%;min-height:76px;max-height:140px;resize:vertical;box-sizing:border-box;padding:12px;border:1px solid #9dcae9;border-radius:12px;margin-top:12px;background:var(--input,#fff);color:var(--text,#173c61);font:16px/1.7 Tahoma,'Segoe UI',sans-serif;direction:rtl}

/* Native dialog occupies the browser top layer, outside document stacking contexts. */
html body #memberLayer225:not([open]){display:none!important}
html body #memberLayer225[open]{position:fixed!important;inset:0!important;margin:0!important;padding:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#fff!important;color:#173c61!important;transform:none!important;isolation:isolate!important}
html body #memberLayer225::backdrop{background:#fff}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222:not(.hidden){z-index:2147483647!important;transform:none!important;isolation:isolate!important}
html:root body #messages .ept-reply225{display:inline-grid!important;place-items:center!important;flex:0 0 30px!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:6px!important;align-self:center!important;margin:0 4px!important;border:0!important;border-radius:50%!important;background:#78909c24!important;color:var(--accent,#257ab6)!important;box-shadow:none!important;cursor:pointer!important;touch-action:manipulation!important}
html body #messages .ept-reply225 svg{display:block;width:18px;height:18px;pointer-events:none}
html body #messages .ept-reply225:focus-visible{outline:2px solid var(--accent,#257ab6);outline-offset:2px}
html:root body #chatView.bulk-selecting #messages .ept-reply225{display:none!important}

html:root body #messages .message-line>.bubble{flex:0 1 auto!important;min-width:0!important}

/* No rectangular focus boxes; focus and normal form borders remain functional. */
html:root:root:root body :focus,
html:root:root:root body #mainView#mainView#mainView#mainView#mainView#mainView :focus,
html:root:root:root body #peerProfileModal#peerProfileModal :focus,
html:root:root:root body #groupInfo196#groupInfo196 :focus,
html:root:root:root body #contactEntry198#contactEntry198 :focus,
html:root:root:root body #create194#create194 :focus,
html:root:root:root body #newChatModal#newChatModal :focus{outline:none!important;outline-offset:0!important}
html[data-ept-input226=keyboard] body :is(button,a,[role=button]):focus-visible{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px!important}
html[data-ept-input226=keyboard] body :is(input,textarea,select):focus-visible{box-shadow:inset 0 -2px 0 var(--accent,#257ab6)!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileClose::before,
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileClose::after{content:none!important;display:none!important}
html:root:root:root body #peerProfileModal#peerProfileModal.ept-member-profile222 #peerProfileClose>svg.ept-back226{display:block!important;width:26px!important;height:26px!important;stroke:currentColor!important;fill:none!important}
html body #ctBack198>svg.ept-back226{display:block;width:26px;height:26px}
html:root body #messages .ept-reply225{flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:7px!important;margin:0 7px!important;background:#78838a45!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html:root body #messages .ept-reply225 svg{width:24px!important;height:24px!important;fill:currentColor!important;stroke:none!important}
html body #messages [data-ept-side54=outgoing] .ept-reply225 svg{transform:scaleX(-1)}

/* EPT227 uses the original EPT profile skin. Old reference-layout selectors no longer match. */
html body #peerProfileModal.ept-member-native227 #peerProfileClose>svg.ept-native-back227{display:block;width:24px;height:24px;margin:auto;stroke:currentColor;fill:none}
html body #peerProfileModal.ept-member-native227 #peerProfileLastSeen{display:block;min-height:1.5em}
html body #peerProfileModal.ept-member-native227 #peerProfilePhone strong{direction:ltr;unicode-bidi:isolate;display:block}
