.E2eeDialog{
	box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);
	padding:20px;border:1px solid var(--ColorBorderControl);border-radius:var(--RadiusSheet);
	background:var(--Panel);color:var(--Text);overflow:auto;overscroll-behavior:contain;
}
.E2eeDialog::backdrop{background:rgba(0,0,0,.6);}
.E2eeDialog__header{display:grid;grid-template-columns:28px minmax(0,1fr) 44px;align-items:start;gap:12px;margin-bottom:16px;}
.E2eeDialog h2{margin:0;padding-top:6px;font-size:20px;line-height:26px;overflow-wrap:anywhere;}
.E2eeDialog__icon{display:flex;align-items:center;justify-content:center;width:28px;height:44px;color:var(--Text);}
.E2eeDialog__icon svg,.E2eeDialog__close svg,#BtnConversationCheckKeys svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.E2eeDialog__body{display:grid;gap:12px;}
.E2eeDialog p{margin:0;line-height:1.5;overflow-wrap:anywhere;}
.E2eeDialog textarea,.E2eeDialog input{box-sizing:border-box;width:100%;min-width:0;}
.E2eeDialog__device{border-top:1px solid var(--ColorBorderControl);padding-top:12px;display:grid;gap:8px;}
.E2eeDialog__fingerprint{font-family:monospace;overflow-wrap:anywhere;}
.E2eeDialog .Btn{min-height:44px;}
html[data-theme] body .E2eeDialog .Btn{background:var(--Surface);color:var(--Text);border:1px solid var(--Muted);box-shadow:none;}
html[data-theme] body .E2eeDialog .Btn.Good:not(:disabled):not([aria-disabled="true"]){background:var(--ColorSelectedBg);color:var(--ColorSelectedText);border-color:var(--ColorSelectedText);}
html[data-theme] body .E2eeDialog .Btn:is(:hover,:active,:focus-visible):not(:disabled):not([aria-disabled="true"]){background:var(--SurfaceAlt);color:var(--Text);border-color:var(--Muted);box-shadow:none;}
html[data-theme] body .E2eeDialog :is(.Input,textarea,input){background:var(--Surface);color:var(--Text);border-color:var(--ColorBorderControl);}
.E2eeDialog__status{min-height:24px;padding:12px 0;}
.E2eeDialog :focus-visible{outline:3px solid var(--ColorFocus);outline-offset:3px;}
#ProfileModal .NavList--screen{gap:12px;}
html[data-theme] body :is(.E2eeDialog .E2eeDialog__close,#TransferModal #BtnConversationCheckKeys){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;padding:9px;border-radius:10px;background:var(--Surface);color:var(--Text);border:1px solid var(--Muted);box-shadow:none;}
html[data-theme] body :is(.E2eeDialog .E2eeDialog__close,#TransferModal #BtnConversationCheckKeys):is(:hover,:active,:focus-visible):not(:disabled){background:var(--SurfaceAlt);border-color:var(--Muted);}
html[data-theme] body #BtnConversationCheckKeys{position:absolute;top:14px;right:68px;margin:0;}
html[data-theme] body #TransferModal #BtnConversationCheckKeys,
html[data-theme] body #TransferModal #BtnConversationCheckKeys:is(:hover,:active,:focus-visible):not(:disabled){border-color:var(--ControlBorderSoft);}
html[data-theme] body #TransferModal #BtnConversationCheckKeys[data-encryption-ready="true"]{color:var(--ColorSuccessText);}
#BtnConversationCheckKeys:focus-visible{outline:3px solid var(--ColorFocus);outline-offset:3px;}
html:root[data-theme] body #TransferModal:has(#BtnConversationCheckKeys:not(.IsHidden)) :is(.Modal__title,.Modal__hint){padding-right:112px;}
html:root[data-theme] body #TransferModal:has(#BtnConversationCheckKeys:not(.IsHidden)) .ConversationCallBtn{left:auto;right:122px;}
html:root[data-theme] body #TransferModal:has(#BtnConversationCheckKeys:not(.IsHidden)):has(.ConversationCallBtn:not(.IsHidden)) :is(.Modal__title,.Modal__hint){padding-right:166px;}
html:root[data-theme] body #TransferModal #BtnConversationCheckKeys{min-height:44px;}
html[data-theme] body .Btn.E2eeCaptionOpen{min-height:44px;background:var(--Surface);color:var(--Text);border:1px solid var(--Muted);box-shadow:none;}
html[data-theme] body .Btn.E2eeCaptionOpen:is(:hover,:active,:focus-visible):not(:disabled){background:var(--SurfaceAlt);color:var(--Text);border-color:var(--Muted);box-shadow:none;}
.E2eeCaptionOpen:focus-visible{outline:3px solid var(--ColorFocus);outline-offset:3px;}
html:root[data-theme] body :is(#TransferModal,#ReceiveModal,#InboxModal) .Btn.E2eeCaptionOpen{min-height:44px;}

.E2eeDialog .Disclosure > summary{border-color:var(--Muted);}
.E2eeActionIcon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;vertical-align:middle;}
.E2eeActionIcon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.E2eeDialog__deviceName,.E2eeDialog .E2eeAction{display:flex;align-items:center;justify-content:center;gap:10px;}
.E2eeDialog__deviceName{justify-content:flex-start;font-weight:600;}
.E2eeDialog__disconnect{display:grid;gap:10px;}
.E2eeDialog [hidden]{display:none!important;}
.E2eeDialog .Disclosure > summary .E2eeActionIcon{margin-right:8px;}
#BtnConversationCheckKeys[data-encryption-ready="pending"] svg{animation:E2eeChecking 1s linear infinite;}
@keyframes E2eeChecking{to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){#BtnConversationCheckKeys[data-encryption-ready="pending"] svg{animation:none;}}
