.guardian-e2ee-dialog{width:min(740px,calc(100vw - 32px));max-height:90dvh;overflow:auto}
.e2ee-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.e2ee-dialog-heading h2{margin-top:0}.e2ee-dialog-heading button{flex:none}
.e2ee-fingerprint{display:block;overflow-wrap:anywhere;word-break:break-word;padding:12px;border:1px solid currentColor;border-radius:10px;font-size:1rem;line-height:1.7}
.e2ee-secondary-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.guardian-e2ee-dialog .direct-chat-thread{max-height:42dvh;overflow:auto}
.guardian-e2ee-dialog form{display:grid;gap:16px}.guardian-e2ee-dialog details{margin:16px 0}
@media(max-width:600px){.guardian-e2ee-dialog{padding:20px;width:calc(100vw - 20px)}.e2ee-secondary-actions{display:grid}}

.e2ee-dialog-heading h2{font-size:clamp(1.45rem,3vw,1.9rem);font-weight:500;line-height:1.2}
.e2ee-dialog-heading button{min-width:44px;min-height:44px;border-radius:50%;background:transparent;color:inherit;border:1px solid currentColor}
.guardian-e2ee-dialog .advisor-write{font-size:1rem;font-weight:600;justify-content:center;min-height:48px}
.e2ee-secondary-actions .room-text-action{font-size:.9rem;min-height:44px}
