#account-open{display:none!important}
#telegram-account{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;flex-shrink:0;padding:8px 12px;border:1px solid #ccd4d1;border-radius:6px;background:#fff;color:#204a3e;font:inherit;cursor:pointer}
#telegram-account svg{width:20px;height:20px;flex:none}
#telegram-account-dialog{width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:24px;border-radius:8px;overflow:auto}
#telegram-account-dialog h2{font-size:22px;line-height:1.3;margin:0;overflow-wrap:anywhere}
#telegram-account-dialog .dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#telegram-account-dialog .consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0;font-size:14px;line-height:1.5}
#telegram-account-dialog .consent input{flex:none;width:18px;height:18px;margin-top:2px}
#telegram-account-dialog .primary{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;white-space:normal;min-height:48px}
.telegram-profile-name{font-size:20px;overflow-wrap:anywhere}
.telegram-auth-error{color:#a62a33;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:600px){.header-inner{flex-wrap:wrap}#telegram-account{margin-left:auto}#telegram-account-dialog{padding:18px}}
