.telegram-dialog{width:min(480px,calc(100% - 24px));padding:24px;border-radius:26px;background:var(--card);color:var(--text)}.telegram-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.telegram-dialog h2,.telegram-admin h3,.telegram-admin h4{margin:0;font-weight:500}.telegram-dialog-head p{margin:5px 0 0}.telegram-dialog-content{display:grid;gap:18px}.telegram-dialog-content p{margin:0}.telegram-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.telegram-preferences{display:grid;gap:13px}.telegram-preferences label{display:flex;align-items:center;gap:10px;min-height:30px}.telegram-preferences input{accent-color:var(--accent);width:18px;height:18px}.telegram-pair-code{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px;border-radius:16px;background:var(--card-alt)}.telegram-pair-code code{font-size:17px;letter-spacing:.04em;overflow-wrap:anywhere}.telegram-profile-link{display:flex;justify-content:flex-end}.telegram-admin{padding:22px;margin-top:24px}.telegram-bindings{margin:20px 0}.telegram-binding-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}.telegram-binding-row p{margin:5px 0 0}.telegram-announcement{margin-top:24px}.telegram-announcement-preview{padding:16px;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:var(--card-alt);border-radius:16px}.telegram-dialog-head .icon-button{display:grid;place-items:center;padding:0;min-width:40px;height:40px}.telegram-admin textarea{width:100%;resize:vertical;min-height:110px;box-sizing:border-box}@media(max-width:520px){.telegram-binding-row{align-items:flex-start;flex-direction:column}.telegram-dialog{padding:20px 16px}.telegram-admin{padding:18px}}
.tg-icon-button{display:grid;place-items:center;flex:none;width:36px;height:36px;margin-left:4px;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);cursor:pointer;transition:color .25s,transform .35s cubic-bezier(.22,1,.36,1)}
.tg-icon-button svg{display:block;width:18px;height:18px}
.tg-icon-button:hover{background:transparent;color:var(--accent);transform:translateY(-2px)}
.tg-icon-button:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-radius:6px}
@media(prefers-reduced-motion:reduce){.tg-icon-button{transition:none}.tg-icon-button:hover{transform:none}}
