:root[data-design] .chat-layout>.chat-main.e43-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden}.e43-head{gap:10px;flex-shrink:0}.e43-head>div{flex:1;min-width:0}.e43-head strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.e43-head small{display:block}.e43-back{display:none}.e43-state{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 14px;font-size:13px;border-bottom:1px solid var(--line,#d9d5df)}.e43-state>span{flex:1;min-width:180px}.e43-state button{min-height:44px}.e43-locked{margin:auto;padding:24px;max-width:480px;text-align:center}.e43-locked>svg{width:40px;height:40px}.e43-locked button{display:block;margin:12px auto;min-height:44px}.e43-messages{flex:1;min-height:140px;overflow-y:auto;overscroll-behavior:contain;padding:16px}.e43-day{position:static;width:max-content;max-width:90%;margin:4px auto 12px;padding:5px 11px;border:1px solid var(--line,#d9d5df);border-radius:20px;background:var(--surface,#fff);box-shadow:0 1px 4px #0000000a;color:var(--muted,#646779);font-size:12px;font-weight:600}.e43-messages .message{max-width:82%;margin:0 0 16px}.e43-messages .message.mine{margin-left:auto}.e43-messages .bubble{white-space:pre-wrap;overflow-wrap:anywhere}.e43-unavailable{font-style:italic}.e43-compose{padding:10px 14px;flex-shrink:0;border-top:1px solid var(--line,#d9d5df)}.e43-compose textarea{width:100%;font-size:16px;min-height:44px;resize:none;max-height:120px}.e43-compose-actions{display:flex;gap:10px;align-items:center;margin-top:8px}.e43-compose-actions small{flex:1}.e43-compose button,.e43-attach{min-width:44px;min-height:44px}.e43-attach{position:relative;overflow:hidden;display:grid;place-items:center;cursor:pointer}.e43-attach input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.e43-files{display:flex;flex-wrap:wrap;gap:6px}.e43-files button{max-width:100%;overflow-wrap:anywhere;text-align:left}.e43-download{display:flex;gap:8px;align-items:center;width:100%;text-align:left;min-height:44px;margin-top:8px}.e43-download small,.e43-people small,.e43-devices small,.e43-trust small{display:block}.e43-download span{min-width:0;overflow-wrap:anywhere}.e43-key-form,.e43-new{display:grid;gap:12px}.e43-key-form label,.e43-new>label{display:grid;gap:6px}.e43-key-form input,.e43-new>label input{width:100%;min-height:44px;font-size:16px}.e43-error{color:var(--danger,#b4233b);white-space:pre-wrap;margin:6px 0}.e43-error:empty{display:none}.e43-key-extra{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.e43-key-extra button,.e43-settings button,.e43-trust button,.e43-new button{min-height:44px}.e43-devices article{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line,#d9d5df)}.e43-people{max-height:35vh;overflow:auto}.e43-people label{display:flex;align-items:center;gap:12px;min-height:54px;padding:8px}.e43-people input,.e43-trust input{width:20px;height:20px;flex-shrink:0}.e43-trust article{padding:14px 0;border-bottom:1px solid var(--line,#d9d5df)}.e43-trust code{display:block;word-break:break-word;white-space:normal;line-height:1.8;font-size:14px;margin:8px 0;user-select:all}.e43-trust label{display:flex;align-items:center;gap:10px;min-height:44px}.e43-people [hidden]{display:none}.e43-older{flex-shrink:0;min-height:44px}.e43-settings .actions{flex-wrap:wrap}.e43-settings p,.e43-trust p{overflow-wrap:anywhere}.e43-badge{font-size:12px;font-weight:500;display:inline-flex;gap:4px;align-items:center}.e43-badge svg{width:14px;height:14px}@media(max-width:900px){.e43-back{display:flex}.e43-head{padding:10px}.e43-state{padding:8px 12px}.e43-panel .e43-messages{padding:12px}.e43-panel .message{max-width:88%}.e43-compose{padding:8px 12px}.e43-compose-actions small{font-size:12px}.e43-head strong{font-size:16px}.e43-key-extra{flex-direction:column}}

.e43-compose .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.e43-attach:focus-within{outline:2px solid var(--accent,#a51e61);outline-offset:2px}.e43-devices code{display:block;white-space:normal;overflow-wrap:anywhere;font-size:12px;max-width:100%;margin-top:8px}.e43-devices article>div{min-width:0}:root[data-theme=dark] .e43-error{color:#ff9bac}
